PR21166: Validate rdrand/rdseed support separately in gdb.reverse/insn-reverse-x86.c
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
2
3 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
4 (check_supported_features): ... this. Changed return type to void.
5 (supports_rdseed): New static global.
6 (rdseed): Check supports_rdseed.
7 (initialize): Call check_supported_features.
8
9 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10
11 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
12 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
13 and lqarx/stqcx.
14 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
15 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
16
17 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18
19 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
20 uppercase.
21
22 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
23
24 * gdb.dwarf2/formdata16.c: New file.
25 * gdb.dwarf2/formdata16.exp: New file.
26 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
27
28 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
29
30 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
31 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
32 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
33 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
34 DW_AT_GNU_*.
35
36 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
37
38 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
39
40 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
41
42 PR gdb/21164
43 * gdb.base/maint.exp: Add testcases for when the commands do
44 not have arguments.
45
46 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
47
48 * gdb.cp/chained-calls.exp: Use p instead of P.
49
50 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
51
52 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
53 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
54
55 2017-02-14 Tom Tromey <tom@tromey.com>
56
57 PR python/13598:
58 * gdb.python/py-events.exp: Add before_prompt event tests.
59
60 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
61
62 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
63
64 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
65
66 * gdb.linespec/explicit.c (my_unique_function_name): New function.
67 (main): Call my_unique_function_name.
68 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
69 completion of patterns with a single match.
70 Add missing -re switches to gdb_test_multiple calls.
71
72 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
73
74 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
75 return if core file is not recognized.
76
77 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
78
79 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
80 and extra UIs.
81
82 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
83
84 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
85 proc_with_prefix.
86
87 2017-02-10 Tom Tromey <tom@tromey.com>
88
89 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
90
91 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
92
93 PR gdb/21122
94 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
95
96 2017-02-08 Jerome Guitton <guitton@adacore.com>
97
98 * gdb.base/define.exp: Add test for command abbreviations
99 in define.
100
101 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
102
103 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
104 * gdb.reverse/insn-reverse-x86.c: New file.
105
106 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
107
108 PR tdep/20936
109 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
110
111 2017-02-03 Tom Tromey <tom@tromey.com>
112
113 PR rust/21097:
114 * gdb.rust/simple.exp: Add new tests.
115
116 2017-02-02 Pedro Alves <palves@redhat.com>
117
118 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
119 tests.
120
121 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
122
123 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
124 taking a 2-byte value out of a 4-byte DWARF implicit value on
125 big-endian targets.
126 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
127 logic. Add test cases for DW_OP_implicit.
128
129 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
130
131 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
132
133 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
134
135 * gdb.btrace/enable.exp: Call gdb_exit before
136 skip_gdbserver_tests.
137
138 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
139
140 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
141 GDBFLAGS.
142
143 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
144
145 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
146 the test is skipped.
147 * gdb.btrace/data.exp: Likewise.
148 * gdb.btrace/delta.exp: Likewise.
149 * gdb.btrace/dlopen.exp: Likewise.
150 * gdb.btrace/enable-running.exp: Likewise.
151 * gdb.btrace/enable.exp: Likewise.
152 * gdb.btrace/exception.exp: Likewise.
153 * gdb.btrace/function_call_history.exp: Likewise.
154 * gdb.btrace/gcore.exp: Likewise.
155 * gdb.btrace/instruction_history.exp: Likewise.
156 * gdb.btrace/multi-thread-step.exp: Likewise.
157 * gdb.btrace/nohist.exp: Likewise.
158 * gdb.btrace/non-stop.exp: Likewise.
159 * gdb.btrace/reconnect.exp: Likewise.
160 * gdb.btrace/record_goto-step.exp: Likewise.
161 * gdb.btrace/record_goto.exp: Likewise.
162 * gdb.btrace/rn-dl-bind.exp: Likewise.
163 * gdb.btrace/segv.exp: Likewise.
164 * gdb.btrace/step.exp: Likewise.
165 * gdb.btrace/stepi.exp: Likewise.
166 * gdb.btrace/tailcall-only.exp: Likewise.
167 * gdb.btrace/tailcall.exp: Likewise.
168 * gdb.btrace/tsx.exp: Likewise.
169 * gdb.btrace/unknown_functions.exp: Likewise.
170 * gdb.btrace/vdso.exp: Likewise.
171
172 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
173
174 * gdb.btrace/enable-running.c: New.
175 * gdb.btrace/enable-running.exp: New.
176
177 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
178
179 * gdb.arch/amd64-gs_base.c: New file.
180 * gdb.arch/amd64-gs_base.exp: New file.
181
182 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
183
184 * lib/memory.exp: Remove spurious empty newlines.
185
186 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
187
188 * gdb.python/py-bad-printers.exp: Load python file using "source".
189 * gdb.python/py-events.exp: Likewise.
190 * gdb.python/py-evsignal.exp: Likewise.
191 * gdb.python/py-evthreads.exp: Likewise.
192 * gdb.python/py-frame-args.exp: Likewise.
193 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
194 * gdb.python/py-framefilter-mi.exp: Likewise.
195 * gdb.python/py-framefilter.exp: Likewise.
196 * gdb.python/py-mi.exp: Likewise.
197 * gdb.python/py-pp-maint.exp: Likewise.
198 * gdb.python/py-pp-registration.exp: Likewise.
199 * gdb.python/py-prettyprint.exp: Likewise.
200 (run_lang_tests): Likewise.
201 * gdb.python/py-typeprint.exp: Likewise.
202
203 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
204
205 * lib/memory.exp: New file.
206 * lib/gdb.exp: Load memory.exp.
207 * gdb.base/memattr.exp (delete_memory): Move proc to
208 lib/memory.exp and rename to delete_memory_regions.
209 Replace delete_memory with delete_memory_regions.
210 Cleanup memory regions before tests.
211 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
212 before tests.
213
214 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
215
216 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
217 files.
218 (initialize): New function conditionally defined.
219 (testcases): Move within conditional block.
220 (main): Call initialize.
221 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
222 of gdb.reverse/insn-reverse.c.
223 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
224 gdb.reverse/insn-reverse.c.
225
226 2017-01-26 Yao Qi <yao.qi@linaro.org>
227
228 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
229 disassemble on address 0.
230
231 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
232 Yao Qi <yao.qi@linaro.org>
233
234 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
235 * gdb.dwarf2/implptr-64bit.S: Remove.
236 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
237 variables in caller's context. Add DW_OP_implicit_value.
238
239 2017-01-25 Yao Qi <yao.qi@linaro.org>
240
241 * lib/dwarf.exp (Dwarf::_location): Handle
242 DW_OP_GNU_implicit_pointer with proper size.
243
244 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
245
246 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
247 and add untested calls.
248
249 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
250
251 * gdb.python/python.exp: Check line number against what GDB thinks
252 the line number is for func1.
253
254 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
255
256 * gdb.dlang/debug-expr.exp: New file.
257
258 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
259
260 Fix test names for the following files:
261
262 * gdb.ada/exec_changed.exp
263 * gdb.ada/info_types.exp
264 * gdb.arch/aarch64-atomic-inst.exp
265 * gdb.arch/aarch64-fp.exp
266 * gdb.arch/altivec-abi.exp
267 * gdb.arch/altivec-regs.exp
268 * gdb.arch/amd64-byte.exp
269 * gdb.arch/amd64-disp-step.exp
270 * gdb.arch/amd64-dword.exp
271 * gdb.arch/amd64-entry-value-inline.exp
272 * gdb.arch/amd64-entry-value-param.exp
273 * gdb.arch/amd64-entry-value-paramref.exp
274 * gdb.arch/amd64-entry-value.exp
275 * gdb.arch/amd64-i386-address.exp
276 * gdb.arch/amd64-invalid-stack-middle.exp
277 * gdb.arch/amd64-invalid-stack-top.exp
278 * gdb.arch/amd64-optimout-repeat.exp
279 * gdb.arch/amd64-prologue-skip.exp
280 * gdb.arch/amd64-prologue-xmm.exp
281 * gdb.arch/amd64-stap-special-operands.exp
282 * gdb.arch/amd64-stap-wrong-subexp.exp
283 * gdb.arch/amd64-tailcall-cxx.exp
284 * gdb.arch/amd64-tailcall-noret.exp
285 * gdb.arch/amd64-tailcall-ret.exp
286 * gdb.arch/amd64-tailcall-self.exp
287 * gdb.arch/amd64-word.exp
288 * gdb.arch/arm-bl-branch-dest.exp
289 * gdb.arch/arm-disp-step.exp
290 * gdb.arch/arm-neon.exp
291 * gdb.arch/arm-single-step-kernel-helper.exp
292 * gdb.arch/avr-flash-qualifier.exp
293 * gdb.arch/disp-step-insn-reloc.exp
294 * gdb.arch/e500-abi.exp
295 * gdb.arch/e500-regs.exp
296 * gdb.arch/ftrace-insn-reloc.exp
297 * gdb.arch/i386-avx512.exp
298 * gdb.arch/i386-bp_permanent.exp
299 * gdb.arch/i386-byte.exp
300 * gdb.arch/i386-cfi-notcurrent.exp
301 * gdb.arch/i386-disp-step.exp
302 * gdb.arch/i386-dr3-watch.exp
303 * gdb.arch/i386-float.exp
304 * gdb.arch/i386-gnu-cfi.exp
305 * gdb.arch/i386-mpx-map.exp
306 * gdb.arch/i386-mpx-sigsegv.exp
307 * gdb.arch/i386-mpx-simple_segv.exp
308 * gdb.arch/i386-mpx.exp
309 * gdb.arch/i386-permbkpt.exp
310 * gdb.arch/i386-prologue.exp
311 * gdb.arch/i386-signal.exp
312 * gdb.arch/i386-size-overlap.exp
313 * gdb.arch/i386-unwind.exp
314 * gdb.arch/i386-word.exp
315 * gdb.arch/mips-fcr.exp
316 * gdb.arch/powerpc-d128-regs.exp
317 * gdb.arch/powerpc-stackless.exp
318 * gdb.arch/ppc64-atomic-inst.exp
319 * gdb.arch/s390-stackless.exp
320 * gdb.arch/s390-tdbregs.exp
321 * gdb.arch/s390-vregs.exp
322 * gdb.arch/sparc-sysstep.exp
323 * gdb.arch/thumb-bx-pc.exp
324 * gdb.arch/thumb-singlestep.exp
325 * gdb.arch/thumb2-it.exp
326 * gdb.arch/vsx-regs.exp
327 * gdb.asm/asm-source.exp
328 * gdb.base/a2-run.exp
329 * gdb.base/advance.exp
330 * gdb.base/all-bin.exp
331 * gdb.base/anon.exp
332 * gdb.base/args.exp
333 * gdb.base/arithmet.exp
334 * gdb.base/async-shell.exp
335 * gdb.base/async.exp
336 * gdb.base/attach-pie-noexec.exp
337 * gdb.base/attach-twice.exp
338 * gdb.base/auto-load.exp
339 * gdb.base/bang.exp
340 * gdb.base/bitfields.exp
341 * gdb.base/break-always.exp
342 * gdb.base/break-caller-line.exp
343 * gdb.base/break-entry.exp
344 * gdb.base/break-inline.exp
345 * gdb.base/break-on-linker-gcd-function.exp
346 * gdb.base/break-probes.exp
347 * gdb.base/break.exp
348 * gdb.base/breakpoint-shadow.exp
349 * gdb.base/call-ar-st.exp
350 * gdb.base/call-sc.exp
351 * gdb.base/call-signal-resume.exp
352 * gdb.base/call-strs.exp
353 * gdb.base/callfuncs.exp
354 * gdb.base/catch-fork-static.exp
355 * gdb.base/catch-gdb-caused-signals.exp
356 * gdb.base/catch-load.exp
357 * gdb.base/catch-signal-fork.exp
358 * gdb.base/catch-signal.exp
359 * gdb.base/catch-syscall.exp
360 * gdb.base/charset.exp
361 * gdb.base/checkpoint.exp
362 * gdb.base/chng-syms.exp
363 * gdb.base/code-expr.exp
364 * gdb.base/code_elim.exp
365 * gdb.base/commands.exp
366 * gdb.base/completion.exp
367 * gdb.base/complex.exp
368 * gdb.base/cond-expr.exp
369 * gdb.base/condbreak.exp
370 * gdb.base/consecutive.exp
371 * gdb.base/continue-all-already-running.exp
372 * gdb.base/coredump-filter.exp
373 * gdb.base/corefile.exp
374 * gdb.base/dbx.exp
375 * gdb.base/debug-expr.exp
376 * gdb.base/define.exp
377 * gdb.base/del.exp
378 * gdb.base/disabled-location.exp
379 * gdb.base/disasm-end-cu.exp
380 * gdb.base/disasm-optim.exp
381 * gdb.base/display.exp
382 * gdb.base/duplicate-bp.exp
383 * gdb.base/ena-dis-br.exp
384 * gdb.base/ending-run.exp
385 * gdb.base/enumval.exp
386 * gdb.base/environ.exp
387 * gdb.base/eu-strip-infcall.exp
388 * gdb.base/eval-avoid-side-effects.exp
389 * gdb.base/eval-skip.exp
390 * gdb.base/exitsignal.exp
391 * gdb.base/expand-psymtabs.exp
392 * gdb.base/filesym.exp
393 * gdb.base/find-unmapped.exp
394 * gdb.base/finish.exp
395 * gdb.base/float.exp
396 * gdb.base/foll-exec-mode.exp
397 * gdb.base/foll-exec.exp
398 * gdb.base/foll-fork.exp
399 * gdb.base/fortran-sym-case.exp
400 * gdb.base/freebpcmd.exp
401 * gdb.base/func-ptr.exp
402 * gdb.base/func-ptrs.exp
403 * gdb.base/funcargs.exp
404 * gdb.base/gcore-buffer-overflow.exp
405 * gdb.base/gcore-relro-pie.exp
406 * gdb.base/gcore-relro.exp
407 * gdb.base/gcore.exp
408 * gdb.base/gdb1090.exp
409 * gdb.base/gdb11530.exp
410 * gdb.base/gdb11531.exp
411 * gdb.base/gdb1821.exp
412 * gdb.base/gdbindex-stabs.exp
413 * gdb.base/gdbvars.exp
414 * gdb.base/hbreak.exp
415 * gdb.base/hbreak2.exp
416 * gdb.base/included.exp
417 * gdb.base/infcall-input.exp
418 * gdb.base/inferior-died.exp
419 * gdb.base/infnan.exp
420 * gdb.base/info-macros.exp
421 * gdb.base/info-os.exp
422 * gdb.base/info-proc.exp
423 * gdb.base/info-shared.exp
424 * gdb.base/info-target.exp
425 * gdb.base/infoline.exp
426 * gdb.base/interp.exp
427 * gdb.base/interrupt.exp
428 * gdb.base/jit-reader.exp
429 * gdb.base/jit-simple.exp
430 * gdb.base/kill-after-signal.exp
431 * gdb.base/kill-detach-inferiors-cmd.exp
432 * gdb.base/label.exp
433 * gdb.base/langs.exp
434 * gdb.base/ldbl_e308.exp
435 * gdb.base/line-symtabs.exp
436 * gdb.base/linespecs.exp
437 * gdb.base/list.exp
438 * gdb.base/long_long.exp
439 * gdb.base/longest-types.exp
440 * gdb.base/maint.exp
441 * gdb.base/max-value-size.exp
442 * gdb.base/memattr.exp
443 * gdb.base/mips_pro.exp
444 * gdb.base/morestack.exp
445 * gdb.base/moribund-step.exp
446 * gdb.base/multi-forks.exp
447 * gdb.base/nested-addr.exp
448 * gdb.base/nextoverexit.exp
449 * gdb.base/noreturn-finish.exp
450 * gdb.base/noreturn-return.exp
451 * gdb.base/nostdlib.exp
452 * gdb.base/offsets.exp
453 * gdb.base/opaque.exp
454 * gdb.base/pc-fp.exp
455 * gdb.base/permissions.exp
456 * gdb.base/print-symbol-loading.exp
457 * gdb.base/prologue-include.exp
458 * gdb.base/psymtab.exp
459 * gdb.base/ptype.exp
460 * gdb.base/random-signal.exp
461 * gdb.base/randomize.exp
462 * gdb.base/range-stepping.exp
463 * gdb.base/readline-ask.exp
464 * gdb.base/recpar.exp
465 * gdb.base/recurse.exp
466 * gdb.base/relational.exp
467 * gdb.base/restore.exp
468 * gdb.base/return-nodebug.exp
469 * gdb.base/return.exp
470 * gdb.base/run-after-attach.exp
471 * gdb.base/save-bp.exp
472 * gdb.base/scope.exp
473 * gdb.base/sect-cmd.exp
474 * gdb.base/set-lang-auto.exp
475 * gdb.base/set-noassign.exp
476 * gdb.base/setvar.exp
477 * gdb.base/sigall.exp
478 * gdb.base/sigbpt.exp
479 * gdb.base/siginfo-addr.exp
480 * gdb.base/siginfo-infcall.exp
481 * gdb.base/siginfo-obj.exp
482 * gdb.base/siginfo.exp
483 * gdb.base/signals-state-child.exp
484 * gdb.base/signest.exp
485 * gdb.base/sigstep.exp
486 * gdb.base/sizeof.exp
487 * gdb.base/skip.exp
488 * gdb.base/solib-corrupted.exp
489 * gdb.base/solib-nodir.exp
490 * gdb.base/solib-search.exp
491 * gdb.base/stack-checking.exp
492 * gdb.base/stale-infcall.exp
493 * gdb.base/stap-probe.exp
494 * gdb.base/start.exp
495 * gdb.base/step-break.exp
496 * gdb.base/step-bt.exp
497 * gdb.base/step-line.exp
498 * gdb.base/step-over-exit.exp
499 * gdb.base/step-over-syscall.exp
500 * gdb.base/step-resume-infcall.exp
501 * gdb.base/step-test.exp
502 * gdb.base/store.exp
503 * gdb.base/structs3.exp
504 * gdb.base/sym-file.exp
505 * gdb.base/symbol-without-target_section.exp
506 * gdb.base/term.exp
507 * gdb.base/testenv.exp
508 * gdb.base/ui-redirect.exp
509 * gdb.base/until.exp
510 * gdb.base/unwindonsignal.exp
511 * gdb.base/value-double-free.exp
512 * gdb.base/vla-datatypes.exp
513 * gdb.base/vla-ptr.exp
514 * gdb.base/vla-sideeffect.exp
515 * gdb.base/volatile.exp
516 * gdb.base/watch-cond-infcall.exp
517 * gdb.base/watch-cond.exp
518 * gdb.base/watch-non-mem.exp
519 * gdb.base/watch-read.exp
520 * gdb.base/watch-vfork.exp
521 * gdb.base/watchpoint-cond-gone.exp
522 * gdb.base/watchpoint-delete.exp
523 * gdb.base/watchpoint-hw-hit-once.exp
524 * gdb.base/watchpoint-hw.exp
525 * gdb.base/watchpoint-stops-at-right-insn.exp
526 * gdb.base/watchpoints.exp
527 * gdb.base/wchar.exp
528 * gdb.base/whatis-exp.exp
529 * gdb.btrace/buffer-size.exp
530 * gdb.btrace/data.exp
531 * gdb.btrace/delta.exp
532 * gdb.btrace/dlopen.exp
533 * gdb.btrace/enable.exp
534 * gdb.btrace/exception.exp
535 * gdb.btrace/function_call_history.exp
536 * gdb.btrace/gcore.exp
537 * gdb.btrace/instruction_history.exp
538 * gdb.btrace/nohist.exp
539 * gdb.btrace/reconnect.exp
540 * gdb.btrace/record_goto-step.exp
541 * gdb.btrace/record_goto.exp
542 * gdb.btrace/rn-dl-bind.exp
543 * gdb.btrace/segv.exp
544 * gdb.btrace/step.exp
545 * gdb.btrace/stepi.exp
546 * gdb.btrace/tailcall-only.exp
547 * gdb.btrace/tailcall.exp
548 * gdb.btrace/tsx.exp
549 * gdb.btrace/unknown_functions.exp
550 * gdb.btrace/vdso.exp
551 * gdb.compile/compile-ifunc.exp
552 * gdb.compile/compile-ops.exp
553 * gdb.compile/compile-print.exp
554 * gdb.compile/compile-setjmp.exp
555 * gdb.cp/abstract-origin.exp
556 * gdb.cp/ambiguous.exp
557 * gdb.cp/annota2.exp
558 * gdb.cp/annota3.exp
559 * gdb.cp/anon-ns.exp
560 * gdb.cp/anon-struct.exp
561 * gdb.cp/anon-union.exp
562 * gdb.cp/arg-reference.exp
563 * gdb.cp/baseenum.exp
564 * gdb.cp/bool.exp
565 * gdb.cp/breakpoint.exp
566 * gdb.cp/bs15503.exp
567 * gdb.cp/call-c.exp
568 * gdb.cp/casts.exp
569 * gdb.cp/chained-calls.exp
570 * gdb.cp/class2.exp
571 * gdb.cp/classes.exp
572 * gdb.cp/cmpd-minsyms.exp
573 * gdb.cp/converts.exp
574 * gdb.cp/cp-relocate.exp
575 * gdb.cp/cpcompletion.exp
576 * gdb.cp/cpexprs.exp
577 * gdb.cp/cplabel.exp
578 * gdb.cp/cplusfuncs.exp
579 * gdb.cp/cpsizeof.exp
580 * gdb.cp/ctti.exp
581 * gdb.cp/derivation.exp
582 * gdb.cp/destrprint.exp
583 * gdb.cp/dispcxx.exp
584 * gdb.cp/enum-class.exp
585 * gdb.cp/exception.exp
586 * gdb.cp/exceptprint.exp
587 * gdb.cp/expand-psymtabs-cxx.exp
588 * gdb.cp/expand-sals.exp
589 * gdb.cp/extern-c.exp
590 * gdb.cp/filename.exp
591 * gdb.cp/formatted-ref.exp
592 * gdb.cp/fpointer.exp
593 * gdb.cp/gdb1355.exp
594 * gdb.cp/gdb2495.exp
595 * gdb.cp/hang.exp
596 * gdb.cp/impl-this.exp
597 * gdb.cp/infcall-dlopen.exp
598 * gdb.cp/inherit.exp
599 * gdb.cp/iostream.exp
600 * gdb.cp/koenig.exp
601 * gdb.cp/local.exp
602 * gdb.cp/m-data.exp
603 * gdb.cp/m-static.exp
604 * gdb.cp/mb-ctor.exp
605 * gdb.cp/mb-inline.exp
606 * gdb.cp/mb-templates.exp
607 * gdb.cp/member-name.exp
608 * gdb.cp/member-ptr.exp
609 * gdb.cp/meth-typedefs.exp
610 * gdb.cp/method.exp
611 * gdb.cp/method2.exp
612 * gdb.cp/minsym-fallback.exp
613 * gdb.cp/misc.exp
614 * gdb.cp/namelessclass.exp
615 * gdb.cp/namespace-enum.exp
616 * gdb.cp/namespace-nested-import.exp
617 * gdb.cp/namespace.exp
618 * gdb.cp/nextoverthrow.exp
619 * gdb.cp/no-dmgl-verbose.exp
620 * gdb.cp/non-trivial-retval.exp
621 * gdb.cp/noparam.exp
622 * gdb.cp/nsdecl.exp
623 * gdb.cp/nsimport.exp
624 * gdb.cp/nsnested.exp
625 * gdb.cp/nsnoimports.exp
626 * gdb.cp/nsrecurs.exp
627 * gdb.cp/nsstress.exp
628 * gdb.cp/nsusing.exp
629 * gdb.cp/operator.exp
630 * gdb.cp/oranking.exp
631 * gdb.cp/overload-const.exp
632 * gdb.cp/overload.exp
633 * gdb.cp/ovldbreak.exp
634 * gdb.cp/ovsrch.exp
635 * gdb.cp/paren-type.exp
636 * gdb.cp/parse-lang.exp
637 * gdb.cp/pass-by-ref.exp
638 * gdb.cp/pr-1023.exp
639 * gdb.cp/pr-1210.exp
640 * gdb.cp/pr-574.exp
641 * gdb.cp/pr10687.exp
642 * gdb.cp/pr12028.exp
643 * gdb.cp/pr17132.exp
644 * gdb.cp/pr17494.exp
645 * gdb.cp/pr9067.exp
646 * gdb.cp/pr9167.exp
647 * gdb.cp/pr9631.exp
648 * gdb.cp/printmethod.exp
649 * gdb.cp/psmang.exp
650 * gdb.cp/psymtab-parameter.exp
651 * gdb.cp/ptype-cv-cp.exp
652 * gdb.cp/ptype-flags.exp
653 * gdb.cp/re-set-overloaded.exp
654 * gdb.cp/ref-types.exp
655 * gdb.cp/rtti.exp
656 * gdb.cp/scope-err.exp
657 * gdb.cp/shadow.exp
658 * gdb.cp/smartp.exp
659 * gdb.cp/static-method.exp
660 * gdb.cp/static-print-quit.exp
661 * gdb.cp/temargs.exp
662 * gdb.cp/templates.exp
663 * gdb.cp/try_catch.exp
664 * gdb.cp/typedef-operator.exp
665 * gdb.cp/typeid.exp
666 * gdb.cp/userdef.exp
667 * gdb.cp/using-crash.exp
668 * gdb.cp/var-tag.exp
669 * gdb.cp/virtbase.exp
670 * gdb.cp/virtfunc.exp
671 * gdb.cp/virtfunc2.exp
672 * gdb.cp/vla-cxx.exp
673 * gdb.disasm/t01_mov.exp
674 * gdb.disasm/t02_mova.exp
675 * gdb.disasm/t03_add.exp
676 * gdb.disasm/t04_sub.exp
677 * gdb.disasm/t05_cmp.exp
678 * gdb.disasm/t06_ari2.exp
679 * gdb.disasm/t07_ari3.exp
680 * gdb.disasm/t08_or.exp
681 * gdb.disasm/t09_xor.exp
682 * gdb.disasm/t10_and.exp
683 * gdb.disasm/t11_logs.exp
684 * gdb.disasm/t12_bit.exp
685 * gdb.disasm/t13_otr.exp
686 * gdb.dlang/circular.exp
687 * gdb.dwarf2/arr-stride.exp
688 * gdb.dwarf2/arr-subrange.exp
689 * gdb.dwarf2/atomic-type.exp
690 * gdb.dwarf2/bad-regnum.exp
691 * gdb.dwarf2/bitfield-parent-optimized-out.exp
692 * gdb.dwarf2/callframecfa.exp
693 * gdb.dwarf2/clztest.exp
694 * gdb.dwarf2/corrupt.exp
695 * gdb.dwarf2/data-loc.exp
696 * gdb.dwarf2/dup-psym.exp
697 * gdb.dwarf2/dw2-anon-mptr.exp
698 * gdb.dwarf2/dw2-anonymous-func.exp
699 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
700 * gdb.dwarf2/dw2-bad-unresolved.exp
701 * gdb.dwarf2/dw2-basic.exp
702 * gdb.dwarf2/dw2-canonicalize-type.exp
703 * gdb.dwarf2/dw2-case-insensitive.exp
704 * gdb.dwarf2/dw2-common-block.exp
705 * gdb.dwarf2/dw2-compdir-oldgcc.exp
706 * gdb.dwarf2/dw2-compressed.exp
707 * gdb.dwarf2/dw2-const.exp
708 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
709 * gdb.dwarf2/dw2-cu-size.exp
710 * gdb.dwarf2/dw2-dup-frame.exp
711 * gdb.dwarf2/dw2-entry-value.exp
712 * gdb.dwarf2/dw2-icycle.exp
713 * gdb.dwarf2/dw2-ifort-parameter.exp
714 * gdb.dwarf2/dw2-inline-break.exp
715 * gdb.dwarf2/dw2-inline-param.exp
716 * gdb.dwarf2/dw2-intercu.exp
717 * gdb.dwarf2/dw2-intermix.exp
718 * gdb.dwarf2/dw2-lexical-block-bare.exp
719 * gdb.dwarf2/dw2-linkage-name-trust.exp
720 * gdb.dwarf2/dw2-minsym-in-cu.exp
721 * gdb.dwarf2/dw2-noloc.exp
722 * gdb.dwarf2/dw2-op-call.exp
723 * gdb.dwarf2/dw2-op-out-param.exp
724 * gdb.dwarf2/dw2-opt-structptr.exp
725 * gdb.dwarf2/dw2-param-error.exp
726 * gdb.dwarf2/dw2-producer.exp
727 * gdb.dwarf2/dw2-ranges-base.exp
728 * gdb.dwarf2/dw2-ref-missing-frame.exp
729 * gdb.dwarf2/dw2-reg-undefined.exp
730 * gdb.dwarf2/dw2-regno-invalid.exp
731 * gdb.dwarf2/dw2-restore.exp
732 * gdb.dwarf2/dw2-restrict.exp
733 * gdb.dwarf2/dw2-single-line-discriminators.exp
734 * gdb.dwarf2/dw2-strp.exp
735 * gdb.dwarf2/dw2-undefined-ret-addr.exp
736 * gdb.dwarf2/dw2-unresolved.exp
737 * gdb.dwarf2/dw2-var-zero-addr.exp
738 * gdb.dwarf2/dw4-sig-types.exp
739 * gdb.dwarf2/dwz.exp
740 * gdb.dwarf2/dynarr-ptr.exp
741 * gdb.dwarf2/enum-type.exp
742 * gdb.dwarf2/gdb-index.exp
743 * gdb.dwarf2/implptr-64bit.exp
744 * gdb.dwarf2/implptr-optimized-out.exp
745 * gdb.dwarf2/implptr.exp
746 * gdb.dwarf2/implref-array.exp
747 * gdb.dwarf2/implref-const.exp
748 * gdb.dwarf2/implref-global.exp
749 * gdb.dwarf2/implref-struct.exp
750 * gdb.dwarf2/mac-fileno.exp
751 * gdb.dwarf2/main-subprogram.exp
752 * gdb.dwarf2/member-ptr-forwardref.exp
753 * gdb.dwarf2/method-ptr.exp
754 * gdb.dwarf2/missing-sig-type.exp
755 * gdb.dwarf2/nonvar-access.exp
756 * gdb.dwarf2/opaque-type-lookup.exp
757 * gdb.dwarf2/pieces-optimized-out.exp
758 * gdb.dwarf2/pieces.exp
759 * gdb.dwarf2/pr10770.exp
760 * gdb.dwarf2/pr13961.exp
761 * gdb.dwarf2/staticvirtual.exp
762 * gdb.dwarf2/subrange.exp
763 * gdb.dwarf2/symtab-producer.exp
764 * gdb.dwarf2/trace-crash.exp
765 * gdb.dwarf2/typeddwarf.exp
766 * gdb.dwarf2/valop.exp
767 * gdb.dwarf2/watch-notconst.exp
768 * gdb.fortran/array-element.exp
769 * gdb.fortran/charset.exp
770 * gdb.fortran/common-block.exp
771 * gdb.fortran/complex.exp
772 * gdb.fortran/derived-type-function.exp
773 * gdb.fortran/derived-type.exp
774 * gdb.fortran/logical.exp
775 * gdb.fortran/module.exp
776 * gdb.fortran/multi-dim.exp
777 * gdb.fortran/nested-funcs.exp
778 * gdb.fortran/print-formatted.exp
779 * gdb.fortran/subarray.exp
780 * gdb.fortran/vla-alloc-assoc.exp
781 * gdb.fortran/vla-datatypes.exp
782 * gdb.fortran/vla-history.exp
783 * gdb.fortran/vla-ptr-info.exp
784 * gdb.fortran/vla-ptype-sub.exp
785 * gdb.fortran/vla-ptype.exp
786 * gdb.fortran/vla-sizeof.exp
787 * gdb.fortran/vla-type.exp
788 * gdb.fortran/vla-value-sub-arbitrary.exp
789 * gdb.fortran/vla-value-sub-finish.exp
790 * gdb.fortran/vla-value-sub.exp
791 * gdb.fortran/vla-value.exp
792 * gdb.fortran/whatis_type.exp
793 * gdb.go/chan.exp
794 * gdb.go/handcall.exp
795 * gdb.go/hello.exp
796 * gdb.go/integers.exp
797 * gdb.go/methods.exp
798 * gdb.go/package.exp
799 * gdb.go/strings.exp
800 * gdb.go/types.exp
801 * gdb.go/unsafe.exp
802 * gdb.guile/scm-arch.exp
803 * gdb.guile/scm-block.exp
804 * gdb.guile/scm-breakpoint.exp
805 * gdb.guile/scm-cmd.exp
806 * gdb.guile/scm-disasm.exp
807 * gdb.guile/scm-equal.exp
808 * gdb.guile/scm-frame-args.exp
809 * gdb.guile/scm-frame-inline.exp
810 * gdb.guile/scm-frame.exp
811 * gdb.guile/scm-iterator.exp
812 * gdb.guile/scm-math.exp
813 * gdb.guile/scm-objfile.exp
814 * gdb.guile/scm-ports.exp
815 * gdb.guile/scm-symbol.exp
816 * gdb.guile/scm-symtab.exp
817 * gdb.guile/scm-value-cc.exp
818 * gdb.guile/types-module.exp
819 * gdb.linespec/break-ask.exp
820 * gdb.linespec/cpexplicit.exp
821 * gdb.linespec/explicit.exp
822 * gdb.linespec/keywords.exp
823 * gdb.linespec/linespec.exp
824 * gdb.linespec/ls-dollar.exp
825 * gdb.linespec/ls-errs.exp
826 * gdb.linespec/skip-two.exp
827 * gdb.linespec/thread.exp
828 * gdb.mi/mi-async.exp
829 * gdb.mi/mi-basics.exp
830 * gdb.mi/mi-break.exp
831 * gdb.mi/mi-catch-load.exp
832 * gdb.mi/mi-cli.exp
833 * gdb.mi/mi-cmd-param-changed.exp
834 * gdb.mi/mi-console.exp
835 * gdb.mi/mi-detach.exp
836 * gdb.mi/mi-disassemble.exp
837 * gdb.mi/mi-eval.exp
838 * gdb.mi/mi-file-transfer.exp
839 * gdb.mi/mi-file.exp
840 * gdb.mi/mi-fill-memory.exp
841 * gdb.mi/mi-inheritance-syntax-error.exp
842 * gdb.mi/mi-linespec-err-cp.exp
843 * gdb.mi/mi-logging.exp
844 * gdb.mi/mi-memory-changed.exp
845 * gdb.mi/mi-read-memory.exp
846 * gdb.mi/mi-record-changed.exp
847 * gdb.mi/mi-reg-undefined.exp
848 * gdb.mi/mi-regs.exp
849 * gdb.mi/mi-return.exp
850 * gdb.mi/mi-reverse.exp
851 * gdb.mi/mi-simplerun.exp
852 * gdb.mi/mi-solib.exp
853 * gdb.mi/mi-stack.exp
854 * gdb.mi/mi-stepi.exp
855 * gdb.mi/mi-syn-frame.exp
856 * gdb.mi/mi-until.exp
857 * gdb.mi/mi-var-block.exp
858 * gdb.mi/mi-var-child.exp
859 * gdb.mi/mi-var-cmd.exp
860 * gdb.mi/mi-var-cp.exp
861 * gdb.mi/mi-var-display.exp
862 * gdb.mi/mi-var-invalidate.exp
863 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
864 * gdb.mi/mi-vla-fortran.exp
865 * gdb.mi/mi-watch.exp
866 * gdb.mi/mi2-var-child.exp
867 * gdb.mi/user-selected-context-sync.exp
868 * gdb.modula2/unbounded-array.exp
869 * gdb.multi/dummy-frame-restore.exp
870 * gdb.multi/multi-arch-exec.exp
871 * gdb.multi/multi-arch.exp
872 * gdb.multi/tids.exp
873 * gdb.multi/watchpoint-multi.exp
874 * gdb.opencl/callfuncs.exp
875 * gdb.opencl/convs_casts.exp
876 * gdb.opencl/datatypes.exp
877 * gdb.opencl/operators.exp
878 * gdb.opencl/vec_comps.exp
879 * gdb.opt/clobbered-registers-O2.exp
880 * gdb.opt/inline-break.exp
881 * gdb.opt/inline-bt.exp
882 * gdb.opt/inline-cmds.exp
883 * gdb.opt/inline-locals.exp
884 * gdb.pascal/case-insensitive-symbols.exp
885 * gdb.pascal/floats.exp
886 * gdb.pascal/gdb11492.exp
887 * gdb.python/lib-types.exp
888 * gdb.python/py-arch.exp
889 * gdb.python/py-as-string.exp
890 * gdb.python/py-bad-printers.exp
891 * gdb.python/py-block.exp
892 * gdb.python/py-breakpoint-create-fail.exp
893 * gdb.python/py-breakpoint.exp
894 * gdb.python/py-caller-is.exp
895 * gdb.python/py-cmd.exp
896 * gdb.python/py-explore-cc.exp
897 * gdb.python/py-explore.exp
898 * gdb.python/py-finish-breakpoint.exp
899 * gdb.python/py-finish-breakpoint2.exp
900 * gdb.python/py-frame-args.exp
901 * gdb.python/py-frame-inline.exp
902 * gdb.python/py-frame.exp
903 * gdb.python/py-framefilter-mi.exp
904 * gdb.python/py-infthread.exp
905 * gdb.python/py-lazy-string.exp
906 * gdb.python/py-linetable.exp
907 * gdb.python/py-mi-events.exp
908 * gdb.python/py-mi-objfile.exp
909 * gdb.python/py-mi.exp
910 * gdb.python/py-objfile.exp
911 * gdb.python/py-pp-integral.exp
912 * gdb.python/py-pp-maint.exp
913 * gdb.python/py-pp-re-notag.exp
914 * gdb.python/py-pp-registration.exp
915 * gdb.python/py-recurse-unwind.exp
916 * gdb.python/py-strfns.exp
917 * gdb.python/py-symbol.exp
918 * gdb.python/py-symtab.exp
919 * gdb.python/py-sync-interp.exp
920 * gdb.python/py-typeprint.exp
921 * gdb.python/py-unwind-maint.exp
922 * gdb.python/py-unwind.exp
923 * gdb.python/py-value-cc.exp
924 * gdb.python/py-xmethods.exp
925 * gdb.reverse/amd64-tailcall-reverse.exp
926 * gdb.reverse/break-precsave.exp
927 * gdb.reverse/break-reverse.exp
928 * gdb.reverse/consecutive-precsave.exp
929 * gdb.reverse/consecutive-reverse.exp
930 * gdb.reverse/finish-precsave.exp
931 * gdb.reverse/finish-reverse-bkpt.exp
932 * gdb.reverse/finish-reverse.exp
933 * gdb.reverse/fstatat-reverse.exp
934 * gdb.reverse/getresuid-reverse.exp
935 * gdb.reverse/i386-precsave.exp
936 * gdb.reverse/i386-reverse.exp
937 * gdb.reverse/i386-sse-reverse.exp
938 * gdb.reverse/i387-env-reverse.exp
939 * gdb.reverse/i387-stack-reverse.exp
940 * gdb.reverse/insn-reverse.exp
941 * gdb.reverse/machinestate-precsave.exp
942 * gdb.reverse/machinestate.exp
943 * gdb.reverse/next-reverse-bkpt-over-sr.exp
944 * gdb.reverse/pipe-reverse.exp
945 * gdb.reverse/readv-reverse.exp
946 * gdb.reverse/recvmsg-reverse.exp
947 * gdb.reverse/rerun-prec.exp
948 * gdb.reverse/s390-mvcle.exp
949 * gdb.reverse/step-precsave.exp
950 * gdb.reverse/step-reverse.exp
951 * gdb.reverse/time-reverse.exp
952 * gdb.reverse/until-precsave.exp
953 * gdb.reverse/until-reverse.exp
954 * gdb.reverse/waitpid-reverse.exp
955 * gdb.reverse/watch-precsave.exp
956 * gdb.reverse/watch-reverse.exp
957 * gdb.rust/generics.exp
958 * gdb.rust/methods.exp
959 * gdb.rust/modules.exp
960 * gdb.rust/simple.exp
961 * gdb.server/connect-with-no-symbol-file.exp
962 * gdb.server/ext-attach.exp
963 * gdb.server/ext-restart.exp
964 * gdb.server/ext-wrapper.exp
965 * gdb.server/file-transfer.exp
966 * gdb.server/server-exec-info.exp
967 * gdb.server/server-kill.exp
968 * gdb.server/server-mon.exp
969 * gdb.server/wrapper.exp
970 * gdb.stabs/exclfwd.exp
971 * gdb.stabs/gdb11479.exp
972 * gdb.threads/clone-new-thread-event.exp
973 * gdb.threads/corethreads.exp
974 * gdb.threads/current-lwp-dead.exp
975 * gdb.threads/dlopen-libpthread.exp
976 * gdb.threads/gcore-thread.exp
977 * gdb.threads/sigstep-threads.exp
978 * gdb.threads/watchpoint-fork.exp
979 * gdb.trace/actions-changed.exp
980 * gdb.trace/backtrace.exp
981 * gdb.trace/change-loc.exp
982 * gdb.trace/circ.exp
983 * gdb.trace/collection.exp
984 * gdb.trace/disconnected-tracing.exp
985 * gdb.trace/ftrace.exp
986 * gdb.trace/mi-trace-frame-collected.exp
987 * gdb.trace/mi-trace-unavailable.exp
988 * gdb.trace/mi-traceframe-changed.exp
989 * gdb.trace/mi-tsv-changed.exp
990 * gdb.trace/no-attach-trace.exp
991 * gdb.trace/passc-dyn.exp
992 * gdb.trace/qtro.exp
993 * gdb.trace/range-stepping.exp
994 * gdb.trace/read-memory.exp
995 * gdb.trace/save-trace.exp
996 * gdb.trace/signal.exp
997 * gdb.trace/status-stop.exp
998 * gdb.trace/tfile.exp
999 * gdb.trace/trace-break.exp
1000 * gdb.trace/trace-buffer-size.exp
1001 * gdb.trace/trace-condition.exp
1002 * gdb.trace/tracefile-pseudo-reg.exp
1003 * gdb.trace/tstatus.exp
1004 * gdb.trace/unavailable.exp
1005 * gdb.trace/while-dyn.exp
1006 * gdb.trace/while-stepping.exp
1007
1008 2016-12-22 Doug Evans <xdje42@gmail.com>
1009
1010 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
1011 and msymbols.
1012
1013 2016-12-19 Yao Qi <yao.qi@linaro.org>
1014
1015 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
1016 (test_with_self): Don't call do_steps_and_nexts, and remove
1017 code about stepping into xmalloc.
1018
1019 2016-12-09 Yao Qi <yao.qi@linaro.org>
1020
1021 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
1022
1023 2016-12-09 Yao Qi <yao.qi@linaro.org>
1024
1025 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
1026
1027 2016-12-09 Pedro Alves <palves@redhat.com>
1028
1029 * gdb.base/all-architectures-0.exp: New file.
1030 * gdb.base/all-architectures-1.exp: New file.
1031 * gdb.base/all-architectures-2.exp: New file.
1032 * gdb.base/all-architectures-3.exp: New file.
1033 * gdb.base/all-architectures-4.exp: New file.
1034 * gdb.base/all-architectures-5.exp: New file.
1035 * gdb.base/all-architectures-6.exp: New file.
1036 * gdb.base/all-architectures-7.exp: New file.
1037 * gdb.base/all-architectures.exp.in: New file.
1038
1039 2016-12-09 Yao Qi <yao.qi@linaro.org>
1040
1041 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
1042
1043 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1044
1045 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
1046 possible.
1047 Remove useless pattern-matching code.
1048
1049 2016-12-02 Pedro Alves <palves@redhat.com>
1050
1051 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
1052 procedure.
1053 (top level): Call it.
1054
1055 2016-12-02 Pedro Alves <palves@redhat.com>
1056
1057 * gdb.base/commands.exp (user_defined_command_args_stack_test):
1058 New procedure.
1059 (top level): Call it.
1060
1061 2016-12-02 Pedro Alves <palves@redhat.com>
1062
1063 PR cli/20559
1064 * gdb.base/commands.exp (user_defined_command_args_eval): New
1065 procedure.
1066 (top level): Call it.
1067
1068 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1069
1070 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
1071 timeout handling.
1072
1073 2016-12-02 Tom Tromey <tom@tromey.com>
1074
1075 * gdb.dwarf2/main-subprogram.c: New file.
1076 * gdb.dwarf2/main-subprogram.exp: New file.
1077
1078 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1079
1080 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
1081 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
1082 gdb_test_no_output for a couple of cases.
1083 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
1084
1085 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1086
1087 Fix test names and standardize compilation error messages throughout
1088 the following files:
1089
1090 * gdb.ada/start.exp
1091 * gdb.arch/alpha-step.exp
1092 * gdb.arch/e500-prologue.exp
1093 * gdb.arch/ftrace-insn-reloc.exp
1094 * gdb.arch/gdb1291.exp
1095 * gdb.arch/gdb1431.exp
1096 * gdb.arch/gdb1558.exp
1097 * gdb.arch/i386-dr3-watch.exp
1098 * gdb.arch/i386-sse-stack-align.exp
1099 * gdb.arch/ia64-breakpoint-shadow.exp
1100 * gdb.arch/pa-nullify.exp
1101 * gdb.arch/powerpc-aix-prologue.exp
1102 * gdb.arch/thumb-bx-pc.exp
1103 * gdb.base/annota1.exp
1104 * gdb.base/annota3.exp
1105 * gdb.base/arrayidx.exp
1106 * gdb.base/assign.exp
1107 * gdb.base/attach.exp
1108 * gdb.base/auxv.exp
1109 * gdb.base/bang.exp
1110 * gdb.base/bfp-test.exp
1111 * gdb.base/bigcore.exp
1112 * gdb.base/bitfields2.exp
1113 * gdb.base/break-fun-addr.exp
1114 * gdb.base/break-probes.exp
1115 * gdb.base/call-rt-st.exp
1116 * gdb.base/callexit.exp
1117 * gdb.base/catch-fork-kill.exp
1118 * gdb.base/charset.exp
1119 * gdb.base/checkpoint.exp
1120 * gdb.base/comprdebug.exp
1121 * gdb.base/constvars.exp
1122 * gdb.base/coredump-filter.exp
1123 * gdb.base/cursal.exp
1124 * gdb.base/cvexpr.exp
1125 * gdb.base/detach.exp
1126 * gdb.base/display.exp
1127 * gdb.base/dmsym.exp
1128 * gdb.base/dprintf-pending.exp
1129 * gdb.base/dso2dso.exp
1130 * gdb.base/dtrace-probe.exp
1131 * gdb.base/dump.exp
1132 * gdb.base/enum_cond.exp
1133 * gdb.base/exe-lock.exp
1134 * gdb.base/exec-invalid-sysroot.exp
1135 * gdb.base/execl-update-breakpoints.exp
1136 * gdb.base/exprs.exp
1137 * gdb.base/fileio.exp
1138 * gdb.base/find.exp
1139 * gdb.base/finish.exp
1140 * gdb.base/fixsection.exp
1141 * gdb.base/foll-vfork.exp
1142 * gdb.base/frame-args.exp
1143 * gdb.base/gcore.exp
1144 * gdb.base/gdb1250.exp
1145 * gdb.base/global-var-nested-by-dso.exp
1146 * gdb.base/gnu-ifunc.exp
1147 * gdb.base/hashline1.exp
1148 * gdb.base/hashline2.exp
1149 * gdb.base/hashline3.exp
1150 * gdb.base/hbreak-in-shr-unsupported.exp
1151 * gdb.base/huge.exp
1152 * gdb.base/infcall-input.exp
1153 * gdb.base/info-fun.exp
1154 * gdb.base/info-shared.exp
1155 * gdb.base/jit-simple.exp
1156 * gdb.base/jit-so.exp
1157 * gdb.base/jit.exp
1158 * gdb.base/jump.exp
1159 * gdb.base/label.exp
1160 * gdb.base/lineinc.exp
1161 * gdb.base/logical.exp
1162 * gdb.base/longjmp.exp
1163 * gdb.base/macscp.exp
1164 * gdb.base/miscexprs.exp
1165 * gdb.base/new-ui-echo.exp
1166 * gdb.base/new-ui-pending-input.exp
1167 * gdb.base/new-ui.exp
1168 * gdb.base/nodebug.exp
1169 * gdb.base/nofield.exp
1170 * gdb.base/offsets.exp
1171 * gdb.base/overlays.exp
1172 * gdb.base/pending.exp
1173 * gdb.base/pointers.exp
1174 * gdb.base/pr11022.exp
1175 * gdb.base/printcmds.exp
1176 * gdb.base/prologue.exp
1177 * gdb.base/ptr-typedef.exp
1178 * gdb.base/realname-expand.exp
1179 * gdb.base/relativedebug.exp
1180 * gdb.base/relocate.exp
1181 * gdb.base/remote.exp
1182 * gdb.base/reread.exp
1183 * gdb.base/return2.exp
1184 * gdb.base/savedregs.exp
1185 * gdb.base/sep.exp
1186 * gdb.base/sepdebug.exp
1187 * gdb.base/sepsymtab.exp
1188 * gdb.base/set-inferior-tty.exp
1189 * gdb.base/setshow.exp
1190 * gdb.base/shlib-call.exp
1191 * gdb.base/sigaltstack.exp
1192 * gdb.base/siginfo-addr.exp
1193 * gdb.base/signals.exp
1194 * gdb.base/signull.exp
1195 * gdb.base/sigrepeat.exp
1196 * gdb.base/so-impl-ld.exp
1197 * gdb.base/solib-display.exp
1198 * gdb.base/solib-overlap.exp
1199 * gdb.base/solib-search.exp
1200 * gdb.base/solib-symbol.exp
1201 * gdb.base/structs.exp
1202 * gdb.base/structs2.exp
1203 * gdb.base/symtab-search-order.exp
1204 * gdb.base/twice.exp
1205 * gdb.base/unload.exp
1206 * gdb.base/varargs.exp
1207 * gdb.base/watchpoint-solib.exp
1208 * gdb.base/watchpoint.exp
1209 * gdb.base/whatis.exp
1210 * gdb.base/wrong_frame_bt_full.exp
1211 * gdb.btrace/dlopen.exp
1212 * gdb.cell/ea-standalone.exp
1213 * gdb.cell/ea-test.exp
1214 * gdb.cp/dispcxx.exp
1215 * gdb.cp/gdb2384.exp
1216 * gdb.cp/method2.exp
1217 * gdb.cp/nextoverthrow.exp
1218 * gdb.cp/pr10728.exp
1219 * gdb.disasm/am33.exp
1220 * gdb.disasm/h8300s.exp
1221 * gdb.disasm/mn10300.exp
1222 * gdb.disasm/sh3.exp
1223 * gdb.dwarf2/dw2-dir-file-name.exp
1224 * gdb.fortran/complex.exp
1225 * gdb.fortran/library-module.exp
1226 * gdb.guile/scm-pretty-print.exp
1227 * gdb.guile/scm-symbol.exp
1228 * gdb.guile/scm-type.exp
1229 * gdb.guile/scm-value.exp
1230 * gdb.linespec/linespec.exp
1231 * gdb.mi/gdb701.exp
1232 * gdb.mi/gdb792.exp
1233 * gdb.mi/mi-breakpoint-changed.exp
1234 * gdb.mi/mi-dprintf-pending.exp
1235 * gdb.mi/mi-dprintf.exp
1236 * gdb.mi/mi-exit-code.exp
1237 * gdb.mi/mi-pending.exp
1238 * gdb.mi/mi-solib.exp
1239 * gdb.mi/new-ui-mi-sync.exp
1240 * gdb.mi/pr11022.exp
1241 * gdb.mi/user-selected-context-sync.exp
1242 * gdb.opt/solib-intra-step.exp
1243 * gdb.python/py-events.exp
1244 * gdb.python/py-finish-breakpoint.exp
1245 * gdb.python/py-mi.exp
1246 * gdb.python/py-prettyprint.exp
1247 * gdb.python/py-shared.exp
1248 * gdb.python/py-symbol.exp
1249 * gdb.python/py-template.exp
1250 * gdb.python/py-type.exp
1251 * gdb.python/py-value.exp
1252 * gdb.reverse/solib-precsave.exp
1253 * gdb.reverse/solib-reverse.exp
1254 * gdb.server/solib-list.exp
1255 * gdb.stabs/weird.exp
1256 * gdb.threads/reconnect-signal.exp
1257 * gdb.threads/stepi-random-signal.exp
1258 * gdb.trace/actions.exp
1259 * gdb.trace/ax.exp
1260 * gdb.trace/backtrace.exp
1261 * gdb.trace/change-loc.exp
1262 * gdb.trace/deltrace.exp
1263 * gdb.trace/ftrace-lock.exp
1264 * gdb.trace/ftrace.exp
1265 * gdb.trace/infotrace.exp
1266 * gdb.trace/mi-tracepoint-changed.exp
1267 * gdb.trace/packetlen.exp
1268 * gdb.trace/passcount.exp
1269 * gdb.trace/pending.exp
1270 * gdb.trace/range-stepping.exp
1271 * gdb.trace/report.exp
1272 * gdb.trace/stap-trace.exp
1273 * gdb.trace/tfind.exp
1274 * gdb.trace/trace-break.exp
1275 * gdb.trace/trace-condition.exp
1276 * gdb.trace/trace-enable-disable.exp
1277 * gdb.trace/trace-mt.exp
1278 * gdb.trace/tracecmd.exp
1279 * gdb.trace/tspeed.exp
1280 * gdb.trace/tsv.exp
1281 * lib/perftest.exp
1282
1283 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1284
1285 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1286 with gdb_test_no_output.
1287 Use command as test name.
1288
1289 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1290
1291 Fix test names starting with uppercase throughout the files.
1292
1293 * gdb.ada/assign_1.exp
1294 * gdb.ada/boolean_expr.exp
1295 * gdb.base/arrayidx.exp
1296 * gdb.base/del.exp
1297 * gdb.base/gcore-buffer-overflow.exp
1298 * gdb.base/testenv.exp
1299 * gdb.compile/compile.exp
1300 * gdb.python/py-framefilter-invalidarg.exp
1301 * gdb.python/py-framefilter.exp
1302
1303 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1304
1305 Fix test names starting with uppercase throughout the files.
1306
1307 * gdb.ada/array_return.exp
1308 * gdb.ada/expr_delims.exp
1309 * gdb.ada/mi_dyn_arr.exp
1310 * gdb.ada/mi_interface.exp
1311 * gdb.ada/mi_var_array.exp
1312 * gdb.ada/watch_arg.exp
1313 * gdb.arch/alpha-step.exp
1314 * gdb.arch/altivec-regs.exp
1315 * gdb.arch/e500-regs.exp
1316 * gdb.arch/powerpc-d128-regs.exp
1317 * gdb.base/arrayidx.exp
1318 * gdb.base/break.exp
1319 * gdb.base/checkpoint.exp
1320 * gdb.base/debug-expr.exp
1321 * gdb.base/dmsym.exp
1322 * gdb.base/radix.exp
1323 * gdb.base/sepdebug.exp
1324 * gdb.base/testenv.exp
1325 * gdb.base/watch_thread_num.exp
1326 * gdb.base/watchpoint-cond-gone.exp
1327 * gdb.cell/break.exp
1328 * gdb.cell/ea-cache.exp
1329 * gdb.compile/compile.exp
1330 * gdb.cp/gdb2495.exp
1331 * gdb.gdb/selftest.exp
1332 * gdb.gdb/xfullpath.exp
1333 * gdb.go/hello.exp
1334 * gdb.go/integers.exp
1335 * gdb.objc/basicclass.exp
1336 * gdb.pascal/hello.exp
1337 * gdb.pascal/integers.exp
1338 * gdb.python/py-breakpoint.exp
1339 * gdb.python/py-cmd.exp
1340 * gdb.python/py-linetable.exp
1341 * gdb.python/py-xmethods.exp
1342 * gdb.python/python.exp
1343 * gdb.reverse/consecutive-precsave.exp
1344 * gdb.reverse/finish-precsave.exp
1345 * gdb.reverse/i386-precsave.exp
1346 * gdb.reverse/machinestate-precsave.exp
1347 * gdb.reverse/sigall-precsave.exp
1348 * gdb.reverse/solib-precsave.exp
1349 * gdb.reverse/step-precsave.exp
1350 * gdb.reverse/until-precsave.exp
1351 * gdb.reverse/watch-precsave.exp
1352 * gdb.threads/leader-exit.exp
1353 * gdb.threads/pthreads.exp
1354 * gdb.threads/wp-replication.exp
1355 * gdb.trace/actions.exp
1356 * gdb.trace/mi-tsv-changed.exp
1357 * gdb.trace/tsv.exp
1358
1359 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1360
1361 Fix test names starting with uppercase throughout the files.
1362
1363 * gdb.arch/i386-bp_permanent.exp
1364 * gdb.arch/i386-gnu-cfi.exp
1365 * gdb.base/disasm-end-cu.exp
1366 * gdb.base/macscp.exp
1367 * gdb.base/pending.exp
1368 * gdb.base/watch_thread_num.exp
1369 * gdb.cp/exception.exp
1370 * gdb.cp/gdb2495.exp
1371 * gdb.cp/local.exp
1372 * gdb.python/py-evsignal.exp
1373 * gdb.python/python.exp
1374 * gdb.trace/tracecmd.exp
1375
1376 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1377
1378 Fix test names starting with uppercase throughout the files.
1379
1380 * gdb.base/charset.exp
1381 * gdb.base/eval.exp
1382 * gdb.base/multi-forks.exp
1383 * gdb.guile/scm-progspace.exp
1384 * gdb.opencl/datatypes.exp
1385 * gdb.python/py-block.exp
1386 * gdb.python/py-function.exp
1387 * gdb.python/py-symbol.exp
1388 * gdb.python/py-symtab.exp
1389 * gdb.python/py-xmethods.exp
1390 * gdb.reverse/break-precsave.exp
1391 * gdb.reverse/break-reverse.exp
1392 * gdb.reverse/consecutive-precsave.exp
1393 * gdb.reverse/consecutive-reverse.exp
1394 * gdb.reverse/finish-precsave.exp
1395 * gdb.reverse/finish-reverse-bkpt.exp
1396 * gdb.reverse/finish-reverse.exp
1397 * gdb.reverse/fstatat-reverse.exp
1398 * gdb.reverse/getresuid-reverse.exp
1399 * gdb.reverse/i386-precsave.exp
1400 * gdb.reverse/i386-reverse.exp
1401 * gdb.reverse/i386-sse-reverse.exp
1402 * gdb.reverse/i387-stack-reverse.exp
1403 * gdb.reverse/insn-reverse.exp
1404 * gdb.reverse/machinestate-precsave.exp
1405 * gdb.reverse/machinestate.exp
1406 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1407 * gdb.reverse/pipe-reverse.exp
1408 * gdb.reverse/readv-reverse.exp
1409 * gdb.reverse/recvmsg-reverse.exp
1410 * gdb.reverse/rerun-prec.exp
1411 * gdb.reverse/s390-mvcle.exp
1412 * gdb.reverse/sigall-precsave.exp
1413 * gdb.reverse/sigall-reverse.exp
1414 * gdb.reverse/solib-precsave.exp
1415 * gdb.reverse/solib-reverse.exp
1416 * gdb.reverse/step-precsave.exp
1417 * gdb.reverse/step-reverse.exp
1418 * gdb.reverse/time-reverse.exp
1419 * gdb.reverse/until-precsave.exp
1420 * gdb.reverse/until-reverse.exp
1421 * gdb.reverse/waitpid-reverse.exp
1422 * gdb.reverse/watch-precsave.exp
1423 * gdb.reverse/watch-reverse.exp
1424
1425 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1426
1427 Fix test names starting with uppercase throughout the files.
1428
1429 * gdb.arch/i386-mpx-simple_segv.exp
1430 * gdb.arch/i386-mpx.exp
1431 * gdb.arch/i386-permbkpt.exp
1432 * gdb.arch/pa-nullify.exp
1433 * gdb.arch/powerpc-d128-regs.exp
1434 * gdb.arch/vsx-regs.exp
1435 * gdb.base/bfp-test.exp
1436 * gdb.base/break.exp
1437 * gdb.base/breakpoint-shadow.exp
1438 * gdb.base/callfuncs.exp
1439 * gdb.base/charset.exp
1440 * gdb.base/commands.exp
1441 * gdb.base/completion.exp
1442 * gdb.base/dfp-test.exp
1443 * gdb.base/echo.exp
1444 * gdb.base/ending-run.exp
1445 * gdb.base/eval.exp
1446 * gdb.base/expand-psymtabs.exp
1447 * gdb.base/float128.exp
1448 * gdb.base/floatn.exp
1449 * gdb.base/foll-exec-mode.exp
1450 * gdb.base/gdb1056.exp
1451 * gdb.base/gdb11531.exp
1452 * gdb.base/kill-after-signal.exp
1453 * gdb.base/multi-forks.exp
1454 * gdb.base/overlays.exp
1455 * gdb.base/pending.exp
1456 * gdb.base/sepdebug.exp
1457 * gdb.base/testenv.exp
1458 * gdb.base/valgrind-db-attach.exp
1459 * gdb.base/watch_thread_num.exp
1460 * gdb.base/watchpoint-cond-gone.exp
1461 * gdb.base/watchpoint.exp
1462 * gdb.base/watchpoints.exp
1463 * gdb.cp/arg-reference.exp
1464 * gdb.cp/baseenum.exp
1465 * gdb.cp/operator.exp
1466 * gdb.cp/shadow.exp
1467 * gdb.dwarf2/dw2-op-out-param.exp
1468 * gdb.dwarf2/dw2-reg-undefined.exp
1469 * gdb.go/chan.exp
1470 * gdb.go/hello.exp
1471 * gdb.go/integers.exp
1472 * gdb.go/methods.exp
1473 * gdb.go/package.exp
1474 * gdb.guile/scm-parameter.exp
1475 * gdb.guile/scm-progspace.exp
1476 * gdb.guile/scm-value.exp
1477 * gdb.mi/mi-pending.exp
1478 * gdb.mi/user-selected-context-sync.exp
1479 * gdb.multi/multi-attach.exp
1480 * gdb.multi/tids.exp
1481 * gdb.opt/clobbered-registers-O2.exp
1482 * gdb.pascal/floats.exp
1483 * gdb.pascal/integers.exp
1484 * gdb.python/py-block.exp
1485 * gdb.python/py-events.exp
1486 * gdb.python/py-parameter.exp
1487 * gdb.python/py-symbol.exp
1488 * gdb.python/py-symtab.exp
1489 * gdb.python/py-type.exp
1490 * gdb.python/py-value.exp
1491 * gdb.python/py-xmethods.exp
1492 * gdb.python/python.exp
1493 * gdb.reverse/break-precsave.exp
1494 * gdb.reverse/consecutive-precsave.exp
1495 * gdb.reverse/finish-precsave.exp
1496 * gdb.reverse/i386-precsave.exp
1497 * gdb.reverse/machinestate-precsave.exp
1498 * gdb.reverse/sigall-precsave.exp
1499 * gdb.reverse/solib-precsave.exp
1500 * gdb.reverse/step-precsave.exp
1501 * gdb.reverse/until-precsave.exp
1502 * gdb.reverse/watch-precsave.exp
1503 * gdb.server/ext-attach.exp
1504 * gdb.server/ext-restart.exp
1505 * gdb.server/ext-run.exp
1506 * gdb.server/ext-wrapper.exp
1507 * gdb.stabs/gdb11479.exp
1508 * gdb.stabs/weird.exp
1509 * gdb.threads/attach-many-short-lived-threads.exp
1510 * gdb.threads/kill.exp
1511 * gdb.threads/watchpoint-fork.exp
1512
1513 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1514
1515 Fix test names starting with uppercase throughout all the files below.
1516
1517 * gdb.ada/array_return.exp
1518 * gdb.ada/catch_ex.exp
1519 * gdb.ada/info_exc.exp
1520 * gdb.ada/mi_catch_ex.exp
1521 * gdb.ada/mi_dyn_arr.exp
1522 * gdb.ada/mi_ex_cond.exp
1523 * gdb.ada/mi_exc_info.exp
1524 * gdb.ada/mi_interface.exp
1525 * gdb.ada/mi_task_arg.exp
1526 * gdb.ada/mi_task_info.exp
1527 * gdb.ada/mi_var_array.exp
1528 * gdb.arch/alpha-step.exp
1529 * gdb.arch/amd64-disp-step.exp
1530 * gdb.arch/arm-disp-step.exp
1531 * gdb.arch/disp-step-insn-reloc.exp
1532 * gdb.arch/e500-prologue.exp
1533 * gdb.arch/ftrace-insn-reloc.exp
1534 * gdb.arch/gdb1558.exp
1535 * gdb.arch/i386-bp_permanent.exp
1536 * gdb.arch/i386-disp-step.exp
1537 * gdb.arch/i386-float.exp
1538 * gdb.arch/i386-gnu-cfi.exp
1539 * gdb.arch/ia64-breakpoint-shadow.exp
1540 * gdb.arch/mips16-thunks.exp
1541 * gdb.arch/pa-nullify.exp
1542 * gdb.arch/powerpc-aix-prologue.exp
1543 * gdb.arch/powerpc-power.exp
1544 * gdb.arch/ppc-dfp.exp
1545 * gdb.arch/s390-tdbregs.exp
1546 * gdb.arch/spu-info.exp
1547 * gdb.arch/spu-ls.exp
1548 * gdb.arch/thumb-bx-pc.exp
1549 * gdb.base/advance.exp
1550 * gdb.base/annota-input-while-running.exp
1551 * gdb.base/arrayidx.exp
1552 * gdb.base/asmlabel.exp
1553 * gdb.base/async.exp
1554 * gdb.base/attach-wait-input.exp
1555 * gdb.base/auto-connect-native-target.exp
1556 * gdb.base/batch-preserve-term-settings.exp
1557 * gdb.base/bfp-test.exp
1558 * gdb.base/bigcore.exp
1559 * gdb.base/bp-permanent.exp
1560 * gdb.base/break-always.exp
1561 * gdb.base/break-fun-addr.exp
1562 * gdb.base/break-idempotent.exp
1563 * gdb.base/break-main-file-remove-fail.exp
1564 * gdb.base/break-probes.exp
1565 * gdb.base/break-unload-file.exp
1566 * gdb.base/break.exp
1567 * gdb.base/call-ar-st.exp
1568 * gdb.base/call-rt-st.exp
1569 * gdb.base/call-sc.exp
1570 * gdb.base/call-signal-resume.exp
1571 * gdb.base/call-strs.exp
1572 * gdb.base/callexit.exp
1573 * gdb.base/callfuncs.exp
1574 * gdb.base/catch-gdb-caused-signals.exp
1575 * gdb.base/catch-signal-siginfo-cond.exp
1576 * gdb.base/catch-syscall.exp
1577 * gdb.base/compare-sections.exp
1578 * gdb.base/cond-eval-mode.exp
1579 * gdb.base/condbreak-call-false.exp
1580 * gdb.base/consecutive-step-over.exp
1581 * gdb.base/cursal.exp
1582 * gdb.base/disabled-location.exp
1583 * gdb.base/disasm-end-cu.exp
1584 * gdb.base/display.exp
1585 * gdb.base/double-prompt-target-event-error.exp
1586 * gdb.base/dprintf-bp-same-addr.exp
1587 * gdb.base/dprintf-detach.exp
1588 * gdb.base/dprintf-next.exp
1589 * gdb.base/dprintf-non-stop.exp
1590 * gdb.base/dprintf-pending.exp
1591 * gdb.base/dso2dso.exp
1592 * gdb.base/ending-run.exp
1593 * gdb.base/enum_cond.exp
1594 * gdb.base/examine-backward.exp
1595 * gdb.base/exe-lock.exp
1596 * gdb.base/exec-invalid-sysroot.exp
1597 * gdb.base/execl-update-breakpoints.exp
1598 * gdb.base/execution-termios.exp
1599 * gdb.base/fileio.exp
1600 * gdb.base/fixsection.exp
1601 * gdb.base/foll-exec-mode.exp
1602 * gdb.base/foll-exec.exp
1603 * gdb.base/fork-running-state.exp
1604 * gdb.base/frame-args.exp
1605 * gdb.base/fullpath-expand.exp
1606 * gdb.base/func-ptr.exp
1607 * gdb.base/gcore-relro-pie.exp
1608 * gdb.base/gdb1090.exp
1609 * gdb.base/gdb1555.exp
1610 * gdb.base/global-var-nested-by-dso.exp
1611 * gdb.base/gnu-ifunc.exp
1612 * gdb.base/hbreak-in-shr-unsupported.exp
1613 * gdb.base/hbreak-unmapped.exp
1614 * gdb.base/hook-stop.exp
1615 * gdb.base/infcall-input.exp
1616 * gdb.base/info-fun.exp
1617 * gdb.base/info-shared.exp
1618 * gdb.base/interrupt-noterm.exp
1619 * gdb.base/jit-so.exp
1620 * gdb.base/jit.exp
1621 * gdb.base/line-symtabs.exp
1622 * gdb.base/list.exp
1623 * gdb.base/longjmp.exp
1624 * gdb.base/macscp.exp
1625 * gdb.base/max-value-size.exp
1626 * gdb.base/nodebug.exp
1627 * gdb.base/nofield.exp
1628 * gdb.base/overlays.exp
1629 * gdb.base/paginate-after-ctrl-c-running.exp
1630 * gdb.base/paginate-bg-execution.exp
1631 * gdb.base/paginate-inferior-exit.exp
1632 * gdb.base/pending.exp
1633 * gdb.base/pr11022.exp
1634 * gdb.base/printcmds.exp
1635 * gdb.base/ptr-typedef.exp
1636 * gdb.base/ptype.exp
1637 * gdb.base/randomize.exp
1638 * gdb.base/range-stepping.exp
1639 * gdb.base/realname-expand.exp
1640 * gdb.base/relativedebug.exp
1641 * gdb.base/remote.exp
1642 * gdb.base/savedregs.exp
1643 * gdb.base/sepdebug.exp
1644 * gdb.base/set-noassign.exp
1645 * gdb.base/shlib-call.exp
1646 * gdb.base/shreloc.exp
1647 * gdb.base/sigaltstack.exp
1648 * gdb.base/sigbpt.exp
1649 * gdb.base/siginfo-addr.exp
1650 * gdb.base/siginfo-obj.exp
1651 * gdb.base/siginfo-thread.exp
1652 * gdb.base/signest.exp
1653 * gdb.base/signull.exp
1654 * gdb.base/sigrepeat.exp
1655 * gdb.base/skip.exp
1656 * gdb.base/so-impl-ld.exp
1657 * gdb.base/solib-corrupted.exp
1658 * gdb.base/solib-disc.exp
1659 * gdb.base/solib-display.exp
1660 * gdb.base/solib-overlap.exp
1661 * gdb.base/solib-search.exp
1662 * gdb.base/solib-symbol.exp
1663 * gdb.base/source-execution.exp
1664 * gdb.base/sss-bp-on-user-bp-2.exp
1665 * gdb.base/sss-bp-on-user-bp.exp
1666 * gdb.base/stack-checking.exp
1667 * gdb.base/stale-infcall.exp
1668 * gdb.base/step-break.exp
1669 * gdb.base/step-line.exp
1670 * gdb.base/step-over-exit.exp
1671 * gdb.base/step-test.exp
1672 * gdb.base/structs.exp
1673 * gdb.base/sym-file.exp
1674 * gdb.base/symtab-search-order.exp
1675 * gdb.base/term.exp
1676 * gdb.base/type-opaque.exp
1677 * gdb.base/unload.exp
1678 * gdb.base/until-nodebug.exp
1679 * gdb.base/until.exp
1680 * gdb.base/unwindonsignal.exp
1681 * gdb.base/watch-cond.exp
1682 * gdb.base/watch-non-mem.exp
1683 * gdb.base/watch_thread_num.exp
1684 * gdb.base/watchpoint-reuse-slot.exp
1685 * gdb.base/watchpoint-solib.exp
1686 * gdb.base/watchpoint.exp
1687 * gdb.btrace/dlopen.exp
1688 * gdb.cell/arch.exp
1689 * gdb.cell/break.exp
1690 * gdb.cell/bt.exp
1691 * gdb.cell/core.exp
1692 * gdb.cell/data.exp
1693 * gdb.cell/dwarfaddr.exp
1694 * gdb.cell/ea-cache.exp
1695 * gdb.cell/ea-standalone.exp
1696 * gdb.cell/ea-test.exp
1697 * gdb.cell/f-regs.exp
1698 * gdb.cell/fork.exp
1699 * gdb.cell/gcore.exp
1700 * gdb.cell/mem-access.exp
1701 * gdb.cell/ptype.exp
1702 * gdb.cell/registers.exp
1703 * gdb.cell/sizeof.exp
1704 * gdb.cell/solib-symbol.exp
1705 * gdb.cell/solib.exp
1706 * gdb.compile/compile-tls.exp
1707 * gdb.cp/exception.exp
1708 * gdb.cp/gdb2495.exp
1709 * gdb.cp/local.exp
1710 * gdb.cp/mb-inline.exp
1711 * gdb.cp/mb-templates.exp
1712 * gdb.cp/pr10687.exp
1713 * gdb.cp/pr9167.exp
1714 * gdb.cp/scope-err.exp
1715 * gdb.cp/templates.exp
1716 * gdb.cp/virtfunc.exp
1717 * gdb.dwarf2/dw2-dir-file-name.exp
1718 * gdb.dwarf2/dw2-single-line-discriminators.exp
1719 * gdb.fortran/complex.exp
1720 * gdb.fortran/library-module.exp
1721 * gdb.guile/guile.exp
1722 * gdb.guile/scm-cmd.exp
1723 * gdb.guile/scm-frame-inline.exp
1724 * gdb.guile/scm-objfile.exp
1725 * gdb.guile/scm-pretty-print.exp
1726 * gdb.guile/scm-symbol.exp
1727 * gdb.guile/scm-type.exp
1728 * gdb.guile/scm-value.exp
1729 * gdb.linespec/keywords.exp
1730 * gdb.linespec/ls-errs.exp
1731 * gdb.linespec/macro-relative.exp
1732 * gdb.linespec/thread.exp
1733 * gdb.mi/mi-breakpoint-changed.exp
1734 * gdb.mi/mi-dprintf-pending.exp
1735 * gdb.mi/mi-fullname-deleted.exp
1736 * gdb.mi/mi-logging.exp
1737 * gdb.mi/mi-pending.exp
1738 * gdb.mi/mi-solib.exp
1739 * gdb.mi/new-ui-mi-sync.exp
1740 * gdb.mi/user-selected-context-sync.exp
1741 * gdb.multi/dummy-frame-restore.exp
1742 * gdb.multi/multi-arch-exec.exp
1743 * gdb.multi/remove-inferiors.exp
1744 * gdb.multi/watchpoint-multi-exit.exp
1745 * gdb.opt/solib-intra-step.exp
1746 * gdb.perf/backtrace.exp
1747 * gdb.perf/single-step.exp
1748 * gdb.perf/skip-command.exp
1749 * gdb.perf/skip-prologue.exp
1750 * gdb.perf/solib.exp
1751 * gdb.python/lib-types.exp
1752 * gdb.python/py-as-string.exp
1753 * gdb.python/py-bad-printers.exp
1754 * gdb.python/py-block.exp
1755 * gdb.python/py-breakpoint.exp
1756 * gdb.python/py-cmd.exp
1757 * gdb.python/py-events.exp
1758 * gdb.python/py-evthreads.exp
1759 * gdb.python/py-finish-breakpoint.exp
1760 * gdb.python/py-finish-breakpoint2.exp
1761 * gdb.python/py-frame-inline.exp
1762 * gdb.python/py-frame.exp
1763 * gdb.python/py-inferior.exp
1764 * gdb.python/py-infthread.exp
1765 * gdb.python/py-mi.exp
1766 * gdb.python/py-objfile.exp
1767 * gdb.python/py-pp-maint.exp
1768 * gdb.python/py-pp-registration.exp
1769 * gdb.python/py-prettyprint.exp
1770 * gdb.python/py-recurse-unwind.exp
1771 * gdb.python/py-shared.exp
1772 * gdb.python/py-symbol.exp
1773 * gdb.python/py-symtab.exp
1774 * gdb.python/py-template.exp
1775 * gdb.python/py-type.exp
1776 * gdb.python/py-unwind-maint.exp
1777 * gdb.python/py-unwind.exp
1778 * gdb.python/py-value.exp
1779 * gdb.python/python.exp
1780 * gdb.reverse/finish-reverse-bkpt.exp
1781 * gdb.reverse/insn-reverse.exp
1782 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1783 * gdb.reverse/solib-precsave.exp
1784 * gdb.reverse/solib-reverse.exp
1785 * gdb.stabs/gdb11479.exp
1786 * gdb.stabs/weird.exp
1787 * gdb.threads/fork-child-threads.exp
1788 * gdb.threads/fork-plus-threads.exp
1789 * gdb.threads/fork-thread-pending.exp
1790 * gdb.threads/forking-threads-plus-breakpoint.exp
1791 * gdb.threads/hand-call-in-threads.exp
1792 * gdb.threads/interrupted-hand-call.exp
1793 * gdb.threads/linux-dp.exp
1794 * gdb.threads/local-watch-wrong-thread.exp
1795 * gdb.threads/next-while-other-thread-longjmps.exp
1796 * gdb.threads/non-ldr-exit.exp
1797 * gdb.threads/pending-step.exp
1798 * gdb.threads/print-threads.exp
1799 * gdb.threads/process-dies-while-detaching.exp
1800 * gdb.threads/process-dies-while-handling-bp.exp
1801 * gdb.threads/pthreads.exp
1802 * gdb.threads/queue-signal.exp
1803 * gdb.threads/reconnect-signal.exp
1804 * gdb.threads/signal-command-handle-nopass.exp
1805 * gdb.threads/signal-command-multiple-signals-pending.exp
1806 * gdb.threads/signal-delivered-right-thread.exp
1807 * gdb.threads/signal-sigtrap.exp
1808 * gdb.threads/sigthread.exp
1809 * gdb.threads/staticthreads.exp
1810 * gdb.threads/stepi-random-signal.exp
1811 * gdb.threads/thread-unwindonsignal.exp
1812 * gdb.threads/thread_check.exp
1813 * gdb.threads/thread_events.exp
1814 * gdb.threads/tid-reuse.exp
1815 * gdb.threads/tls-nodebug.exp
1816 * gdb.threads/tls-shared.exp
1817 * gdb.threads/tls-so_extern.exp
1818 * gdb.threads/tls.exp
1819 * gdb.threads/wp-replication.exp
1820 * gdb.trace/actions-changed.exp
1821 * gdb.trace/actions.exp
1822 * gdb.trace/backtrace.exp
1823 * gdb.trace/change-loc.exp
1824 * gdb.trace/collection.exp
1825 * gdb.trace/deltrace.exp
1826 * gdb.trace/disconnected-tracing.exp
1827 * gdb.trace/entry-values.exp
1828 * gdb.trace/ftrace-lock.exp
1829 * gdb.trace/ftrace.exp
1830 * gdb.trace/infotrace.exp
1831 * gdb.trace/mi-trace-frame-collected.exp
1832 * gdb.trace/mi-trace-unavailable.exp
1833 * gdb.trace/mi-traceframe-changed.exp
1834 * gdb.trace/mi-tracepoint-changed.exp
1835 * gdb.trace/mi-tsv-changed.exp
1836 * gdb.trace/no-attach-trace.exp
1837 * gdb.trace/packetlen.exp
1838 * gdb.trace/passc-dyn.exp
1839 * gdb.trace/passcount.exp
1840 * gdb.trace/pending.exp
1841 * gdb.trace/pr16508.exp
1842 * gdb.trace/qtro.exp
1843 * gdb.trace/range-stepping.exp
1844 * gdb.trace/read-memory.exp
1845 * gdb.trace/report.exp
1846 * gdb.trace/save-trace.exp
1847 * gdb.trace/signal.exp
1848 * gdb.trace/stap-trace.exp
1849 * gdb.trace/status-stop.exp
1850 * gdb.trace/strace.exp
1851 * gdb.trace/tfile.exp
1852 * gdb.trace/tfind.exp
1853 * gdb.trace/trace-break.exp
1854 * gdb.trace/trace-condition.exp
1855 * gdb.trace/trace-enable-disable.exp
1856 * gdb.trace/trace-mt.exp
1857 * gdb.trace/tracecmd.exp
1858 * gdb.trace/tracefile-pseudo-reg.exp
1859 * gdb.trace/tspeed.exp
1860 * gdb.trace/tstatus.exp
1861 * gdb.trace/tsv.exp
1862 * gdb.trace/unavailable.exp
1863 * gdb.trace/while-dyn.exp
1864 * gdb.trace/while-stepping.exp
1865 * lib/gdb-guile.exp
1866 * lib/gdb.exp
1867 * lib/mi-support.exp
1868 * lib/pascal.exp
1869 * lib/perftest.exp
1870 * lib/prelink-support.exp
1871 * lib/selftest-support.exp
1872
1873 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
1874
1875 * Makefile.in: Include disable-implicit-rules.mk.
1876
1877 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1878
1879 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
1880 non-byte-aligned bit fields.
1881
1882 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1883
1884 PR gdb/12616
1885 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
1886 respects the DW_AT_data_bit_offset attribute.
1887
1888 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1889
1890 * gdb.base/default.exp: Fix output of "set language".
1891
1892 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
1893
1894 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
1895 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
1896 make.
1897 * configure.ac: Remove checks for the make program.
1898 * configure: Re-generate.
1899
1900 2016-11-16 Kevin Buettner <kevinb@redhat.com>
1901
1902 * gdb.python/py-recurse-unwind.c (main): Add loop.
1903 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
1904 to read_register() and gdb.parse_and_eval(). Make each code
1905 call a separate case that can be individually tested.
1906 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
1907 proc. Call cont_and_backtrace for each of the code paths that
1908 we want to test in the unwinder.
1909
1910 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
1911
1912 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
1913 the definition of struct S.
1914
1915 2016-11-11 Catherine Moore <clm@codesourcery.com>
1916
1917 * gdb.base/dump.exp: Identify verilog format dump tests as such.
1918
1919 2016-11-09 Pedro Alves <palves@redhat.com>
1920
1921 * gdb.base/commands.exp (runto_or_return): New procedure.
1922 (gdbvar_simple_if_test, gdbvar_simple_while_test)
1923 (gdbvar_complex_if_while_test, progvar_simple_if_test)
1924 (progvar_simple_while_test, progvar_complex_if_while_test)
1925 (if_while_breakpoint_command_test)
1926 (infrun_breakpoint_command_test, breakpoint_command_test)
1927 (user_defined_command_test, watchpoint_command_test)
1928 (test_command_prompt_position, redefine_hook_test)
1929 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
1930 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
1931 multi_line_input and multi_line. Remove gdb_expect and
1932 gdb_stop_suppressing_tests uses.
1933 * lib/gdb.exp (valnum_re): New global.
1934 (multi_line_input): New procedure.
1935
1936 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
1937
1938 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
1939 Remove.
1940 (test_setup): Define with proc_with_prefix.
1941 (test_cli_inferior): Likewise.
1942 (test_cli_thread): Likewise.
1943 (test_cli_frame): Likewise.
1944 (test_cli_select_frame): Likewise.
1945 (test_cli_up_down): Likewise.
1946 (test_mi_thread_select): Likewise.
1947 (test_mi_stack_select_frame): Likewise.
1948 (test_cli_in_mi_inferior): Likewise.
1949 (test_cli_in_mi_thread): Likewise.
1950 (test_cli_in_mi_frame): Likewise.
1951 (top level): Do not use with_test_prefix_procname.
1952
1953 2016-11-09 Pedro Alves <palves@redhat.com>
1954
1955 * gdb.base/commands.exp (gdbvar_simple_if_test)
1956 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
1957 (progvar_simple_if_test, progvar_simple_while_test)
1958 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
1959 (infrun_breakpoint_command_test, breakpoint_command_test)
1960 (user_defined_command_test, watchpoint_command_test)
1961 (test_command_prompt_position, deprecated_command_test)
1962 (bp_deleted_in_command, temporary_breakpoint_commands)
1963 (stray_arg0_test, source_file_with_indented_comment)
1964 (recursive_source_test, if_commands_test)
1965 (error_clears_commands_left, redefine_hook_test)
1966 (redefine_backtrace_test): Use proc_with_prefix.
1967 * lib/gdb.exp (proc_with_prefix): New proc.
1968
1969 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
1970
1971 * gdb.base/tui-layout.c: New file.
1972 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
1973 disassembly window contains very long lines.
1974
1975 2016-11-08 Tom Tromey <tom@tromey.com>
1976
1977 * gdb.python/py-value.exp (test_value_creation): Make "long" test
1978 depend on Python 2.
1979
1980 2016-11-08 Tom Tromey <tom@tromey.com>
1981
1982 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
1983 New method.
1984
1985 2016-10-29 Manish Goregaokar <manish@mozilla.com>
1986
1987 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
1988
1989 2016-10-27 Manish Goregaokar <manish@mozilla.com>
1990
1991 * gdb.rust/simple.rs: Add test for univariant enums without
1992 discriminants and for encoded struct-like enums.
1993
1994 2016-10-28 Pedro Alves <palves@redhat.com>
1995
1996 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
1997 gdb_test_multiple, tighten regexps and match symtabs and line
1998 tables incrementally.
1999
2000 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
2001
2002 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
2003 general.
2004
2005 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
2006
2007 * gdb.base/exec-invalid-sysroot.exp: New file.
2008
2009 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2010
2011 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
2012
2013 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2014
2015 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
2016
2017 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
2018
2019 * gdb.base/killed-outside.exp: Remove $options from a call to
2020 `prepare_for_testing'.
2021
2022 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2023
2024 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2025 Change test message.
2026
2027 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2028
2029 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2030 Update comment.
2031
2032 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2033
2034 * gdb.trace/mi-trace-save.exp: New file.
2035
2036 2016-10-13 Yao Qi <yao.qi@linaro.org>
2037
2038 * gdb.base/code_elim.exp (get_var_address): Remove.
2039 * gdb.base/relocate.exp: Likewise.
2040 * gdb.base/shreloc.exp: Likewise.
2041 * lib/gdb.exp (get_var_address): New.
2042
2043 2016-10-13 Yao Qi <yao.qi@linaro.org>
2044
2045 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
2046 floating point tests if $skip_float_test is false.
2047
2048 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
2049
2050 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
2051 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
2052 argc values.
2053 Add 1 to argc so we guarantee distinct initial/modified argc values.
2054
2055 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2056
2057 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
2058
2059 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2060
2061 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
2062 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2063 * gdb.arch/vsx-regs.exp: Likewise.
2064
2065 2016-10-07 Yao Qi <yao.qi@linaro.org>
2066
2067 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
2068
2069 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
2070
2071 * gdb.python/python.exp: Test decode_line("*0").
2072
2073 2016-10-06 Doug Evans <dje@google.com>
2074
2075 * gdb.python/py-value.exp (test_value_creation): Add test for large
2076 unsigned 64-bit value.
2077
2078 2016-10-06 Tom Tromey <tom@tromey.com>
2079
2080 * gdb.compile/compile.exp: Change java tests to rust.
2081 * gdb.base/setshow.exp: Change java tests to rust.
2082 * gdb.base/default.exp: Remove java from language list.
2083 * README (Examples): Update language example.
2084 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
2085 test.
2086 * lib/gdb.exp (skip_java_tests): Remove.
2087 * lib/java.exp: Remove.
2088 * gdb.java: Remove.
2089
2090 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2091
2092 * gdb.arch/mips-fcr.exp: New test.
2093 * gdb.arch/mips-fcr.c: Source for the new test.
2094
2095 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2096
2097 * gdb.base/solib-disc.exp: Use `standard_output_file'
2098 throughout.
2099
2100 2016-10-06 Pedro Alves <palves@redhat.com>
2101
2102 * gdb.base/jit-simple-dl.c: New file.
2103 * gdb.base/jit-simple-jit.c: New file, factored out from ...
2104 * gdb.base/jit-simple.c: ... this.
2105 * gdb.base/jit-simple.exp (jit_run): Delete.
2106 (build_jit): New proc.
2107 (jit_test_reread): Recompile either the main program or the shared
2108 library, depending on what is being tested. Skip changing address
2109 if caller wants to. Compare before/after addresses. If testing
2110 standalone, explicitly load the binary. Test "maint info
2111 breakpoints".
2112 (top level): Add "standalone vs shared lib" and "change address"
2113 vs "same address" axes.
2114
2115 2016-10-06 Pedro Alves <palves@redhat.com>
2116
2117 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
2118 call.
2119 (jit_run): Delete.
2120 (jit_test_reread): Use with_test_prefix. Reload the main binary
2121 explicitly. Compare the before/after addresses of the JIT
2122 descriptor.
2123
2124 2016-08-15 Doug Evans <dje@google.com>
2125
2126 * gdb.xml/extra-regs.xml: Update, end field now required, default type
2127 for single bitfields is bool.
2128 * gdb.xml/tdesc-regs.exp: Ditto.
2129
2130 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2131
2132 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
2133
2134 2016-10-05 Yao Qi <yao.qi@linaro.org>
2135
2136 * lib/gdb.exp (support_complex_tests): Return zero if
2137 gdb_skip_float_test return true.
2138
2139 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2140 Simon Marchi <simon.marchi@ericsson.com>
2141
2142 PR gdb/20487
2143 * gdb.mi/user-selected-context-sync.exp: New file.
2144 * gdb.mi/user-selected-context-sync.c: New file.
2145
2146 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2147 Simon Marchi <simon.marchi@ericsson.com>
2148
2149 PR gdb/20487
2150 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
2151 =thread-select-event check.
2152
2153 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2154
2155 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
2156 the compulsory L operand changes.
2157 * gdb.arch/powerpc-power.s: Likewise.
2158
2159 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2160
2161 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
2162 * gdb.base/jit-attach-pie.c: New file.
2163 * gdb.base/jit-attach-pie.exp: New file.
2164
2165 2016-09-28 Pedro Alves <palves@redhat.com>
2166
2167 * gdb.base/infcall-input.c: New file.
2168 * gdb.base/infcall-input.exp: New file.
2169
2170 2016-09-22 Yao Qi <yao.qi@linaro.org>
2171
2172 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
2173 (gdb_exit): Rename it to ...
2174 (gdbserver_gdb_exit): ... Close GDBserver.
2175 (gdb_exit): New proc, call gdbserver_gdb_exit.
2176 (mi_gdb_exit): Likewise.
2177
2178 2016-09-22 Yao Qi <yao.qi@linaro.org>
2179
2180 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
2181 path.
2182 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
2183 Remove duplication.
2184
2185 2016-09-22 Yao Qi <yao.qi@linaro.org>
2186
2187 * lib/gdbserver-support.exp: Check the existence of
2188 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
2189
2190 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2191
2192 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
2193
2194 2016-09-21 Tom Tromey <tom@tromey.com>
2195
2196 PR gdb/20604:
2197 * gdb.base/quit.exp: New file.
2198
2199 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
2200
2201 * .gitignore: New file.
2202
2203 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
2204
2205 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
2206 throughout.
2207
2208 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2209
2210 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
2211
2212 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2213
2214 * gdb.cp/casts.cc (decltype): Move it ...
2215 (main): ... with its call to ...
2216 * gdb.cp/casts03.cc: ... a new file.
2217 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2218
2219 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2220
2221 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2222
2223 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2224
2225 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2226 and sync up the test with tests in gas/testsuite/gas/ppc.
2227 * gdb.arch/powerpc-power.exp: Likewise.
2228
2229 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2230
2231 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2232
2233 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2234 Jan Kratochvil <jan.kratochvil@redhat.com>
2235
2236 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2237 make m1's definition to be different from m2's. Use 'dummy' as an
2238 argument for probe 'two'.
2239
2240 2016-09-10 Jon Beniston <jon@beniston.com>
2241
2242 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2243 for sim target.
2244
2245 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2246
2247 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2248 variable declaration.
2249 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2250 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2251 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2252 received HWCAP as its argument.
2253
2254 2016-09-06 Pedro Alves <palves@redhat.com>
2255
2256 * gdb.base/new-ui-pending-input.c: New file.
2257 * gdb.base/new-ui-pending-input.exp: New file.
2258 * gdb.exp (clear_gdb_spawn_id): New procedure.
2259 (with_spawn_id): Check whether gdb_spawn_id exists before
2260 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2261 on exit.
2262
2263 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2264
2265 * gdb.base/float128.c: New file.
2266 * gdb.base/float128.exp: Likewise.
2267 * gdb.base/floatn.c: Likewise.
2268 * gdb.base/floatn.exp: Likewise.
2269
2270 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2271
2272 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2273
2274 2016-09-05 Pedro Alves <palves@redhat.com>
2275
2276 PR backtrace/19927
2277 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2278 unwinders are immediately called as side effect of "source" or
2279 "disable unwinder" commands.
2280 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2281
2282 2016-09-02 Yao Qi <yao.qi@linaro.org>
2283
2284 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2285 is true and $type is "float" or "double".
2286
2287 2016-09-02 Yao Qi <yao.qi@linaro.org>
2288
2289 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2290 true.
2291 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2292 * gdb.base/call-rt-st.exp: Likewise.
2293 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2294 return value instead of gdb,skip_float_test.
2295 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2296 (do_function_calls): Use its return value instead of
2297 gdb,skip_float_test.
2298 * gdb.base/finish.exp: Likewise.
2299 * gdb.base/funcargs.exp: Likewise.
2300 * gdb.base/return.exp: Likewise.
2301 * gdb.base/return2.exp: Likewise.
2302 * gdb.base/varargs.exp: Likewise.
2303 * lib/gdb.exp (gdb_skip_float_test): Change it to
2304 gdb_caching_proc. Detect the broken ptrace on arm-linux.
2305
2306 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2307
2308 * gdb.multi/tids.exp: Test "thread apply all".
2309
2310 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2311
2312 * gdb.base/default.exp (tty): Remove.
2313
2314 2016-08-24 Kevin Buettner <kevinb@redhat.com>
2315
2316 * gdb.python/py-recurse-unwind.c: New file.
2317 * gdb.python/py-recurse-unwind.py: New file.
2318 * gdb.python/py-recurse-unwind.exp: New file.
2319
2320 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
2321
2322 * gdb.base/set-inferior-tty.exp: New file.
2323 * gdb.base/set-inferior-tty.c: New file.
2324
2325 2016-08-23 Pedro Alves <palves@redhat.com>
2326
2327 PR gdb/20494
2328 * gdb.base/new-ui-echo.c: New file.
2329 * gdb.base/new-ui-echo.exp: New file.
2330
2331 2016-08-23 Yao Qi <yao.qi@linaro.org>
2332
2333 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
2334 gdbserver_spawn.
2335 * gdb.server/connect-without-multi-process.exp (do_test):
2336 Likewise.
2337
2338 2016-08-23 Yao Qi <yao.qi@linaro.org>
2339
2340 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
2341 standalone_txt. Delete gdb_txt and standalone_txt on host
2342 and target. Spawn the binary on target. Copy files from
2343 target to host.
2344
2345 2016-08-22 Pedro Alves <palves@redhat.com>
2346
2347 PR gdb/20505
2348 * gdb.base/vdso-warning.exp: Test core dumps too. Use
2349 with_test_prefix. Factor out bits to ...
2350 (test_no_vdso): ... this new procedure.
2351
2352 2016-08-19 Carl Love <cel@us.ibm.com>
2353
2354 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
2355 maintaining separate logic for constructing the output path.
2356 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2357 * gdb.arch/ppc-dfp.exp: Likewise.
2358 * gdb.arch/ppc-fp.exp: Likewise.
2359 * gdb.arch/vsx-regs.exp: Likewise.
2360 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
2361 binprefix for generating the additional binary files.
2362
2363 2016-08-19 Pedro Alves <palves@redhat.com>
2364
2365 * gdb.trace/mi-trace-frame-collected.exp
2366 (test_trace_frame_collected): On x32, expect two registers.
2367
2368 2016-08-18 Carl Love <cel@us.ibm.com>
2369
2370 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
2371 and sync up the test with tests in gas/testsuite/gas/ppc.
2372 * gdb.arch/powerpc-power.exp: Likewise.
2373
2374 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2375
2376 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
2377 expected error message.
2378
2379 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2380
2381 * gdb.multi/remove-inferiors.exp: New file.
2382 * gdb.multi/remove-inferiors.c: New file.
2383
2384 2016-08-12 Yao Qi <yao.qi@linaro.org>
2385
2386 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
2387 argument list.
2388
2389 2016-08-10 Pedro Alves <palves@redhat.com>
2390
2391 PR gdb/19187
2392 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
2393 setup_kfails.
2394
2395 2016-08-09 Pedro Alves <palves@redhat.com>
2396 Simon Marchi <simon.marchi@ericsson.com>
2397
2398 PR gdb/20418
2399 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
2400 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
2401
2402 2016-08-09 Pedro Alves <palves@redhat.com>
2403
2404 PR mi/20431
2405 * gdb.mi/mi-cmd-error.exp: New file.
2406
2407 2016-08-09 Pedro Alves <palves@redhat.com>
2408
2409 PR gdb/18653
2410 * gdb.base/signals-state-child.c: New file.
2411 * gdb.base/signals-state-child.exp: New file.
2412 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
2413
2414 2016-08-09 Pedro Alves <palves@redhat.com>
2415
2416 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
2417
2418 2016-08-03 Tom Tromey <tom@tromey.com>
2419
2420 PR python/18565:
2421 * gdb.python/py-frame-inline.exp: Add Frame.function test.
2422
2423 2016-08-01 Yao Qi <yao.qi@linaro.org>
2424
2425 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
2426 variable mode to "multi-process" if $multi_process is 1, otherwise
2427 set it to "single-process".
2428
2429 2016-08-01 Yao Qi <yao.qi@linaro.org>
2430
2431 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
2432 * gdb.cp/cpexprs.exp: Likewise.
2433 * gdb.cp/m-static.exp: Likewise.
2434
2435 2016-07-26 Tom Tromey <tom@tromey.com>
2436
2437 PR python/20190:
2438 * gdb.threads/tls.exp (check_thread_local): Add python symbol
2439 test.
2440
2441 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
2442
2443 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
2444 selecting assembly source files.
2445 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
2446 assembly source files.
2447 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
2448 assembly source files.
2449 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
2450 selecting assembly source files.
2451
2452 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
2453
2454 * gdb.base/new-ui.exp (do_test_invalid_args): New
2455 procedure.
2456
2457 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
2458
2459 * gdb.btrace/reconnect.c: New file.
2460 * gdb.btrace/reconnect.exp: New file.
2461
2462 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
2463
2464 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
2465 to test_catch_syscall_group.
2466 (test_catch_syscall_group): New.
2467
2468 2016-07-21 Tom Tromey <tom@tromey.com>
2469
2470 * gdb.rust/simple.rs (main): Use empty struct expression.
2471 * gdb.rust/simple.exp: Add tests for empty struct expression.
2472
2473 2016-07-21 Yao Qi <yao.qi@linaro.org>
2474
2475 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
2476 if gdb_skip_xml_test is true on some targets.
2477
2478 2016-07-21 Yao Qi <yao.qi@linaro.org>
2479
2480 * gdb.server/solib-list.exp: Unset last_loaded_file.
2481
2482 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2483
2484 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
2485 "step into captured_main (args)".
2486
2487 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2488
2489 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
2490
2491 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2492
2493 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
2494
2495 2016-07-19 Pedro Alves <palves@redhat.com>
2496
2497 * gdb.opt/inline-break.exp: Remove optimize=-O2.
2498 * gdb.opt/inline-bt.exp: Likewise.
2499 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
2500 additional_flags=-Winline.
2501 * gdb.opt/inline-locals.exp: Likewise.
2502 * gdb.opt/inline-markers.c (ATTR): Define.
2503 (inlined_fn): Use it.
2504
2505 2016-07-19 Yao Qi <yao.qi@linaro.org>
2506
2507 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
2508 (test_with_self): Remove some code. Remove argument executable.
2509 (top-level): Use do_self_tests.
2510
2511 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
2512 Don Breazeal <donb@codesourcery.com>
2513
2514 * gdb.base/maint.exp: Escape paths used in regular expressions.
2515 * gdb.stabs/weird.exp: Likewise.
2516
2517 2016-07-13 Tom Tromey <tom@tromey.com>
2518
2519 PR python/15620, PR python/18620:
2520 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
2521 (test_bkpt_events): New procs.
2522
2523 2016-07-13 Tom Tromey <tom@tromey.com>
2524
2525 PR python/17698:
2526 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
2527 test.
2528 (test_watchpoints): Likewise.
2529 (test_bkpt_pending): New proc.
2530
2531 2016-07-13 Tom Tromey <tom@tromey.com>
2532
2533 PR cli/18053:
2534 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
2535 completion test.
2536
2537 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2538
2539 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
2540 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
2541 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
2542 f_label.
2543 (g): Rename g_end_lbl to g_label.
2544 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
2545 low_pc and high_pc.
2546 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
2547
2548 2016-07-12 Tom Tromey <tom@tromey.com>
2549
2550 PR python/19293:
2551 * gdb.python/py-unwind-maint.exp: Update tests.
2552
2553 2016-07-12 Yao Qi <yao.qi@linaro.org>
2554
2555 * lib/selftest-support.exp (selftest_setup): Match the output
2556 when captured_main is inlined.
2557
2558 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2559
2560 * gdb.fortran/derived-types.exp (result_line, result_line_2):
2561 New variables.
2562 (print this%a, print this%b, print this): New tests.
2563 * gdb.fortran/derived-types.f90 (this): New object and
2564 initialization.
2565
2566 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2567
2568 * gdb.ada/arraydim.exp: Remove extra directory level in build
2569 directory.
2570
2571 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2572
2573 * lib/ada.exp: Remove extra directory level in build directory.
2574 * gdb.ada/cond_lang.exp: Likewise.
2575 * gdb.ada/exec_changed.exp: Likewise.
2576 * gdb.ada/lang_switch.exp: Likewise.
2577
2578 2016-07-06 Manish Goregaokar <manish@mozilla.com>
2579
2580 * simple.rs: Add test for raw pointer subscripting.
2581 * simple.exp: Add test expectations.
2582
2583 2016-07-05 Yao Qi <yao.qi@linaro.org>
2584
2585 * gdb.mi/mi-reverse.exp: Match =record-started output.
2586
2587 2016-07-01 Pedro Alves <palves@redhat.com>
2588
2589 * gdb.base/jit-reader.exp (info_registers_current_frame): New
2590 procedure.
2591 (jit_reader_test): Test the jit reader's unwinder.
2592 * gdb.base/jithost.c (jit_function_00_code): New global.
2593 (main): Use memcpy to fill in the mmapped code, instead of poking
2594 bytes manually here.
2595 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
2596 value.
2597 (read_debug_info): Save the function's range.
2598 (read_sp): New function.
2599 (unwind_frame): Use it. Also unwind RBP.
2600 (get_frame_id): Use read_sp.
2601 (gdb_init_reader): Use calloc instead of malloc.
2602 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
2603 parameter. Use gdb_test_multiple.
2604
2605 2016-07-01 Pedro Alves <palves@redhat.com>
2606 Antoine Tremblay <antoine.tremblay@ericsson.com>
2607
2608 * gdb.threads/process-dies-while-detaching.c: New file.
2609 * gdb.threads/process-dies-while-detaching.exp: New file.
2610
2611 2016-07-01 Pedro Alves <palves@redhat.com>
2612
2613 * gdb.multi/watchpoint-multi-exit.c: New file.
2614 * gdb.multi/watchpoint-multi-exit.exp: New file.
2615
2616 2016-06-30 Pedro Alves <palves@redhat.com>
2617
2618 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
2619 unset inferior_spawn_id.
2620
2621 2016-06-30 Pedro Alves <palves@redhat.com>
2622
2623 * lib/mi-support.exp (default_mi_gdb_start): Declare global
2624 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
2625
2626 2016-06-29 Yao Qi <yao.qi@linaro.org>
2627
2628 * gdb.base/return.c: Add copyright header.
2629
2630 2016-06-29 Tom Tromey <tom@tromey.com>
2631
2632 PR python/20129:
2633 * gdb.python/py-framefilter.exp: Add tests for setting priority
2634 and disabling of non-existent frame filter.
2635
2636 2016-06-29 Yao Qi <yao.qi@linaro.org>
2637
2638 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
2639 0x0f07ff.
2640
2641 2016-06-28 Yao Qi <yao.qi@linaro.org>
2642
2643 * gdb.base/catch-syscall.exp: Remove check on isnative and target
2644 triplets. Start gdb, execute catch syscall, and continue. Check
2645 gdb's output to determine catch syscall is supported.
2646
2647 2016-06-27 Manish Goregaokar <manish@mozilla.com>
2648
2649 * gdb.rust/simple.rs: Add test for returning unit in a function.
2650 * gdb.rust/simple.exp: Add expectation for functions returning
2651 unit.
2652
2653 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
2654
2655 * gdb.python/py-breakpoint-create-fail.c,
2656 gdb.python/py-breakpoint-create-fail.exp,
2657 gdb.python/py-breakpoint-create-fail.py: New testcase.
2658
2659 2016-06-25 Manish Goregaokar <manish@mozilla.com>
2660
2661 PR gdb/20239
2662 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
2663 * gdb.rust/simple.exp: Add test expectations for new NonZero
2664 tests.
2665
2666 2016-06-24 David Taylor <dtaylor@emc.com>
2667
2668 * gdb.base/offsets.exp: New file.
2669 * gdb.base/offsets.c: New file.
2670
2671 2016-06-23 Tom Tromey <tom@tromey.com>
2672
2673 PR gdb/16483:
2674 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
2675 before any filters are loaded.
2676
2677 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
2678
2679 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
2680 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
2681 structs.
2682 * gdb.fortran/derived-type-function.exp: New file.
2683 * gdb.fortran/derived-type-function.f90: New file.
2684
2685
2686 2016-06-21 Pedro Alves <palves@redhat.com>
2687
2688 * gdb.base/new-ui.exp: New file.
2689 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
2690 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
2691 (with_spawn_id): New procedure.
2692
2693 2016-06-21 Pedro Alves <palves@redhat.com>
2694
2695 * gdb.mi/mi-exec-run.exp: New file.
2696
2697 2016-06-21 Pedro Alves <palves@redhat.com>
2698
2699 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
2700 breakpoint command's output on the main UI.
2701 (test_break): New procedure, factored out from calls in the top
2702 level.
2703 (top level): Use foreach_with_prefix to test MI as main UI and as
2704 separate UI.
2705
2706 2016-06-21 Pedro Alves <palves@redhat.com>
2707
2708 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
2709 (test_awatch_creation_and_listing)
2710 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
2711 Remove 'type' parameter.
2712 (test_watchpoint_all): New parameter mi_mode. Remove
2713 with_test_prefix.
2714 (top level): Use foreach_with_prefix, and add main/separate UI MI
2715 testing axis.
2716
2717 2016-06-21 Pedro Alves <palves@redhat.com>
2718
2719 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
2720 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
2721 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
2722 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
2723 (gdb_main_spawn_id, mi_spawn_id): Declare and
2724 comment.
2725 (mi_create_inferior_pty): New procedure,
2726 factored out from default_mi_gdb_start.
2727 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
2728 procedures.
2729 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
2730 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
2731 Use mi_create_inferior_pty.
2732 (mi_gdb_start): Use eval to pass down args list.
2733
2734 2016-06-21 Pedro Alves <palves@redhat.com>
2735
2736 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
2737 * gdb.opt/inline-cmds.exp: Add MI tests.
2738
2739 2016-06-21 Pedro Alves <palves@redhat.com>
2740
2741 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
2742
2743 2016-06-21 Pedro Alves <palves@redhat.com>
2744
2745 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
2746 (top level): Use it instead of mi_execute_to.
2747
2748 2016-06-21 Pedro Alves <palves@redhat.com>
2749
2750 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
2751 (cont_handler_str): New.
2752 (signal_stop_handler): Set stop_handler_str instead of printing to
2753 stdout.
2754 (continue_handler): Set cont_handler_str instead of printing to
2755 stdout.
2756 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
2757 mi_send_resuming_command. Print stop_handler_str and
2758 cont_handler_str instead of expecting the python events print
2759 directly.
2760
2761 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2762
2763 * gdb.base/jit-reader.exp: New file.
2764 * gdb.base/jithost.c: New file.
2765 * gdb.base/jithost.h: New file.
2766 * gdb.base/jitreader.c : New file.
2767 * gdb.base/jit-protocol.h: New file.
2768
2769 2016-06-17 Yao Qi <yao.qi@linaro.org>
2770
2771 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
2772 parameters follow_fork and detach_on_fork. Set follow-fork-mode
2773 and detach-on-fork. Adjust tests.
2774 (top level): Invoke break_cond_on_syscall with combinations of
2775 syscall, follow-fork-mode and detach-on-fork.
2776
2777 2016-06-17 Yao Qi <yao.qi@linaro.org>
2778
2779 * gdb.base/step-over-exit.c: New.
2780 * gdb.base/step-over-exit.exp: New.
2781
2782 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
2783
2784 * gdb.base/float.exp: Add target check for nds32*-*-*.
2785 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
2786
2787 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
2788
2789 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
2790 for unsupported target features.
2791 * gdb.base/call-rt-st.exp: Likewise.
2792 * gdb.base/call-sc.exp: Likewise.
2793 * gdb.base/call-signal-resume.exp: Likewise.
2794 * gdb.base/call-strs.exp: Likewise.
2795 * gdb.base/callexit.exp: Likewise.
2796 * gdb.base/callfuncs.exp: Likewise.
2797 * gdb.base/nodebug.exp: Likewise.
2798 * gdb.base/printcmds.exp: Likewise.
2799 * gdb.base/ptype.exp: Likewise.
2800 * gdb.base/structs.exp: Likewise.
2801 * gdb.base/unwindonsignal.exp: Likewise.
2802 * gdb.cp/gdb2495.exp: Likewise.
2803 * gdb.cp/templates.exp: Likewise.
2804 * gdb.cp/virtfunc.exp: Likewise.
2805 * gdb.threads/hand-call-in-threads.exp: Likewise.
2806 * gdb.threads/interrupted-hand-call.exp: Likewise.
2807 * gdb.threads/thread-unwindonsignal.exp: Likewise.
2808
2809 2016-06-10 Tom Tromey <tom@tromey.com>
2810
2811 PR rust/20110:
2812 * gdb.rust/expr.exp: Add test for integer constant larger than
2813 i32.
2814
2815 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
2816
2817 * gdb.fortran/nested-funcs.exp: New.
2818 * gdb.fortran/nested-funcs.f90: New.
2819
2820 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
2821
2822 * gdb.base/examine-backward.c: New file.
2823 * gdb.base/examine-backward.exp: New file.
2824
2825 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
2826
2827 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
2828 matching.
2829
2830 2016-06-02 Tom Tromey <tom@tromey.com>
2831
2832 PR python/18984:
2833 * gdb.python/py-shared.exp: Add solib_name test.
2834
2835 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
2836
2837 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
2838
2839 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
2840
2841 PR c++/19893
2842 * gdb.dwarf2/implref.exp: Rename to...
2843 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
2844 * gdb.dwarf2/implref-array.c: New file.
2845 * gdb.dwarf2/implref-array.exp: Likewise.
2846 * gdb.dwarf2/implref-global.c: Likewise.
2847 * gdb.dwarf2/implref-global.exp: Likewise.
2848 * gdb.dwarf2/implref-struct.c: Likewise.
2849 * gdb.dwarf2/implref-struct.exp: Likewise.
2850
2851 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2852
2853 * gdb.trace/trace-condition.exp: Add 64bit tests.
2854
2855 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2856
2857 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
2858 bits types.
2859 (main): Adapt to 8 to 64 bits types.
2860 * gdb.trace/trace-condition.exp: Add new tests.
2861
2862 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2863
2864 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
2865
2866 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2867
2868 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
2869 Move condition tests...
2870 * gdb.trace/trace-condition.exp: Here.
2871
2872 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2873
2874 * gdb.trace/trace-condition.exp: Add counter-case tests.
2875
2876 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2877
2878 PR c++/15231
2879 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
2880 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
2881
2882 2016-05-27 Pedro Alves <palves@redhat.com>
2883
2884 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2885 New procedure.
2886 (top level): Call it, and bail out of DejaGnu is known to be bad.
2887
2888 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
2889
2890 * gdb.base/whatis.c: Extend the test case.
2891 * gdb.base/whatis.exp: Add additional tests.
2892
2893 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2894
2895 * gdb.fortran/type.f90: Add pointer variable.
2896 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
2897
2898 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2899
2900 * gdb.fortran/vla-type.exp: Fix testcase name.
2901
2902 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2903
2904 * gdb.fortran/vla-type.exp: Access elements in nested structs.
2905
2906 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2907
2908 * gdb.fortran/type.f90: Add nested structures.
2909 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
2910 * gdb.fortran/derived-type.exp: Adapt expected output.
2911 * gdb.fortran/vla-type.exp: Adapt expected output.
2912
2913 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2914
2915 * gdb.fortran/whatis_type.exp: Adapt expected output.
2916
2917 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2918
2919 * gdb.fortran/print_type.exp: Fix expected output.
2920 * gdb.fortran/whatis_type.exp: Fix expected output.
2921
2922 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2923
2924 * gdb.fortran/whatis_type.exp: Use multi_line.
2925
2926 2016-05-24 Tom Tromey <tom@tromey.com>
2927
2928 PR python/17386:
2929 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
2930 use value as an index.
2931
2932 2016-05-23 Tom Tromey <tom@tromey.com>
2933
2934 PR python/17981:
2935 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
2936 no-breakpoint case.
2937
2938 2016-05-24 Pedro Alves <palves@redhat.com>
2939
2940 PR gdb/19828
2941 * gdb.threads/clone-attach-detach.c: New file.
2942 * gdb.threads/clone-attach-detach.exp: New file.
2943
2944 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
2945
2946 * gdb.base/annota-input-while-running.exp: Fix syntax error.
2947
2948 2016-05-23 Tom Tromey <tom@tromey.com>
2949
2950 PR python/19438, PR python/18393:
2951 * gdb.python/py-progspace.exp: Add "dir" test.
2952 * gdb.python/py-objfile.exp: Add "dir" test.
2953
2954 2016-05-23 Yao Qi <yao.qi@linaro.org>
2955
2956 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
2957 * gdb.arch/thumb2-it.exp: Likewise.
2958
2959 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
2960
2961 * gdb.mi/mi-threads-interrupt.c: New file.
2962 * gdb.mi/mi-threads-interrupt.exp: New file.
2963
2964 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
2965
2966 PR gdb/18077
2967 * gdb.mi/mi-async-run.exp: New file.
2968 * gdb.mi/mi-async-run.c: New file.
2969
2970 2016-05-17 Tom Tromey <tom@tromey.com>
2971 Manish Goregaokar <manishsmail@gmail.com>
2972
2973 * lib/rust-support.exp: New file.
2974 * lib/gdb.exp (skip_rust_tests): New proc.
2975 (build_executable_from_specs): Handle rust.
2976 * lib/future.exp (gdb_find_rustc): New proc.
2977 (gdb_default_target_compile): Handle rust.
2978 * gdb.rust/expr.exp: New file.
2979 * gdb.rust/generics.exp: New file.
2980 * gdb.rust/generics.rs: New file.
2981 * gdb.rust/methods.exp: New file.
2982 * gdb.rust/methods.rs: New file.
2983 * gdb.rust/modules.exp: New file.
2984 * gdb.rust/modules.rs: New file.
2985 * gdb.rust/simple.exp: New file.
2986 * gdb.rust/simple.rs: New file.
2987
2988 2016-05-17 Tom Tromey <tom@tromey.com>
2989
2990 * gdb.base/default.exp (set language): Add rust.
2991
2992 2016-05-17 Tom Tromey <tom@tromey.com>
2993
2994 * gdb.gdb/unittest.exp: New file.
2995
2996 2016-05-16 Yao Qi <yao.qi@linaro.org>
2997
2998 * gdb.base/batch-preserve-term-settings.exp: Remove variable
2999 shell_prompt. Update shell_prompt_re.
3000
3001 2016-05-12 Doug Evans <dje@google.com>
3002
3003 PR symtab/19999
3004 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
3005 $options when building executable.
3006 * gdb.dwarf2/fission-loclists-pie.S: New file.
3007 * gdb.dwarf2/fission-loclists-pie.exp: New file.
3008
3009 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3010
3011 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
3012 of [is_remote target],
3013
3014 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3015
3016 * lib/gdb.exp (use_gdb_stub): New procedure.
3017
3018 2016-05-03 Yunlian Jiang <yunlian@google.com>
3019 Doug Evans <dje@google.com>
3020
3021 PR symtab/19914
3022 * gdb.dwarf2/dwp-sepdebug.c: New file.
3023 * gdb.dwarf2/dwp-sepdebug.exp: New file.
3024
3025 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3026
3027 * gdb.base/detach.exp: Remove is_remote check.
3028
3029 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3030
3031 * gdb.base/annota-input-while-running.exp: Don't check for
3032 [is_remote target]. Enable annotations after running to main.
3033 Remove unused "set test..." line.
3034
3035 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3036
3037 * gdb.trace/trace-enable-disable.exp: New file.
3038 * gdb.trace/trace-enable-disable.c: New file.
3039
3040 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3041
3042 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
3043 use it in info sharedlibrary test.
3044 * gdb.trace/ftrace-lock.exp: Likewise.
3045 * gdb.trace/ftrace.exp: Likewise.
3046 * gdb.trace/range-stepping.exp: Likewise.
3047 * gdb.trace/trace-break.exp: Likewise.
3048 * gdb.trace/trace-condition.exp: Likewise.
3049 * gdb.trace/trace-mt.exp: Likewise.
3050
3051 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3052
3053 * lib/gdb.exp (gdb_load_shlibs): Rename to...
3054 (gdb_load_shlib): ... this.
3055 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
3056 gdb_load_shlib.
3057 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3058 * gdb.base/ctxobj.exp: Likewise.
3059 * gdb.base/dprintf-pending.exp: Likewise.
3060 * gdb.base/dso2dso.exp: Likewise.
3061 * gdb.base/fixsection.exp: Likewise.
3062 * gdb.base/gcore-relro.exp: Likewise.
3063 * gdb.base/gdb1555.exp: Likewise.
3064 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3065 * gdb.base/gnu-ifunc.exp: Likewise.
3066 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
3067 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3068 * gdb.base/pending.exp: Likewise.
3069 * gdb.base/print-file-var.exp: Likewise.
3070 * gdb.base/print-symbol-loading.exp: Likewise.
3071 * gdb.base/shlib-call.exp: Likewise.
3072 * gdb.base/shreloc.exp: Likewise.
3073 * gdb.base/so-impl-ld.exp: Likewise.
3074 * gdb.base/solib-disc.exp: Likewise.
3075 * gdb.base/solib-nodir.exp: Likewise.
3076 * gdb.base/solib-overlap.exp: Likewise.
3077 * gdb.base/solib-symbol.exp: Likewise.
3078 * gdb.base/solib-weak.exp (do_test): Likewise.
3079 * gdb.base/sym-file.exp: Likewise.
3080 * gdb.base/symtab-search-order.exp: Likewise.
3081 * gdb.base/type-opaque.exp: Likewise.
3082 * gdb.base/unload.exp: Likewise.
3083 * gdb.base/watchpoint-solib.exp: Likewise.
3084 * gdb.compile/compile.exp: Likewise.
3085 * gdb.cp/gdb2384.exp: Likewise.
3086 * gdb.cp/infcall-dlopen.exp: Likewise.
3087 * gdb.cp/re-set-overloaded.exp: Likewise.
3088 * gdb.fortran/library-module.exp: Likewise.
3089 * gdb.opt/solib-intra-step.exp: Likewise.
3090 * gdb.python/py-finish-breakpoint.exp: Likewise.
3091 * gdb.python/py-shared.exp: Likewise.
3092 * gdb.reverse/solib-precsave.exp: Likewise.
3093 * gdb.reverse/solib-reverse.exp: Likewise.
3094 * gdb.server/solib-list.exp: Likewise.
3095 * gdb.threads/dlopen-libpthread.exp: Likewise.
3096 * gdb.threads/tls-shared.exp: Likewise.
3097 * gdb.threads/tls-so_extern.exp: Likewise.
3098 * gdb.trace/change-loc.exp: Likewise.
3099 * gdb.trace/ftrace-lock.exp: Likewise.
3100 * gdb.trace/ftrace.exp: Likewise.
3101 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
3102 * gdb.trace/pending.exp: Likewise.
3103 * gdb.trace/range-stepping.exp: Likewise.
3104 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
3105 (strace_info_marker): Likewise.
3106 (strace_probe_marker): Likewise.
3107 (strace_trace_on_same_addr): Likewise.
3108 (strace_trace_on_diff_addr): Likewise.
3109 * gdb.trace/trace-break.exp: Likewise.
3110 * gdb.trace/trace-condition.exp: Likewise.
3111 * gdb.trace/trace-mt.exp: Likewise.
3112
3113 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3114
3115 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
3116 result of gdb_remote_download.
3117 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
3118 * gdb.base/dso2dso.exp: Likewise.
3119 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3120 * gdb.base/print-file-var.exp: Likewise.
3121 * gdb.base/shlib-call.exp: Likewise.
3122 * gdb.base/shreloc.exp: Likewise.
3123 * gdb.base/solib-overlap.exp: Likewise.
3124 * gdb.base/solib-weak.exp (do_test): Likewise.
3125 * gdb.base/unload.exp: Likewise.
3126
3127 2016-04-27 Yao Qi <yao.qi@linaro.org>
3128
3129 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
3130 exists.
3131
3132 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3133
3134 * vla-type.exp: Print structure from toplevel.
3135
3136 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3137
3138 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
3139 of dynamic types.
3140 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
3141 of dynamic types.
3142
3143 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3144
3145 * gdb.fortran/vla-type.f90: New file.
3146 * gdb.fortran/vla-type.exp: New file.
3147
3148 2016-04-25 Yao Qi <yao.qi@linaro.org>
3149
3150 * gdb.base/branch-to-self.c: New file.
3151 * gdb.base/branch-to-self.exp: New file.
3152
3153 2016-04-22 Yao Qi <yao.qi@linaro.org>
3154
3155 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
3156 more after $hex.
3157
3158 2016-04-22 Yao Qi <yao.qi@linaro.org>
3159
3160 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
3161 * gdb.base/annota3.exp: Likewise.
3162
3163 2016-04-22 Yao Qi <yao.qi@linaro.org>
3164
3165 * gdb.reverse/step-precsave.exp: Do one step and test program
3166 stops in "callee" and do multiple steps until program goes out
3167 of "callee".
3168 * gdb.reverse/step-reverse.exp: Likewise.
3169
3170 2016-04-22 Yao Qi <yao.qi@linaro.org>
3171
3172 * gdb.trace/signal.exp: Also pass if
3173 $tracepoint_hits($i) > $iterations.
3174
3175 2016-04-22 Yao Qi <yao.qi@linaro.org>
3176
3177 * gdb.trace/signal.c: New file.
3178 * gdb.trace/signal.exp: New file.
3179
3180 2016-04-19 Doug Evans <xdje42@gmail.com>
3181
3182 * gdb.base/bad-file.exp: New file.
3183
3184 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3185
3186 * gdb.dwarf2/implref.exp: New file.
3187
3188 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3189
3190 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
3191 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
3192 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
3193 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
3194 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
3195 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
3196 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
3197 * lib/fortran.exp (fortran_int4): New procedure.
3198 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
3199 (fortran_logical4): Likewise.
3200
3201 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
3202
3203 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
3204
3205 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3206
3207 * lib/compiler.c: Add Intel specific preprocessor macros.
3208 * lib/compiler.cc: Likewise.
3209
3210 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
3211
3212 * gdb.server/connect-with-no-symbol-file.c: New file.
3213 * gdb.server/connect-with-no-symbol-file.exp: New file.
3214
3215 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3216
3217 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3218
3219 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3220
3221 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3222 standard output directory.
3223
3224 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3225
3226 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3227
3228 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3229
3230 * gdb.btrace/instruction_history.c (loop): Add declaration.
3231
3232 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3233
3234 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3235
3236 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3237
3238 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3239 parentheses to print.
3240 (continue_handler): Likewise.
3241
3242 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3243
3244 * gdb.server/solib-list.exp: Remove is_remote check.
3245 Pass shlib= to gdb_compile. Don't link shared library with
3246 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3247 Run binary filename through "readlink -f" on the target.
3248
3249 2016-04-08 Pedro Alves <palves@redhat.com>
3250
3251 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3252 interpreter filename as argument to gdbserver_spawn.
3253 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3254 Return empty if $last_loaded_file does not exist.
3255
3256 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3257
3258 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3259 * gdb.base/jit-main.c: Use exit after usage.
3260
3261 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3262
3263 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3264 GDBHISTSIZE prior to the tests.
3265 * gdb.base/gdbinit-history.exp: Likewise.
3266
3267 2016-04-07 Pedro Alves <palves@redhat.com>
3268
3269 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3270 instead of build_executable. Use gdb_load_shlibs.
3271
3272 2016-04-07 Yao Qi <yao.qi@linaro.org>
3273
3274 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3275 Execute "si" command.
3276
3277 2016-04-07 Yao Qi <yao.qi@linaro.org>
3278
3279 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3280 number instead of the comments on some line.
3281
3282 2016-04-06 Don Breazeal <donb@codesourcery.com>
3283
3284 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3285 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3286
3287 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3288
3289 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3290 standard_output_file. Remove unused binfile variable.
3291
3292 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
3293
3294 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3295 * gdb.python/py-mi-objfile.exp: Match "list main" output
3296 in console format.
3297
3298 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3299
3300 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3301 absolute.
3302
3303 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3304
3305 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
3306 absolute.
3307 * gdb.trace/ftrace.exp: Likewise.
3308 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
3309 targets as well.
3310 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
3311 (gdb_load_shlibs): Copy libraries to test directory when testing
3312 natively. Only set solib-search-path if testing remotely.
3313 * lib/mi-support.exp (mi_load_shlibs): Likewise.
3314
3315 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3316
3317 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
3318 gdb_download. Use it even if the target is not remote.
3319 * gdb.base/jit.exp (compile_jit_test): Likewise.
3320 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
3321 output directory if the destination board is local, otherwise use
3322 the standard remote_download from DejaGnu.
3323 (gdb_download): Remove.
3324 (gdb_load_shlibs): Use gdb_remote_download instead of
3325 gdb_download.
3326 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3327 Use gdb_remote_download instead of gdb_download. Use it even if
3328 the target is not remote.
3329 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
3330 instead of gdb_download.
3331
3332 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
3333
3334 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
3335 (test_insert_delete_modify): Call mi_load_shlibs before trying to
3336 run.
3337
3338 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
3339
3340 PR gdb/19820
3341 * gdb.base/printcmds.exp: Add artificial arrays tests.
3342
3343 2016-03-31 Pedro Alves <palves@redhat.com>
3344
3345 PR gdb/19858
3346 * gdb.base/jit-main.c: Include unistd.h.
3347 (ATTACH): Define to 0 if not already defined.
3348 (wait_for_gdb, mypid): New globals.
3349 (WAIT_FOR_GDB): New macro.
3350 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
3351 some breakpoint locations.
3352 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
3353 New procedures.
3354 (one_jit_test): Add REATTACH parameter, and handle it. Use
3355 continue_to_test_location.
3356 (top level): Test attach, and adjusts calls to one_jit_test.
3357
3358 2016-03-31 Pedro Alves <palves@redhat.com>
3359
3360 PR gdb/19858
3361 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
3362 BINSUFFIX parameter, and handle it.
3363 (top level): Adjust calls compile_jit_test.
3364
3365 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
3366
3367 PR python/19743
3368 * gdb.python/py-mi-events-gdb.py: New file.
3369 * gdb.python/py-mi-events.c: New file.
3370 * gdb.python/py-mi-events.exp: New file.
3371
3372 2016-03-30 Yao Qi <yao.qi@linaro.org>
3373
3374 * gdb.reverse/until-precsave.exp: Match function name only.
3375 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
3376 Move malloc to a condition block.
3377 * gdb.reverse/until-reverse.exp: Match function name only.
3378
3379 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
3380
3381 * gdb.trace/ftrace.exp: Set arg0exp for s390.
3382 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
3383 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
3384 variable for GPR 0 instead of assuming it is register 0.
3385 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
3386 * lib/trace-support.exp: Add s390 registers.
3387
3388 2016-03-29 Yao Qi <yao.qi@linaro.org>
3389
3390 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
3391
3392 2016-03-24 Yao Qi <yao.qi@linaro.org>
3393
3394 * gdb.reverse/break-reverse.exp: Add quotation mark in the
3395 test message.
3396
3397 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3398
3399 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
3400 maintaining separate logic for constructing the output path.
3401
3402 2016-03-16 Don Breazeal <donb@codesourcery.com>
3403
3404 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3405 Retry fork and waitpid on interrupted system call errors.
3406 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3407 Use with_timeout_factor to increase timeout by factor of 10.
3408
3409 2016-03-15 Don Breazeal <donb@codesourcery.com>
3410
3411 * gdb.cp/scope-err.cc: New test program.
3412 * gdb.cp/scope-err.exp: New test script.
3413 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
3414 lines and "set breakpoint here" comment.
3415 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
3416 Fixed some whitespace and format issues.
3417 * gdb.mi/mi-linespec-err-cp.cc: New test program.
3418 * gdb.mi/mi-linespec-err-cp.exp: New test script.
3419
3420 2016-03-15 Doug Evans <dje@google.com>
3421
3422 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
3423 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
3424 All callers updated. Add tests for enums, mixed flags register.
3425
3426 2016-03-15 Doug Evans <dje@google.com>
3427
3428 * gdb.base/skip.c (main): Call test_skip_file_and_function.
3429 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
3430
3431 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
3432
3433 * gdb.base/default.exp: Add $_as_string to the list of expected
3434 convenience functions.
3435
3436 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
3437
3438 * gdb.base/maint.exp: New tests for 'maint info line-table'.
3439
3440 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
3441
3442 * gdb.python/py-as-string.exp: New file.
3443 * gdb.python/py-as-string.c: New file.
3444
3445 2016-03-09 Pedro Alves <palves@redhat.com>
3446
3447 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
3448 signal" -> "Thread NN received signal" output change.
3449 * gdb.threads/ia64-sigill.exp: Likewise.
3450 * gdb.threads/linux-dp.exp: Likewise.
3451 * gdb.threads/manythreads.exp: Likewise.
3452 * gdb.threads/pending-step.exp: Likewise.
3453 * gdb.threads/print-threads.exp: Likewise.
3454 * gdb.threads/sigstep-threads.exp: Likewise.
3455 * gdb.threads/staticthreads.exp: Likewise.
3456 * gdb.threads/tls.exp: Likewise.
3457
3458 2016-03-09 Pedro Alves <palves@redhat.com>
3459
3460 * gdb.base/command-line-input.exp: New file.
3461
3462 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3463
3464 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
3465 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
3466 * gdb.trace/pending.exp: Accept leading dot before function name.
3467 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
3468 * lib/trace-support.exp: Set registers for ppc.
3469
3470 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3471
3472 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
3473 use it for disassembly; accept .main in addition to main in backtrace.
3474
3475 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
3476 Marcin Kościelnicki <koriakin@0x04.net>
3477
3478 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
3479 (gdb_recursion_test_ptr): New global variable.
3480 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
3481 gdb_recursion_test.
3482 (gdb_c_test): Ditto.
3483
3484 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3485
3486 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
3487 ordering.
3488
3489 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3490
3491 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
3492 (bar): Add bar_start_lbl label.
3493 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
3494 of foo/bar for emitting DWARF and tracing.
3495
3496 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
3497
3498 * analyze-racy-logs.py: Set executable bit.
3499
3500 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
3501
3502 * Makefile.in (DEFAULT_RACY_ITER): New variable.
3503 (CHECK_TARGET_TMP): Likewise.
3504 (check-single-racy): New rule.
3505 (check-parallel-racy): Likewise.
3506 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
3507 (do-check-parallel-racy): New rule.
3508 (check-racy/%.exp): Likewise.
3509 * README (Racy testcases): New section.
3510 * analyze-racy-logs.py: New file.
3511
3512 2016-03-03 Doug Evans <dje@google.com>
3513
3514 * gdb.base/skip.exp: Use with_test_prefix.
3515
3516 2016-03-03 Yao Qi <yao.qi@linaro.org>
3517
3518 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
3519 Invoke step_over_syscall "clone" and break_cond_on_syscall
3520 "clone".
3521 * gdb.base/step-over-clone.c: New file.
3522
3523 2016-03-03 Yao Qi <yao.qi@linaro.org>
3524
3525 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
3526 code format.
3527
3528 2016-03-03 Yao Qi <yao.qi@linaro.org>
3529
3530 * gdb.base/disp-step-fork.c: Rename to ...
3531 * gdb.base/step-over-fork.c: ... it. New file.
3532 * gdb.base/disp-step-vfork.c: Rename to ...
3533 * gdb.base/step-over-vfork.c: ... it. New file.
3534 * gdb.base/disp-step-syscall.exp: Rename to ...
3535 * gdb.base/step-over-syscall.exp: ... it. New file.
3536 (disp_step_cross_syscall): Rename to ...
3537 (step_over_syscall): ... it.
3538
3539 2016-03-03 Yao Qi <yao.qi@linaro.org>
3540
3541 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
3542 If target supports condition evaluation on target, invoke
3543 break_cond_on_syscall for fork and vfork.
3544
3545 2016-03-03 Yao Qi <yao.qi@linaro.org>
3546
3547 * gdb.base/disp-step-syscall.exp: Don't invoke
3548 support_displaced_stepping.
3549 (disp_step_cross_syscall): Test with displaced stepping off and
3550 on if supported.
3551
3552 2016-03-03 Yao Qi <yao.qi@linaro.org>
3553
3554 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
3555 proc.
3556 (setup): New proc.
3557 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
3558 and setup.
3559
3560 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3561
3562 * gdb.fortran/vla-history.exp: Remove breakpoint.
3563
3564 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3565
3566 * gdb.fortran/vla-history.exp: Lookup array elements and printing
3567 exceeds timeout.
3568
3569 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3570
3571 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
3572 breakpoint.
3573
3574 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3575
3576 * gdb.mi/vla.f90: Nullify pointer after declaration.
3577
3578 2016-03-01 Pedro Alves <palves@redhat.com>
3579
3580 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
3581
3582 2016-03-01 Pedro Alves <palves@redhat.com>
3583
3584 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
3585 before anything else.
3586 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
3587 _GNU_SOURCE here.
3588 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
3589 before anything else.
3590 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
3591
3592 2016-03-01 Pedro Alves <palves@redhat.com>
3593
3594 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
3595
3596 2016-03-01 Yao Qi <yao.qi@linaro.org>
3597
3598 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
3599 prepare_for_testing.
3600
3601 2016-03-01 Yao Qi <yao.qi@linaro.org>
3602
3603 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
3604
3605 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3606
3607 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
3608 manually constructing the output path.
3609
3610 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3611
3612 * gdb.arch/s390-stackless.S: New.
3613 * gdb.arch/s390-stackless.exp: New.
3614
3615 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
3616
3617 * gdb.dlang/circular.c: New file.
3618 * gdb.dlang/circular.exp: New file.
3619
3620 2016-02-26 Yao Qi <yao.qi@linaro.org>
3621
3622 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
3623 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
3624 (testcases): Update.
3625
3626 2016-02-26 Yao Qi <yao.qi@linaro.org>
3627
3628 * gdb.reverse/aarch64.c: Rename to ...
3629 * gdb.reverse/insn-reverse.c: ... it.
3630 * gdb.reverse/aarch64.exp: Rename to ...
3631 * gdb.reverse/insn-reverse.exp: ... it.
3632
3633 2016-02-26 Yao Qi <yao.qi@linaro.org>
3634
3635 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
3636 (testcase_ftype): New.
3637 (testcases): New array.
3638 (n_testcases): New.
3639 (main): Call each element in testcases.
3640 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
3641 (read_testcase): New.
3642 Do the tests in a loop.
3643
3644 2016-02-25 Yao Qi <yao.qi@linaro.org>
3645
3646 * gdb.base/branches.c: Remove.
3647
3648 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3649
3650 PR gdb/13808
3651 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
3652
3653 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3654
3655 * gdb.trace/ftrace.exp: Remove unnecessary target check.
3656
3657 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3658
3659 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
3660 change x86_64 call_insn to 'callq'.
3661
3662 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3663
3664 * gdb.trace/tfile-avx.c: Move to...
3665 * gdb.trace/tracefile-pseudo-reg.c: Here.
3666 * gdb.trace/tfile-avx.exp: Move to...
3667 * gdb.trace/tracefile-pseudo-reg.exp: Here.
3668
3669 2016-02-24 Gary Benson <gbenson@redhat.com>
3670
3671 * gdb.base/attach-pie-noexec.exp: Do not expect an error
3672 message on attach.
3673
3674 2016-02-23 Doug Evans <dje@google.com>
3675
3676 * gdb.base/skip.c (test_skip): New function.
3677 (end_test_skip_file_and_function): New function.
3678 (test_skip_file_and_function): New function.
3679 * gdb.base/skip1.c (test_skip): New function.
3680 (skip1_test_skip_file_and_function): New function.
3681 * gdb.base/skip.exp: Add tests for new skip options.
3682 * gdb.base/skip-solib.exp: Update expected output.
3683 * gdb.perf/skip-command.cc: New file.
3684 * gdb.perf/skip-command.exp: New file.
3685 * gdb.perf/skip-command.py: New file.
3686
3687 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
3688
3689 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
3690 info registers pattern.
3691
3692 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
3693
3694 * lib/future.exp: Add D support.
3695 (gdb_find_gdc): New proc.
3696 (gdb_default_target_compile): Add D support.
3697
3698 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
3699
3700 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
3701 user+system time.
3702 (trace_speed_test): Determine the iteration count for a time
3703 between 15..30 seconds.
3704
3705 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
3706
3707 * gdb.arch/i386-mpx-sigsegv.c: New file.
3708 * gdb.arch/i386-mpx-sigsegv.exp: New file.
3709 * gdb.arch/i386-mpx-simple_segv.c: New file.
3710 * gdb.arch/i386-mpx-simple_segv.exp: New file.
3711
3712 2016-02-18 Yao Qi <yao.qi@linaro.org>
3713
3714 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3715 Don't call setup_kfail.
3716
3717 2016-02-18 Yao Qi <yao.qi@linaro.org>
3718
3719 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3720 Set "set breakpoint condition-evaluation" per $cond_bp_target.
3721
3722 2016-02-16 Doug Evans <dje@google.com>
3723
3724 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
3725 * gdb.base/skip1.c: Ditto.
3726 * gdb.base/skip.exp: Whitespace cleanup.
3727
3728 2016-02-16 Don Breazeal <donb@codesourcery.com>
3729
3730 PR remote/19496
3731 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3732 Remove kfail for PR remote/19496.
3733
3734 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3735
3736 * lib/gdb.exp (standard_temp_file): Return a path specific to
3737 the runtest invocation.
3738
3739 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3740
3741 * gdb.trace/save-trace.exp: Change relative path to be in the
3742 standard output directory.
3743
3744 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3745
3746 * gdb.arch/i386-prologue.c: Add missing prototypes.
3747
3748 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3749
3750 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
3751 * gdb.arch/i386-prologue.exp: Likewise.
3752 * gdb.arch/i386-size.exp: Likewise.
3753
3754 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
3755
3756 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
3757 define object file path.
3758 * gdb.btrace/gcore.exp: Use standard_output_file to define core
3759 file path.
3760 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
3761 standard_output_file to define binfile.
3762
3763 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3764
3765 Fix compatibility with recent gfortran-5.3.1.
3766 * gdb.fortran/vla-history.exp (print vla1 allocated)
3767 (print vla2 allocated, print $2, print $3): Remove
3768 (print $4): Rename to ...
3769 (print $2): ... here.
3770 (print $9): Rename to ...
3771 (print $5): ... here.
3772 (print $10): Rename to ...
3773 (print $6): ... here.
3774 * gdb.fortran/vla.f90: Add pvla initialization.
3775
3776 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3777
3778 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
3779 New test.
3780 * gdb.fortran/vla-value-sub.exp: Likewise.
3781
3782 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
3783
3784 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
3785
3786 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
3787
3788 * i386-biarch-core.exp: Define corefile using
3789 standard_output_file.
3790
3791 2016-02-12 Yao Qi <yao.qi@linaro.org>
3792
3793 * gdb.arch/arm-single-step-kernel-helper.c: New.
3794 * gdb.arch/arm-single-step-kernel-helper.exp: New.
3795
3796 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
3797
3798 * gdb.btrace/tailcall-only.exp: New.
3799 * gdb.btrace/tailcall-only.c: New.
3800 * gdb.btrace/x86_64-tailcall-only.S: New.
3801 * gdb.btrace/i686-tailcall-only.S: New.
3802
3803 2016-02-11 Pedro Alves <palves@redhat.com>
3804
3805 * README (Parallel testing): Add missing double quotes.
3806
3807 2016-02-11 Pedro Alves <palves@redhat.com>
3808
3809 * README (Parallel testing): New section.
3810 (GDB_PARALLEL): Rewrite.
3811 (FORCE_PARALLEL): Document.
3812
3813 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
3814
3815 * gdb.trace/tfile-avx.c: New test.
3816 * gdb.trace/tfile-avx.exp: New test.
3817
3818 2016-02-09 Keith Seitz <keiths@redhat.com>
3819
3820 PR breakpoints/19546
3821 * gdb.base/infcall-exec.c: New file.
3822 * gdb.base/infcall-exec2.c: New file.
3823 * gdb.base/infcall-exec.exp: New file.
3824
3825 2016-02-09 Keith Seitz <keiths@redhat.com>
3826
3827 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
3828 (toplevel): Call test_bkpt_address.
3829
3830 2016-02-09 Keith Seitz <keiths@redhat.com>
3831
3832 PR python/19506
3833 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
3834 (toplevel): Call test_bkpt_address.
3835
3836 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
3837
3838 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
3839 to AC_OUTPUT.
3840 * configure: Regenerate.
3841
3842 2016-02-09 Pedro Alves <palves@redhat.com>
3843
3844 PR breakpoints/19548
3845 * gdb.base/execl-update-breakpoints.c (some_function): New
3846 function.
3847 (main): Call it.
3848 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
3849 Tighten expected GDB output.
3850
3851 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3852
3853 * Makefile.in (ALL_SUBDIRS): Remove.
3854 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
3855 (distclean maintainer-clean realclean): Likewise.
3856 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
3857 * configure: Regenerate.
3858 * gdb.ada/Makefile.in: Delete.
3859 * gdb.arch/Makefile.in: Likewise.
3860 * gdb.asm/Makefile.in: Likewise.
3861 * gdb.base/Makefile.in: Likewise.
3862 * gdb.btrace/Makefile.in: Likewise.
3863 * gdb.cell/Makefile.in: Likewise.
3864 * gdb.compile/Makefile.in: Likewise.
3865 * gdb.cp/Makefile.in: Likewise.
3866 * gdb.disasm/Makefile.in: Likewise.
3867 * gdb.dlang/Makefile.in: Likewise.
3868 * gdb.dwarf2/Makefile.in: Likewise.
3869 * gdb.fortran/Makefile.in: Likewise.
3870 * gdb.gdb/Makefile.in: Likewise.
3871 * gdb.go/Makefile.in: Likewise.
3872 * gdb.guile/Makefile.in: Likewise.
3873 * gdb.java/Makefile.in: Likewise.
3874 * gdb.linespec/Makefile.in: Likewise.
3875 * gdb.mi/Makefile.in: Likewise.
3876 * gdb.modula2/Makefile.in: Likewise.
3877 * gdb.multi/Makefile.in: Likewise.
3878 * gdb.objc/Makefile.in: Likewise.
3879 * gdb.opencl/Makefile.in: Likewise.
3880 * gdb.opt/Makefile.in: Likewise.
3881 * gdb.pascal/Makefile.in: Likewise.
3882 * gdb.perf/Makefile.in: Likewise.
3883 * gdb.python/Makefile.in: Likewise.
3884 * gdb.reverse/Makefile.in: Likewise.
3885 * gdb.server/Makefile.in: Likewise.
3886 * gdb.stabs/Makefile.in: Likewise.
3887 * gdb.threads/Makefile.in: Likewise.
3888 * gdb.trace/Makefile.in: Likewise.
3889 * gdb.xml/Makefile.in: Likewise.
3890 * lib/gdb.exp (make_gdb_parallel_path): Add check for
3891 GDB_PARALLEL.
3892 (standard_output_file): Remove check for GDB_PARALLEL, always
3893 return path in outputs/$subdir/$testname.
3894
3895 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3896
3897 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
3898 (site.exp): Assign abs_srcdir to tcl's srcdir.
3899
3900 2016-02-04 Yao Qi <yao.qi@linaro.org>
3901
3902 * gdb.base/foll-exec-mode.c: Include limits.h.
3903 (main): Add parameters argc and argv. Get directory from
3904 argv[0].
3905 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
3906 compilation.
3907 * gdb.base/foll-exec.c: Include limits.h.
3908 (main): Add parameters argc and argv.
3909 Get directory from argv[0].
3910 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
3911 Adjust tests on the number of lines as source code changed.
3912 * gdb.base/foll-vfork-exit.c: Include limits.h.
3913 (main): Add one line of statement before vfork.
3914 * gdb.base/foll-vfork.c: Include limits.h and string.h.
3915 (main): Add parameters argc and argv. Get directory from
3916 argv[0].
3917 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
3918 (setup_gdb): Set tbreak to skip some source lines.
3919 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
3920 (main): Add parameters argc and argv. Get directory from
3921 argv[0].
3922 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
3923 compilation.
3924 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
3925 (main): Add parameters argc and argv. Get directory from
3926 argv[0].
3927 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
3928 compilation.
3929
3930 2016-02-01 Doug Evans <dje@google.com>
3931
3932 * gdb.base/skip.exp: Clean up multiple references to same test name.
3933
3934 2016-02-01 Pedro Alves <palves@redhat.com>
3935
3936 PR remote/19496
3937 * gdb.threads/forking-threads-plus-breakpoint.exp
3938 (displaced_stepping_supported): New global.
3939 (probe_displaced_stepping_support): New procedure.
3940 (do_test): Add 'displaced' parameter, and use it.
3941 (top level): Check for displaced stepping support. Add displaced
3942 stepping on/off testing axis.
3943
3944 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
3945
3946 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
3947 pointer. Don't perform further tests on the unassociated pointer
3948 if the first test fails.
3949
3950 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
3951
3952 * gdb.base/max-value-size.c: New file.
3953 * gdb.base/max-value-size.exp: New file.
3954 * gdb.base/huge.exp: Disable max-value-size for this test.
3955
3956 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
3957
3958 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3959
3960 2016-01-28 Yao Qi <yao.qi@linaro.org>
3961
3962 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
3963
3964 2016-01-25 Pedro Alves <palves@redhat.com>
3965
3966 PR threads/19461
3967 * gdb.base/fork-running-state.c: New file.
3968 * gdb.base/fork-running-state.exp: New file.
3969
3970 2016-01-25 Pedro Alves <palves@redhat.com>
3971
3972 PR gdb/19494
3973 * gdb.base/catch-fork-kill.c: New file.
3974 * gdb.base/catch-fork-kill.exp: New file.
3975
3976 2016-01-25 Pedro Alves <palves@redhat.com>
3977
3978 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
3979 Delete, moved to lib/gdb.exp.
3980 * gdb.threads/forking-threads-plus-breakpoint.exp
3981 (foreach_with_prefix): Likewise.
3982 * gdb.threads/process-dies-while-handling-bp.exp
3983 (foreach_with_prefix): Likewise.
3984 * lib/gdb.exp (foreach_with_prefix): New procedure.
3985
3986 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
3987
3988 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
3989 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
3990
3991 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
3992
3993 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
3994 endian targets.
3995
3996 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3997 Pedro Alves <palves@redhat.com>
3998
3999 Fix testsuite compatibility with Guile.
4000 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
4001 number.
4002
4003 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4004
4005 Fix testsuite compatibility with Guile.
4006 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
4007 (thread 1): New test for backtrace through signal handler.
4008
4009 2016-01-22 Yao Qi <yao.qi@linaro.org>
4010
4011 PR testsuite/19491
4012 * gdb.base/multi-forks.c: Include
4013 ../lib/unbuffer_output.c
4014 (main): Call gdb_unbuffer_output.
4015
4016 2016-01-21 Doug Evans <dje@google.com>
4017
4018 * lib/ada.exp (gdb_compile_ada): Fix typo.
4019
4020 2016-01-21 Joel Brobecker <brobecker@adacore.com>
4021
4022 * gdb.base/break-fun-addr.exp: New file.
4023 * gdb.base/break-fun-addr1.c: New file.
4024 * gdb.base/break-fun-addr2.c: New file.
4025
4026 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
4027
4028 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
4029 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
4030 enum flag values.
4031
4032 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4033
4034 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
4035 when GDB can not set the vector return value. Add more comments
4036 for clarification.
4037
4038 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
4039
4040 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
4041 command.
4042
4043 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4044
4045 * Makefile.in (DO_RUNTEST): Add --status and update usages.
4046
4047 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4048
4049 * Makefile.in (check-single): Pass --status to runtest.
4050 (check/%.exp): Likewise.
4051
4052 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4053
4054 * Makefile.in (check-parallel): Propagate return code from make
4055 do-check-parallel.
4056
4057 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
4058
4059 * gdb.trace/ftrace.exp: Fix expected message on continue.
4060 * gdb.trace/pending.exp: Fix expected message on continue.
4061 * gdb.trace/trace-break.exp: Fix expected message on continue.
4062
4063 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
4064
4065 * lib/gdb.exp (gdb_test): Remove unused global references.
4066
4067 2016-01-18 Pedro Alves <palves@redhat.com>
4068
4069 * gdb.base/async-shell.exp: Adjust expected output.
4070 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
4071 * gdb.base/siginfo-thread.exp: Adjust expected output.
4072 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
4073 * gdb.java/jnpe.exp: Adjust expected output.
4074 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
4075 * gdb.threads/continue-pending-status.exp: Adjust expected output.
4076 * gdb.threads/leader-exit.exp: Adjust expected output.
4077 * gdb.threads/manythreads.exp: Adjust expected output.
4078 * gdb.threads/pthreads.exp: Adjust expected output.
4079 * gdb.threads/schedlock.exp: Adjust expected output.
4080 * gdb.threads/siginfo-threads.exp: Adjust expected output.
4081 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
4082 expected output.
4083 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
4084 output.
4085 * gdb.threads/sigthread.exp: Adjust expected output.
4086 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
4087
4088 2016-01-18 Yao Qi <yao.qi@linaro.org>
4089
4090 * gdb.guile/scm-section-script.c: Replace @progbits with
4091 %progbits.
4092 * gdb.python/py-section-script.c: Likewise.
4093
4094 2016-01-15 Pedro Alves <palves@redhat.com>
4095
4096 * gdb.multi/tids.exp: Test star wildcard ranges.
4097
4098 2016-01-15 Pedro Alves <palves@redhat.com>
4099
4100 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4101 command from "thread apply" invocation.
4102 (thr_apply_info_thr_invalid): Default the expected output to the
4103 input tid list.
4104 (top level): Add tests that use convenience variables. Add tests
4105 for "thread apply" with a valid TID list, but missing the command.
4106
4107 2016-01-13 Pedro Alves <palves@redhat.com>
4108
4109 * gdb.base/default.exp: Expect $_gthread as well.
4110 * gdb.multi/tids.exp: Test $_gthread.
4111 * gdb.threads/thread-specific.exp: Test $_gthread.
4112
4113 2016-01-13 Pedro Alves <palves@redhat.com>
4114
4115 * gdb.multi/tids.exp: Test "info threads -gid".
4116
4117 2016-01-13 Pedro Alves <palves@redhat.com>
4118
4119 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4120 Breakpoint.thread.
4121 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
4122
4123 2016-01-07 Pedro Alves <palves@redhat.com>
4124
4125 * gdb.base/break.exp: Adjust to output changes.
4126 * gdb.base/hbreak2.exp: Likewise.
4127 * gdb.base/sepdebug.exp: Likewise.
4128 * gdb.base/watch_thread_num.exp: Likewise.
4129 * gdb.linespec/keywords.exp: Likewise.
4130 * gdb.multi/info-threads.exp: Likewise.
4131 * gdb.threads/thread-find.exp: Likewise.
4132 * gdb.multi/tids.c: New file.
4133 * gdb.multi/tids.exp: New file.
4134
4135 2016-01-13 Pedro Alves <palves@redhat.com>
4136
4137 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
4138
4139 2016-01-13 Pedro Alves <palves@redhat.com>
4140
4141 * gdb.base/default.exp: Expect $_inferior as well.
4142 * gdb.multi/base.exp: Test $_inferior.
4143
4144 2016-01-13 Pedro Alves <palves@redhat.com>
4145
4146 PR breakpoints/19388
4147 * gdb.base/catch-signal-siginfo-cond.c: New file.
4148 * gdb.base/catch-signal-siginfo-cond.exp: New file.
4149
4150 2016-01-12 Josh Stone <jistone@redhat.com>
4151 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4152
4153 * gdb.base/catch-syscall.c (do_execve): New variable.
4154 (main): Conditionally trigger an execve.
4155 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
4156 (test_catch_syscall_execve): New, check entry/return across execve.
4157 (do_syscall_tests): Call test_catch_syscall_execve.
4158
4159 2016-01-12 Pedro Alves <palves@redhat.com>
4160
4161 * gdb.base/random-signal.exp (do_test): New procedure, with body
4162 of testcase moved in.
4163
4164 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4165 Pedro Alves <palves@redhat.com>
4166
4167 * gdb.base/funcargs.exp (finish from indirectly called function):
4168 Reintroduce the case for 'First'.
4169
4170 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4171 Pedro Alves <palves@redhat.com>
4172
4173 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4174 (tcatch_vfork_then_child_follow_exec)
4175 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
4176 identification.
4177
4178 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4179
4180 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
4181 and repeats to unlimited.
4182 * gdb.python/py-value.exp: Likewise.
4183 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
4184 and repeats to unlimited.
4185
4186 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4187
4188 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
4189 and reordering the functions.
4190 * gdb.multi/hangout.c: Likewise.
4191 * gdb.multi/hello.c: Likewise.
4192
4193 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
4194
4195 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
4196 absolute.
4197 (SingleStatisticTestResult.report): Use dict.keys instead of
4198 dict.iterkeys.
4199
4200 2016-01-06 Pedro Alves <palves@redhat.com>
4201
4202 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
4203
4204 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
4205
4206 * gdb.btrace/dlopen.exp: New.
4207 * gdb.btrace/dlopen.c: New.
4208 * gdb.btrace/dlopen-dso.c: New.
4209
4210 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
4211
4212 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4213 PATTERN argument is optional.
4214
4215 2015-12-24 Joel Brobecker <brobecker@adacore.com>
4216
4217 * lib/ada.exp (target_compile_ada_from_dir): New function.
4218 (gdb_compile_ada): Reimplement avoiding the use of project files.
4219 * gdb.ada/gnat_ada.gpr: Delete.
4220 * gdb.ada/cond_lang.exp: Adjust test to make path before
4221 filename optional.
4222 * gdb.ada/small_reg_param.exp: Likewise.
4223
4224 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4225
4226 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4227
4228 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4229
4230 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4231 case.
4232
4233 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4234
4235 * gdb.base/break.exp: Remove dead code.
4236 * gdb.base/sepdebug.exp: Likewise.
4237
4238 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4239
4240 * gdb.asm/asm-source.exp: Remove HP-UX references.
4241 * gdb.base/annota1.exp: Likewise.
4242 * gdb.base/annota3.exp: Likewise.
4243 * gdb.base/attach.exp: Likewise.
4244 * gdb.base/bigcore.exp: Likewise.
4245 * gdb.base/break.exp: Likewise.
4246 * gdb.base/call-ar-st.exp: Likewise.
4247 * gdb.base/callfuncs.exp: Likewise.
4248 * gdb.base/catch-fork-static.exp: Likewise.
4249 * gdb.base/display.exp: Likewise.
4250 * gdb.base/foll-exec-mode.exp: Likewise.
4251 * gdb.base/foll-exec.exp: Likewise.
4252 * gdb.base/foll-fork.exp: Likewise.
4253 * gdb.base/foll-vfork.exp: Likewise.
4254 * gdb.base/funcargs.exp: Likewise.
4255 * gdb.base/hbreak2.exp: Likewise.
4256 * gdb.base/inferior-died.exp: Likewise.
4257 * gdb.base/interrupt.exp: Likewise.
4258 * gdb.base/multi-forks.exp: Likewise.
4259 * gdb.base/nodebug.exp: Likewise.
4260 * gdb.base/sepdebug.exp: Likewise.
4261 * gdb.base/solib1.c: Likewise.
4262 * gdb.base/step-test.exp: Likewise.
4263 * gdb.mi/non-stop.c: Likewise.
4264 * gdb.mi/pthreads.c: Likewise.
4265 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4266 * gdb.threads/pthreads.c: Likewise.
4267 * gdb.threads/staticthreads.exp: Likewise.
4268 * lib/future.exp: Likewise.
4269 * lib/gdb.exp: Likewise.
4270 * gdb.base/so-indr-cl.c: Remove.
4271 * gdb.base/so-indr-cl.exp: Likewise.
4272 * gdb.base/solib.c: Likewise.
4273 * gdb.base/solib.exp: Likewise.
4274 * gdb.base/solib2.c: Likewise.
4275
4276 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4277
4278 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4279 * gdb.base/call-ar-st.exp: Likewise.
4280 * gdb.base/callfuncs.exp: Likewise.
4281 * gdb.base/condbreak.exp: Likewise.
4282 * gdb.base/constvars.exp: Likewise.
4283 * gdb.base/hbreak2.exp: Likewise.
4284 * gdb.base/langs.exp: Likewise.
4285 * gdb.base/list.exp: Likewise.
4286 * gdb.base/long_long.exp: Likewise.
4287 * gdb.base/ptype.exp: Likewise.
4288 * gdb.base/scope.exp: Likewise.
4289 * gdb.base/signals.exp: Likewise.
4290 * gdb.base/so-impl-ld.exp: Likewise.
4291 * gdb.base/varargs.exp: Likewise.
4292 * gdb.base/volatile.exp: Likewise.
4293 * gdb.base/whatis.exp: Likewise.
4294 * gdb.cp/cplusfuncs.exp: Likewise.
4295 * gdb.cp/inherit.exp: Likewise.
4296 * gdb.cp/local.exp: Likewise.
4297 * gdb.cp/member-ptr.exp: Likewise.
4298 * gdb.cp/method.exp: Likewise.
4299 * gdb.cp/overload.exp: Likewise.
4300 * gdb.cp/templates.exp: Likewise.
4301 * gdb.stabs/weird.exp: Likewise.
4302 * lib/compiler.c: Likewise.
4303 * lib/compiler.cc: Likewise.
4304 * lib/cp-support.exp: Likewise.
4305 * lib/gdb.exp: Likewise.
4306
4307 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
4308
4309 * configure.ac: Remove HP-UX case.
4310 * configure: Regenerate.
4311
4312 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
4313
4314 * lib/gdb.exp (gdb_compile): Add function doc.
4315
4316 2015-12-17 Pedro Alves <palves@redhat.com>
4317
4318 PR threads/19354
4319 * gdb.multi/info-threads.exp: New file.
4320
4321 2015-12-15 Yao Qi <yao.qi@linaro.org>
4322
4323 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
4324 is aarch64*-*-*.
4325
4326 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4327
4328 * gdb.base/history-duplicates.exp: Skip if no readline support.
4329
4330 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4331
4332 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
4333
4334 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4335
4336 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
4337
4338 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4339
4340 * gdb.base/completion.exp: Skip tests that interrupt GDB with
4341 ctrl-C if nointerrupts target property is set.
4342 * gdb.base/double-prompt-target-event-error.exp: Likewise.
4343 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
4344 * gdb.base/paginate-bg-execution.exp: Likewise.
4345 * gdb.base/paginate-execution-startup.exp: Likewise.
4346 * gdb.base/random-signal.exp: Likewise.
4347 * gdb.base/range-stepping.exp: Likewise.
4348 * gdb.cp/annota2.exp: Likewise.
4349 * gdb.cp/annota3.exp: Likewise.
4350 * gdb.gdb/selftest.exp: Likewise.
4351 * gdb.threads/continue-pending-status.exp: Likewise.
4352 * gdb.threads/leader-exit.exp: Likewise.
4353 * gdb.threads/manythreads.exp: Likewise.
4354 * gdb.threads/pthreads.exp: Likewise.
4355 * gdb.threads/schedlock.exp: Likewise.
4356 * gdb.threads/sigthread.exp: Likewise.
4357
4358 2015-12-11 Don Breazeal <donb@codesourcery.com>
4359
4360 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
4361 remote.
4362 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
4363 * gdb.base/foll-exec.exp (main): Enable for target remote.
4364 * gdb.base/foll-fork.exp (main): Likewise.
4365 * gdb.base/foll-vfork.exp (main): Likewise.
4366 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
4367 (proc continue_to_exit_bp_loc): Use clean_restart.
4368 * gdb.base/pie-execl.exp (main): Disable for target remote.
4369 * gdb.base/watch-vfork.exp (main): Enable for target remote.
4370 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
4371 * gdb.threads/execl.exp (main): Likewise.
4372 * gdb.threads/fork-child-threads.exp (main): Likewise.
4373 * gdb.threads/fork-plus-threads.exp (main): Disable for target
4374 remote.
4375 * gdb.threads/fork-thread-pending.exp (main): Enable for target
4376 remote.
4377 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
4378 pid.tid style ptids, instead of just tid.
4379 * gdb.threads/thread-execl.exp (main): Enable for target remote.
4380 * gdb.threads/watchpoint-fork.exp (main): Likewise.
4381 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
4382 ptids, instead of just tid.
4383
4384 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4385
4386 * gdb.base/list.exp (test_list_forward): Add end of file error
4387 test.
4388 (test_repeat_list_command): Add end of file error test.
4389 (test_list_backwards): Add beginning of file error test.
4390
4391 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4392
4393 * gdb.base/list.exp (test_list_invalid_args): New function,
4394 defined, and called.
4395
4396 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4397
4398 * gdb.base/list.exp (test_list): Make test names unique.
4399
4400 2015-12-11 Yao Qi <yao.qi@linaro.org>
4401
4402 * gdb.base/coremaker2.c: Remove.
4403
4404 2015-12-10 Pedro Alves <palves@redhat.com>
4405
4406 * gdb.multi/base.exp: Remove stale "spaces" references.
4407
4408 2015-12-10 Pedro Alves <palves@redhat.com>
4409
4410 * gdb.multi/base.exp: Don't use nowarnings.
4411 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
4412 * gdb.multi/hangout.c: Include stdio.h.
4413 * gdb.multi/hello.c: Include stdlib.h.
4414 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
4415 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
4416 * gdb.multi/multi-arch.exp: Don't use nowarnings.
4417
4418 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
4419
4420 * gdb.dwarf2/dw2-ranges-base.c: New file.
4421 * gdb.dwarf2/dw2-ranges-base.exp: New file.
4422 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
4423 support additional line table, and debug ranges generation.
4424 (Dwarf::ranges): New function, generate .debug_ranges.
4425 (Dwarf::lines): Support generating simple line table programs.
4426 (Dwarf::assemble): Initialise new namespace variables.
4427
4428 2015-12-09 Kevin Buettner <kevinb@redhat.com>
4429
4430 * gdb.base/async.exp (proc test_background): Add case for
4431 asynchronous execution not supported.
4432
4433 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
4434
4435 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
4436 format and change test names to make them unique.
4437
4438 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
4439 Pedro Alves <pedro@redhat.com>
4440
4441 PR gdb/18702
4442 Add checking of floatformats setup on x86_64 hosts.
4443 * gdb.arch/i386-float.S (main): Load bigval and smallval.
4444 (smallval, bigval): New labels/constants.
4445 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
4446 float" after loading bigval and smallval.
4447
4448 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
4449
4450 * gdb.ada/fun_overload_menu.exp: New testcase.
4451 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
4452
4453 2015-12-04 Josh Stone <jistone@redhat.com>
4454
4455 * gdb.base/catch-fork-static.exp: New.
4456
4457 2015-12-03 Yao Qi <yao.qi@linaro.org>
4458
4459 * gdb.base/sizeof.c: Don't include stdio.h and
4460 ../lib/unbuffer_output.c.
4461 (main): New variable 'size' and 'value'. Remove printf and
4462 gdb_unbuffer_output. Assign return value to size and value.
4463 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
4464 at the beginning.
4465 (check_sizeof): Check the result by printing variable 'size'.
4466 (check_valueof): Check the result by printing variable 'value'.
4467
4468 2015-12-01 Yao Qi <yao.qi@linaro.org>
4469
4470 * gdb.base/disp-step-syscall.exp: Define syscall instruction
4471 for aarch64*-*-linux* target.
4472
4473 2015-11-30 Pedro Alves <palves@redhat.com>
4474
4475 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
4476
4477 2015-11-30 Pedro Alves <palves@redhat.com>
4478
4479 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
4480 Handle non-stop mode vCont replies.
4481
4482 2015-11-30 Pedro Alves <palves@redhat.com>
4483
4484 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
4485 prepare_for_testing. Start gdb with "set non-stop on" appended to
4486 GDBFLAGS. Lax expected stop output.
4487
4488 2015-11-27 Yao Qi <yao.qi@linaro.org>
4489
4490 * gdb.arch/arm-neon.exp: New.
4491 * gdb.arch/arm-neon.c: New.
4492
4493 2015-11-27 Yao Qi <yao.qi@linaro.org>
4494
4495 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
4496
4497 2015-11-27 Yao Qi <yao.qi@linaro.org>
4498
4499 * gdb.cp/annota2.exp: Allow multiple occurrences of the
4500 frames-invalid annotation.
4501
4502 2015-11-27 Yao Qi <yao.qi@linaro.org>
4503
4504 * gdb.cp/annota2.exp: Use ${frames_invalid}.
4505
4506 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
4507
4508 * gdb.threads/names.exp: New file.
4509 * gdb.threads/names.c: New file.
4510 * README: Mention gdb,no_thread_names.
4511
4512 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
4513
4514 PR 19297
4515 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
4516 support" error.
4517
4518 2015-11-24 Pedro Alves <palves@redhat.com>
4519
4520 PR 17539
4521 * gdb.base/display.exp: Expect displays to be sorted in ascending
4522 order. Use multi_line.
4523 * gdb.base/solib-display.exp: Likewise.
4524
4525 2015-11-24 Pedro Alves <palves@redhat.com>
4526
4527 PR 17539
4528 * gdb.base/display.exp: Expect displays to be sorted in ascending
4529 order. Use multi_line.
4530 * gdb.base/solib-display.exp: Likewise.
4531
4532 2015-11-24 Pedro Alves <palves@redhat.com>
4533
4534 PR 17539
4535 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
4536 threads in ascending order.
4537 * gdb.base/foll-fork.exp: Likewise.
4538 * gdb.base/foll-vfork.exp: Likewise.
4539 * gdb.base/multi-forks.exp: Likewise.
4540 * gdb.mi/mi-nonstop.exp: Likewise.
4541 * gdb.mi/mi-nsintrall.exp: Likewise.
4542 * gdb.multi/base.exp: Likewise.
4543 * gdb.multi/multi-arch.exp: Likewise.
4544 * gdb.python/py-inferior.exp: Likewise.
4545 * gdb.threads/break-while-running.exp: Likewise.
4546 * gdb.threads/execl.exp: Likewise.
4547 * gdb.threads/gcore-thread.exp: Likewise.
4548 * gdb.threads/info-threads-cur-sal.exp: Likewise.
4549 * gdb.threads/kill.exp: Likewise.
4550 * gdb.threads/linux-dp.exp: Likewise.
4551 * gdb.threads/multiple-step-overs.exp: Likewise.
4552 * gdb.threads/next-bp-other-thread.exp: Likewise.
4553 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
4554 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
4555 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
4556 * gdb.threads/thread-find.exp: Likewise.
4557 * gdb.threads/tls.exp: Likewise.
4558 * lib/mi-support.exp (mi_reverse_list): Delete.
4559 (mi_check_thread_states): No longer reverse list.
4560
4561 2015-11-24 Pedro Alves <palves@redhat.com>
4562
4563 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
4564 use lowercase.
4565
4566 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4567
4568 * gdb.trace/actions.c: Include trace-common.h.
4569 (main): Add a location for a fast tracepoint.
4570 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
4571 the normal tracepoints.
4572 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
4573
4574 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4575
4576 * save-trace.exp: Factor out code to these...
4577 (gdb_save_tracepoints): New.
4578 (gdb_load_tracepoints): New.
4579 (do_save_load_test): New.
4580
4581 2015-11-23 Kevin Buettner <kevinb@redhat.com>
4582
4583 * gdb.base/asmlabel.exp: New test.
4584 * gdb.base/asmlabel.c: New test case.
4585
4586 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4587
4588 * gdb.base/wrong_frame_bt_full-main.c: New file.
4589 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
4590 * gdb.base/wrong_frame_bt_full.exp: New file.
4591
4592 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4593
4594 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
4595
4596 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4597
4598 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
4599 pstate register when comparing registers values in
4600 sparc64-*-linux-gnu targets to avoid spurious differences.
4601
4602 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4603
4604 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
4605
4606 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
4607
4608 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
4609 as type argument to gdb_compile.
4610 * gdb.base/nested-subp2.exp: Likewise.
4611 * gdb.base/nested-subp3.exp: Likewise.
4612
4613 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
4614
4615 * lib/dwarf.exp (_note): Fix left shift of negative value.
4616 * gdb.trace/trace-condition.exp: Likewise.
4617
4618 2015-11-13 Yao Qi <yao.qi@linaro.org>
4619
4620 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
4621 comments about d10v.
4622 (test_scalar_returns): Likewise.
4623 * gdb.base/d10v.ld: Remove.
4624 * gdb.base/overlays.exp: Remove the target triplet checking for
4625 d10v-*-*.
4626 * gdb.base/structs.exp (test_struct_returns): Remove the
4627 comments about d10v.
4628 (test_struct_calls): Likewise.
4629
4630 2015-11-13 Yao Qi <yao.qi@linaro.org>
4631
4632 * gdb.base/gnu_vector.exp: Check the return value by "p res".
4633 * gdb.base/gnu_vector.c: Don't include stdio.h.
4634 (main): Don't print res and call add_some_intvecs.
4635
4636 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
4637
4638 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
4639 macro.
4640 (func5): Removed.
4641 (func4): Use FAST_TRACEPOINT_LABEL.
4642 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
4643 macro.
4644 (func): Removed.
4645 (thread_function): Use FAST_TRACEPOINT_LABEL.
4646 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
4647 (func): Remove.
4648 (marker): Use FAST_TRACEPOINT_LABEL.
4649 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
4650 (pendfunc1): Remove.
4651 (pendfunc): Use FAST_TRACEPOINT_LABEL.
4652 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
4653 (foo): Remove.
4654 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
4655 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
4656 macro.
4657 (func): Remove.
4658 (marker): Use FAST_TRACEPOINT_LABEL.
4659 * gdb.trace/trace-common.h: New header.
4660 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
4661 macro.
4662 (func): Remove.
4663 (marker): Use FAST_TRACEPOINT_LABEL.
4664 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
4665 (func): Remove.
4666 (thread_function): Use FAST_TRACEPOINT_LABEL.
4667
4668 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
4669
4670 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
4671 in front.
4672 * gdb.trace/change-loc.exp: Use global pcreg definition.
4673 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
4674 * gdb.trace/entry-values.exp: Use global spreg definition, add $
4675 in front.
4676 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
4677 * gdb.trace/pending.exp: Likewise.
4678 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
4679 * gdb.trace/trace-break.exp: Likewise.
4680 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
4681 in front.
4682 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
4683 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
4684 in front.
4685 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
4686
4687 2015-11-09 Joel Brobecker <brobecker@adacore.com>
4688
4689 * gdb.ada/fin_fun_out: New testcase.
4690
4691 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4692
4693 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
4694 value associated with DW_AT_byte_size.
4695 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
4696 constants for DW_AT_byte_size, DW_AT_lower_bound, and
4697 DW_AT_upper_bound.
4698
4699 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4700
4701 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
4702 (gdb_target_symbol_prefix_flags): Define in terms of _asm
4703 version.
4704 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
4705 gdb.dwarf2/dw2-canonicalize-type.exp,
4706 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
4707 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
4708 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
4709 provided by gdb_target_symbol_prefix_flags_asm.
4710 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
4711 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
4712 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
4713 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
4714 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
4715 macros where needed). Use this macro for symbols which require
4716 the prefix provided by SYMBOL_PREFIX.
4717
4718 2015-11-05 Kevin Buettner <kevinb@redhat.com>
4719
4720 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
4721 New procs.
4722 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
4723 representing expressions, of more than one list element.
4724 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
4725 to prepend linker symbol prefix to f.
4726 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
4727 table_1 and table_2.
4728 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
4729 Likewise, for f and g.
4730 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
4731 for ptr.
4732 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
4733 for main.
4734 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
4735 table_1_ptr and table_2_ptr.
4736
4737 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4738 Joel Brobecker <brobecker@adacore.com>
4739
4740 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
4741
4742 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
4743
4744 * gdb.reverse/s390-mvcle.c: New test.
4745 * gdb.reverse/s390-mvcle.exp: New file.
4746 * lib/gdb.exp: Enable reverse tests on s390*-linux.
4747
4748 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4749
4750 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
4751
4752 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4753
4754 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
4755 reaching marker2.
4756 * gdb.reverse/getresuid-reverse.exp: Likewise.
4757 * gdb.reverse/pipe-reverse.exp: Likewise.
4758 * gdb.reverse/readv-reverse.exp: Likewise.
4759 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4760 * gdb.reverse/time-reverse.exp: Likewise.
4761 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
4762
4763 2015-10-30 Yao Qi <yao.qi@linaro.org>
4764
4765 * gdb.threads/wp-replication.c (watch_count_done): Remove.
4766 (empty_cycle): Remove.
4767 (main): Don't call empty_cycle. Don't use watch_count_done.
4768 * gdb.threads/wp-replication.exp: Don't set breakpoint on
4769 empty_cycle. Rewrite the code counting HW watchpoints.
4770
4771 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
4772
4773 * gdb.reverse/fstatat-reverse.c: New test.
4774 * gdb.reverse/fstatat-reverse.exp: New file.
4775 * gdb.reverse/getresuid-reverse.c: New test.
4776 * gdb.reverse/getresuid-reverse.exp: New file.
4777 * gdb.reverse/pipe-reverse.c: New test.
4778 * gdb.reverse/pipe-reverse.exp: New file.
4779 * gdb.reverse/readv-reverse.c: New test.
4780 * gdb.reverse/readv-reverse.exp: New file.
4781 * gdb.reverse/recvmsg-reverse.c: New test.
4782 * gdb.reverse/recvmsg-reverse.exp: New file.
4783 * gdb.reverse/time-reverse.c: New test.
4784 * gdb.reverse/time-reverse.exp: New file.
4785 * gdb.reverse/waitpid-reverse.c: New test.
4786 * gdb.reverse/waitpid-reverse.exp: New file.
4787
4788 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4789
4790 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
4791
4792 2015-10-26 Doug Evans <dje@google.com>
4793
4794 PR symtab/17391
4795 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
4796 * gdb.dwarf2/bad-regnum.c: New file.
4797 * gdb.dwarf2/bad-regnum.exp: New file.
4798
4799 2015-10-26 Doug Evans <dje@google.com>
4800
4801 PR python/18938
4802 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
4803 file.
4804
4805 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4806
4807 * gdb.compile/compile.exp (compile code globalvar): Update expectation
4808 for a change by "Mention language in compile error message".
4809
4810 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
4811
4812 PR python/18073
4813 * gdb.python/py-type.c (C::a_method): New.
4814 (C::a_const_method): New.
4815 (C::a_static_method): New.
4816 (a_function): New.
4817 * gdb.python/py-type.exp (test_fields): Test getting fields
4818 from function and method.
4819
4820 2015-10-21 Keven Boell <keven.boell@intel.com>
4821
4822 * gdb.fortran/vla-alloc-assoc.exp: New file.
4823 * gdb.fortran/vla-datatypes.exp: New file.
4824 * gdb.fortran/vla-datatypes.f90: New file.
4825 * gdb.fortran/vla-history.exp: New file.
4826 * gdb.fortran/vla-ptype-sub.exp: New file.
4827 * gdb.fortran/vla-ptype.exp: New file.
4828 * gdb.fortran/vla-sizeof.exp: New file.
4829 * gdb.fortran/vla-sub.f90: New file.
4830 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
4831 * gdb.fortran/vla-value-sub-finish.exp: New file.
4832 * gdb.fortran/vla-value-sub.exp: New file.
4833 * gdb.fortran/vla-value.exp: New file.
4834 * gdb.fortran/vla-ptr-info.exp: New file.
4835 * gdb.mi/mi-vla-fortran.exp: New file.
4836 * gdb.mi/vla.f90: New file.
4837
4838 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
4839
4840 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
4841 of hardwired timeout value.
4842
4843 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4844 Pedro Alves <palves@redhat.com>
4845
4846 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
4847 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
4848
4849 2015-10-19 Josh Stone <jistone@redhat.com>
4850
4851 * gdb.base/catch-syscall.c: Include <sched.h>.
4852 (unknown_syscall): New variable.
4853 (main): Trigger a vfork and an unknown syscall.
4854 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
4855 (unknown_syscall_number): Likewise.
4856 (check_call_to_syscall): Accept an optional syscall pattern.
4857 (check_return_from_syscall): Likewise.
4858 (check_continue): Likewise.
4859 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
4860 (test_catch_syscall_skipping_return): New test toggling off 'catch
4861 syscall' to step over the syscall return, then toggling back on.
4862 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
4863 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
4864 (do_syscall_tests): Call test_catch_syscall_without_args and
4865 test_catch_syscall_mid_vfork.
4866 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
4867 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
4868
4869 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
4870
4871 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
4872 print g_vE): Add new pass patterns.
4873 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
4874 print various symbol names for vptr fields.
4875
4876 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
4877
4878 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
4879 results.
4880
4881 2015-10-12 Yao Qi <yao.qi@linaro.org>
4882
4883 * gdb.arch/disp-step-insn-reloc.exp: New test case.
4884
4885 2015-10-12 Yao Qi <yao.qi@linaro.org>
4886
4887 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
4888 is aarch64*-*-linux*.
4889
4890 2015-10-12 Yao Qi <yao.qi@linaro.org>
4891
4892 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
4893 (can_relocate_bcond_true): ... it.
4894 (can_relocate_bcond_false): New function.
4895 (foo): Likewise.
4896 (can_relocate_bl): Likewise.
4897 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
4898 can_relocate_bl.
4899
4900 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
4901
4902 * gdb.base/nested-addr.c: New file.
4903 * gdb.base/nested-addr.exp: New testcase.
4904
4905 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
4906
4907 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
4908 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
4909 its output. Ignore the output of "record goto begin" and instead
4910 check that GDB is replaying.
4911
4912 2015-10-09 Pedro Alves <palves@redhat.com>
4913
4914 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
4915 (top level): Use it in the run with no args test.
4916
4917 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
4918
4919 * gdb.dlang/properties.exp: New file.
4920
4921 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
4922
4923 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
4924 whether or not address 0x1000 is mapped on the target.
4925
4926 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
4927
4928 * gdb.python/py-type.exp: Do not run tests if binaries fail to
4929 build.
4930
4931 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
4932
4933 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
4934 instruction-history test.
4935
4936 2015-09-28 Doug Evans <dje@google.com>
4937
4938 * gdb.base/gcore.c (array_func): Add reference to static_array.
4939
4940 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
4941
4942 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
4943 source line.
4944
4945 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
4946
4947 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
4948 short or char as base type.
4949
4950 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
4951
4952 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
4953 to allow any size enum.
4954
4955 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
4956
4957 * gdb.ada/array_ptr_renaming.exp: New testcase.
4958 * gdb.ada/array_ptr_renaming/foo.adb: New file.
4959 * gdb.ada/array_ptr_renaming/pack.ads: New file.
4960
4961 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4962
4963 * gdb.trace/ftrace-lock.c: New file.
4964 * gdb.trace/ftrace-lock.exp: New file.
4965
4966 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4967
4968 * gdb.arch/insn-reloc.c: New file.
4969 * gdb.arch/ftrace-insn-reloc.exp: New file.
4970
4971 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
4972
4973 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
4974 instruction.
4975 * gdb.trace/pendshr1.c (pendfunc): Likewise.
4976 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
4977 * gdb.trace/range-stepping.c: Likewise.
4978 * gdb.trace/trace-break.c: Likewise.
4979 * gdb.trace/trace-mt.c (thread_function): Likewise.
4980 * gdb.trace/ftrace.c (marker): Likewise.
4981 * gdb.trace/trace-condition.c (marker): Likewise.
4982 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
4983 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
4984 is_aarch64_target.
4985
4986 2015-09-18 Doug Evans <xdje42@gmail.com>
4987
4988 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
4989 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
4990
4991 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4992
4993 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
4994 the breakpoint.
4995
4996 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
4997
4998 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
4999 the pending breakpoint. Remove timeout override for "Run till
5000 MI pending breakpoint on pendfunc3 on thread 2" test.
5001
5002 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5003
5004 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
5005 filename pattern.
5006
5007 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5008
5009 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
5010 in breakpoint filename pattern.
5011
5012 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5013
5014 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
5015
5016 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5017
5018 * gdb.linespec/explicit.exp: Check for readline support for
5019 tab-completion tests. Fix obvious typo.
5020
5021 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5022
5023 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
5024 and replay.
5025
5026 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5027
5028 * gdb.btrace/non-stop.c: New.
5029 * gdb.btrace/non-stop.exp: New.
5030
5031 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
5032 Yao Qi <yao.qi@linaro.org>
5033
5034 * gdb.trace/trace-condition.c: New file.
5035 * gdb.trace/trace-condition.exp: New file.
5036
5037 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
5038
5039 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
5040 for testing bytecode compilation.
5041
5042 2015-09-16 Pedro Alves <palves@redhat.com>
5043 Sandra Loosemore <sandra@codesourcery.com>
5044
5045 * gdb.threads/non-stop-fair-events.c (timeout): New global.
5046 (SECONDS): Redefine.
5047 (main): Call pthread_kill and alarm early.
5048 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
5049 support.
5050 (test): If the target can't hardware step and doesn't support
5051 displaced stepping, increase the timeout.
5052
5053 2015-09-16 Pedro Alves <palves@redhat.com>
5054
5055 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
5056 (enable_debug): New procedures.
5057 (test): Use them. Bail out if waiting for threads fails.
5058 (top level): Bail out if a test fails.
5059
5060 2015-09-16 Yao Qi <yao.qi@linaro.org>
5061
5062 * gdb.asm/asm-source.exp: Set asm-arch for
5063 aarch64*-*-* target.
5064 * gdb.asm/aarch64.inc: New file.
5065
5066 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
5067
5068 * gdb.ada/array_of_variable_length.exp: New testcase.
5069 * gdb.ada/array_of_variable_length/foo.adb: New file.
5070 * gdb.ada/array_of_variable_length/pck.adb: New file.
5071 * gdb.ada/array_of_variable_length/pck.ads: New file.
5072
5073 2015-09-15 Doug Evans <dje@google.com>
5074
5075 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
5076 of function static local variable.
5077
5078 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5079
5080 * gdb.threads/tls-so_extern.exp: New test file.
5081 * gdb.threads/tls-so_extern.c: New test file.
5082 * gdb.threads/tls-so_extern_main.c: New test file.
5083
5084 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5085
5086 * gdb.opt/solib-intra-step-lib.c: New file.
5087 * gdb.opt/solib-intra-step-main.c: New file.
5088 * gdb.opt/solib-intra-step.exp: New file.
5089
5090 2015-09-15 Pedro Alves <palves@redhat.com>
5091
5092 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
5093 gdb_continue_to_breakpoint instead of gdb_test_multiple.
5094
5095 2015-09-14 Pedro Alves <palves@redhat.com>
5096
5097 * gdb.base/hook-stop-continue.c: Delete.
5098 * gdb.base/hook-stop-continue.exp: Delete.
5099 * gdb.base/hook-stop-frame.c: Delete.
5100 * gdb.base/hook-stop-frame.exp: Delete.
5101 * gdb.base/hook-stop.c: New file.
5102 * gdb.base/hook-stop.exp: New file.
5103
5104 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
5105
5106 * gdb.ada/access_to_packed_array.exp: New testcase.
5107 * gdb.ada/access_to_packed_array/foo.adb: New file.
5108 * gdb.ada/access_to_packed_array/pack.adb: New file.
5109 * gdb.ada/access_to_packed_array/pack.ads: New file.
5110
5111 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
5112
5113 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
5114 buffer size test.
5115
5116 2015-09-11 Don Breazeal <donb@codesourcery.com>
5117
5118 * gdb.base/foll-exec.c: Add copyright header. Fix
5119 formatting issues.
5120 * gdb.base/foll-exec.exp (zap_session): Delete proc.
5121 (do_exec_tests): Use clean_restart in place of zap_session,
5122 and for test initialization. Fix formatting issues. Use
5123 fail in place of perror.
5124 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
5125 an expect statement to match an expression with output from
5126 the program under debug.
5127 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
5128 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
5129 * gdb.threads/non-ldr-exc-2.exp: Likewise.
5130 * gdb.threads/non-ldr-exc-3.exp: Likewise.
5131 * gdb.threads/non-ldr-exc-4.exp: Likewise.
5132
5133 2015-09-09 Doug Evans <dje@google.com>
5134
5135 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
5136
5137 2015-09-09 Doug Evans <dje@google.com>
5138
5139 * gdb.base/pie-execl.exp: Fix result test of build_executable.
5140
5141 2015-09-09 Doug Evans <dje@google.com>
5142
5143 * gdb.base/savedregs.exp: Fix typo.
5144
5145 2015-09-09 Pedro Alves <palves@redhat.com>
5146
5147 * gdb.mi/mi-cli.exp: Add CLI finish tests.
5148
5149 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
5150
5151 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
5152 command actually switches threads. Give up on remaining
5153 tests if target fails to stop at breakpoint.
5154
5155 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
5156
5157 * gdb.ada/funcall_char.exp: New testcase.
5158 * gdb.ada/funcall_char/foo.adb: New file.
5159
5160 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
5161
5162 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
5163 expected outputs. Add two testcases for completing ambiguous
5164 functions.
5165 * gdb.ada/complete/aux_pck.adb: New file.
5166 * gdb.ada/complete/aux_pck.ads: New file.
5167 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
5168 Ambiguous_Func functions.
5169 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
5170 * gdb.ada/complete/pck.adb: Likewise.
5171
5172 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
5173
5174 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
5175 failures to run the test program under GDB.
5176
5177 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
5178
5179 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
5180 to C.
5181
5182 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
5183
5184 * gdb.base/run-after-attach.exp: New test file.
5185 * gdb.base/run-after-attach.c: New test file.
5186
5187 2015-08-26 Don Breazeal <donb@codesourcery.com>
5188
5189 * gdb.base/foll-exec-2.c: New test program.
5190 * gdb.base/foll-exec-2.exp: New test.
5191
5192 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
5193
5194 * gdb.base/nested-subp1.exp: New file.
5195 * gdb.base/nested-subp1.c: New file.
5196 * gdb.base/nested-subp2.exp: New file.
5197 * gdb.base/nested-subp2.c: New file.
5198 * gdb.base/nested-subp3.exp: New file.
5199 * gdb.base/nested-subp3.c: New file.
5200
5201 2015-08-24 Pedro Alves <palves@redhat.com>
5202
5203 * gdb.server/connect-without-multi-process.c: New file.
5204 * gdb.server/connect-without-multi-process.exp: New file.
5205
5206 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5207
5208 * gdb.opt/inline-markers.c: Make z int.
5209
5210 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5211
5212 * gdb.opt/inline-markers.c: Make z volatile.
5213
5214 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5215
5216 * gdb.opt/inline-bt.c: New volatile global z.
5217 * gdb.opt/inline-cmds.c: Likewise.
5218 * gdb.opt/inline-locals.c: Likewise.
5219 * gdb.opt/inline-markers.c: New extern global z.
5220 (marker): Use z.
5221 (inline_fn): Likewise.
5222
5223 2015-08-24 Pedro Alves <palves@redhat.com>
5224
5225 * config/m32r-stub.exp: Remove file.
5226 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5227 * gdb.base/call-rt-st.exp: Likewise.
5228 * gdb.base/call-strs.exp: Likewise.
5229 * gdb.base/default.exp: Remove references to h8300-*-hms and
5230 *-*-udi*.
5231 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5232
5233 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5234
5235 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5236 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5237 and "return" use KFAIL when GDB can not read/write the vector
5238 return value.
5239
5240 2015-08-21 Gary Benson <gbenson@redhat.com>
5241
5242 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5243
5244 2015-08-20 Pedro Alves <palves@redhat.com>
5245
5246 * gdb.server/solib-list.exp: No longer expect an interior stop in
5247 non-stop mode.
5248
5249 2015-08-20 Pedro Alves <palves@redhat.com>
5250
5251 * gdb.server/connect-stopped-target.c: New file.
5252 * gdb.server/connect-stopped-target.exp: New file.
5253
5254 2015-08-20 Pedro Alves <palves@redhat.com>
5255
5256 * gdb.dwarf2/comp-unit-lang.exp: New file.
5257 * gdb.dwarf2/comp-unit-lang.c: New file.
5258
5259 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5260
5261 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5262 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5263
5264 2015-08-19 Kevin Buettner <kevinb@redhat.com>
5265
5266 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5267 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5268
5269 2015-08-18 Doug Evans <dje@google.com>
5270 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5271
5272 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5273 skip_python_tests. New arg prompt_regexp.
5274 (skip_python_tests): New function.
5275 * lib/mi-support.exp (mi_skip_python_tests): New function.
5276 * gdb.python/py-mi-objfile-gdb.py: New file.
5277 * gdb.python/py-mi-objfile.c: New file.
5278 * gdb.python/py-mi-objfile.exp: New file.
5279
5280 2015-08-17 Keith Seitz <keiths@redhat.com>
5281
5282 * gdb.linespec/explicit.exp: Move strace test from here ...
5283 * gdb.trace/strace.exp: ... to here.
5284
5285 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5286
5287 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5288 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5289
5290 2015-08-14 Doug Evans <xdje42@gmail.com>
5291
5292 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5293 inferior before selecting a new file.
5294
5295 2015-08-14 Doug Evans <xdje42@gmail.com>
5296
5297 * gdb.mi/mi-disassemble.exp: Update.
5298 * gdb.base/disasm-optim.S: New file.
5299 * gdb.base/disasm-optim.c: New file.
5300 * gdb.base/disasm-optim.h: New file.
5301 * gdb.base/disasm-optim.exp: New file.
5302
5303 2015-08-14 Keith Seitz <keiths@redhat.com>
5304
5305 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
5306 "evaluated-by".
5307
5308 2015-08-13 Joel Brobecker <brobecker@adacore.com>
5309
5310 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
5311
5312 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
5313
5314 * gdb.ada/fun_renaming.exp: New testcase.
5315 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
5316 * gdb.ada/fun_renaming/pack.adb: New file.
5317 * gdb.ada/fun_renaming/pack.ads: New file.
5318
5319 2015-08-12 Keith Seitz <keiths@redhat.com>
5320
5321 * gdb.base/dso2dso.exp: Pass basename of source file in call to
5322 gdb_get_line_number.
5323
5324 2015-08-12 Joel Brobecker <brobecker@adacore.com>
5325
5326 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
5327 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
5328 gdb.base/dso2dso.exp: New files.
5329
5330 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
5331 Pedro Alves <palves@redhat.com>
5332 Keith Seitz <keiths@redhat.com>
5333
5334 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
5335 GDBFLAGS.
5336
5337 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5338
5339 * gdb.base/gdbhistsize-history.exp
5340 (test_histsize_history_setting): Use save_vars.
5341 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5342 Use save_vars.
5343 (test_no_truncation_of_unlimited_history_file): Use save_vars.
5344 * gdb.base/readline.exp: Use save_vars.
5345
5346 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5347
5348 * lib/gdb.exp (save_vars): New proc.
5349
5350 2015-08-11 Keith Seitz <keiths@redhat.com>
5351
5352 * gdb.base/help.exp: Update help_breakpoint_text.
5353
5354 2015-08-11 Keith Seitz <keiths@redhat.com>
5355
5356 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
5357 (at toplevel): Call test_explicit_breakpoints.
5358 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
5359 breakpoints.
5360 * lib/mi-support.exp (mi_make_breakpoint): Add support for
5361 breakpoint conditions, "-cond".
5362
5363 2015-08-11 Keith Seitz <keiths@redhat.com>
5364
5365 * gdb.linespec/3explicit.c: New file.
5366 * gdb.linespec/cpexplicit.cc: New file.
5367 * gdb.linespec/cpexplicit.exp: New file.
5368 * gdb.linespec/explicit.c: New file.
5369 * gdb.linespec/explicit.exp: New file.
5370 * gdb.linespec/explicit2.c: New file.
5371 * gdb.linespec/ls-errs.exp: Add explicit location tests.
5372 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
5373 before using in the matching pattern.
5374 Clarify that `prefix' is a regular expression.
5375
5376 2015-08-11 Keith Seitz <keiths@redhat.com>
5377
5378 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
5379 test.
5380 Add tests for missing ",FMT" and ",".
5381
5382 2015-08-10 Doug Evans <dje@google.com>
5383 Keith Seitz <keiths@redhat.com>
5384
5385 PR gdb/17960
5386 * gdb.base/completion.exp: Add location completer tests.
5387
5388 2015-08-07 Pedro Alves <palves@redhat.com>
5389
5390 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
5391 tests here.
5392 (top level): Run do_test with and without displaced stepping.
5393
5394 2015-08-07 Pedro Alves <palves@redhat.com>
5395
5396 * gdb.base/valgrind-disp-step.c: New file.
5397 * gdb.base/valgrind-disp-step.exp: New file.
5398
5399 2015-08-07 Pedro Alves <palves@redhat.com>
5400
5401 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
5402 Delete function.
5403 (main): Add alarm. Run an infinite loop instead of calling
5404 wait_threads.
5405 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
5406 comment.
5407 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
5408 Delete function.
5409 (main): Add alarm. Run an infinite loop instead of calling
5410 wait_threads.
5411 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
5412 comment.
5413
5414 2015-08-07 Pedro Alves <palves@redhat.com>
5415
5416 * gdb.base/checkpoint-ns.exp: New file.
5417 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
5418 standard_testfile.
5419
5420 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
5421
5422 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
5423 * gdb.btrace/instruction_history.exp: Update.
5424 * gdb.btrace/tsx.exp: New.
5425 * gdb.btrace/tsx.c: New.
5426
5427 2015-08-06 Pedro Alves <palves@redhat.com>
5428
5429 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
5430 increase timeout.
5431 * gdb.reverse/until-precsave.exp: Bump timeouts.
5432
5433 2015-08-06 Pedro Alves <palves@redhat.com>
5434
5435 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
5436
5437 2015-08-06 Pedro Alves <palves@redhat.com>
5438
5439 PR gdb/18749
5440 * gdb.threads/process-dies-while-handling-bp.c: New file.
5441 * gdb.threads/process-dies-while-handling-bp.exp: New file.
5442
5443 2015-08-06 Pedro Alves <palves@redhat.com>
5444
5445 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
5446 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
5447
5448 2015-08-05 Pedro Alves <palves@redhat.com>
5449
5450 * gdb.threads/next-while-other-thread-longjmps.c: New file.
5451 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
5452
5453 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
5454
5455 * gdb.base/bp-permanent.exp: Report test as unsupported if
5456 the target cannot stop at the permanent breakpoint.
5457
5458 2015-08-03 Doug Evans <dje@google.com>
5459
5460 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
5461 10000.
5462
5463 2015-08-03 Doug Evans <dje@google.com>
5464
5465 * Makefile.in (workers/%.worker, build-perf): New rule.
5466 (GDB_PERFTEST_MODE): New variable.
5467 (check-perf): Use it.
5468 (clean): Clean up gdb.perf parallel build subdirs.
5469 * lib/build-piece.exp: New file.
5470 * lib/gdb.exp (make_gdb_parallel_path): New function
5471 (standard_output_file, standard_temp_file): Call it.
5472 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5473 of $GDB_PARALLEL.
5474 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
5475
5476 2015-08-03 Doug Evans <dje@google.com>
5477
5478 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
5479 (LOG_FILE_NAME): New global.
5480 (TextReporter.__init__): Initialize self.txt_sum.
5481 (TextReporter.report): Add support for multiple data-points.
5482 Move report to perftest.sum, put raw data in perftest.log.
5483 (TextReporter.start): Open sum and log files.
5484 (TextReporter.end): Close sum and log files.
5485 * gdb.perf/lib/perftest/testresult.py
5486 (SingleStatisticTestResult.record): Handle multiple data-points.
5487
5488 2015-07-31 Pedro Alves <palves@redhat.com>
5489
5490 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
5491 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5492 kill_wait_spawned_process instead of explicit "kill -9".
5493 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
5494 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5495 kill_wait_spawned_process.
5496 * gdb.base/attach-twice.exp: Likewise.
5497 * gdb.base/attach.exp: Likewise.
5498 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
5499 gdb_test_multiple.
5500 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
5501 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5502 kill_wait_spawned_process.
5503 * gdb.base/valgrind-infcall.exp: Likewise.
5504 * gdb.multi/multi-attach.exp: Likewise.
5505 * gdb.python/py-prompt.exp: Likewise.
5506 * gdb.python/py-sync-interp.exp: Likewise.
5507 * gdb.server/ext-attach.exp: Likewise.
5508 * gdb.threads/attach-into-signal.exp (corefunc): Use
5509 spawn_wait_for_attach, spawn_id_get_pid and
5510 kill_wait_spawned_process.
5511 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
5512 spawn_wait_for_attach returning a spawn id instead of a pid. Use
5513 spawn_id_get_pid and kill_wait_spawned_process.
5514 * gdb.threads/attach-stopped.exp (corefunc): Use
5515 spawn_wait_for_attach, spawn_id_get_pid and
5516 kill_wait_spawned_process.
5517 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
5518 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5519 kill_wait_spawned_process instead of explicit "kill -9".
5520 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
5521 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
5522 (spawn_wait_for_attach): Use spawn instead of exec to spawn
5523 processes. Don't map cygwin/windows pids here. Now returns a
5524 spawn id list.
5525
5526 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5527
5528 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
5529 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
5530 correct patch.
5531
5532 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5533
5534 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
5535
5536 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5537
5538 Reapply:
5539 2014-05-21 Mark Wielaard <mjw@redhat.com>
5540
5541 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5542
5543 2015-07-30 Pedro Alves <palves@redhat.com>
5544
5545 * linux-low.c (handle_extended_wait): Set the child's last
5546 reported status to TARGET_WAITKIND_STOPPED.
5547
5548 2015-07-30 Pedro Alves <palves@redhat.com>
5549
5550 PR threads/18600
5551 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
5552 only shows inferior 1.
5553
5554 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
5555 Pedro Alves <palves@redhat.com>
5556
5557 PR threads/18600
5558 * gdb.threads/fork-plus-threads.c: New file.
5559 * gdb.threads/fork-plus-threads.exp: New file.
5560
5561 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5562
5563 * gdb.base/batch-preserve-term-settings.exp
5564 (test_terminal_settings_preserved_after_cli_exit): Use
5565 send_quit_command.
5566
5567 2015-07-29 Pedro Alves <palves@redhat.com>
5568 Don Breazeal <donb@codesourcery.com>
5569
5570 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
5571 output from both inferior_spawn_id and gdb_spawn_id.
5572
5573 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5574
5575 * gdb.threads/attach-into-signal.exp (corefunc): Use
5576 with_test_prefix on nested loops, uniquefying the test messages.
5577
5578 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5579
5580 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
5581 commit.
5582
5583 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5584
5585 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
5586 New proc.
5587 (test_terminal_settings_preserved_after_sigterm): New test.
5588
5589 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5590
5591 * gdb.base/batch-preserve-term-settings.exp
5592 (test_terminal_settings_preserved_after_cli_exit): New test.
5593
5594 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5595
5596 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
5597 manipulation of saved_gdbflags.
5598 (test_terminal_settings_preserved): Remove global declaration of
5599 the unused variable pagination_prompt. Remove manipulation of
5600 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
5601 GDBFLAGS.
5602
5603 2015-07-29 Pedro Alves <palves@redhat.com>
5604
5605 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
5606
5607 2015-07-29 Pedro Alves <palves@redhat.com>
5608
5609 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
5610 at the top.
5611
5612 2015-07-29 Pedro Alves <palves@redhat.com>
5613
5614 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
5615 (main): Call gdb_unbuffer_output.
5616 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
5617 (main): Call gdb_unbuffer_output.
5618 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
5619 (main): Call gdb_unbuffer_output.
5620 * gdb.base/call-strs.exp: Adjust to step over the
5621 gdb_unbuffer_output call.
5622 * gdb.base/catch-gdb-caused-signals.c: Include
5623 "../lib/unbuffer_output.c".
5624 (main): Call gdb_unbuffer_output.
5625 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
5626 (main): Call gdb_unbuffer_output.
5627 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
5628 (main): Call gdb_unbuffer_output.
5629 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
5630 (main): Call gdb_unbuffer_output.
5631 * gdb.base/shlib-call.exp: Adjust to step over the
5632 gdb_unbuffer_output call.
5633 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
5634 (main): Call gdb_unbuffer_output.
5635 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
5636 (main): Call gdb_unbuffer_output.
5637 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
5638 (main): Rename to ...
5639 (test): ... this.
5640 (main): Reimplement.
5641 * gdb.base/varargs.exp: Run to test instead of to main.
5642 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5643 (main): Call gdb_unbuffer_output.
5644
5645 2015-07-29 Pedro Alves <palves@redhat.com>
5646
5647 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
5648 factore out from mi_continue_dprintf. For call-style dprintfs,
5649 expect dprintf output out of $inferior_spawn_id.
5650 (mi_continue_dprintf): Use mi_expect_dprintf.
5651 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5652 (main): Call gdb_unbuffer_output.
5653
5654 2015-07-29 Pedro Alves <palves@redhat.com>
5655
5656 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
5657 (default_mi_gdb_start): Set inferior_spawn_id instead of
5658 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
5659 gdb_spawn_id.
5660 (mi_gdb_test): Always expect inferior output from both
5661 $inferior_spawn_id and $gdb_spawn_id.
5662
5663 2015-07-29 Pedro Alves <palves@redhat.com>
5664
5665 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
5666 send_inferior and $inferior_spawn_id.
5667
5668 2015-07-29 Pedro Alves <palves@redhat.com>
5669
5670 * gdb.gdb/complaints.exp (test_initial_complaints)
5671 (test_serial_complaints, test_short_complaints): Use
5672 gdb_test_stdio.
5673 (test_empty_complaint): Handle $inferior_spawn_id !=
5674 $gdb_spawn_id.
5675
5676 2015-07-29 Pedro Alves <palves@redhat.com>
5677
5678 * gdb.base/varargs.exp: Use gdb_test_stdio.
5679
5680 2015-07-29 Pedro Alves <palves@redhat.com>
5681
5682 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
5683
5684 2015-07-29 Pedro Alves <palves@redhat.com>
5685
5686 * gdb.base/ending-run.exp: Use gdb_test_stdio.
5687
5688 2015-07-29 Pedro Alves <palves@redhat.com>
5689
5690 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
5691 parameter into two new parameters, "inf_result" and "gdb_result".
5692 Expect inferior output and gdb output from $inferior_spawn_id and
5693 $gdb_spawn_id, respectively. Adjust all callers.
5694
5695 2015-07-29 Pedro Alves <palves@redhat.com>
5696
5697 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
5698 of gdb_test_sequence.
5699
5700 2015-07-29 Pedro Alves <palves@redhat.com>
5701
5702 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
5703 (saw_spurious_output): Expect inferior output from
5704 $inferior_spawn_id. Use gdb_test_stdio.
5705
5706 2015-07-29 Pedro Alves <palves@redhat.com>
5707
5708 * gdb.base/dprintf.exp: Use standard_testfile. Change
5709 prepare_for_testing call.
5710 (srcfile): Don't set.
5711 (restart): New procedure.
5712 (test_dprintf): New procecure, use to continue over dprintfs.
5713 (test_call, test_agent): New procedures, tests moved here.
5714 Restart gdb and recreate dprintfs. Adjust expected output.
5715
5716 2015-07-29 Pedro Alves <palves@redhat.com>
5717
5718 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
5719
5720 2015-07-29 Pedro Alves <palves@redhat.com>
5721
5722 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
5723
5724 2015-07-29 Pedro Alves <palves@redhat.com>
5725
5726 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
5727 gdb_test_stdio.
5728
5729 2015-07-29 Pedro Alves <palves@redhat.com>
5730
5731 * lib/gdb.exp (gdb_test_stdio): New procedure.
5732
5733 2015-07-29 Pedro Alves <palves@redhat.com>
5734
5735 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
5736
5737 2015-07-29 Pedro Alves <palves@redhat.com>
5738
5739 * gdb.base/call-signal-resume.exp: Remove check for
5740 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
5741 * gdb.base/unwindonsignal.exp: Likewise.
5742 * gdb.base/call-signals.c (gen_signal): Remove printf call.
5743 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
5744
5745 2015-07-29 Pedro Alves <palves@redhat.com>
5746
5747 * gdb.base/siginfo-addr.c (pass): New function.
5748 (handler): Call it iff si_addr is correct.
5749 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
5750 Set a breakpoint at "pass" and continue to it.
5751
5752 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
5753
5754 * gdb.python/py-objfile.exp: Make some tests have unique names.
5755 * gdb.python/py-pp-registration.exp: Likewise.
5756
5757 2015-07-28 Pedro Alves <palves@redhat.com>
5758
5759 * gdb.server/server-exec-info.exp: Issue a "disconnect".
5760
5761 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5762
5763 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
5764
5765 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5766
5767 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
5768
5769 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
5770
5771 * gdb.base/gdb-sigterm-2.exp: New test.
5772
5773 2015-07-25 Doug Evans <xdje42@gmail.com>
5774
5775 Revert:
5776 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5777 (workers/%.worker, build-perf): New rule.
5778 (GDB_PERFTEST_MODE): New variable.
5779 (check-perf): Use it.
5780 (clean): Clean up gdb.perf parallel build subdirs.
5781 * lib/build-piece.exp: New file.
5782 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5783 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5784 name.
5785 (standard_temp_file): Ditto.
5786 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5787 of $GDB_PARALLEL.
5788
5789 2015-07-24 Doug Evans <dje@google.com>
5790
5791 * gdb.perf/lib/perftest/utils.py: New file.
5792 * gdb.perf/gm-hello.cc: New file.
5793 * gdb.perf/gm-pervasive-typedef.cc: New file.
5794 * gdb.perf/gm-pervasive-typedef.h: New file.
5795 * gdb.perf/gm-std.cc: New file.
5796 * gdb.perf/gm-std.h: New file.
5797 * gdb.perf/gm-use-cerr.cc: New file.
5798 * gdb.perf/gm-utils.h: New file.
5799 * gdb.perf/gmonster-null-lookup.py: New file.
5800 * gdb.perf/gmonster-pervasive-typedef.py: New file.
5801 * gdb.perf/gmonster-print-cerr.py: New file.
5802 * gdb.perf/gmonster-ptype-string.py: New file.
5803 * gdb.perf/gmonster-runto-main.py: New file.
5804 * gdb.perf/gmonster-select-file.py: New file.
5805 * gdb.perf/gmonster1-null-lookup.exp: New file.
5806 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
5807 * gdb.perf/gmonster1-print-cerr.exp: New file.
5808 * gdb.perf/gmonster1-ptype-string.exp: New file.
5809 * gdb.perf/gmonster1-runto-main.exp: New file.
5810 * gdb.perf/gmonster1-select-file.exp: New file.
5811 * gdb.perf/gmonster1.cc: New file.
5812 * gdb.perf/gmonster1.exp: New file.
5813 * gdb.perf/gmonster2-null-lookup.exp: New file.
5814 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
5815 * gdb.perf/gmonster2-print-cerr.exp: New file.
5816 * gdb.perf/gmonster2-ptype-string.exp: New file.
5817 * gdb.perf/gmonster2-runto-main.exp: New file.
5818 * gdb.perf/gmonster2-select-file.exp: New file.
5819 * gdb.perf/gmonster2.cc: New file.
5820 * gdb.perf/gmonster2.exp: New file.
5821
5822 2015-07-24 Doug Evans <dje@google.com>
5823
5824 * gdb.perf/README: New file.
5825 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
5826 * lib/gen-perf-test.exp: New file.
5827
5828 2015-07-24 Doug Evans <dje@google.com>
5829
5830 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
5831 (PerfTest::startup): New function.
5832 (PerfTest::run): Return result of calling body.
5833 (PerfTest::assemble): Rewrite.
5834 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
5835 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
5836 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
5837 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
5838 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
5839
5840 2015-07-24 Doug Evans <dje@google.com>
5841
5842 * lib/gdb.exp (clean_restart): Make executable optional.
5843
5844 2015-07-24 Doug Evans <dje@google.com>
5845
5846 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
5847 compiler_info references.
5848 * gdb.cp/temargs.exp: Ditto.
5849 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
5850 (get_compiler_info): Early exit if already computed. Set compiler_info
5851 to "unknown" if there was a problem.
5852 (test_compiler_info): Add function comment. Call get_compiler_info.
5853
5854 2015-07-24 Doug Evans <dje@google.com>
5855
5856 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5857 (workers/%.worker, build-perf): New rule.
5858 (GDB_PERFTEST_MODE): New variable.
5859 (check-perf): Use it.
5860 (clean): Clean up gdb.perf parallel build subdirs.
5861 * lib/build-piece.exp: New file.
5862 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5863 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5864 name.
5865 (standard_temp_file): Ditto.
5866 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5867 of $GDB_PARALLEL.
5868
5869 2015-07-24 Doug Evans <dje@google.com>
5870
5871 * lib/future.exp (gdb_default_target_compile): New option
5872 "early_flags".
5873 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
5874 --as-needed.
5875
5876 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
5877
5878 * gdb.base/catch-syscall.exp: Call gdb_exit before
5879 gdb_skip_xml_test.
5880
5881 2015-07-24 Pedro Alves <palves@redhat.com>
5882
5883 * gdb.python/py-events.exp: Accept output between the stop event
5884 and the prompt.
5885 * gdb.python/py-evsignal.exp: Likewise.
5886 * gdb.python/py-evthreads.exp: Likewise.
5887
5888 2015-07-24 Pedro Alves <palves@redhat.com>
5889
5890 PR gdb/18717
5891 * gdb.threads/non-ldr-exit.c: New file.
5892 * gdb.threads/non-ldr-exit.exp: New file.
5893
5894 2015-07-24 Yao Qi <yao.qi@linaro.org>
5895
5896 * gdb.server/ext-wrapper.exp: Test --wrapper option when
5897 restarting process.
5898
5899 2015-07-24 Yao Qi <yao.qi@linaro.org>
5900
5901 * gdb.server/ext-restart.exp: New file.
5902
5903 2015-07-24 Yao Qi <yao.qi@linaro.org>
5904
5905 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
5906 argument options.
5907 * gdb.server/ext-wrapper.exp: New file.
5908
5909 2015-07-23 Doug Evans <dje@google.com>
5910
5911 * gdb.dwarf2/dw2-dummy-cu.S: New file.
5912 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
5913
5914 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
5915
5916 * gdb.ada/var_arr_typedef.exp: New testcase.
5917 * gdb.ada/var_arr_typedef/pack.adb: New file.
5918 * gdb.ada/var_arr_typedef/pack.ads: New file.
5919 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
5920
5921 2015-07-20 Joel Brobecker <brobecker@adacore.com>
5922
5923 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
5924
5925 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5926
5927 * gdb.arch/i386-biarch-core.exp: Replace istarget
5928 by "complete set gnutarget". Remove expectation for the "core-file"
5929 command.
5930
5931 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5932
5933 Revert the previous commit:
5934 Tests for validate symbol file using build-id.
5935
5936 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
5937
5938 Tests for validate symbol file using build-id.
5939 * gdb.base/solib-mismatch-lib.c: New file.
5940 * gdb.base/solib-mismatch-libmod.c: New file.
5941 * gdb.base/solib-mismatch.c: New file.
5942 * gdb.base/solib-mismatch.exp: New file.
5943
5944 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
5945
5946 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
5947 nios2-*-linux*.
5948 * gdb.base/sigbpt.exp (stepi_out): Likewise.
5949 * gdb.base/siginfo.exp: Likewise.
5950 * gdb.base/sigstep.exp (advance, advancei): Likewise.
5951
5952 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
5953
5954 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
5955 Move it to ...
5956 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
5957 ... here.
5958 * gdb.trace/range-stepping.exp: Check that the target supports
5959 range stepping.
5960
5961 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5962
5963 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
5964
5965 2015-07-14 Pedro Alves <palves@redhat.com>
5966
5967 * gdb.base/killed-outside.exp: New file.
5968 * gdb.base/killed-outside.c: New file.
5969
5970 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5971
5972 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
5973 (n at main): New.
5974 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
5975
5976 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
5977
5978 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
5979 infcall tests instead of setting up for KFAIL.
5980
5981 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
5982
5983 * gdb.btrace/record_goto-step.exp: New.
5984
5985 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5986
5987 PR compile/18484
5988 * gdb.compile/compile.c (struct struct_type): Add volatile to
5989 selffield's type.
5990 * gdb.compile/compile.exp
5991 (compile code struct_object.selffield = &struct_object): Skip further
5992 struct_object tests if this one xfails.
5993
5994 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
5995
5996 PR exp/18617
5997 * gdb.trace/ax.exp: Add test.
5998
5999 2015-07-07 Yao Qi <yao.qi@linaro.org>
6000
6001 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
6002 instead of istarget "aarch64*-*-*".
6003 * gdb.arch/aarch64-fp.exp: Likewise.
6004 * gdb.base/float.exp: Likewise.
6005 * gdb.reverse/aarch64.exp: Likewise.
6006 * lib/gdb.exp (is_aarch64_target): New proc.
6007
6008 2015-07-07 Yao Qi <yao.qi@linaro.org>
6009
6010 * lib/gdb.exp (is_aarch32_target): New proc.
6011 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
6012 instead of "istarget "arm*-*-*"".
6013 * gdb.arch/arm-disp-step.exp: Likewise.
6014 * gdb.arch/thumb-bx-pc.exp: Likewise.
6015 * gdb.arch/thumb-prologue.exp: Likewise.
6016 * gdb.arch/thumb-singlestep.exp: Likewise.
6017 * gdb.base/disp-step-syscall.exp: Likewise.
6018 * gdb.base/float.exp: Likewise.
6019
6020 2015-07-07 Yao Qi <yao.qi@linaro.org>
6021
6022 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
6023 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
6024
6025 2015-07-07 Yao Qi <yao.qi@linaro.org>
6026
6027 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
6028 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
6029 if it exists.
6030 * gdb.multi/multi-arch.exp: Likewise.
6031
6032 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
6033
6034 * gdb.python/py-lazy-string.exp: Add missing parentheses to
6035 print.
6036
6037 2015-07-07 Yao Qi <yao.qi@linaro.org>
6038
6039 * gdb.arch/thumb-singlestep.exp: Do one more single step.
6040
6041 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
6042
6043 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
6044 '[' and ']' characters.
6045
6046 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
6047
6048 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6049
6050 2015-06-29 Pedro Alves <palves@redhat.com>
6051
6052 PR threads/18127
6053 * gdb.threads/hand-call-new-thread.c: New file.
6054 * gdb.threads/hand-call-new-thread.c: New file.
6055
6056 2015-06-26 Keith Seitz <keiths@redhat.com>
6057 Doug Evans <dje@google.com>
6058
6059 PR 16253
6060 * gdb.cp/var-tag-2.cc: New file.
6061 * gdb.cp/var-tag-3.cc: New file.
6062 * gdb.cp/var-tag-4.cc: New file.
6063 * gdb.cp/var-tag.cc: New file.
6064 * gdb.cp/var-tag.exp: New file.
6065
6066 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6067
6068 * gdb.base/history-duplicates.exp: New test.
6069
6070 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6071
6072 * gdb.base/completion.exp: Test the completion of the "focus"
6073 command.
6074
6075 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6076
6077 * gdb.arch/amd64-prologue-skip.S: New file.
6078 * gdb.arch/amd64-prologue-skip.exp: New file.
6079
6080 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
6081
6082 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
6083 is_address_zero_readable check.
6084
6085 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
6086
6087 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
6088 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
6089
6090 2015-06-24 Yao Qi <yao.qi@linaro.org>
6091
6092 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
6093 linux targets.
6094
6095 2015-06-24 Yao Qi <yao.qi@linaro.org>
6096
6097 * lib/gdb.exp (supports_get_siginfo_type): New proc.
6098 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
6099 * gdb.base/siginfo-thread.exp: Likewise.
6100
6101 2015-06-22 Yao Qi <yao.qi@linaro.org>
6102
6103 * boards/remote-gdbserver-on-localhost.exp: Add comments.
6104
6105 2015-06-22 Yao Qi <yao.qi@linaro.org>
6106
6107 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
6108 aarch64*-*-*.
6109 (skip_hw_watchpoint_tests): Likewise.
6110
6111 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
6112
6113 * gdb.base/gdbinit-history.exp: Test the interaction between
6114 setting GDBHISTSIZE and setting the history size via .gdbinit.
6115
6116 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6117
6118 PR gdb/16999
6119 * gdb.base/gdbhistsize-history.exp: New test.
6120
6121 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6122
6123 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
6124 with GDBHISTSIZE.
6125 * gdb.base/readline.exp: Likewise.
6126
6127 2015-06-17 Yao Qi <yao.qi@linaro.org>
6128
6129 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
6130 line.
6131
6132 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6133
6134 * gdb.base/gdbinit-history.exp: Add test case to check that
6135 an unlimited history file does not get truncated on exit.
6136
6137 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6138
6139 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
6140 (VECTOR): New macro. Use it...
6141 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6142 ...for these typedefs.
6143 (int8, char1, int1, double1): New typedefs.
6144 (struct just_int2, struct two_int2): New structures.
6145 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
6146 (add_structvecs, add_singlevecs): New functions.
6147 (main): Call add_some_intvecs twice.
6148 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
6149 the compile and exit upon failure. Try compiling for the "native"
6150 architecture. Test inferior function calls with vector arguments
6151 and vector return value handling with "finish" and "return".
6152
6153 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
6154
6155 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
6156 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
6157 PE file.
6158 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
6159
6160 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6161
6162 PR breakpoints/16465
6163 * gdb.mi/mi-dprintf-pending.c: New file.
6164 * gdb.mi/mi-dprintf-pending.exp: New test.
6165 * gdb.mi/mi-dprintf-pendshr.c: New file.
6166
6167 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6168 Mircea Gherzan <mircea.gherzan@intel.com>
6169
6170 * gdb.arch/i386-mpx-map.c: New file.
6171 * gdb.arch/i386-mpx-map.exp: New File.
6172
6173 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6174
6175 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
6176 * gdb.arch/i386-mpx.exp: Indentation fixed.
6177
6178 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6179
6180 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
6181 function and improved indentation.
6182 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
6183 gdb_test_multiple. Added additional tests to skip the test.
6184
6185 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6186
6187 * gdb.arch/i386-avx512.c: Change path in include file.
6188 * gdb.arch/i386-avx512.exp: Change include dir path
6189 compilation flag.
6190 * gdb.arch/i386-mpx.c: Change path in include file.
6191 * gdb.arch/i386-mpx.exp: Change include dir path compilation
6192 flag.
6193
6194 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6195
6196 * gdb.compile/compile-print.exp (compile print *vararray@3)
6197 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
6198
6199 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6200
6201 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
6202 (do not keep jit in memory): ... this.
6203 (expect 5): Change it to ...
6204 (expect no 5): ... this.
6205
6206 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
6207
6208 PR gdb/15564
6209 * gdb.mi/mi-detach.exp: New file.
6210
6211 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6212
6213 PR symtab/18392
6214 * gdb.arch/amd64-tailcall-self.S: New file.
6215 * gdb.arch/amd64-tailcall-self.c: New file.
6216 * gdb.arch/amd64-tailcall-self.exp: New file.
6217
6218 2015-05-28 Don Breazeal <donb@codesourcery.com>
6219
6220 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6221 tests for remote targets by checking is_target_gdbserver.
6222
6223 2015-05-27 Doug Evans <dje@google.com>
6224
6225 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6226 * gdb.dwarf2/opaque-type-lookup.c: New file.
6227 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6228
6229 2015-05-26 Doug Evans <dje@google.com>
6230
6231 * gdb.cp/iostream.cc: New file.
6232 * gdb.cp/iostream.exp: New file.
6233
6234 2015-05-26 Doug Evans <dje@google.com>
6235
6236 * gdb.dwarf2/dw2-op-call.exp: Update.
6237 * gdb.dwarf2/dw4-sig-types.exp: Update.
6238 * gdb.dwarf2/implptr.exp: Update.
6239 * gdb.mi/mi-cmd-param-changed.exp: Update.
6240
6241 2015-05-26 Doug Evans <dje@google.com>
6242
6243 * gdb.python/py-lazy-string.c: New file.
6244 * gdb.python/py-lazy-string.exp: New file.
6245 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6246 (main): Update. Add estring3.
6247 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6248 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6249
6250 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6251 Yao Qi <yao.qi@linaro.org>
6252
6253 * gdb.reverse/aarch64.c: New.
6254 * gdb.reverse/aarch64.exp: New.
6255
6256 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6257
6258 * lib/gdb.exp (supports_process_record): Return true for
6259 aarch64*-linux*.
6260 (supports_reverse): Likewise.
6261
6262 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6263
6264 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6265 Use with_test_prefix.
6266
6267 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6268
6269 * gdb.base/completion.exp: Add test for completion of layout
6270 names.
6271
6272 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6273
6274 * lib/gdb.exp (skip_tui_tests): New proc.
6275 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6276
6277 2015-05-19 Pedro Alves <palves@redhat.com>
6278
6279 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6280 Save the whole env array instead of just HOME. Unset HISTSIZE in
6281 the environment while testing. Restore whole environment
6282 afterwards.
6283
6284 2015-05-16 Doug Evans <xdje42@gmail.com>
6285
6286 * gdb.guile/scm-ports.c: New file.
6287 * gdb.guile/scm-ports.exp: Add memory port tests.
6288
6289 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6290
6291 * gdb.compile/compile-print.c: New file.
6292 * gdb.compile/compile-print.exp: New file.
6293
6294 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6295
6296 * gdb.compile/compile-ops.exp: Cast param to void.
6297 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6298 (compile code struct_object.selffield = &struct_object): Add xfail.
6299
6300 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6301
6302 * gdb.ada/arr_enum_with_gap: New testcase.
6303
6304 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6305
6306 * gdb.ada/byte_packed_arr: New testcase.
6307
6308 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6309
6310 * gdb.ada/pckd_neg: New testcase.
6311
6312 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
6313
6314 PR gdb/17820
6315 * gdb.base/gdbinit-history.exp: New test.
6316 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
6317 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
6318
6319 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
6320
6321 * gdb.python/py-xmethods.cc: Enhance test case.
6322 * gdb.python/py-xmethods.exp: New tests.
6323 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
6324 function.
6325 (B_indexoper): Likewise.
6326 (global_dm_list) : Add new xmethod worker functions.
6327
6328 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
6329
6330 * gdb.base/coredump-filter.exp: Correctly unset
6331 "coredump_var_addr" array.
6332
6333 2015-05-08 Pedro Alves <palves@redhat.com>
6334
6335 * gdb.server/non-existing-program.exp: Unset spawn_id.
6336
6337 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
6338
6339 PR python/18291
6340 * gdb.python/py-xmethods.exp: Add tests.
6341
6342 2015-05-08 Yao Qi <yao.qi@linaro.org>
6343
6344 PR gdb/18208
6345 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
6346 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
6347 function set_coredump_filter, and remove remote_exec call.
6348 Remove argument ipid. Callers update.
6349 (top level): Don't get inferior's PID.
6350
6351 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
6352
6353 * gdb.base/watch_thread_num.exp: Skip test on targets without
6354 access watchpoints.
6355
6356 2015-05-06 Pedro Alves <palves@redhat.com>
6357
6358 PR server/18081
6359 * gdb.server/non-existing-program.exp: New file.
6360
6361 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6362
6363 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
6364
6365 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6366
6367 * gdb.ada/out_of_line_in_inlined: New testcase.
6368
6369 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6370
6371 * gdb.ada/var_rec_arr: New testcase.
6372
6373 2015-04-30 Yao Qi <yao.qi@linaro.org>
6374
6375 * gdb.base/break-idempotent.exp: If
6376 skip_hw_watchpoint_multi_tests returns true, skip the tests
6377 on "rwatch" and "awatch".
6378
6379 2015-04-30 Yao Qi <yao.qi@linaro.org>
6380
6381 * gdb.base/relativedebug.exp: Invoke gdb command
6382 "info sharedlibrary", and if libc.so doesn't have debug info,
6383 skip the test.
6384
6385 2015-04-29 Doug Evans <dje@google.com>
6386
6387 * gdb.python/py-xmethods.exp: Add ptype tests.
6388 * gdb.python/py-xmethods.py (E_method_char_worker): Add
6389 get_result_type method.
6390
6391 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6392
6393 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
6394 the target does not support hardware watchpoints.
6395
6396 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6397
6398 * gdb.base/break-always.exp: Abort testing if writing to memory
6399 causes an error.
6400
6401 2015-04-28 Doug Evans <dje@google.com>
6402
6403 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
6404 * gdb.python/py-pp-registration.exp: ... here. New file.
6405 * gdb.python/py-pp-registration.c: New file.
6406 * gdb.python/py-pp-registration.py: New file.
6407
6408 2015-04-28 Doug Evans <dje@google.com>
6409
6410 * gdb.python/py-bad-printers.c: New file.
6411 * gdb.python/py-bad-printers.py: New file.
6412 * gdb.python/py-bad-printers.exp: New file.
6413
6414 2015-04-28 Sasha Smundak <asmundak@google.com>
6415
6416 * gdb.python/py-type.exp: New test.
6417
6418 2015-04-28 Andy Wingo <wingo@igalia.com>
6419
6420 * gdb.python/py-parameter.exp:
6421 * gdb.guile/scm-parameter.exp: Escape the path that we are
6422 matching against, as it might contain characters that are special
6423 to regular expressions.
6424
6425 2015-04-27 Joel Brobecker <brobecker@adacore.com>
6426
6427 * gdb.ada/rec_comp: New testcase.
6428
6429 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
6430
6431 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
6432 before using it.
6433
6434 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
6435
6436 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
6437 new tests for verilog output.
6438
6439 2015-04-24 Yao Qi <yao.qi@linaro.org>
6440
6441 * boards/remote-gdbserver-on-localhost.exp: New file.
6442
6443 2015-04-23 Pedro Alves <palves@redhat.com>
6444
6445 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
6446 $inferior_spawn_id instead of $inferior_spawn_id directly. On
6447 "end of file", remove $inferior_spawn_id from the indirect list.
6448
6449 2015-04-23 Pedro Alves <palves@redhat.com>
6450
6451 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
6452
6453 2015-04-23 Pedro Alves <palves@redhat.com>
6454
6455 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
6456 on $any_spawn_id instead of only on $gdb_spawn_id.
6457
6458 2015-04-21 Pierre Muller <muller@sourceware.org>
6459
6460 PR pascal/17815
6461 * lib/pascal.exp (gpc_compile): Add new option "class".
6462 (fpc_compile): Likewise.
6463 * gdb.pascal/case-insensitive-symbols.pas: New file.
6464 * gdb.pascal/case-insensitive-symbols.exp: New file.
6465
6466 2015-04-20 Gary Benson <gbenson@redhat.com>
6467
6468 * gdb.base/attach.exp: Fix three extended remote failures.
6469
6470 2015-04-17 Gary Benson <gbenson@redhat.com>
6471
6472 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
6473 the main executable over the remote protocol.
6474
6475 2015-04-16 Pedro Alves <palves@redhat.com>
6476
6477 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
6478 a new gdbserver if gdbserver_reconnect_p is set.
6479
6480 2015-04-16 Pedro Alves <palves@redhat.com>
6481
6482 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
6483 is set, don't exit gdbserver.
6484
6485 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6486
6487 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
6488 appropriate .insn, such that an older assembler can be used.
6489 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
6490 the z/Architecture instruction set on 31-bit targets as well.
6491
6492 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6493
6494 * gdb.go/handcall.exp: Remove all logic related to the first
6495 breakpoint and rely on go_runto_main instead.
6496 * gdb.go/strings.exp: Likewise.
6497 * gdb.go/unsafe.exp: Likewise.
6498 * gdb.go/hello.exp: Likewise. Also rename the remaining
6499 breakpoint marker to "breakpoint 1".
6500 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
6501 * gdb.go/strings.go: Likewise.
6502 * gdb.go/unsafe.go: Likewise.
6503 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
6504 "set breakpoint 2 here" and rename the remaining breakpoint marker
6505 to "breakpoint 1".
6506
6507 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
6508
6509 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
6510 if itertools.imap is not present.
6511 * gdb.python/py-objfile.exp: Add parentheses.
6512 * gdb.python/py-type.exp: Same.
6513 * gdb.python/py-unwind-maint.py: Same.
6514
6515 2015-04-15 Yao Qi <yao.qi@linaro.org>
6516
6517 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
6518 of ":$ptr_size" and set its form explicitly.
6519
6520 2015-04-15 Pedro Alves <palves@redhat.com>
6521 Yao Qi <yao.qi@linaro.org>
6522
6523 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
6524 timeout by factor of 4.
6525 (test_regular_watch): Likewise.
6526 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
6527 * gdb.reverse/sigall-reverse.exp: Likewise.
6528 * gdb.reverse/until-precsave.exp: Likewise.
6529 * lib/gdb.exp (with_timeout_factor): New proc.
6530 (gdb_expect): Move some code to ...
6531 (get_largest_timeout): ... here. New procedure.
6532
6533 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
6534
6535 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
6536
6537 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6538
6539 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
6540 to write to the .text section.
6541
6542 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6543
6544 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
6545 Handle the case of targets that do not provide PID information.
6546
6547 2015-04-13 Yao Qi <yao.qi@linaro.org>
6548
6549 * lib/gdbserver-support.exp (gdb_exit): Catch exception
6550 and use expect instead of gdb_expect.
6551
6552 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
6553
6554 * gdb.base/coredump-filter.exp: Rename variable "addr" to
6555 "coredump_var_addr" to avoid naming conflict with other testcases.
6556
6557 2015-04-10 Pedro Alves <palves@redhat.com>
6558
6559 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
6560 gdb_test_sequence and gdb_assert.
6561
6562 2015-04-10 Pedro Alves <palves@redhat.com>
6563
6564 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
6565 test messages that don't include the breakpoint address.
6566
6567 2015-04-10 Yao Qi <yao.qi@linaro.org>
6568
6569 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
6570 false for some offset and width combinations which aren't
6571 supported by linux kernel.
6572
6573 2015-04-10 Pedro Alves <palves@redhat.com>
6574
6575 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
6576 procedure, factored out from ...
6577 (top level): ... here. Add "set displaced-stepping" testing axis.
6578 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
6579 parameter "displaced". Use it.
6580 (top level): Use foreach and add "set displaced-stepping" testing
6581 axis.
6582
6583 2015-04-10 Pedro Alves <palves@redhat.com>
6584
6585 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
6586 Remove comment.
6587 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
6588 both the address of the instruction that triggers the watchpoint
6589 and the address of the instruction immediately after, and use
6590 those addresses for the test. Fix comment.
6591
6592 2015-04-10 Pedro Alves <palves@redhat.com>
6593
6594 * gdb.base/sigstep.exp (breakpoint_to_handler)
6595 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
6596 Test "backtrace" in handler.
6597 (breakpoint_over_handler): New parameter 'displaced'. Use it.
6598 (top level): Add new "displaced" test axis to
6599 breakpoint_to_handler, breakpoint_to_handler_entry and
6600 breakpoint_over_handler.
6601
6602 2015-04-10 Pedro Alves <palves@redhat.com>
6603
6604 PR gdb/18216
6605 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
6606
6607 2015-04-10 Yao Qi <yao.qi@linaro.org>
6608
6609 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
6610 (test_add_rn_pc): New function.
6611 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
6612 (top level): Invoke test_add_rn_pc.
6613
6614 2015-04-10 Pedro Alves <palves@redhat.com>
6615
6616 PR gdb/13858
6617 * gdb.base/step-over-no-symbols.exp: New file.
6618
6619 2015-04-09 Andy Wingo <wingo@igalia.com>
6620
6621 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
6622 after the Python tests.
6623
6624 2015-04-08 Keith Seitz <keiths@redhat.com>
6625
6626 PR python/16699
6627 * gdb.python/py-completion.exp: New tests for completion.
6628 * gdb.python/py-completion.py (CompleteLimit1): New class.
6629 (CompleteLimit2): Likewise.
6630 (CompleteLimit3): Likewise.
6631 (CompleteLimit4): Likewise.
6632 (CompleteLimit5): Likewise.
6633 (CompleteLimit6): Likewise.
6634 (CompleteLimit7): Likewise.
6635
6636 2015-04-08 Pedro Alves <palves@redhat.com>
6637
6638 PR gdb/18214
6639 PR gdb/18216
6640 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
6641 function.
6642 (main): Install it as SIGUSR1 handler.
6643 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
6644 parameter. Always use "setup" as prefix. Toggle "set
6645 displaced-stepping" off/on depending on global. Don't switch to
6646 thread 1 here.
6647 (top level): Add displaced stepping "off/on" test axis. Update
6648 "setup" calls. Wrap each subtest with with_test_prefix. Test
6649 continuing with a queued signal in each thread.
6650
6651 2015-04-08 Pedro Alves <palves@redhat.com>
6652
6653 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
6654 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
6655 gdb_breakpoint instead of gdb_test that doesn't expect anything.
6656 Return early if running to main fails.
6657 * gdb.trace/while-stepping.exp: Likewise.
6658
6659 2015-04-07 Pedro Alves <palves@redhat.com>
6660
6661 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
6662 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
6663 interact with inferior program.
6664
6665 2015-04-07 Pedro Alves <palves@redhat.com>
6666
6667 * lib/gdb.exp (inferior_spawn_id): New global.
6668 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
6669 spawn id after processing the user code.
6670 (default_gdb_start): Set inferior_spawn_id.
6671 (send_inferior): New procedure.
6672 * lib/gdbserver-support.exp (gdbserver_start): Set
6673 inferior_spawn_id.
6674 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
6675
6676 2015-04-07 Pedro Alves <palves@redhat.com>
6677
6678 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
6679 * lib/gdbserver-support.exp (gdbserver_start): Make
6680 $server_spawn_id global.
6681 (gdbserver_start): Don't wait for gdbserver's spawn id with
6682 expect_background.
6683 (close_gdbserver): New procedure.
6684 (gdb_exit): Rename the default version and reimplement.
6685
6686 2015-04-07 Pedro Alves <palves@redhat.com>
6687
6688 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
6689 append the substituted item, not the original item.
6690
6691 2015-04-07 Pedro Alves <palves@redhat.com>
6692
6693 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
6694 gdb_expect.
6695
6696 2015-04-07 Pedro Alves <palves@redhat.com>
6697
6698 * gdb.base/interrupt.exp: Don't handle the case of the inferior
6699 output appearing once only.
6700
6701 2015-04-07 Pedro Alves <palves@redhat.com>
6702
6703 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
6704 that doesn't expect anything. Return early if running to main
6705 fails.
6706
6707 2015-04-07 Yao Qi <yao.qi@linaro.org>
6708
6709 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
6710 (child_function): Call alarm.
6711 (main): Move call to alarm into the loop.
6712 * gdb.threads/non-stop-fair-events.exp: Build program with
6713 -DTIMEOUT=$timeout.
6714
6715 2015-04-06 Doug Evans <xdje42@gmail.com>
6716
6717 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
6718 Fix dest parameter to board_info.
6719 (fpc_compile): Ditto.
6720 (gdb_compile_pascal): Rename dest arg to destfile.
6721
6722 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
6723
6724 * gdb.ada/funcall_ref.exp: New file.
6725 * gdb.ada/funcall_ref/foo.adb: New file.
6726
6727 2015-04-02 Yao Qi <yao.qi@linaro.org>
6728
6729 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
6730 is remote.
6731
6732 2015-04-02 Gary Benson <gbenson@redhat.com>
6733
6734 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
6735
6736 2015-04-01 Sasha Smundak <asmundak@google.com>
6737
6738 * gdb.python/py-unwind-maint.c: New file.
6739 * gdb.python/py-unwind-maint.exp: New test.
6740 * gdb.python/py-unwind-maint.py: New file.
6741 * gdb.python/py-unwind.c: New file.
6742 * gdb.python/py-unwind.exp: New test.
6743 * gdb.python/py-unwind.py: New test.
6744
6745 2015-04-01 Pedro Alves <palves@redhat.com>
6746
6747 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
6748 to fail instead of non-existent $test.
6749
6750 2015-04-01 Pedro Alves <palves@redhat.com>
6751
6752 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
6753 GDBFLAGS if not empty.
6754
6755 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
6756
6757 * gdb.ada/complete.exp: Remove "multi_line".
6758 * gdb.ada/info_exc.exp: Remove "multi_line".
6759 * gdb.ada/packed_tagged.exp: Remove "multi_line".
6760 * gdb.ada/ptype_field.exp: Remove "multi_line".
6761 * gdb.ada/sym_print_name.exp: Remove "multi_line".
6762 * gdb.ada/tagged.exp: Remove "multi_line".
6763 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
6764 [multi_line ...]
6765 * gdb.btrace/delta.exp: Likewise.
6766 * gdb.btrace/exception.exp: Likewise.
6767 * gdb.btrace/function_call_history.exp: Likewise.
6768 * gdb.btrace/instruction_history.exp: Likewise.
6769 * gdb.btrace/nohist.exp: Likewise.
6770 * gdb.btrace/record_goto.exp: Likewise.
6771 * gdb.btrace/segv.exp: Likewise.
6772 * gdb.btrace/stepi.exp: Likewise.
6773 * gdb.btrace/tailcall.exp: Likewise.
6774 * gdb.btrace/unknown_functions.exp: Likewise.
6775 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
6776 * lib/gdb.exp: Add the "multi_line" helper.
6777
6778 2015-04-01 Pedro Alves <palves@redhat.com>
6779
6780 * gdb.threads/tid-reuse.c: New file.
6781 * gdb.threads/tid-reuse.exp: New file.
6782
6783 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
6784
6785 PR corefiles/16092
6786 * gdb.base/coredump-filter.c: New file.
6787 * gdb.base/coredump-filter.exp: Likewise.
6788
6789 2015-03-27 Petr Machata <pmachata@redhat.com>
6790
6791 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
6792 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
6793 (Dwarf::assemble): Initialize them.
6794 (Dwarf::lines): New function.
6795
6796 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
6797
6798 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
6799 SYMBOL_PREFIX for x86_64-*-cygwin.
6800
6801 2015-03-26 Andy Wingo <wingo@igalia.com>
6802
6803 PR symtab/18148
6804 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
6805 const_value but not a location.
6806 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
6807 location defined in non-main CUs are visible.
6808
6809 2015-03-26 Yao Qi <yao.qi@linaro.org>
6810
6811 PR testsuite/18139
6812 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
6813 Add a line number entry for the same line.
6814 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
6815 Add a line number entry for the same line.
6816
6817 2015-03-26 Yao Qi <yao.qi@linaro.org>
6818
6819 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
6820 .int 0.
6821 (func): Likewise. Add .Lfunc_1 label.
6822 Use .Lfunc_1 label.
6823 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
6824 .int 0.
6825 (func): Likewise.
6826 Use .Lfunc_1 label.
6827
6828 2015-03-26 Yao Qi <yao.qi@linaro.org>
6829
6830 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
6831 Call gdb_compile instead to compile each .s files without debug
6832 information.
6833
6834 2015-03-26 Yao Qi <yao.qi@linaro.org>
6835
6836 * gdb.base/savedregs.exp (process_saved_regs): Make
6837 "Saved registers:" optional in the pattern.
6838
6839 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6840
6841 * gdb.btrace/next.exp: Merged into step.exp.
6842 * gdb.btrace/finish.exp: Merged into step.exp.
6843 * gdb.btrace/nexti.exp: Merged into stepi.exp.
6844 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
6845 "record goto" and checking the exact replay position.
6846 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
6847 check for "Recording format" in "info record" output.
6848 * gdb.btrace/record_goto.exp: Choose test file based on target.
6849 * gdb.btrace/x86-record_goto.S: Renamed into ...
6850 * gdb.btrace/x86_64-record_goto.S: ... this.
6851 * gdb.btrace/i686-record_goto.S: New.
6852 * gdb.btrace/x86-tailcall.S: Renamed into ...
6853 * gdb.btrace/x86_64-tailcall.S: ... this.
6854 * gdb.btrace/i686-tailcall.S: New.
6855 * gdb.btrace/x86-tailcall.c: Renamed into ...
6856 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
6857 separate statements. Update test.
6858 * gdb.btrace/delta.exp: Use record_goto.c as test file.
6859 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
6860 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
6861 * gdb.btrace/tailcall.exp: Choose test file based on target.
6862 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
6863
6864 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6865
6866 * gdb.btrace/exception.exp: Increase BTS buffer size.
6867
6868 2015-03-24 Pedro Alves <palves@redhat.com>
6869
6870 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
6871
6872 2015-03-24 Pedro Alves <palves@redhat.com>
6873
6874 * gdb.threads/schedlock.exp (test_step): No longer expect that
6875 "set scheduler-locking step" with "next" over a function call runs
6876 threads unlocked.
6877
6878 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6879
6880 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
6881
6882 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6883
6884 PR breakpoints/16466
6885 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
6886 * gdb.mi/mi-pending.c (thread_func): New function.
6887 (int main): Add threading support required.
6888 * gdb.mi/mi-pending.exp: Add tests for this issue.
6889 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
6890 (pendfunc2): Remove stdio dependency.
6891 * gdb.mi/mi-pendshr2.c: New file.
6892
6893 2015-03-23 Keith Seitz <keiths@redhat.com>
6894
6895 * gdb.linespec/keywords.c: New file.
6896 * gdb.linespec/keywords.exp: New file.
6897
6898 2015-03-23 Keith Seitz <keiths@redhat.com>
6899
6900 PR gdb/18021
6901 * gdb.dwarf2/staticvirtual.exp: New test.
6902
6903 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6904
6905 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
6906 * README: Remove HP-UX and gdb.hp.
6907 (configuration):
6908 * configure: Regenerate.
6909 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
6910 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
6911 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
6912 gdb.hp/gdb.defects/Makefile.
6913 * gdb.hp/Makefile.in: File deleted.
6914 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
6915 * gdb.hp/gdb.aCC/optimize.c: File deleted.
6916 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
6917 * gdb.hp/gdb.aCC/run.c: File deleted.
6918 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
6919 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
6920 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
6921 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
6922 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
6923 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
6924 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
6925 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
6926 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
6927 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
6928 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
6929 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
6930 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
6931 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
6932 * gdb.hp/gdb.base-hp/reg.s: File deleted.
6933 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
6934 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
6935 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
6936 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
6937 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
6938 * gdb.hp/gdb.compat/Makefile.in: File deleted.
6939 * gdb.hp/gdb.compat/average.c: File deleted.
6940 * gdb.hp/gdb.compat/sum.c: File deleted.
6941 * gdb.hp/gdb.compat/xdb.c: File deleted.
6942 * gdb.hp/gdb.compat/xdb0.c: File deleted.
6943 * gdb.hp/gdb.compat/xdb0.h: File deleted.
6944 * gdb.hp/gdb.compat/xdb1.c: File deleted.
6945 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
6946 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
6947 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
6948 * gdb.hp/gdb.defects/Makefile.in: File deleted.
6949 * gdb.hp/gdb.defects/bs14602.c: File deleted.
6950 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
6951 * gdb.hp/gdb.defects/solib-d.c: File deleted.
6952 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
6953 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
6954 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
6955 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
6956 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
6957 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
6958 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
6959 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
6960 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
6961 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
6962 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
6963 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
6964 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
6965 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
6966 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
6967 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
6968 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
6969 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
6970 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
6971 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
6972 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
6973 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
6974 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
6975 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
6976 * gdb.hp/tools/odump: File deleted.
6977
6978 2015-03-19 Pedro Alves <palves@redhat.com>
6979
6980 * gdb.threads/continue-pending-status.exp (saw_thread_2)
6981 (saw_thread_3): New globals.
6982 (top level): Increment them when an event for the corresponding
6983 thread is seen.
6984 (no thread starvation): New test.
6985
6986 2015-03-19 Pedro Alves <palves@redhat.com>
6987
6988 * gdb.threads/continue-pending-status.c: New file.
6989 * gdb.threads/continue-pending-status.exp: New file.
6990
6991 2015-03-18 Pedro Alves <palves@redhat.com>
6992
6993 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
6994 Use gdb_is_target_remote instead of is_remote. Use
6995 gdb_test_multiple instead of gdb_expect. Exit early if
6996 gdb_test_multiple hits its internal matches. Tighten stepi tests
6997 expected output. Fail on exit with any signal, instead of just
6998 SIGILL.
6999
7000 2015-03-18 Yao Qi <yao.qi@linaro.org>
7001
7002 PR tdep/18107
7003 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
7004 variable.
7005 * gdb.base/catch-syscall.exp: Don't skip it on
7006 aarch64*-*-linux* target. Remove elements in all_syscalls.
7007 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
7008 target.
7009 (setup_all_syscalls): New proc.
7010
7011 2015-03-16 Yao Qi <yao.qi@linaro.org>
7012
7013 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
7014 (top level): Skip tests if valid_addr_p returns false for
7015 $cmd1 or $cmd2.
7016
7017 2015-03-11 Andy Wingo <wingo@igalia.com>
7018
7019 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
7020
7021 2015-03-11 Yao Qi <yao.qi@linaro.org>
7022
7023 * gdb.base/catch-syscall.exp: Fix typo in comments.
7024
7025 2015-03-11 Yao Qi <yao.qi@linaro.org>
7026
7027 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
7028
7029 2015-03-09 Pedro Alves <palves@redhat.com>
7030
7031 * dg-extract-results.py: Delete.
7032
7033 2015-03-09 Pedro Alves <palves@redhat.com>
7034
7035 Merge dg-extract-results.sh from GCC upstream (r218843).
7036
7037 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
7038 * dg-extract-results.sh: Use --text with grep to avoid issues with
7039 binary files. Fall back to cat -v, if that doesn't work.
7040
7041 2015-03-05 Pedro Alves <palves@redhat.com>
7042
7043 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
7044
7045 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
7046
7047 * lib/mi-support.exp (mi_expect_interrupt): Accept
7048 alternative event for when in all-stop mode.
7049
7050 2015-03-04 Pedro Alves <palves@redhat.com>
7051
7052 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
7053
7054 2015-03-04 Mark Kettenis <kettenis@gnu.org>
7055
7056 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
7057
7058 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7059
7060 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
7061 regexps for GDB's current line display, accept a hex address
7062 preceding the line number.
7063
7064 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7065
7066 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
7067 the 'arch1' variable for "s390*-linux*" targets.
7068
7069 2015-03-04 Pedro Alves <palves@redhat.com>
7070
7071 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
7072 (main): Pass missing retval argument to pthread_join call.
7073
7074 2015-03-02 Pedro Alves <palves@redhat.com>
7075
7076 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
7077 (top level): Call do_test with non-stop as well.
7078
7079 2015-03-02 Pedro Alves <palves@redhat.com>
7080
7081 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
7082 -1.
7083
7084 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7085
7086 * gdb.arch/s390-vregs.exp: New test.
7087 * gdb.arch/s390-vregs.S: New file.
7088
7089 2015-02-27 Pedro Alves <palves@redhat.com>
7090
7091 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
7092 call to catch_command_errors.
7093 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
7094 catch_command_errors.
7095
7096 2015-02-27 Pedro Alves <palves@redhat.com>
7097
7098 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
7099 "true" for boolean result.
7100 * gdb.gdb/selftest.exp (test_with_self): Also accept full
7101 prototype of main.
7102
7103 2015-02-27 Pedro Alves <palves@redhat.com>
7104
7105 * lib/unbuffer_output.c: New file.
7106 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
7107 (main): Call gdb_unbuffer_output.
7108
7109 2015-02-27 Yao Qi <yao.qi@linaro.org>
7110
7111 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
7112 target.
7113
7114 2015-02-26 Doug Evans <dje@google.com>
7115
7116 * gdb.cp/class2.cc (Dbase, D): New classes.
7117 (main): New local delta.
7118 * gdb.cp/class2.exp: Test printing delta.
7119 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
7120 (dynbar): New global.
7121 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
7122
7123 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7124
7125 * gdb.compile/compile-ifunc.c: New file.
7126 * gdb.compile/compile-ifunc.exp: New file.
7127
7128 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
7129
7130 * gdb.base/structs.exp: Check for correct struct on finish.
7131
7132 2015-02-26 Yao Qi <yao.qi@linaro.org>
7133
7134 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
7135 is zero.
7136
7137 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7138
7139 * gdb.arch/cordic.ko.bz2: New file.
7140 * gdb.arch/cordic.ko.debug.bz2: New file.
7141 * gdb.arch/ppc64-symtab-cordic.exp: New file.
7142
7143 2015-02-25 Yao Qi <yao.qi@linaro.org>
7144
7145 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
7146 aarch64*-*-* target.
7147
7148 2015-02-23 Pedro Alves <palves@redhat.com>
7149
7150 * lib/gdb.exp (delete_breakpoints): Rewrite using
7151 gdb_test_multiple.
7152
7153 2015-02-23 Pedro Alves <palves@redhat.com>
7154
7155 * gdb.base/info-os.c: Include stdlib.h.
7156
7157 2015-02-22 Doug Evans <xdje42@gmail.com>
7158
7159 PR symtab/17855
7160 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
7161 is read after symbols have been re-read.
7162 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
7163 * gdb.ada/exec_changed/second.adb (Second): Ditto.
7164
7165 2015-02-21 Doug Evans <dje@google.com>
7166
7167 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
7168
7169 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7170
7171 PR corefiles/17808
7172 * gdb.arch/i386-biarch-core.core.bz2: New file.
7173 * gdb.arch/i386-biarch-core.exp: New file.
7174
7175 2015-02-21 Pedro Alves <palves@redhat.com>
7176
7177 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
7178 runto_main fails.
7179
7180 2015-02-20 Pedro Alves <palves@redhat.com>
7181
7182 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
7183 info probes.
7184
7185 2015-02-20 Pedro Alves <palves@redhat.com>
7186
7187 * gdb.threads/multi-create-ns-info-thr.exp: New file.
7188
7189 2015-02-20 Pedro Alves <palves@redhat.com>
7190
7191 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
7192 clean_restart before gdb_target_supports_trace.
7193
7194 2015-02-20 Pedro Alves <palves@redhat.com>
7195
7196 PR threads/18006
7197 * gdb.threads/clone-thread_db.c: New file.
7198 * gdb.threads/clone-thread_db.exp: New file.
7199
7200 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
7201
7202 PR breakpoints/16812
7203 * gdb.base/catch-gdb-caused-signals.c: New file.
7204 * gdb.base/catch-gdb-caused-signals.exp: New file.
7205
7206 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
7207
7208 * configure: Regenerated.
7209 * configure.ac: Use GDB_AC_TRANSFORM.
7210 * aclocal.m4: sinclude ../transform.m4.
7211
7212 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7213
7214 * lib/dtrace.exp: New file.
7215 * gdb.base/dtrace-probe.exp: Likewise.
7216 * gdb.base/dtrace-probe.d: Likewise.
7217 * gdb.base/dtrace-probe.c: Likewise.
7218 * lib/pdtrace.in: Likewise.
7219 * configure.ac: Output variables with the transformed names of
7220 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7221 * configure: Regenerated.
7222
7223 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7224
7225 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7226 expected message when trying to access $_probe_* convenience
7227 variables while not on a probe.
7228
7229 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7230
7231 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7232
7233 2015-02-11 Pedro Alves <pedro@codesourcery.com>
7234
7235 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7236 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7237
7238 2015-02-10 Doug Evans <xdje42@gmail.com>
7239
7240 * lib/gdb.exp (gdb_load): Always return a result.
7241
7242 2015-02-10 Pedro Alves <palves@redhat.com>
7243
7244 * gdb.threads/signal-sigtrap.c: New file.
7245 * gdb.threads/signal-sigtrap.exp: New file.
7246
7247 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7248
7249 * gdb.trace/no-attach-trace.c: New file.
7250 * gdb.trace/no-attach-trace.exp: New file.
7251
7252 2015-02-09 Mark Wielaard <mjw@redhat.com>
7253
7254 * gdb.dwarf2/atomic.c: New file.
7255 * gdb.dwarf2/atomic-type.exp: Likewise.
7256
7257 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7258
7259 * gdb.btrace/buffer-size.exp: Update "info record" output.
7260 * gdb.btrace/delta.exp: Update "info record" output.
7261 * gdb.btrace/enable.exp: Update "info record" output.
7262 * gdb.btrace/finish.exp: Update "info record" output.
7263 * gdb.btrace/instruction_history.exp: Update "info record" output.
7264 * gdb.btrace/next.exp: Update "info record" output.
7265 * gdb.btrace/nexti.exp: Update "info record" output.
7266 * gdb.btrace/step.exp: Update "info record" output.
7267 * gdb.btrace/stepi.exp: Update "info record" output.
7268 * gdb.btrace/nohist.exp: Update "info record" output.
7269
7270 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7271
7272 * gdb.btrace/buffer-size: New.
7273
7274 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7275
7276 * gdb.btrace/delta.exp: Update "info record" output.
7277 * gdb.btrace/enable.exp: Update "info record" output.
7278 * gdb.btrace/finish.exp: Update "info record" output.
7279 * gdb.btrace/instruction_history.exp: Update "info record" output.
7280 * gdb.btrace/next.exp: Update "info record" output.
7281 * gdb.btrace/nexti.exp: Update "info record" output.
7282 * gdb.btrace/step.exp: Update "info record" output.
7283 * gdb.btrace/stepi.exp: Update "info record" output.
7284 * gdb.btrace/nohist.exp: Update "info record" output.
7285
7286 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7287
7288 PR gdb/15678
7289 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7290
7291 2015-02-06 Pedro Alves <palves@redhat.com>
7292
7293 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7294 macro.
7295 (seconds_left, again): New globals.
7296 (main): Wait seconds_left in a 1-second sleep loop instead of
7297 sleeping 180 seconds. If 'again' is set, reset the seconds
7298 counter.
7299 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7300 'again' in the inferior before detaching. Print the seconds left.
7301 (options): New global.
7302 (top level): Build program with -DTIMEOUT=$timeout.
7303
7304 2015-02-06 Pedro Alves <palves@redhat.com>
7305
7306 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
7307 determine how many seconds to pass to 'alarm'.
7308 * gdb.base/gdb-sigterm.exp (top level): Build program with
7309 -DTIMEOUT=$timeout.
7310 (do_test): Return success/failure indication. Add more verbose
7311 logging. Don't fail if 200 single steps are seen. Instead, fail
7312 when the test times out.
7313 (passes): New global.
7314 (top level): Break the testing loop if testing fails on any
7315 iteration. Use gdb_assert.
7316
7317 2015-02-04 Don Breazeal <donb@codesourcery.com>
7318
7319 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
7320 and initialize them.
7321 (ipc_cleanup): New function.
7322 (main): Don't declare shmid, semid, and msqid. Add a call to
7323 atexit so that we call ipc_cleanup on exit.
7324
7325 2015-02-04 Pedro Alves <palves@redhat.com>
7326
7327 * boards/native-extended-gdbserver.exp: Remove any target variant
7328 specifications from the board name before clearing the isremote
7329 flag from board_info.
7330
7331 2015-01-31 Doug Evans <xdje42@gmail.com>
7332
7333 * gdb.base/maint.exp <maint print type argc>: Update expected output.
7334
7335 2015-01-31 Gary Benson <gbenson@redhat.com>
7336
7337 * gdb.base/completion.exp: Disable completion limiting for
7338 existing tests. Add new tests to check completion limiting.
7339 * gdb.linespec/ls-errs.exp: Disable completion limiting.
7340
7341 2015-01-31 Doug Evans <xdje42@gmail.com>
7342
7343 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
7344
7345 2015-01-31 Doug Evans <xdje42@gmail.com>
7346
7347 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
7348 entries. Duplicate file section script entries.
7349 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
7350 inlined entries. Add test for safe-path rejection.
7351 * gdb.python/py-section-script.c: Add duplicate inlined section script
7352 entries. Duplicate file section script entries.
7353 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
7354 inlined entries. Add test for safe-path rejection.
7355
7356 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7357
7358 * gdb.ada/disc_arr_bound: New testcase.
7359
7360 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7361
7362 * gdb.ada/mi_var_array: New testcase.
7363
7364 2015-01-27 Doug Evans <dje@google.com>
7365
7366 * gdb.python/py-objfile.exp: Add tests for objfile.username.
7367 Add test for objfile.filename, objfile.username after objfile
7368 has been unloaded.
7369
7370 2015-01-26 Joel Brobecker <brobecker@adacore.com>
7371
7372 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
7373 the second test to print the name attribute of value
7374 returned by the call to gdb.lookup_type, and adjust
7375 the expected output accordingly.
7376
7377 2015-01-25 Mark Wielaard <mjw@redhat.com>
7378
7379 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
7380 * gdb.base/disp-step-fork.c: Include unistd.h.
7381 * gdb.base/siginfo-obj.c: Include stdio.h.
7382 * gdb.base/siginfo-thread.c: Likewise.
7383 * gdb.mi/non-stop.c: Include unistd.h.
7384 * gdb.mi/nsthrexec.c: Include stdio.h.
7385 * gdb.mi/pthreads.c: Include unistd.h.
7386 * gdb.modula2/unbounded1.c (main): Declare returns int.
7387 * gdb.reverse/consecutive-reverse.c: Likewise.
7388 * gdb.threads/create-fail.c: Include unistd.h.
7389 * gdb.threads/killed.c: Likewise.
7390 * gdb.threads/linux-dp.c: Likewise.
7391 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
7392 * gdb.threads/non-ldr-exc-2.c: Likewise.
7393 * gdb.threads/non-ldr-exc-3.c: Likewise.
7394 * gdb.threads/non-ldr-exc-4.c: Likewise.
7395 * gdb.threads/pthreads.c: Include unistd.h.
7396 (main): Declare returns int.
7397 * gdb.threads/tls-main.c (foo): New declaration.
7398 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
7399
7400 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
7401
7402 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
7403 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
7404
7405 2015-01-15 Mark Wielaard <mjw@redhat.com>
7406
7407 * gdb.base/noreturn-return.c: New file.
7408 * gdb.base/noreturn-return.exp: New file.
7409 * gdb.base/noreturn-finish.c: New file.
7410 * gdb.base/noreturn-finish.exp: New file.
7411
7412 2015-01-23 Pedro Alves <palves@redhat.com>
7413
7414 * gdb.threads/continue-pending-after-query.c: New file.
7415 * gdb.threads/continue-pending-after-query.exp: New file.
7416
7417 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
7418 Simon Marchi <simon.marchi@ericsson.com>
7419
7420 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
7421 * gdb.base/valgrind-db-attach.exp: Same.
7422 * gdb.base/valgrind-infcall.exp: Same.
7423 * lib/mi-support.exp (default_mi_gdb_start): Same.
7424 * lib/prompt.exp (default_prompt_gdb_start): Same.
7425 * lib/gdb.exp (default_gdb_spawn): Same.
7426 (gdb_interact): New.
7427
7428
7429 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7430
7431 * gdb.compile/compile.exp (pointer to jit function): New test.
7432
7433 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
7434
7435 * lib/gdb.exp (supports_process_record): Return true for
7436 powerpc*-*-linux*.
7437 (supports_reverse): Likewise.
7438
7439 2015-01-15 Don Breazeal <donb@codesourcery.com>
7440
7441 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
7442 instead of checking whether the target board is remote and
7443 use spawn_wait_for_attach instead of exec/sleep.
7444 * gdb.base/attach-twice.exp: Likewise.
7445
7446 2015-01-15 Joel Brobecker <brobecker@adacore.com>
7447
7448 * gdb.ada/var_arr_attrs: New testcase.
7449
7450 2015-01-14 Pedro Alves <palves@redhat.com>
7451 Joel Brobecker <brobecker@adacore.com>
7452
7453 PR gdb/17525
7454 * gdb.base/bp-cmds-execution-x-script.c: New file.
7455 * gdb.base/bp-cmds-execution-x-script.exp: New file.
7456 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
7457
7458 2015-01-14 Pedro Alves <palves@redhat.com>
7459
7460 PR cli/17828
7461 * gdb.base/batch-preserve-term-settings.c: New file.
7462 * gdb.base/batch-preserve-term-settings.exp: New file.
7463
7464 2015-01-13 Doug Evans <dje@google.com>
7465
7466 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
7467 binary.
7468
7469 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7470
7471 * Makefile.in (clean mostlyclean): Do not delete *.py.
7472
7473 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7474
7475 * gdb.python/py-lookup-type.exp: New file.
7476
7477 2015-01-12 Pedro Alves <palves@redhat.com>
7478
7479 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
7480 restore GDBFLAGS before returning.
7481
7482 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7483
7484 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
7485 is_amd64_regs_target and is_x86_like_target.
7486
7487 2015-01-11 Doug Evans <xdje42@gmail.com>
7488
7489 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
7490 is given without an explicit form.
7491 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
7492 attributes.
7493 * gdb.dwarf/corrupt.exp: Ditto.
7494 * gdb.dwarf2/enum-type.exp: Ditto.
7495 * gdb.trace/entry-values.exp: Ditto.
7496 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
7497
7498 2015-01-11 Doug Evans <xdje42@gmail.com>
7499
7500 PR gdb/15830
7501 * gdb.base/maint.exp: Remove references to "maint demangle".
7502 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
7503 Add tests for explicitly specifying language to demangle.
7504 * gdb.dlang/demangle.exp: Ditto.
7505
7506 2015-01-09 Pedro Alves <palves@redhat.com>
7507
7508 * gdb.threads/non-stop-fair-events.c: New file.
7509 * gdb.threads/non-stop-fair-events.exp: New file.
7510
7511 2015-01-09 Pedro Alves <palves@redhat.com>
7512
7513 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
7514 the global scope. Set a breakpoint after all threads are started
7515 rather than stepping over two source lines. Expect the prompt.
7516 * gdb.base/watch_thread_num.c (threads_started_barrier): New
7517 global.
7518 (NUM): Now 15.
7519 (main): Use threads_started_barrier to wait for all threads to
7520 start. Main thread no longer calls thread_function. Exit after
7521 180 seconds.
7522 (loop): New function.
7523 (thread_function): Wait on threads_started_barrier barrier. Call
7524 'loop' at each iteration.
7525 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
7526 threads have started, instead of hardcoding number of "next"
7527 steps. Use an access watchpoint instead of a write watchpoint.
7528
7529 2015-01-09 Pedro Alves <palves@redhat.com>
7530
7531 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
7532 (thread_func): Wait on barrier.
7533 (main): Wait for all threads to start before stopping GDB.
7534 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
7535 global.
7536 (thread1_func, thread2_func): Wait on barrier.
7537 (main): Wait for all threads to start before stopping GDB.
7538 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
7539 New global.
7540 (thread1_func, thread2_func): Wait on barrier.
7541 (main): Wait for all threads to start before stopping GDB.
7542
7543 2015-01-09 Pedro Alves <palves@redhat.com>
7544
7545 * gdb.threads/attach-many-short-lived-threads.c: New file.
7546 * gdb.threads/attach-many-short-lived-threads.exp: New file.
7547
7548 2014-01-09 Pedro Alves <palves@redhat.com>
7549
7550 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
7551 instead of to thread 2.
7552 * gdb.threads/signal-command-multiple-signals-pending.c (main):
7553 Add barrier around each pthread_create call instead of around all
7554 calls.
7555 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
7556 Set a break on thread_function and have the child threads hit it
7557 one at at a time.
7558
7559 2015-01-09 Pedro Alves <palves@redhat.com>
7560
7561 * lib/gdb.exp (can_spawn_for_attach): New procedure.
7562 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
7563 false.
7564 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
7565 checking whether the target board is remote.
7566 * gdb.multi/multi-attach.exp: Likewise.
7567 * gdb.python/py-sync-interp.exp: Likewise.
7568 * gdb.server/ext-attach.exp: Likewise.
7569 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
7570 tests that need to attach, instead of checking whether the target
7571 board is remote at the top of the file.
7572
7573 2015-01-08 Yao Qi <yao@codesourcery.com>
7574
7575 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
7576
7577 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7578
7579 Fix testcase compilation.
7580 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
7581
7582 2015-01-06 Joel Brobecker <brobecker@adacore.com>
7583
7584 * gdb.python/py-type.exp: Add a couple test about empty
7585 array creation, and negative-length array creation.
7586
7587 2015-01-02 Doug Evans <xdje42@gmail.com>
7588
7589 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
7590
7591 2015-01-02 Doug Evans <dje@google.com>
7592
7593 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
7594
7595 2014-12-29 Yao Qi <yao@codesourcery.com>
7596
7597 * gdb.trace/entry-values.exp: Update comments. Rename variable
7598 bar_call_foo to returned_from_foo.
7599
7600 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
7601
7602 PR gdb/17394
7603 * gdb.linespec/break-asm-file.c: New file.
7604 * gdb.linespec/break-asm-file.exp: New file.
7605 * gdb.linespec/break-asm-file0.s: New file.
7606 * gdb.linespec/break-asm-file1.s: New file.
7607
7608 2014-12-18 Nigel Stephens <nigel@mips.com>
7609 Maciej W. Rozycki <macro@codesourcery.com>
7610
7611 * gdb.base/float.exp: Handle the new output from "info float" on
7612 MIPS targets.
7613
7614 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7615
7616 Fix MinGW compilation.
7617 * gdb.compile/compile-ops.exp: Update untested message if
7618 !skip_compile_feature_tests.
7619 * gdb.compile/compile-setjmp.exp: Likewise.
7620 * gdb.compile/compile-tls.exp: Likewise.
7621 * gdb.compile/compile.exp: Likewise.
7622 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
7623 supported on this host".
7624
7625 2014-12-16 Doug Evans <xdje42@gmail.com>
7626
7627 * boards/stabs.exp: New file.
7628
7629 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
7630
7631 * gdb.base/completion.exp: Adjust to format changes of "maint
7632 print user-registers".
7633
7634 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
7635
7636 PR server/17457
7637 * gdb.arch/aarch64-fp.c: New file.
7638 * gdb.arch/aarch64-fp.exp: New file.
7639
7640 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7641
7642 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
7643 r210637, r210913, r211666, r215400, r215817).
7644
7645 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
7646 * dg-extract-results.py: New file.
7647 * dg-extract-results.sh: Use it if the environment seems
7648 suitable.
7649
7650 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
7651
7652 * dg-extract-results.py (parse_run): Handle warnings that
7653 are printed before a test harness is run.
7654
7655 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
7656
7657 * dg-extract-results.py (Named): Remove __cmp__ method.
7658 (output_variation): Use a key to sort variation.harnesses.
7659
7660 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
7661
7662 * dg-extract-results.py: For Python 3, force sys.stdout to
7663 handle surrogate escape sequences.
7664 (safe_open): New function.
7665 (output_segment, main): Use it.
7666
7667 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
7668
7669 * dg-extract-results.py (Prog.result_re): Include options
7670 in test name.
7671
7672 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
7673
7674 * dg-extract-results.py (output_variation): Always sort if
7675 do_sum.
7676
7677 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
7678
7679 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
7680 as long as we get pagination notifications.
7681
7682 2014-12-15 Jason Merrill <jason@redhat.com>
7683
7684 * Makefile.in (check-gdb.%): Restore.
7685 * README: Mention it.
7686
7687 2014-12-13 Joel Brobecker <brobecker@adacore.com>
7688
7689 * gdb.ada/str_uninit: New testcase.
7690
7691 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7692
7693 PR symtab/17642
7694 * gdb.base/vla-stub-define.c: New file.
7695 * gdb.base/vla-stub.c: New file.
7696 * gdb.base/vla-stub.exp: New file.
7697
7698 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
7699 Jan Kratochvil <jan.kratochvil@redhat.com>
7700 Tom Tromey <tromey@redhat.com>
7701
7702 * configure.ac: Add gdb.compile/.
7703 * configure: Regenerate.
7704 * gdb.compile/Makefile.in: New file.
7705 * gdb.compile/compile-ops.exp: New file.
7706 * gdb.compile/compile-ops.c: New file.
7707 * gdb.compile/compile-tls.c: New file.
7708 * gdb.compile/compile-tls.exp: New file.
7709 * gdb.compile/compile-constvar.S: New file.
7710 * gdb.compile/compile-constvar.c: New file.
7711 * gdb.compile/compile-mod.c: New file.
7712 * gdb.compile/compile-nodebug.c: New file.
7713 * gdb.compile/compile-setjmp-mod.c: New file.
7714 * gdb.compile/compile-setjmp.c: New file.
7715 * gdb.compile/compile-setjmp.exp: New file.
7716 * gdb.compile/compile-shlib.c: New file.
7717 * gdb.compile/compile.c: New file.
7718 * gdb.compile/compile.exp: New file.
7719 * lib/gdb.exp (skip_compile_feature_tests): New proc.
7720
7721 2014-12-12 Tom Tromey <tromey@redhat.com>
7722
7723 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
7724 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
7725
7726 2014-12-12 Doug Evans <dje@google.com>
7727
7728 * lib/gdb-python.exp (get_python_valueof): New function.
7729 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
7730
7731 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7732
7733 * gdb.base/completion.exp: Add test for completion of "info
7734 registers ".
7735
7736 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
7737
7738 * gdb.base/func-ptrs.c: New file.
7739 * gdb.base/func-ptrs.exp: New file.
7740
7741 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7742
7743 PR breakpoints/17012
7744 * gdb.base/dprintf-detach.c: New file.
7745 * gdb.base/dprintf-detach.exp: New file.
7746
7747 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7748
7749 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
7750 * lib/gdb.exp (target_is_gdbserver): New procedure.
7751
7752 2014-12-08 Doug Evans <dje@google.com>
7753
7754 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
7755
7756 2014-12-05 Yao Qi <yao@codesourcery.com>
7757
7758 * gdb.guile/scm-error.exp: Remove the third argument to
7759 gdb_remote_download.
7760 * gdb.guile/scm-frame-args.exp: Likewise.
7761 * gdb.guile/scm-section-script.exp: Likewise.
7762
7763 2014-12-05 Yao Qi <yao@codesourcery.com>
7764
7765 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
7766
7767 2014-12-04 Doug Evans <dje@google.com>
7768
7769 * gdb.python/py-objfile.exp: Add tests for
7770 objfile.add_separate_debug_file.
7771
7772 2014-12-04 Doug Evans <dje@google.com>
7773
7774 * lib/gdb.exp (get_build_id): New function.
7775 (build_id_debug_filename_get): Rewrite to use it.
7776 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
7777
7778 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
7779
7780 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
7781 `method(long)', not just 0x0.
7782 * gdb.cp/nsalias.exp: Align code labels to 4.
7783 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
7784 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
7785 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
7786 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
7787 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
7788 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
7789
7790 2014-12-02 Doug Evans <dje@google.com>
7791
7792 PR symtab/17602
7793 * gdb.cp/anon-ns.cc: Move guts of this file to ...
7794 * gdb.cp/anon-ns2.cc: ... here. New file.
7795 * gdb.cp/anon-ns.exp: Update.
7796
7797 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
7798
7799 * gdb.python/py-events.py (inferior_call_handler): New.
7800 (register_changed_handler, memory_changed_handler): New.
7801 (test_events.invoke): Register new handlers.
7802 * gdb.python/py-events.exp: Add tests for inferior call,
7803 memory_changed and register_changed events.
7804
7805 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7806
7807 * gdb.base/execl-update-breakpoints.exp: Specify the link address
7808 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
7809 if the linker doesn't understand this.
7810
7811 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
7812
7813 * gdb.python/python.exp: Change expected reply to help().
7814
7815 2014-12-01 Yao Qi <yao@codesourcery.com>
7816
7817 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
7818 AC_CONFIG_SUBDIRS(gdb.gdbtk).
7819 * configure: Re-generated.
7820
7821 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
7822
7823 * gdb.cp/chained-calls.cc: New file.
7824 * gdb.cp/chained-calls.exp: New file.
7825 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
7826
7827 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
7828
7829 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
7830 * gdb.dwarf2/symtab-producer.exp: Same.
7831 * gdb.gdb/python-interrupts.exp: Same.
7832 * gdb.gdb/python-selftest.exp: Same.
7833 * gdb.python/py-linetable.exp: Same.
7834 * gdb.python/py-type.exp: Same.
7835 * gdb.python/py-value-cc.exp: Same.
7836 * gdb.python/py-value.exp: Same.
7837
7838 2014-11-28 Yao Qi <yao@codesourcery.com>
7839
7840 * gdb.base/break-probes.exp: Match library name prefixed with
7841 sysroot.
7842
7843 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
7844
7845 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
7846 test expected output. Add parentheses for the call to print.
7847 Remove L suffix from integers.
7848
7849 2014-11-26 Doug Evans <dje@google.com>
7850
7851 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
7852
7853 2014-11-22 Yao Qi <yao@codesourcery.com>
7854
7855 * gdb.trace/entry-values.c: Remove asms.
7856 (foo): Add foo_label.
7857 (bar): Add bar_label.
7858 * gdb.trace/entry-values.exp: Remove code computing foo's
7859 length and bar's length.
7860 (Dwarf::assemble): Invoke function_range for bar and use
7861 MACRO_AT_func for foo.
7862
7863 2014-11-22 Yao Qi <yao@codesourcery.com>
7864
7865 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
7866 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
7867 Use .Lgcc43_procstart instead of gcc43.
7868
7869 2014-11-21 Joel Brobecker <brobecker@adacore.com>
7870
7871 * gdb.ada/n_arr_bound: New testcase.
7872
7873 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
7874
7875 PR breakpoints/10737
7876 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
7877 test_catch_syscall_multi_arch.
7878 (test_catch_syscall_multi_arch): New function.
7879
7880 2014-11-20 Doug Evans <xdje42@gmail.com>
7881
7882 * gdb.base/maint.exp: Update expected output.
7883
7884 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7885
7886 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
7887 4-byte instruction on S390.
7888
7889 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7890
7891 * gdb.ada/arr_arr: New testcase.
7892
7893 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7894
7895 * gdb.ada/pkd_arr_elem: New Testcase.
7896
7897 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
7898
7899 * gdb.reverse/break-precsave: Expect completion message for
7900 core file reads.
7901 * gdb.reverse/consecutive-precsave.exp: Likewise.
7902 * gdb.reverse/finish-precsave.exp: Likewise.
7903 * gdb.reverse/i386-precsave.exp: Likewise.
7904 * gdb.reverse/machinestate-precsave.exp: Likewise.
7905 * gdb.reverse/sigall-precsave.exp: Likewise.
7906 * gdb.reverse/solib-precsave.exp: Likewise.
7907 * gdb.reverse/step-precsave.exp: Likewise.
7908 * gdb.reverse/until-precsave.exp: Likewise.
7909 * gdb.reverse/watch-precsave.exp: Likewise.
7910
7911 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7912
7913 * gdb.base/bp-permanent.c: Include unistd.h.
7914 * gdb.python/py-framefilter-mi.c (main): Add return type.
7915 * gdb.python/py-framefilter.c (main): Likewise.
7916 * gdb.trace/actions-changed.c (main): Likewise.
7917
7918 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7919
7920 * gdb.mi/until.c: Add eye-catchers.
7921 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
7922 line numbers.
7923
7924 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7925
7926 * gdb.base/condbreak.exp: Drop references to removed non-prototype
7927 function header variants in break1.c.
7928 * gdb.base/ena-dis-br.exp: Likewise.
7929 * gdb.base/hbreak2.exp: Likewise.
7930 * gdb.reverse/until-precsave.exp: Drop references to removed
7931 non-prototype function header variants in ur1.c.
7932 * gdb.reverse/until-reverse.exp: Likewise.
7933
7934 2014-11-17 Petr Machata <pmachata@redhat.com>
7935
7936 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
7937 ${_cu_offset_size} bytes abbrev offset.
7938
7939 2014-11-15 Doug Evans <xdje42@gmail.com>
7940
7941 PR symtab/17559
7942 * gdb.base/line-symtabs.exp: New file.
7943 * gdb.base/line-symtabs.c: New file.
7944 * gdb.base/line-symtabs.h: New file.
7945
7946 2014-11-14 Yao Qi <yao@codesourcery.com>
7947
7948 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
7949 (func): Add label func_label.
7950 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
7951 Replace low_pc and high_pc with MACRO_AT_range.
7952 Replace name, low_pc and high_pc with MACRO_AT_func.
7953
7954 2014-11-14 Yao Qi <yao@codesourcery.com>
7955
7956 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
7957 Replace name, low_pc and high_pc with MACRO_AT_func.
7958
7959 2014-11-14 Yao Qi <yao@codesourcery.com>
7960
7961 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
7962 produce debug information.
7963 * gdb.dwarf2/implptr-optimized-out.S: Removed.
7964
7965 2014-11-14 Yao Qi <yao@codesourcery.com>
7966
7967 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
7968 object and get function length.
7969 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
7970 with MACRO_AT_func.
7971 (top-level): Replace gdb_compile and clean_restart with
7972 prepare_for_testing.
7973 * gdb.dwarf2/main.c (main): Add label main_label.
7974
7975 2014-11-14 Yao Qi <yao@codesourcery.com>
7976
7977 * lib/dwarf.exp (function_range): New procedure.
7978 (Dwarf::_handle_macro_at_func): New procedure.
7979 (Dwarf::_handle_macro_at_range): New procedure.
7980 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
7981
7982 2014-11-14 Yao Qi <yao@codesourcery.com>
7983
7984 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
7985 (_handle_attribute): New procedure.
7986
7987 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
7988
7989 * gdb.ada/cond_lang/foo.c (callme): Add return type.
7990 * gdb.base/call-sc.c (zed): Likewise.
7991 * gdb.base/checkpoint.c (main): Likewise.
7992 * gdb.base/dump.c (main): Likewise.
7993 * gdb.base/gcore.c (main): Likewise.
7994 * gdb.base/huge.c (main): Likewise.
7995 * gdb.base/multi-forks.c (main): Likewise.
7996 * gdb.base/pr10179-a.c (main): Likewise.
7997 * gdb.base/savedregs.c (main): Likewise.
7998 * gdb.base/sigaltstack.c (main): Likewise.
7999 * gdb.base/siginfo.c (main): Likewise.
8000 * gdb.base/structs.c (zed): Likewise.
8001 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
8002 * gdb.mi/mi-syn-frame.c (main): Likewise.
8003 * gdb.mi/until.c (foo, main): Likewise.
8004 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
8005 * gdb.base/solib-weak.c (foo): Declare.
8006 * gdb.base/attach-twice.c: Include stdio.h.
8007 * gdb.base/weaklib1.c: Likewise.
8008 * gdb.base/weaklib2.c: Likewise.
8009 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
8010 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
8011 unistd.h.
8012 * gdb.base/attach-pie-misread.c: Include stdlib.h.
8013 * gdb.mi/mi-exit-code.c: Likewise.
8014 * gdb.base/break-interp-lib.c: Include string.h.
8015 * gdb.base/coremaker.c: Likewise.
8016 * gdb.base/testenv.c: Likewise.
8017 * gdb.python/py-finish-breakpoint.c: Likewise.
8018 * gdb.base/inferior-died.c: Include sys/wait.h.
8019 * gdb.base/fileio.c: Include time.h.
8020 * gdb.base/async-shell.c: Include unistd.h.
8021 * gdb.base/dprintf-non-stop.c: Likewise.
8022 * gdb.base/info-os.c: Likewise.
8023 * gdb.mi/mi-console.c: Likewise.
8024 * gdb.mi/watch-nonstop.c: Likewise.
8025 * gdb.python/py-events.c: Likewise.
8026 * gdb.base/async.c (baz): Move up before its invocation.
8027 * gdb.base/code_elim2.c (my_global_func): Likewise.
8028 * gdb.base/skip-solib-lib.c (multiply): Likewise.
8029 * gdb.base/advance.c (func2): Likewise.
8030
8031 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8032
8033 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
8034 variant.
8035 * gdb.base/annota3.c: Likewise.
8036 * gdb.base/async.c: Likewise.
8037 * gdb.base/average.c: Likewise.
8038 * gdb.base/call-ar-st.c: Likewise.
8039 * gdb.base/call-rt-st.c: Likewise.
8040 * gdb.base/call-sc.c: Likewise.
8041 * gdb.base/call-strs.c: Likewise.
8042 * gdb.base/ending-run.c: Likewise.
8043 * gdb.base/execd-prog.c: Likewise.
8044 * gdb.base/exprs.c: Likewise.
8045 * gdb.base/foll-exec.c: Likewise.
8046 * gdb.base/foll-fork.c: Likewise.
8047 * gdb.base/foll-vfork.c: Likewise.
8048 * gdb.base/funcargs.c: Likewise.
8049 * gdb.base/gcore.c: Likewise.
8050 * gdb.base/jump.c: Likewise.
8051 * gdb.base/langs0.c: Likewise.
8052 * gdb.base/langs1.c: Likewise.
8053 * gdb.base/langs2.c: Likewise.
8054 * gdb.base/mips_pro.c: Likewise.
8055 * gdb.base/nodebug.c: Likewise.
8056 * gdb.base/opaque0.c: Likewise.
8057 * gdb.base/opaque1.c: Likewise.
8058 * gdb.base/recurse.c: Likewise.
8059 * gdb.base/run.c: Likewise.
8060 * gdb.base/scope0.c: Likewise.
8061 * gdb.base/scope1.c: Likewise.
8062 * gdb.base/setshow.c: Likewise.
8063 * gdb.base/setvar.c: Likewise.
8064 * gdb.base/shmain.c: Likewise.
8065 * gdb.base/shr1.c: Likewise.
8066 * gdb.base/shr2.c: Likewise.
8067 * gdb.base/sigall.c: Likewise.
8068 * gdb.base/signals.c: Likewise.
8069 * gdb.base/so-indr-cl.c: Likewise.
8070 * gdb.base/solib2.c: Likewise.
8071 * gdb.base/structs.c: Likewise.
8072 * gdb.base/sum.c: Likewise.
8073 * gdb.base/vforked-prog.c: Likewise.
8074 * gdb.base/watchpoint.c: Likewise.
8075 * gdb.reverse/shr2.c: Likewise.
8076 * gdb.reverse/until-reverse.c: Likewise.
8077 * gdb.reverse/ur1.c: Likewise.
8078 * gdb.reverse/watch-reverse.c: Likewise.
8079
8080 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8081
8082 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
8083 variant.
8084 * gdb.base/sepdebug.exp: Drop references to removed code.
8085
8086 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8087
8088 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
8089 variant. Preserve original line numbering.
8090 * gdb.base/list1.c: Likewise.
8091
8092 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8093
8094 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
8095 variant.
8096 * gdb.base/break1.c: Likewise.
8097 * gdb.base/break.exp: Drop references to removed code.
8098
8099 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8100
8101 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
8102 variant.
8103
8104 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8105
8106 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
8107
8108 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8109
8110 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
8111 logic into perform_all_tests() and invoke it with and without
8112 function header prototypes.
8113 (do_function_calls): Remove conditional XFAIL for PR 5318.
8114 (rerun_and_prepare): Remove duplicate code.
8115 (perform_all_tests): New. Main logic moved here.
8116
8117 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8118
8119 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
8120 code guarded by #ifdef NO_PROTOTYPES.
8121 (t_double_many_args): Likewise.
8122 (DEF_FUNC_MANY_ARGS_1): Likewise.
8123 (DEF_FUNC_VALUES_1): Likewise.
8124 (t_structs_ldc): Renamed from t_structs_fc in conditional code
8125 guarded by #ifdef PROTOTYPES.
8126
8127 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8128
8129 * gdb.mi/mi-console.c: Add eye-catcher.
8130 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
8131 instead of literal line number.
8132
8133 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8134
8135 * gdb.base/shr2.c: Add eye-catcher.
8136 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
8137 line number.
8138
8139 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8140
8141 * gdb.base/jump.c: Add eye-catchers.
8142 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
8143 numbers.
8144
8145 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8146
8147 * gdb.base/execd-prog.c: Add eye-catchers.
8148 * gdb.base/foll-exec.c: Likewise.
8149 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
8150 line numbers.
8151
8152 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8153
8154 * gdb.base/ending-run.c: Add eye-catchers.
8155 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
8156 literal line numbers.
8157
8158 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8159
8160 * gdb.base/call-rt-st.c: Add eye-catchers.
8161 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
8162 literal line numbers.
8163
8164 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8165
8166 * gdb.base/call-ar-st.c: Add eye-catchers.
8167 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
8168 literal line numbers.
8169
8170 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8171
8172 * gdb.base/average.c: Add eye-catchers.
8173 * gdb.base/sum.c: Likewise.
8174 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
8175 regexps dynamically.
8176
8177 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8178
8179 * gdb.base/solib1.c: Add eye-catchers.
8180 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
8181 literal line numbers.
8182
8183 2014-11-12 Pedro Alves <palves@redhat.com>
8184
8185 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
8186 leader has exited.
8187
8188 2014-11-12 Pedro Alves <palves@redhat.com>
8189
8190 * gdb.arch/i386-bp_permanent.c: New file.
8191 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
8192 (srcfile): Set to i386-bp_permanent.c.
8193 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
8194 that stepi does not execute the 'leave' instruction, instead of
8195 testing it does execute.
8196 * gdb.base/bp-permanent.c: New file.
8197 * gdb.base/bp-permanent.exp: New file.
8198
8199 2014-11-10 Doug Evans <xdje42@gmail.com>
8200
8201 PR symtab/17564
8202 * gdb.base/symtab-search-order.exp: New file.
8203 * gdb.base/symtab-search-order.c: New file.
8204 * gdb.base/symtab-search-order-1.c: New file.
8205 * gdb.base/symtab-search-order-shlib-1.c: New file.
8206
8207 2014-11-07 Pedro Alves <palves@redhat.com>
8208
8209 PR gdb/17511
8210 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8211 i?86-*-linux*.
8212
8213 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8214
8215 PR c++/17494
8216 * gdb.cp/pr17494.cc: New file.
8217 * gdb.cp/pr17494.exp: New file.
8218
8219 2014-11-02 Yao Qi <yao@codesourcery.com>
8220
8221 * gdb.python/python.exp: Get working directory and match the
8222 output of "set extended-prompt \\w " with it.
8223
8224 2014-10-30 Doug Evans <dje@google.com>
8225
8226 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8227 in objfiles.
8228 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8229 in progspaces.
8230
8231 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
8232
8233 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8234 * gdb.base/realname-expand.exp: Likewise.
8235 * gdb.linespec/macro-relative.exp: Likewise.
8236
8237 2014-10-29 Pedro Alves <palves@redhat.com>
8238
8239 PR gdb/17408
8240 * gdb.threads/schedlock.c (some_function): New function.
8241 (call_function): New global.
8242 (MAYBE_CALL_SOME_FUNCTION): New macro.
8243 (thread_function): Call it.
8244 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8245 and use it instead of a global counter. Adjust all callers.
8246 (get_current_thread): Use "find current thread" for test message
8247 here rather than having all callers pass down the same string.
8248 (goto_loop): New procedure, factored out from ...
8249 (my_continue): ... this.
8250 (step_ten_loops): Change parameter from test message to command to
8251 use. Adjust.
8252 (list_count): Delete global.
8253 (check_result): New procedure, factored out from duplicate top
8254 level code.
8255 (continue tests): Wrap in with_test_prefix.
8256 (test_step): New procedure, factored out from duplicate top level
8257 code.
8258 (top level): Test "step" in combination with all scheduler-locking
8259 modes. Test "next" in combination with all scheduler-locking
8260 modes, and in combination with stepping over a function call or
8261 not.
8262 * gdb.threads/next-bp-other-thread.c: New file.
8263 * gdb.threads/next-bp-other-thread.exp: New file.
8264
8265 2014-10-29 Pedro Alves <palves@redhat.com>
8266
8267 PR python/17372
8268 * gdb.python/python.exp: Test a multi-line command that spawns
8269 interactive Python.
8270 * gdb.base/multi-line-starts-subshell.exp: New file.
8271
8272 2014-10-29 Yao Qi <yao@codesourcery.com>
8273
8274 * gdb.base/fileio.exp: Make directories on host.
8275
8276 2014-10-29 Yao Qi <yao@codesourcery.com>
8277
8278 * gdb.base/fileio.c (test_write): Close the file.
8279
8280 2014-10-28 Pedro Alves <palves@redhat.com>
8281
8282 PR gdb/12623
8283 * gdb.base/sigstep.c (no_handler): New global.
8284 (main): If 'no_handler is true, set the signal handlers to
8285 SIG_IGN.
8286 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8287 with_sw_watch and no_handler parameters. Handle them.
8288 (top level) <stepping over handler when stopped at a breakpoint
8289 test>: Add a test axis for testing with a software watchpoint, and
8290 another for testing with the signal handler set to SIG_IGN.
8291 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8292 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8293
8294 2014-10-28 Pedro Alves <palves@redhat.com>
8295
8296 PR gdb/17511
8297 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8298 * gdb.base/sigstep.exp (other_handler_location): New global.
8299 (advance): Support stepping into the signal handler, and running
8300 commands while in the handler.
8301 (in_handler_map): New global.
8302 (top level): In the advance test, add combinations for getting
8303 into the handler with stepping commands, and for running commands
8304 in the handler. Add comment descripting the advancei tests.
8305
8306 2014-10-28 Pedro Alves <palves@redhat.com>
8307
8308 * gdb.base/sigstep.exp: Use build_executable instead of
8309 prepare_for_testing.
8310 (top level): Move code that starts GDB, runs to main and creates a
8311 display to ...
8312 (restart): ... this new procedure.
8313 (top level): Move backtrace from signal handler test to ...
8314 (validate_backtrace): ... this new procedure.
8315 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
8316 with_test_prefix. Always restart GDB.
8317 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
8318 with_test_prefix. Always restart GDB. No need to delete
8319 breakpoints after the test.
8320 (test_skip_handler): Remove prefix parameter.
8321 (skip_over_handler, breakpoint_to_handler)
8322 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
8323 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
8324 restart GDB. No need to delete breakpoints after the test.
8325 (top level): Use foreach to call the test procedures with
8326 different commands.
8327
8328 2014-10-28 Pedro Alves <palves@redhat.com>
8329
8330 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
8331 instead of GNATS numbers.
8332 * gdb.base/sigbpt.exp: Likewise.
8333 * gdb.base/siginfo.exp: Likewise.
8334 * gdb.base/sigstep.exp: Likewise.
8335
8336 2014-10-27 Pedro Alves <palves@redhat.com>
8337
8338 * gdb.base/sigstep.c (dummy): New global.
8339 (main): Issue a couple writes to the new global.
8340 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
8341 procedures.
8342 (skip_over_handler): Use test_skip_handler.
8343 (top level): Call skip_over_handler for stepi and nexti too.
8344 (breakpoint_over_handler): Use test_skip_handler.
8345 (top level): Call breakpoint_over_handler for stepi and nexti too.
8346
8347 2014-10-27 Yao Qi <yao@codesourcery.com>
8348
8349 * gdb.trace/tfile.c (adjust_function_address)
8350 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
8351 function descriptor.
8352
8353 2014-10-24 Don Breazeal <donb@codesourcery.com>
8354
8355 * gdb.base/foll-fork.exp (test_follow_fork,
8356 catch_fork_child_follow): Check for updated fork messages emitted
8357 from infrun.c.
8358 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
8359 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
8360 vfork_and_exec_child_follow_through_step): Check for updated vfork
8361 messages emitted from infrun.c.
8362
8363 2014-10-24 Pedro Alves <palves@redhat.com>
8364
8365 * gdb.base/corefile.exp: Remove references to ultrix.
8366 * gdb.base/interrupt.exp: Likewise.
8367 * gdb.base/whatis.exp: Likewise.
8368 * gdb.gdb/selftest.exp: Likewise.
8369 * gdb.threads/manythreads.exp: Likewise.
8370 * gdb.threads/print-threads.exp: Likewise.
8371 * gdb.threads/pthreads.exp:: Likewise.
8372 * gdb.threads/schedlock.exp: Likewise.
8373
8374 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
8375
8376 * gdb.cp/non-trivial-retval.cc: Add a test case.
8377 * gdb.cp/non-trivial-retval.exp: Add a test.
8378
8379 2014-10-20 Yao Qi <yao@codesourcery.com>
8380
8381 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
8382 * gdb.python/py-objfile-script-gdb.py: New file.
8383 * gdb.python/py-objfile-script.exp: Update reference to
8384 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
8385 of remote_download. Remove the dest file.
8386
8387 2014-10-20 Yao Qi <yao@codesourcery.com>
8388
8389 * gdb.base/checkpoint.exp: Don't remove file copied on host.
8390 * gdb.base/step-line.exp: Likewise.
8391 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8392 * gdb.dwarf2/dw2-basic.exp: Likewise.
8393 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8394 * gdb.dwarf2/dw2-filename.exp: Likewise.
8395 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8396 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8397 * gdb.dwarf2/dw2-producer.exp: Likewise.
8398 * gdb.dwarf2/mac-fileno.exp: Likewise.
8399 * gdb.python/py-frame-args.exp: Likewise.
8400 * gdb.python/py-framefilter.exp: Likewise.
8401 * gdb.python/py-mi.exp: Likewise.
8402 * gdb.python/py-objfile-script.exp: Likewise
8403 * gdb.python/py-pp-integral.exp: Likewise.
8404 * gdb.python/py-pp-re-notag.exp: Likewise.
8405 * gdb.python/py-prettyprint.exp: Likewise.
8406 * gdb.python/py-section-script.exp: Likewise.
8407 * gdb.python/py-typeprint.exp: Likewise.
8408 * gdb.python/py-xmethods.exp: Likewise.
8409 * gdb.stabs/weird.exp: Likewise.
8410 * gdb.xml/tdesc-regs.exp: Likewise.
8411
8412 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
8413
8414 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
8415 (out_cu): Use addr_len for the size of addresses.
8416 (out_line): Likewise. Size DW_LNE_set_address instruction
8417 according to addr_len.
8418 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
8419 (FUNC): Add START_INSNS to definition.
8420
8421 2014-10-18 Yao Qi <yao@codesourcery.com>
8422
8423 * gdb.base/argv0-symlink.exp: Check argv[0] value if
8424 gdb_has_argv0 return true.
8425 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
8426 check [target_info exists noargs], check [gdb_has_argv0]
8427 instead.
8428 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8429 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
8430 procedures.
8431
8432 2014-10-17 Doug Evans <dje@google.com>
8433
8434 * gdb.python/py-events.exp: Update expected output for clear_objfiles
8435 event.
8436 * gdb.python/py-events.py: Add clear_objfiles event.
8437
8438 2014-10-17 Doug Evans <dje@google.com>
8439
8440 * gdb.python/py-objfile.exp: Test progspace attribute.
8441
8442 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
8443
8444 * gdb.guile/scm-breakpoint.exp: Do not assume any
8445 directory separators when matching source file paths.
8446 * gdb.python/py-breakpoint.exp: Likewise.
8447 * gdb.reverse/break-precsave.exp: Likewise.
8448 * gdb.reverse/break-reverse.exp: Likewise.
8449 * gdb.reverse/consecutive-precsave.exp: Likewise.
8450 * gdb.reverse/finish-precsave.exp: Likewise.
8451 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8452 * gdb.reverse/finish-reverse.exp: Likewise.
8453 * gdb.reverse/i386-precsave.exp: Likewise.
8454 * gdb.reverse/i387-env-reverse.exp: Likewise.
8455 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8456 * gdb.reverse/machinestate-precsave.exp: Likewise.
8457 * gdb.reverse/machinestate.exp: Likewise.
8458 * gdb.reverse/sigall-precsave.exp: Likewise.
8459 * gdb.reverse/solib-precsave.exp: Likewise.
8460 * gdb.reverse/step-precsave.exp: Likewise.
8461 * gdb.reverse/until-precsave.exp: Likewise.
8462 * gdb.reverse/watch-precsave.exp: Likewise.
8463 * gdb.reverse/watch-reverse.exp: Likewise.
8464
8465 2014-10-17 Yao Qi <yao@codesourcery.com>
8466
8467 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
8468 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
8469
8470 2014-10-17 Pedro Alves <palves@redhat.com>
8471
8472 PR gdb/17471
8473 * gdb.base/bg-execution-repeat.c: New file.
8474 * gdb.base/bg-execution-repeat.exp: New file.
8475
8476 2014-10-17 Pedro Alves <palves@redhat.com>
8477
8478 PR gdb/17300
8479 * gdb.base/continue-all-already-running.c: New file.
8480 * gdb.base/continue-all-already-running.exp: New file.
8481
8482 2014-10-17 Pedro Alves <palves@redhat.com>
8483
8484 PR gdb/17472
8485 * gdb.base/annota-input-while-running.c: New file.
8486 * gdb.base/annota-input-while-running.exp: New file.
8487
8488 2014-10-17 Pedro Alves <palves@redhat.com>
8489
8490 * gdb.base/callfuncs.exp: emove references to osf.
8491 * gdb.base/sigall.exp: Likewise.
8492 * gdb.gdb/selftest.exp: Likewise.
8493 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
8494 * gdb.mi/non-stop.c: Likewise.
8495 * gdb.mi/pthreads.c: Likewise.
8496 * gdb.reverse/sigall-precsave.exp: Likewise.
8497 * gdb.reverse/sigall-reverse.exp: Likewise.
8498 * gdb.threads/pthreads.c: Likewise.
8499 * gdb.threads/pthreads.exp: Likewise.
8500
8501 2014-10-17 Yao Qi <yao@codesourcery.com>
8502
8503 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
8504 check 'target_info exists noargs'.
8505 (test_command_prompt_position): Likewise.
8506 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
8507 Remove "set args".
8508 (progvar_simple_while_test): Likewise.
8509 (progvar_complex_if_while_test): Likewise.
8510 (if_while_breakpoint_command_test): Likewise.
8511 (infrun_breakpoint_command_test): Likewise.
8512 (breakpoint_command_test): Likewise.
8513 (watchpoint_command_test): Likewise.
8514 (bp_deleted_in_command_test): Likewise.
8515 (temporary_breakpoint_commands): Likewise.
8516
8517 2014-10-16 Yao Qi <yao@codesourcery.com>
8518
8519 * gdb.base/remotetimeout.exp: Remove noargs checking.
8520
8521 2014-10-15 Pedro Alves <palves@redhat.com>
8522
8523 PR breakpoints/9649
8524 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
8525 * gdb.base/breakpoint-in-ro-region.exp
8526 (probe_target_hardware_step): New procedure.
8527 (top level): Probe hardware stepping and hardware breakpoint
8528 support. Test stepping through a read-only region, with both
8529 "breakpoint auto-hw" on and off and both "always-inserted" on and
8530 off.
8531
8532 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
8533
8534 * gdb.dlang/demangle.exp: Update for demangling changes.
8535
8536 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8537
8538 * gdb.cp/non-trivial-retval.cc: Add new test cases.
8539 * gdb.cp/non-trivial-retval.exp: Add new tests.
8540
8541 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8542
8543 PR c++/13403
8544 PR c++/15154
8545 * gdb.cp/non-trivial-retval.cc: New file.
8546 * gdb.cp/non-trivial-retval.exp: New file.
8547
8548 2014-10-15 Yao Qi <yao@codesourcery.com>
8549
8550 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
8551 remote host.
8552
8553 2014-10-15 Yao Qi <yao@codesourcery.com>
8554
8555 * gdb.python/py-symbol.exp: Match file base name if host is
8556 remote, otherwise match file name with dir name.
8557 * gdb.python/py-symtab.exp: Likewise.
8558 * gdb.python/python.exp: Likewise.
8559
8560 2014-10-15 Yao Qi <yao@codesourcery.com>
8561
8562 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
8563 pattern.
8564 * gdb.python/py-symtab.exp: Likewise.
8565 * gdb.python/python.exp: Remove trailing ".*". Fix typo
8566 locationn.
8567
8568 2014-10-14 Joel Brobecker <brobecker@adacore.com>
8569
8570 * gdb.ada/addr_arith: New testcase.
8571
8572 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
8573
8574 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
8575 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
8576 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
8577 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
8578
8579 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
8580
8581 * gdb.arch/stap-eval-lang-ada.S: Likewise.
8582 * gdb.arch/stap-eval-lang-ada.c: Likewise.
8583 * gdb.arch/stap-eval-lang-ada.exp: New file.
8584
8585 2014-10-14 Yao Qi <yao@codesourcery.com>
8586
8587 * gdb.mi/mi-var-child.c (nothing1): New function.
8588 (nothing2): New function.
8589 (do_children_tests): Set function pointers by nothing1 and
8590 nothing2.
8591 * gdb.mi/mi-var-child.exp: Step over new added statements.
8592 Update test to match the new output.
8593 * gdb.mi/var-cmd.c (nothing1): New function.
8594 (nothing2): New function.
8595 (do_children_tests): Set function pointers by nothing1 and
8596 nothing2.
8597 * gdb.mi/mi-var-display.exp: Update test to match output.
8598 Step to the line specified by $line_dct_nothing.
8599 Increase the number of lines to step.
8600
8601 2014-10-14 Yao Qi <yao@codesourcery.com>
8602
8603 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
8604 tests.
8605 * gdb.mi/mi2-var-child.exp: Likewise.
8606
8607 2014-10-13 Doug Evans <dje@google.com>
8608
8609 * gdb.python/py-objfile.exp: Change name of file name test.
8610
8611 2014-10-13 Doug Evans <dje@google.com>
8612
8613 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
8614 from the start of the CU.
8615
8616 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8617 Yao Qi <yao@codesourcery.com>
8618
8619 Fix "save breakpoints" for "catch" command.
8620 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
8621 Remove -nonewline. Match also the added "main" line.
8622
8623 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8624
8625 Fix "save breakpoints" for "disable $bpnum" command.
8626 * gdb.base/save-bp.c (main): Add label.
8627 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
8628
8629 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8630
8631 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
8632
8633 2014-10-11 Yao Qi <yao@codesourcery.com>
8634
8635 * gdb.server/server-kill.exp: Execute command
8636 "set remote trace-status-packet on" before "tstatus".
8637
8638 2014-10-11 Yao Qi <yao@codesourcery.com>
8639
8640 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
8641 (main): Call getppid.
8642 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
8643 and continue to it. Read variable "server_pid".
8644
8645 2014-10-11 Yao Qi <yao@codesourcery.com>
8646
8647 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
8648
8649 2014-10-11 Yao Qi <yao@codesourcery.com>
8650
8651 * gdb.threads/thread-find.exp: Don't execute command
8652 "info threads".
8653 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
8654 * gdb.threads/linux-dp.exp: Don't check the condition
8655 $threads_created equals to zero.
8656
8657 2014-10-10 Pedro Alves <palves@redhat.com>
8658
8659 * gdb.base/bigcore.exp: Remove references to IRIX.
8660 * gdb.base/funcargs.exp: Likewise.
8661 * gdb.base/interrupt.exp: Likewise.
8662 * gdb.base/mips_pro.exp: Likewise.
8663 * gdb.base/nodebug.exp: Likewise.
8664 * gdb.base/setvar.exp: Likewise.
8665 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
8666
8667 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8668 Pedro Alves <palves@redhat.com>
8669
8670 PR symtab/14466
8671 * gdb.base/vdso-warning.c: New file.
8672 * gdb.base/vdso-warning.exp: New file.
8673
8674 2014-10-02 Doug Evans <dje@google.com>
8675
8676 * gdb.base/structs.c (main): Don't run forever.
8677
8678 2014-10-02 Pedro Alves <palves@redhat.com>
8679
8680 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
8681 (top level) <stop threads 1, stop threads 2>: Use it.
8682
8683 2014-10-02 Pedro Alves <palves@redhat.com>
8684
8685 * gdb.threads/break-while-running.exp (test): Add new
8686 'update_thread_list' argument. Skip "info threads" if false.
8687 (top level): Add new 'update_thread_list' axis.
8688
8689 2014-10-02 Pedro Alves <palves@redhat.com>
8690
8691 PR breakpoints/17431
8692 * gdb.base/execl-update-breakpoints.c: New file.
8693 * gdb.base/execl-update-breakpoints.exp: New file.
8694
8695 2014-10-01 Pedro Alves <palves@redhat.com>
8696
8697 * gdb.base/breakpoint-in-ro-region.c: New file.
8698 * gdb.base/breakpoint-in-ro-region.exp: New file.
8699
8700 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
8701
8702 * gdb.mi/mi-exit-code.exp: New file.
8703 * gdb.mi/mi-exit-code.c: New file.
8704
8705 2014-09-30 Yao Qi <yao@codesourcery.com>
8706
8707 * lib/prelink-support.exp (build_executable_own_libs): Error if
8708 the target isn't native.
8709
8710 2014-09-30 Yao Qi <yao@codesourcery.com>
8711
8712 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
8713 false.
8714
8715 2014-09-22 Pedro Alves <palves@redhat.com>
8716
8717 * gdb.threads/break-while-running.exp: New file.
8718 * gdb.threads/break-while-running.c: New file.
8719
8720 2014-09-19 Yao Qi <yao@codesourcery.com>
8721
8722 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
8723 Invoke test. Restart GDB with --readnow and invoke test again.
8724
8725 2014-09-19 Yao Qi <yao@codesourcery.com>
8726
8727 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
8728 proc set_breakpoint_on_gcd_function. Invoke
8729 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
8730 invoke set_breakpoint_on_gcd_function again.
8731
8732 2014-09-18 Doug Evans <dje@google.com>
8733
8734 * gdb.dwarf2/symtab-producer.exp: New file.
8735
8736 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8737
8738 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
8739 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
8740 * gdb.base/global-var-nested-by-dso.c: Likewise.
8741 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8742
8743 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8744 Pedro Alves <palves@redhat.com>
8745
8746 * gdb.base/watch-bitfields.exp: Pass string other than test file
8747 name to prepare_for_testing.
8748 (watch): New procedure.
8749 (expect_watchpoint): Use with_test_prefix.
8750 (top level): Factor out tests to ...
8751 (test_watch_location, test_regular_watch): ... these new
8752 procedures, and use with_test_prefix and gdb_continue_to_end.
8753
8754 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
8755
8756 PR breakpoints/12526
8757 * gdb.base/watch-bitfields.exp: New file.
8758 * gdb.base/watch-bitfields.c: New file.
8759
8760 2014-09-16 Pedro Alves <palves@redhat.com>
8761
8762 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
8763 software and hardware addresses, not software address against
8764 itself.
8765
8766 2014-09-16 Pedro Alves <palves@redhat.com>
8767
8768 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
8769 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
8770
8771 2014-09-16 Pedro Alves <palves@redhat.com>
8772
8773 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
8774 files.
8775 * gdb.base/a2-run.exp: Remove all code guarded by istarget
8776 "*-*-vxworks*" throughout.
8777 * gdb.base/break.exp: Likewise.
8778 * gdb.base/default.exp: Likewise.
8779 * gdb.base/scope.exp: Likewise.
8780 * gdb.base/sepdebug.exp: Likewise.
8781 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
8782 throughout.
8783 * gdb.base/run.c: Likewise.
8784 * gdb.base/sepdebug.c: Likewise.
8785 * gdb.hp/gdb.aCC/run.c: Likewise.
8786 * gdb.reverse/until-reverse.c: Likewise.
8787 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
8788
8789 2014-09-16 Yao Qi <yao@codesourcery.com>
8790
8791 * boards/local-remote-host-native.exp: New file.
8792
8793 2014-09-14 Doug Evans <xdje42@gmail.com>
8794
8795 * gdb.threads/queue-signal.c (thread_count): New variable.
8796 (thread_count_mutex, thread_count_condvar): New variables.
8797 (incr_thread_count, wait_all_threads_running): New functions.
8798 (main): Wait for all threads to be in their thread functions.
8799
8800 2014-09-13 Doug Evans <xdje42@gmail.com>
8801
8802 * gdb.threads/queue-signal.c: New file.
8803 * gdb.threads/queue-signal.exp: New file.
8804
8805 2014-09-13 Doug Evans <xdje42@gmail.com>
8806
8807 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
8808 be consistent with what default_gdb_init uses.
8809 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
8810 the plain text of the prompt. Add some logging printfs.
8811 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
8812
8813 2014-09-12 Pedro Alves <palves@redhat.com>
8814
8815 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
8816 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
8817 * gdb.arch/i386-size-overlap.exp: Likewise.
8818 * gdb.arch/i386-size.exp: Likewise.
8819 * gdb.arch/i386-unwind.exp: Likewise.
8820 * gdb.base/a2-run.exp: Likewise.
8821 * gdb.base/break.exp: Likewise.
8822 * gdb.base/charset.exp: Likewise.
8823 * gdb.base/chng-syms.exp: Likewise.
8824 * gdb.base/commands.exp: Likewise.
8825 * gdb.base/dbx.exp: Likewise.
8826 * gdb.base/find.exp: Likewise.
8827 * gdb.base/funcargs.exp: Likewise.
8828 * gdb.base/jit-simple.exp: Likewise.
8829 * gdb.base/reread.exp: Likewise.
8830 * gdb.base/sepdebug.exp: Likewise.
8831 * gdb.base/step-bt.exp: Likewise.
8832 * gdb.cp/mb-inline.exp: Likewise.
8833 * gdb.cp/mb-templates.exp: Likewise.
8834 * gdb.objc/basicclass.exp: Likewise.
8835 * gdb.threads/killed.exp: Likewise.
8836
8837 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8838
8839 PR tdep/17379
8840 * gdb.arch/powerpc-stackless.S: New file.
8841 * gdb.arch/powerpc-stackless.exp: New file.
8842
8843 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8844
8845 * gdb.base/attach.c: Include unistd.h.
8846 (main): Call alarm. Add label postloop.
8847 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
8848 gdb_breakpoint, gdb_continue_to_breakpoint.
8849 (test_command_line_attach_run): Kill ${testpid} in one exit path.
8850
8851 2014-09-11 Pedro Alves <palves@redhat.com>
8852
8853 PR gdb/17347
8854 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
8855 * gdb.base/attach.exp (test_command_line_attach_run): New
8856 procedure.
8857 (top level): Call it.
8858
8859 2014-09-11 Pedro Alves <palves@redhat.com>
8860
8861 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
8862 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
8863 (do_command_attach_tests): Use spawn_wait_for_attach.
8864 * gdb.base/solib-overlap.exp: Likewise.
8865 * gdb.multi/multi-attach.exp: Likewise.
8866 * gdb.python/py-prompt.exp: Likewise.
8867 * gdb.python/py-sync-interp.exp: Likewise.
8868 * gdb.server/ext-attach.exp: Likewise.
8869
8870 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
8871
8872 * gdb.fortran/array-element.exp: Remove unexpected "continue"
8873 command in testcase. Simplify testcase.
8874
8875 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8876
8877 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
8878
8879 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8880
8881 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
8882
8883 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8884
8885 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
8886
8887 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8888
8889 * gdb.dwarf2/dynarr-ptr.c: New file.
8890 * gdb.dwarf2/dynarr-ptr.exp: New file.
8891
8892 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8893
8894 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
8895 of 30 rather than hardcoding 120 for a slow test case. Take the
8896 `gdb,timeout' target setting into account for this calculation.
8897 Don't extend the timeout for the test cases that don't need it.
8898
8899 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8900
8901 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
8902 a factor of 2 for a slow test case. Take the `gdb,timeout'
8903 target setting into account for this calculation.
8904 * gdb.reverse/until-precsave.exp: Increase the timeout by
8905 a factor of 15 and 3 respectively rather than adding 120
8906 for a pair of slow test cases. Take the `gdb,timeout'
8907 target setting into account for this calculation.
8908
8909 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8910
8911 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
8912 timeout, don't pass one down to gdb_expect.
8913 (gdb_expect): Rework timeout selection.
8914
8915 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8916
8917 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
8918 exception on timeout.
8919 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
8920 (gdbserver_start_extended): Catch any `gdbserver_start' error
8921 exceptions.
8922 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
8923 * lib/mi-support.exp (mi_gdb_target_load): Catch any
8924 `gdbserver_gdb_load' error exceptions.
8925
8926 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8927
8928 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
8929 120 on waiting for the TCP socket to open.
8930
8931 2014-09-09 Doug Evans <xdje42@gmail.com>
8932
8933 * gdb.base/default.exp (show_conv_list): Add _caller_is,
8934 _caller_matches, _any_caller_is, _any_caller_matches.
8935
8936 2014-09-09 Doug Evans <xdje42@gmail.com>
8937
8938 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
8939
8940 2014-09-09 Yao Qi <yao@codesourcery.com>
8941
8942 * gdb.mi/mi-var-display.exp: Set print symbol off.
8943
8944 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
8945
8946 PR gdb/17035
8947 * gdb.base/commands.exp: Add tests to verify user-defined
8948 commands with empty bodies.
8949 * gdb.python/py-cmd.exp: Test that we don't show user-defined
8950 python commands in `show user command`.
8951 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
8952 scheme commands in `show user command`.
8953
8954 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8955
8956 PR python/17355
8957 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
8958 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
8959 * gdb.python/py-framefilter-invalidarg.exp: New file.
8960 * gdb.python/py-framefilter-invalidarg.py: New file.
8961
8962 2014-09-06 Doug Evans <xdje42@gmail.com>
8963
8964 PR 15276
8965 * gdb.python/py-caller-is.c: New file.
8966 * gdb.python/py-caller-is.exp: New file.
8967
8968 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
8969
8970 PR gdb/17235
8971 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
8972 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
8973
8974 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
8975
8976 PR fortran/17237
8977 * gdb.fortran/print-formatted.exp: New file.
8978 * gdb.fortran/print-formatted.f90: Likewise.
8979
8980 2014-09-03 Sasha Smundak <asmundak@google.com>
8981
8982 * gdb.python/py-frame.exp: Test Frame.read_register.
8983
8984 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
8985
8986 PR python/16699
8987 * gdb.python/py-completion.exp: New file.
8988 * gdb.python/py-completion.py: Likewise.
8989
8990 2014-08-28 Doug Evans <dje@google.com>
8991
8992 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
8993 eax,etc. are live with values set by gdb and thus the compiler can't
8994 use them.
8995 * gdb.arch/i386-pseudo.c (main): Ditto.
8996
8997 2014-08-27 Doug Evans <dje@google.com>
8998
8999 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
9000
9001 2014-08-25 Doug Evans <dje@google.com>
9002
9003 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
9004 (main): Ditto.
9005
9006 2014-08-25 Doug Evans <dje@google.com>
9007
9008 * gdb.threads/thread-execl.exp: #include <stdio.h>.
9009
9010 2014-08-24 Yao Qi <yao@codesourcery.com>
9011
9012 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
9013 symbol off.
9014 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
9015
9016 2014-08-22 Doug Evans <dje@google.com>
9017
9018 PR 17276
9019 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
9020 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
9021 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
9022
9023 2014-08-22 Yao Qi <yao@codesourcery.com>
9024
9025 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
9026 * gdb.python/py-finish-breakpoint2.exp: Likewise.
9027 * gdb.python/python.exp: Likewise. Use .py file on the host
9028 instead of the build.
9029
9030 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9031
9032 * gdb.threads/gcore-stale-thread.c: New file.
9033 * gdb.threads/gcore-stale-thread.exp: New file.
9034
9035 2014-08-21 Pedro Alves <palves@redhat.com>
9036
9037 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
9038 * gdb.base/gcore-relro-pie.exp: Likewise.
9039 * gdb.base/gcore-relro.exp: Likewise.
9040 * gdb.base/gcore.exp: Likewise.
9041 * gdb.base/print-symbol-loading.exp: Likewise.
9042 * gdb.threads/gcore-thread.exp: Likewise.
9043 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
9044
9045 2014-08-20 Pedro Alves <palves@redhat.com>
9046 Jan Kratochvil <jan.kratochvil@redhat.com>
9047
9048 * Makefile.in (EXTRA_RULES, CC): New variables, get from
9049 configure.
9050 (EXPECT): Handle READ1 being set.
9051 (all): Depend on EXTRA_RULES.
9052 (check-read1, expect-read1, read1.so, read1): New rules.
9053 * README (Testsuite Parameters): Document the READ1 make variable.
9054 (Race detection): New section.
9055 * configure: Regenerate.
9056 * configure.ac: If build==host==target, and running under a
9057 GNU/glibc system, add read1 to the extra Makefile rules.
9058 (EXTRA_RULES): AC_SUBST it.
9059 * lib/read1.c: New file.
9060
9061 2014-08-20 Joel Brobecker <brobecker@adacore.com>
9062
9063 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
9064 the handling of variables declared as a typedef to an array
9065 which a DW_AT_data_location attribute.
9066
9067 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
9068 Pedro Alves <palves@redhat.com>
9069
9070 PR symtab/14604
9071 PR symtab/14605
9072 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
9073 gdb_test.
9074
9075 2014-08-19 Pedro Alves <palves@redhat.com>
9076
9077 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
9078
9079 2014-08-19 Yao Qi <yao@codesourcery.com>
9080
9081 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
9082 right line.
9083
9084 2014-08-18 David Blaikie <dblaikie@gmail.com>
9085
9086 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
9087
9088 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9089
9090 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
9091 attribute in array range.
9092
9093 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9094
9095 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
9096
9097 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9098
9099 PR c++/17132
9100 * gdb.cp/pr17132.cc: New file.
9101 * gdb.cp/pr17132.exp: New file.
9102
9103 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9104
9105 * gdb.python/py-xmethods.py (A_getarrayind)
9106 (E_method_char_worker.__call__, E_method_int_worker.__call__):
9107 Use 'print' with function call syntax.
9108 (E_method_matcher.match): Fix tab vs space indentation mixup.
9109
9110 2014-08-15 Yao Qi <yao@codesourcery.com>
9111
9112 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
9113 false.
9114
9115 2014-08-15 Yao Qi <yao@codesourcery.com>
9116
9117 * gdb.cp/casts.exp: Set print symbol off.
9118 * gdb.cp/class2.exp: Likewise.
9119 * gdb.cp/overload.exp: Likewise.
9120 * gdb.cp/templates.exp: Likewise.
9121
9122 2014-08-11 Doug Evans <dje@google.com>
9123
9124 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9125 (test_load_shlib): Update.
9126
9127 2014-08-09 Yao Qi <yao@codesourcery.com>
9128
9129 * gdb.base/display.exp: Invoke is_address_zero_readable.
9130 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
9131 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9132 * gdb.base/hbreak-unmapped.exp: Return if
9133 is_address_zero_readable returns true.
9134 * gdb.base/signest.exp: Likewise.
9135 * gdb.base/signull.exp: Likewise.
9136 * gdb.base/sigbpt.exp: Likewise.
9137 * gdb.guile/scm-disasm.exp: Do the test if
9138 is_address_zero_readable returns false.
9139 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
9140 * gdb.python/py-arch.exp: Likewise.
9141 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
9142 * lib/gdb.exp (is_address_zero_readable): New proc.
9143
9144 2014-08-09 Yao Qi <yao@codesourcery.com>
9145
9146 PR testsuite/13443
9147 * gdb.mi/mi-var-display.exp: Make test messages unique.
9148
9149 2014-08-04 Tom Tromey <tromey@redhat.com>
9150
9151 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
9152 target 0".
9153
9154 2014-08-04 Tom Tromey <tromey@redhat.com>
9155
9156 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
9157 "target_resume".
9158
9159 2014-08-01 Joel Brobecker <brobecker@adacore.com>
9160
9161 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9162 inner_vla_struct_object_size.
9163 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
9164 as xfail.
9165
9166 2014-07-30 Pedro Alves <palves@redhat.com>
9167
9168 * gdb.threads/signal-command-handle-nopass.exp (test): Add
9169 comment.
9170
9171 2014-07-29 Yao Qi <yao@codesourcery.com>
9172
9173 PR gdb/17206
9174 * gdb.base/until-nodebug.exp: New.
9175
9176 2014-07-28 Doug Evans <xdje42@gmail.com>
9177
9178 PR guile/17203
9179 * gdb.guile/scm-parameter.exp: Add tests for trying to create
9180 previously existing parameter, and previously ambiguously spelled
9181 parameter.
9182
9183 2014-07-28 Will Newton <will.newton@linaro.org>
9184
9185 * gdb.base/varargs.exp: Remove KFAILs for ARM.
9186
9187 2014-07-26 Ludovic Courtès <ludo@gnu.org>
9188 Doug Evans <xdje42@gmail.com>
9189
9190 PR guile/17146
9191 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
9192
9193 2014-07-25 Pedro Alves <palves@redhat.com>
9194
9195 * gdb.threads/signal-command-handle-nopass.c: New file.
9196 * gdb.threads/signal-command-handle-nopass.exp: New file.
9197 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
9198 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
9199 * gdb.threads/signal-delivered-right-thread.c: New file.
9200 * gdb.threads/signal-delivered-right-thread.exp: New file.
9201
9202 2014-07-25 Pedro Alves <palves@redhat.com>
9203
9204 * gdb.base/double-prompt-target-event-error.exp
9205 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
9206 match.
9207 (cancel_pagination_in_target_event): Rework double prompt
9208 detection.
9209 * gdb.base/paginate-after-ctrl-c-running.exp
9210 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
9211 <return>' match.
9212 * gdb.base/paginate-bg-execution.exp
9213 (test_bg_execution_pagination_return)
9214 (test_bg_execution_pagination_cancel): Remove '-notransfer
9215 <return>' matches.
9216 * gdb.base/paginate-execution-startup.exp
9217 (test_fg_execution_pagination_return)
9218 (test_fg_execution_pagination_cancel): Remove '-notransfer
9219 <return>' matches.
9220 * gdb.base/paginate-inferior-exit.exp
9221 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9222 match.
9223 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9224 * lib/gdb.exp (pagination_prompt): Run text through
9225 string_to_regexp.
9226 (gdb_test_multiple): Match $pagination_prompt instead of
9227 "<return>".
9228 (string_to_regexp): Move to lib/gdb-utils.exp.
9229
9230 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9231
9232 * gdb.arch/amd64-entry-value-paramref.S: New file.
9233 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9234 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9235 * gdb.arch/amd64-optimout-repeat.S: New file.
9236 * gdb.arch/amd64-optimout-repeat.c: New file.
9237 * gdb.arch/amd64-optimout-repeat.exp: New file.
9238
9239 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9240
9241 PR gdb/17170
9242 * gdb.base/statistics.exp: New file.
9243
9244 2014-07-17 Doug Evans <dje@google.com>
9245
9246 PR gdb/17170
9247 * gdb.base/maint.exp: Update testing of per-command stats.
9248
9249 2014-07-16 Pedro Alves <palves@redhat.com>
9250
9251 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9252 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9253 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9254 (tfile_write_buf): New functions.
9255 (add_memory_block): Rewrite using the above.
9256 (adjust_function_address): New function.
9257 (FUNCTION_ADDRESS): New macro.
9258 (write_basic_trace_file): Remove short_x local, and use
9259 tfile_write_16. Change type of func_addr local to unsigned long
9260 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9261 here. Cast argument of add_memory_block to char pointer.
9262 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9263 (main): Remove parameters.
9264 * gdb.trace/tfile.exp: Remove nowarnings.
9265
9266 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9267
9268 * gdb.base/debug-expr.exp: Test string evaluation with
9269 "debug expression" on.
9270
9271 2014-07-15 Pedro Alves <palves@redhat.com>
9272
9273 * gdb.base/reread.exp: Use clean_restart.
9274
9275 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9276
9277 * gdb.arch/avr-flash-qualifer.c: New.
9278 * gdb.arch/avr-flash-qualifer.exp: New.
9279
9280 2014-07-14 Pedro Alves <palves@redhat.com>
9281
9282 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9283 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9284
9285 2014-07-14 Pedro Alves <palves@redhat.com>
9286
9287 * gdb.base/double-prompt-target-event-error.c: New file.
9288 * gdb.base/double-prompt-target-event-error.exp: New file.
9289
9290 2014-07-14 Pedro Alves <palves@redhat.com>
9291
9292 PR gdb/17072
9293 * gdb.base/paginate-inferior-exit.c: New file.
9294 * gdb.base/paginate-inferior-exit.exp: New file.
9295
9296 2014-07-14 Pedro Alves <palves@redhat.com>
9297
9298 PR gdb/17072
9299 * gdb.base/paginate-bg-execution.c: New file.
9300 * gdb.base/paginate-bg-execution.exp: New file.
9301
9302 2014-07-14 Pedro Alves <palves@redhat.com>
9303
9304 PR gdb/17072
9305 * gdb.base/paginate-execution-startup.c: New file.
9306 * gdb.base/paginate-execution-startup.exp: New file.
9307 * lib/gdb.exp (pagination_prompt): New global.
9308 (default_gdb_spawn): New procedure, factored out from
9309 default_gdb_spawn.
9310 (default_gdb_start): Adjust to call default_gdb_spawn.
9311 (gdb_spawn): New procedure.
9312
9313 2014-07-14 Pedro Alves <palves@redhat.com>
9314
9315 * lib/gdb.exp (gdb_assert): New procedure.
9316 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
9317
9318 2014-07-14 Pedro Alves <palves@redhat.com>
9319
9320 * gdb.base/execution-termios.c: New file.
9321 * gdb.base/execution-termios.exp: New file.
9322
9323 2014-07-14 Tom Tromey <tromey@redhat.com>
9324
9325 * gdb.cp/vla-cxx.cc: New file.
9326 * gdb.cp/vla-cxx.exp: New file.
9327
9328 2014-07-14 Tom Tromey <tromey@redhat.com>
9329
9330 * gdb.reverse/rerun-prec.c: New file.
9331 * gdb.reverse/rerun-prec.exp: New file.
9332
9333 2014-07-12 Maciej W. Rozycki <macro@mips.com>
9334 Maciej W. Rozycki <macro@codesourcery.com>
9335
9336 * lib/gdb-utils.exp: New file.
9337 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
9338 inline `gdb_init_command' processing.
9339 (gdb_start_cmd): Likewise.
9340 * lib/mi-support.exp (mi_run_cmd): Likewise.
9341 * README: Document `gdb_init_command' and `gdb_init_commands'.
9342
9343 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9344
9345 Fix false FAIL running under a very long directory name.
9346 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
9347 and "set print elements 10000". Twice.
9348
9349 2014-07-11 Yao Qi <yao@codesourcery.com>
9350
9351 * gdb.base/exprs.exp: "set print symbol off".
9352
9353 2014-07-11 Pedro Alves <palves@redhat.com>
9354
9355 * gdb.threads/kill.c: New file.
9356 * gdb.threads/kill.exp: New file.
9357
9358 2014-07-10 Yao Qi <yao@codesourcery.com>
9359
9360 * gdb.trace/tfile.c (write_basic_trace_file)
9361 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
9362 address written to trace file.
9363
9364 2014-07-09 Pedro Alves <palves@redhat.com>
9365
9366 * gdb.base/attach-wait-input.exp: New file.
9367 * gdb.base/attach-wait-input.c: New file.
9368
9369 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9370
9371 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
9372 setting up test structures.
9373 (main): Call new test function.
9374 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
9375 test function, continue into test function and walk test
9376 structures.
9377
9378 2014-07-02 Yao Qi <yao@codesourcery.com>
9379
9380 * gdb.trace/entry-values.c: Define labels 'foo_start' and
9381 'bar_start' at the beginning of functions 'foo' and 'bar'
9382 respectively.
9383 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
9384 instead of 'foo' and 'bar'.
9385
9386 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
9387
9388 * gdb.btrace/segv.exp: New.
9389 * gdb.btrace/segv.c: New.
9390
9391 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
9392
9393 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
9394 instruction.
9395
9396 2014-06-30 Mark Wielaard <mjw@redhat.com>
9397
9398 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
9399 vulture, vilify, villar): New volatile array constants.
9400 (vindictive, vegetation): New const volatile array constants.
9401 * gdb.base/volatile.exp: Test volatile and const volatile array
9402 types.
9403
9404 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9405
9406 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
9407 target lacks support for awatch, rwatch, or hbreak.
9408
9409 2014-06-27 Yao Qi <yao@codesourcery.com>
9410
9411 * gdb.multi/dummy-frame-restore.exp: New.
9412 * gdb.multi/dummy-frame-restore.c: New.
9413
9414 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
9415
9416 * gdb.btrace/gcore.exp: New.
9417
9418 2014-06-23 Pedro Alves <palves@redhat.com>
9419
9420 * gdb.base/watchpoint-reuse-slot.c: New file.
9421 * gdb.base/watchpoint-reuse-slot.exp: New file.
9422
9423 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
9424
9425 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
9426 progspace's filename in 'info', 'enable' and 'disable' command
9427 tests.
9428
9429 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9430
9431 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
9432 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9433 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
9434
9435 2014-06-20 Gary Benson <gbenson@redhat.com>
9436
9437 * gdb.arch/i386-avx.exp: Fix include file location.
9438 * gdb.arch/i386-sse.exp: Likewise.
9439
9440 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
9441
9442 * gdb.dlang/expression.exp: New file.
9443
9444 2014-06-19 Pedro Alves <palves@redhat.com>
9445
9446 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
9447 out from ...
9448 (top level): ... here. Iterate running tests under different
9449 scheduler-locking settings.
9450
9451 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
9452
9453 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
9454 to DW_FORM_addr and use non-zero addresses.
9455
9456 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
9457
9458 PR gdb/17017
9459 * gdb.python/py-xmethods.cc: Add global function call counters and
9460 increment them in their respective functions. Remove "cout"
9461 statements.
9462 * gdb.python/py-xmethods.exp: Make tests check the global function
9463 call counters instead of depending on inferior IO.
9464
9465 2014-06-18 Don Breazeal <donb@codesourcery.com>
9466
9467 * gdb.base/foll-fork.exp (default_fork_parent_follow):
9468 Deleted procedure.
9469 (explicit_fork_parent_follow): Deleted procedure.
9470 (explicit_fork_child_follow): Deleted procedure.
9471 (test_follow_fork): New procedure.
9472 (do_fork_tests): Replace calls to deleted procedures with
9473 calls to test_follow_fork and reset GDB for subsequent
9474 procedure calls.
9475
9476 2014-06-17 Yao Qi <yao@codesourcery.com>
9477
9478 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
9479 CP1252.
9480
9481 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
9482
9483 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
9484 Initialize ptr and S explicitly.
9485 (skip_type_update_when_not_use_rtti_test): Likewise.
9486
9487 2014-06-16 Keith Seitz <keiths@redhat.com>
9488
9489 PR mi/15863
9490 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
9491 the inferior is started.
9492
9493 2014-06-16 Pedro Alves <palves@redhat.com>
9494
9495 * gdb.base/break-main-file-remove-fail.c: New file.
9496 * gdb.base/break-main-file-remove-fail.exp: New file.
9497 * gdb.base/break-unload-file.exp: Use build_executable instead of
9498 prepare_for_testing.
9499 (test_break): New parameter "initial_load". Handle it.
9500 (top level): Add initial_load cmdline/file axis.
9501
9502 2014-06-12 Tom Tromey <tromey@redhat.com>
9503
9504 * gdb.base/completion.exp: Don't use directory name in test.
9505
9506 2014-06-09 Gary Benson <gbenson@redhat.com>
9507
9508 * gdb.base/sigall.c [Functions to send signals]: Reorder to
9509 separate the always-available ANSI-standard signals from the
9510 signals that require checking.
9511 (main): Likewise.
9512 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
9513 Likewise.
9514 (main): Likewise.
9515
9516 2014-06-07 Keith Seitz <keiths@redhat.com>
9517
9518 Revert:
9519 PR c++/16253
9520 * gdb.cp/var-tag.cc: New file.
9521 * gdb.cp/var-tag.exp: New file.
9522 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9523 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9524 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9525 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9526
9527 2014-06-06 Doug Evans <xdje42@gmail.com>
9528
9529 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
9530
9531 2014-06-06 Pedro Alves <palves@redhat.com>
9532
9533 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
9534 in target debug output instead of looking at RSP packets,
9535 disabling the test on any target that uses hardware stepping.
9536 Update comments.
9537
9538 2014-06-06 Pedro Alves <palves@redhat.com>
9539
9540 * gdb.base/break-unload-file.exp: Fix typo.
9541
9542 2014-06-06 Yao Qi <yao@codesourcery.com>
9543
9544 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
9545 from "jit_function" to "^jit_function".
9546
9547 2014-06-06 Yao Qi <yao@codesourcery.com>
9548
9549 * gdb.base/async.c (foo): Add one statement.
9550 * gdb.base/async.exp: Get the next instruction address and
9551 match the output of "nexti" by instruction address. Match
9552 the hex address in the output of "finish".
9553
9554 2014-06-06 Gary Benson <gbenson@redhat.com>
9555
9556 * gdb.base/call-signals.c: Remove preprocessor conditionals
9557 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
9558 SIGSEGV and SIGTERM.
9559 * gdb.base/sigall.c: Likewise.
9560 * gdb.base/unwindonsignal.c: Likewise.
9561 * gdb.reverse/sigall-reverse.c: Likewise.
9562
9563 2014-06-06 Yao Qi <yao@codesourcery.com>
9564
9565 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
9566 readable, skip the test.
9567
9568 2014-06-06 Yao Qi <yao@codesourcery.com>
9569
9570 * gdb.threads/staticthreads.c (thread_function): Move the line
9571 setting breakpoint on forward.
9572 * gdb.threads/staticthreads.exp: Update comments.
9573
9574 2014-06-05 Ludovic Courtès <ludo@gnu.org>
9575
9576 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
9577 "history-append! type error".
9578
9579 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
9580
9581 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
9582 erroneous dprintf expected input.
9583
9584 2014-06-04 Doug Evans <xdje42@gmail.com>
9585
9586 * gdb.guile/scm-generics.exp: Delete.
9587
9588 2014-06-04 Doug Evans <xdje42@gmail.com>
9589
9590 * gdb.guile/scm-breakpoint.exp: Update.
9591 Add tests for breakpoint registration.
9592
9593 2014-06-04 Tom Tromey <tromey@redhat.com>
9594
9595 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
9596 VLA-in-union.
9597 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
9598 inner_vla_struct, vla_union types. Initialize objects of those
9599 types and compute their sizes.
9600
9601 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
9602 Hui Zhu <hui@codesourcery.com>
9603
9604 * gdb.base/fileio.exp: Add test for shell not available as well as
9605 available.
9606 * gdb.base/fileio.c (test_system): Check for shell twice.
9607
9608 2014-06-04 Yao Qi <yao@codesourcery.com>
9609
9610 * gdb.base/auto-connect-native-target.exp: Remove redundant
9611 space from the regexp pattern.
9612
9613 2014-06-04 Yao Qi <yao@codesourcery.com>
9614
9615 * gdb.base/default.exp: Replace "child" with "native" in
9616 regexp pattern.
9617
9618 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
9619
9620 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
9621 * gdb.python/py-xmethods.exp: New tests to test xmethods.
9622 * gdb.python/py-xmethods.py: Python script supporting the
9623 new testcase and tests.
9624
9625 2014-06-03 Joel Brobecker <brobecker@adacore.com>
9626 Pedro Alves <palves@redhat.com>
9627
9628 PR breakpoints/17000
9629 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
9630 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
9631
9632 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
9633
9634 * gdb.base/subst.exp: Add tests to verify partial path matching
9635 output.
9636
9637 2014-06-03 Pedro Alves <palves@redhat.com>
9638
9639 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
9640 target that doesn't use software single-stepping.
9641
9642 2014-06-03 Pedro Alves <palves@redhat.com>
9643
9644 PR breakpoints/17000
9645 * gdb.base/sss-bp-on-user-bp-2.c: New file.
9646 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
9647
9648 2014-06-02 Doug Evans <xdje42@gmail.com>
9649
9650 * gdb.guile/scm-parameter.exp: New file.
9651
9652 2014-06-02 Doug Evans <xdje42@gmail.com>
9653
9654 * gdb.guile/scm-cmd.c: New file.
9655 * gdb.guile/scm-cmd.exp: New file.
9656
9657 2014-06-02 Doug Evans <xdje42@gmail.com>
9658
9659 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
9660 pretty-printer lookup.
9661 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
9662 (make-pp_s-printer): Call it.
9663 (make-pretty-printer-from-dict): New function.
9664 (lookup-pretty-printer-maker-from-dict): New function.
9665 (*pretty-printer*): Simplify.
9666 (make-objfile-pp_s-printer): New function.
9667 (install-objfile-pretty-printers!): New function.
9668 (make-progspace-pp_s-printer): New function.
9669 (install-progspace-pretty-printers!): New function.
9670 * gdb.guile/scm-progspace.c: New file.
9671 * gdb.guile/scm-progspace.exp: New file.
9672
9673 2014-06-02 Pedro Alves <palves@redhat.com>
9674
9675 * gdb.base/dprintf-bp-same-addr.c: New file.
9676 * gdb.base/dprintf-bp-same-addr.exp: New file.
9677
9678 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9679
9680 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
9681 * gdb.arch/powerpc-power.s: Likewise.
9682
9683 2014-06-02 Joel Brobecker <brobecker@adacore.com>
9684
9685 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
9686
9687 2014-06-01 Yao Qi <yao@codesourcery.com>
9688
9689 * gdb.base/watchpoint.exp (test_watch_location): Check null
9690 pointer can be dereferenced. If not, do the test, otherwise
9691 skip it.
9692
9693 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9694
9695 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
9696 results.
9697 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
9698
9699 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9700
9701 * gdb.arch/amd64-invalid-stack-middle.S: New file.
9702 * gdb.arch/amd64-invalid-stack-middle.c: New file.
9703 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
9704 * gdb.arch/amd64-invalid-stack-top.c: New file.
9705 * gdb.arch/amd64-invalid-stack-top.exp: New file.
9706
9707 2014-05-30 Pedro Alves <palves@redhat.com>
9708
9709 PR breakpoints/17000
9710 * gdb.base/sss-bp-on-user-bp.c: New file.
9711 * gdb.base/sss-bp-on-user-bp.exp: New file.
9712
9713 2014-05-30 David Blaikie <dblaikie@gmail.com>
9714
9715 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
9716 gnu_inline semantics via attribute.
9717 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
9718 source explicitly specifies the required semantics.
9719
9720 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
9721
9722 * gdb.reverse/sigall-reverse.exp: Fix a typo.
9723
9724 2014-05-29 Pedro Alves <palves@redhat.com>
9725 Tom Tromey <tromey@redhat.com>
9726
9727 * gdb.base/async-shell.exp: Don't enable target-async.
9728 * gdb.base/async.exp
9729 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
9730 parameter. Adjust.
9731 (top level): Don't test with "target-async".
9732 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
9733 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
9734 * gdb.base/inferior-died.exp: Don't enable target-async.
9735 * gdb.base/interrupt-noterm.exp: Likewise.
9736 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
9737 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9738 * gdb.mi/mi-nonstop.exp: Likewise.
9739 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9740 * gdb.mi/mi-nsintrall.exp: Likewise.
9741 * gdb.mi/mi-nsmoribund.exp: Likewise.
9742 * gdb.mi/mi-nsthrexec.exp: Likewise.
9743 * gdb.mi/mi-watch-nonstop.exp: Likewise.
9744 * gdb.multi/watchpoint-multi.exp: Adjust comment.
9745 * gdb.python/py-evsignal.exp: Don't enable target-async.
9746 * gdb.python/py-evthreads.exp: Likewise.
9747 * gdb.python/py-prompt.exp: Likewise.
9748 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
9749 * gdb.server/solib-list.exp: Don't enable target-async.
9750 * gdb.threads/thread-specific-bp.exp: Likewise.
9751 * lib/mi-support.exp: Adjust to use mi-async.
9752
9753 2014-05-29 Pedro Alves <palves@redhat.com>
9754
9755 PR gdb/13860
9756 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
9757 reason, even in sync mode.
9758
9759 2014-05-29 Pedro Alves <palves@redhat.com>
9760 Hui Zhu <hui@codesourcery.com>
9761
9762 PR PR15693
9763 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
9764 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
9765 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
9766 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
9767
9768 2014-05-28 Joel Brobecker <brobecker@adacore.com>
9769
9770 * config/monitor.exp (gdb_target_monitor): Replace use of
9771 "set remotebaud" by "set serial baud".
9772
9773 2014-05-26 Andy Wingo <wingo@igalia.com>
9774
9775 * gdb.guile/scm-breakpoint.exp:
9776 * gdb.guile/scm-gsmob.exp: Update to use plain old object
9777 properties instead of gdb-object-properties.
9778
9779 2014-05-26 Yao Qi <yao@codesourcery.com>
9780
9781 * gdb.server/no-thread-db.exp: Specify source file name
9782 explicitly when setting a breakpoint.
9783
9784 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9785
9786 * gdb.btrace/vdso.c: New.
9787 * gdb.btrace/vdso.exp: New.
9788
9789 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9790
9791 * gdb.base/gcore.exp (capture_command_output): Move ...
9792 * lib/gdb.exp (capture_command_output): ... here.
9793
9794 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9795
9796 * gdb.btrace/data.exp: Test memory access during btrace replay.
9797
9798 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
9799
9800 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
9801
9802 2014-05-21 Pedro Alves <palves@redhat.com>
9803
9804 PR gdb/13860
9805 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
9806 (top level): Test that output related to execution commands is
9807 sent to the console with CLI commands, but not with MI commands.
9808 Test that breakpoint events are always mirrored to the console.
9809 Also expect the new source line to be output after a "next" in
9810 async mode too. Make it a pass/fail test.
9811 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
9812 output.
9813 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
9814
9815 2014-05-21 Pedro Alves <palves@redhat.com>
9816
9817 * gdb.base/list.exp (build_pattern, test_list): New procedures.
9818 Use them to test variations of "list" after reaching a breakpoint.
9819 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
9820 Test "list" with listsize 10 after reaching a breakpoint.
9821 * gdb.python/python.exp (decode_line current location line
9822 number): Adjust expected line number.
9823
9824 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
9825
9826 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
9827 behavior for $args, pass it directly to "run".
9828
9829 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
9830
9831 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
9832 30000 to 65536.
9833
9834 2014-05-21 Pedro Alves <palves@redhat.com>
9835
9836 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
9837 auto-connect-native-target off".
9838 * gdb.base/auto-connect-native-target.c: New file.
9839 * gdb.base/auto-connect-native-target.exp: New file.
9840
9841 2014-05-21 Pedro Alves <palves@redhat.com>
9842
9843 * gdb.base/default.exp: Test "target native" instead of "target
9844 child".
9845
9846 2014-05-21 Mark Wielaard <mjw@redhat.com>
9847
9848 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9849
9850 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9851
9852 Fix TLS access for -static -pthread.
9853 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
9854 <HAVE_TLS> (thread_function, main): Initialize it.
9855 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
9856 Add clean_restart.
9857 <$have_tls != "">: Check TLSVAR.
9858
9859 2014-05-21 Pedro Alves <palves@redhat.com>
9860
9861 * gdb.base/dcache-line-read-error.c: New.
9862 * gdb.base/dcache-line-read-error.exp: New.
9863
9864 2014-05-20 Pedro Alves <palves@redhat.com>
9865
9866 * gdb.base/compare-sections.c: New file.
9867 * gdb.base/compare-sections.exp: New file.
9868
9869 2014-05-20 Pedro Alves <palves@redhat.com>
9870
9871 * gdb.base/break-idempotent.c: New file.
9872 * gdb.base/break-idempotent.exp: New file.
9873
9874 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
9875
9876 * gdb.btrace/nohist.exp: New.
9877
9878 2014-05-20 Yao Qi <yao@codesourcery.com>
9879
9880 * lib/gdb.exp (gdb_init): Set timeout if test file is under
9881 gdb.reverse directory and gdb_reverse_timeout exists in board
9882 setting.
9883 * README: Document gdb_reverse_timeout.
9884
9885 2014-05-20 Yao Qi <yao@codesourcery.com>
9886
9887 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
9888 'test_file_name'. Treat args as a string instead of a list.
9889 (gdb_init): Rename argument 'args' by 'test_file_name'.
9890
9891 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9892
9893 * gdb.arch/powerpc-power.exp: New file.
9894 * gdb.arch/powerpc-power.s: New file.
9895
9896 2014-05-16 Doug Evans <dje@google.com>
9897
9898 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
9899 * gdb.base/completion.exp: Check that all expected files exist
9900 before doing file completion.
9901
9902 2014-05-16 Doug Evans <dje@google.com>
9903
9904 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
9905 Update.
9906 (do_syscall_tests_without_xml): Update.
9907
9908 2014-05-16 Pedro Alves <palves@redhat.com>
9909
9910 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
9911 instead of "unknown output after running".
9912
9913 2014-05-16 Yao Qi <yao@codesourcery.com>
9914
9915 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
9916 file1.txt from host at the end.
9917 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9918
9919 2014-05-15 Doug Evans <dje@google.com>
9920
9921 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
9922 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
9923 loading file. Add test for TU lookup.
9924
9925 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
9926
9927 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
9928 calling "-exec-arguments" or "set args" before running the
9929 inferior.
9930
9931 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
9932
9933 * lib/mi-support.exp (mi_expect_stop): Expect message for
9934 inferiors that exit with non-zero exit code.
9935
9936 2014-05-14 Yao Qi <yao@codesourcery.com>
9937
9938 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
9939 match absolute path on remote host.
9940 (test_file_list_exec_source_files): Remove "/" from the
9941 pattern.
9942
9943 2014-05-14 Yao Qi <yao@codesourcery.com>
9944
9945 * boards/local-remote-host-notty.exp (${board}_file): New
9946 proc.
9947
9948 2014-05-07 Kyle McMartin <kyle@redhat.com>
9949
9950 Pushed by Joel Brobecker <brobecker@adacore.com>.
9951 * gdb.arch/aarch64-atomic-inst.c: New file.
9952 * gdb.arch/aarch64-atomic-inst.exp: New file.
9953
9954 2014-05-07 Yao Qi <yao@codesourcery.com>
9955
9956 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
9957 in current context" too.
9958
9959 2014-05-05 Keith Seitz <keiths@redhat.com>
9960
9961 * gdb.linespec/ls-dollar.exp: Add test for linespec
9962 file:convenience_variable.
9963
9964 2014-05-05 Yao Qi <yao@codesourcery.com>
9965
9966 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
9967 traceframes into tfile and ctf trace files. Read data from
9968 trace file and test collected data.
9969 (gdb_collect_locals_test): Likewise.
9970 (gdb_unavailable_registers_test): Likewise.
9971 (gdb_unavailable_floats): Likewise.
9972 (gdb_collect_globals_test): Likewise.
9973 (top-level): Append "ctf" to trace_file_targets if GDB
9974 supports.
9975
9976 2014-05-05 Yao Qi <yao@codesourcery.com>
9977
9978 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
9979 code to ...
9980 (gdb_collect_args_test_1): ... it. New proc.
9981 (gdb_collect_locals_test): Move some code to ...
9982 (gdb_collect_locals_test_1): ... it. New proc.
9983 (gdb_unavailable_registers_test): Move some code to ...
9984 (gdb_unavailable_registers_test_1): ... it. New proc.
9985 (gdb_unavailable_floats): Move some code to ...
9986 (gdb_unavailable_floats_1): ... it. New proc.
9987
9988 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
9989
9990 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
9991 probes to test for bitness recognition.
9992 * gdb.arch/amd64-stap-optional-prefix.exp
9993 (test_probe_value_without_reg): New procedure.
9994 Add code to test for different kinds of bitness.
9995
9996 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
9997
9998 PR breakpoints/16889
9999 * gdb.arch/amd64-stap-optional-prefix.S: New file.
10000 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10001
10002 2014-05-01 Pedro Alves <palves@redhat.com>
10003
10004 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
10005 gdb_file_cmd if no file is specified.
10006 * boards/native-extended-gdbserver.exp (gdb_load): Use the
10007 last_loaded_file to set the remote exec-file.
10008
10009 2014-05-01 Pedro Alves <palves@redhat.com>
10010
10011 * boards/local-remote-host.exp: New file.
10012
10013 2014-05-01 Pedro Alves <palves@redhat.com>
10014
10015 * boards/local-remote-host.exp: Rename to ...
10016 * boards/local-remote-host-notty.exp: ... this.
10017
10018 2014-04-28 Joel Brobecker <brobecker@adacore.com>
10019
10020 * gdb.ada/dyn_arrayidx: New testcase.
10021
10022 2014-04-26 Yao Qi <yao@codesourcery.com>
10023
10024 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
10025 and compute the length of function main. Save it in
10026 $main_length.
10027 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
10028 (top-level): Use gdb_compile to compile objects into
10029 executable and restart GDB. Remove invocation to
10030 prepare_for_testing.
10031
10032 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
10033 Pedro Alves <palves@redhat.com>
10034
10035 PR server/16255
10036 * gdb.multi/multi-attach.c: New file.
10037 * gdb.multi/multi-attach.exp: New file.
10038
10039 2014-04-25 Pedro Alves <palves@redhat.com>
10040
10041 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
10042 user.
10043 (top level): Test that "set remote conditional-breakpoints-packet
10044 off" works as intended.
10045 * gdb.base/dprintf.exp: Test that "set remote
10046 breakpoint-commands-packet off" works as intended.
10047 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
10048 New function.
10049 (top level): Call it.
10050 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
10051 remote fast-tracepoints-packet off" works as intended.
10052 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
10053 * lib/gdb.exp (gdb_is_target_remote): ... here.
10054
10055 2014-04-24 David Blaikie <dblaikie@gmail.com>
10056
10057 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
10058 ensure clang would not discard them.
10059 * gdb.base/gdbvars.c: Ditto.
10060 * gdb.base/memattr.c: Ditto.
10061 * gdb.base/whatis.c: Ditto.
10062 * gdb.python/py-prettyprint.c: Ditto.
10063 * gdb.trace/actions.c: Ditto.
10064 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
10065 ensure clang would not discard it.
10066
10067 2014-04-24 David Blaikie <dblaikie@gmail.com>
10068
10069 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
10070 clang to emit the full definition of type required by the test
10071 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
10072
10073 2014-04-24 David Blaikie <dblaikie@gmail.com>
10074
10075 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
10076 coax Clang into emitting the definition of the type.
10077 * gdb.cp/pr10728-x.h (y): Ditto.
10078 * gdb.cp/pr10728-y.cc (y): Ditto.
10079
10080 2014-04-24 David Blaikie <dblaikie@gmail.com>
10081
10082 * gdb.base/label.exp: XFAIL label related tests under Clang.
10083 * gdb.cp/cplabel.exp: Ditto.
10084 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
10085 under Clang those using labels.
10086
10087 2014-04-25 Yao Qi <yao@codesourcery.com>
10088
10089 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
10090 double_label.
10091 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
10092 partial_label and double_label.
10093
10094 2014-04-24 David Blaikie <dblaikie@gmail.com>
10095
10096 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
10097
10098 2014-04-24 David Blaikie <dblaikie@gmail.com>
10099
10100 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
10101 of the function to work across GCC and Clang.
10102 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
10103 pointer types (const void ** const V void **).
10104
10105 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
10106 Walfred Tedeschi <walfred.tedeschi@intel.com>
10107
10108 * Makefile.in (EXECUTABLES): Added i386-avx512.
10109 * gdb.arch/i386-avx512.c: New file.
10110 * gdb.arch/i386-avx512.exp: Likewise.
10111
10112 2014-04-23 Keith Seitz <keiths@redhat.com>
10113
10114 * lib/mi-support.exp (mi_list_breakpoints): Delete.
10115 (mi_make_breakpoint_table): New procedure.
10116 (mi_create_breakpoint): Use mi_make_breakpoint
10117 and return the result.
10118 (mi_make_breakpoint): New procedure.
10119 (mi_build_kv_pairs): New procedure.
10120
10121 * gdb.mi/mi-break.exp: Remove unused globals,
10122 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
10123 All callers updated.
10124 * gdb.mi/mi-dprintf.exp: Use variable to track command
10125 number.
10126 Update all callers of mi_create_breakpoint and use
10127 mi_make_breakpoint_table.
10128 Remove any unused global variables.
10129 * gdb.mi/mi-nonstop.exp: Likewise.
10130 * gdb.mi/mi-nsintrall.exp: Likewise.
10131 * gdb.mi/mi-nsmoribund.exp: Likewise.
10132 * gdb.mi/mi-nsthrexec.exp: Likewise.
10133 * gdb.mi/mi-reverse.exp: Likewise.
10134 * gdb.mi/mi-simplerun.exp: Likewise.
10135 * gdb.mi/mi-stepn.exp: Likewise.
10136 * gdb.mi/mi-syn-frame.exp: Likewise.
10137 * gdb.mi/mi-until.exp: Likewise.
10138 * gdb.mi/mi-var-cp.exp: Likewise.
10139 * gdb.mi/mi-var-display.exp: Likewise.
10140 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
10141 * gdb.mi/mi2-var-child.exp: Likewise.
10142 * gdb.mi/mi-vla-c99.exp: Likewise.
10143 * lib/mi-support.exp: Likewise.
10144
10145 From Ian Lance Taylor <iant@cygnus.com>:
10146 * lib/gdb.exp (parse_args): New procedure.
10147
10148 2014-04-23 Pedro Alves <palves@redhat.com>
10149
10150 * gdb.base/break-unload-file.c: New file.
10151 * gdb.base/break-unload-file.exp: New file.
10152 * gdb.base/sym-file-lib.c (baz): New function.
10153 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
10154 field.
10155 (load): Store the segment's mapped size.
10156 (unload): New function.
10157 (unload_shlib): New function.
10158 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
10159 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
10160 set a breakpoint at baz, and call it.
10161 * gdb.base/sym-file.exp: New tests for stale breakpoint
10162 instructions.
10163
10164 2014-04-23 Pedro Alves <palves@redhat.com>
10165
10166 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
10167 * gdb.base/hbreak-in-shr-unsupported.c: New file.
10168 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
10169 * gdb.base/hbreak-unmapped.c: New file.
10170 * gdb.base/hbreak-unmapped.exp: New file.
10171 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
10172 * lib/gdb.exp (gdb_is_target_remote): ... here.
10173
10174 2014-04-22 Pedro Alves <palves@redhat.com>
10175
10176 * gdb.base/consecutive-step-over.c: New file.
10177 * gdb.base/consecutive-step-over.exp: New file.
10178
10179 2014-04-22 Pedro Alves <palves@redhat.com>
10180
10181 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
10182 instead of send_gdb/gdb_expect.
10183
10184 2014-04-22 Yao Qi <yao@codesourcery.com>
10185
10186 * lib/trace-support.exp (generate_tracefile): New procedure.
10187 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
10188 return 0.
10189 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
10190 if generate_tracefile returns 1.
10191
10192 2014-04-18 Tom Tromey <palves@redhat.com>
10193 Pedro alves <tromey@redhat.com>
10194
10195 PR backtrace/15558
10196 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
10197 with a backtrace limit.
10198 * gdb.python/py-frame-inline.exp: Test running to an inline
10199 function with a backtrace limit, and printing the newest frame.
10200 * gdb.python/py-frame-inline.c (main): Call f.
10201
10202 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10203
10204 * gdb.java/jnpe.exp: Drop srcdir from untested path.
10205
10206 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10207
10208 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
10209 Drop prefix from unsupported source file path.
10210
10211 2014-04-17 Yao Qi <yao@codesourcery.com>
10212
10213 * lib/gdb.exp (with_target_charset): New proc.
10214 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10215 with_target_charset.
10216 (test_print_strings): Likewise.
10217 (test_repeat_bytes): Likewise.
10218 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10219 for some tests.
10220
10221 2014-04-16 Keith Seitz <keiths@redhat.com>
10222
10223 PR gdb/15827
10224 * gdb.dwarf2/corrupt.c: New file.
10225 * gdb.dwarf2/corrupt.exp: New file.
10226
10227 2014-04-16 Keith Seitz <keiths@redhat.com>
10228
10229 PR c++/16597
10230 * gdb.cp/namelessclass.cc: New file.
10231 * gdb.cp/namelessclass.exp: New file.
10232 * gdb.cp/namelessclass.S: New file.
10233
10234 2014-04-16 Doug Evans <dje@google.com>
10235
10236 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10237 Add comment.
10238 (gdbserver_default_get_comm_port): New function.
10239 (gdbserver_start): Check if board file provided
10240 "gdbserver,get_comm_port" and use it if so.
10241 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10242 (gdb,socketport): Set to "stdio".
10243 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10244 (stdio_gdbserver_template): Delete.
10245 (${board}_get_remote_address): Update.
10246 (${board}_build_remote_cmd): Delete.
10247 (${board}_get_comm_port): New function.
10248 (${board}_spawn): Update.
10249 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10250 Delete.
10251 (${board}_get_remote_address): Update.
10252 (${board}_get_comm_port): New function.
10253
10254 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
10255
10256 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10257 appearing in any order.
10258
10259 2014-04-15 Doug Evans <dje@google.com>
10260
10261 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10262 uninitialized value of "description".
10263
10264 2014-04-15 Keith Seitz <keiths@redhat.com>
10265
10266 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10267 Remove unused globals.
10268 (test_running_the_program): Likewise.
10269 (test_controlled_execution): Likewise.
10270 (test_controlling_breakpoints): Likewise.
10271 (test_program_termination): Likewise.
10272
10273 2014-04-15 Keith Seitz <keiths@redhat.com>
10274
10275 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10276 unused globals.
10277 (test_rbreak_creation_and_listing): Likewise.
10278 (test_ignore_count): Likewise.
10279 (test_error): Likewise.
10280
10281 2014-04-15 Pedro Alves <palves@redhat.com>
10282
10283 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10284 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10285 sym-file-loader.c.
10286 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10287 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10288 to sym-file-loader.c.
10289 (struct library): Forward declare.
10290 (load_shlib, lookup_function): Change prototypes.
10291 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10292 (translate_offset): Remove declarations.
10293 (get_text_addr): New declaration.
10294 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10295 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10296 sym-file-loader.h.
10297 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10298 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10299 here from sym-file-loader.h.
10300 (struct library): New structure.
10301 (load_shlib, lookup_function): Change prototypes and adjust to
10302 work with a struct library.
10303 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10304 (translate_offset): Make static.
10305 (get_text_addr): New function.
10306 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
10307
10308 2014-04-15 Pedro Alves <palves@redhat.com>
10309
10310 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
10311
10312 2014-04-15 Pedro Alves <palves@redhat.com>
10313
10314 * gdb.base/sym-file-loader.c: Include <limits.h>.
10315 (SELF_LINK): New define.
10316 (get_origin): New function.
10317 (load_shlib): Use it.
10318 * gdb.base/sym-file.exp: Don't early return if the target is
10319 remote. Use runto_main, and issue fail is that fails. Use
10320 gdb_load_shlibs.
10321 (shlib_name): Delete.
10322 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
10323
10324 2014-04-15 Pedro Alves <palves@redhat.com>
10325
10326 * gdb.base/sym-file.exp: Remove regex characters from test
10327 message. Don't refer to breakpoint numbers in test messages.
10328
10329 2014-04-14 Keith Seitz <keiths@redhat.com>
10330
10331 PR c++/16253
10332 * gdb.cp/var-tag.cc: New file.
10333 * gdb.cp/var-tag.exp: New file.
10334 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10335 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10336 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10337 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10338
10339 2014-04-14 Tom Tromey <tromey@redhat.com>
10340
10341 * gdb.cp/classes.exp (test_enums): Handle underlying type.
10342 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
10343 type.
10344 * gdb.cp/enum-class.exp: New file.
10345 * gdb.cp/enum-class.cc: New file.
10346
10347 2014-04-14 Tom Tromey <tromey@redhat.com>
10348
10349 * gdb.dwarf2/enum-type.exp: New file.
10350
10351 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10352
10353 * gdb.mi/mi-vla-c99.exp: New file.
10354 * gdb.mi/vla.c: New file.
10355
10356 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10357
10358 * gdb.base/vla-datatypes.c: New file.
10359 * gdb.base/vla-datatypes.exp: New file.
10360
10361 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10362
10363 * gdb.base/vla-ptr.c: New file.
10364 * gdb.base/vla-ptr.exp: New file.
10365
10366 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10367
10368 * gdb.dwarf2/count.exp: New file.
10369
10370 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10371
10372 * gdb.base/vla-sideeffect.c: New file.
10373 * gdb.base/vla-sideeffect.exp: New file.
10374
10375 2014-04-14 David Blaikie <dblaikie@gmail.com>
10376
10377 * gdb.mi/non-stop.c: Add return value for non-void function return
10378 statement.
10379 * gdb.threads/staticthreads.c: Ditto.
10380
10381 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
10382 Doug Evans <xdje42@gmail.com>
10383
10384 * gdb.guile/scm-value.c: Improve test case.
10385 * gdb.guile/scm-value.exp: Add new test.
10386
10387 2014-04-11 David Blaikie <dblaikie@gmail.com>
10388
10389 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
10390 override Clang's default.
10391
10392 2014-04-11 Joel Brobecker <brobecker@adacore.com>
10393
10394 Revert the following changes (regressions):
10395
10396 * gdb.base/vla-sideeffect.c: New file.
10397 * gdb.base/vla-sideeffect.exp: New file.
10398
10399 * gdb.dwarf2/count.exp: New file.
10400
10401 * gdb.base/vla-multi.c: New file.
10402 * gdb.base/vla-multi.exp: New file.
10403
10404 * gdb.base/vla-ptr.c: New file.
10405 * gdb.base/vla-ptr.exp: New file.
10406
10407 * gdb.base/vla-datatypes.c: New file.
10408 * gdb.base/vla-datatypes.exp: New file.
10409
10410 * gdb.mi/mi-vla-c99.exp: New file.
10411 * gdb.mi/vla.c: New file.
10412
10413 2014-04-11 Keith Seitz <keiths@redhat.com>
10414
10415 PR c++/16675
10416 * gdb.cp/cpsizeof.exp: New file.
10417 * gdb.cp/cpsizeof.cc: New file.
10418
10419 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10420
10421 * gdb.mi/mi-vla-c99.exp: New file.
10422 * gdb.mi/vla.c: New file.
10423
10424 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10425
10426 * gdb.base/vla-datatypes.c: New file.
10427 * gdb.base/vla-datatypes.exp: New file.
10428
10429 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10430
10431 * gdb.base/vla-ptr.c: New file.
10432 * gdb.base/vla-ptr.exp: New file.
10433
10434 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10435
10436 * gdb.base/vla-multi.c: New file.
10437 * gdb.base/vla-multi.exp: New file.
10438
10439 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10440
10441 * gdb.dwarf2/count.exp: New file.
10442
10443 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10444
10445 * gdb.base/vla-sideeffect.c: New file.
10446 * gdb.base/vla-sideeffect.exp: New file.
10447
10448 2014-04-11 Yao Qi <yao@codesourcery.com>
10449
10450 * gdb.base/completion.exp: Check file exists before running tests
10451 on file completion.
10452
10453 2014-04-10 Pedro Alves <palves@redhat.com>
10454
10455 * gdb.base/cond-eval-mode.c: New file.
10456 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
10457 prepare_for_testing to build the new file. Check result of
10458 runto_main.
10459 (test_break, test_watch): New procedures.
10460 (top level): Use them.
10461
10462 2014-04-08 Pierre Muller <muller@sourceware.org>
10463
10464 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
10465 Ctrl-V use for mingw hosts.
10466
10467 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
10468
10469 * gdb.python/py-value.c: Improve test case.
10470 * gdb.python/py-value.exp: Add new test.
10471
10472 2014-04-07 David Blaikie <dblaikie@gmail.com>
10473
10474 * lib/compiler.c: Identify the clang compiler.
10475 * lib/compiler.cc: Ditto.
10476
10477 2014-04-03 Yao Qi <yao@codesourcery.com>
10478
10479 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
10480
10481 2014-04-01 Anton Blanchard <anton@samba.org>
10482
10483 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
10484 messages unique.
10485
10486 2014-04-01 Anton Blanchard <anton@samba.org>
10487
10488 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
10489 prepare_for_testing.
10490
10491 2014-04-01 Anton Blanchard <anton@samba.org>
10492
10493 * gdb.arch/ppc64-atomic-inst.c: Remove.
10494 * gdb.arch/ppc64-atomic-inst.S: New file.
10495 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
10496
10497 2014-03-31 Doug Evans <dje@google.com>
10498
10499 * gdb.base/print-symbol-loading-lib.c: New file.
10500 * gdb.base/print-symbol-loading-main.c: New file.
10501 * gdb.base/print-symbol-loading.exp: New file.
10502
10503 2014-03-31 Yao Qi <yao@codesourcery.com>
10504
10505 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
10506
10507 2014-03-28 Joel Brobecker <brobecker@adacore.com>
10508
10509 * gdb.ada/mi_dyn_arr: New testcase.
10510
10511 2014-03-27 Doug Evans <dje@google.com>
10512
10513 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
10514
10515 2014-03-27 Yao Qi <yao@codesourcery.com>
10516
10517 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
10518 if target is nios2-*-*.
10519
10520 2014-03-26 Yao Qi <yao@codesourcery.com>
10521
10522 * lib/gdb.exp (readline_is_used): New proc.
10523 * gdb.base/completion.exp: Move tests on command complete up.
10524 Skip the rest of tests if readline is not used.
10525 * gdb.ada/complete.exp: Skp the test if readline is not
10526 used.
10527 * gdb.base/filesym.exp: Likewise.
10528 * gdb.base/macscp.exp: Likewise.
10529 * gdb.base/readline-ask.exp: Likewise.
10530 * gdb.base/readline.exp: Likewise.
10531 * gdb.python/py-cmd.exp: Likewise.
10532 * gdb.trace/tfile.exp: Likewise.
10533
10534 2014-03-26 Yao Qi <yao@codesourcery.com>
10535
10536 * gdb.base/macscp.exp: Fix code format issues.
10537
10538 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
10539
10540 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
10541 * gdb.asm/powerpc64le.inc: New file.
10542
10543 2014-03-25 Pedro Alves <palves@redhat.com>
10544 Doug Evans <dje@google.com>
10545
10546 * gdb.base/source-execution.c: New file.
10547 * gdb.base/source-execution.exp: New file.
10548 * gdb.base/source-execution.gdb: New file.
10549
10550 2014-03-24 Doug Evans <dje@google.com>
10551
10552 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
10553 using fission.
10554
10555 2014-03-24 Hui Zhu <hui@codesourcery.com>
10556 Pedro Alves <palves@redhat.com>
10557
10558 PR breakpoints/16101
10559 * gdb.base/dprintf.exp: Use unsupported rather than changing the
10560 test pass/fail messages. Detect missing support for dprintf when
10561 breakpoints are actually inserted.
10562 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
10563 breakpoints are actually inserted.
10564 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
10565 fails.
10566
10567 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10568
10569 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
10570
10571 2014-03-22 Doug Evans <xdje42@gmail.com>
10572
10573 * gdb.python/python.exp (python not supported): Verify multi-line
10574 python command issues an error.
10575 * gdb.guile/guile.exp (guile not supported): Verify multi-line
10576 guile command issues an error.
10577
10578 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
10579
10580 * gdb.threads/thread-specific.exp: Handle the lack of usable
10581 $this_breakpoint and $this_thread.
10582
10583 2014-03-21 Hui Zhu <hui@codesourcery.com>
10584
10585 * gdb.base/attach.exp (do_command_attach_tests): New.
10586
10587 2014-03-20 Tom Tromey <tromey@redhat.com>
10588 Pedro Alves <palves@redhat.com>
10589
10590 PR cli/15718
10591 * gdb.base/condbreak-call-false.c: New file.
10592 * gdb.base/condbreak-call-false.exp: New file.
10593
10594 2014-03-20 Pedro Alves <palves@redhat.com>
10595
10596 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
10597 Delete.
10598 (block_signals, unblock_signals): Delete.
10599 (child_function_2, main): Remove references to deleted variable
10600 and functions.
10601
10602 2014-03-20 Pedro Alves <palves@redhat.com>
10603
10604 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
10605 Use pthread_kill to signal thread 2.
10606 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10607 Adjust to make the test send itself a signal rather than using the
10608 host's "kill" command.
10609
10610 2014-03-20 Pedro Alves <palves@redhat.com>
10611
10612 * gdb.threads/multiple-step-overs.c: New file.
10613 * gdb.threads/multiple-step-overs.exp: New file.
10614 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10615 Adjust expected infrun debug output.
10616
10617 2014-03-20 Pedro Alves <palves@redhat.com>
10618
10619 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
10620 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
10621
10622 2014-03-20 Pedro Alves <palves@redhat.com>
10623
10624 PR breakpoints/7143
10625 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
10626 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
10627 of gdb_test_multiple.
10628 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
10629 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
10630
10631 2014-03-20 Pedro Alves <palves@redhat.com>
10632
10633 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
10634 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
10635
10636 2014-03-19 Pedro Alves <palves@redhat.com>
10637
10638 * gdb.base/async.exp: Remove early return.
10639
10640 2014-03-19 Pedro Alves <palves@redhat.com>
10641
10642 * gdb.base/async.exp (step& tests): Pass explicit test messages.
10643
10644 2014-03-19 Pedro Alves <palves@redhat.com>
10645
10646 * gdb.base/async.exp (test_background): Expect \r\n after
10647 "completed." in the fail pattern.
10648
10649 2014-03-19 Pedro Alves <palves@redhat.com>
10650
10651 * gdb.base/async.exp (test_background): New procedure.
10652 Use it for all background execution command tests.
10653
10654 2014-03-19 Pedro Alves <palves@redhat.com>
10655
10656 * gdb.base/async.exp: Use prepare_for_testing.
10657
10658 2014-03-19 Pedro Alves <palves@redhat.com>
10659
10660 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
10661 the same line.
10662
10663 2014-03-19 Pedro Alves <palves@redhat.com>
10664
10665 * gdb.base/async.c (main): Add "jump here" and "until here" line
10666 marker comments.
10667 * gdb.base/async.exp (jump_here): New global.
10668 (jump& test): Use it.
10669 (until_here): New global.
10670 (until& test): Use it.
10671
10672 2014-03-19 Pedro Alves <palves@redhat.com>
10673
10674 * gdb.base/async.exp: Don't frob gdb_protocol.
10675
10676 2014-03-18 Doug Evans <xdje42@gmail.com>
10677
10678 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
10679 Fix spelling of exec-done-display.
10680
10681 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10682
10683 PR gdb/15358
10684 * gdb.base/gdb-sigterm.c: New file.
10685 * gdb.base/gdb-sigterm.exp: New file.
10686
10687 2014-03-18 Pedro Alves <palves@redhat.com>
10688
10689 PR gdb/13860
10690 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
10691 * lib/mi-support.exp (mi_expect_stop): Add special handling for
10692 solib-event.
10693
10694 2014-03-17 Joel Brobecker <brobecker@adacore.com>
10695
10696 * gdb.ada/pckd_arr_ren: New testcase.
10697
10698 2014-03-13 Doug Evans <xdje42@gmail.com>
10699
10700 PR guile/16612
10701 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
10702 collect after discarding symbols.
10703
10704 2014-03-13 Ludovic Courtès <ludo@gnu.org>
10705 Doug Evans <xdje42@gmail.com>
10706
10707 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
10708 to history survives a gc.
10709
10710 2014-03-13 Pedro Alves <palves@redhat.com>
10711
10712 * gdb.base/default.exp: Don't test "target procfs".
10713
10714 2014-03-13 Pedro Alves <palves@redhat.com>
10715
10716 * gdb.base/default.exp: Update "target child" and "target procfs"
10717 tests to not expect "Unix".
10718
10719 2014-03-12 Tom Tromey <tromey@redhat.com>
10720
10721 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
10722 New procs. Add target-async tests.
10723 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
10724 Add target-async tests.
10725
10726 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10727
10728 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
10729 'func_start' and 'func_end' for the beginning and end of the
10730 function code, respectively.
10731 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
10732 'func_end' instead of 'func' and 'main'.
10733
10734 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10735
10736 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
10737 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
10738 generate the debug info assembler source.
10739
10740 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10741
10742 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
10743 * gdb.dwarf2/arr-subrange.exp: Likewise.
10744 * gdb.dwarf2/dwz.exp: Likewise.
10745 * gdb.dwarf2/method-ptr.exp: Likewise.
10746 * gdb.dwarf2/missing-sig-type.exp: Likewise.
10747 * gdb.dwarf2/subrange.exp: Likewise.
10748 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
10749 * gdb.dwarf2/implptrpiece.exp: Likewise.
10750 * gdb.dwarf2/nostaticblock.exp: Likewise.
10751
10752 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10753
10754 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
10755 directory to absolute path name arguments.
10756
10757 2014-03-10 Joel Brobecker <brobecker@adacore.com>
10758
10759 * gdb.ada/tagged_access: New testcase.
10760
10761 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
10762
10763 * gdb.btrace/data.exp: Update expected output.
10764
10765 2014-03-06 Yao Qi <yao@codesourcery.com>
10766
10767 * gdb.trace/pr16508.exp: New file.
10768
10769 2014-03-05 Pedro Alves <palves@redhat.com>
10770
10771 PR gdb/16575
10772 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
10773 procedure.
10774 (top level): Adjust to use it. Add tests that exercise breakpoint
10775 interaction with the code-cache.
10776
10777 2014-02-26 Ludovic Courtès <ludo@gnu.org>
10778
10779 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
10780 test for 'history-append!'.
10781
10782 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10783
10784 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
10785 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
10786 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
10787 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
10788 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
10789 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
10790
10791 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10792
10793 * testsuite/gdb.python/py-pp-re-notag.c: New file.
10794 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
10795 * testsuite/gdb.python/py-pp-re-notag.p: New file.
10796
10797 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10798
10799 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
10800
10801 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10802
10803 * gdb.dwarf2/arr-stride.c: New file.
10804 * gdb.dwarf2/arr-stride.exp: New file.
10805
10806 2014-02-26 Pedro Alves <palves@redhat.com>
10807
10808 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
10809 that won't ever trigger. Make sure that GDB reports the correct
10810 breakpoint that caused the stop.
10811
10812 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10813
10814 PR gdb/16626
10815 * gdb.base/auto-load-script: New file.
10816 * gdb.base/auto-load.c: New file.
10817 * gdb.base/auto-load.exp: New file.
10818
10819 PR gdb/16626
10820 * gdb.base/auto-load.exp: Fix out-of-srctree run.
10821
10822 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10823
10824 Fix dw2-icycle.exp -fsanitize=address GDB crash.
10825 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
10826
10827 2014-02-24 Doug Evans <dje@google.com>
10828
10829 * lib/gdb.exp (run_on_host): Log error output if program fails.
10830
10831 2014-02-21 Pedro Alves <palves@redhat.com>
10832
10833 * gdb.threads/step-after-sr-lock.c: Rename to ...
10834 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
10835 * gdb.threads/step-after-sr-lock.exp: Rename to ...
10836 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10837 ... this.
10838
10839 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
10840
10841 PR tdep/16397
10842 * gdb.arch/amd64-stap-special-operands.exp: New file.
10843 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
10844 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
10845 * gdb.arch/amd64-stap-triplet.S: Likewise.
10846 * gdb.arch/amd64-stap-triplet.c: Likewise.
10847
10848 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10849
10850 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
10851 in .section pseudo-op.
10852
10853 2014-02-20 lin zuojian <manjian2006@gmail.com>
10854 Joel Brobecker <brobecker@adacore.com>
10855 Doug Evans <xdje42@gmail.com>
10856
10857 PR symtab/16581
10858 * gdb.dwarf2/dw2-icycle.S: New file.
10859 * gdb.dwarf2/dw2-icycle.c: New file.
10860 * gdb.dwarf2/dw2-icycle.exp: New file.
10861
10862 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
10863
10864 * gdb.python/py-value-cc.cc: Improve test case to enable testing
10865 operations on gdb.Value objects.
10866 * gdb.python/py-value-cc.exp: Add new test to test operations on
10867 gdb.Value objects.
10868
10869 2014-02-18 Doug Evans <dje@google.com>
10870
10871 * Makefile.in (TESTS): New variable.
10872 (expanded_tests, expanded_tests_or_none): New variables
10873 (check-single): Pass $(expanded_tests_or_none) to runtest.
10874 (check-parallel): Only run tests in $(TESTS) if non-empty.
10875 (check/no-matching-tests-found): New rule.
10876 * README: Document TESTS makefile variable.
10877
10878 2014-02-18 Doug Evans <dje@google.com>
10879
10880 * Makefile.in (check-parallel): rm -rf outputs temp.
10881
10882 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10883
10884 Fix "ERROR: no fileid for" in the testsuite.
10885 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
10886
10887 2014-02-12 Doug Evans <dje@google.com>
10888
10889 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
10890 (MISCELLANEOUS): New variable.
10891 (clean): rm -rf $(MISCELLANEOUS).
10892 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
10893 dwp live in the same directory as symlinks, with each symlink pointed
10894 to a differently named file in a different directory.
10895
10896 2014-02-11 Doug Evans <dje@google.com>
10897
10898 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
10899 of Tcl file commands.
10900
10901 2014-02-10 Mark Kettenis <kettenis@gnu.org>
10902
10903 * gdb.threads/step-after-sr-lock.exp: Avoid executing
10904 "kill -SIGUSR1 -1".
10905
10906 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10907
10908 * gdb.ada/tick_length_array_enum_idx: New testcase.
10909
10910 2014-02-10 Doug Evans <xdje42@gmail.com>
10911
10912 * configure.ac (AC_OUTPUT): Add gdb.guile.
10913 * configure: Regenerate.
10914 * lib/gdb-guile.exp: New file.
10915 * lib/gdb.exp (get_target_charset): New function.
10916 * gdb.base/help.exp: Update expected output from "apropos apropos".
10917 * gdb.guile/Makefile.in: New file.
10918 * gdb.guile/guile.exp: New file.
10919 * gdb.guile/scm-arch.c: New file.
10920 * gdb.guile/scm-arch.exp: New file.
10921 * gdb.guile/scm-block.c: New file.
10922 * gdb.guile/scm-block.exp: New file.
10923 * gdb.guile/scm-breakpoint.c: New file.
10924 * gdb.guile/scm-breakpoint.exp: New file.
10925 * gdb.guile/scm-disasm.c: New file.
10926 * gdb.guile/scm-disasm.exp: New file.
10927 * gdb.guile/scm-equal.c: New file.
10928 * gdb.guile/scm-equal.exp: New file.
10929 * gdb.guile/scm-error.exp: New file.
10930 * gdb.guile/scm-error.scm: New file.
10931 * gdb.guile/scm-frame-args.c: New file.
10932 * gdb.guile/scm-frame-args.exp: New file.
10933 * gdb.guile/scm-frame-args.scm: New file.
10934 * gdb.guile/scm-frame-inline.c: New file.
10935 * gdb.guile/scm-frame-inline.exp: New file.
10936 * gdb.guile/scm-frame.c: New file.
10937 * gdb.guile/scm-frame.exp: New file.
10938 * gdb.guile/scm-generics.exp: New file.
10939 * gdb.guile/scm-gsmob.exp: New file.
10940 * gdb.guile/scm-iterator.c: New file.
10941 * gdb.guile/scm-iterator.exp: New file.
10942 * gdb.guile/scm-math.c: New file.
10943 * gdb.guile/scm-math.exp: New file.
10944 * gdb.guile/scm-objfile-script-gdb.in: New file.
10945 * gdb.guile/scm-objfile-script.c: New file.
10946 * gdb.guile/scm-objfile-script.exp: New file.
10947 * gdb.guile/scm-objfile.c: New file.
10948 * gdb.guile/scm-objfile.exp: New file.
10949 * gdb.guile/scm-ports.exp: New file.
10950 * gdb.guile/scm-pretty-print.c: New file.
10951 * gdb.guile/scm-pretty-print.exp: New file.
10952 * gdb.guile/scm-pretty-print.scm: New file.
10953 * gdb.guile/scm-section-script.c: New file.
10954 * gdb.guile/scm-section-script.exp: New file.
10955 * gdb.guile/scm-section-script.scm: New file.
10956 * gdb.guile/scm-symbol.c: New file.
10957 * gdb.guile/scm-symbol.exp: New file.
10958 * gdb.guile/scm-symtab-2.c: New file.
10959 * gdb.guile/scm-symtab.c: New file.
10960 * gdb.guile/scm-symtab.exp: New file.
10961 * gdb.guile/scm-type.c: New file.
10962 * gdb.guile/scm-type.exp: New file.
10963 * gdb.guile/scm-value-cc.cc: New file.
10964 * gdb.guile/scm-value-cc.exp: New file.
10965 * gdb.guile/scm-value.c: New file.
10966 * gdb.guile/scm-value.exp: New file.
10967 * gdb.guile/source2.scm: New file.
10968 * gdb.guile/types-module.cc: New file.
10969 * gdb.guile/types-module.exp: New file.
10970
10971 2014-02-10 Yao Qi <yao@codesourcery.com>
10972
10973 PR testsuite/16543
10974 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
10975 * configure: Regenerated.
10976 * Makefile.in: New file.
10977
10978 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
10979
10980 * gdb.python/py-framefilter.exp: Fix typo.
10981
10982 2014-02-08 Yao Qi <yao@codesourcery.com>
10983
10984 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
10985 that no =breakpoint-modified is emitted when breakpoints are
10986 modified through MI commands.
10987
10988 2014-02-07 Pedro Alves <pedro@codesourcery.com>
10989 Pedro Alves <palves@redhat.com>
10990
10991 * gdb.threads/step-after-sr-lock.c: New file.
10992 * gdb.threads/step-after-sr-lock.exp: New file.
10993
10994 2014-02-07 Pedro Alves <palves@redhat.com>
10995
10996 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
10997
10998 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10999
11000 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
11001 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
11002
11003 2014-02-06 Doug Evans <xdje42@gmail.com>
11004
11005 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
11006 output.
11007
11008 * gdb.gdb/python-interrupts.exp: New file.
11009
11010 2014-02-05 Yao Qi <yao@codesourcery.com>
11011
11012 * gdb.trace/report.exp (use_collected_data): Test the output
11013 of "info threads" and "info inferiors".
11014
11015 2014-02-05 Yao Qi <yao@codesourcery.com>
11016
11017 Revert this patch:
11018
11019 2013-05-24 Yao Qi <yao@codesourcery.com>
11020
11021 * gdb.trace/tfile.exp: Test inferior and thread.
11022
11023 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11024
11025 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
11026 on a function.
11027 * gdb.base/step-bt.c: Call hello via function pointer to make
11028 sure its first instruction is executed on powerpc64le-linux.
11029
11030 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11031
11032 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
11033
11034 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11035
11036 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
11037 of the test patterns for use on little-endian systems.
11038
11039 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11040
11041 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
11042 (decimal_vector): Fix for little-endian.
11043
11044 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11045
11046 * gdb.arch/sparc-sysstep.exp: New file.
11047 * gdb.arch/sparc-sysstep.c: Likewise.
11048
11049 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
11050
11051 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11052
11053 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
11054
11055 2014-01-23 Tom Tromey <tromey@redhat.com>
11056
11057 * gdb.ada/array_char_idx: New testcase.
11058
11059 2014-01-23 Tom Tromey <tromey@redhat.com>
11060
11061 PR python/16487:
11062 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
11063 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
11064 classes.
11065
11066 2014-01-23 Tom Tromey <tromey@redhat.com>
11067
11068 PR python/16491:
11069 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
11070 string from an inferior frame.
11071 * gdb.python/py-framefilter-mi.exp: Update.
11072
11073 2014-01-22 Doug Evans <dje@google.com>
11074
11075 * gdb.server/server-mon.exp: Add tests for "set debug-format".
11076
11077 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11078
11079 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
11080
11081 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11082
11083 * gdb.trace/entry-values.exp: Remove excess space character from
11084 regex patterns. Handle s390 call instruction.
11085
11086 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11087
11088 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
11089 define "*_start" label. Make "name" static.
11090 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
11091 ${name} by references to ${name}_start.
11092
11093 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11094
11095 * gdb.base/info-macros.exp: Remove "debug" from the compile
11096 options.
11097
11098 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11099
11100 * gdb.dlang/demangle.exp: New file.
11101
11102 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11103
11104 * gdb.dlang/primitive-types.exp: New file.
11105
11106 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11107
11108 * configure.ac: Create gdb.dlang/Makefile.
11109 * configure: Regenerate.
11110 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
11111 * gdb.dlang/Makefile.in: New file.
11112 * lib/d-support.exp: New file.
11113 * lib/gdb.exp (skip_d_tests): New proc.
11114
11115 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11116
11117 * gdb.btrace/delta.exp: Check reverse stepi.
11118 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
11119 * gdb.btrace/finish.exp: New.
11120 * gdb.btrace/next.exp: New.
11121 * gdb.btrace/nexti.exp: New.
11122 * gdb.btrace/record_goto.c: Add comments.
11123 * gdb.btrace/step.exp: New.
11124 * gdb.btrace/stepi.exp: New.
11125 * gdb.btrace/multi-thread-step.c: New.
11126 * gdb.btrace/multi-thread-step.exp: New.
11127 * gdb.btrace/rn-dl-bind.c: New.
11128 * gdb.btrace/rn-dl-bind.exp: New.
11129 * gdb.btrace/data.c: New.
11130 * gdb.btrace/data.exp: New.
11131 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11132
11133 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11134
11135 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
11136 * gdb.btrace/exception.exp: Update.
11137 * gdb.btrace/instruction_history.exp: Update.
11138 * gdb.btrace/record_goto.exp: Update.
11139 * gdb.btrace/tailcall.exp: Update.
11140 * gdb.btrace/unknown_functions.exp: Update.
11141 * gdb.btrace/delta.exp: New.
11142
11143 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11144
11145 * gdb.btrace/record_goto.exp: Add backtrace test.
11146 * gdb.btrace/tailcall.exp: Add backtrace test.
11147
11148 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11149
11150 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
11151 * gdb.btrace/record_goto.c: New.
11152 * gdb.btrace/record_goto.exp: New.
11153 * gdb.btrace/x86-record_goto.S: New.
11154
11155 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11156
11157 * gdb.btrace/function_call_history.exp: Update tests.
11158 * gdb.btrace/instruction_history.exp: Update tests.
11159
11160 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11161
11162 * gdb.btrace/function_call_history.exp: Fix expected field
11163 order for "record function-call-history".
11164 Add new tests for "record function-call-history /c".
11165 * gdb.btrace/exception.cc: New.
11166 * gdb.btrace/exception.exp: New.
11167 * gdb.btrace/tailcall.exp: New.
11168 * gdb.btrace/x86-tailcall.S: New.
11169 * gdb.btrace/x86-tailcall.c: New.
11170 * gdb.btrace/unknown_functions.c: New.
11171 * gdb.btrace/unknown_functions.exp: New.
11172 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11173
11174 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11175
11176 * gdb.btrace/instruction_history.exp: Update.
11177 * gdb.btrace/function_call_history.exp: Update.
11178
11179 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11180
11181 * gdb.btrace/function_call_history.exp: Fix expected function
11182 trace.
11183 * gdb.btrace/instruction_history.exp: Initialize traced.
11184 Remove traced_functions.
11185
11186 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11187
11188 * gdb.btrace/function_call_history.exp: Update
11189 * gdb.btrace/instruction_history.exp: Update.
11190
11191 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11192
11193 * gdb.btrace/enable.exp: Update expected text.
11194
11195 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
11196
11197 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
11198 bytes.
11199
11200 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
11201
11202 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
11203
11204 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11205
11206 * lib/gdb.exp (supports_process_record): Return true for
11207 arm*-linux*. (supports_reverse): Likewise.
11208
11209 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11210
11211 PR python/15464
11212 PR python/16113
11213 * gdb.python/py-type.c: Enhance test case.
11214 * gdb.python/py-value-cc.cc: Likewise
11215 * gdb.python/py-type.exp: Add new tests.
11216 * gdb.python/py-value-cc.exp: Likewise
11217
11218 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11219 Pedro Alves <palves@redhat.com>
11220
11221 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11222 Make "name" extern.
11223 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11224 references to ${name}_start by references to ${name}.
11225
11226 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11227
11228 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11229
11230 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11231
11232 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11233
11234 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11235 Pedro Alves <palves@redhat.com>
11236
11237 * gdb.mi/mi-info-os.exp: Connect to the target with
11238 mi_gdb_target_load.
11239
11240 2014-01-08 Pedro Alves <palves@redhat.com>
11241
11242 * gdb.threads/reconnect-signal.c: New file.
11243 * gdb.threads/reconnect-signal.exp: New file.
11244
11245 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11246
11247 * gdb.base/source-dir.exp: New file.
11248
11249 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11250
11251 * gdb.ada/mi_interface: New testcase.
11252
11253 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11254
11255 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11256 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11257 gdb.ada/pp-rec-component/pck.ads: New files.
11258
11259 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11260
11261 * gdb.python/py-pp-integral.c: New file.
11262 * gdb.python/py-pp-integral.py: New file.
11263 * gdb.python/py-pp-integral.exp: New file.
11264
11265 For older changes see ChangeLog-1993-2013.
11266 \f
11267 ;; Local Variables:
11268 ;; mode: change-log
11269 ;; left-margin: 8
11270 ;; fill-column: 74
11271 ;; version-control: never
11272 ;; End:
11273
11274 Copyright 2014-2017 Free Software Foundation, Inc.
11275 Copying and distribution of this file, with or without modification,
11276 are permitted provided the copyright notice and this notice are preserved.
This page took 0.331906 seconds and 4 git commands to generate.