Move TUI testcases to new gdb/testsuite/gdb.tui/ directory
[binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2017-03-08 Pedro Alves <palves@redhat.com>
2
3 * gdb.base/tui-disasm-long-lines.c,
4 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
5 gdb.base/tui-layout.exp: Move to ...
6 * gdb.tui/: ... this new directory.
7
8 2017-03-07 Pedro Alves <palves@redhat.com>
9
10 * gdb.base/tui-layout.c: New file.
11 * gdb.base/tui-layout.exp: New file.
12
13 2017-03-07 Pedro Alves <palves@redhat.com>
14
15 * gdb.base/tui-layout.c: Rename to ...
16 * gdb.base/tui-disasm-long-lines.c: ... this.
17 * gdb.base/tui-layout.exp: Rename to ...
18 * gdb.base/tui-disasm-long-lines.exp: ... this.
19
20 2017-03-07 Pedro Alves <palves@redhat.com>
21
22 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
23
24 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
25
26 * i386-mpx-call.c: New file.
27 * i386-mpx-call.exp: New file.
28
29 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
30
31 * gdb.arch/powerpc-power.exp: Delete test.
32 * gdb.arch/powerpc-power.s: Likewise.
33 * gdb.disasm/disassembler-options.exp: New test.
34 * gdb.arch/powerpc-altivec.exp: Likewise.
35 * gdb.arch/powerpc-altivec.s: Likewise.
36 * gdb.arch/powerpc-altivec2.exp: Likewise.
37 * gdb.arch/powerpc-altivec2.s: Likewise.
38 * gdb.arch/powerpc-altivec3.exp: Likewise.
39 * gdb.arch/powerpc-altivec3.s: Likewise.
40 * gdb.arch/powerpc-power7.exp: Likewise.
41 * gdb.arch/powerpc-power7.s: Likewise.
42 * gdb.arch/powerpc-power8.exp: Likewise.
43 * gdb.arch/powerpc-power8.s: Likewise.
44 * gdb.arch/powerpc-power9.exp: Likewise.
45 * gdb.arch/powerpc-power9.s: Likewise.
46 * gdb.arch/powerpc-vsx.exp: Likewise.
47 * gdb.arch/powerpc-vsx.s: Likewise.
48 * gdb.arch/powerpc-vsx2.exp: Likewise.
49 * gdb.arch/powerpc-vsx2.s: Likewise.
50 * gdb.arch/powerpc-vsx3.exp: Likewise.
51 * gdb.arch/powerpc-vsx3.s: Likewise.
52 * gdb.arch/arm-disassembler-options.exp: Likewise.
53 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
54 * gdb.arch/s390-disassembler-options.exp: Likewise.
55
56 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
57
58 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
59 (check_supported_features): ... this. Changed return type to void.
60 (supports_rdseed): New static global.
61 (rdseed): Check supports_rdseed.
62 (initialize): Call check_supported_features.
63
64 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
65
66 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
67 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
68 and lqarx/stqcx.
69 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
70 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
71
72 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
73
74 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
75 uppercase.
76
77 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
78
79 * gdb.dwarf2/formdata16.c: New file.
80 * gdb.dwarf2/formdata16.exp: New file.
81 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
82
83 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
84
85 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
86 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
87 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
88 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
89 DW_AT_GNU_*.
90
91 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
92
93 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
94
95 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
96
97 PR gdb/21164
98 * gdb.base/maint.exp: Add testcases for when the commands do
99 not have arguments.
100
101 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
102
103 * gdb.cp/chained-calls.exp: Use p instead of P.
104
105 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
106
107 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
108 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
109
110 2017-02-14 Tom Tromey <tom@tromey.com>
111
112 PR python/13598:
113 * gdb.python/py-events.exp: Add before_prompt event tests.
114
115 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
116
117 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
118
119 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
120
121 * gdb.linespec/explicit.c (my_unique_function_name): New function.
122 (main): Call my_unique_function_name.
123 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
124 completion of patterns with a single match.
125 Add missing -re switches to gdb_test_multiple calls.
126
127 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
128
129 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
130 return if core file is not recognized.
131
132 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
133
134 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
135 and extra UIs.
136
137 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
138
139 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
140 proc_with_prefix.
141
142 2017-02-10 Tom Tromey <tom@tromey.com>
143
144 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
145
146 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
147
148 PR gdb/21122
149 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
150
151 2017-02-08 Jerome Guitton <guitton@adacore.com>
152
153 * gdb.base/define.exp: Add test for command abbreviations
154 in define.
155
156 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
157
158 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
159 * gdb.reverse/insn-reverse-x86.c: New file.
160
161 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
162
163 PR tdep/20936
164 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
165
166 2017-02-03 Tom Tromey <tom@tromey.com>
167
168 PR rust/21097:
169 * gdb.rust/simple.exp: Add new tests.
170
171 2017-02-02 Pedro Alves <palves@redhat.com>
172
173 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
174 tests.
175
176 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
177
178 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
179 taking a 2-byte value out of a 4-byte DWARF implicit value on
180 big-endian targets.
181 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
182 logic. Add test cases for DW_OP_implicit.
183
184 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
185
186 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
187
188 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
189
190 * gdb.btrace/enable.exp: Call gdb_exit before
191 skip_gdbserver_tests.
192
193 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
194
195 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
196 GDBFLAGS.
197
198 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
199
200 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
201 the test is skipped.
202 * gdb.btrace/data.exp: Likewise.
203 * gdb.btrace/delta.exp: Likewise.
204 * gdb.btrace/dlopen.exp: Likewise.
205 * gdb.btrace/enable-running.exp: Likewise.
206 * gdb.btrace/enable.exp: Likewise.
207 * gdb.btrace/exception.exp: Likewise.
208 * gdb.btrace/function_call_history.exp: Likewise.
209 * gdb.btrace/gcore.exp: Likewise.
210 * gdb.btrace/instruction_history.exp: Likewise.
211 * gdb.btrace/multi-thread-step.exp: Likewise.
212 * gdb.btrace/nohist.exp: Likewise.
213 * gdb.btrace/non-stop.exp: Likewise.
214 * gdb.btrace/reconnect.exp: Likewise.
215 * gdb.btrace/record_goto-step.exp: Likewise.
216 * gdb.btrace/record_goto.exp: Likewise.
217 * gdb.btrace/rn-dl-bind.exp: Likewise.
218 * gdb.btrace/segv.exp: Likewise.
219 * gdb.btrace/step.exp: Likewise.
220 * gdb.btrace/stepi.exp: Likewise.
221 * gdb.btrace/tailcall-only.exp: Likewise.
222 * gdb.btrace/tailcall.exp: Likewise.
223 * gdb.btrace/tsx.exp: Likewise.
224 * gdb.btrace/unknown_functions.exp: Likewise.
225 * gdb.btrace/vdso.exp: Likewise.
226
227 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
228
229 * gdb.btrace/enable-running.c: New.
230 * gdb.btrace/enable-running.exp: New.
231
232 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
233
234 * gdb.arch/amd64-gs_base.c: New file.
235 * gdb.arch/amd64-gs_base.exp: New file.
236
237 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
238
239 * lib/memory.exp: Remove spurious empty newlines.
240
241 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
242
243 * gdb.python/py-bad-printers.exp: Load python file using "source".
244 * gdb.python/py-events.exp: Likewise.
245 * gdb.python/py-evsignal.exp: Likewise.
246 * gdb.python/py-evthreads.exp: Likewise.
247 * gdb.python/py-frame-args.exp: Likewise.
248 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
249 * gdb.python/py-framefilter-mi.exp: Likewise.
250 * gdb.python/py-framefilter.exp: Likewise.
251 * gdb.python/py-mi.exp: Likewise.
252 * gdb.python/py-pp-maint.exp: Likewise.
253 * gdb.python/py-pp-registration.exp: Likewise.
254 * gdb.python/py-prettyprint.exp: Likewise.
255 (run_lang_tests): Likewise.
256 * gdb.python/py-typeprint.exp: Likewise.
257
258 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
259
260 * lib/memory.exp: New file.
261 * lib/gdb.exp: Load memory.exp.
262 * gdb.base/memattr.exp (delete_memory): Move proc to
263 lib/memory.exp and rename to delete_memory_regions.
264 Replace delete_memory with delete_memory_regions.
265 Cleanup memory regions before tests.
266 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
267 before tests.
268
269 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
270
271 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
272 files.
273 (initialize): New function conditionally defined.
274 (testcases): Move within conditional block.
275 (main): Call initialize.
276 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
277 of gdb.reverse/insn-reverse.c.
278 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
279 gdb.reverse/insn-reverse.c.
280
281 2017-01-26 Yao Qi <yao.qi@linaro.org>
282
283 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
284 disassemble on address 0.
285
286 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
287 Yao Qi <yao.qi@linaro.org>
288
289 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
290 * gdb.dwarf2/implptr-64bit.S: Remove.
291 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
292 variables in caller's context. Add DW_OP_implicit_value.
293
294 2017-01-25 Yao Qi <yao.qi@linaro.org>
295
296 * lib/dwarf.exp (Dwarf::_location): Handle
297 DW_OP_GNU_implicit_pointer with proper size.
298
299 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
300
301 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
302 and add untested calls.
303
304 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
305
306 * gdb.python/python.exp: Check line number against what GDB thinks
307 the line number is for func1.
308
309 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
310
311 * gdb.dlang/debug-expr.exp: New file.
312
313 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
314
315 Fix test names for the following files:
316
317 * gdb.ada/exec_changed.exp
318 * gdb.ada/info_types.exp
319 * gdb.arch/aarch64-atomic-inst.exp
320 * gdb.arch/aarch64-fp.exp
321 * gdb.arch/altivec-abi.exp
322 * gdb.arch/altivec-regs.exp
323 * gdb.arch/amd64-byte.exp
324 * gdb.arch/amd64-disp-step.exp
325 * gdb.arch/amd64-dword.exp
326 * gdb.arch/amd64-entry-value-inline.exp
327 * gdb.arch/amd64-entry-value-param.exp
328 * gdb.arch/amd64-entry-value-paramref.exp
329 * gdb.arch/amd64-entry-value.exp
330 * gdb.arch/amd64-i386-address.exp
331 * gdb.arch/amd64-invalid-stack-middle.exp
332 * gdb.arch/amd64-invalid-stack-top.exp
333 * gdb.arch/amd64-optimout-repeat.exp
334 * gdb.arch/amd64-prologue-skip.exp
335 * gdb.arch/amd64-prologue-xmm.exp
336 * gdb.arch/amd64-stap-special-operands.exp
337 * gdb.arch/amd64-stap-wrong-subexp.exp
338 * gdb.arch/amd64-tailcall-cxx.exp
339 * gdb.arch/amd64-tailcall-noret.exp
340 * gdb.arch/amd64-tailcall-ret.exp
341 * gdb.arch/amd64-tailcall-self.exp
342 * gdb.arch/amd64-word.exp
343 * gdb.arch/arm-bl-branch-dest.exp
344 * gdb.arch/arm-disp-step.exp
345 * gdb.arch/arm-neon.exp
346 * gdb.arch/arm-single-step-kernel-helper.exp
347 * gdb.arch/avr-flash-qualifier.exp
348 * gdb.arch/disp-step-insn-reloc.exp
349 * gdb.arch/e500-abi.exp
350 * gdb.arch/e500-regs.exp
351 * gdb.arch/ftrace-insn-reloc.exp
352 * gdb.arch/i386-avx512.exp
353 * gdb.arch/i386-bp_permanent.exp
354 * gdb.arch/i386-byte.exp
355 * gdb.arch/i386-cfi-notcurrent.exp
356 * gdb.arch/i386-disp-step.exp
357 * gdb.arch/i386-dr3-watch.exp
358 * gdb.arch/i386-float.exp
359 * gdb.arch/i386-gnu-cfi.exp
360 * gdb.arch/i386-mpx-map.exp
361 * gdb.arch/i386-mpx-sigsegv.exp
362 * gdb.arch/i386-mpx-simple_segv.exp
363 * gdb.arch/i386-mpx.exp
364 * gdb.arch/i386-permbkpt.exp
365 * gdb.arch/i386-prologue.exp
366 * gdb.arch/i386-signal.exp
367 * gdb.arch/i386-size-overlap.exp
368 * gdb.arch/i386-unwind.exp
369 * gdb.arch/i386-word.exp
370 * gdb.arch/mips-fcr.exp
371 * gdb.arch/powerpc-d128-regs.exp
372 * gdb.arch/powerpc-stackless.exp
373 * gdb.arch/ppc64-atomic-inst.exp
374 * gdb.arch/s390-stackless.exp
375 * gdb.arch/s390-tdbregs.exp
376 * gdb.arch/s390-vregs.exp
377 * gdb.arch/sparc-sysstep.exp
378 * gdb.arch/thumb-bx-pc.exp
379 * gdb.arch/thumb-singlestep.exp
380 * gdb.arch/thumb2-it.exp
381 * gdb.arch/vsx-regs.exp
382 * gdb.asm/asm-source.exp
383 * gdb.base/a2-run.exp
384 * gdb.base/advance.exp
385 * gdb.base/all-bin.exp
386 * gdb.base/anon.exp
387 * gdb.base/args.exp
388 * gdb.base/arithmet.exp
389 * gdb.base/async-shell.exp
390 * gdb.base/async.exp
391 * gdb.base/attach-pie-noexec.exp
392 * gdb.base/attach-twice.exp
393 * gdb.base/auto-load.exp
394 * gdb.base/bang.exp
395 * gdb.base/bitfields.exp
396 * gdb.base/break-always.exp
397 * gdb.base/break-caller-line.exp
398 * gdb.base/break-entry.exp
399 * gdb.base/break-inline.exp
400 * gdb.base/break-on-linker-gcd-function.exp
401 * gdb.base/break-probes.exp
402 * gdb.base/break.exp
403 * gdb.base/breakpoint-shadow.exp
404 * gdb.base/call-ar-st.exp
405 * gdb.base/call-sc.exp
406 * gdb.base/call-signal-resume.exp
407 * gdb.base/call-strs.exp
408 * gdb.base/callfuncs.exp
409 * gdb.base/catch-fork-static.exp
410 * gdb.base/catch-gdb-caused-signals.exp
411 * gdb.base/catch-load.exp
412 * gdb.base/catch-signal-fork.exp
413 * gdb.base/catch-signal.exp
414 * gdb.base/catch-syscall.exp
415 * gdb.base/charset.exp
416 * gdb.base/checkpoint.exp
417 * gdb.base/chng-syms.exp
418 * gdb.base/code-expr.exp
419 * gdb.base/code_elim.exp
420 * gdb.base/commands.exp
421 * gdb.base/completion.exp
422 * gdb.base/complex.exp
423 * gdb.base/cond-expr.exp
424 * gdb.base/condbreak.exp
425 * gdb.base/consecutive.exp
426 * gdb.base/continue-all-already-running.exp
427 * gdb.base/coredump-filter.exp
428 * gdb.base/corefile.exp
429 * gdb.base/dbx.exp
430 * gdb.base/debug-expr.exp
431 * gdb.base/define.exp
432 * gdb.base/del.exp
433 * gdb.base/disabled-location.exp
434 * gdb.base/disasm-end-cu.exp
435 * gdb.base/disasm-optim.exp
436 * gdb.base/display.exp
437 * gdb.base/duplicate-bp.exp
438 * gdb.base/ena-dis-br.exp
439 * gdb.base/ending-run.exp
440 * gdb.base/enumval.exp
441 * gdb.base/environ.exp
442 * gdb.base/eu-strip-infcall.exp
443 * gdb.base/eval-avoid-side-effects.exp
444 * gdb.base/eval-skip.exp
445 * gdb.base/exitsignal.exp
446 * gdb.base/expand-psymtabs.exp
447 * gdb.base/filesym.exp
448 * gdb.base/find-unmapped.exp
449 * gdb.base/finish.exp
450 * gdb.base/float.exp
451 * gdb.base/foll-exec-mode.exp
452 * gdb.base/foll-exec.exp
453 * gdb.base/foll-fork.exp
454 * gdb.base/fortran-sym-case.exp
455 * gdb.base/freebpcmd.exp
456 * gdb.base/func-ptr.exp
457 * gdb.base/func-ptrs.exp
458 * gdb.base/funcargs.exp
459 * gdb.base/gcore-buffer-overflow.exp
460 * gdb.base/gcore-relro-pie.exp
461 * gdb.base/gcore-relro.exp
462 * gdb.base/gcore.exp
463 * gdb.base/gdb1090.exp
464 * gdb.base/gdb11530.exp
465 * gdb.base/gdb11531.exp
466 * gdb.base/gdb1821.exp
467 * gdb.base/gdbindex-stabs.exp
468 * gdb.base/gdbvars.exp
469 * gdb.base/hbreak.exp
470 * gdb.base/hbreak2.exp
471 * gdb.base/included.exp
472 * gdb.base/infcall-input.exp
473 * gdb.base/inferior-died.exp
474 * gdb.base/infnan.exp
475 * gdb.base/info-macros.exp
476 * gdb.base/info-os.exp
477 * gdb.base/info-proc.exp
478 * gdb.base/info-shared.exp
479 * gdb.base/info-target.exp
480 * gdb.base/infoline.exp
481 * gdb.base/interp.exp
482 * gdb.base/interrupt.exp
483 * gdb.base/jit-reader.exp
484 * gdb.base/jit-simple.exp
485 * gdb.base/kill-after-signal.exp
486 * gdb.base/kill-detach-inferiors-cmd.exp
487 * gdb.base/label.exp
488 * gdb.base/langs.exp
489 * gdb.base/ldbl_e308.exp
490 * gdb.base/line-symtabs.exp
491 * gdb.base/linespecs.exp
492 * gdb.base/list.exp
493 * gdb.base/long_long.exp
494 * gdb.base/longest-types.exp
495 * gdb.base/maint.exp
496 * gdb.base/max-value-size.exp
497 * gdb.base/memattr.exp
498 * gdb.base/mips_pro.exp
499 * gdb.base/morestack.exp
500 * gdb.base/moribund-step.exp
501 * gdb.base/multi-forks.exp
502 * gdb.base/nested-addr.exp
503 * gdb.base/nextoverexit.exp
504 * gdb.base/noreturn-finish.exp
505 * gdb.base/noreturn-return.exp
506 * gdb.base/nostdlib.exp
507 * gdb.base/offsets.exp
508 * gdb.base/opaque.exp
509 * gdb.base/pc-fp.exp
510 * gdb.base/permissions.exp
511 * gdb.base/print-symbol-loading.exp
512 * gdb.base/prologue-include.exp
513 * gdb.base/psymtab.exp
514 * gdb.base/ptype.exp
515 * gdb.base/random-signal.exp
516 * gdb.base/randomize.exp
517 * gdb.base/range-stepping.exp
518 * gdb.base/readline-ask.exp
519 * gdb.base/recpar.exp
520 * gdb.base/recurse.exp
521 * gdb.base/relational.exp
522 * gdb.base/restore.exp
523 * gdb.base/return-nodebug.exp
524 * gdb.base/return.exp
525 * gdb.base/run-after-attach.exp
526 * gdb.base/save-bp.exp
527 * gdb.base/scope.exp
528 * gdb.base/sect-cmd.exp
529 * gdb.base/set-lang-auto.exp
530 * gdb.base/set-noassign.exp
531 * gdb.base/setvar.exp
532 * gdb.base/sigall.exp
533 * gdb.base/sigbpt.exp
534 * gdb.base/siginfo-addr.exp
535 * gdb.base/siginfo-infcall.exp
536 * gdb.base/siginfo-obj.exp
537 * gdb.base/siginfo.exp
538 * gdb.base/signals-state-child.exp
539 * gdb.base/signest.exp
540 * gdb.base/sigstep.exp
541 * gdb.base/sizeof.exp
542 * gdb.base/skip.exp
543 * gdb.base/solib-corrupted.exp
544 * gdb.base/solib-nodir.exp
545 * gdb.base/solib-search.exp
546 * gdb.base/stack-checking.exp
547 * gdb.base/stale-infcall.exp
548 * gdb.base/stap-probe.exp
549 * gdb.base/start.exp
550 * gdb.base/step-break.exp
551 * gdb.base/step-bt.exp
552 * gdb.base/step-line.exp
553 * gdb.base/step-over-exit.exp
554 * gdb.base/step-over-syscall.exp
555 * gdb.base/step-resume-infcall.exp
556 * gdb.base/step-test.exp
557 * gdb.base/store.exp
558 * gdb.base/structs3.exp
559 * gdb.base/sym-file.exp
560 * gdb.base/symbol-without-target_section.exp
561 * gdb.base/term.exp
562 * gdb.base/testenv.exp
563 * gdb.base/ui-redirect.exp
564 * gdb.base/until.exp
565 * gdb.base/unwindonsignal.exp
566 * gdb.base/value-double-free.exp
567 * gdb.base/vla-datatypes.exp
568 * gdb.base/vla-ptr.exp
569 * gdb.base/vla-sideeffect.exp
570 * gdb.base/volatile.exp
571 * gdb.base/watch-cond-infcall.exp
572 * gdb.base/watch-cond.exp
573 * gdb.base/watch-non-mem.exp
574 * gdb.base/watch-read.exp
575 * gdb.base/watch-vfork.exp
576 * gdb.base/watchpoint-cond-gone.exp
577 * gdb.base/watchpoint-delete.exp
578 * gdb.base/watchpoint-hw-hit-once.exp
579 * gdb.base/watchpoint-hw.exp
580 * gdb.base/watchpoint-stops-at-right-insn.exp
581 * gdb.base/watchpoints.exp
582 * gdb.base/wchar.exp
583 * gdb.base/whatis-exp.exp
584 * gdb.btrace/buffer-size.exp
585 * gdb.btrace/data.exp
586 * gdb.btrace/delta.exp
587 * gdb.btrace/dlopen.exp
588 * gdb.btrace/enable.exp
589 * gdb.btrace/exception.exp
590 * gdb.btrace/function_call_history.exp
591 * gdb.btrace/gcore.exp
592 * gdb.btrace/instruction_history.exp
593 * gdb.btrace/nohist.exp
594 * gdb.btrace/reconnect.exp
595 * gdb.btrace/record_goto-step.exp
596 * gdb.btrace/record_goto.exp
597 * gdb.btrace/rn-dl-bind.exp
598 * gdb.btrace/segv.exp
599 * gdb.btrace/step.exp
600 * gdb.btrace/stepi.exp
601 * gdb.btrace/tailcall-only.exp
602 * gdb.btrace/tailcall.exp
603 * gdb.btrace/tsx.exp
604 * gdb.btrace/unknown_functions.exp
605 * gdb.btrace/vdso.exp
606 * gdb.compile/compile-ifunc.exp
607 * gdb.compile/compile-ops.exp
608 * gdb.compile/compile-print.exp
609 * gdb.compile/compile-setjmp.exp
610 * gdb.cp/abstract-origin.exp
611 * gdb.cp/ambiguous.exp
612 * gdb.cp/annota2.exp
613 * gdb.cp/annota3.exp
614 * gdb.cp/anon-ns.exp
615 * gdb.cp/anon-struct.exp
616 * gdb.cp/anon-union.exp
617 * gdb.cp/arg-reference.exp
618 * gdb.cp/baseenum.exp
619 * gdb.cp/bool.exp
620 * gdb.cp/breakpoint.exp
621 * gdb.cp/bs15503.exp
622 * gdb.cp/call-c.exp
623 * gdb.cp/casts.exp
624 * gdb.cp/chained-calls.exp
625 * gdb.cp/class2.exp
626 * gdb.cp/classes.exp
627 * gdb.cp/cmpd-minsyms.exp
628 * gdb.cp/converts.exp
629 * gdb.cp/cp-relocate.exp
630 * gdb.cp/cpcompletion.exp
631 * gdb.cp/cpexprs.exp
632 * gdb.cp/cplabel.exp
633 * gdb.cp/cplusfuncs.exp
634 * gdb.cp/cpsizeof.exp
635 * gdb.cp/ctti.exp
636 * gdb.cp/derivation.exp
637 * gdb.cp/destrprint.exp
638 * gdb.cp/dispcxx.exp
639 * gdb.cp/enum-class.exp
640 * gdb.cp/exception.exp
641 * gdb.cp/exceptprint.exp
642 * gdb.cp/expand-psymtabs-cxx.exp
643 * gdb.cp/expand-sals.exp
644 * gdb.cp/extern-c.exp
645 * gdb.cp/filename.exp
646 * gdb.cp/formatted-ref.exp
647 * gdb.cp/fpointer.exp
648 * gdb.cp/gdb1355.exp
649 * gdb.cp/gdb2495.exp
650 * gdb.cp/hang.exp
651 * gdb.cp/impl-this.exp
652 * gdb.cp/infcall-dlopen.exp
653 * gdb.cp/inherit.exp
654 * gdb.cp/iostream.exp
655 * gdb.cp/koenig.exp
656 * gdb.cp/local.exp
657 * gdb.cp/m-data.exp
658 * gdb.cp/m-static.exp
659 * gdb.cp/mb-ctor.exp
660 * gdb.cp/mb-inline.exp
661 * gdb.cp/mb-templates.exp
662 * gdb.cp/member-name.exp
663 * gdb.cp/member-ptr.exp
664 * gdb.cp/meth-typedefs.exp
665 * gdb.cp/method.exp
666 * gdb.cp/method2.exp
667 * gdb.cp/minsym-fallback.exp
668 * gdb.cp/misc.exp
669 * gdb.cp/namelessclass.exp
670 * gdb.cp/namespace-enum.exp
671 * gdb.cp/namespace-nested-import.exp
672 * gdb.cp/namespace.exp
673 * gdb.cp/nextoverthrow.exp
674 * gdb.cp/no-dmgl-verbose.exp
675 * gdb.cp/non-trivial-retval.exp
676 * gdb.cp/noparam.exp
677 * gdb.cp/nsdecl.exp
678 * gdb.cp/nsimport.exp
679 * gdb.cp/nsnested.exp
680 * gdb.cp/nsnoimports.exp
681 * gdb.cp/nsrecurs.exp
682 * gdb.cp/nsstress.exp
683 * gdb.cp/nsusing.exp
684 * gdb.cp/operator.exp
685 * gdb.cp/oranking.exp
686 * gdb.cp/overload-const.exp
687 * gdb.cp/overload.exp
688 * gdb.cp/ovldbreak.exp
689 * gdb.cp/ovsrch.exp
690 * gdb.cp/paren-type.exp
691 * gdb.cp/parse-lang.exp
692 * gdb.cp/pass-by-ref.exp
693 * gdb.cp/pr-1023.exp
694 * gdb.cp/pr-1210.exp
695 * gdb.cp/pr-574.exp
696 * gdb.cp/pr10687.exp
697 * gdb.cp/pr12028.exp
698 * gdb.cp/pr17132.exp
699 * gdb.cp/pr17494.exp
700 * gdb.cp/pr9067.exp
701 * gdb.cp/pr9167.exp
702 * gdb.cp/pr9631.exp
703 * gdb.cp/printmethod.exp
704 * gdb.cp/psmang.exp
705 * gdb.cp/psymtab-parameter.exp
706 * gdb.cp/ptype-cv-cp.exp
707 * gdb.cp/ptype-flags.exp
708 * gdb.cp/re-set-overloaded.exp
709 * gdb.cp/ref-types.exp
710 * gdb.cp/rtti.exp
711 * gdb.cp/scope-err.exp
712 * gdb.cp/shadow.exp
713 * gdb.cp/smartp.exp
714 * gdb.cp/static-method.exp
715 * gdb.cp/static-print-quit.exp
716 * gdb.cp/temargs.exp
717 * gdb.cp/templates.exp
718 * gdb.cp/try_catch.exp
719 * gdb.cp/typedef-operator.exp
720 * gdb.cp/typeid.exp
721 * gdb.cp/userdef.exp
722 * gdb.cp/using-crash.exp
723 * gdb.cp/var-tag.exp
724 * gdb.cp/virtbase.exp
725 * gdb.cp/virtfunc.exp
726 * gdb.cp/virtfunc2.exp
727 * gdb.cp/vla-cxx.exp
728 * gdb.disasm/t01_mov.exp
729 * gdb.disasm/t02_mova.exp
730 * gdb.disasm/t03_add.exp
731 * gdb.disasm/t04_sub.exp
732 * gdb.disasm/t05_cmp.exp
733 * gdb.disasm/t06_ari2.exp
734 * gdb.disasm/t07_ari3.exp
735 * gdb.disasm/t08_or.exp
736 * gdb.disasm/t09_xor.exp
737 * gdb.disasm/t10_and.exp
738 * gdb.disasm/t11_logs.exp
739 * gdb.disasm/t12_bit.exp
740 * gdb.disasm/t13_otr.exp
741 * gdb.dlang/circular.exp
742 * gdb.dwarf2/arr-stride.exp
743 * gdb.dwarf2/arr-subrange.exp
744 * gdb.dwarf2/atomic-type.exp
745 * gdb.dwarf2/bad-regnum.exp
746 * gdb.dwarf2/bitfield-parent-optimized-out.exp
747 * gdb.dwarf2/callframecfa.exp
748 * gdb.dwarf2/clztest.exp
749 * gdb.dwarf2/corrupt.exp
750 * gdb.dwarf2/data-loc.exp
751 * gdb.dwarf2/dup-psym.exp
752 * gdb.dwarf2/dw2-anon-mptr.exp
753 * gdb.dwarf2/dw2-anonymous-func.exp
754 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
755 * gdb.dwarf2/dw2-bad-unresolved.exp
756 * gdb.dwarf2/dw2-basic.exp
757 * gdb.dwarf2/dw2-canonicalize-type.exp
758 * gdb.dwarf2/dw2-case-insensitive.exp
759 * gdb.dwarf2/dw2-common-block.exp
760 * gdb.dwarf2/dw2-compdir-oldgcc.exp
761 * gdb.dwarf2/dw2-compressed.exp
762 * gdb.dwarf2/dw2-const.exp
763 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
764 * gdb.dwarf2/dw2-cu-size.exp
765 * gdb.dwarf2/dw2-dup-frame.exp
766 * gdb.dwarf2/dw2-entry-value.exp
767 * gdb.dwarf2/dw2-icycle.exp
768 * gdb.dwarf2/dw2-ifort-parameter.exp
769 * gdb.dwarf2/dw2-inline-break.exp
770 * gdb.dwarf2/dw2-inline-param.exp
771 * gdb.dwarf2/dw2-intercu.exp
772 * gdb.dwarf2/dw2-intermix.exp
773 * gdb.dwarf2/dw2-lexical-block-bare.exp
774 * gdb.dwarf2/dw2-linkage-name-trust.exp
775 * gdb.dwarf2/dw2-minsym-in-cu.exp
776 * gdb.dwarf2/dw2-noloc.exp
777 * gdb.dwarf2/dw2-op-call.exp
778 * gdb.dwarf2/dw2-op-out-param.exp
779 * gdb.dwarf2/dw2-opt-structptr.exp
780 * gdb.dwarf2/dw2-param-error.exp
781 * gdb.dwarf2/dw2-producer.exp
782 * gdb.dwarf2/dw2-ranges-base.exp
783 * gdb.dwarf2/dw2-ref-missing-frame.exp
784 * gdb.dwarf2/dw2-reg-undefined.exp
785 * gdb.dwarf2/dw2-regno-invalid.exp
786 * gdb.dwarf2/dw2-restore.exp
787 * gdb.dwarf2/dw2-restrict.exp
788 * gdb.dwarf2/dw2-single-line-discriminators.exp
789 * gdb.dwarf2/dw2-strp.exp
790 * gdb.dwarf2/dw2-undefined-ret-addr.exp
791 * gdb.dwarf2/dw2-unresolved.exp
792 * gdb.dwarf2/dw2-var-zero-addr.exp
793 * gdb.dwarf2/dw4-sig-types.exp
794 * gdb.dwarf2/dwz.exp
795 * gdb.dwarf2/dynarr-ptr.exp
796 * gdb.dwarf2/enum-type.exp
797 * gdb.dwarf2/gdb-index.exp
798 * gdb.dwarf2/implptr-64bit.exp
799 * gdb.dwarf2/implptr-optimized-out.exp
800 * gdb.dwarf2/implptr.exp
801 * gdb.dwarf2/implref-array.exp
802 * gdb.dwarf2/implref-const.exp
803 * gdb.dwarf2/implref-global.exp
804 * gdb.dwarf2/implref-struct.exp
805 * gdb.dwarf2/mac-fileno.exp
806 * gdb.dwarf2/main-subprogram.exp
807 * gdb.dwarf2/member-ptr-forwardref.exp
808 * gdb.dwarf2/method-ptr.exp
809 * gdb.dwarf2/missing-sig-type.exp
810 * gdb.dwarf2/nonvar-access.exp
811 * gdb.dwarf2/opaque-type-lookup.exp
812 * gdb.dwarf2/pieces-optimized-out.exp
813 * gdb.dwarf2/pieces.exp
814 * gdb.dwarf2/pr10770.exp
815 * gdb.dwarf2/pr13961.exp
816 * gdb.dwarf2/staticvirtual.exp
817 * gdb.dwarf2/subrange.exp
818 * gdb.dwarf2/symtab-producer.exp
819 * gdb.dwarf2/trace-crash.exp
820 * gdb.dwarf2/typeddwarf.exp
821 * gdb.dwarf2/valop.exp
822 * gdb.dwarf2/watch-notconst.exp
823 * gdb.fortran/array-element.exp
824 * gdb.fortran/charset.exp
825 * gdb.fortran/common-block.exp
826 * gdb.fortran/complex.exp
827 * gdb.fortran/derived-type-function.exp
828 * gdb.fortran/derived-type.exp
829 * gdb.fortran/logical.exp
830 * gdb.fortran/module.exp
831 * gdb.fortran/multi-dim.exp
832 * gdb.fortran/nested-funcs.exp
833 * gdb.fortran/print-formatted.exp
834 * gdb.fortran/subarray.exp
835 * gdb.fortran/vla-alloc-assoc.exp
836 * gdb.fortran/vla-datatypes.exp
837 * gdb.fortran/vla-history.exp
838 * gdb.fortran/vla-ptr-info.exp
839 * gdb.fortran/vla-ptype-sub.exp
840 * gdb.fortran/vla-ptype.exp
841 * gdb.fortran/vla-sizeof.exp
842 * gdb.fortran/vla-type.exp
843 * gdb.fortran/vla-value-sub-arbitrary.exp
844 * gdb.fortran/vla-value-sub-finish.exp
845 * gdb.fortran/vla-value-sub.exp
846 * gdb.fortran/vla-value.exp
847 * gdb.fortran/whatis_type.exp
848 * gdb.go/chan.exp
849 * gdb.go/handcall.exp
850 * gdb.go/hello.exp
851 * gdb.go/integers.exp
852 * gdb.go/methods.exp
853 * gdb.go/package.exp
854 * gdb.go/strings.exp
855 * gdb.go/types.exp
856 * gdb.go/unsafe.exp
857 * gdb.guile/scm-arch.exp
858 * gdb.guile/scm-block.exp
859 * gdb.guile/scm-breakpoint.exp
860 * gdb.guile/scm-cmd.exp
861 * gdb.guile/scm-disasm.exp
862 * gdb.guile/scm-equal.exp
863 * gdb.guile/scm-frame-args.exp
864 * gdb.guile/scm-frame-inline.exp
865 * gdb.guile/scm-frame.exp
866 * gdb.guile/scm-iterator.exp
867 * gdb.guile/scm-math.exp
868 * gdb.guile/scm-objfile.exp
869 * gdb.guile/scm-ports.exp
870 * gdb.guile/scm-symbol.exp
871 * gdb.guile/scm-symtab.exp
872 * gdb.guile/scm-value-cc.exp
873 * gdb.guile/types-module.exp
874 * gdb.linespec/break-ask.exp
875 * gdb.linespec/cpexplicit.exp
876 * gdb.linespec/explicit.exp
877 * gdb.linespec/keywords.exp
878 * gdb.linespec/linespec.exp
879 * gdb.linespec/ls-dollar.exp
880 * gdb.linespec/ls-errs.exp
881 * gdb.linespec/skip-two.exp
882 * gdb.linespec/thread.exp
883 * gdb.mi/mi-async.exp
884 * gdb.mi/mi-basics.exp
885 * gdb.mi/mi-break.exp
886 * gdb.mi/mi-catch-load.exp
887 * gdb.mi/mi-cli.exp
888 * gdb.mi/mi-cmd-param-changed.exp
889 * gdb.mi/mi-console.exp
890 * gdb.mi/mi-detach.exp
891 * gdb.mi/mi-disassemble.exp
892 * gdb.mi/mi-eval.exp
893 * gdb.mi/mi-file-transfer.exp
894 * gdb.mi/mi-file.exp
895 * gdb.mi/mi-fill-memory.exp
896 * gdb.mi/mi-inheritance-syntax-error.exp
897 * gdb.mi/mi-linespec-err-cp.exp
898 * gdb.mi/mi-logging.exp
899 * gdb.mi/mi-memory-changed.exp
900 * gdb.mi/mi-read-memory.exp
901 * gdb.mi/mi-record-changed.exp
902 * gdb.mi/mi-reg-undefined.exp
903 * gdb.mi/mi-regs.exp
904 * gdb.mi/mi-return.exp
905 * gdb.mi/mi-reverse.exp
906 * gdb.mi/mi-simplerun.exp
907 * gdb.mi/mi-solib.exp
908 * gdb.mi/mi-stack.exp
909 * gdb.mi/mi-stepi.exp
910 * gdb.mi/mi-syn-frame.exp
911 * gdb.mi/mi-until.exp
912 * gdb.mi/mi-var-block.exp
913 * gdb.mi/mi-var-child.exp
914 * gdb.mi/mi-var-cmd.exp
915 * gdb.mi/mi-var-cp.exp
916 * gdb.mi/mi-var-display.exp
917 * gdb.mi/mi-var-invalidate.exp
918 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
919 * gdb.mi/mi-vla-fortran.exp
920 * gdb.mi/mi-watch.exp
921 * gdb.mi/mi2-var-child.exp
922 * gdb.mi/user-selected-context-sync.exp
923 * gdb.modula2/unbounded-array.exp
924 * gdb.multi/dummy-frame-restore.exp
925 * gdb.multi/multi-arch-exec.exp
926 * gdb.multi/multi-arch.exp
927 * gdb.multi/tids.exp
928 * gdb.multi/watchpoint-multi.exp
929 * gdb.opencl/callfuncs.exp
930 * gdb.opencl/convs_casts.exp
931 * gdb.opencl/datatypes.exp
932 * gdb.opencl/operators.exp
933 * gdb.opencl/vec_comps.exp
934 * gdb.opt/clobbered-registers-O2.exp
935 * gdb.opt/inline-break.exp
936 * gdb.opt/inline-bt.exp
937 * gdb.opt/inline-cmds.exp
938 * gdb.opt/inline-locals.exp
939 * gdb.pascal/case-insensitive-symbols.exp
940 * gdb.pascal/floats.exp
941 * gdb.pascal/gdb11492.exp
942 * gdb.python/lib-types.exp
943 * gdb.python/py-arch.exp
944 * gdb.python/py-as-string.exp
945 * gdb.python/py-bad-printers.exp
946 * gdb.python/py-block.exp
947 * gdb.python/py-breakpoint-create-fail.exp
948 * gdb.python/py-breakpoint.exp
949 * gdb.python/py-caller-is.exp
950 * gdb.python/py-cmd.exp
951 * gdb.python/py-explore-cc.exp
952 * gdb.python/py-explore.exp
953 * gdb.python/py-finish-breakpoint.exp
954 * gdb.python/py-finish-breakpoint2.exp
955 * gdb.python/py-frame-args.exp
956 * gdb.python/py-frame-inline.exp
957 * gdb.python/py-frame.exp
958 * gdb.python/py-framefilter-mi.exp
959 * gdb.python/py-infthread.exp
960 * gdb.python/py-lazy-string.exp
961 * gdb.python/py-linetable.exp
962 * gdb.python/py-mi-events.exp
963 * gdb.python/py-mi-objfile.exp
964 * gdb.python/py-mi.exp
965 * gdb.python/py-objfile.exp
966 * gdb.python/py-pp-integral.exp
967 * gdb.python/py-pp-maint.exp
968 * gdb.python/py-pp-re-notag.exp
969 * gdb.python/py-pp-registration.exp
970 * gdb.python/py-recurse-unwind.exp
971 * gdb.python/py-strfns.exp
972 * gdb.python/py-symbol.exp
973 * gdb.python/py-symtab.exp
974 * gdb.python/py-sync-interp.exp
975 * gdb.python/py-typeprint.exp
976 * gdb.python/py-unwind-maint.exp
977 * gdb.python/py-unwind.exp
978 * gdb.python/py-value-cc.exp
979 * gdb.python/py-xmethods.exp
980 * gdb.reverse/amd64-tailcall-reverse.exp
981 * gdb.reverse/break-precsave.exp
982 * gdb.reverse/break-reverse.exp
983 * gdb.reverse/consecutive-precsave.exp
984 * gdb.reverse/consecutive-reverse.exp
985 * gdb.reverse/finish-precsave.exp
986 * gdb.reverse/finish-reverse-bkpt.exp
987 * gdb.reverse/finish-reverse.exp
988 * gdb.reverse/fstatat-reverse.exp
989 * gdb.reverse/getresuid-reverse.exp
990 * gdb.reverse/i386-precsave.exp
991 * gdb.reverse/i386-reverse.exp
992 * gdb.reverse/i386-sse-reverse.exp
993 * gdb.reverse/i387-env-reverse.exp
994 * gdb.reverse/i387-stack-reverse.exp
995 * gdb.reverse/insn-reverse.exp
996 * gdb.reverse/machinestate-precsave.exp
997 * gdb.reverse/machinestate.exp
998 * gdb.reverse/next-reverse-bkpt-over-sr.exp
999 * gdb.reverse/pipe-reverse.exp
1000 * gdb.reverse/readv-reverse.exp
1001 * gdb.reverse/recvmsg-reverse.exp
1002 * gdb.reverse/rerun-prec.exp
1003 * gdb.reverse/s390-mvcle.exp
1004 * gdb.reverse/step-precsave.exp
1005 * gdb.reverse/step-reverse.exp
1006 * gdb.reverse/time-reverse.exp
1007 * gdb.reverse/until-precsave.exp
1008 * gdb.reverse/until-reverse.exp
1009 * gdb.reverse/waitpid-reverse.exp
1010 * gdb.reverse/watch-precsave.exp
1011 * gdb.reverse/watch-reverse.exp
1012 * gdb.rust/generics.exp
1013 * gdb.rust/methods.exp
1014 * gdb.rust/modules.exp
1015 * gdb.rust/simple.exp
1016 * gdb.server/connect-with-no-symbol-file.exp
1017 * gdb.server/ext-attach.exp
1018 * gdb.server/ext-restart.exp
1019 * gdb.server/ext-wrapper.exp
1020 * gdb.server/file-transfer.exp
1021 * gdb.server/server-exec-info.exp
1022 * gdb.server/server-kill.exp
1023 * gdb.server/server-mon.exp
1024 * gdb.server/wrapper.exp
1025 * gdb.stabs/exclfwd.exp
1026 * gdb.stabs/gdb11479.exp
1027 * gdb.threads/clone-new-thread-event.exp
1028 * gdb.threads/corethreads.exp
1029 * gdb.threads/current-lwp-dead.exp
1030 * gdb.threads/dlopen-libpthread.exp
1031 * gdb.threads/gcore-thread.exp
1032 * gdb.threads/sigstep-threads.exp
1033 * gdb.threads/watchpoint-fork.exp
1034 * gdb.trace/actions-changed.exp
1035 * gdb.trace/backtrace.exp
1036 * gdb.trace/change-loc.exp
1037 * gdb.trace/circ.exp
1038 * gdb.trace/collection.exp
1039 * gdb.trace/disconnected-tracing.exp
1040 * gdb.trace/ftrace.exp
1041 * gdb.trace/mi-trace-frame-collected.exp
1042 * gdb.trace/mi-trace-unavailable.exp
1043 * gdb.trace/mi-traceframe-changed.exp
1044 * gdb.trace/mi-tsv-changed.exp
1045 * gdb.trace/no-attach-trace.exp
1046 * gdb.trace/passc-dyn.exp
1047 * gdb.trace/qtro.exp
1048 * gdb.trace/range-stepping.exp
1049 * gdb.trace/read-memory.exp
1050 * gdb.trace/save-trace.exp
1051 * gdb.trace/signal.exp
1052 * gdb.trace/status-stop.exp
1053 * gdb.trace/tfile.exp
1054 * gdb.trace/trace-break.exp
1055 * gdb.trace/trace-buffer-size.exp
1056 * gdb.trace/trace-condition.exp
1057 * gdb.trace/tracefile-pseudo-reg.exp
1058 * gdb.trace/tstatus.exp
1059 * gdb.trace/unavailable.exp
1060 * gdb.trace/while-dyn.exp
1061 * gdb.trace/while-stepping.exp
1062
1063 2016-12-22 Doug Evans <xdje42@gmail.com>
1064
1065 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
1066 and msymbols.
1067
1068 2016-12-19 Yao Qi <yao.qi@linaro.org>
1069
1070 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
1071 (test_with_self): Don't call do_steps_and_nexts, and remove
1072 code about stepping into xmalloc.
1073
1074 2016-12-09 Yao Qi <yao.qi@linaro.org>
1075
1076 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
1077
1078 2016-12-09 Yao Qi <yao.qi@linaro.org>
1079
1080 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
1081
1082 2016-12-09 Pedro Alves <palves@redhat.com>
1083
1084 * gdb.base/all-architectures-0.exp: New file.
1085 * gdb.base/all-architectures-1.exp: New file.
1086 * gdb.base/all-architectures-2.exp: New file.
1087 * gdb.base/all-architectures-3.exp: New file.
1088 * gdb.base/all-architectures-4.exp: New file.
1089 * gdb.base/all-architectures-5.exp: New file.
1090 * gdb.base/all-architectures-6.exp: New file.
1091 * gdb.base/all-architectures-7.exp: New file.
1092 * gdb.base/all-architectures.exp.in: New file.
1093
1094 2016-12-09 Yao Qi <yao.qi@linaro.org>
1095
1096 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
1097
1098 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1099
1100 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
1101 possible.
1102 Remove useless pattern-matching code.
1103
1104 2016-12-02 Pedro Alves <palves@redhat.com>
1105
1106 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
1107 procedure.
1108 (top level): Call it.
1109
1110 2016-12-02 Pedro Alves <palves@redhat.com>
1111
1112 * gdb.base/commands.exp (user_defined_command_args_stack_test):
1113 New procedure.
1114 (top level): Call it.
1115
1116 2016-12-02 Pedro Alves <palves@redhat.com>
1117
1118 PR cli/20559
1119 * gdb.base/commands.exp (user_defined_command_args_eval): New
1120 procedure.
1121 (top level): Call it.
1122
1123 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1124
1125 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
1126 timeout handling.
1127
1128 2016-12-02 Tom Tromey <tom@tromey.com>
1129
1130 * gdb.dwarf2/main-subprogram.c: New file.
1131 * gdb.dwarf2/main-subprogram.exp: New file.
1132
1133 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1134
1135 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
1136 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
1137 gdb_test_no_output for a couple of cases.
1138 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
1139
1140 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1141
1142 Fix test names and standardize compilation error messages throughout
1143 the following files:
1144
1145 * gdb.ada/start.exp
1146 * gdb.arch/alpha-step.exp
1147 * gdb.arch/e500-prologue.exp
1148 * gdb.arch/ftrace-insn-reloc.exp
1149 * gdb.arch/gdb1291.exp
1150 * gdb.arch/gdb1431.exp
1151 * gdb.arch/gdb1558.exp
1152 * gdb.arch/i386-dr3-watch.exp
1153 * gdb.arch/i386-sse-stack-align.exp
1154 * gdb.arch/ia64-breakpoint-shadow.exp
1155 * gdb.arch/pa-nullify.exp
1156 * gdb.arch/powerpc-aix-prologue.exp
1157 * gdb.arch/thumb-bx-pc.exp
1158 * gdb.base/annota1.exp
1159 * gdb.base/annota3.exp
1160 * gdb.base/arrayidx.exp
1161 * gdb.base/assign.exp
1162 * gdb.base/attach.exp
1163 * gdb.base/auxv.exp
1164 * gdb.base/bang.exp
1165 * gdb.base/bfp-test.exp
1166 * gdb.base/bigcore.exp
1167 * gdb.base/bitfields2.exp
1168 * gdb.base/break-fun-addr.exp
1169 * gdb.base/break-probes.exp
1170 * gdb.base/call-rt-st.exp
1171 * gdb.base/callexit.exp
1172 * gdb.base/catch-fork-kill.exp
1173 * gdb.base/charset.exp
1174 * gdb.base/checkpoint.exp
1175 * gdb.base/comprdebug.exp
1176 * gdb.base/constvars.exp
1177 * gdb.base/coredump-filter.exp
1178 * gdb.base/cursal.exp
1179 * gdb.base/cvexpr.exp
1180 * gdb.base/detach.exp
1181 * gdb.base/display.exp
1182 * gdb.base/dmsym.exp
1183 * gdb.base/dprintf-pending.exp
1184 * gdb.base/dso2dso.exp
1185 * gdb.base/dtrace-probe.exp
1186 * gdb.base/dump.exp
1187 * gdb.base/enum_cond.exp
1188 * gdb.base/exe-lock.exp
1189 * gdb.base/exec-invalid-sysroot.exp
1190 * gdb.base/execl-update-breakpoints.exp
1191 * gdb.base/exprs.exp
1192 * gdb.base/fileio.exp
1193 * gdb.base/find.exp
1194 * gdb.base/finish.exp
1195 * gdb.base/fixsection.exp
1196 * gdb.base/foll-vfork.exp
1197 * gdb.base/frame-args.exp
1198 * gdb.base/gcore.exp
1199 * gdb.base/gdb1250.exp
1200 * gdb.base/global-var-nested-by-dso.exp
1201 * gdb.base/gnu-ifunc.exp
1202 * gdb.base/hashline1.exp
1203 * gdb.base/hashline2.exp
1204 * gdb.base/hashline3.exp
1205 * gdb.base/hbreak-in-shr-unsupported.exp
1206 * gdb.base/huge.exp
1207 * gdb.base/infcall-input.exp
1208 * gdb.base/info-fun.exp
1209 * gdb.base/info-shared.exp
1210 * gdb.base/jit-simple.exp
1211 * gdb.base/jit-so.exp
1212 * gdb.base/jit.exp
1213 * gdb.base/jump.exp
1214 * gdb.base/label.exp
1215 * gdb.base/lineinc.exp
1216 * gdb.base/logical.exp
1217 * gdb.base/longjmp.exp
1218 * gdb.base/macscp.exp
1219 * gdb.base/miscexprs.exp
1220 * gdb.base/new-ui-echo.exp
1221 * gdb.base/new-ui-pending-input.exp
1222 * gdb.base/new-ui.exp
1223 * gdb.base/nodebug.exp
1224 * gdb.base/nofield.exp
1225 * gdb.base/offsets.exp
1226 * gdb.base/overlays.exp
1227 * gdb.base/pending.exp
1228 * gdb.base/pointers.exp
1229 * gdb.base/pr11022.exp
1230 * gdb.base/printcmds.exp
1231 * gdb.base/prologue.exp
1232 * gdb.base/ptr-typedef.exp
1233 * gdb.base/realname-expand.exp
1234 * gdb.base/relativedebug.exp
1235 * gdb.base/relocate.exp
1236 * gdb.base/remote.exp
1237 * gdb.base/reread.exp
1238 * gdb.base/return2.exp
1239 * gdb.base/savedregs.exp
1240 * gdb.base/sep.exp
1241 * gdb.base/sepdebug.exp
1242 * gdb.base/sepsymtab.exp
1243 * gdb.base/set-inferior-tty.exp
1244 * gdb.base/setshow.exp
1245 * gdb.base/shlib-call.exp
1246 * gdb.base/sigaltstack.exp
1247 * gdb.base/siginfo-addr.exp
1248 * gdb.base/signals.exp
1249 * gdb.base/signull.exp
1250 * gdb.base/sigrepeat.exp
1251 * gdb.base/so-impl-ld.exp
1252 * gdb.base/solib-display.exp
1253 * gdb.base/solib-overlap.exp
1254 * gdb.base/solib-search.exp
1255 * gdb.base/solib-symbol.exp
1256 * gdb.base/structs.exp
1257 * gdb.base/structs2.exp
1258 * gdb.base/symtab-search-order.exp
1259 * gdb.base/twice.exp
1260 * gdb.base/unload.exp
1261 * gdb.base/varargs.exp
1262 * gdb.base/watchpoint-solib.exp
1263 * gdb.base/watchpoint.exp
1264 * gdb.base/whatis.exp
1265 * gdb.base/wrong_frame_bt_full.exp
1266 * gdb.btrace/dlopen.exp
1267 * gdb.cell/ea-standalone.exp
1268 * gdb.cell/ea-test.exp
1269 * gdb.cp/dispcxx.exp
1270 * gdb.cp/gdb2384.exp
1271 * gdb.cp/method2.exp
1272 * gdb.cp/nextoverthrow.exp
1273 * gdb.cp/pr10728.exp
1274 * gdb.disasm/am33.exp
1275 * gdb.disasm/h8300s.exp
1276 * gdb.disasm/mn10300.exp
1277 * gdb.disasm/sh3.exp
1278 * gdb.dwarf2/dw2-dir-file-name.exp
1279 * gdb.fortran/complex.exp
1280 * gdb.fortran/library-module.exp
1281 * gdb.guile/scm-pretty-print.exp
1282 * gdb.guile/scm-symbol.exp
1283 * gdb.guile/scm-type.exp
1284 * gdb.guile/scm-value.exp
1285 * gdb.linespec/linespec.exp
1286 * gdb.mi/gdb701.exp
1287 * gdb.mi/gdb792.exp
1288 * gdb.mi/mi-breakpoint-changed.exp
1289 * gdb.mi/mi-dprintf-pending.exp
1290 * gdb.mi/mi-dprintf.exp
1291 * gdb.mi/mi-exit-code.exp
1292 * gdb.mi/mi-pending.exp
1293 * gdb.mi/mi-solib.exp
1294 * gdb.mi/new-ui-mi-sync.exp
1295 * gdb.mi/pr11022.exp
1296 * gdb.mi/user-selected-context-sync.exp
1297 * gdb.opt/solib-intra-step.exp
1298 * gdb.python/py-events.exp
1299 * gdb.python/py-finish-breakpoint.exp
1300 * gdb.python/py-mi.exp
1301 * gdb.python/py-prettyprint.exp
1302 * gdb.python/py-shared.exp
1303 * gdb.python/py-symbol.exp
1304 * gdb.python/py-template.exp
1305 * gdb.python/py-type.exp
1306 * gdb.python/py-value.exp
1307 * gdb.reverse/solib-precsave.exp
1308 * gdb.reverse/solib-reverse.exp
1309 * gdb.server/solib-list.exp
1310 * gdb.stabs/weird.exp
1311 * gdb.threads/reconnect-signal.exp
1312 * gdb.threads/stepi-random-signal.exp
1313 * gdb.trace/actions.exp
1314 * gdb.trace/ax.exp
1315 * gdb.trace/backtrace.exp
1316 * gdb.trace/change-loc.exp
1317 * gdb.trace/deltrace.exp
1318 * gdb.trace/ftrace-lock.exp
1319 * gdb.trace/ftrace.exp
1320 * gdb.trace/infotrace.exp
1321 * gdb.trace/mi-tracepoint-changed.exp
1322 * gdb.trace/packetlen.exp
1323 * gdb.trace/passcount.exp
1324 * gdb.trace/pending.exp
1325 * gdb.trace/range-stepping.exp
1326 * gdb.trace/report.exp
1327 * gdb.trace/stap-trace.exp
1328 * gdb.trace/tfind.exp
1329 * gdb.trace/trace-break.exp
1330 * gdb.trace/trace-condition.exp
1331 * gdb.trace/trace-enable-disable.exp
1332 * gdb.trace/trace-mt.exp
1333 * gdb.trace/tracecmd.exp
1334 * gdb.trace/tspeed.exp
1335 * gdb.trace/tsv.exp
1336 * lib/perftest.exp
1337
1338 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1339
1340 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1341 with gdb_test_no_output.
1342 Use command as test name.
1343
1344 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1345
1346 Fix test names starting with uppercase throughout the files.
1347
1348 * gdb.ada/assign_1.exp
1349 * gdb.ada/boolean_expr.exp
1350 * gdb.base/arrayidx.exp
1351 * gdb.base/del.exp
1352 * gdb.base/gcore-buffer-overflow.exp
1353 * gdb.base/testenv.exp
1354 * gdb.compile/compile.exp
1355 * gdb.python/py-framefilter-invalidarg.exp
1356 * gdb.python/py-framefilter.exp
1357
1358 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1359
1360 Fix test names starting with uppercase throughout the files.
1361
1362 * gdb.ada/array_return.exp
1363 * gdb.ada/expr_delims.exp
1364 * gdb.ada/mi_dyn_arr.exp
1365 * gdb.ada/mi_interface.exp
1366 * gdb.ada/mi_var_array.exp
1367 * gdb.ada/watch_arg.exp
1368 * gdb.arch/alpha-step.exp
1369 * gdb.arch/altivec-regs.exp
1370 * gdb.arch/e500-regs.exp
1371 * gdb.arch/powerpc-d128-regs.exp
1372 * gdb.base/arrayidx.exp
1373 * gdb.base/break.exp
1374 * gdb.base/checkpoint.exp
1375 * gdb.base/debug-expr.exp
1376 * gdb.base/dmsym.exp
1377 * gdb.base/radix.exp
1378 * gdb.base/sepdebug.exp
1379 * gdb.base/testenv.exp
1380 * gdb.base/watch_thread_num.exp
1381 * gdb.base/watchpoint-cond-gone.exp
1382 * gdb.cell/break.exp
1383 * gdb.cell/ea-cache.exp
1384 * gdb.compile/compile.exp
1385 * gdb.cp/gdb2495.exp
1386 * gdb.gdb/selftest.exp
1387 * gdb.gdb/xfullpath.exp
1388 * gdb.go/hello.exp
1389 * gdb.go/integers.exp
1390 * gdb.objc/basicclass.exp
1391 * gdb.pascal/hello.exp
1392 * gdb.pascal/integers.exp
1393 * gdb.python/py-breakpoint.exp
1394 * gdb.python/py-cmd.exp
1395 * gdb.python/py-linetable.exp
1396 * gdb.python/py-xmethods.exp
1397 * gdb.python/python.exp
1398 * gdb.reverse/consecutive-precsave.exp
1399 * gdb.reverse/finish-precsave.exp
1400 * gdb.reverse/i386-precsave.exp
1401 * gdb.reverse/machinestate-precsave.exp
1402 * gdb.reverse/sigall-precsave.exp
1403 * gdb.reverse/solib-precsave.exp
1404 * gdb.reverse/step-precsave.exp
1405 * gdb.reverse/until-precsave.exp
1406 * gdb.reverse/watch-precsave.exp
1407 * gdb.threads/leader-exit.exp
1408 * gdb.threads/pthreads.exp
1409 * gdb.threads/wp-replication.exp
1410 * gdb.trace/actions.exp
1411 * gdb.trace/mi-tsv-changed.exp
1412 * gdb.trace/tsv.exp
1413
1414 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1415
1416 Fix test names starting with uppercase throughout the files.
1417
1418 * gdb.arch/i386-bp_permanent.exp
1419 * gdb.arch/i386-gnu-cfi.exp
1420 * gdb.base/disasm-end-cu.exp
1421 * gdb.base/macscp.exp
1422 * gdb.base/pending.exp
1423 * gdb.base/watch_thread_num.exp
1424 * gdb.cp/exception.exp
1425 * gdb.cp/gdb2495.exp
1426 * gdb.cp/local.exp
1427 * gdb.python/py-evsignal.exp
1428 * gdb.python/python.exp
1429 * gdb.trace/tracecmd.exp
1430
1431 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1432
1433 Fix test names starting with uppercase throughout the files.
1434
1435 * gdb.base/charset.exp
1436 * gdb.base/eval.exp
1437 * gdb.base/multi-forks.exp
1438 * gdb.guile/scm-progspace.exp
1439 * gdb.opencl/datatypes.exp
1440 * gdb.python/py-block.exp
1441 * gdb.python/py-function.exp
1442 * gdb.python/py-symbol.exp
1443 * gdb.python/py-symtab.exp
1444 * gdb.python/py-xmethods.exp
1445 * gdb.reverse/break-precsave.exp
1446 * gdb.reverse/break-reverse.exp
1447 * gdb.reverse/consecutive-precsave.exp
1448 * gdb.reverse/consecutive-reverse.exp
1449 * gdb.reverse/finish-precsave.exp
1450 * gdb.reverse/finish-reverse-bkpt.exp
1451 * gdb.reverse/finish-reverse.exp
1452 * gdb.reverse/fstatat-reverse.exp
1453 * gdb.reverse/getresuid-reverse.exp
1454 * gdb.reverse/i386-precsave.exp
1455 * gdb.reverse/i386-reverse.exp
1456 * gdb.reverse/i386-sse-reverse.exp
1457 * gdb.reverse/i387-stack-reverse.exp
1458 * gdb.reverse/insn-reverse.exp
1459 * gdb.reverse/machinestate-precsave.exp
1460 * gdb.reverse/machinestate.exp
1461 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1462 * gdb.reverse/pipe-reverse.exp
1463 * gdb.reverse/readv-reverse.exp
1464 * gdb.reverse/recvmsg-reverse.exp
1465 * gdb.reverse/rerun-prec.exp
1466 * gdb.reverse/s390-mvcle.exp
1467 * gdb.reverse/sigall-precsave.exp
1468 * gdb.reverse/sigall-reverse.exp
1469 * gdb.reverse/solib-precsave.exp
1470 * gdb.reverse/solib-reverse.exp
1471 * gdb.reverse/step-precsave.exp
1472 * gdb.reverse/step-reverse.exp
1473 * gdb.reverse/time-reverse.exp
1474 * gdb.reverse/until-precsave.exp
1475 * gdb.reverse/until-reverse.exp
1476 * gdb.reverse/waitpid-reverse.exp
1477 * gdb.reverse/watch-precsave.exp
1478 * gdb.reverse/watch-reverse.exp
1479
1480 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1481
1482 Fix test names starting with uppercase throughout the files.
1483
1484 * gdb.arch/i386-mpx-simple_segv.exp
1485 * gdb.arch/i386-mpx.exp
1486 * gdb.arch/i386-permbkpt.exp
1487 * gdb.arch/pa-nullify.exp
1488 * gdb.arch/powerpc-d128-regs.exp
1489 * gdb.arch/vsx-regs.exp
1490 * gdb.base/bfp-test.exp
1491 * gdb.base/break.exp
1492 * gdb.base/breakpoint-shadow.exp
1493 * gdb.base/callfuncs.exp
1494 * gdb.base/charset.exp
1495 * gdb.base/commands.exp
1496 * gdb.base/completion.exp
1497 * gdb.base/dfp-test.exp
1498 * gdb.base/echo.exp
1499 * gdb.base/ending-run.exp
1500 * gdb.base/eval.exp
1501 * gdb.base/expand-psymtabs.exp
1502 * gdb.base/float128.exp
1503 * gdb.base/floatn.exp
1504 * gdb.base/foll-exec-mode.exp
1505 * gdb.base/gdb1056.exp
1506 * gdb.base/gdb11531.exp
1507 * gdb.base/kill-after-signal.exp
1508 * gdb.base/multi-forks.exp
1509 * gdb.base/overlays.exp
1510 * gdb.base/pending.exp
1511 * gdb.base/sepdebug.exp
1512 * gdb.base/testenv.exp
1513 * gdb.base/valgrind-db-attach.exp
1514 * gdb.base/watch_thread_num.exp
1515 * gdb.base/watchpoint-cond-gone.exp
1516 * gdb.base/watchpoint.exp
1517 * gdb.base/watchpoints.exp
1518 * gdb.cp/arg-reference.exp
1519 * gdb.cp/baseenum.exp
1520 * gdb.cp/operator.exp
1521 * gdb.cp/shadow.exp
1522 * gdb.dwarf2/dw2-op-out-param.exp
1523 * gdb.dwarf2/dw2-reg-undefined.exp
1524 * gdb.go/chan.exp
1525 * gdb.go/hello.exp
1526 * gdb.go/integers.exp
1527 * gdb.go/methods.exp
1528 * gdb.go/package.exp
1529 * gdb.guile/scm-parameter.exp
1530 * gdb.guile/scm-progspace.exp
1531 * gdb.guile/scm-value.exp
1532 * gdb.mi/mi-pending.exp
1533 * gdb.mi/user-selected-context-sync.exp
1534 * gdb.multi/multi-attach.exp
1535 * gdb.multi/tids.exp
1536 * gdb.opt/clobbered-registers-O2.exp
1537 * gdb.pascal/floats.exp
1538 * gdb.pascal/integers.exp
1539 * gdb.python/py-block.exp
1540 * gdb.python/py-events.exp
1541 * gdb.python/py-parameter.exp
1542 * gdb.python/py-symbol.exp
1543 * gdb.python/py-symtab.exp
1544 * gdb.python/py-type.exp
1545 * gdb.python/py-value.exp
1546 * gdb.python/py-xmethods.exp
1547 * gdb.python/python.exp
1548 * gdb.reverse/break-precsave.exp
1549 * gdb.reverse/consecutive-precsave.exp
1550 * gdb.reverse/finish-precsave.exp
1551 * gdb.reverse/i386-precsave.exp
1552 * gdb.reverse/machinestate-precsave.exp
1553 * gdb.reverse/sigall-precsave.exp
1554 * gdb.reverse/solib-precsave.exp
1555 * gdb.reverse/step-precsave.exp
1556 * gdb.reverse/until-precsave.exp
1557 * gdb.reverse/watch-precsave.exp
1558 * gdb.server/ext-attach.exp
1559 * gdb.server/ext-restart.exp
1560 * gdb.server/ext-run.exp
1561 * gdb.server/ext-wrapper.exp
1562 * gdb.stabs/gdb11479.exp
1563 * gdb.stabs/weird.exp
1564 * gdb.threads/attach-many-short-lived-threads.exp
1565 * gdb.threads/kill.exp
1566 * gdb.threads/watchpoint-fork.exp
1567
1568 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1569
1570 Fix test names starting with uppercase throughout all the files below.
1571
1572 * gdb.ada/array_return.exp
1573 * gdb.ada/catch_ex.exp
1574 * gdb.ada/info_exc.exp
1575 * gdb.ada/mi_catch_ex.exp
1576 * gdb.ada/mi_dyn_arr.exp
1577 * gdb.ada/mi_ex_cond.exp
1578 * gdb.ada/mi_exc_info.exp
1579 * gdb.ada/mi_interface.exp
1580 * gdb.ada/mi_task_arg.exp
1581 * gdb.ada/mi_task_info.exp
1582 * gdb.ada/mi_var_array.exp
1583 * gdb.arch/alpha-step.exp
1584 * gdb.arch/amd64-disp-step.exp
1585 * gdb.arch/arm-disp-step.exp
1586 * gdb.arch/disp-step-insn-reloc.exp
1587 * gdb.arch/e500-prologue.exp
1588 * gdb.arch/ftrace-insn-reloc.exp
1589 * gdb.arch/gdb1558.exp
1590 * gdb.arch/i386-bp_permanent.exp
1591 * gdb.arch/i386-disp-step.exp
1592 * gdb.arch/i386-float.exp
1593 * gdb.arch/i386-gnu-cfi.exp
1594 * gdb.arch/ia64-breakpoint-shadow.exp
1595 * gdb.arch/mips16-thunks.exp
1596 * gdb.arch/pa-nullify.exp
1597 * gdb.arch/powerpc-aix-prologue.exp
1598 * gdb.arch/powerpc-power.exp
1599 * gdb.arch/ppc-dfp.exp
1600 * gdb.arch/s390-tdbregs.exp
1601 * gdb.arch/spu-info.exp
1602 * gdb.arch/spu-ls.exp
1603 * gdb.arch/thumb-bx-pc.exp
1604 * gdb.base/advance.exp
1605 * gdb.base/annota-input-while-running.exp
1606 * gdb.base/arrayidx.exp
1607 * gdb.base/asmlabel.exp
1608 * gdb.base/async.exp
1609 * gdb.base/attach-wait-input.exp
1610 * gdb.base/auto-connect-native-target.exp
1611 * gdb.base/batch-preserve-term-settings.exp
1612 * gdb.base/bfp-test.exp
1613 * gdb.base/bigcore.exp
1614 * gdb.base/bp-permanent.exp
1615 * gdb.base/break-always.exp
1616 * gdb.base/break-fun-addr.exp
1617 * gdb.base/break-idempotent.exp
1618 * gdb.base/break-main-file-remove-fail.exp
1619 * gdb.base/break-probes.exp
1620 * gdb.base/break-unload-file.exp
1621 * gdb.base/break.exp
1622 * gdb.base/call-ar-st.exp
1623 * gdb.base/call-rt-st.exp
1624 * gdb.base/call-sc.exp
1625 * gdb.base/call-signal-resume.exp
1626 * gdb.base/call-strs.exp
1627 * gdb.base/callexit.exp
1628 * gdb.base/callfuncs.exp
1629 * gdb.base/catch-gdb-caused-signals.exp
1630 * gdb.base/catch-signal-siginfo-cond.exp
1631 * gdb.base/catch-syscall.exp
1632 * gdb.base/compare-sections.exp
1633 * gdb.base/cond-eval-mode.exp
1634 * gdb.base/condbreak-call-false.exp
1635 * gdb.base/consecutive-step-over.exp
1636 * gdb.base/cursal.exp
1637 * gdb.base/disabled-location.exp
1638 * gdb.base/disasm-end-cu.exp
1639 * gdb.base/display.exp
1640 * gdb.base/double-prompt-target-event-error.exp
1641 * gdb.base/dprintf-bp-same-addr.exp
1642 * gdb.base/dprintf-detach.exp
1643 * gdb.base/dprintf-next.exp
1644 * gdb.base/dprintf-non-stop.exp
1645 * gdb.base/dprintf-pending.exp
1646 * gdb.base/dso2dso.exp
1647 * gdb.base/ending-run.exp
1648 * gdb.base/enum_cond.exp
1649 * gdb.base/examine-backward.exp
1650 * gdb.base/exe-lock.exp
1651 * gdb.base/exec-invalid-sysroot.exp
1652 * gdb.base/execl-update-breakpoints.exp
1653 * gdb.base/execution-termios.exp
1654 * gdb.base/fileio.exp
1655 * gdb.base/fixsection.exp
1656 * gdb.base/foll-exec-mode.exp
1657 * gdb.base/foll-exec.exp
1658 * gdb.base/fork-running-state.exp
1659 * gdb.base/frame-args.exp
1660 * gdb.base/fullpath-expand.exp
1661 * gdb.base/func-ptr.exp
1662 * gdb.base/gcore-relro-pie.exp
1663 * gdb.base/gdb1090.exp
1664 * gdb.base/gdb1555.exp
1665 * gdb.base/global-var-nested-by-dso.exp
1666 * gdb.base/gnu-ifunc.exp
1667 * gdb.base/hbreak-in-shr-unsupported.exp
1668 * gdb.base/hbreak-unmapped.exp
1669 * gdb.base/hook-stop.exp
1670 * gdb.base/infcall-input.exp
1671 * gdb.base/info-fun.exp
1672 * gdb.base/info-shared.exp
1673 * gdb.base/interrupt-noterm.exp
1674 * gdb.base/jit-so.exp
1675 * gdb.base/jit.exp
1676 * gdb.base/line-symtabs.exp
1677 * gdb.base/list.exp
1678 * gdb.base/longjmp.exp
1679 * gdb.base/macscp.exp
1680 * gdb.base/max-value-size.exp
1681 * gdb.base/nodebug.exp
1682 * gdb.base/nofield.exp
1683 * gdb.base/overlays.exp
1684 * gdb.base/paginate-after-ctrl-c-running.exp
1685 * gdb.base/paginate-bg-execution.exp
1686 * gdb.base/paginate-inferior-exit.exp
1687 * gdb.base/pending.exp
1688 * gdb.base/pr11022.exp
1689 * gdb.base/printcmds.exp
1690 * gdb.base/ptr-typedef.exp
1691 * gdb.base/ptype.exp
1692 * gdb.base/randomize.exp
1693 * gdb.base/range-stepping.exp
1694 * gdb.base/realname-expand.exp
1695 * gdb.base/relativedebug.exp
1696 * gdb.base/remote.exp
1697 * gdb.base/savedregs.exp
1698 * gdb.base/sepdebug.exp
1699 * gdb.base/set-noassign.exp
1700 * gdb.base/shlib-call.exp
1701 * gdb.base/shreloc.exp
1702 * gdb.base/sigaltstack.exp
1703 * gdb.base/sigbpt.exp
1704 * gdb.base/siginfo-addr.exp
1705 * gdb.base/siginfo-obj.exp
1706 * gdb.base/siginfo-thread.exp
1707 * gdb.base/signest.exp
1708 * gdb.base/signull.exp
1709 * gdb.base/sigrepeat.exp
1710 * gdb.base/skip.exp
1711 * gdb.base/so-impl-ld.exp
1712 * gdb.base/solib-corrupted.exp
1713 * gdb.base/solib-disc.exp
1714 * gdb.base/solib-display.exp
1715 * gdb.base/solib-overlap.exp
1716 * gdb.base/solib-search.exp
1717 * gdb.base/solib-symbol.exp
1718 * gdb.base/source-execution.exp
1719 * gdb.base/sss-bp-on-user-bp-2.exp
1720 * gdb.base/sss-bp-on-user-bp.exp
1721 * gdb.base/stack-checking.exp
1722 * gdb.base/stale-infcall.exp
1723 * gdb.base/step-break.exp
1724 * gdb.base/step-line.exp
1725 * gdb.base/step-over-exit.exp
1726 * gdb.base/step-test.exp
1727 * gdb.base/structs.exp
1728 * gdb.base/sym-file.exp
1729 * gdb.base/symtab-search-order.exp
1730 * gdb.base/term.exp
1731 * gdb.base/type-opaque.exp
1732 * gdb.base/unload.exp
1733 * gdb.base/until-nodebug.exp
1734 * gdb.base/until.exp
1735 * gdb.base/unwindonsignal.exp
1736 * gdb.base/watch-cond.exp
1737 * gdb.base/watch-non-mem.exp
1738 * gdb.base/watch_thread_num.exp
1739 * gdb.base/watchpoint-reuse-slot.exp
1740 * gdb.base/watchpoint-solib.exp
1741 * gdb.base/watchpoint.exp
1742 * gdb.btrace/dlopen.exp
1743 * gdb.cell/arch.exp
1744 * gdb.cell/break.exp
1745 * gdb.cell/bt.exp
1746 * gdb.cell/core.exp
1747 * gdb.cell/data.exp
1748 * gdb.cell/dwarfaddr.exp
1749 * gdb.cell/ea-cache.exp
1750 * gdb.cell/ea-standalone.exp
1751 * gdb.cell/ea-test.exp
1752 * gdb.cell/f-regs.exp
1753 * gdb.cell/fork.exp
1754 * gdb.cell/gcore.exp
1755 * gdb.cell/mem-access.exp
1756 * gdb.cell/ptype.exp
1757 * gdb.cell/registers.exp
1758 * gdb.cell/sizeof.exp
1759 * gdb.cell/solib-symbol.exp
1760 * gdb.cell/solib.exp
1761 * gdb.compile/compile-tls.exp
1762 * gdb.cp/exception.exp
1763 * gdb.cp/gdb2495.exp
1764 * gdb.cp/local.exp
1765 * gdb.cp/mb-inline.exp
1766 * gdb.cp/mb-templates.exp
1767 * gdb.cp/pr10687.exp
1768 * gdb.cp/pr9167.exp
1769 * gdb.cp/scope-err.exp
1770 * gdb.cp/templates.exp
1771 * gdb.cp/virtfunc.exp
1772 * gdb.dwarf2/dw2-dir-file-name.exp
1773 * gdb.dwarf2/dw2-single-line-discriminators.exp
1774 * gdb.fortran/complex.exp
1775 * gdb.fortran/library-module.exp
1776 * gdb.guile/guile.exp
1777 * gdb.guile/scm-cmd.exp
1778 * gdb.guile/scm-frame-inline.exp
1779 * gdb.guile/scm-objfile.exp
1780 * gdb.guile/scm-pretty-print.exp
1781 * gdb.guile/scm-symbol.exp
1782 * gdb.guile/scm-type.exp
1783 * gdb.guile/scm-value.exp
1784 * gdb.linespec/keywords.exp
1785 * gdb.linespec/ls-errs.exp
1786 * gdb.linespec/macro-relative.exp
1787 * gdb.linespec/thread.exp
1788 * gdb.mi/mi-breakpoint-changed.exp
1789 * gdb.mi/mi-dprintf-pending.exp
1790 * gdb.mi/mi-fullname-deleted.exp
1791 * gdb.mi/mi-logging.exp
1792 * gdb.mi/mi-pending.exp
1793 * gdb.mi/mi-solib.exp
1794 * gdb.mi/new-ui-mi-sync.exp
1795 * gdb.mi/user-selected-context-sync.exp
1796 * gdb.multi/dummy-frame-restore.exp
1797 * gdb.multi/multi-arch-exec.exp
1798 * gdb.multi/remove-inferiors.exp
1799 * gdb.multi/watchpoint-multi-exit.exp
1800 * gdb.opt/solib-intra-step.exp
1801 * gdb.perf/backtrace.exp
1802 * gdb.perf/single-step.exp
1803 * gdb.perf/skip-command.exp
1804 * gdb.perf/skip-prologue.exp
1805 * gdb.perf/solib.exp
1806 * gdb.python/lib-types.exp
1807 * gdb.python/py-as-string.exp
1808 * gdb.python/py-bad-printers.exp
1809 * gdb.python/py-block.exp
1810 * gdb.python/py-breakpoint.exp
1811 * gdb.python/py-cmd.exp
1812 * gdb.python/py-events.exp
1813 * gdb.python/py-evthreads.exp
1814 * gdb.python/py-finish-breakpoint.exp
1815 * gdb.python/py-finish-breakpoint2.exp
1816 * gdb.python/py-frame-inline.exp
1817 * gdb.python/py-frame.exp
1818 * gdb.python/py-inferior.exp
1819 * gdb.python/py-infthread.exp
1820 * gdb.python/py-mi.exp
1821 * gdb.python/py-objfile.exp
1822 * gdb.python/py-pp-maint.exp
1823 * gdb.python/py-pp-registration.exp
1824 * gdb.python/py-prettyprint.exp
1825 * gdb.python/py-recurse-unwind.exp
1826 * gdb.python/py-shared.exp
1827 * gdb.python/py-symbol.exp
1828 * gdb.python/py-symtab.exp
1829 * gdb.python/py-template.exp
1830 * gdb.python/py-type.exp
1831 * gdb.python/py-unwind-maint.exp
1832 * gdb.python/py-unwind.exp
1833 * gdb.python/py-value.exp
1834 * gdb.python/python.exp
1835 * gdb.reverse/finish-reverse-bkpt.exp
1836 * gdb.reverse/insn-reverse.exp
1837 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1838 * gdb.reverse/solib-precsave.exp
1839 * gdb.reverse/solib-reverse.exp
1840 * gdb.stabs/gdb11479.exp
1841 * gdb.stabs/weird.exp
1842 * gdb.threads/fork-child-threads.exp
1843 * gdb.threads/fork-plus-threads.exp
1844 * gdb.threads/fork-thread-pending.exp
1845 * gdb.threads/forking-threads-plus-breakpoint.exp
1846 * gdb.threads/hand-call-in-threads.exp
1847 * gdb.threads/interrupted-hand-call.exp
1848 * gdb.threads/linux-dp.exp
1849 * gdb.threads/local-watch-wrong-thread.exp
1850 * gdb.threads/next-while-other-thread-longjmps.exp
1851 * gdb.threads/non-ldr-exit.exp
1852 * gdb.threads/pending-step.exp
1853 * gdb.threads/print-threads.exp
1854 * gdb.threads/process-dies-while-detaching.exp
1855 * gdb.threads/process-dies-while-handling-bp.exp
1856 * gdb.threads/pthreads.exp
1857 * gdb.threads/queue-signal.exp
1858 * gdb.threads/reconnect-signal.exp
1859 * gdb.threads/signal-command-handle-nopass.exp
1860 * gdb.threads/signal-command-multiple-signals-pending.exp
1861 * gdb.threads/signal-delivered-right-thread.exp
1862 * gdb.threads/signal-sigtrap.exp
1863 * gdb.threads/sigthread.exp
1864 * gdb.threads/staticthreads.exp
1865 * gdb.threads/stepi-random-signal.exp
1866 * gdb.threads/thread-unwindonsignal.exp
1867 * gdb.threads/thread_check.exp
1868 * gdb.threads/thread_events.exp
1869 * gdb.threads/tid-reuse.exp
1870 * gdb.threads/tls-nodebug.exp
1871 * gdb.threads/tls-shared.exp
1872 * gdb.threads/tls-so_extern.exp
1873 * gdb.threads/tls.exp
1874 * gdb.threads/wp-replication.exp
1875 * gdb.trace/actions-changed.exp
1876 * gdb.trace/actions.exp
1877 * gdb.trace/backtrace.exp
1878 * gdb.trace/change-loc.exp
1879 * gdb.trace/collection.exp
1880 * gdb.trace/deltrace.exp
1881 * gdb.trace/disconnected-tracing.exp
1882 * gdb.trace/entry-values.exp
1883 * gdb.trace/ftrace-lock.exp
1884 * gdb.trace/ftrace.exp
1885 * gdb.trace/infotrace.exp
1886 * gdb.trace/mi-trace-frame-collected.exp
1887 * gdb.trace/mi-trace-unavailable.exp
1888 * gdb.trace/mi-traceframe-changed.exp
1889 * gdb.trace/mi-tracepoint-changed.exp
1890 * gdb.trace/mi-tsv-changed.exp
1891 * gdb.trace/no-attach-trace.exp
1892 * gdb.trace/packetlen.exp
1893 * gdb.trace/passc-dyn.exp
1894 * gdb.trace/passcount.exp
1895 * gdb.trace/pending.exp
1896 * gdb.trace/pr16508.exp
1897 * gdb.trace/qtro.exp
1898 * gdb.trace/range-stepping.exp
1899 * gdb.trace/read-memory.exp
1900 * gdb.trace/report.exp
1901 * gdb.trace/save-trace.exp
1902 * gdb.trace/signal.exp
1903 * gdb.trace/stap-trace.exp
1904 * gdb.trace/status-stop.exp
1905 * gdb.trace/strace.exp
1906 * gdb.trace/tfile.exp
1907 * gdb.trace/tfind.exp
1908 * gdb.trace/trace-break.exp
1909 * gdb.trace/trace-condition.exp
1910 * gdb.trace/trace-enable-disable.exp
1911 * gdb.trace/trace-mt.exp
1912 * gdb.trace/tracecmd.exp
1913 * gdb.trace/tracefile-pseudo-reg.exp
1914 * gdb.trace/tspeed.exp
1915 * gdb.trace/tstatus.exp
1916 * gdb.trace/tsv.exp
1917 * gdb.trace/unavailable.exp
1918 * gdb.trace/while-dyn.exp
1919 * gdb.trace/while-stepping.exp
1920 * lib/gdb-guile.exp
1921 * lib/gdb.exp
1922 * lib/mi-support.exp
1923 * lib/pascal.exp
1924 * lib/perftest.exp
1925 * lib/prelink-support.exp
1926 * lib/selftest-support.exp
1927
1928 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
1929
1930 * Makefile.in: Include disable-implicit-rules.mk.
1931
1932 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1933
1934 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
1935 non-byte-aligned bit fields.
1936
1937 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1938
1939 PR gdb/12616
1940 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
1941 respects the DW_AT_data_bit_offset attribute.
1942
1943 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1944
1945 * gdb.base/default.exp: Fix output of "set language".
1946
1947 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
1948
1949 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
1950 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
1951 make.
1952 * configure.ac: Remove checks for the make program.
1953 * configure: Re-generate.
1954
1955 2016-11-16 Kevin Buettner <kevinb@redhat.com>
1956
1957 * gdb.python/py-recurse-unwind.c (main): Add loop.
1958 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
1959 to read_register() and gdb.parse_and_eval(). Make each code
1960 call a separate case that can be individually tested.
1961 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
1962 proc. Call cont_and_backtrace for each of the code paths that
1963 we want to test in the unwinder.
1964
1965 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
1966
1967 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
1968 the definition of struct S.
1969
1970 2016-11-11 Catherine Moore <clm@codesourcery.com>
1971
1972 * gdb.base/dump.exp: Identify verilog format dump tests as such.
1973
1974 2016-11-09 Pedro Alves <palves@redhat.com>
1975
1976 * gdb.base/commands.exp (runto_or_return): New procedure.
1977 (gdbvar_simple_if_test, gdbvar_simple_while_test)
1978 (gdbvar_complex_if_while_test, progvar_simple_if_test)
1979 (progvar_simple_while_test, progvar_complex_if_while_test)
1980 (if_while_breakpoint_command_test)
1981 (infrun_breakpoint_command_test, breakpoint_command_test)
1982 (user_defined_command_test, watchpoint_command_test)
1983 (test_command_prompt_position, redefine_hook_test)
1984 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
1985 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
1986 multi_line_input and multi_line. Remove gdb_expect and
1987 gdb_stop_suppressing_tests uses.
1988 * lib/gdb.exp (valnum_re): New global.
1989 (multi_line_input): New procedure.
1990
1991 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
1992
1993 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
1994 Remove.
1995 (test_setup): Define with proc_with_prefix.
1996 (test_cli_inferior): Likewise.
1997 (test_cli_thread): Likewise.
1998 (test_cli_frame): Likewise.
1999 (test_cli_select_frame): Likewise.
2000 (test_cli_up_down): Likewise.
2001 (test_mi_thread_select): Likewise.
2002 (test_mi_stack_select_frame): Likewise.
2003 (test_cli_in_mi_inferior): Likewise.
2004 (test_cli_in_mi_thread): Likewise.
2005 (test_cli_in_mi_frame): Likewise.
2006 (top level): Do not use with_test_prefix_procname.
2007
2008 2016-11-09 Pedro Alves <palves@redhat.com>
2009
2010 * gdb.base/commands.exp (gdbvar_simple_if_test)
2011 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
2012 (progvar_simple_if_test, progvar_simple_while_test)
2013 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
2014 (infrun_breakpoint_command_test, breakpoint_command_test)
2015 (user_defined_command_test, watchpoint_command_test)
2016 (test_command_prompt_position, deprecated_command_test)
2017 (bp_deleted_in_command, temporary_breakpoint_commands)
2018 (stray_arg0_test, source_file_with_indented_comment)
2019 (recursive_source_test, if_commands_test)
2020 (error_clears_commands_left, redefine_hook_test)
2021 (redefine_backtrace_test): Use proc_with_prefix.
2022 * lib/gdb.exp (proc_with_prefix): New proc.
2023
2024 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2025
2026 * gdb.base/tui-layout.c: New file.
2027 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
2028 disassembly window contains very long lines.
2029
2030 2016-11-08 Tom Tromey <tom@tromey.com>
2031
2032 * gdb.python/py-value.exp (test_value_creation): Make "long" test
2033 depend on Python 2.
2034
2035 2016-11-08 Tom Tromey <tom@tromey.com>
2036
2037 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
2038 New method.
2039
2040 2016-10-29 Manish Goregaokar <manish@mozilla.com>
2041
2042 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
2043
2044 2016-10-27 Manish Goregaokar <manish@mozilla.com>
2045
2046 * gdb.rust/simple.rs: Add test for univariant enums without
2047 discriminants and for encoded struct-like enums.
2048
2049 2016-10-28 Pedro Alves <palves@redhat.com>
2050
2051 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
2052 gdb_test_multiple, tighten regexps and match symtabs and line
2053 tables incrementally.
2054
2055 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
2056
2057 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
2058 general.
2059
2060 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
2061
2062 * gdb.base/exec-invalid-sysroot.exp: New file.
2063
2064 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2065
2066 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
2067
2068 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2069
2070 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
2071
2072 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
2073
2074 * gdb.base/killed-outside.exp: Remove $options from a call to
2075 `prepare_for_testing'.
2076
2077 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2078
2079 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2080 Change test message.
2081
2082 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2083
2084 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2085 Update comment.
2086
2087 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2088
2089 * gdb.trace/mi-trace-save.exp: New file.
2090
2091 2016-10-13 Yao Qi <yao.qi@linaro.org>
2092
2093 * gdb.base/code_elim.exp (get_var_address): Remove.
2094 * gdb.base/relocate.exp: Likewise.
2095 * gdb.base/shreloc.exp: Likewise.
2096 * lib/gdb.exp (get_var_address): New.
2097
2098 2016-10-13 Yao Qi <yao.qi@linaro.org>
2099
2100 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
2101 floating point tests if $skip_float_test is false.
2102
2103 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
2104
2105 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
2106 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
2107 argc values.
2108 Add 1 to argc so we guarantee distinct initial/modified argc values.
2109
2110 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2111
2112 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
2113
2114 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2115
2116 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
2117 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2118 * gdb.arch/vsx-regs.exp: Likewise.
2119
2120 2016-10-07 Yao Qi <yao.qi@linaro.org>
2121
2122 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
2123
2124 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
2125
2126 * gdb.python/python.exp: Test decode_line("*0").
2127
2128 2016-10-06 Doug Evans <dje@google.com>
2129
2130 * gdb.python/py-value.exp (test_value_creation): Add test for large
2131 unsigned 64-bit value.
2132
2133 2016-10-06 Tom Tromey <tom@tromey.com>
2134
2135 * gdb.compile/compile.exp: Change java tests to rust.
2136 * gdb.base/setshow.exp: Change java tests to rust.
2137 * gdb.base/default.exp: Remove java from language list.
2138 * README (Examples): Update language example.
2139 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
2140 test.
2141 * lib/gdb.exp (skip_java_tests): Remove.
2142 * lib/java.exp: Remove.
2143 * gdb.java: Remove.
2144
2145 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2146
2147 * gdb.arch/mips-fcr.exp: New test.
2148 * gdb.arch/mips-fcr.c: Source for the new test.
2149
2150 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2151
2152 * gdb.base/solib-disc.exp: Use `standard_output_file'
2153 throughout.
2154
2155 2016-10-06 Pedro Alves <palves@redhat.com>
2156
2157 * gdb.base/jit-simple-dl.c: New file.
2158 * gdb.base/jit-simple-jit.c: New file, factored out from ...
2159 * gdb.base/jit-simple.c: ... this.
2160 * gdb.base/jit-simple.exp (jit_run): Delete.
2161 (build_jit): New proc.
2162 (jit_test_reread): Recompile either the main program or the shared
2163 library, depending on what is being tested. Skip changing address
2164 if caller wants to. Compare before/after addresses. If testing
2165 standalone, explicitly load the binary. Test "maint info
2166 breakpoints".
2167 (top level): Add "standalone vs shared lib" and "change address"
2168 vs "same address" axes.
2169
2170 2016-10-06 Pedro Alves <palves@redhat.com>
2171
2172 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
2173 call.
2174 (jit_run): Delete.
2175 (jit_test_reread): Use with_test_prefix. Reload the main binary
2176 explicitly. Compare the before/after addresses of the JIT
2177 descriptor.
2178
2179 2016-08-15 Doug Evans <dje@google.com>
2180
2181 * gdb.xml/extra-regs.xml: Update, end field now required, default type
2182 for single bitfields is bool.
2183 * gdb.xml/tdesc-regs.exp: Ditto.
2184
2185 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2186
2187 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
2188
2189 2016-10-05 Yao Qi <yao.qi@linaro.org>
2190
2191 * lib/gdb.exp (support_complex_tests): Return zero if
2192 gdb_skip_float_test return true.
2193
2194 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2195 Simon Marchi <simon.marchi@ericsson.com>
2196
2197 PR gdb/20487
2198 * gdb.mi/user-selected-context-sync.exp: New file.
2199 * gdb.mi/user-selected-context-sync.c: New file.
2200
2201 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2202 Simon Marchi <simon.marchi@ericsson.com>
2203
2204 PR gdb/20487
2205 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
2206 =thread-select-event check.
2207
2208 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2209
2210 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
2211 the compulsory L operand changes.
2212 * gdb.arch/powerpc-power.s: Likewise.
2213
2214 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2215
2216 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
2217 * gdb.base/jit-attach-pie.c: New file.
2218 * gdb.base/jit-attach-pie.exp: New file.
2219
2220 2016-09-28 Pedro Alves <palves@redhat.com>
2221
2222 * gdb.base/infcall-input.c: New file.
2223 * gdb.base/infcall-input.exp: New file.
2224
2225 2016-09-22 Yao Qi <yao.qi@linaro.org>
2226
2227 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
2228 (gdb_exit): Rename it to ...
2229 (gdbserver_gdb_exit): ... Close GDBserver.
2230 (gdb_exit): New proc, call gdbserver_gdb_exit.
2231 (mi_gdb_exit): Likewise.
2232
2233 2016-09-22 Yao Qi <yao.qi@linaro.org>
2234
2235 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
2236 path.
2237 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
2238 Remove duplication.
2239
2240 2016-09-22 Yao Qi <yao.qi@linaro.org>
2241
2242 * lib/gdbserver-support.exp: Check the existence of
2243 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
2244
2245 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2246
2247 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
2248
2249 2016-09-21 Tom Tromey <tom@tromey.com>
2250
2251 PR gdb/20604:
2252 * gdb.base/quit.exp: New file.
2253
2254 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
2255
2256 * .gitignore: New file.
2257
2258 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
2259
2260 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
2261 throughout.
2262
2263 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2264
2265 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
2266
2267 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2268
2269 * gdb.cp/casts.cc (decltype): Move it ...
2270 (main): ... with its call to ...
2271 * gdb.cp/casts03.cc: ... a new file.
2272 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2273
2274 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2275
2276 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2277
2278 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2279
2280 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2281 and sync up the test with tests in gas/testsuite/gas/ppc.
2282 * gdb.arch/powerpc-power.exp: Likewise.
2283
2284 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2285
2286 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2287
2288 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2289 Jan Kratochvil <jan.kratochvil@redhat.com>
2290
2291 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2292 make m1's definition to be different from m2's. Use 'dummy' as an
2293 argument for probe 'two'.
2294
2295 2016-09-10 Jon Beniston <jon@beniston.com>
2296
2297 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2298 for sim target.
2299
2300 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2301
2302 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2303 variable declaration.
2304 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2305 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2306 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2307 received HWCAP as its argument.
2308
2309 2016-09-06 Pedro Alves <palves@redhat.com>
2310
2311 * gdb.base/new-ui-pending-input.c: New file.
2312 * gdb.base/new-ui-pending-input.exp: New file.
2313 * gdb.exp (clear_gdb_spawn_id): New procedure.
2314 (with_spawn_id): Check whether gdb_spawn_id exists before
2315 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2316 on exit.
2317
2318 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2319
2320 * gdb.base/float128.c: New file.
2321 * gdb.base/float128.exp: Likewise.
2322 * gdb.base/floatn.c: Likewise.
2323 * gdb.base/floatn.exp: Likewise.
2324
2325 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2326
2327 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2328
2329 2016-09-05 Pedro Alves <palves@redhat.com>
2330
2331 PR backtrace/19927
2332 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2333 unwinders are immediately called as side effect of "source" or
2334 "disable unwinder" commands.
2335 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2336
2337 2016-09-02 Yao Qi <yao.qi@linaro.org>
2338
2339 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2340 is true and $type is "float" or "double".
2341
2342 2016-09-02 Yao Qi <yao.qi@linaro.org>
2343
2344 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2345 true.
2346 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2347 * gdb.base/call-rt-st.exp: Likewise.
2348 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2349 return value instead of gdb,skip_float_test.
2350 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2351 (do_function_calls): Use its return value instead of
2352 gdb,skip_float_test.
2353 * gdb.base/finish.exp: Likewise.
2354 * gdb.base/funcargs.exp: Likewise.
2355 * gdb.base/return.exp: Likewise.
2356 * gdb.base/return2.exp: Likewise.
2357 * gdb.base/varargs.exp: Likewise.
2358 * lib/gdb.exp (gdb_skip_float_test): Change it to
2359 gdb_caching_proc. Detect the broken ptrace on arm-linux.
2360
2361 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2362
2363 * gdb.multi/tids.exp: Test "thread apply all".
2364
2365 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2366
2367 * gdb.base/default.exp (tty): Remove.
2368
2369 2016-08-24 Kevin Buettner <kevinb@redhat.com>
2370
2371 * gdb.python/py-recurse-unwind.c: New file.
2372 * gdb.python/py-recurse-unwind.py: New file.
2373 * gdb.python/py-recurse-unwind.exp: New file.
2374
2375 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
2376
2377 * gdb.base/set-inferior-tty.exp: New file.
2378 * gdb.base/set-inferior-tty.c: New file.
2379
2380 2016-08-23 Pedro Alves <palves@redhat.com>
2381
2382 PR gdb/20494
2383 * gdb.base/new-ui-echo.c: New file.
2384 * gdb.base/new-ui-echo.exp: New file.
2385
2386 2016-08-23 Yao Qi <yao.qi@linaro.org>
2387
2388 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
2389 gdbserver_spawn.
2390 * gdb.server/connect-without-multi-process.exp (do_test):
2391 Likewise.
2392
2393 2016-08-23 Yao Qi <yao.qi@linaro.org>
2394
2395 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
2396 standalone_txt. Delete gdb_txt and standalone_txt on host
2397 and target. Spawn the binary on target. Copy files from
2398 target to host.
2399
2400 2016-08-22 Pedro Alves <palves@redhat.com>
2401
2402 PR gdb/20505
2403 * gdb.base/vdso-warning.exp: Test core dumps too. Use
2404 with_test_prefix. Factor out bits to ...
2405 (test_no_vdso): ... this new procedure.
2406
2407 2016-08-19 Carl Love <cel@us.ibm.com>
2408
2409 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
2410 maintaining separate logic for constructing the output path.
2411 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2412 * gdb.arch/ppc-dfp.exp: Likewise.
2413 * gdb.arch/ppc-fp.exp: Likewise.
2414 * gdb.arch/vsx-regs.exp: Likewise.
2415 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
2416 binprefix for generating the additional binary files.
2417
2418 2016-08-19 Pedro Alves <palves@redhat.com>
2419
2420 * gdb.trace/mi-trace-frame-collected.exp
2421 (test_trace_frame_collected): On x32, expect two registers.
2422
2423 2016-08-18 Carl Love <cel@us.ibm.com>
2424
2425 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
2426 and sync up the test with tests in gas/testsuite/gas/ppc.
2427 * gdb.arch/powerpc-power.exp: Likewise.
2428
2429 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2430
2431 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
2432 expected error message.
2433
2434 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2435
2436 * gdb.multi/remove-inferiors.exp: New file.
2437 * gdb.multi/remove-inferiors.c: New file.
2438
2439 2016-08-12 Yao Qi <yao.qi@linaro.org>
2440
2441 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
2442 argument list.
2443
2444 2016-08-10 Pedro Alves <palves@redhat.com>
2445
2446 PR gdb/19187
2447 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
2448 setup_kfails.
2449
2450 2016-08-09 Pedro Alves <palves@redhat.com>
2451 Simon Marchi <simon.marchi@ericsson.com>
2452
2453 PR gdb/20418
2454 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
2455 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
2456
2457 2016-08-09 Pedro Alves <palves@redhat.com>
2458
2459 PR mi/20431
2460 * gdb.mi/mi-cmd-error.exp: New file.
2461
2462 2016-08-09 Pedro Alves <palves@redhat.com>
2463
2464 PR gdb/18653
2465 * gdb.base/signals-state-child.c: New file.
2466 * gdb.base/signals-state-child.exp: New file.
2467 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
2468
2469 2016-08-09 Pedro Alves <palves@redhat.com>
2470
2471 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
2472
2473 2016-08-03 Tom Tromey <tom@tromey.com>
2474
2475 PR python/18565:
2476 * gdb.python/py-frame-inline.exp: Add Frame.function test.
2477
2478 2016-08-01 Yao Qi <yao.qi@linaro.org>
2479
2480 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
2481 variable mode to "multi-process" if $multi_process is 1, otherwise
2482 set it to "single-process".
2483
2484 2016-08-01 Yao Qi <yao.qi@linaro.org>
2485
2486 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
2487 * gdb.cp/cpexprs.exp: Likewise.
2488 * gdb.cp/m-static.exp: Likewise.
2489
2490 2016-07-26 Tom Tromey <tom@tromey.com>
2491
2492 PR python/20190:
2493 * gdb.threads/tls.exp (check_thread_local): Add python symbol
2494 test.
2495
2496 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
2497
2498 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
2499 selecting assembly source files.
2500 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
2501 assembly source files.
2502 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
2503 assembly source files.
2504 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
2505 selecting assembly source files.
2506
2507 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
2508
2509 * gdb.base/new-ui.exp (do_test_invalid_args): New
2510 procedure.
2511
2512 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
2513
2514 * gdb.btrace/reconnect.c: New file.
2515 * gdb.btrace/reconnect.exp: New file.
2516
2517 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
2518
2519 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
2520 to test_catch_syscall_group.
2521 (test_catch_syscall_group): New.
2522
2523 2016-07-21 Tom Tromey <tom@tromey.com>
2524
2525 * gdb.rust/simple.rs (main): Use empty struct expression.
2526 * gdb.rust/simple.exp: Add tests for empty struct expression.
2527
2528 2016-07-21 Yao Qi <yao.qi@linaro.org>
2529
2530 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
2531 if gdb_skip_xml_test is true on some targets.
2532
2533 2016-07-21 Yao Qi <yao.qi@linaro.org>
2534
2535 * gdb.server/solib-list.exp: Unset last_loaded_file.
2536
2537 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2538
2539 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
2540 "step into captured_main (args)".
2541
2542 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2543
2544 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
2545
2546 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2547
2548 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
2549
2550 2016-07-19 Pedro Alves <palves@redhat.com>
2551
2552 * gdb.opt/inline-break.exp: Remove optimize=-O2.
2553 * gdb.opt/inline-bt.exp: Likewise.
2554 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
2555 additional_flags=-Winline.
2556 * gdb.opt/inline-locals.exp: Likewise.
2557 * gdb.opt/inline-markers.c (ATTR): Define.
2558 (inlined_fn): Use it.
2559
2560 2016-07-19 Yao Qi <yao.qi@linaro.org>
2561
2562 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
2563 (test_with_self): Remove some code. Remove argument executable.
2564 (top-level): Use do_self_tests.
2565
2566 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
2567 Don Breazeal <donb@codesourcery.com>
2568
2569 * gdb.base/maint.exp: Escape paths used in regular expressions.
2570 * gdb.stabs/weird.exp: Likewise.
2571
2572 2016-07-13 Tom Tromey <tom@tromey.com>
2573
2574 PR python/15620, PR python/18620:
2575 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
2576 (test_bkpt_events): New procs.
2577
2578 2016-07-13 Tom Tromey <tom@tromey.com>
2579
2580 PR python/17698:
2581 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
2582 test.
2583 (test_watchpoints): Likewise.
2584 (test_bkpt_pending): New proc.
2585
2586 2016-07-13 Tom Tromey <tom@tromey.com>
2587
2588 PR cli/18053:
2589 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
2590 completion test.
2591
2592 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2593
2594 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
2595 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
2596 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
2597 f_label.
2598 (g): Rename g_end_lbl to g_label.
2599 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
2600 low_pc and high_pc.
2601 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
2602
2603 2016-07-12 Tom Tromey <tom@tromey.com>
2604
2605 PR python/19293:
2606 * gdb.python/py-unwind-maint.exp: Update tests.
2607
2608 2016-07-12 Yao Qi <yao.qi@linaro.org>
2609
2610 * lib/selftest-support.exp (selftest_setup): Match the output
2611 when captured_main is inlined.
2612
2613 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2614
2615 * gdb.fortran/derived-types.exp (result_line, result_line_2):
2616 New variables.
2617 (print this%a, print this%b, print this): New tests.
2618 * gdb.fortran/derived-types.f90 (this): New object and
2619 initialization.
2620
2621 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2622
2623 * gdb.ada/arraydim.exp: Remove extra directory level in build
2624 directory.
2625
2626 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2627
2628 * lib/ada.exp: Remove extra directory level in build directory.
2629 * gdb.ada/cond_lang.exp: Likewise.
2630 * gdb.ada/exec_changed.exp: Likewise.
2631 * gdb.ada/lang_switch.exp: Likewise.
2632
2633 2016-07-06 Manish Goregaokar <manish@mozilla.com>
2634
2635 * simple.rs: Add test for raw pointer subscripting.
2636 * simple.exp: Add test expectations.
2637
2638 2016-07-05 Yao Qi <yao.qi@linaro.org>
2639
2640 * gdb.mi/mi-reverse.exp: Match =record-started output.
2641
2642 2016-07-01 Pedro Alves <palves@redhat.com>
2643
2644 * gdb.base/jit-reader.exp (info_registers_current_frame): New
2645 procedure.
2646 (jit_reader_test): Test the jit reader's unwinder.
2647 * gdb.base/jithost.c (jit_function_00_code): New global.
2648 (main): Use memcpy to fill in the mmapped code, instead of poking
2649 bytes manually here.
2650 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
2651 value.
2652 (read_debug_info): Save the function's range.
2653 (read_sp): New function.
2654 (unwind_frame): Use it. Also unwind RBP.
2655 (get_frame_id): Use read_sp.
2656 (gdb_init_reader): Use calloc instead of malloc.
2657 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
2658 parameter. Use gdb_test_multiple.
2659
2660 2016-07-01 Pedro Alves <palves@redhat.com>
2661 Antoine Tremblay <antoine.tremblay@ericsson.com>
2662
2663 * gdb.threads/process-dies-while-detaching.c: New file.
2664 * gdb.threads/process-dies-while-detaching.exp: New file.
2665
2666 2016-07-01 Pedro Alves <palves@redhat.com>
2667
2668 * gdb.multi/watchpoint-multi-exit.c: New file.
2669 * gdb.multi/watchpoint-multi-exit.exp: New file.
2670
2671 2016-06-30 Pedro Alves <palves@redhat.com>
2672
2673 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
2674 unset inferior_spawn_id.
2675
2676 2016-06-30 Pedro Alves <palves@redhat.com>
2677
2678 * lib/mi-support.exp (default_mi_gdb_start): Declare global
2679 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
2680
2681 2016-06-29 Yao Qi <yao.qi@linaro.org>
2682
2683 * gdb.base/return.c: Add copyright header.
2684
2685 2016-06-29 Tom Tromey <tom@tromey.com>
2686
2687 PR python/20129:
2688 * gdb.python/py-framefilter.exp: Add tests for setting priority
2689 and disabling of non-existent frame filter.
2690
2691 2016-06-29 Yao Qi <yao.qi@linaro.org>
2692
2693 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
2694 0x0f07ff.
2695
2696 2016-06-28 Yao Qi <yao.qi@linaro.org>
2697
2698 * gdb.base/catch-syscall.exp: Remove check on isnative and target
2699 triplets. Start gdb, execute catch syscall, and continue. Check
2700 gdb's output to determine catch syscall is supported.
2701
2702 2016-06-27 Manish Goregaokar <manish@mozilla.com>
2703
2704 * gdb.rust/simple.rs: Add test for returning unit in a function.
2705 * gdb.rust/simple.exp: Add expectation for functions returning
2706 unit.
2707
2708 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
2709
2710 * gdb.python/py-breakpoint-create-fail.c,
2711 gdb.python/py-breakpoint-create-fail.exp,
2712 gdb.python/py-breakpoint-create-fail.py: New testcase.
2713
2714 2016-06-25 Manish Goregaokar <manish@mozilla.com>
2715
2716 PR gdb/20239
2717 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
2718 * gdb.rust/simple.exp: Add test expectations for new NonZero
2719 tests.
2720
2721 2016-06-24 David Taylor <dtaylor@emc.com>
2722
2723 * gdb.base/offsets.exp: New file.
2724 * gdb.base/offsets.c: New file.
2725
2726 2016-06-23 Tom Tromey <tom@tromey.com>
2727
2728 PR gdb/16483:
2729 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
2730 before any filters are loaded.
2731
2732 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
2733
2734 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
2735 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
2736 structs.
2737 * gdb.fortran/derived-type-function.exp: New file.
2738 * gdb.fortran/derived-type-function.f90: New file.
2739
2740
2741 2016-06-21 Pedro Alves <palves@redhat.com>
2742
2743 * gdb.base/new-ui.exp: New file.
2744 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
2745 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
2746 (with_spawn_id): New procedure.
2747
2748 2016-06-21 Pedro Alves <palves@redhat.com>
2749
2750 * gdb.mi/mi-exec-run.exp: New file.
2751
2752 2016-06-21 Pedro Alves <palves@redhat.com>
2753
2754 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
2755 breakpoint command's output on the main UI.
2756 (test_break): New procedure, factored out from calls in the top
2757 level.
2758 (top level): Use foreach_with_prefix to test MI as main UI and as
2759 separate UI.
2760
2761 2016-06-21 Pedro Alves <palves@redhat.com>
2762
2763 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
2764 (test_awatch_creation_and_listing)
2765 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
2766 Remove 'type' parameter.
2767 (test_watchpoint_all): New parameter mi_mode. Remove
2768 with_test_prefix.
2769 (top level): Use foreach_with_prefix, and add main/separate UI MI
2770 testing axis.
2771
2772 2016-06-21 Pedro Alves <palves@redhat.com>
2773
2774 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
2775 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
2776 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
2777 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
2778 (gdb_main_spawn_id, mi_spawn_id): Declare and
2779 comment.
2780 (mi_create_inferior_pty): New procedure,
2781 factored out from default_mi_gdb_start.
2782 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
2783 procedures.
2784 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
2785 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
2786 Use mi_create_inferior_pty.
2787 (mi_gdb_start): Use eval to pass down args list.
2788
2789 2016-06-21 Pedro Alves <palves@redhat.com>
2790
2791 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
2792 * gdb.opt/inline-cmds.exp: Add MI tests.
2793
2794 2016-06-21 Pedro Alves <palves@redhat.com>
2795
2796 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
2797
2798 2016-06-21 Pedro Alves <palves@redhat.com>
2799
2800 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
2801 (top level): Use it instead of mi_execute_to.
2802
2803 2016-06-21 Pedro Alves <palves@redhat.com>
2804
2805 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
2806 (cont_handler_str): New.
2807 (signal_stop_handler): Set stop_handler_str instead of printing to
2808 stdout.
2809 (continue_handler): Set cont_handler_str instead of printing to
2810 stdout.
2811 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
2812 mi_send_resuming_command. Print stop_handler_str and
2813 cont_handler_str instead of expecting the python events print
2814 directly.
2815
2816 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2817
2818 * gdb.base/jit-reader.exp: New file.
2819 * gdb.base/jithost.c: New file.
2820 * gdb.base/jithost.h: New file.
2821 * gdb.base/jitreader.c : New file.
2822 * gdb.base/jit-protocol.h: New file.
2823
2824 2016-06-17 Yao Qi <yao.qi@linaro.org>
2825
2826 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
2827 parameters follow_fork and detach_on_fork. Set follow-fork-mode
2828 and detach-on-fork. Adjust tests.
2829 (top level): Invoke break_cond_on_syscall with combinations of
2830 syscall, follow-fork-mode and detach-on-fork.
2831
2832 2016-06-17 Yao Qi <yao.qi@linaro.org>
2833
2834 * gdb.base/step-over-exit.c: New.
2835 * gdb.base/step-over-exit.exp: New.
2836
2837 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
2838
2839 * gdb.base/float.exp: Add target check for nds32*-*-*.
2840 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
2841
2842 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
2843
2844 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
2845 for unsupported target features.
2846 * gdb.base/call-rt-st.exp: Likewise.
2847 * gdb.base/call-sc.exp: Likewise.
2848 * gdb.base/call-signal-resume.exp: Likewise.
2849 * gdb.base/call-strs.exp: Likewise.
2850 * gdb.base/callexit.exp: Likewise.
2851 * gdb.base/callfuncs.exp: Likewise.
2852 * gdb.base/nodebug.exp: Likewise.
2853 * gdb.base/printcmds.exp: Likewise.
2854 * gdb.base/ptype.exp: Likewise.
2855 * gdb.base/structs.exp: Likewise.
2856 * gdb.base/unwindonsignal.exp: Likewise.
2857 * gdb.cp/gdb2495.exp: Likewise.
2858 * gdb.cp/templates.exp: Likewise.
2859 * gdb.cp/virtfunc.exp: Likewise.
2860 * gdb.threads/hand-call-in-threads.exp: Likewise.
2861 * gdb.threads/interrupted-hand-call.exp: Likewise.
2862 * gdb.threads/thread-unwindonsignal.exp: Likewise.
2863
2864 2016-06-10 Tom Tromey <tom@tromey.com>
2865
2866 PR rust/20110:
2867 * gdb.rust/expr.exp: Add test for integer constant larger than
2868 i32.
2869
2870 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
2871
2872 * gdb.fortran/nested-funcs.exp: New.
2873 * gdb.fortran/nested-funcs.f90: New.
2874
2875 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
2876
2877 * gdb.base/examine-backward.c: New file.
2878 * gdb.base/examine-backward.exp: New file.
2879
2880 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
2881
2882 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
2883 matching.
2884
2885 2016-06-02 Tom Tromey <tom@tromey.com>
2886
2887 PR python/18984:
2888 * gdb.python/py-shared.exp: Add solib_name test.
2889
2890 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
2891
2892 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
2893
2894 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
2895
2896 PR c++/19893
2897 * gdb.dwarf2/implref.exp: Rename to...
2898 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
2899 * gdb.dwarf2/implref-array.c: New file.
2900 * gdb.dwarf2/implref-array.exp: Likewise.
2901 * gdb.dwarf2/implref-global.c: Likewise.
2902 * gdb.dwarf2/implref-global.exp: Likewise.
2903 * gdb.dwarf2/implref-struct.c: Likewise.
2904 * gdb.dwarf2/implref-struct.exp: Likewise.
2905
2906 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2907
2908 * gdb.trace/trace-condition.exp: Add 64bit tests.
2909
2910 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2911
2912 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
2913 bits types.
2914 (main): Adapt to 8 to 64 bits types.
2915 * gdb.trace/trace-condition.exp: Add new tests.
2916
2917 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2918
2919 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
2920
2921 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2922
2923 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
2924 Move condition tests...
2925 * gdb.trace/trace-condition.exp: Here.
2926
2927 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2928
2929 * gdb.trace/trace-condition.exp: Add counter-case tests.
2930
2931 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2932
2933 PR c++/15231
2934 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
2935 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
2936
2937 2016-05-27 Pedro Alves <palves@redhat.com>
2938
2939 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2940 New procedure.
2941 (top level): Call it, and bail out of DejaGnu is known to be bad.
2942
2943 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
2944
2945 * gdb.base/whatis.c: Extend the test case.
2946 * gdb.base/whatis.exp: Add additional tests.
2947
2948 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2949
2950 * gdb.fortran/type.f90: Add pointer variable.
2951 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
2952
2953 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2954
2955 * gdb.fortran/vla-type.exp: Fix testcase name.
2956
2957 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2958
2959 * gdb.fortran/vla-type.exp: Access elements in nested structs.
2960
2961 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2962
2963 * gdb.fortran/type.f90: Add nested structures.
2964 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
2965 * gdb.fortran/derived-type.exp: Adapt expected output.
2966 * gdb.fortran/vla-type.exp: Adapt expected output.
2967
2968 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2969
2970 * gdb.fortran/whatis_type.exp: Adapt expected output.
2971
2972 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2973
2974 * gdb.fortran/print_type.exp: Fix expected output.
2975 * gdb.fortran/whatis_type.exp: Fix expected output.
2976
2977 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2978
2979 * gdb.fortran/whatis_type.exp: Use multi_line.
2980
2981 2016-05-24 Tom Tromey <tom@tromey.com>
2982
2983 PR python/17386:
2984 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
2985 use value as an index.
2986
2987 2016-05-23 Tom Tromey <tom@tromey.com>
2988
2989 PR python/17981:
2990 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
2991 no-breakpoint case.
2992
2993 2016-05-24 Pedro Alves <palves@redhat.com>
2994
2995 PR gdb/19828
2996 * gdb.threads/clone-attach-detach.c: New file.
2997 * gdb.threads/clone-attach-detach.exp: New file.
2998
2999 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
3000
3001 * gdb.base/annota-input-while-running.exp: Fix syntax error.
3002
3003 2016-05-23 Tom Tromey <tom@tromey.com>
3004
3005 PR python/19438, PR python/18393:
3006 * gdb.python/py-progspace.exp: Add "dir" test.
3007 * gdb.python/py-objfile.exp: Add "dir" test.
3008
3009 2016-05-23 Yao Qi <yao.qi@linaro.org>
3010
3011 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
3012 * gdb.arch/thumb2-it.exp: Likewise.
3013
3014 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
3015
3016 * gdb.mi/mi-threads-interrupt.c: New file.
3017 * gdb.mi/mi-threads-interrupt.exp: New file.
3018
3019 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
3020
3021 PR gdb/18077
3022 * gdb.mi/mi-async-run.exp: New file.
3023 * gdb.mi/mi-async-run.c: New file.
3024
3025 2016-05-17 Tom Tromey <tom@tromey.com>
3026 Manish Goregaokar <manishsmail@gmail.com>
3027
3028 * lib/rust-support.exp: New file.
3029 * lib/gdb.exp (skip_rust_tests): New proc.
3030 (build_executable_from_specs): Handle rust.
3031 * lib/future.exp (gdb_find_rustc): New proc.
3032 (gdb_default_target_compile): Handle rust.
3033 * gdb.rust/expr.exp: New file.
3034 * gdb.rust/generics.exp: New file.
3035 * gdb.rust/generics.rs: New file.
3036 * gdb.rust/methods.exp: New file.
3037 * gdb.rust/methods.rs: New file.
3038 * gdb.rust/modules.exp: New file.
3039 * gdb.rust/modules.rs: New file.
3040 * gdb.rust/simple.exp: New file.
3041 * gdb.rust/simple.rs: New file.
3042
3043 2016-05-17 Tom Tromey <tom@tromey.com>
3044
3045 * gdb.base/default.exp (set language): Add rust.
3046
3047 2016-05-17 Tom Tromey <tom@tromey.com>
3048
3049 * gdb.gdb/unittest.exp: New file.
3050
3051 2016-05-16 Yao Qi <yao.qi@linaro.org>
3052
3053 * gdb.base/batch-preserve-term-settings.exp: Remove variable
3054 shell_prompt. Update shell_prompt_re.
3055
3056 2016-05-12 Doug Evans <dje@google.com>
3057
3058 PR symtab/19999
3059 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
3060 $options when building executable.
3061 * gdb.dwarf2/fission-loclists-pie.S: New file.
3062 * gdb.dwarf2/fission-loclists-pie.exp: New file.
3063
3064 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3065
3066 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
3067 of [is_remote target],
3068
3069 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3070
3071 * lib/gdb.exp (use_gdb_stub): New procedure.
3072
3073 2016-05-03 Yunlian Jiang <yunlian@google.com>
3074 Doug Evans <dje@google.com>
3075
3076 PR symtab/19914
3077 * gdb.dwarf2/dwp-sepdebug.c: New file.
3078 * gdb.dwarf2/dwp-sepdebug.exp: New file.
3079
3080 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3081
3082 * gdb.base/detach.exp: Remove is_remote check.
3083
3084 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3085
3086 * gdb.base/annota-input-while-running.exp: Don't check for
3087 [is_remote target]. Enable annotations after running to main.
3088 Remove unused "set test..." line.
3089
3090 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3091
3092 * gdb.trace/trace-enable-disable.exp: New file.
3093 * gdb.trace/trace-enable-disable.c: New file.
3094
3095 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3096
3097 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
3098 use it in info sharedlibrary test.
3099 * gdb.trace/ftrace-lock.exp: Likewise.
3100 * gdb.trace/ftrace.exp: Likewise.
3101 * gdb.trace/range-stepping.exp: Likewise.
3102 * gdb.trace/trace-break.exp: Likewise.
3103 * gdb.trace/trace-condition.exp: Likewise.
3104 * gdb.trace/trace-mt.exp: Likewise.
3105
3106 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3107
3108 * lib/gdb.exp (gdb_load_shlibs): Rename to...
3109 (gdb_load_shlib): ... this.
3110 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
3111 gdb_load_shlib.
3112 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3113 * gdb.base/ctxobj.exp: Likewise.
3114 * gdb.base/dprintf-pending.exp: Likewise.
3115 * gdb.base/dso2dso.exp: Likewise.
3116 * gdb.base/fixsection.exp: Likewise.
3117 * gdb.base/gcore-relro.exp: Likewise.
3118 * gdb.base/gdb1555.exp: Likewise.
3119 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3120 * gdb.base/gnu-ifunc.exp: Likewise.
3121 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
3122 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3123 * gdb.base/pending.exp: Likewise.
3124 * gdb.base/print-file-var.exp: Likewise.
3125 * gdb.base/print-symbol-loading.exp: Likewise.
3126 * gdb.base/shlib-call.exp: Likewise.
3127 * gdb.base/shreloc.exp: Likewise.
3128 * gdb.base/so-impl-ld.exp: Likewise.
3129 * gdb.base/solib-disc.exp: Likewise.
3130 * gdb.base/solib-nodir.exp: Likewise.
3131 * gdb.base/solib-overlap.exp: Likewise.
3132 * gdb.base/solib-symbol.exp: Likewise.
3133 * gdb.base/solib-weak.exp (do_test): Likewise.
3134 * gdb.base/sym-file.exp: Likewise.
3135 * gdb.base/symtab-search-order.exp: Likewise.
3136 * gdb.base/type-opaque.exp: Likewise.
3137 * gdb.base/unload.exp: Likewise.
3138 * gdb.base/watchpoint-solib.exp: Likewise.
3139 * gdb.compile/compile.exp: Likewise.
3140 * gdb.cp/gdb2384.exp: Likewise.
3141 * gdb.cp/infcall-dlopen.exp: Likewise.
3142 * gdb.cp/re-set-overloaded.exp: Likewise.
3143 * gdb.fortran/library-module.exp: Likewise.
3144 * gdb.opt/solib-intra-step.exp: Likewise.
3145 * gdb.python/py-finish-breakpoint.exp: Likewise.
3146 * gdb.python/py-shared.exp: Likewise.
3147 * gdb.reverse/solib-precsave.exp: Likewise.
3148 * gdb.reverse/solib-reverse.exp: Likewise.
3149 * gdb.server/solib-list.exp: Likewise.
3150 * gdb.threads/dlopen-libpthread.exp: Likewise.
3151 * gdb.threads/tls-shared.exp: Likewise.
3152 * gdb.threads/tls-so_extern.exp: Likewise.
3153 * gdb.trace/change-loc.exp: Likewise.
3154 * gdb.trace/ftrace-lock.exp: Likewise.
3155 * gdb.trace/ftrace.exp: Likewise.
3156 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
3157 * gdb.trace/pending.exp: Likewise.
3158 * gdb.trace/range-stepping.exp: Likewise.
3159 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
3160 (strace_info_marker): Likewise.
3161 (strace_probe_marker): Likewise.
3162 (strace_trace_on_same_addr): Likewise.
3163 (strace_trace_on_diff_addr): Likewise.
3164 * gdb.trace/trace-break.exp: Likewise.
3165 * gdb.trace/trace-condition.exp: Likewise.
3166 * gdb.trace/trace-mt.exp: Likewise.
3167
3168 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3169
3170 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
3171 result of gdb_remote_download.
3172 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
3173 * gdb.base/dso2dso.exp: Likewise.
3174 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3175 * gdb.base/print-file-var.exp: Likewise.
3176 * gdb.base/shlib-call.exp: Likewise.
3177 * gdb.base/shreloc.exp: Likewise.
3178 * gdb.base/solib-overlap.exp: Likewise.
3179 * gdb.base/solib-weak.exp (do_test): Likewise.
3180 * gdb.base/unload.exp: Likewise.
3181
3182 2016-04-27 Yao Qi <yao.qi@linaro.org>
3183
3184 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
3185 exists.
3186
3187 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3188
3189 * vla-type.exp: Print structure from toplevel.
3190
3191 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3192
3193 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
3194 of dynamic types.
3195 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
3196 of dynamic types.
3197
3198 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3199
3200 * gdb.fortran/vla-type.f90: New file.
3201 * gdb.fortran/vla-type.exp: New file.
3202
3203 2016-04-25 Yao Qi <yao.qi@linaro.org>
3204
3205 * gdb.base/branch-to-self.c: New file.
3206 * gdb.base/branch-to-self.exp: New file.
3207
3208 2016-04-22 Yao Qi <yao.qi@linaro.org>
3209
3210 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
3211 more after $hex.
3212
3213 2016-04-22 Yao Qi <yao.qi@linaro.org>
3214
3215 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
3216 * gdb.base/annota3.exp: Likewise.
3217
3218 2016-04-22 Yao Qi <yao.qi@linaro.org>
3219
3220 * gdb.reverse/step-precsave.exp: Do one step and test program
3221 stops in "callee" and do multiple steps until program goes out
3222 of "callee".
3223 * gdb.reverse/step-reverse.exp: Likewise.
3224
3225 2016-04-22 Yao Qi <yao.qi@linaro.org>
3226
3227 * gdb.trace/signal.exp: Also pass if
3228 $tracepoint_hits($i) > $iterations.
3229
3230 2016-04-22 Yao Qi <yao.qi@linaro.org>
3231
3232 * gdb.trace/signal.c: New file.
3233 * gdb.trace/signal.exp: New file.
3234
3235 2016-04-19 Doug Evans <xdje42@gmail.com>
3236
3237 * gdb.base/bad-file.exp: New file.
3238
3239 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3240
3241 * gdb.dwarf2/implref.exp: New file.
3242
3243 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3244
3245 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
3246 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
3247 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
3248 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
3249 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
3250 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
3251 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
3252 * lib/fortran.exp (fortran_int4): New procedure.
3253 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
3254 (fortran_logical4): Likewise.
3255
3256 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
3257
3258 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
3259
3260 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3261
3262 * lib/compiler.c: Add Intel specific preprocessor macros.
3263 * lib/compiler.cc: Likewise.
3264
3265 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
3266
3267 * gdb.server/connect-with-no-symbol-file.c: New file.
3268 * gdb.server/connect-with-no-symbol-file.exp: New file.
3269
3270 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3271
3272 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3273
3274 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3275
3276 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3277 standard output directory.
3278
3279 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3280
3281 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3282
3283 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3284
3285 * gdb.btrace/instruction_history.c (loop): Add declaration.
3286
3287 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3288
3289 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3290
3291 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3292
3293 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3294 parentheses to print.
3295 (continue_handler): Likewise.
3296
3297 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3298
3299 * gdb.server/solib-list.exp: Remove is_remote check.
3300 Pass shlib= to gdb_compile. Don't link shared library with
3301 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3302 Run binary filename through "readlink -f" on the target.
3303
3304 2016-04-08 Pedro Alves <palves@redhat.com>
3305
3306 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3307 interpreter filename as argument to gdbserver_spawn.
3308 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3309 Return empty if $last_loaded_file does not exist.
3310
3311 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3312
3313 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3314 * gdb.base/jit-main.c: Use exit after usage.
3315
3316 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3317
3318 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3319 GDBHISTSIZE prior to the tests.
3320 * gdb.base/gdbinit-history.exp: Likewise.
3321
3322 2016-04-07 Pedro Alves <palves@redhat.com>
3323
3324 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3325 instead of build_executable. Use gdb_load_shlibs.
3326
3327 2016-04-07 Yao Qi <yao.qi@linaro.org>
3328
3329 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3330 Execute "si" command.
3331
3332 2016-04-07 Yao Qi <yao.qi@linaro.org>
3333
3334 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3335 number instead of the comments on some line.
3336
3337 2016-04-06 Don Breazeal <donb@codesourcery.com>
3338
3339 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3340 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3341
3342 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3343
3344 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3345 standard_output_file. Remove unused binfile variable.
3346
3347 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
3348
3349 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3350 * gdb.python/py-mi-objfile.exp: Match "list main" output
3351 in console format.
3352
3353 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3354
3355 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3356 absolute.
3357
3358 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3359
3360 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
3361 absolute.
3362 * gdb.trace/ftrace.exp: Likewise.
3363 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
3364 targets as well.
3365 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
3366 (gdb_load_shlibs): Copy libraries to test directory when testing
3367 natively. Only set solib-search-path if testing remotely.
3368 * lib/mi-support.exp (mi_load_shlibs): Likewise.
3369
3370 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3371
3372 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
3373 gdb_download. Use it even if the target is not remote.
3374 * gdb.base/jit.exp (compile_jit_test): Likewise.
3375 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
3376 output directory if the destination board is local, otherwise use
3377 the standard remote_download from DejaGnu.
3378 (gdb_download): Remove.
3379 (gdb_load_shlibs): Use gdb_remote_download instead of
3380 gdb_download.
3381 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3382 Use gdb_remote_download instead of gdb_download. Use it even if
3383 the target is not remote.
3384 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
3385 instead of gdb_download.
3386
3387 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
3388
3389 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
3390 (test_insert_delete_modify): Call mi_load_shlibs before trying to
3391 run.
3392
3393 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
3394
3395 PR gdb/19820
3396 * gdb.base/printcmds.exp: Add artificial arrays tests.
3397
3398 2016-03-31 Pedro Alves <palves@redhat.com>
3399
3400 PR gdb/19858
3401 * gdb.base/jit-main.c: Include unistd.h.
3402 (ATTACH): Define to 0 if not already defined.
3403 (wait_for_gdb, mypid): New globals.
3404 (WAIT_FOR_GDB): New macro.
3405 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
3406 some breakpoint locations.
3407 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
3408 New procedures.
3409 (one_jit_test): Add REATTACH parameter, and handle it. Use
3410 continue_to_test_location.
3411 (top level): Test attach, and adjusts calls to one_jit_test.
3412
3413 2016-03-31 Pedro Alves <palves@redhat.com>
3414
3415 PR gdb/19858
3416 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
3417 BINSUFFIX parameter, and handle it.
3418 (top level): Adjust calls compile_jit_test.
3419
3420 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
3421
3422 PR python/19743
3423 * gdb.python/py-mi-events-gdb.py: New file.
3424 * gdb.python/py-mi-events.c: New file.
3425 * gdb.python/py-mi-events.exp: New file.
3426
3427 2016-03-30 Yao Qi <yao.qi@linaro.org>
3428
3429 * gdb.reverse/until-precsave.exp: Match function name only.
3430 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
3431 Move malloc to a condition block.
3432 * gdb.reverse/until-reverse.exp: Match function name only.
3433
3434 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
3435
3436 * gdb.trace/ftrace.exp: Set arg0exp for s390.
3437 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
3438 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
3439 variable for GPR 0 instead of assuming it is register 0.
3440 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
3441 * lib/trace-support.exp: Add s390 registers.
3442
3443 2016-03-29 Yao Qi <yao.qi@linaro.org>
3444
3445 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
3446
3447 2016-03-24 Yao Qi <yao.qi@linaro.org>
3448
3449 * gdb.reverse/break-reverse.exp: Add quotation mark in the
3450 test message.
3451
3452 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3453
3454 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
3455 maintaining separate logic for constructing the output path.
3456
3457 2016-03-16 Don Breazeal <donb@codesourcery.com>
3458
3459 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3460 Retry fork and waitpid on interrupted system call errors.
3461 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3462 Use with_timeout_factor to increase timeout by factor of 10.
3463
3464 2016-03-15 Don Breazeal <donb@codesourcery.com>
3465
3466 * gdb.cp/scope-err.cc: New test program.
3467 * gdb.cp/scope-err.exp: New test script.
3468 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
3469 lines and "set breakpoint here" comment.
3470 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
3471 Fixed some whitespace and format issues.
3472 * gdb.mi/mi-linespec-err-cp.cc: New test program.
3473 * gdb.mi/mi-linespec-err-cp.exp: New test script.
3474
3475 2016-03-15 Doug Evans <dje@google.com>
3476
3477 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
3478 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
3479 All callers updated. Add tests for enums, mixed flags register.
3480
3481 2016-03-15 Doug Evans <dje@google.com>
3482
3483 * gdb.base/skip.c (main): Call test_skip_file_and_function.
3484 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
3485
3486 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
3487
3488 * gdb.base/default.exp: Add $_as_string to the list of expected
3489 convenience functions.
3490
3491 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
3492
3493 * gdb.base/maint.exp: New tests for 'maint info line-table'.
3494
3495 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
3496
3497 * gdb.python/py-as-string.exp: New file.
3498 * gdb.python/py-as-string.c: New file.
3499
3500 2016-03-09 Pedro Alves <palves@redhat.com>
3501
3502 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
3503 signal" -> "Thread NN received signal" output change.
3504 * gdb.threads/ia64-sigill.exp: Likewise.
3505 * gdb.threads/linux-dp.exp: Likewise.
3506 * gdb.threads/manythreads.exp: Likewise.
3507 * gdb.threads/pending-step.exp: Likewise.
3508 * gdb.threads/print-threads.exp: Likewise.
3509 * gdb.threads/sigstep-threads.exp: Likewise.
3510 * gdb.threads/staticthreads.exp: Likewise.
3511 * gdb.threads/tls.exp: Likewise.
3512
3513 2016-03-09 Pedro Alves <palves@redhat.com>
3514
3515 * gdb.base/command-line-input.exp: New file.
3516
3517 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3518
3519 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
3520 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
3521 * gdb.trace/pending.exp: Accept leading dot before function name.
3522 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
3523 * lib/trace-support.exp: Set registers for ppc.
3524
3525 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3526
3527 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
3528 use it for disassembly; accept .main in addition to main in backtrace.
3529
3530 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
3531 Marcin Kościelnicki <koriakin@0x04.net>
3532
3533 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
3534 (gdb_recursion_test_ptr): New global variable.
3535 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
3536 gdb_recursion_test.
3537 (gdb_c_test): Ditto.
3538
3539 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3540
3541 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
3542 ordering.
3543
3544 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3545
3546 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
3547 (bar): Add bar_start_lbl label.
3548 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
3549 of foo/bar for emitting DWARF and tracing.
3550
3551 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
3552
3553 * analyze-racy-logs.py: Set executable bit.
3554
3555 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
3556
3557 * Makefile.in (DEFAULT_RACY_ITER): New variable.
3558 (CHECK_TARGET_TMP): Likewise.
3559 (check-single-racy): New rule.
3560 (check-parallel-racy): Likewise.
3561 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
3562 (do-check-parallel-racy): New rule.
3563 (check-racy/%.exp): Likewise.
3564 * README (Racy testcases): New section.
3565 * analyze-racy-logs.py: New file.
3566
3567 2016-03-03 Doug Evans <dje@google.com>
3568
3569 * gdb.base/skip.exp: Use with_test_prefix.
3570
3571 2016-03-03 Yao Qi <yao.qi@linaro.org>
3572
3573 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
3574 Invoke step_over_syscall "clone" and break_cond_on_syscall
3575 "clone".
3576 * gdb.base/step-over-clone.c: New file.
3577
3578 2016-03-03 Yao Qi <yao.qi@linaro.org>
3579
3580 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
3581 code format.
3582
3583 2016-03-03 Yao Qi <yao.qi@linaro.org>
3584
3585 * gdb.base/disp-step-fork.c: Rename to ...
3586 * gdb.base/step-over-fork.c: ... it. New file.
3587 * gdb.base/disp-step-vfork.c: Rename to ...
3588 * gdb.base/step-over-vfork.c: ... it. New file.
3589 * gdb.base/disp-step-syscall.exp: Rename to ...
3590 * gdb.base/step-over-syscall.exp: ... it. New file.
3591 (disp_step_cross_syscall): Rename to ...
3592 (step_over_syscall): ... it.
3593
3594 2016-03-03 Yao Qi <yao.qi@linaro.org>
3595
3596 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
3597 If target supports condition evaluation on target, invoke
3598 break_cond_on_syscall for fork and vfork.
3599
3600 2016-03-03 Yao Qi <yao.qi@linaro.org>
3601
3602 * gdb.base/disp-step-syscall.exp: Don't invoke
3603 support_displaced_stepping.
3604 (disp_step_cross_syscall): Test with displaced stepping off and
3605 on if supported.
3606
3607 2016-03-03 Yao Qi <yao.qi@linaro.org>
3608
3609 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
3610 proc.
3611 (setup): New proc.
3612 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
3613 and setup.
3614
3615 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3616
3617 * gdb.fortran/vla-history.exp: Remove breakpoint.
3618
3619 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3620
3621 * gdb.fortran/vla-history.exp: Lookup array elements and printing
3622 exceeds timeout.
3623
3624 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3625
3626 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
3627 breakpoint.
3628
3629 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3630
3631 * gdb.mi/vla.f90: Nullify pointer after declaration.
3632
3633 2016-03-01 Pedro Alves <palves@redhat.com>
3634
3635 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
3636
3637 2016-03-01 Pedro Alves <palves@redhat.com>
3638
3639 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
3640 before anything else.
3641 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
3642 _GNU_SOURCE here.
3643 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
3644 before anything else.
3645 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
3646
3647 2016-03-01 Pedro Alves <palves@redhat.com>
3648
3649 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
3650
3651 2016-03-01 Yao Qi <yao.qi@linaro.org>
3652
3653 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
3654 prepare_for_testing.
3655
3656 2016-03-01 Yao Qi <yao.qi@linaro.org>
3657
3658 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
3659
3660 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3661
3662 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
3663 manually constructing the output path.
3664
3665 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3666
3667 * gdb.arch/s390-stackless.S: New.
3668 * gdb.arch/s390-stackless.exp: New.
3669
3670 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
3671
3672 * gdb.dlang/circular.c: New file.
3673 * gdb.dlang/circular.exp: New file.
3674
3675 2016-02-26 Yao Qi <yao.qi@linaro.org>
3676
3677 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
3678 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
3679 (testcases): Update.
3680
3681 2016-02-26 Yao Qi <yao.qi@linaro.org>
3682
3683 * gdb.reverse/aarch64.c: Rename to ...
3684 * gdb.reverse/insn-reverse.c: ... it.
3685 * gdb.reverse/aarch64.exp: Rename to ...
3686 * gdb.reverse/insn-reverse.exp: ... it.
3687
3688 2016-02-26 Yao Qi <yao.qi@linaro.org>
3689
3690 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
3691 (testcase_ftype): New.
3692 (testcases): New array.
3693 (n_testcases): New.
3694 (main): Call each element in testcases.
3695 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
3696 (read_testcase): New.
3697 Do the tests in a loop.
3698
3699 2016-02-25 Yao Qi <yao.qi@linaro.org>
3700
3701 * gdb.base/branches.c: Remove.
3702
3703 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3704
3705 PR gdb/13808
3706 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
3707
3708 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3709
3710 * gdb.trace/ftrace.exp: Remove unnecessary target check.
3711
3712 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3713
3714 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
3715 change x86_64 call_insn to 'callq'.
3716
3717 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3718
3719 * gdb.trace/tfile-avx.c: Move to...
3720 * gdb.trace/tracefile-pseudo-reg.c: Here.
3721 * gdb.trace/tfile-avx.exp: Move to...
3722 * gdb.trace/tracefile-pseudo-reg.exp: Here.
3723
3724 2016-02-24 Gary Benson <gbenson@redhat.com>
3725
3726 * gdb.base/attach-pie-noexec.exp: Do not expect an error
3727 message on attach.
3728
3729 2016-02-23 Doug Evans <dje@google.com>
3730
3731 * gdb.base/skip.c (test_skip): New function.
3732 (end_test_skip_file_and_function): New function.
3733 (test_skip_file_and_function): New function.
3734 * gdb.base/skip1.c (test_skip): New function.
3735 (skip1_test_skip_file_and_function): New function.
3736 * gdb.base/skip.exp: Add tests for new skip options.
3737 * gdb.base/skip-solib.exp: Update expected output.
3738 * gdb.perf/skip-command.cc: New file.
3739 * gdb.perf/skip-command.exp: New file.
3740 * gdb.perf/skip-command.py: New file.
3741
3742 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
3743
3744 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
3745 info registers pattern.
3746
3747 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
3748
3749 * lib/future.exp: Add D support.
3750 (gdb_find_gdc): New proc.
3751 (gdb_default_target_compile): Add D support.
3752
3753 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
3754
3755 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
3756 user+system time.
3757 (trace_speed_test): Determine the iteration count for a time
3758 between 15..30 seconds.
3759
3760 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
3761
3762 * gdb.arch/i386-mpx-sigsegv.c: New file.
3763 * gdb.arch/i386-mpx-sigsegv.exp: New file.
3764 * gdb.arch/i386-mpx-simple_segv.c: New file.
3765 * gdb.arch/i386-mpx-simple_segv.exp: New file.
3766
3767 2016-02-18 Yao Qi <yao.qi@linaro.org>
3768
3769 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3770 Don't call setup_kfail.
3771
3772 2016-02-18 Yao Qi <yao.qi@linaro.org>
3773
3774 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3775 Set "set breakpoint condition-evaluation" per $cond_bp_target.
3776
3777 2016-02-16 Doug Evans <dje@google.com>
3778
3779 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
3780 * gdb.base/skip1.c: Ditto.
3781 * gdb.base/skip.exp: Whitespace cleanup.
3782
3783 2016-02-16 Don Breazeal <donb@codesourcery.com>
3784
3785 PR remote/19496
3786 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3787 Remove kfail for PR remote/19496.
3788
3789 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3790
3791 * lib/gdb.exp (standard_temp_file): Return a path specific to
3792 the runtest invocation.
3793
3794 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3795
3796 * gdb.trace/save-trace.exp: Change relative path to be in the
3797 standard output directory.
3798
3799 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3800
3801 * gdb.arch/i386-prologue.c: Add missing prototypes.
3802
3803 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3804
3805 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
3806 * gdb.arch/i386-prologue.exp: Likewise.
3807 * gdb.arch/i386-size.exp: Likewise.
3808
3809 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
3810
3811 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
3812 define object file path.
3813 * gdb.btrace/gcore.exp: Use standard_output_file to define core
3814 file path.
3815 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
3816 standard_output_file to define binfile.
3817
3818 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3819
3820 Fix compatibility with recent gfortran-5.3.1.
3821 * gdb.fortran/vla-history.exp (print vla1 allocated)
3822 (print vla2 allocated, print $2, print $3): Remove
3823 (print $4): Rename to ...
3824 (print $2): ... here.
3825 (print $9): Rename to ...
3826 (print $5): ... here.
3827 (print $10): Rename to ...
3828 (print $6): ... here.
3829 * gdb.fortran/vla.f90: Add pvla initialization.
3830
3831 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3832
3833 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
3834 New test.
3835 * gdb.fortran/vla-value-sub.exp: Likewise.
3836
3837 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
3838
3839 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
3840
3841 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
3842
3843 * i386-biarch-core.exp: Define corefile using
3844 standard_output_file.
3845
3846 2016-02-12 Yao Qi <yao.qi@linaro.org>
3847
3848 * gdb.arch/arm-single-step-kernel-helper.c: New.
3849 * gdb.arch/arm-single-step-kernel-helper.exp: New.
3850
3851 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
3852
3853 * gdb.btrace/tailcall-only.exp: New.
3854 * gdb.btrace/tailcall-only.c: New.
3855 * gdb.btrace/x86_64-tailcall-only.S: New.
3856 * gdb.btrace/i686-tailcall-only.S: New.
3857
3858 2016-02-11 Pedro Alves <palves@redhat.com>
3859
3860 * README (Parallel testing): Add missing double quotes.
3861
3862 2016-02-11 Pedro Alves <palves@redhat.com>
3863
3864 * README (Parallel testing): New section.
3865 (GDB_PARALLEL): Rewrite.
3866 (FORCE_PARALLEL): Document.
3867
3868 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
3869
3870 * gdb.trace/tfile-avx.c: New test.
3871 * gdb.trace/tfile-avx.exp: New test.
3872
3873 2016-02-09 Keith Seitz <keiths@redhat.com>
3874
3875 PR breakpoints/19546
3876 * gdb.base/infcall-exec.c: New file.
3877 * gdb.base/infcall-exec2.c: New file.
3878 * gdb.base/infcall-exec.exp: New file.
3879
3880 2016-02-09 Keith Seitz <keiths@redhat.com>
3881
3882 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
3883 (toplevel): Call test_bkpt_address.
3884
3885 2016-02-09 Keith Seitz <keiths@redhat.com>
3886
3887 PR python/19506
3888 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
3889 (toplevel): Call test_bkpt_address.
3890
3891 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
3892
3893 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
3894 to AC_OUTPUT.
3895 * configure: Regenerate.
3896
3897 2016-02-09 Pedro Alves <palves@redhat.com>
3898
3899 PR breakpoints/19548
3900 * gdb.base/execl-update-breakpoints.c (some_function): New
3901 function.
3902 (main): Call it.
3903 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
3904 Tighten expected GDB output.
3905
3906 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3907
3908 * Makefile.in (ALL_SUBDIRS): Remove.
3909 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
3910 (distclean maintainer-clean realclean): Likewise.
3911 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
3912 * configure: Regenerate.
3913 * gdb.ada/Makefile.in: Delete.
3914 * gdb.arch/Makefile.in: Likewise.
3915 * gdb.asm/Makefile.in: Likewise.
3916 * gdb.base/Makefile.in: Likewise.
3917 * gdb.btrace/Makefile.in: Likewise.
3918 * gdb.cell/Makefile.in: Likewise.
3919 * gdb.compile/Makefile.in: Likewise.
3920 * gdb.cp/Makefile.in: Likewise.
3921 * gdb.disasm/Makefile.in: Likewise.
3922 * gdb.dlang/Makefile.in: Likewise.
3923 * gdb.dwarf2/Makefile.in: Likewise.
3924 * gdb.fortran/Makefile.in: Likewise.
3925 * gdb.gdb/Makefile.in: Likewise.
3926 * gdb.go/Makefile.in: Likewise.
3927 * gdb.guile/Makefile.in: Likewise.
3928 * gdb.java/Makefile.in: Likewise.
3929 * gdb.linespec/Makefile.in: Likewise.
3930 * gdb.mi/Makefile.in: Likewise.
3931 * gdb.modula2/Makefile.in: Likewise.
3932 * gdb.multi/Makefile.in: Likewise.
3933 * gdb.objc/Makefile.in: Likewise.
3934 * gdb.opencl/Makefile.in: Likewise.
3935 * gdb.opt/Makefile.in: Likewise.
3936 * gdb.pascal/Makefile.in: Likewise.
3937 * gdb.perf/Makefile.in: Likewise.
3938 * gdb.python/Makefile.in: Likewise.
3939 * gdb.reverse/Makefile.in: Likewise.
3940 * gdb.server/Makefile.in: Likewise.
3941 * gdb.stabs/Makefile.in: Likewise.
3942 * gdb.threads/Makefile.in: Likewise.
3943 * gdb.trace/Makefile.in: Likewise.
3944 * gdb.xml/Makefile.in: Likewise.
3945 * lib/gdb.exp (make_gdb_parallel_path): Add check for
3946 GDB_PARALLEL.
3947 (standard_output_file): Remove check for GDB_PARALLEL, always
3948 return path in outputs/$subdir/$testname.
3949
3950 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3951
3952 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
3953 (site.exp): Assign abs_srcdir to tcl's srcdir.
3954
3955 2016-02-04 Yao Qi <yao.qi@linaro.org>
3956
3957 * gdb.base/foll-exec-mode.c: Include limits.h.
3958 (main): Add parameters argc and argv. Get directory from
3959 argv[0].
3960 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
3961 compilation.
3962 * gdb.base/foll-exec.c: Include limits.h.
3963 (main): Add parameters argc and argv.
3964 Get directory from argv[0].
3965 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
3966 Adjust tests on the number of lines as source code changed.
3967 * gdb.base/foll-vfork-exit.c: Include limits.h.
3968 (main): Add one line of statement before vfork.
3969 * gdb.base/foll-vfork.c: Include limits.h and string.h.
3970 (main): Add parameters argc and argv. Get directory from
3971 argv[0].
3972 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
3973 (setup_gdb): Set tbreak to skip some source lines.
3974 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
3975 (main): Add parameters argc and argv. Get directory from
3976 argv[0].
3977 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
3978 compilation.
3979 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
3980 (main): Add parameters argc and argv. Get directory from
3981 argv[0].
3982 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
3983 compilation.
3984
3985 2016-02-01 Doug Evans <dje@google.com>
3986
3987 * gdb.base/skip.exp: Clean up multiple references to same test name.
3988
3989 2016-02-01 Pedro Alves <palves@redhat.com>
3990
3991 PR remote/19496
3992 * gdb.threads/forking-threads-plus-breakpoint.exp
3993 (displaced_stepping_supported): New global.
3994 (probe_displaced_stepping_support): New procedure.
3995 (do_test): Add 'displaced' parameter, and use it.
3996 (top level): Check for displaced stepping support. Add displaced
3997 stepping on/off testing axis.
3998
3999 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4000
4001 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
4002 pointer. Don't perform further tests on the unassociated pointer
4003 if the first test fails.
4004
4005 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4006
4007 * gdb.base/max-value-size.c: New file.
4008 * gdb.base/max-value-size.exp: New file.
4009 * gdb.base/huge.exp: Disable max-value-size for this test.
4010
4011 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
4012
4013 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4014
4015 2016-01-28 Yao Qi <yao.qi@linaro.org>
4016
4017 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
4018
4019 2016-01-25 Pedro Alves <palves@redhat.com>
4020
4021 PR threads/19461
4022 * gdb.base/fork-running-state.c: New file.
4023 * gdb.base/fork-running-state.exp: New file.
4024
4025 2016-01-25 Pedro Alves <palves@redhat.com>
4026
4027 PR gdb/19494
4028 * gdb.base/catch-fork-kill.c: New file.
4029 * gdb.base/catch-fork-kill.exp: New file.
4030
4031 2016-01-25 Pedro Alves <palves@redhat.com>
4032
4033 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
4034 Delete, moved to lib/gdb.exp.
4035 * gdb.threads/forking-threads-plus-breakpoint.exp
4036 (foreach_with_prefix): Likewise.
4037 * gdb.threads/process-dies-while-handling-bp.exp
4038 (foreach_with_prefix): Likewise.
4039 * lib/gdb.exp (foreach_with_prefix): New procedure.
4040
4041 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
4042
4043 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
4044 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
4045
4046 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
4047
4048 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
4049 endian targets.
4050
4051 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4052 Pedro Alves <palves@redhat.com>
4053
4054 Fix testsuite compatibility with Guile.
4055 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
4056 number.
4057
4058 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4059
4060 Fix testsuite compatibility with Guile.
4061 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
4062 (thread 1): New test for backtrace through signal handler.
4063
4064 2016-01-22 Yao Qi <yao.qi@linaro.org>
4065
4066 PR testsuite/19491
4067 * gdb.base/multi-forks.c: Include
4068 ../lib/unbuffer_output.c
4069 (main): Call gdb_unbuffer_output.
4070
4071 2016-01-21 Doug Evans <dje@google.com>
4072
4073 * lib/ada.exp (gdb_compile_ada): Fix typo.
4074
4075 2016-01-21 Joel Brobecker <brobecker@adacore.com>
4076
4077 * gdb.base/break-fun-addr.exp: New file.
4078 * gdb.base/break-fun-addr1.c: New file.
4079 * gdb.base/break-fun-addr2.c: New file.
4080
4081 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
4082
4083 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
4084 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
4085 enum flag values.
4086
4087 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4088
4089 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
4090 when GDB can not set the vector return value. Add more comments
4091 for clarification.
4092
4093 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
4094
4095 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
4096 command.
4097
4098 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4099
4100 * Makefile.in (DO_RUNTEST): Add --status and update usages.
4101
4102 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4103
4104 * Makefile.in (check-single): Pass --status to runtest.
4105 (check/%.exp): Likewise.
4106
4107 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4108
4109 * Makefile.in (check-parallel): Propagate return code from make
4110 do-check-parallel.
4111
4112 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
4113
4114 * gdb.trace/ftrace.exp: Fix expected message on continue.
4115 * gdb.trace/pending.exp: Fix expected message on continue.
4116 * gdb.trace/trace-break.exp: Fix expected message on continue.
4117
4118 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
4119
4120 * lib/gdb.exp (gdb_test): Remove unused global references.
4121
4122 2016-01-18 Pedro Alves <palves@redhat.com>
4123
4124 * gdb.base/async-shell.exp: Adjust expected output.
4125 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
4126 * gdb.base/siginfo-thread.exp: Adjust expected output.
4127 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
4128 * gdb.java/jnpe.exp: Adjust expected output.
4129 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
4130 * gdb.threads/continue-pending-status.exp: Adjust expected output.
4131 * gdb.threads/leader-exit.exp: Adjust expected output.
4132 * gdb.threads/manythreads.exp: Adjust expected output.
4133 * gdb.threads/pthreads.exp: Adjust expected output.
4134 * gdb.threads/schedlock.exp: Adjust expected output.
4135 * gdb.threads/siginfo-threads.exp: Adjust expected output.
4136 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
4137 expected output.
4138 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
4139 output.
4140 * gdb.threads/sigthread.exp: Adjust expected output.
4141 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
4142
4143 2016-01-18 Yao Qi <yao.qi@linaro.org>
4144
4145 * gdb.guile/scm-section-script.c: Replace @progbits with
4146 %progbits.
4147 * gdb.python/py-section-script.c: Likewise.
4148
4149 2016-01-15 Pedro Alves <palves@redhat.com>
4150
4151 * gdb.multi/tids.exp: Test star wildcard ranges.
4152
4153 2016-01-15 Pedro Alves <palves@redhat.com>
4154
4155 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4156 command from "thread apply" invocation.
4157 (thr_apply_info_thr_invalid): Default the expected output to the
4158 input tid list.
4159 (top level): Add tests that use convenience variables. Add tests
4160 for "thread apply" with a valid TID list, but missing the command.
4161
4162 2016-01-13 Pedro Alves <palves@redhat.com>
4163
4164 * gdb.base/default.exp: Expect $_gthread as well.
4165 * gdb.multi/tids.exp: Test $_gthread.
4166 * gdb.threads/thread-specific.exp: Test $_gthread.
4167
4168 2016-01-13 Pedro Alves <palves@redhat.com>
4169
4170 * gdb.multi/tids.exp: Test "info threads -gid".
4171
4172 2016-01-13 Pedro Alves <palves@redhat.com>
4173
4174 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4175 Breakpoint.thread.
4176 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
4177
4178 2016-01-07 Pedro Alves <palves@redhat.com>
4179
4180 * gdb.base/break.exp: Adjust to output changes.
4181 * gdb.base/hbreak2.exp: Likewise.
4182 * gdb.base/sepdebug.exp: Likewise.
4183 * gdb.base/watch_thread_num.exp: Likewise.
4184 * gdb.linespec/keywords.exp: Likewise.
4185 * gdb.multi/info-threads.exp: Likewise.
4186 * gdb.threads/thread-find.exp: Likewise.
4187 * gdb.multi/tids.c: New file.
4188 * gdb.multi/tids.exp: New file.
4189
4190 2016-01-13 Pedro Alves <palves@redhat.com>
4191
4192 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
4193
4194 2016-01-13 Pedro Alves <palves@redhat.com>
4195
4196 * gdb.base/default.exp: Expect $_inferior as well.
4197 * gdb.multi/base.exp: Test $_inferior.
4198
4199 2016-01-13 Pedro Alves <palves@redhat.com>
4200
4201 PR breakpoints/19388
4202 * gdb.base/catch-signal-siginfo-cond.c: New file.
4203 * gdb.base/catch-signal-siginfo-cond.exp: New file.
4204
4205 2016-01-12 Josh Stone <jistone@redhat.com>
4206 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4207
4208 * gdb.base/catch-syscall.c (do_execve): New variable.
4209 (main): Conditionally trigger an execve.
4210 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
4211 (test_catch_syscall_execve): New, check entry/return across execve.
4212 (do_syscall_tests): Call test_catch_syscall_execve.
4213
4214 2016-01-12 Pedro Alves <palves@redhat.com>
4215
4216 * gdb.base/random-signal.exp (do_test): New procedure, with body
4217 of testcase moved in.
4218
4219 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4220 Pedro Alves <palves@redhat.com>
4221
4222 * gdb.base/funcargs.exp (finish from indirectly called function):
4223 Reintroduce the case for 'First'.
4224
4225 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4226 Pedro Alves <palves@redhat.com>
4227
4228 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4229 (tcatch_vfork_then_child_follow_exec)
4230 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
4231 identification.
4232
4233 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4234
4235 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
4236 and repeats to unlimited.
4237 * gdb.python/py-value.exp: Likewise.
4238 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
4239 and repeats to unlimited.
4240
4241 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4242
4243 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
4244 and reordering the functions.
4245 * gdb.multi/hangout.c: Likewise.
4246 * gdb.multi/hello.c: Likewise.
4247
4248 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
4249
4250 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
4251 absolute.
4252 (SingleStatisticTestResult.report): Use dict.keys instead of
4253 dict.iterkeys.
4254
4255 2016-01-06 Pedro Alves <palves@redhat.com>
4256
4257 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
4258
4259 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
4260
4261 * gdb.btrace/dlopen.exp: New.
4262 * gdb.btrace/dlopen.c: New.
4263 * gdb.btrace/dlopen-dso.c: New.
4264
4265 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
4266
4267 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4268 PATTERN argument is optional.
4269
4270 2015-12-24 Joel Brobecker <brobecker@adacore.com>
4271
4272 * lib/ada.exp (target_compile_ada_from_dir): New function.
4273 (gdb_compile_ada): Reimplement avoiding the use of project files.
4274 * gdb.ada/gnat_ada.gpr: Delete.
4275 * gdb.ada/cond_lang.exp: Adjust test to make path before
4276 filename optional.
4277 * gdb.ada/small_reg_param.exp: Likewise.
4278
4279 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4280
4281 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4282
4283 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4284
4285 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4286 case.
4287
4288 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4289
4290 * gdb.base/break.exp: Remove dead code.
4291 * gdb.base/sepdebug.exp: Likewise.
4292
4293 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4294
4295 * gdb.asm/asm-source.exp: Remove HP-UX references.
4296 * gdb.base/annota1.exp: Likewise.
4297 * gdb.base/annota3.exp: Likewise.
4298 * gdb.base/attach.exp: Likewise.
4299 * gdb.base/bigcore.exp: Likewise.
4300 * gdb.base/break.exp: Likewise.
4301 * gdb.base/call-ar-st.exp: Likewise.
4302 * gdb.base/callfuncs.exp: Likewise.
4303 * gdb.base/catch-fork-static.exp: Likewise.
4304 * gdb.base/display.exp: Likewise.
4305 * gdb.base/foll-exec-mode.exp: Likewise.
4306 * gdb.base/foll-exec.exp: Likewise.
4307 * gdb.base/foll-fork.exp: Likewise.
4308 * gdb.base/foll-vfork.exp: Likewise.
4309 * gdb.base/funcargs.exp: Likewise.
4310 * gdb.base/hbreak2.exp: Likewise.
4311 * gdb.base/inferior-died.exp: Likewise.
4312 * gdb.base/interrupt.exp: Likewise.
4313 * gdb.base/multi-forks.exp: Likewise.
4314 * gdb.base/nodebug.exp: Likewise.
4315 * gdb.base/sepdebug.exp: Likewise.
4316 * gdb.base/solib1.c: Likewise.
4317 * gdb.base/step-test.exp: Likewise.
4318 * gdb.mi/non-stop.c: Likewise.
4319 * gdb.mi/pthreads.c: Likewise.
4320 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4321 * gdb.threads/pthreads.c: Likewise.
4322 * gdb.threads/staticthreads.exp: Likewise.
4323 * lib/future.exp: Likewise.
4324 * lib/gdb.exp: Likewise.
4325 * gdb.base/so-indr-cl.c: Remove.
4326 * gdb.base/so-indr-cl.exp: Likewise.
4327 * gdb.base/solib.c: Likewise.
4328 * gdb.base/solib.exp: Likewise.
4329 * gdb.base/solib2.c: Likewise.
4330
4331 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4332
4333 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4334 * gdb.base/call-ar-st.exp: Likewise.
4335 * gdb.base/callfuncs.exp: Likewise.
4336 * gdb.base/condbreak.exp: Likewise.
4337 * gdb.base/constvars.exp: Likewise.
4338 * gdb.base/hbreak2.exp: Likewise.
4339 * gdb.base/langs.exp: Likewise.
4340 * gdb.base/list.exp: Likewise.
4341 * gdb.base/long_long.exp: Likewise.
4342 * gdb.base/ptype.exp: Likewise.
4343 * gdb.base/scope.exp: Likewise.
4344 * gdb.base/signals.exp: Likewise.
4345 * gdb.base/so-impl-ld.exp: Likewise.
4346 * gdb.base/varargs.exp: Likewise.
4347 * gdb.base/volatile.exp: Likewise.
4348 * gdb.base/whatis.exp: Likewise.
4349 * gdb.cp/cplusfuncs.exp: Likewise.
4350 * gdb.cp/inherit.exp: Likewise.
4351 * gdb.cp/local.exp: Likewise.
4352 * gdb.cp/member-ptr.exp: Likewise.
4353 * gdb.cp/method.exp: Likewise.
4354 * gdb.cp/overload.exp: Likewise.
4355 * gdb.cp/templates.exp: Likewise.
4356 * gdb.stabs/weird.exp: Likewise.
4357 * lib/compiler.c: Likewise.
4358 * lib/compiler.cc: Likewise.
4359 * lib/cp-support.exp: Likewise.
4360 * lib/gdb.exp: Likewise.
4361
4362 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
4363
4364 * configure.ac: Remove HP-UX case.
4365 * configure: Regenerate.
4366
4367 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
4368
4369 * lib/gdb.exp (gdb_compile): Add function doc.
4370
4371 2015-12-17 Pedro Alves <palves@redhat.com>
4372
4373 PR threads/19354
4374 * gdb.multi/info-threads.exp: New file.
4375
4376 2015-12-15 Yao Qi <yao.qi@linaro.org>
4377
4378 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
4379 is aarch64*-*-*.
4380
4381 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4382
4383 * gdb.base/history-duplicates.exp: Skip if no readline support.
4384
4385 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4386
4387 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
4388
4389 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4390
4391 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
4392
4393 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4394
4395 * gdb.base/completion.exp: Skip tests that interrupt GDB with
4396 ctrl-C if nointerrupts target property is set.
4397 * gdb.base/double-prompt-target-event-error.exp: Likewise.
4398 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
4399 * gdb.base/paginate-bg-execution.exp: Likewise.
4400 * gdb.base/paginate-execution-startup.exp: Likewise.
4401 * gdb.base/random-signal.exp: Likewise.
4402 * gdb.base/range-stepping.exp: Likewise.
4403 * gdb.cp/annota2.exp: Likewise.
4404 * gdb.cp/annota3.exp: Likewise.
4405 * gdb.gdb/selftest.exp: Likewise.
4406 * gdb.threads/continue-pending-status.exp: Likewise.
4407 * gdb.threads/leader-exit.exp: Likewise.
4408 * gdb.threads/manythreads.exp: Likewise.
4409 * gdb.threads/pthreads.exp: Likewise.
4410 * gdb.threads/schedlock.exp: Likewise.
4411 * gdb.threads/sigthread.exp: Likewise.
4412
4413 2015-12-11 Don Breazeal <donb@codesourcery.com>
4414
4415 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
4416 remote.
4417 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
4418 * gdb.base/foll-exec.exp (main): Enable for target remote.
4419 * gdb.base/foll-fork.exp (main): Likewise.
4420 * gdb.base/foll-vfork.exp (main): Likewise.
4421 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
4422 (proc continue_to_exit_bp_loc): Use clean_restart.
4423 * gdb.base/pie-execl.exp (main): Disable for target remote.
4424 * gdb.base/watch-vfork.exp (main): Enable for target remote.
4425 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
4426 * gdb.threads/execl.exp (main): Likewise.
4427 * gdb.threads/fork-child-threads.exp (main): Likewise.
4428 * gdb.threads/fork-plus-threads.exp (main): Disable for target
4429 remote.
4430 * gdb.threads/fork-thread-pending.exp (main): Enable for target
4431 remote.
4432 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
4433 pid.tid style ptids, instead of just tid.
4434 * gdb.threads/thread-execl.exp (main): Enable for target remote.
4435 * gdb.threads/watchpoint-fork.exp (main): Likewise.
4436 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
4437 ptids, instead of just tid.
4438
4439 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4440
4441 * gdb.base/list.exp (test_list_forward): Add end of file error
4442 test.
4443 (test_repeat_list_command): Add end of file error test.
4444 (test_list_backwards): Add beginning of file error test.
4445
4446 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4447
4448 * gdb.base/list.exp (test_list_invalid_args): New function,
4449 defined, and called.
4450
4451 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4452
4453 * gdb.base/list.exp (test_list): Make test names unique.
4454
4455 2015-12-11 Yao Qi <yao.qi@linaro.org>
4456
4457 * gdb.base/coremaker2.c: Remove.
4458
4459 2015-12-10 Pedro Alves <palves@redhat.com>
4460
4461 * gdb.multi/base.exp: Remove stale "spaces" references.
4462
4463 2015-12-10 Pedro Alves <palves@redhat.com>
4464
4465 * gdb.multi/base.exp: Don't use nowarnings.
4466 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
4467 * gdb.multi/hangout.c: Include stdio.h.
4468 * gdb.multi/hello.c: Include stdlib.h.
4469 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
4470 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
4471 * gdb.multi/multi-arch.exp: Don't use nowarnings.
4472
4473 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
4474
4475 * gdb.dwarf2/dw2-ranges-base.c: New file.
4476 * gdb.dwarf2/dw2-ranges-base.exp: New file.
4477 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
4478 support additional line table, and debug ranges generation.
4479 (Dwarf::ranges): New function, generate .debug_ranges.
4480 (Dwarf::lines): Support generating simple line table programs.
4481 (Dwarf::assemble): Initialise new namespace variables.
4482
4483 2015-12-09 Kevin Buettner <kevinb@redhat.com>
4484
4485 * gdb.base/async.exp (proc test_background): Add case for
4486 asynchronous execution not supported.
4487
4488 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
4489
4490 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
4491 format and change test names to make them unique.
4492
4493 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
4494 Pedro Alves <pedro@redhat.com>
4495
4496 PR gdb/18702
4497 Add checking of floatformats setup on x86_64 hosts.
4498 * gdb.arch/i386-float.S (main): Load bigval and smallval.
4499 (smallval, bigval): New labels/constants.
4500 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
4501 float" after loading bigval and smallval.
4502
4503 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
4504
4505 * gdb.ada/fun_overload_menu.exp: New testcase.
4506 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
4507
4508 2015-12-04 Josh Stone <jistone@redhat.com>
4509
4510 * gdb.base/catch-fork-static.exp: New.
4511
4512 2015-12-03 Yao Qi <yao.qi@linaro.org>
4513
4514 * gdb.base/sizeof.c: Don't include stdio.h and
4515 ../lib/unbuffer_output.c.
4516 (main): New variable 'size' and 'value'. Remove printf and
4517 gdb_unbuffer_output. Assign return value to size and value.
4518 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
4519 at the beginning.
4520 (check_sizeof): Check the result by printing variable 'size'.
4521 (check_valueof): Check the result by printing variable 'value'.
4522
4523 2015-12-01 Yao Qi <yao.qi@linaro.org>
4524
4525 * gdb.base/disp-step-syscall.exp: Define syscall instruction
4526 for aarch64*-*-linux* target.
4527
4528 2015-11-30 Pedro Alves <palves@redhat.com>
4529
4530 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
4531
4532 2015-11-30 Pedro Alves <palves@redhat.com>
4533
4534 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
4535 Handle non-stop mode vCont replies.
4536
4537 2015-11-30 Pedro Alves <palves@redhat.com>
4538
4539 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
4540 prepare_for_testing. Start gdb with "set non-stop on" appended to
4541 GDBFLAGS. Lax expected stop output.
4542
4543 2015-11-27 Yao Qi <yao.qi@linaro.org>
4544
4545 * gdb.arch/arm-neon.exp: New.
4546 * gdb.arch/arm-neon.c: New.
4547
4548 2015-11-27 Yao Qi <yao.qi@linaro.org>
4549
4550 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
4551
4552 2015-11-27 Yao Qi <yao.qi@linaro.org>
4553
4554 * gdb.cp/annota2.exp: Allow multiple occurrences of the
4555 frames-invalid annotation.
4556
4557 2015-11-27 Yao Qi <yao.qi@linaro.org>
4558
4559 * gdb.cp/annota2.exp: Use ${frames_invalid}.
4560
4561 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
4562
4563 * gdb.threads/names.exp: New file.
4564 * gdb.threads/names.c: New file.
4565 * README: Mention gdb,no_thread_names.
4566
4567 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
4568
4569 PR 19297
4570 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
4571 support" error.
4572
4573 2015-11-24 Pedro Alves <palves@redhat.com>
4574
4575 PR 17539
4576 * gdb.base/display.exp: Expect displays to be sorted in ascending
4577 order. Use multi_line.
4578 * gdb.base/solib-display.exp: Likewise.
4579
4580 2015-11-24 Pedro Alves <palves@redhat.com>
4581
4582 PR 17539
4583 * gdb.base/display.exp: Expect displays to be sorted in ascending
4584 order. Use multi_line.
4585 * gdb.base/solib-display.exp: Likewise.
4586
4587 2015-11-24 Pedro Alves <palves@redhat.com>
4588
4589 PR 17539
4590 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
4591 threads in ascending order.
4592 * gdb.base/foll-fork.exp: Likewise.
4593 * gdb.base/foll-vfork.exp: Likewise.
4594 * gdb.base/multi-forks.exp: Likewise.
4595 * gdb.mi/mi-nonstop.exp: Likewise.
4596 * gdb.mi/mi-nsintrall.exp: Likewise.
4597 * gdb.multi/base.exp: Likewise.
4598 * gdb.multi/multi-arch.exp: Likewise.
4599 * gdb.python/py-inferior.exp: Likewise.
4600 * gdb.threads/break-while-running.exp: Likewise.
4601 * gdb.threads/execl.exp: Likewise.
4602 * gdb.threads/gcore-thread.exp: Likewise.
4603 * gdb.threads/info-threads-cur-sal.exp: Likewise.
4604 * gdb.threads/kill.exp: Likewise.
4605 * gdb.threads/linux-dp.exp: Likewise.
4606 * gdb.threads/multiple-step-overs.exp: Likewise.
4607 * gdb.threads/next-bp-other-thread.exp: Likewise.
4608 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
4609 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
4610 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
4611 * gdb.threads/thread-find.exp: Likewise.
4612 * gdb.threads/tls.exp: Likewise.
4613 * lib/mi-support.exp (mi_reverse_list): Delete.
4614 (mi_check_thread_states): No longer reverse list.
4615
4616 2015-11-24 Pedro Alves <palves@redhat.com>
4617
4618 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
4619 use lowercase.
4620
4621 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4622
4623 * gdb.trace/actions.c: Include trace-common.h.
4624 (main): Add a location for a fast tracepoint.
4625 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
4626 the normal tracepoints.
4627 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
4628
4629 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4630
4631 * save-trace.exp: Factor out code to these...
4632 (gdb_save_tracepoints): New.
4633 (gdb_load_tracepoints): New.
4634 (do_save_load_test): New.
4635
4636 2015-11-23 Kevin Buettner <kevinb@redhat.com>
4637
4638 * gdb.base/asmlabel.exp: New test.
4639 * gdb.base/asmlabel.c: New test case.
4640
4641 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4642
4643 * gdb.base/wrong_frame_bt_full-main.c: New file.
4644 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
4645 * gdb.base/wrong_frame_bt_full.exp: New file.
4646
4647 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4648
4649 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
4650
4651 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4652
4653 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
4654 pstate register when comparing registers values in
4655 sparc64-*-linux-gnu targets to avoid spurious differences.
4656
4657 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4658
4659 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
4660
4661 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
4662
4663 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
4664 as type argument to gdb_compile.
4665 * gdb.base/nested-subp2.exp: Likewise.
4666 * gdb.base/nested-subp3.exp: Likewise.
4667
4668 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
4669
4670 * lib/dwarf.exp (_note): Fix left shift of negative value.
4671 * gdb.trace/trace-condition.exp: Likewise.
4672
4673 2015-11-13 Yao Qi <yao.qi@linaro.org>
4674
4675 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
4676 comments about d10v.
4677 (test_scalar_returns): Likewise.
4678 * gdb.base/d10v.ld: Remove.
4679 * gdb.base/overlays.exp: Remove the target triplet checking for
4680 d10v-*-*.
4681 * gdb.base/structs.exp (test_struct_returns): Remove the
4682 comments about d10v.
4683 (test_struct_calls): Likewise.
4684
4685 2015-11-13 Yao Qi <yao.qi@linaro.org>
4686
4687 * gdb.base/gnu_vector.exp: Check the return value by "p res".
4688 * gdb.base/gnu_vector.c: Don't include stdio.h.
4689 (main): Don't print res and call add_some_intvecs.
4690
4691 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
4692
4693 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
4694 macro.
4695 (func5): Removed.
4696 (func4): Use FAST_TRACEPOINT_LABEL.
4697 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
4698 macro.
4699 (func): Removed.
4700 (thread_function): Use FAST_TRACEPOINT_LABEL.
4701 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
4702 (func): Remove.
4703 (marker): Use FAST_TRACEPOINT_LABEL.
4704 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
4705 (pendfunc1): Remove.
4706 (pendfunc): Use FAST_TRACEPOINT_LABEL.
4707 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
4708 (foo): Remove.
4709 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
4710 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
4711 macro.
4712 (func): Remove.
4713 (marker): Use FAST_TRACEPOINT_LABEL.
4714 * gdb.trace/trace-common.h: New header.
4715 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
4716 macro.
4717 (func): Remove.
4718 (marker): Use FAST_TRACEPOINT_LABEL.
4719 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
4720 (func): Remove.
4721 (thread_function): Use FAST_TRACEPOINT_LABEL.
4722
4723 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
4724
4725 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
4726 in front.
4727 * gdb.trace/change-loc.exp: Use global pcreg definition.
4728 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
4729 * gdb.trace/entry-values.exp: Use global spreg definition, add $
4730 in front.
4731 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
4732 * gdb.trace/pending.exp: Likewise.
4733 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
4734 * gdb.trace/trace-break.exp: Likewise.
4735 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
4736 in front.
4737 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
4738 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
4739 in front.
4740 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
4741
4742 2015-11-09 Joel Brobecker <brobecker@adacore.com>
4743
4744 * gdb.ada/fin_fun_out: New testcase.
4745
4746 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4747
4748 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
4749 value associated with DW_AT_byte_size.
4750 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
4751 constants for DW_AT_byte_size, DW_AT_lower_bound, and
4752 DW_AT_upper_bound.
4753
4754 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4755
4756 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
4757 (gdb_target_symbol_prefix_flags): Define in terms of _asm
4758 version.
4759 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
4760 gdb.dwarf2/dw2-canonicalize-type.exp,
4761 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
4762 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
4763 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
4764 provided by gdb_target_symbol_prefix_flags_asm.
4765 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
4766 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
4767 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
4768 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
4769 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
4770 macros where needed). Use this macro for symbols which require
4771 the prefix provided by SYMBOL_PREFIX.
4772
4773 2015-11-05 Kevin Buettner <kevinb@redhat.com>
4774
4775 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
4776 New procs.
4777 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
4778 representing expressions, of more than one list element.
4779 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
4780 to prepend linker symbol prefix to f.
4781 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
4782 table_1 and table_2.
4783 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
4784 Likewise, for f and g.
4785 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
4786 for ptr.
4787 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
4788 for main.
4789 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
4790 table_1_ptr and table_2_ptr.
4791
4792 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4793 Joel Brobecker <brobecker@adacore.com>
4794
4795 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
4796
4797 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
4798
4799 * gdb.reverse/s390-mvcle.c: New test.
4800 * gdb.reverse/s390-mvcle.exp: New file.
4801 * lib/gdb.exp: Enable reverse tests on s390*-linux.
4802
4803 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4804
4805 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
4806
4807 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4808
4809 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
4810 reaching marker2.
4811 * gdb.reverse/getresuid-reverse.exp: Likewise.
4812 * gdb.reverse/pipe-reverse.exp: Likewise.
4813 * gdb.reverse/readv-reverse.exp: Likewise.
4814 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4815 * gdb.reverse/time-reverse.exp: Likewise.
4816 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
4817
4818 2015-10-30 Yao Qi <yao.qi@linaro.org>
4819
4820 * gdb.threads/wp-replication.c (watch_count_done): Remove.
4821 (empty_cycle): Remove.
4822 (main): Don't call empty_cycle. Don't use watch_count_done.
4823 * gdb.threads/wp-replication.exp: Don't set breakpoint on
4824 empty_cycle. Rewrite the code counting HW watchpoints.
4825
4826 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
4827
4828 * gdb.reverse/fstatat-reverse.c: New test.
4829 * gdb.reverse/fstatat-reverse.exp: New file.
4830 * gdb.reverse/getresuid-reverse.c: New test.
4831 * gdb.reverse/getresuid-reverse.exp: New file.
4832 * gdb.reverse/pipe-reverse.c: New test.
4833 * gdb.reverse/pipe-reverse.exp: New file.
4834 * gdb.reverse/readv-reverse.c: New test.
4835 * gdb.reverse/readv-reverse.exp: New file.
4836 * gdb.reverse/recvmsg-reverse.c: New test.
4837 * gdb.reverse/recvmsg-reverse.exp: New file.
4838 * gdb.reverse/time-reverse.c: New test.
4839 * gdb.reverse/time-reverse.exp: New file.
4840 * gdb.reverse/waitpid-reverse.c: New test.
4841 * gdb.reverse/waitpid-reverse.exp: New file.
4842
4843 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4844
4845 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
4846
4847 2015-10-26 Doug Evans <dje@google.com>
4848
4849 PR symtab/17391
4850 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
4851 * gdb.dwarf2/bad-regnum.c: New file.
4852 * gdb.dwarf2/bad-regnum.exp: New file.
4853
4854 2015-10-26 Doug Evans <dje@google.com>
4855
4856 PR python/18938
4857 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
4858 file.
4859
4860 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4861
4862 * gdb.compile/compile.exp (compile code globalvar): Update expectation
4863 for a change by "Mention language in compile error message".
4864
4865 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
4866
4867 PR python/18073
4868 * gdb.python/py-type.c (C::a_method): New.
4869 (C::a_const_method): New.
4870 (C::a_static_method): New.
4871 (a_function): New.
4872 * gdb.python/py-type.exp (test_fields): Test getting fields
4873 from function and method.
4874
4875 2015-10-21 Keven Boell <keven.boell@intel.com>
4876
4877 * gdb.fortran/vla-alloc-assoc.exp: New file.
4878 * gdb.fortran/vla-datatypes.exp: New file.
4879 * gdb.fortran/vla-datatypes.f90: New file.
4880 * gdb.fortran/vla-history.exp: New file.
4881 * gdb.fortran/vla-ptype-sub.exp: New file.
4882 * gdb.fortran/vla-ptype.exp: New file.
4883 * gdb.fortran/vla-sizeof.exp: New file.
4884 * gdb.fortran/vla-sub.f90: New file.
4885 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
4886 * gdb.fortran/vla-value-sub-finish.exp: New file.
4887 * gdb.fortran/vla-value-sub.exp: New file.
4888 * gdb.fortran/vla-value.exp: New file.
4889 * gdb.fortran/vla-ptr-info.exp: New file.
4890 * gdb.mi/mi-vla-fortran.exp: New file.
4891 * gdb.mi/vla.f90: New file.
4892
4893 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
4894
4895 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
4896 of hardwired timeout value.
4897
4898 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4899 Pedro Alves <palves@redhat.com>
4900
4901 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
4902 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
4903
4904 2015-10-19 Josh Stone <jistone@redhat.com>
4905
4906 * gdb.base/catch-syscall.c: Include <sched.h>.
4907 (unknown_syscall): New variable.
4908 (main): Trigger a vfork and an unknown syscall.
4909 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
4910 (unknown_syscall_number): Likewise.
4911 (check_call_to_syscall): Accept an optional syscall pattern.
4912 (check_return_from_syscall): Likewise.
4913 (check_continue): Likewise.
4914 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
4915 (test_catch_syscall_skipping_return): New test toggling off 'catch
4916 syscall' to step over the syscall return, then toggling back on.
4917 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
4918 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
4919 (do_syscall_tests): Call test_catch_syscall_without_args and
4920 test_catch_syscall_mid_vfork.
4921 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
4922 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
4923
4924 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
4925
4926 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
4927 print g_vE): Add new pass patterns.
4928 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
4929 print various symbol names for vptr fields.
4930
4931 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
4932
4933 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
4934 results.
4935
4936 2015-10-12 Yao Qi <yao.qi@linaro.org>
4937
4938 * gdb.arch/disp-step-insn-reloc.exp: New test case.
4939
4940 2015-10-12 Yao Qi <yao.qi@linaro.org>
4941
4942 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
4943 is aarch64*-*-linux*.
4944
4945 2015-10-12 Yao Qi <yao.qi@linaro.org>
4946
4947 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
4948 (can_relocate_bcond_true): ... it.
4949 (can_relocate_bcond_false): New function.
4950 (foo): Likewise.
4951 (can_relocate_bl): Likewise.
4952 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
4953 can_relocate_bl.
4954
4955 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
4956
4957 * gdb.base/nested-addr.c: New file.
4958 * gdb.base/nested-addr.exp: New testcase.
4959
4960 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
4961
4962 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
4963 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
4964 its output. Ignore the output of "record goto begin" and instead
4965 check that GDB is replaying.
4966
4967 2015-10-09 Pedro Alves <palves@redhat.com>
4968
4969 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
4970 (top level): Use it in the run with no args test.
4971
4972 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
4973
4974 * gdb.dlang/properties.exp: New file.
4975
4976 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
4977
4978 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
4979 whether or not address 0x1000 is mapped on the target.
4980
4981 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
4982
4983 * gdb.python/py-type.exp: Do not run tests if binaries fail to
4984 build.
4985
4986 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
4987
4988 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
4989 instruction-history test.
4990
4991 2015-09-28 Doug Evans <dje@google.com>
4992
4993 * gdb.base/gcore.c (array_func): Add reference to static_array.
4994
4995 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
4996
4997 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
4998 source line.
4999
5000 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
5001
5002 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
5003 short or char as base type.
5004
5005 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
5006
5007 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
5008 to allow any size enum.
5009
5010 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
5011
5012 * gdb.ada/array_ptr_renaming.exp: New testcase.
5013 * gdb.ada/array_ptr_renaming/foo.adb: New file.
5014 * gdb.ada/array_ptr_renaming/pack.ads: New file.
5015
5016 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5017
5018 * gdb.trace/ftrace-lock.c: New file.
5019 * gdb.trace/ftrace-lock.exp: New file.
5020
5021 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5022
5023 * gdb.arch/insn-reloc.c: New file.
5024 * gdb.arch/ftrace-insn-reloc.exp: New file.
5025
5026 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5027
5028 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
5029 instruction.
5030 * gdb.trace/pendshr1.c (pendfunc): Likewise.
5031 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
5032 * gdb.trace/range-stepping.c: Likewise.
5033 * gdb.trace/trace-break.c: Likewise.
5034 * gdb.trace/trace-mt.c (thread_function): Likewise.
5035 * gdb.trace/ftrace.c (marker): Likewise.
5036 * gdb.trace/trace-condition.c (marker): Likewise.
5037 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
5038 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
5039 is_aarch64_target.
5040
5041 2015-09-18 Doug Evans <xdje42@gmail.com>
5042
5043 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
5044 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
5045
5046 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5047
5048 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
5049 the breakpoint.
5050
5051 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5052
5053 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
5054 the pending breakpoint. Remove timeout override for "Run till
5055 MI pending breakpoint on pendfunc3 on thread 2" test.
5056
5057 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5058
5059 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
5060 filename pattern.
5061
5062 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5063
5064 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
5065 in breakpoint filename pattern.
5066
5067 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5068
5069 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
5070
5071 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5072
5073 * gdb.linespec/explicit.exp: Check for readline support for
5074 tab-completion tests. Fix obvious typo.
5075
5076 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5077
5078 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
5079 and replay.
5080
5081 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5082
5083 * gdb.btrace/non-stop.c: New.
5084 * gdb.btrace/non-stop.exp: New.
5085
5086 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
5087 Yao Qi <yao.qi@linaro.org>
5088
5089 * gdb.trace/trace-condition.c: New file.
5090 * gdb.trace/trace-condition.exp: New file.
5091
5092 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
5093
5094 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
5095 for testing bytecode compilation.
5096
5097 2015-09-16 Pedro Alves <palves@redhat.com>
5098 Sandra Loosemore <sandra@codesourcery.com>
5099
5100 * gdb.threads/non-stop-fair-events.c (timeout): New global.
5101 (SECONDS): Redefine.
5102 (main): Call pthread_kill and alarm early.
5103 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
5104 support.
5105 (test): If the target can't hardware step and doesn't support
5106 displaced stepping, increase the timeout.
5107
5108 2015-09-16 Pedro Alves <palves@redhat.com>
5109
5110 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
5111 (enable_debug): New procedures.
5112 (test): Use them. Bail out if waiting for threads fails.
5113 (top level): Bail out if a test fails.
5114
5115 2015-09-16 Yao Qi <yao.qi@linaro.org>
5116
5117 * gdb.asm/asm-source.exp: Set asm-arch for
5118 aarch64*-*-* target.
5119 * gdb.asm/aarch64.inc: New file.
5120
5121 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
5122
5123 * gdb.ada/array_of_variable_length.exp: New testcase.
5124 * gdb.ada/array_of_variable_length/foo.adb: New file.
5125 * gdb.ada/array_of_variable_length/pck.adb: New file.
5126 * gdb.ada/array_of_variable_length/pck.ads: New file.
5127
5128 2015-09-15 Doug Evans <dje@google.com>
5129
5130 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
5131 of function static local variable.
5132
5133 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5134
5135 * gdb.threads/tls-so_extern.exp: New test file.
5136 * gdb.threads/tls-so_extern.c: New test file.
5137 * gdb.threads/tls-so_extern_main.c: New test file.
5138
5139 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5140
5141 * gdb.opt/solib-intra-step-lib.c: New file.
5142 * gdb.opt/solib-intra-step-main.c: New file.
5143 * gdb.opt/solib-intra-step.exp: New file.
5144
5145 2015-09-15 Pedro Alves <palves@redhat.com>
5146
5147 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
5148 gdb_continue_to_breakpoint instead of gdb_test_multiple.
5149
5150 2015-09-14 Pedro Alves <palves@redhat.com>
5151
5152 * gdb.base/hook-stop-continue.c: Delete.
5153 * gdb.base/hook-stop-continue.exp: Delete.
5154 * gdb.base/hook-stop-frame.c: Delete.
5155 * gdb.base/hook-stop-frame.exp: Delete.
5156 * gdb.base/hook-stop.c: New file.
5157 * gdb.base/hook-stop.exp: New file.
5158
5159 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
5160
5161 * gdb.ada/access_to_packed_array.exp: New testcase.
5162 * gdb.ada/access_to_packed_array/foo.adb: New file.
5163 * gdb.ada/access_to_packed_array/pack.adb: New file.
5164 * gdb.ada/access_to_packed_array/pack.ads: New file.
5165
5166 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
5167
5168 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
5169 buffer size test.
5170
5171 2015-09-11 Don Breazeal <donb@codesourcery.com>
5172
5173 * gdb.base/foll-exec.c: Add copyright header. Fix
5174 formatting issues.
5175 * gdb.base/foll-exec.exp (zap_session): Delete proc.
5176 (do_exec_tests): Use clean_restart in place of zap_session,
5177 and for test initialization. Fix formatting issues. Use
5178 fail in place of perror.
5179 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
5180 an expect statement to match an expression with output from
5181 the program under debug.
5182 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
5183 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
5184 * gdb.threads/non-ldr-exc-2.exp: Likewise.
5185 * gdb.threads/non-ldr-exc-3.exp: Likewise.
5186 * gdb.threads/non-ldr-exc-4.exp: Likewise.
5187
5188 2015-09-09 Doug Evans <dje@google.com>
5189
5190 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
5191
5192 2015-09-09 Doug Evans <dje@google.com>
5193
5194 * gdb.base/pie-execl.exp: Fix result test of build_executable.
5195
5196 2015-09-09 Doug Evans <dje@google.com>
5197
5198 * gdb.base/savedregs.exp: Fix typo.
5199
5200 2015-09-09 Pedro Alves <palves@redhat.com>
5201
5202 * gdb.mi/mi-cli.exp: Add CLI finish tests.
5203
5204 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
5205
5206 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
5207 command actually switches threads. Give up on remaining
5208 tests if target fails to stop at breakpoint.
5209
5210 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
5211
5212 * gdb.ada/funcall_char.exp: New testcase.
5213 * gdb.ada/funcall_char/foo.adb: New file.
5214
5215 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
5216
5217 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
5218 expected outputs. Add two testcases for completing ambiguous
5219 functions.
5220 * gdb.ada/complete/aux_pck.adb: New file.
5221 * gdb.ada/complete/aux_pck.ads: New file.
5222 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
5223 Ambiguous_Func functions.
5224 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
5225 * gdb.ada/complete/pck.adb: Likewise.
5226
5227 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
5228
5229 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
5230 failures to run the test program under GDB.
5231
5232 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
5233
5234 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
5235 to C.
5236
5237 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
5238
5239 * gdb.base/run-after-attach.exp: New test file.
5240 * gdb.base/run-after-attach.c: New test file.
5241
5242 2015-08-26 Don Breazeal <donb@codesourcery.com>
5243
5244 * gdb.base/foll-exec-2.c: New test program.
5245 * gdb.base/foll-exec-2.exp: New test.
5246
5247 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
5248
5249 * gdb.base/nested-subp1.exp: New file.
5250 * gdb.base/nested-subp1.c: New file.
5251 * gdb.base/nested-subp2.exp: New file.
5252 * gdb.base/nested-subp2.c: New file.
5253 * gdb.base/nested-subp3.exp: New file.
5254 * gdb.base/nested-subp3.c: New file.
5255
5256 2015-08-24 Pedro Alves <palves@redhat.com>
5257
5258 * gdb.server/connect-without-multi-process.c: New file.
5259 * gdb.server/connect-without-multi-process.exp: New file.
5260
5261 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5262
5263 * gdb.opt/inline-markers.c: Make z int.
5264
5265 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5266
5267 * gdb.opt/inline-markers.c: Make z volatile.
5268
5269 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5270
5271 * gdb.opt/inline-bt.c: New volatile global z.
5272 * gdb.opt/inline-cmds.c: Likewise.
5273 * gdb.opt/inline-locals.c: Likewise.
5274 * gdb.opt/inline-markers.c: New extern global z.
5275 (marker): Use z.
5276 (inline_fn): Likewise.
5277
5278 2015-08-24 Pedro Alves <palves@redhat.com>
5279
5280 * config/m32r-stub.exp: Remove file.
5281 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5282 * gdb.base/call-rt-st.exp: Likewise.
5283 * gdb.base/call-strs.exp: Likewise.
5284 * gdb.base/default.exp: Remove references to h8300-*-hms and
5285 *-*-udi*.
5286 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5287
5288 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5289
5290 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5291 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5292 and "return" use KFAIL when GDB can not read/write the vector
5293 return value.
5294
5295 2015-08-21 Gary Benson <gbenson@redhat.com>
5296
5297 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5298
5299 2015-08-20 Pedro Alves <palves@redhat.com>
5300
5301 * gdb.server/solib-list.exp: No longer expect an interior stop in
5302 non-stop mode.
5303
5304 2015-08-20 Pedro Alves <palves@redhat.com>
5305
5306 * gdb.server/connect-stopped-target.c: New file.
5307 * gdb.server/connect-stopped-target.exp: New file.
5308
5309 2015-08-20 Pedro Alves <palves@redhat.com>
5310
5311 * gdb.dwarf2/comp-unit-lang.exp: New file.
5312 * gdb.dwarf2/comp-unit-lang.c: New file.
5313
5314 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5315
5316 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5317 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5318
5319 2015-08-19 Kevin Buettner <kevinb@redhat.com>
5320
5321 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5322 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5323
5324 2015-08-18 Doug Evans <dje@google.com>
5325 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5326
5327 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5328 skip_python_tests. New arg prompt_regexp.
5329 (skip_python_tests): New function.
5330 * lib/mi-support.exp (mi_skip_python_tests): New function.
5331 * gdb.python/py-mi-objfile-gdb.py: New file.
5332 * gdb.python/py-mi-objfile.c: New file.
5333 * gdb.python/py-mi-objfile.exp: New file.
5334
5335 2015-08-17 Keith Seitz <keiths@redhat.com>
5336
5337 * gdb.linespec/explicit.exp: Move strace test from here ...
5338 * gdb.trace/strace.exp: ... to here.
5339
5340 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5341
5342 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5343 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5344
5345 2015-08-14 Doug Evans <xdje42@gmail.com>
5346
5347 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5348 inferior before selecting a new file.
5349
5350 2015-08-14 Doug Evans <xdje42@gmail.com>
5351
5352 * gdb.mi/mi-disassemble.exp: Update.
5353 * gdb.base/disasm-optim.S: New file.
5354 * gdb.base/disasm-optim.c: New file.
5355 * gdb.base/disasm-optim.h: New file.
5356 * gdb.base/disasm-optim.exp: New file.
5357
5358 2015-08-14 Keith Seitz <keiths@redhat.com>
5359
5360 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
5361 "evaluated-by".
5362
5363 2015-08-13 Joel Brobecker <brobecker@adacore.com>
5364
5365 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
5366
5367 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
5368
5369 * gdb.ada/fun_renaming.exp: New testcase.
5370 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
5371 * gdb.ada/fun_renaming/pack.adb: New file.
5372 * gdb.ada/fun_renaming/pack.ads: New file.
5373
5374 2015-08-12 Keith Seitz <keiths@redhat.com>
5375
5376 * gdb.base/dso2dso.exp: Pass basename of source file in call to
5377 gdb_get_line_number.
5378
5379 2015-08-12 Joel Brobecker <brobecker@adacore.com>
5380
5381 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
5382 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
5383 gdb.base/dso2dso.exp: New files.
5384
5385 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
5386 Pedro Alves <palves@redhat.com>
5387 Keith Seitz <keiths@redhat.com>
5388
5389 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
5390 GDBFLAGS.
5391
5392 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5393
5394 * gdb.base/gdbhistsize-history.exp
5395 (test_histsize_history_setting): Use save_vars.
5396 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5397 Use save_vars.
5398 (test_no_truncation_of_unlimited_history_file): Use save_vars.
5399 * gdb.base/readline.exp: Use save_vars.
5400
5401 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5402
5403 * lib/gdb.exp (save_vars): New proc.
5404
5405 2015-08-11 Keith Seitz <keiths@redhat.com>
5406
5407 * gdb.base/help.exp: Update help_breakpoint_text.
5408
5409 2015-08-11 Keith Seitz <keiths@redhat.com>
5410
5411 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
5412 (at toplevel): Call test_explicit_breakpoints.
5413 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
5414 breakpoints.
5415 * lib/mi-support.exp (mi_make_breakpoint): Add support for
5416 breakpoint conditions, "-cond".
5417
5418 2015-08-11 Keith Seitz <keiths@redhat.com>
5419
5420 * gdb.linespec/3explicit.c: New file.
5421 * gdb.linespec/cpexplicit.cc: New file.
5422 * gdb.linespec/cpexplicit.exp: New file.
5423 * gdb.linespec/explicit.c: New file.
5424 * gdb.linespec/explicit.exp: New file.
5425 * gdb.linespec/explicit2.c: New file.
5426 * gdb.linespec/ls-errs.exp: Add explicit location tests.
5427 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
5428 before using in the matching pattern.
5429 Clarify that `prefix' is a regular expression.
5430
5431 2015-08-11 Keith Seitz <keiths@redhat.com>
5432
5433 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
5434 test.
5435 Add tests for missing ",FMT" and ",".
5436
5437 2015-08-10 Doug Evans <dje@google.com>
5438 Keith Seitz <keiths@redhat.com>
5439
5440 PR gdb/17960
5441 * gdb.base/completion.exp: Add location completer tests.
5442
5443 2015-08-07 Pedro Alves <palves@redhat.com>
5444
5445 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
5446 tests here.
5447 (top level): Run do_test with and without displaced stepping.
5448
5449 2015-08-07 Pedro Alves <palves@redhat.com>
5450
5451 * gdb.base/valgrind-disp-step.c: New file.
5452 * gdb.base/valgrind-disp-step.exp: New file.
5453
5454 2015-08-07 Pedro Alves <palves@redhat.com>
5455
5456 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
5457 Delete function.
5458 (main): Add alarm. Run an infinite loop instead of calling
5459 wait_threads.
5460 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
5461 comment.
5462 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
5463 Delete function.
5464 (main): Add alarm. Run an infinite loop instead of calling
5465 wait_threads.
5466 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
5467 comment.
5468
5469 2015-08-07 Pedro Alves <palves@redhat.com>
5470
5471 * gdb.base/checkpoint-ns.exp: New file.
5472 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
5473 standard_testfile.
5474
5475 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
5476
5477 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
5478 * gdb.btrace/instruction_history.exp: Update.
5479 * gdb.btrace/tsx.exp: New.
5480 * gdb.btrace/tsx.c: New.
5481
5482 2015-08-06 Pedro Alves <palves@redhat.com>
5483
5484 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
5485 increase timeout.
5486 * gdb.reverse/until-precsave.exp: Bump timeouts.
5487
5488 2015-08-06 Pedro Alves <palves@redhat.com>
5489
5490 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
5491
5492 2015-08-06 Pedro Alves <palves@redhat.com>
5493
5494 PR gdb/18749
5495 * gdb.threads/process-dies-while-handling-bp.c: New file.
5496 * gdb.threads/process-dies-while-handling-bp.exp: New file.
5497
5498 2015-08-06 Pedro Alves <palves@redhat.com>
5499
5500 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
5501 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
5502
5503 2015-08-05 Pedro Alves <palves@redhat.com>
5504
5505 * gdb.threads/next-while-other-thread-longjmps.c: New file.
5506 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
5507
5508 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
5509
5510 * gdb.base/bp-permanent.exp: Report test as unsupported if
5511 the target cannot stop at the permanent breakpoint.
5512
5513 2015-08-03 Doug Evans <dje@google.com>
5514
5515 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
5516 10000.
5517
5518 2015-08-03 Doug Evans <dje@google.com>
5519
5520 * Makefile.in (workers/%.worker, build-perf): New rule.
5521 (GDB_PERFTEST_MODE): New variable.
5522 (check-perf): Use it.
5523 (clean): Clean up gdb.perf parallel build subdirs.
5524 * lib/build-piece.exp: New file.
5525 * lib/gdb.exp (make_gdb_parallel_path): New function
5526 (standard_output_file, standard_temp_file): Call it.
5527 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5528 of $GDB_PARALLEL.
5529 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
5530
5531 2015-08-03 Doug Evans <dje@google.com>
5532
5533 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
5534 (LOG_FILE_NAME): New global.
5535 (TextReporter.__init__): Initialize self.txt_sum.
5536 (TextReporter.report): Add support for multiple data-points.
5537 Move report to perftest.sum, put raw data in perftest.log.
5538 (TextReporter.start): Open sum and log files.
5539 (TextReporter.end): Close sum and log files.
5540 * gdb.perf/lib/perftest/testresult.py
5541 (SingleStatisticTestResult.record): Handle multiple data-points.
5542
5543 2015-07-31 Pedro Alves <palves@redhat.com>
5544
5545 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
5546 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5547 kill_wait_spawned_process instead of explicit "kill -9".
5548 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
5549 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5550 kill_wait_spawned_process.
5551 * gdb.base/attach-twice.exp: Likewise.
5552 * gdb.base/attach.exp: Likewise.
5553 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
5554 gdb_test_multiple.
5555 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
5556 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5557 kill_wait_spawned_process.
5558 * gdb.base/valgrind-infcall.exp: Likewise.
5559 * gdb.multi/multi-attach.exp: Likewise.
5560 * gdb.python/py-prompt.exp: Likewise.
5561 * gdb.python/py-sync-interp.exp: Likewise.
5562 * gdb.server/ext-attach.exp: Likewise.
5563 * gdb.threads/attach-into-signal.exp (corefunc): Use
5564 spawn_wait_for_attach, spawn_id_get_pid and
5565 kill_wait_spawned_process.
5566 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
5567 spawn_wait_for_attach returning a spawn id instead of a pid. Use
5568 spawn_id_get_pid and kill_wait_spawned_process.
5569 * gdb.threads/attach-stopped.exp (corefunc): Use
5570 spawn_wait_for_attach, spawn_id_get_pid and
5571 kill_wait_spawned_process.
5572 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
5573 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5574 kill_wait_spawned_process instead of explicit "kill -9".
5575 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
5576 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
5577 (spawn_wait_for_attach): Use spawn instead of exec to spawn
5578 processes. Don't map cygwin/windows pids here. Now returns a
5579 spawn id list.
5580
5581 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5582
5583 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
5584 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
5585 correct patch.
5586
5587 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5588
5589 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
5590
5591 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5592
5593 Reapply:
5594 2014-05-21 Mark Wielaard <mjw@redhat.com>
5595
5596 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5597
5598 2015-07-30 Pedro Alves <palves@redhat.com>
5599
5600 * linux-low.c (handle_extended_wait): Set the child's last
5601 reported status to TARGET_WAITKIND_STOPPED.
5602
5603 2015-07-30 Pedro Alves <palves@redhat.com>
5604
5605 PR threads/18600
5606 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
5607 only shows inferior 1.
5608
5609 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
5610 Pedro Alves <palves@redhat.com>
5611
5612 PR threads/18600
5613 * gdb.threads/fork-plus-threads.c: New file.
5614 * gdb.threads/fork-plus-threads.exp: New file.
5615
5616 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5617
5618 * gdb.base/batch-preserve-term-settings.exp
5619 (test_terminal_settings_preserved_after_cli_exit): Use
5620 send_quit_command.
5621
5622 2015-07-29 Pedro Alves <palves@redhat.com>
5623 Don Breazeal <donb@codesourcery.com>
5624
5625 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
5626 output from both inferior_spawn_id and gdb_spawn_id.
5627
5628 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5629
5630 * gdb.threads/attach-into-signal.exp (corefunc): Use
5631 with_test_prefix on nested loops, uniquefying the test messages.
5632
5633 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5634
5635 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
5636 commit.
5637
5638 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5639
5640 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
5641 New proc.
5642 (test_terminal_settings_preserved_after_sigterm): New test.
5643
5644 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5645
5646 * gdb.base/batch-preserve-term-settings.exp
5647 (test_terminal_settings_preserved_after_cli_exit): New test.
5648
5649 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5650
5651 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
5652 manipulation of saved_gdbflags.
5653 (test_terminal_settings_preserved): Remove global declaration of
5654 the unused variable pagination_prompt. Remove manipulation of
5655 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
5656 GDBFLAGS.
5657
5658 2015-07-29 Pedro Alves <palves@redhat.com>
5659
5660 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
5661
5662 2015-07-29 Pedro Alves <palves@redhat.com>
5663
5664 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
5665 at the top.
5666
5667 2015-07-29 Pedro Alves <palves@redhat.com>
5668
5669 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
5670 (main): Call gdb_unbuffer_output.
5671 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
5672 (main): Call gdb_unbuffer_output.
5673 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
5674 (main): Call gdb_unbuffer_output.
5675 * gdb.base/call-strs.exp: Adjust to step over the
5676 gdb_unbuffer_output call.
5677 * gdb.base/catch-gdb-caused-signals.c: Include
5678 "../lib/unbuffer_output.c".
5679 (main): Call gdb_unbuffer_output.
5680 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
5681 (main): Call gdb_unbuffer_output.
5682 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
5683 (main): Call gdb_unbuffer_output.
5684 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
5685 (main): Call gdb_unbuffer_output.
5686 * gdb.base/shlib-call.exp: Adjust to step over the
5687 gdb_unbuffer_output call.
5688 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
5689 (main): Call gdb_unbuffer_output.
5690 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
5691 (main): Call gdb_unbuffer_output.
5692 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
5693 (main): Rename to ...
5694 (test): ... this.
5695 (main): Reimplement.
5696 * gdb.base/varargs.exp: Run to test instead of to main.
5697 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5698 (main): Call gdb_unbuffer_output.
5699
5700 2015-07-29 Pedro Alves <palves@redhat.com>
5701
5702 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
5703 factore out from mi_continue_dprintf. For call-style dprintfs,
5704 expect dprintf output out of $inferior_spawn_id.
5705 (mi_continue_dprintf): Use mi_expect_dprintf.
5706 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5707 (main): Call gdb_unbuffer_output.
5708
5709 2015-07-29 Pedro Alves <palves@redhat.com>
5710
5711 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
5712 (default_mi_gdb_start): Set inferior_spawn_id instead of
5713 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
5714 gdb_spawn_id.
5715 (mi_gdb_test): Always expect inferior output from both
5716 $inferior_spawn_id and $gdb_spawn_id.
5717
5718 2015-07-29 Pedro Alves <palves@redhat.com>
5719
5720 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
5721 send_inferior and $inferior_spawn_id.
5722
5723 2015-07-29 Pedro Alves <palves@redhat.com>
5724
5725 * gdb.gdb/complaints.exp (test_initial_complaints)
5726 (test_serial_complaints, test_short_complaints): Use
5727 gdb_test_stdio.
5728 (test_empty_complaint): Handle $inferior_spawn_id !=
5729 $gdb_spawn_id.
5730
5731 2015-07-29 Pedro Alves <palves@redhat.com>
5732
5733 * gdb.base/varargs.exp: Use gdb_test_stdio.
5734
5735 2015-07-29 Pedro Alves <palves@redhat.com>
5736
5737 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
5738
5739 2015-07-29 Pedro Alves <palves@redhat.com>
5740
5741 * gdb.base/ending-run.exp: Use gdb_test_stdio.
5742
5743 2015-07-29 Pedro Alves <palves@redhat.com>
5744
5745 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
5746 parameter into two new parameters, "inf_result" and "gdb_result".
5747 Expect inferior output and gdb output from $inferior_spawn_id and
5748 $gdb_spawn_id, respectively. Adjust all callers.
5749
5750 2015-07-29 Pedro Alves <palves@redhat.com>
5751
5752 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
5753 of gdb_test_sequence.
5754
5755 2015-07-29 Pedro Alves <palves@redhat.com>
5756
5757 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
5758 (saw_spurious_output): Expect inferior output from
5759 $inferior_spawn_id. Use gdb_test_stdio.
5760
5761 2015-07-29 Pedro Alves <palves@redhat.com>
5762
5763 * gdb.base/dprintf.exp: Use standard_testfile. Change
5764 prepare_for_testing call.
5765 (srcfile): Don't set.
5766 (restart): New procedure.
5767 (test_dprintf): New procecure, use to continue over dprintfs.
5768 (test_call, test_agent): New procedures, tests moved here.
5769 Restart gdb and recreate dprintfs. Adjust expected output.
5770
5771 2015-07-29 Pedro Alves <palves@redhat.com>
5772
5773 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
5774
5775 2015-07-29 Pedro Alves <palves@redhat.com>
5776
5777 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
5778
5779 2015-07-29 Pedro Alves <palves@redhat.com>
5780
5781 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
5782 gdb_test_stdio.
5783
5784 2015-07-29 Pedro Alves <palves@redhat.com>
5785
5786 * lib/gdb.exp (gdb_test_stdio): New procedure.
5787
5788 2015-07-29 Pedro Alves <palves@redhat.com>
5789
5790 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
5791
5792 2015-07-29 Pedro Alves <palves@redhat.com>
5793
5794 * gdb.base/call-signal-resume.exp: Remove check for
5795 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
5796 * gdb.base/unwindonsignal.exp: Likewise.
5797 * gdb.base/call-signals.c (gen_signal): Remove printf call.
5798 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
5799
5800 2015-07-29 Pedro Alves <palves@redhat.com>
5801
5802 * gdb.base/siginfo-addr.c (pass): New function.
5803 (handler): Call it iff si_addr is correct.
5804 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
5805 Set a breakpoint at "pass" and continue to it.
5806
5807 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
5808
5809 * gdb.python/py-objfile.exp: Make some tests have unique names.
5810 * gdb.python/py-pp-registration.exp: Likewise.
5811
5812 2015-07-28 Pedro Alves <palves@redhat.com>
5813
5814 * gdb.server/server-exec-info.exp: Issue a "disconnect".
5815
5816 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5817
5818 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
5819
5820 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5821
5822 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
5823
5824 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
5825
5826 * gdb.base/gdb-sigterm-2.exp: New test.
5827
5828 2015-07-25 Doug Evans <xdje42@gmail.com>
5829
5830 Revert:
5831 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5832 (workers/%.worker, build-perf): New rule.
5833 (GDB_PERFTEST_MODE): New variable.
5834 (check-perf): Use it.
5835 (clean): Clean up gdb.perf parallel build subdirs.
5836 * lib/build-piece.exp: New file.
5837 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5838 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5839 name.
5840 (standard_temp_file): Ditto.
5841 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5842 of $GDB_PARALLEL.
5843
5844 2015-07-24 Doug Evans <dje@google.com>
5845
5846 * gdb.perf/lib/perftest/utils.py: New file.
5847 * gdb.perf/gm-hello.cc: New file.
5848 * gdb.perf/gm-pervasive-typedef.cc: New file.
5849 * gdb.perf/gm-pervasive-typedef.h: New file.
5850 * gdb.perf/gm-std.cc: New file.
5851 * gdb.perf/gm-std.h: New file.
5852 * gdb.perf/gm-use-cerr.cc: New file.
5853 * gdb.perf/gm-utils.h: New file.
5854 * gdb.perf/gmonster-null-lookup.py: New file.
5855 * gdb.perf/gmonster-pervasive-typedef.py: New file.
5856 * gdb.perf/gmonster-print-cerr.py: New file.
5857 * gdb.perf/gmonster-ptype-string.py: New file.
5858 * gdb.perf/gmonster-runto-main.py: New file.
5859 * gdb.perf/gmonster-select-file.py: New file.
5860 * gdb.perf/gmonster1-null-lookup.exp: New file.
5861 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
5862 * gdb.perf/gmonster1-print-cerr.exp: New file.
5863 * gdb.perf/gmonster1-ptype-string.exp: New file.
5864 * gdb.perf/gmonster1-runto-main.exp: New file.
5865 * gdb.perf/gmonster1-select-file.exp: New file.
5866 * gdb.perf/gmonster1.cc: New file.
5867 * gdb.perf/gmonster1.exp: New file.
5868 * gdb.perf/gmonster2-null-lookup.exp: New file.
5869 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
5870 * gdb.perf/gmonster2-print-cerr.exp: New file.
5871 * gdb.perf/gmonster2-ptype-string.exp: New file.
5872 * gdb.perf/gmonster2-runto-main.exp: New file.
5873 * gdb.perf/gmonster2-select-file.exp: New file.
5874 * gdb.perf/gmonster2.cc: New file.
5875 * gdb.perf/gmonster2.exp: New file.
5876
5877 2015-07-24 Doug Evans <dje@google.com>
5878
5879 * gdb.perf/README: New file.
5880 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
5881 * lib/gen-perf-test.exp: New file.
5882
5883 2015-07-24 Doug Evans <dje@google.com>
5884
5885 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
5886 (PerfTest::startup): New function.
5887 (PerfTest::run): Return result of calling body.
5888 (PerfTest::assemble): Rewrite.
5889 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
5890 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
5891 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
5892 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
5893 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
5894
5895 2015-07-24 Doug Evans <dje@google.com>
5896
5897 * lib/gdb.exp (clean_restart): Make executable optional.
5898
5899 2015-07-24 Doug Evans <dje@google.com>
5900
5901 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
5902 compiler_info references.
5903 * gdb.cp/temargs.exp: Ditto.
5904 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
5905 (get_compiler_info): Early exit if already computed. Set compiler_info
5906 to "unknown" if there was a problem.
5907 (test_compiler_info): Add function comment. Call get_compiler_info.
5908
5909 2015-07-24 Doug Evans <dje@google.com>
5910
5911 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5912 (workers/%.worker, build-perf): New rule.
5913 (GDB_PERFTEST_MODE): New variable.
5914 (check-perf): Use it.
5915 (clean): Clean up gdb.perf parallel build subdirs.
5916 * lib/build-piece.exp: New file.
5917 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5918 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5919 name.
5920 (standard_temp_file): Ditto.
5921 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5922 of $GDB_PARALLEL.
5923
5924 2015-07-24 Doug Evans <dje@google.com>
5925
5926 * lib/future.exp (gdb_default_target_compile): New option
5927 "early_flags".
5928 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
5929 --as-needed.
5930
5931 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
5932
5933 * gdb.base/catch-syscall.exp: Call gdb_exit before
5934 gdb_skip_xml_test.
5935
5936 2015-07-24 Pedro Alves <palves@redhat.com>
5937
5938 * gdb.python/py-events.exp: Accept output between the stop event
5939 and the prompt.
5940 * gdb.python/py-evsignal.exp: Likewise.
5941 * gdb.python/py-evthreads.exp: Likewise.
5942
5943 2015-07-24 Pedro Alves <palves@redhat.com>
5944
5945 PR gdb/18717
5946 * gdb.threads/non-ldr-exit.c: New file.
5947 * gdb.threads/non-ldr-exit.exp: New file.
5948
5949 2015-07-24 Yao Qi <yao.qi@linaro.org>
5950
5951 * gdb.server/ext-wrapper.exp: Test --wrapper option when
5952 restarting process.
5953
5954 2015-07-24 Yao Qi <yao.qi@linaro.org>
5955
5956 * gdb.server/ext-restart.exp: New file.
5957
5958 2015-07-24 Yao Qi <yao.qi@linaro.org>
5959
5960 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
5961 argument options.
5962 * gdb.server/ext-wrapper.exp: New file.
5963
5964 2015-07-23 Doug Evans <dje@google.com>
5965
5966 * gdb.dwarf2/dw2-dummy-cu.S: New file.
5967 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
5968
5969 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
5970
5971 * gdb.ada/var_arr_typedef.exp: New testcase.
5972 * gdb.ada/var_arr_typedef/pack.adb: New file.
5973 * gdb.ada/var_arr_typedef/pack.ads: New file.
5974 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
5975
5976 2015-07-20 Joel Brobecker <brobecker@adacore.com>
5977
5978 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
5979
5980 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5981
5982 * gdb.arch/i386-biarch-core.exp: Replace istarget
5983 by "complete set gnutarget". Remove expectation for the "core-file"
5984 command.
5985
5986 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5987
5988 Revert the previous commit:
5989 Tests for validate symbol file using build-id.
5990
5991 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
5992
5993 Tests for validate symbol file using build-id.
5994 * gdb.base/solib-mismatch-lib.c: New file.
5995 * gdb.base/solib-mismatch-libmod.c: New file.
5996 * gdb.base/solib-mismatch.c: New file.
5997 * gdb.base/solib-mismatch.exp: New file.
5998
5999 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
6000
6001 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
6002 nios2-*-linux*.
6003 * gdb.base/sigbpt.exp (stepi_out): Likewise.
6004 * gdb.base/siginfo.exp: Likewise.
6005 * gdb.base/sigstep.exp (advance, advancei): Likewise.
6006
6007 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
6008
6009 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
6010 Move it to ...
6011 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
6012 ... here.
6013 * gdb.trace/range-stepping.exp: Check that the target supports
6014 range stepping.
6015
6016 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6017
6018 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
6019
6020 2015-07-14 Pedro Alves <palves@redhat.com>
6021
6022 * gdb.base/killed-outside.exp: New file.
6023 * gdb.base/killed-outside.c: New file.
6024
6025 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6026
6027 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
6028 (n at main): New.
6029 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
6030
6031 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6032
6033 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
6034 infcall tests instead of setting up for KFAIL.
6035
6036 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
6037
6038 * gdb.btrace/record_goto-step.exp: New.
6039
6040 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6041
6042 PR compile/18484
6043 * gdb.compile/compile.c (struct struct_type): Add volatile to
6044 selffield's type.
6045 * gdb.compile/compile.exp
6046 (compile code struct_object.selffield = &struct_object): Skip further
6047 struct_object tests if this one xfails.
6048
6049 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
6050
6051 PR exp/18617
6052 * gdb.trace/ax.exp: Add test.
6053
6054 2015-07-07 Yao Qi <yao.qi@linaro.org>
6055
6056 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
6057 instead of istarget "aarch64*-*-*".
6058 * gdb.arch/aarch64-fp.exp: Likewise.
6059 * gdb.base/float.exp: Likewise.
6060 * gdb.reverse/aarch64.exp: Likewise.
6061 * lib/gdb.exp (is_aarch64_target): New proc.
6062
6063 2015-07-07 Yao Qi <yao.qi@linaro.org>
6064
6065 * lib/gdb.exp (is_aarch32_target): New proc.
6066 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
6067 instead of "istarget "arm*-*-*"".
6068 * gdb.arch/arm-disp-step.exp: Likewise.
6069 * gdb.arch/thumb-bx-pc.exp: Likewise.
6070 * gdb.arch/thumb-prologue.exp: Likewise.
6071 * gdb.arch/thumb-singlestep.exp: Likewise.
6072 * gdb.base/disp-step-syscall.exp: Likewise.
6073 * gdb.base/float.exp: Likewise.
6074
6075 2015-07-07 Yao Qi <yao.qi@linaro.org>
6076
6077 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
6078 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
6079
6080 2015-07-07 Yao Qi <yao.qi@linaro.org>
6081
6082 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
6083 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
6084 if it exists.
6085 * gdb.multi/multi-arch.exp: Likewise.
6086
6087 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
6088
6089 * gdb.python/py-lazy-string.exp: Add missing parentheses to
6090 print.
6091
6092 2015-07-07 Yao Qi <yao.qi@linaro.org>
6093
6094 * gdb.arch/thumb-singlestep.exp: Do one more single step.
6095
6096 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
6097
6098 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
6099 '[' and ']' characters.
6100
6101 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
6102
6103 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6104
6105 2015-06-29 Pedro Alves <palves@redhat.com>
6106
6107 PR threads/18127
6108 * gdb.threads/hand-call-new-thread.c: New file.
6109 * gdb.threads/hand-call-new-thread.c: New file.
6110
6111 2015-06-26 Keith Seitz <keiths@redhat.com>
6112 Doug Evans <dje@google.com>
6113
6114 PR 16253
6115 * gdb.cp/var-tag-2.cc: New file.
6116 * gdb.cp/var-tag-3.cc: New file.
6117 * gdb.cp/var-tag-4.cc: New file.
6118 * gdb.cp/var-tag.cc: New file.
6119 * gdb.cp/var-tag.exp: New file.
6120
6121 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6122
6123 * gdb.base/history-duplicates.exp: New test.
6124
6125 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6126
6127 * gdb.base/completion.exp: Test the completion of the "focus"
6128 command.
6129
6130 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6131
6132 * gdb.arch/amd64-prologue-skip.S: New file.
6133 * gdb.arch/amd64-prologue-skip.exp: New file.
6134
6135 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
6136
6137 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
6138 is_address_zero_readable check.
6139
6140 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
6141
6142 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
6143 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
6144
6145 2015-06-24 Yao Qi <yao.qi@linaro.org>
6146
6147 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
6148 linux targets.
6149
6150 2015-06-24 Yao Qi <yao.qi@linaro.org>
6151
6152 * lib/gdb.exp (supports_get_siginfo_type): New proc.
6153 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
6154 * gdb.base/siginfo-thread.exp: Likewise.
6155
6156 2015-06-22 Yao Qi <yao.qi@linaro.org>
6157
6158 * boards/remote-gdbserver-on-localhost.exp: Add comments.
6159
6160 2015-06-22 Yao Qi <yao.qi@linaro.org>
6161
6162 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
6163 aarch64*-*-*.
6164 (skip_hw_watchpoint_tests): Likewise.
6165
6166 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
6167
6168 * gdb.base/gdbinit-history.exp: Test the interaction between
6169 setting GDBHISTSIZE and setting the history size via .gdbinit.
6170
6171 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6172
6173 PR gdb/16999
6174 * gdb.base/gdbhistsize-history.exp: New test.
6175
6176 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6177
6178 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
6179 with GDBHISTSIZE.
6180 * gdb.base/readline.exp: Likewise.
6181
6182 2015-06-17 Yao Qi <yao.qi@linaro.org>
6183
6184 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
6185 line.
6186
6187 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6188
6189 * gdb.base/gdbinit-history.exp: Add test case to check that
6190 an unlimited history file does not get truncated on exit.
6191
6192 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6193
6194 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
6195 (VECTOR): New macro. Use it...
6196 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6197 ...for these typedefs.
6198 (int8, char1, int1, double1): New typedefs.
6199 (struct just_int2, struct two_int2): New structures.
6200 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
6201 (add_structvecs, add_singlevecs): New functions.
6202 (main): Call add_some_intvecs twice.
6203 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
6204 the compile and exit upon failure. Try compiling for the "native"
6205 architecture. Test inferior function calls with vector arguments
6206 and vector return value handling with "finish" and "return".
6207
6208 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
6209
6210 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
6211 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
6212 PE file.
6213 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
6214
6215 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6216
6217 PR breakpoints/16465
6218 * gdb.mi/mi-dprintf-pending.c: New file.
6219 * gdb.mi/mi-dprintf-pending.exp: New test.
6220 * gdb.mi/mi-dprintf-pendshr.c: New file.
6221
6222 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6223 Mircea Gherzan <mircea.gherzan@intel.com>
6224
6225 * gdb.arch/i386-mpx-map.c: New file.
6226 * gdb.arch/i386-mpx-map.exp: New File.
6227
6228 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6229
6230 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
6231 * gdb.arch/i386-mpx.exp: Indentation fixed.
6232
6233 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6234
6235 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
6236 function and improved indentation.
6237 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
6238 gdb_test_multiple. Added additional tests to skip the test.
6239
6240 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6241
6242 * gdb.arch/i386-avx512.c: Change path in include file.
6243 * gdb.arch/i386-avx512.exp: Change include dir path
6244 compilation flag.
6245 * gdb.arch/i386-mpx.c: Change path in include file.
6246 * gdb.arch/i386-mpx.exp: Change include dir path compilation
6247 flag.
6248
6249 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6250
6251 * gdb.compile/compile-print.exp (compile print *vararray@3)
6252 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
6253
6254 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6255
6256 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
6257 (do not keep jit in memory): ... this.
6258 (expect 5): Change it to ...
6259 (expect no 5): ... this.
6260
6261 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
6262
6263 PR gdb/15564
6264 * gdb.mi/mi-detach.exp: New file.
6265
6266 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6267
6268 PR symtab/18392
6269 * gdb.arch/amd64-tailcall-self.S: New file.
6270 * gdb.arch/amd64-tailcall-self.c: New file.
6271 * gdb.arch/amd64-tailcall-self.exp: New file.
6272
6273 2015-05-28 Don Breazeal <donb@codesourcery.com>
6274
6275 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6276 tests for remote targets by checking is_target_gdbserver.
6277
6278 2015-05-27 Doug Evans <dje@google.com>
6279
6280 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6281 * gdb.dwarf2/opaque-type-lookup.c: New file.
6282 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6283
6284 2015-05-26 Doug Evans <dje@google.com>
6285
6286 * gdb.cp/iostream.cc: New file.
6287 * gdb.cp/iostream.exp: New file.
6288
6289 2015-05-26 Doug Evans <dje@google.com>
6290
6291 * gdb.dwarf2/dw2-op-call.exp: Update.
6292 * gdb.dwarf2/dw4-sig-types.exp: Update.
6293 * gdb.dwarf2/implptr.exp: Update.
6294 * gdb.mi/mi-cmd-param-changed.exp: Update.
6295
6296 2015-05-26 Doug Evans <dje@google.com>
6297
6298 * gdb.python/py-lazy-string.c: New file.
6299 * gdb.python/py-lazy-string.exp: New file.
6300 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6301 (main): Update. Add estring3.
6302 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6303 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6304
6305 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6306 Yao Qi <yao.qi@linaro.org>
6307
6308 * gdb.reverse/aarch64.c: New.
6309 * gdb.reverse/aarch64.exp: New.
6310
6311 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6312
6313 * lib/gdb.exp (supports_process_record): Return true for
6314 aarch64*-linux*.
6315 (supports_reverse): Likewise.
6316
6317 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6318
6319 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6320 Use with_test_prefix.
6321
6322 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6323
6324 * gdb.base/completion.exp: Add test for completion of layout
6325 names.
6326
6327 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6328
6329 * lib/gdb.exp (skip_tui_tests): New proc.
6330 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6331
6332 2015-05-19 Pedro Alves <palves@redhat.com>
6333
6334 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6335 Save the whole env array instead of just HOME. Unset HISTSIZE in
6336 the environment while testing. Restore whole environment
6337 afterwards.
6338
6339 2015-05-16 Doug Evans <xdje42@gmail.com>
6340
6341 * gdb.guile/scm-ports.c: New file.
6342 * gdb.guile/scm-ports.exp: Add memory port tests.
6343
6344 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6345
6346 * gdb.compile/compile-print.c: New file.
6347 * gdb.compile/compile-print.exp: New file.
6348
6349 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6350
6351 * gdb.compile/compile-ops.exp: Cast param to void.
6352 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6353 (compile code struct_object.selffield = &struct_object): Add xfail.
6354
6355 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6356
6357 * gdb.ada/arr_enum_with_gap: New testcase.
6358
6359 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6360
6361 * gdb.ada/byte_packed_arr: New testcase.
6362
6363 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6364
6365 * gdb.ada/pckd_neg: New testcase.
6366
6367 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
6368
6369 PR gdb/17820
6370 * gdb.base/gdbinit-history.exp: New test.
6371 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
6372 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
6373
6374 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
6375
6376 * gdb.python/py-xmethods.cc: Enhance test case.
6377 * gdb.python/py-xmethods.exp: New tests.
6378 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
6379 function.
6380 (B_indexoper): Likewise.
6381 (global_dm_list) : Add new xmethod worker functions.
6382
6383 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
6384
6385 * gdb.base/coredump-filter.exp: Correctly unset
6386 "coredump_var_addr" array.
6387
6388 2015-05-08 Pedro Alves <palves@redhat.com>
6389
6390 * gdb.server/non-existing-program.exp: Unset spawn_id.
6391
6392 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
6393
6394 PR python/18291
6395 * gdb.python/py-xmethods.exp: Add tests.
6396
6397 2015-05-08 Yao Qi <yao.qi@linaro.org>
6398
6399 PR gdb/18208
6400 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
6401 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
6402 function set_coredump_filter, and remove remote_exec call.
6403 Remove argument ipid. Callers update.
6404 (top level): Don't get inferior's PID.
6405
6406 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
6407
6408 * gdb.base/watch_thread_num.exp: Skip test on targets without
6409 access watchpoints.
6410
6411 2015-05-06 Pedro Alves <palves@redhat.com>
6412
6413 PR server/18081
6414 * gdb.server/non-existing-program.exp: New file.
6415
6416 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6417
6418 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
6419
6420 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6421
6422 * gdb.ada/out_of_line_in_inlined: New testcase.
6423
6424 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6425
6426 * gdb.ada/var_rec_arr: New testcase.
6427
6428 2015-04-30 Yao Qi <yao.qi@linaro.org>
6429
6430 * gdb.base/break-idempotent.exp: If
6431 skip_hw_watchpoint_multi_tests returns true, skip the tests
6432 on "rwatch" and "awatch".
6433
6434 2015-04-30 Yao Qi <yao.qi@linaro.org>
6435
6436 * gdb.base/relativedebug.exp: Invoke gdb command
6437 "info sharedlibrary", and if libc.so doesn't have debug info,
6438 skip the test.
6439
6440 2015-04-29 Doug Evans <dje@google.com>
6441
6442 * gdb.python/py-xmethods.exp: Add ptype tests.
6443 * gdb.python/py-xmethods.py (E_method_char_worker): Add
6444 get_result_type method.
6445
6446 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6447
6448 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
6449 the target does not support hardware watchpoints.
6450
6451 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6452
6453 * gdb.base/break-always.exp: Abort testing if writing to memory
6454 causes an error.
6455
6456 2015-04-28 Doug Evans <dje@google.com>
6457
6458 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
6459 * gdb.python/py-pp-registration.exp: ... here. New file.
6460 * gdb.python/py-pp-registration.c: New file.
6461 * gdb.python/py-pp-registration.py: New file.
6462
6463 2015-04-28 Doug Evans <dje@google.com>
6464
6465 * gdb.python/py-bad-printers.c: New file.
6466 * gdb.python/py-bad-printers.py: New file.
6467 * gdb.python/py-bad-printers.exp: New file.
6468
6469 2015-04-28 Sasha Smundak <asmundak@google.com>
6470
6471 * gdb.python/py-type.exp: New test.
6472
6473 2015-04-28 Andy Wingo <wingo@igalia.com>
6474
6475 * gdb.python/py-parameter.exp:
6476 * gdb.guile/scm-parameter.exp: Escape the path that we are
6477 matching against, as it might contain characters that are special
6478 to regular expressions.
6479
6480 2015-04-27 Joel Brobecker <brobecker@adacore.com>
6481
6482 * gdb.ada/rec_comp: New testcase.
6483
6484 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
6485
6486 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
6487 before using it.
6488
6489 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
6490
6491 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
6492 new tests for verilog output.
6493
6494 2015-04-24 Yao Qi <yao.qi@linaro.org>
6495
6496 * boards/remote-gdbserver-on-localhost.exp: New file.
6497
6498 2015-04-23 Pedro Alves <palves@redhat.com>
6499
6500 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
6501 $inferior_spawn_id instead of $inferior_spawn_id directly. On
6502 "end of file", remove $inferior_spawn_id from the indirect list.
6503
6504 2015-04-23 Pedro Alves <palves@redhat.com>
6505
6506 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
6507
6508 2015-04-23 Pedro Alves <palves@redhat.com>
6509
6510 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
6511 on $any_spawn_id instead of only on $gdb_spawn_id.
6512
6513 2015-04-21 Pierre Muller <muller@sourceware.org>
6514
6515 PR pascal/17815
6516 * lib/pascal.exp (gpc_compile): Add new option "class".
6517 (fpc_compile): Likewise.
6518 * gdb.pascal/case-insensitive-symbols.pas: New file.
6519 * gdb.pascal/case-insensitive-symbols.exp: New file.
6520
6521 2015-04-20 Gary Benson <gbenson@redhat.com>
6522
6523 * gdb.base/attach.exp: Fix three extended remote failures.
6524
6525 2015-04-17 Gary Benson <gbenson@redhat.com>
6526
6527 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
6528 the main executable over the remote protocol.
6529
6530 2015-04-16 Pedro Alves <palves@redhat.com>
6531
6532 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
6533 a new gdbserver if gdbserver_reconnect_p is set.
6534
6535 2015-04-16 Pedro Alves <palves@redhat.com>
6536
6537 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
6538 is set, don't exit gdbserver.
6539
6540 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6541
6542 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
6543 appropriate .insn, such that an older assembler can be used.
6544 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
6545 the z/Architecture instruction set on 31-bit targets as well.
6546
6547 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6548
6549 * gdb.go/handcall.exp: Remove all logic related to the first
6550 breakpoint and rely on go_runto_main instead.
6551 * gdb.go/strings.exp: Likewise.
6552 * gdb.go/unsafe.exp: Likewise.
6553 * gdb.go/hello.exp: Likewise. Also rename the remaining
6554 breakpoint marker to "breakpoint 1".
6555 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
6556 * gdb.go/strings.go: Likewise.
6557 * gdb.go/unsafe.go: Likewise.
6558 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
6559 "set breakpoint 2 here" and rename the remaining breakpoint marker
6560 to "breakpoint 1".
6561
6562 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
6563
6564 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
6565 if itertools.imap is not present.
6566 * gdb.python/py-objfile.exp: Add parentheses.
6567 * gdb.python/py-type.exp: Same.
6568 * gdb.python/py-unwind-maint.py: Same.
6569
6570 2015-04-15 Yao Qi <yao.qi@linaro.org>
6571
6572 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
6573 of ":$ptr_size" and set its form explicitly.
6574
6575 2015-04-15 Pedro Alves <palves@redhat.com>
6576 Yao Qi <yao.qi@linaro.org>
6577
6578 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
6579 timeout by factor of 4.
6580 (test_regular_watch): Likewise.
6581 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
6582 * gdb.reverse/sigall-reverse.exp: Likewise.
6583 * gdb.reverse/until-precsave.exp: Likewise.
6584 * lib/gdb.exp (with_timeout_factor): New proc.
6585 (gdb_expect): Move some code to ...
6586 (get_largest_timeout): ... here. New procedure.
6587
6588 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
6589
6590 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
6591
6592 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6593
6594 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
6595 to write to the .text section.
6596
6597 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6598
6599 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
6600 Handle the case of targets that do not provide PID information.
6601
6602 2015-04-13 Yao Qi <yao.qi@linaro.org>
6603
6604 * lib/gdbserver-support.exp (gdb_exit): Catch exception
6605 and use expect instead of gdb_expect.
6606
6607 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
6608
6609 * gdb.base/coredump-filter.exp: Rename variable "addr" to
6610 "coredump_var_addr" to avoid naming conflict with other testcases.
6611
6612 2015-04-10 Pedro Alves <palves@redhat.com>
6613
6614 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
6615 gdb_test_sequence and gdb_assert.
6616
6617 2015-04-10 Pedro Alves <palves@redhat.com>
6618
6619 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
6620 test messages that don't include the breakpoint address.
6621
6622 2015-04-10 Yao Qi <yao.qi@linaro.org>
6623
6624 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
6625 false for some offset and width combinations which aren't
6626 supported by linux kernel.
6627
6628 2015-04-10 Pedro Alves <palves@redhat.com>
6629
6630 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
6631 procedure, factored out from ...
6632 (top level): ... here. Add "set displaced-stepping" testing axis.
6633 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
6634 parameter "displaced". Use it.
6635 (top level): Use foreach and add "set displaced-stepping" testing
6636 axis.
6637
6638 2015-04-10 Pedro Alves <palves@redhat.com>
6639
6640 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
6641 Remove comment.
6642 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
6643 both the address of the instruction that triggers the watchpoint
6644 and the address of the instruction immediately after, and use
6645 those addresses for the test. Fix comment.
6646
6647 2015-04-10 Pedro Alves <palves@redhat.com>
6648
6649 * gdb.base/sigstep.exp (breakpoint_to_handler)
6650 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
6651 Test "backtrace" in handler.
6652 (breakpoint_over_handler): New parameter 'displaced'. Use it.
6653 (top level): Add new "displaced" test axis to
6654 breakpoint_to_handler, breakpoint_to_handler_entry and
6655 breakpoint_over_handler.
6656
6657 2015-04-10 Pedro Alves <palves@redhat.com>
6658
6659 PR gdb/18216
6660 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
6661
6662 2015-04-10 Yao Qi <yao.qi@linaro.org>
6663
6664 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
6665 (test_add_rn_pc): New function.
6666 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
6667 (top level): Invoke test_add_rn_pc.
6668
6669 2015-04-10 Pedro Alves <palves@redhat.com>
6670
6671 PR gdb/13858
6672 * gdb.base/step-over-no-symbols.exp: New file.
6673
6674 2015-04-09 Andy Wingo <wingo@igalia.com>
6675
6676 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
6677 after the Python tests.
6678
6679 2015-04-08 Keith Seitz <keiths@redhat.com>
6680
6681 PR python/16699
6682 * gdb.python/py-completion.exp: New tests for completion.
6683 * gdb.python/py-completion.py (CompleteLimit1): New class.
6684 (CompleteLimit2): Likewise.
6685 (CompleteLimit3): Likewise.
6686 (CompleteLimit4): Likewise.
6687 (CompleteLimit5): Likewise.
6688 (CompleteLimit6): Likewise.
6689 (CompleteLimit7): Likewise.
6690
6691 2015-04-08 Pedro Alves <palves@redhat.com>
6692
6693 PR gdb/18214
6694 PR gdb/18216
6695 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
6696 function.
6697 (main): Install it as SIGUSR1 handler.
6698 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
6699 parameter. Always use "setup" as prefix. Toggle "set
6700 displaced-stepping" off/on depending on global. Don't switch to
6701 thread 1 here.
6702 (top level): Add displaced stepping "off/on" test axis. Update
6703 "setup" calls. Wrap each subtest with with_test_prefix. Test
6704 continuing with a queued signal in each thread.
6705
6706 2015-04-08 Pedro Alves <palves@redhat.com>
6707
6708 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
6709 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
6710 gdb_breakpoint instead of gdb_test that doesn't expect anything.
6711 Return early if running to main fails.
6712 * gdb.trace/while-stepping.exp: Likewise.
6713
6714 2015-04-07 Pedro Alves <palves@redhat.com>
6715
6716 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
6717 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
6718 interact with inferior program.
6719
6720 2015-04-07 Pedro Alves <palves@redhat.com>
6721
6722 * lib/gdb.exp (inferior_spawn_id): New global.
6723 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
6724 spawn id after processing the user code.
6725 (default_gdb_start): Set inferior_spawn_id.
6726 (send_inferior): New procedure.
6727 * lib/gdbserver-support.exp (gdbserver_start): Set
6728 inferior_spawn_id.
6729 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
6730
6731 2015-04-07 Pedro Alves <palves@redhat.com>
6732
6733 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
6734 * lib/gdbserver-support.exp (gdbserver_start): Make
6735 $server_spawn_id global.
6736 (gdbserver_start): Don't wait for gdbserver's spawn id with
6737 expect_background.
6738 (close_gdbserver): New procedure.
6739 (gdb_exit): Rename the default version and reimplement.
6740
6741 2015-04-07 Pedro Alves <palves@redhat.com>
6742
6743 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
6744 append the substituted item, not the original item.
6745
6746 2015-04-07 Pedro Alves <palves@redhat.com>
6747
6748 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
6749 gdb_expect.
6750
6751 2015-04-07 Pedro Alves <palves@redhat.com>
6752
6753 * gdb.base/interrupt.exp: Don't handle the case of the inferior
6754 output appearing once only.
6755
6756 2015-04-07 Pedro Alves <palves@redhat.com>
6757
6758 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
6759 that doesn't expect anything. Return early if running to main
6760 fails.
6761
6762 2015-04-07 Yao Qi <yao.qi@linaro.org>
6763
6764 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
6765 (child_function): Call alarm.
6766 (main): Move call to alarm into the loop.
6767 * gdb.threads/non-stop-fair-events.exp: Build program with
6768 -DTIMEOUT=$timeout.
6769
6770 2015-04-06 Doug Evans <xdje42@gmail.com>
6771
6772 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
6773 Fix dest parameter to board_info.
6774 (fpc_compile): Ditto.
6775 (gdb_compile_pascal): Rename dest arg to destfile.
6776
6777 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
6778
6779 * gdb.ada/funcall_ref.exp: New file.
6780 * gdb.ada/funcall_ref/foo.adb: New file.
6781
6782 2015-04-02 Yao Qi <yao.qi@linaro.org>
6783
6784 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
6785 is remote.
6786
6787 2015-04-02 Gary Benson <gbenson@redhat.com>
6788
6789 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
6790
6791 2015-04-01 Sasha Smundak <asmundak@google.com>
6792
6793 * gdb.python/py-unwind-maint.c: New file.
6794 * gdb.python/py-unwind-maint.exp: New test.
6795 * gdb.python/py-unwind-maint.py: New file.
6796 * gdb.python/py-unwind.c: New file.
6797 * gdb.python/py-unwind.exp: New test.
6798 * gdb.python/py-unwind.py: New test.
6799
6800 2015-04-01 Pedro Alves <palves@redhat.com>
6801
6802 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
6803 to fail instead of non-existent $test.
6804
6805 2015-04-01 Pedro Alves <palves@redhat.com>
6806
6807 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
6808 GDBFLAGS if not empty.
6809
6810 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
6811
6812 * gdb.ada/complete.exp: Remove "multi_line".
6813 * gdb.ada/info_exc.exp: Remove "multi_line".
6814 * gdb.ada/packed_tagged.exp: Remove "multi_line".
6815 * gdb.ada/ptype_field.exp: Remove "multi_line".
6816 * gdb.ada/sym_print_name.exp: Remove "multi_line".
6817 * gdb.ada/tagged.exp: Remove "multi_line".
6818 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
6819 [multi_line ...]
6820 * gdb.btrace/delta.exp: Likewise.
6821 * gdb.btrace/exception.exp: Likewise.
6822 * gdb.btrace/function_call_history.exp: Likewise.
6823 * gdb.btrace/instruction_history.exp: Likewise.
6824 * gdb.btrace/nohist.exp: Likewise.
6825 * gdb.btrace/record_goto.exp: Likewise.
6826 * gdb.btrace/segv.exp: Likewise.
6827 * gdb.btrace/stepi.exp: Likewise.
6828 * gdb.btrace/tailcall.exp: Likewise.
6829 * gdb.btrace/unknown_functions.exp: Likewise.
6830 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
6831 * lib/gdb.exp: Add the "multi_line" helper.
6832
6833 2015-04-01 Pedro Alves <palves@redhat.com>
6834
6835 * gdb.threads/tid-reuse.c: New file.
6836 * gdb.threads/tid-reuse.exp: New file.
6837
6838 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
6839
6840 PR corefiles/16092
6841 * gdb.base/coredump-filter.c: New file.
6842 * gdb.base/coredump-filter.exp: Likewise.
6843
6844 2015-03-27 Petr Machata <pmachata@redhat.com>
6845
6846 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
6847 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
6848 (Dwarf::assemble): Initialize them.
6849 (Dwarf::lines): New function.
6850
6851 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
6852
6853 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
6854 SYMBOL_PREFIX for x86_64-*-cygwin.
6855
6856 2015-03-26 Andy Wingo <wingo@igalia.com>
6857
6858 PR symtab/18148
6859 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
6860 const_value but not a location.
6861 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
6862 location defined in non-main CUs are visible.
6863
6864 2015-03-26 Yao Qi <yao.qi@linaro.org>
6865
6866 PR testsuite/18139
6867 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
6868 Add a line number entry for the same line.
6869 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
6870 Add a line number entry for the same line.
6871
6872 2015-03-26 Yao Qi <yao.qi@linaro.org>
6873
6874 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
6875 .int 0.
6876 (func): Likewise. Add .Lfunc_1 label.
6877 Use .Lfunc_1 label.
6878 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
6879 .int 0.
6880 (func): Likewise.
6881 Use .Lfunc_1 label.
6882
6883 2015-03-26 Yao Qi <yao.qi@linaro.org>
6884
6885 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
6886 Call gdb_compile instead to compile each .s files without debug
6887 information.
6888
6889 2015-03-26 Yao Qi <yao.qi@linaro.org>
6890
6891 * gdb.base/savedregs.exp (process_saved_regs): Make
6892 "Saved registers:" optional in the pattern.
6893
6894 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6895
6896 * gdb.btrace/next.exp: Merged into step.exp.
6897 * gdb.btrace/finish.exp: Merged into step.exp.
6898 * gdb.btrace/nexti.exp: Merged into stepi.exp.
6899 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
6900 "record goto" and checking the exact replay position.
6901 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
6902 check for "Recording format" in "info record" output.
6903 * gdb.btrace/record_goto.exp: Choose test file based on target.
6904 * gdb.btrace/x86-record_goto.S: Renamed into ...
6905 * gdb.btrace/x86_64-record_goto.S: ... this.
6906 * gdb.btrace/i686-record_goto.S: New.
6907 * gdb.btrace/x86-tailcall.S: Renamed into ...
6908 * gdb.btrace/x86_64-tailcall.S: ... this.
6909 * gdb.btrace/i686-tailcall.S: New.
6910 * gdb.btrace/x86-tailcall.c: Renamed into ...
6911 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
6912 separate statements. Update test.
6913 * gdb.btrace/delta.exp: Use record_goto.c as test file.
6914 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
6915 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
6916 * gdb.btrace/tailcall.exp: Choose test file based on target.
6917 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
6918
6919 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6920
6921 * gdb.btrace/exception.exp: Increase BTS buffer size.
6922
6923 2015-03-24 Pedro Alves <palves@redhat.com>
6924
6925 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
6926
6927 2015-03-24 Pedro Alves <palves@redhat.com>
6928
6929 * gdb.threads/schedlock.exp (test_step): No longer expect that
6930 "set scheduler-locking step" with "next" over a function call runs
6931 threads unlocked.
6932
6933 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6934
6935 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
6936
6937 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6938
6939 PR breakpoints/16466
6940 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
6941 * gdb.mi/mi-pending.c (thread_func): New function.
6942 (int main): Add threading support required.
6943 * gdb.mi/mi-pending.exp: Add tests for this issue.
6944 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
6945 (pendfunc2): Remove stdio dependency.
6946 * gdb.mi/mi-pendshr2.c: New file.
6947
6948 2015-03-23 Keith Seitz <keiths@redhat.com>
6949
6950 * gdb.linespec/keywords.c: New file.
6951 * gdb.linespec/keywords.exp: New file.
6952
6953 2015-03-23 Keith Seitz <keiths@redhat.com>
6954
6955 PR gdb/18021
6956 * gdb.dwarf2/staticvirtual.exp: New test.
6957
6958 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6959
6960 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
6961 * README: Remove HP-UX and gdb.hp.
6962 (configuration):
6963 * configure: Regenerate.
6964 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
6965 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
6966 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
6967 gdb.hp/gdb.defects/Makefile.
6968 * gdb.hp/Makefile.in: File deleted.
6969 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
6970 * gdb.hp/gdb.aCC/optimize.c: File deleted.
6971 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
6972 * gdb.hp/gdb.aCC/run.c: File deleted.
6973 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
6974 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
6975 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
6976 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
6977 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
6978 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
6979 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
6980 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
6981 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
6982 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
6983 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
6984 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
6985 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
6986 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
6987 * gdb.hp/gdb.base-hp/reg.s: File deleted.
6988 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
6989 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
6990 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
6991 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
6992 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
6993 * gdb.hp/gdb.compat/Makefile.in: File deleted.
6994 * gdb.hp/gdb.compat/average.c: File deleted.
6995 * gdb.hp/gdb.compat/sum.c: File deleted.
6996 * gdb.hp/gdb.compat/xdb.c: File deleted.
6997 * gdb.hp/gdb.compat/xdb0.c: File deleted.
6998 * gdb.hp/gdb.compat/xdb0.h: File deleted.
6999 * gdb.hp/gdb.compat/xdb1.c: File deleted.
7000 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
7001 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
7002 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
7003 * gdb.hp/gdb.defects/Makefile.in: File deleted.
7004 * gdb.hp/gdb.defects/bs14602.c: File deleted.
7005 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
7006 * gdb.hp/gdb.defects/solib-d.c: File deleted.
7007 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
7008 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
7009 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
7010 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
7011 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
7012 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
7013 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
7014 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
7015 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
7016 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
7017 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
7018 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
7019 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
7020 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
7021 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
7022 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
7023 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
7024 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
7025 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
7026 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
7027 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
7028 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
7029 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
7030 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
7031 * gdb.hp/tools/odump: File deleted.
7032
7033 2015-03-19 Pedro Alves <palves@redhat.com>
7034
7035 * gdb.threads/continue-pending-status.exp (saw_thread_2)
7036 (saw_thread_3): New globals.
7037 (top level): Increment them when an event for the corresponding
7038 thread is seen.
7039 (no thread starvation): New test.
7040
7041 2015-03-19 Pedro Alves <palves@redhat.com>
7042
7043 * gdb.threads/continue-pending-status.c: New file.
7044 * gdb.threads/continue-pending-status.exp: New file.
7045
7046 2015-03-18 Pedro Alves <palves@redhat.com>
7047
7048 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7049 Use gdb_is_target_remote instead of is_remote. Use
7050 gdb_test_multiple instead of gdb_expect. Exit early if
7051 gdb_test_multiple hits its internal matches. Tighten stepi tests
7052 expected output. Fail on exit with any signal, instead of just
7053 SIGILL.
7054
7055 2015-03-18 Yao Qi <yao.qi@linaro.org>
7056
7057 PR tdep/18107
7058 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
7059 variable.
7060 * gdb.base/catch-syscall.exp: Don't skip it on
7061 aarch64*-*-linux* target. Remove elements in all_syscalls.
7062 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
7063 target.
7064 (setup_all_syscalls): New proc.
7065
7066 2015-03-16 Yao Qi <yao.qi@linaro.org>
7067
7068 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
7069 (top level): Skip tests if valid_addr_p returns false for
7070 $cmd1 or $cmd2.
7071
7072 2015-03-11 Andy Wingo <wingo@igalia.com>
7073
7074 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
7075
7076 2015-03-11 Yao Qi <yao.qi@linaro.org>
7077
7078 * gdb.base/catch-syscall.exp: Fix typo in comments.
7079
7080 2015-03-11 Yao Qi <yao.qi@linaro.org>
7081
7082 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
7083
7084 2015-03-09 Pedro Alves <palves@redhat.com>
7085
7086 * dg-extract-results.py: Delete.
7087
7088 2015-03-09 Pedro Alves <palves@redhat.com>
7089
7090 Merge dg-extract-results.sh from GCC upstream (r218843).
7091
7092 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
7093 * dg-extract-results.sh: Use --text with grep to avoid issues with
7094 binary files. Fall back to cat -v, if that doesn't work.
7095
7096 2015-03-05 Pedro Alves <palves@redhat.com>
7097
7098 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
7099
7100 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
7101
7102 * lib/mi-support.exp (mi_expect_interrupt): Accept
7103 alternative event for when in all-stop mode.
7104
7105 2015-03-04 Pedro Alves <palves@redhat.com>
7106
7107 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
7108
7109 2015-03-04 Mark Kettenis <kettenis@gnu.org>
7110
7111 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
7112
7113 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7114
7115 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
7116 regexps for GDB's current line display, accept a hex address
7117 preceding the line number.
7118
7119 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7120
7121 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
7122 the 'arch1' variable for "s390*-linux*" targets.
7123
7124 2015-03-04 Pedro Alves <palves@redhat.com>
7125
7126 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
7127 (main): Pass missing retval argument to pthread_join call.
7128
7129 2015-03-02 Pedro Alves <palves@redhat.com>
7130
7131 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
7132 (top level): Call do_test with non-stop as well.
7133
7134 2015-03-02 Pedro Alves <palves@redhat.com>
7135
7136 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
7137 -1.
7138
7139 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7140
7141 * gdb.arch/s390-vregs.exp: New test.
7142 * gdb.arch/s390-vregs.S: New file.
7143
7144 2015-02-27 Pedro Alves <palves@redhat.com>
7145
7146 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
7147 call to catch_command_errors.
7148 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
7149 catch_command_errors.
7150
7151 2015-02-27 Pedro Alves <palves@redhat.com>
7152
7153 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
7154 "true" for boolean result.
7155 * gdb.gdb/selftest.exp (test_with_self): Also accept full
7156 prototype of main.
7157
7158 2015-02-27 Pedro Alves <palves@redhat.com>
7159
7160 * lib/unbuffer_output.c: New file.
7161 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
7162 (main): Call gdb_unbuffer_output.
7163
7164 2015-02-27 Yao Qi <yao.qi@linaro.org>
7165
7166 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
7167 target.
7168
7169 2015-02-26 Doug Evans <dje@google.com>
7170
7171 * gdb.cp/class2.cc (Dbase, D): New classes.
7172 (main): New local delta.
7173 * gdb.cp/class2.exp: Test printing delta.
7174 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
7175 (dynbar): New global.
7176 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
7177
7178 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7179
7180 * gdb.compile/compile-ifunc.c: New file.
7181 * gdb.compile/compile-ifunc.exp: New file.
7182
7183 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
7184
7185 * gdb.base/structs.exp: Check for correct struct on finish.
7186
7187 2015-02-26 Yao Qi <yao.qi@linaro.org>
7188
7189 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
7190 is zero.
7191
7192 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7193
7194 * gdb.arch/cordic.ko.bz2: New file.
7195 * gdb.arch/cordic.ko.debug.bz2: New file.
7196 * gdb.arch/ppc64-symtab-cordic.exp: New file.
7197
7198 2015-02-25 Yao Qi <yao.qi@linaro.org>
7199
7200 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
7201 aarch64*-*-* target.
7202
7203 2015-02-23 Pedro Alves <palves@redhat.com>
7204
7205 * lib/gdb.exp (delete_breakpoints): Rewrite using
7206 gdb_test_multiple.
7207
7208 2015-02-23 Pedro Alves <palves@redhat.com>
7209
7210 * gdb.base/info-os.c: Include stdlib.h.
7211
7212 2015-02-22 Doug Evans <xdje42@gmail.com>
7213
7214 PR symtab/17855
7215 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
7216 is read after symbols have been re-read.
7217 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
7218 * gdb.ada/exec_changed/second.adb (Second): Ditto.
7219
7220 2015-02-21 Doug Evans <dje@google.com>
7221
7222 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
7223
7224 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7225
7226 PR corefiles/17808
7227 * gdb.arch/i386-biarch-core.core.bz2: New file.
7228 * gdb.arch/i386-biarch-core.exp: New file.
7229
7230 2015-02-21 Pedro Alves <palves@redhat.com>
7231
7232 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
7233 runto_main fails.
7234
7235 2015-02-20 Pedro Alves <palves@redhat.com>
7236
7237 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
7238 info probes.
7239
7240 2015-02-20 Pedro Alves <palves@redhat.com>
7241
7242 * gdb.threads/multi-create-ns-info-thr.exp: New file.
7243
7244 2015-02-20 Pedro Alves <palves@redhat.com>
7245
7246 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
7247 clean_restart before gdb_target_supports_trace.
7248
7249 2015-02-20 Pedro Alves <palves@redhat.com>
7250
7251 PR threads/18006
7252 * gdb.threads/clone-thread_db.c: New file.
7253 * gdb.threads/clone-thread_db.exp: New file.
7254
7255 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
7256
7257 PR breakpoints/16812
7258 * gdb.base/catch-gdb-caused-signals.c: New file.
7259 * gdb.base/catch-gdb-caused-signals.exp: New file.
7260
7261 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
7262
7263 * configure: Regenerated.
7264 * configure.ac: Use GDB_AC_TRANSFORM.
7265 * aclocal.m4: sinclude ../transform.m4.
7266
7267 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7268
7269 * lib/dtrace.exp: New file.
7270 * gdb.base/dtrace-probe.exp: Likewise.
7271 * gdb.base/dtrace-probe.d: Likewise.
7272 * gdb.base/dtrace-probe.c: Likewise.
7273 * lib/pdtrace.in: Likewise.
7274 * configure.ac: Output variables with the transformed names of
7275 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7276 * configure: Regenerated.
7277
7278 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7279
7280 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7281 expected message when trying to access $_probe_* convenience
7282 variables while not on a probe.
7283
7284 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7285
7286 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7287
7288 2015-02-11 Pedro Alves <pedro@codesourcery.com>
7289
7290 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7291 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7292
7293 2015-02-10 Doug Evans <xdje42@gmail.com>
7294
7295 * lib/gdb.exp (gdb_load): Always return a result.
7296
7297 2015-02-10 Pedro Alves <palves@redhat.com>
7298
7299 * gdb.threads/signal-sigtrap.c: New file.
7300 * gdb.threads/signal-sigtrap.exp: New file.
7301
7302 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7303
7304 * gdb.trace/no-attach-trace.c: New file.
7305 * gdb.trace/no-attach-trace.exp: New file.
7306
7307 2015-02-09 Mark Wielaard <mjw@redhat.com>
7308
7309 * gdb.dwarf2/atomic.c: New file.
7310 * gdb.dwarf2/atomic-type.exp: Likewise.
7311
7312 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7313
7314 * gdb.btrace/buffer-size.exp: Update "info record" output.
7315 * gdb.btrace/delta.exp: Update "info record" output.
7316 * gdb.btrace/enable.exp: Update "info record" output.
7317 * gdb.btrace/finish.exp: Update "info record" output.
7318 * gdb.btrace/instruction_history.exp: Update "info record" output.
7319 * gdb.btrace/next.exp: Update "info record" output.
7320 * gdb.btrace/nexti.exp: Update "info record" output.
7321 * gdb.btrace/step.exp: Update "info record" output.
7322 * gdb.btrace/stepi.exp: Update "info record" output.
7323 * gdb.btrace/nohist.exp: Update "info record" output.
7324
7325 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7326
7327 * gdb.btrace/buffer-size: New.
7328
7329 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7330
7331 * gdb.btrace/delta.exp: Update "info record" output.
7332 * gdb.btrace/enable.exp: Update "info record" output.
7333 * gdb.btrace/finish.exp: Update "info record" output.
7334 * gdb.btrace/instruction_history.exp: Update "info record" output.
7335 * gdb.btrace/next.exp: Update "info record" output.
7336 * gdb.btrace/nexti.exp: Update "info record" output.
7337 * gdb.btrace/step.exp: Update "info record" output.
7338 * gdb.btrace/stepi.exp: Update "info record" output.
7339 * gdb.btrace/nohist.exp: Update "info record" output.
7340
7341 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7342
7343 PR gdb/15678
7344 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7345
7346 2015-02-06 Pedro Alves <palves@redhat.com>
7347
7348 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7349 macro.
7350 (seconds_left, again): New globals.
7351 (main): Wait seconds_left in a 1-second sleep loop instead of
7352 sleeping 180 seconds. If 'again' is set, reset the seconds
7353 counter.
7354 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7355 'again' in the inferior before detaching. Print the seconds left.
7356 (options): New global.
7357 (top level): Build program with -DTIMEOUT=$timeout.
7358
7359 2015-02-06 Pedro Alves <palves@redhat.com>
7360
7361 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
7362 determine how many seconds to pass to 'alarm'.
7363 * gdb.base/gdb-sigterm.exp (top level): Build program with
7364 -DTIMEOUT=$timeout.
7365 (do_test): Return success/failure indication. Add more verbose
7366 logging. Don't fail if 200 single steps are seen. Instead, fail
7367 when the test times out.
7368 (passes): New global.
7369 (top level): Break the testing loop if testing fails on any
7370 iteration. Use gdb_assert.
7371
7372 2015-02-04 Don Breazeal <donb@codesourcery.com>
7373
7374 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
7375 and initialize them.
7376 (ipc_cleanup): New function.
7377 (main): Don't declare shmid, semid, and msqid. Add a call to
7378 atexit so that we call ipc_cleanup on exit.
7379
7380 2015-02-04 Pedro Alves <palves@redhat.com>
7381
7382 * boards/native-extended-gdbserver.exp: Remove any target variant
7383 specifications from the board name before clearing the isremote
7384 flag from board_info.
7385
7386 2015-01-31 Doug Evans <xdje42@gmail.com>
7387
7388 * gdb.base/maint.exp <maint print type argc>: Update expected output.
7389
7390 2015-01-31 Gary Benson <gbenson@redhat.com>
7391
7392 * gdb.base/completion.exp: Disable completion limiting for
7393 existing tests. Add new tests to check completion limiting.
7394 * gdb.linespec/ls-errs.exp: Disable completion limiting.
7395
7396 2015-01-31 Doug Evans <xdje42@gmail.com>
7397
7398 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
7399
7400 2015-01-31 Doug Evans <xdje42@gmail.com>
7401
7402 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
7403 entries. Duplicate file section script entries.
7404 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
7405 inlined entries. Add test for safe-path rejection.
7406 * gdb.python/py-section-script.c: Add duplicate inlined section script
7407 entries. Duplicate file section script entries.
7408 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
7409 inlined entries. Add test for safe-path rejection.
7410
7411 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7412
7413 * gdb.ada/disc_arr_bound: New testcase.
7414
7415 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7416
7417 * gdb.ada/mi_var_array: New testcase.
7418
7419 2015-01-27 Doug Evans <dje@google.com>
7420
7421 * gdb.python/py-objfile.exp: Add tests for objfile.username.
7422 Add test for objfile.filename, objfile.username after objfile
7423 has been unloaded.
7424
7425 2015-01-26 Joel Brobecker <brobecker@adacore.com>
7426
7427 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
7428 the second test to print the name attribute of value
7429 returned by the call to gdb.lookup_type, and adjust
7430 the expected output accordingly.
7431
7432 2015-01-25 Mark Wielaard <mjw@redhat.com>
7433
7434 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
7435 * gdb.base/disp-step-fork.c: Include unistd.h.
7436 * gdb.base/siginfo-obj.c: Include stdio.h.
7437 * gdb.base/siginfo-thread.c: Likewise.
7438 * gdb.mi/non-stop.c: Include unistd.h.
7439 * gdb.mi/nsthrexec.c: Include stdio.h.
7440 * gdb.mi/pthreads.c: Include unistd.h.
7441 * gdb.modula2/unbounded1.c (main): Declare returns int.
7442 * gdb.reverse/consecutive-reverse.c: Likewise.
7443 * gdb.threads/create-fail.c: Include unistd.h.
7444 * gdb.threads/killed.c: Likewise.
7445 * gdb.threads/linux-dp.c: Likewise.
7446 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
7447 * gdb.threads/non-ldr-exc-2.c: Likewise.
7448 * gdb.threads/non-ldr-exc-3.c: Likewise.
7449 * gdb.threads/non-ldr-exc-4.c: Likewise.
7450 * gdb.threads/pthreads.c: Include unistd.h.
7451 (main): Declare returns int.
7452 * gdb.threads/tls-main.c (foo): New declaration.
7453 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
7454
7455 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
7456
7457 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
7458 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
7459
7460 2015-01-15 Mark Wielaard <mjw@redhat.com>
7461
7462 * gdb.base/noreturn-return.c: New file.
7463 * gdb.base/noreturn-return.exp: New file.
7464 * gdb.base/noreturn-finish.c: New file.
7465 * gdb.base/noreturn-finish.exp: New file.
7466
7467 2015-01-23 Pedro Alves <palves@redhat.com>
7468
7469 * gdb.threads/continue-pending-after-query.c: New file.
7470 * gdb.threads/continue-pending-after-query.exp: New file.
7471
7472 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
7473 Simon Marchi <simon.marchi@ericsson.com>
7474
7475 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
7476 * gdb.base/valgrind-db-attach.exp: Same.
7477 * gdb.base/valgrind-infcall.exp: Same.
7478 * lib/mi-support.exp (default_mi_gdb_start): Same.
7479 * lib/prompt.exp (default_prompt_gdb_start): Same.
7480 * lib/gdb.exp (default_gdb_spawn): Same.
7481 (gdb_interact): New.
7482
7483
7484 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7485
7486 * gdb.compile/compile.exp (pointer to jit function): New test.
7487
7488 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
7489
7490 * lib/gdb.exp (supports_process_record): Return true for
7491 powerpc*-*-linux*.
7492 (supports_reverse): Likewise.
7493
7494 2015-01-15 Don Breazeal <donb@codesourcery.com>
7495
7496 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
7497 instead of checking whether the target board is remote and
7498 use spawn_wait_for_attach instead of exec/sleep.
7499 * gdb.base/attach-twice.exp: Likewise.
7500
7501 2015-01-15 Joel Brobecker <brobecker@adacore.com>
7502
7503 * gdb.ada/var_arr_attrs: New testcase.
7504
7505 2015-01-14 Pedro Alves <palves@redhat.com>
7506 Joel Brobecker <brobecker@adacore.com>
7507
7508 PR gdb/17525
7509 * gdb.base/bp-cmds-execution-x-script.c: New file.
7510 * gdb.base/bp-cmds-execution-x-script.exp: New file.
7511 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
7512
7513 2015-01-14 Pedro Alves <palves@redhat.com>
7514
7515 PR cli/17828
7516 * gdb.base/batch-preserve-term-settings.c: New file.
7517 * gdb.base/batch-preserve-term-settings.exp: New file.
7518
7519 2015-01-13 Doug Evans <dje@google.com>
7520
7521 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
7522 binary.
7523
7524 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7525
7526 * Makefile.in (clean mostlyclean): Do not delete *.py.
7527
7528 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7529
7530 * gdb.python/py-lookup-type.exp: New file.
7531
7532 2015-01-12 Pedro Alves <palves@redhat.com>
7533
7534 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
7535 restore GDBFLAGS before returning.
7536
7537 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7538
7539 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
7540 is_amd64_regs_target and is_x86_like_target.
7541
7542 2015-01-11 Doug Evans <xdje42@gmail.com>
7543
7544 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
7545 is given without an explicit form.
7546 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
7547 attributes.
7548 * gdb.dwarf/corrupt.exp: Ditto.
7549 * gdb.dwarf2/enum-type.exp: Ditto.
7550 * gdb.trace/entry-values.exp: Ditto.
7551 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
7552
7553 2015-01-11 Doug Evans <xdje42@gmail.com>
7554
7555 PR gdb/15830
7556 * gdb.base/maint.exp: Remove references to "maint demangle".
7557 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
7558 Add tests for explicitly specifying language to demangle.
7559 * gdb.dlang/demangle.exp: Ditto.
7560
7561 2015-01-09 Pedro Alves <palves@redhat.com>
7562
7563 * gdb.threads/non-stop-fair-events.c: New file.
7564 * gdb.threads/non-stop-fair-events.exp: New file.
7565
7566 2015-01-09 Pedro Alves <palves@redhat.com>
7567
7568 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
7569 the global scope. Set a breakpoint after all threads are started
7570 rather than stepping over two source lines. Expect the prompt.
7571 * gdb.base/watch_thread_num.c (threads_started_barrier): New
7572 global.
7573 (NUM): Now 15.
7574 (main): Use threads_started_barrier to wait for all threads to
7575 start. Main thread no longer calls thread_function. Exit after
7576 180 seconds.
7577 (loop): New function.
7578 (thread_function): Wait on threads_started_barrier barrier. Call
7579 'loop' at each iteration.
7580 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
7581 threads have started, instead of hardcoding number of "next"
7582 steps. Use an access watchpoint instead of a write watchpoint.
7583
7584 2015-01-09 Pedro Alves <palves@redhat.com>
7585
7586 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
7587 (thread_func): Wait on barrier.
7588 (main): Wait for all threads to start before stopping GDB.
7589 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
7590 global.
7591 (thread1_func, thread2_func): Wait on barrier.
7592 (main): Wait for all threads to start before stopping GDB.
7593 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
7594 New global.
7595 (thread1_func, thread2_func): Wait on barrier.
7596 (main): Wait for all threads to start before stopping GDB.
7597
7598 2015-01-09 Pedro Alves <palves@redhat.com>
7599
7600 * gdb.threads/attach-many-short-lived-threads.c: New file.
7601 * gdb.threads/attach-many-short-lived-threads.exp: New file.
7602
7603 2014-01-09 Pedro Alves <palves@redhat.com>
7604
7605 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
7606 instead of to thread 2.
7607 * gdb.threads/signal-command-multiple-signals-pending.c (main):
7608 Add barrier around each pthread_create call instead of around all
7609 calls.
7610 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
7611 Set a break on thread_function and have the child threads hit it
7612 one at at a time.
7613
7614 2015-01-09 Pedro Alves <palves@redhat.com>
7615
7616 * lib/gdb.exp (can_spawn_for_attach): New procedure.
7617 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
7618 false.
7619 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
7620 checking whether the target board is remote.
7621 * gdb.multi/multi-attach.exp: Likewise.
7622 * gdb.python/py-sync-interp.exp: Likewise.
7623 * gdb.server/ext-attach.exp: Likewise.
7624 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
7625 tests that need to attach, instead of checking whether the target
7626 board is remote at the top of the file.
7627
7628 2015-01-08 Yao Qi <yao@codesourcery.com>
7629
7630 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
7631
7632 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7633
7634 Fix testcase compilation.
7635 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
7636
7637 2015-01-06 Joel Brobecker <brobecker@adacore.com>
7638
7639 * gdb.python/py-type.exp: Add a couple test about empty
7640 array creation, and negative-length array creation.
7641
7642 2015-01-02 Doug Evans <xdje42@gmail.com>
7643
7644 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
7645
7646 2015-01-02 Doug Evans <dje@google.com>
7647
7648 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
7649
7650 2014-12-29 Yao Qi <yao@codesourcery.com>
7651
7652 * gdb.trace/entry-values.exp: Update comments. Rename variable
7653 bar_call_foo to returned_from_foo.
7654
7655 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
7656
7657 PR gdb/17394
7658 * gdb.linespec/break-asm-file.c: New file.
7659 * gdb.linespec/break-asm-file.exp: New file.
7660 * gdb.linespec/break-asm-file0.s: New file.
7661 * gdb.linespec/break-asm-file1.s: New file.
7662
7663 2014-12-18 Nigel Stephens <nigel@mips.com>
7664 Maciej W. Rozycki <macro@codesourcery.com>
7665
7666 * gdb.base/float.exp: Handle the new output from "info float" on
7667 MIPS targets.
7668
7669 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7670
7671 Fix MinGW compilation.
7672 * gdb.compile/compile-ops.exp: Update untested message if
7673 !skip_compile_feature_tests.
7674 * gdb.compile/compile-setjmp.exp: Likewise.
7675 * gdb.compile/compile-tls.exp: Likewise.
7676 * gdb.compile/compile.exp: Likewise.
7677 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
7678 supported on this host".
7679
7680 2014-12-16 Doug Evans <xdje42@gmail.com>
7681
7682 * boards/stabs.exp: New file.
7683
7684 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
7685
7686 * gdb.base/completion.exp: Adjust to format changes of "maint
7687 print user-registers".
7688
7689 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
7690
7691 PR server/17457
7692 * gdb.arch/aarch64-fp.c: New file.
7693 * gdb.arch/aarch64-fp.exp: New file.
7694
7695 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7696
7697 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
7698 r210637, r210913, r211666, r215400, r215817).
7699
7700 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
7701 * dg-extract-results.py: New file.
7702 * dg-extract-results.sh: Use it if the environment seems
7703 suitable.
7704
7705 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
7706
7707 * dg-extract-results.py (parse_run): Handle warnings that
7708 are printed before a test harness is run.
7709
7710 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
7711
7712 * dg-extract-results.py (Named): Remove __cmp__ method.
7713 (output_variation): Use a key to sort variation.harnesses.
7714
7715 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
7716
7717 * dg-extract-results.py: For Python 3, force sys.stdout to
7718 handle surrogate escape sequences.
7719 (safe_open): New function.
7720 (output_segment, main): Use it.
7721
7722 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
7723
7724 * dg-extract-results.py (Prog.result_re): Include options
7725 in test name.
7726
7727 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
7728
7729 * dg-extract-results.py (output_variation): Always sort if
7730 do_sum.
7731
7732 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
7733
7734 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
7735 as long as we get pagination notifications.
7736
7737 2014-12-15 Jason Merrill <jason@redhat.com>
7738
7739 * Makefile.in (check-gdb.%): Restore.
7740 * README: Mention it.
7741
7742 2014-12-13 Joel Brobecker <brobecker@adacore.com>
7743
7744 * gdb.ada/str_uninit: New testcase.
7745
7746 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7747
7748 PR symtab/17642
7749 * gdb.base/vla-stub-define.c: New file.
7750 * gdb.base/vla-stub.c: New file.
7751 * gdb.base/vla-stub.exp: New file.
7752
7753 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
7754 Jan Kratochvil <jan.kratochvil@redhat.com>
7755 Tom Tromey <tromey@redhat.com>
7756
7757 * configure.ac: Add gdb.compile/.
7758 * configure: Regenerate.
7759 * gdb.compile/Makefile.in: New file.
7760 * gdb.compile/compile-ops.exp: New file.
7761 * gdb.compile/compile-ops.c: New file.
7762 * gdb.compile/compile-tls.c: New file.
7763 * gdb.compile/compile-tls.exp: New file.
7764 * gdb.compile/compile-constvar.S: New file.
7765 * gdb.compile/compile-constvar.c: New file.
7766 * gdb.compile/compile-mod.c: New file.
7767 * gdb.compile/compile-nodebug.c: New file.
7768 * gdb.compile/compile-setjmp-mod.c: New file.
7769 * gdb.compile/compile-setjmp.c: New file.
7770 * gdb.compile/compile-setjmp.exp: New file.
7771 * gdb.compile/compile-shlib.c: New file.
7772 * gdb.compile/compile.c: New file.
7773 * gdb.compile/compile.exp: New file.
7774 * lib/gdb.exp (skip_compile_feature_tests): New proc.
7775
7776 2014-12-12 Tom Tromey <tromey@redhat.com>
7777
7778 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
7779 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
7780
7781 2014-12-12 Doug Evans <dje@google.com>
7782
7783 * lib/gdb-python.exp (get_python_valueof): New function.
7784 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
7785
7786 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7787
7788 * gdb.base/completion.exp: Add test for completion of "info
7789 registers ".
7790
7791 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
7792
7793 * gdb.base/func-ptrs.c: New file.
7794 * gdb.base/func-ptrs.exp: New file.
7795
7796 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7797
7798 PR breakpoints/17012
7799 * gdb.base/dprintf-detach.c: New file.
7800 * gdb.base/dprintf-detach.exp: New file.
7801
7802 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7803
7804 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
7805 * lib/gdb.exp (target_is_gdbserver): New procedure.
7806
7807 2014-12-08 Doug Evans <dje@google.com>
7808
7809 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
7810
7811 2014-12-05 Yao Qi <yao@codesourcery.com>
7812
7813 * gdb.guile/scm-error.exp: Remove the third argument to
7814 gdb_remote_download.
7815 * gdb.guile/scm-frame-args.exp: Likewise.
7816 * gdb.guile/scm-section-script.exp: Likewise.
7817
7818 2014-12-05 Yao Qi <yao@codesourcery.com>
7819
7820 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
7821
7822 2014-12-04 Doug Evans <dje@google.com>
7823
7824 * gdb.python/py-objfile.exp: Add tests for
7825 objfile.add_separate_debug_file.
7826
7827 2014-12-04 Doug Evans <dje@google.com>
7828
7829 * lib/gdb.exp (get_build_id): New function.
7830 (build_id_debug_filename_get): Rewrite to use it.
7831 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
7832
7833 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
7834
7835 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
7836 `method(long)', not just 0x0.
7837 * gdb.cp/nsalias.exp: Align code labels to 4.
7838 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
7839 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
7840 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
7841 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
7842 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
7843 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
7844
7845 2014-12-02 Doug Evans <dje@google.com>
7846
7847 PR symtab/17602
7848 * gdb.cp/anon-ns.cc: Move guts of this file to ...
7849 * gdb.cp/anon-ns2.cc: ... here. New file.
7850 * gdb.cp/anon-ns.exp: Update.
7851
7852 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
7853
7854 * gdb.python/py-events.py (inferior_call_handler): New.
7855 (register_changed_handler, memory_changed_handler): New.
7856 (test_events.invoke): Register new handlers.
7857 * gdb.python/py-events.exp: Add tests for inferior call,
7858 memory_changed and register_changed events.
7859
7860 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7861
7862 * gdb.base/execl-update-breakpoints.exp: Specify the link address
7863 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
7864 if the linker doesn't understand this.
7865
7866 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
7867
7868 * gdb.python/python.exp: Change expected reply to help().
7869
7870 2014-12-01 Yao Qi <yao@codesourcery.com>
7871
7872 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
7873 AC_CONFIG_SUBDIRS(gdb.gdbtk).
7874 * configure: Re-generated.
7875
7876 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
7877
7878 * gdb.cp/chained-calls.cc: New file.
7879 * gdb.cp/chained-calls.exp: New file.
7880 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
7881
7882 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
7883
7884 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
7885 * gdb.dwarf2/symtab-producer.exp: Same.
7886 * gdb.gdb/python-interrupts.exp: Same.
7887 * gdb.gdb/python-selftest.exp: Same.
7888 * gdb.python/py-linetable.exp: Same.
7889 * gdb.python/py-type.exp: Same.
7890 * gdb.python/py-value-cc.exp: Same.
7891 * gdb.python/py-value.exp: Same.
7892
7893 2014-11-28 Yao Qi <yao@codesourcery.com>
7894
7895 * gdb.base/break-probes.exp: Match library name prefixed with
7896 sysroot.
7897
7898 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
7899
7900 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
7901 test expected output. Add parentheses for the call to print.
7902 Remove L suffix from integers.
7903
7904 2014-11-26 Doug Evans <dje@google.com>
7905
7906 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
7907
7908 2014-11-22 Yao Qi <yao@codesourcery.com>
7909
7910 * gdb.trace/entry-values.c: Remove asms.
7911 (foo): Add foo_label.
7912 (bar): Add bar_label.
7913 * gdb.trace/entry-values.exp: Remove code computing foo's
7914 length and bar's length.
7915 (Dwarf::assemble): Invoke function_range for bar and use
7916 MACRO_AT_func for foo.
7917
7918 2014-11-22 Yao Qi <yao@codesourcery.com>
7919
7920 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
7921 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
7922 Use .Lgcc43_procstart instead of gcc43.
7923
7924 2014-11-21 Joel Brobecker <brobecker@adacore.com>
7925
7926 * gdb.ada/n_arr_bound: New testcase.
7927
7928 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
7929
7930 PR breakpoints/10737
7931 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
7932 test_catch_syscall_multi_arch.
7933 (test_catch_syscall_multi_arch): New function.
7934
7935 2014-11-20 Doug Evans <xdje42@gmail.com>
7936
7937 * gdb.base/maint.exp: Update expected output.
7938
7939 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7940
7941 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
7942 4-byte instruction on S390.
7943
7944 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7945
7946 * gdb.ada/arr_arr: New testcase.
7947
7948 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7949
7950 * gdb.ada/pkd_arr_elem: New Testcase.
7951
7952 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
7953
7954 * gdb.reverse/break-precsave: Expect completion message for
7955 core file reads.
7956 * gdb.reverse/consecutive-precsave.exp: Likewise.
7957 * gdb.reverse/finish-precsave.exp: Likewise.
7958 * gdb.reverse/i386-precsave.exp: Likewise.
7959 * gdb.reverse/machinestate-precsave.exp: Likewise.
7960 * gdb.reverse/sigall-precsave.exp: Likewise.
7961 * gdb.reverse/solib-precsave.exp: Likewise.
7962 * gdb.reverse/step-precsave.exp: Likewise.
7963 * gdb.reverse/until-precsave.exp: Likewise.
7964 * gdb.reverse/watch-precsave.exp: Likewise.
7965
7966 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7967
7968 * gdb.base/bp-permanent.c: Include unistd.h.
7969 * gdb.python/py-framefilter-mi.c (main): Add return type.
7970 * gdb.python/py-framefilter.c (main): Likewise.
7971 * gdb.trace/actions-changed.c (main): Likewise.
7972
7973 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7974
7975 * gdb.mi/until.c: Add eye-catchers.
7976 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
7977 line numbers.
7978
7979 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7980
7981 * gdb.base/condbreak.exp: Drop references to removed non-prototype
7982 function header variants in break1.c.
7983 * gdb.base/ena-dis-br.exp: Likewise.
7984 * gdb.base/hbreak2.exp: Likewise.
7985 * gdb.reverse/until-precsave.exp: Drop references to removed
7986 non-prototype function header variants in ur1.c.
7987 * gdb.reverse/until-reverse.exp: Likewise.
7988
7989 2014-11-17 Petr Machata <pmachata@redhat.com>
7990
7991 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
7992 ${_cu_offset_size} bytes abbrev offset.
7993
7994 2014-11-15 Doug Evans <xdje42@gmail.com>
7995
7996 PR symtab/17559
7997 * gdb.base/line-symtabs.exp: New file.
7998 * gdb.base/line-symtabs.c: New file.
7999 * gdb.base/line-symtabs.h: New file.
8000
8001 2014-11-14 Yao Qi <yao@codesourcery.com>
8002
8003 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
8004 (func): Add label func_label.
8005 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
8006 Replace low_pc and high_pc with MACRO_AT_range.
8007 Replace name, low_pc and high_pc with MACRO_AT_func.
8008
8009 2014-11-14 Yao Qi <yao@codesourcery.com>
8010
8011 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
8012 Replace name, low_pc and high_pc with MACRO_AT_func.
8013
8014 2014-11-14 Yao Qi <yao@codesourcery.com>
8015
8016 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
8017 produce debug information.
8018 * gdb.dwarf2/implptr-optimized-out.S: Removed.
8019
8020 2014-11-14 Yao Qi <yao@codesourcery.com>
8021
8022 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
8023 object and get function length.
8024 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
8025 with MACRO_AT_func.
8026 (top-level): Replace gdb_compile and clean_restart with
8027 prepare_for_testing.
8028 * gdb.dwarf2/main.c (main): Add label main_label.
8029
8030 2014-11-14 Yao Qi <yao@codesourcery.com>
8031
8032 * lib/dwarf.exp (function_range): New procedure.
8033 (Dwarf::_handle_macro_at_func): New procedure.
8034 (Dwarf::_handle_macro_at_range): New procedure.
8035 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
8036
8037 2014-11-14 Yao Qi <yao@codesourcery.com>
8038
8039 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
8040 (_handle_attribute): New procedure.
8041
8042 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8043
8044 * gdb.ada/cond_lang/foo.c (callme): Add return type.
8045 * gdb.base/call-sc.c (zed): Likewise.
8046 * gdb.base/checkpoint.c (main): Likewise.
8047 * gdb.base/dump.c (main): Likewise.
8048 * gdb.base/gcore.c (main): Likewise.
8049 * gdb.base/huge.c (main): Likewise.
8050 * gdb.base/multi-forks.c (main): Likewise.
8051 * gdb.base/pr10179-a.c (main): Likewise.
8052 * gdb.base/savedregs.c (main): Likewise.
8053 * gdb.base/sigaltstack.c (main): Likewise.
8054 * gdb.base/siginfo.c (main): Likewise.
8055 * gdb.base/structs.c (zed): Likewise.
8056 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
8057 * gdb.mi/mi-syn-frame.c (main): Likewise.
8058 * gdb.mi/until.c (foo, main): Likewise.
8059 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
8060 * gdb.base/solib-weak.c (foo): Declare.
8061 * gdb.base/attach-twice.c: Include stdio.h.
8062 * gdb.base/weaklib1.c: Likewise.
8063 * gdb.base/weaklib2.c: Likewise.
8064 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
8065 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
8066 unistd.h.
8067 * gdb.base/attach-pie-misread.c: Include stdlib.h.
8068 * gdb.mi/mi-exit-code.c: Likewise.
8069 * gdb.base/break-interp-lib.c: Include string.h.
8070 * gdb.base/coremaker.c: Likewise.
8071 * gdb.base/testenv.c: Likewise.
8072 * gdb.python/py-finish-breakpoint.c: Likewise.
8073 * gdb.base/inferior-died.c: Include sys/wait.h.
8074 * gdb.base/fileio.c: Include time.h.
8075 * gdb.base/async-shell.c: Include unistd.h.
8076 * gdb.base/dprintf-non-stop.c: Likewise.
8077 * gdb.base/info-os.c: Likewise.
8078 * gdb.mi/mi-console.c: Likewise.
8079 * gdb.mi/watch-nonstop.c: Likewise.
8080 * gdb.python/py-events.c: Likewise.
8081 * gdb.base/async.c (baz): Move up before its invocation.
8082 * gdb.base/code_elim2.c (my_global_func): Likewise.
8083 * gdb.base/skip-solib-lib.c (multiply): Likewise.
8084 * gdb.base/advance.c (func2): Likewise.
8085
8086 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8087
8088 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
8089 variant.
8090 * gdb.base/annota3.c: Likewise.
8091 * gdb.base/async.c: Likewise.
8092 * gdb.base/average.c: Likewise.
8093 * gdb.base/call-ar-st.c: Likewise.
8094 * gdb.base/call-rt-st.c: Likewise.
8095 * gdb.base/call-sc.c: Likewise.
8096 * gdb.base/call-strs.c: Likewise.
8097 * gdb.base/ending-run.c: Likewise.
8098 * gdb.base/execd-prog.c: Likewise.
8099 * gdb.base/exprs.c: Likewise.
8100 * gdb.base/foll-exec.c: Likewise.
8101 * gdb.base/foll-fork.c: Likewise.
8102 * gdb.base/foll-vfork.c: Likewise.
8103 * gdb.base/funcargs.c: Likewise.
8104 * gdb.base/gcore.c: Likewise.
8105 * gdb.base/jump.c: Likewise.
8106 * gdb.base/langs0.c: Likewise.
8107 * gdb.base/langs1.c: Likewise.
8108 * gdb.base/langs2.c: Likewise.
8109 * gdb.base/mips_pro.c: Likewise.
8110 * gdb.base/nodebug.c: Likewise.
8111 * gdb.base/opaque0.c: Likewise.
8112 * gdb.base/opaque1.c: Likewise.
8113 * gdb.base/recurse.c: Likewise.
8114 * gdb.base/run.c: Likewise.
8115 * gdb.base/scope0.c: Likewise.
8116 * gdb.base/scope1.c: Likewise.
8117 * gdb.base/setshow.c: Likewise.
8118 * gdb.base/setvar.c: Likewise.
8119 * gdb.base/shmain.c: Likewise.
8120 * gdb.base/shr1.c: Likewise.
8121 * gdb.base/shr2.c: Likewise.
8122 * gdb.base/sigall.c: Likewise.
8123 * gdb.base/signals.c: Likewise.
8124 * gdb.base/so-indr-cl.c: Likewise.
8125 * gdb.base/solib2.c: Likewise.
8126 * gdb.base/structs.c: Likewise.
8127 * gdb.base/sum.c: Likewise.
8128 * gdb.base/vforked-prog.c: Likewise.
8129 * gdb.base/watchpoint.c: Likewise.
8130 * gdb.reverse/shr2.c: Likewise.
8131 * gdb.reverse/until-reverse.c: Likewise.
8132 * gdb.reverse/ur1.c: Likewise.
8133 * gdb.reverse/watch-reverse.c: Likewise.
8134
8135 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8136
8137 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
8138 variant.
8139 * gdb.base/sepdebug.exp: Drop references to removed code.
8140
8141 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8142
8143 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
8144 variant. Preserve original line numbering.
8145 * gdb.base/list1.c: Likewise.
8146
8147 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8148
8149 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
8150 variant.
8151 * gdb.base/break1.c: Likewise.
8152 * gdb.base/break.exp: Drop references to removed code.
8153
8154 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8155
8156 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
8157 variant.
8158
8159 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8160
8161 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
8162
8163 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8164
8165 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
8166 logic into perform_all_tests() and invoke it with and without
8167 function header prototypes.
8168 (do_function_calls): Remove conditional XFAIL for PR 5318.
8169 (rerun_and_prepare): Remove duplicate code.
8170 (perform_all_tests): New. Main logic moved here.
8171
8172 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8173
8174 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
8175 code guarded by #ifdef NO_PROTOTYPES.
8176 (t_double_many_args): Likewise.
8177 (DEF_FUNC_MANY_ARGS_1): Likewise.
8178 (DEF_FUNC_VALUES_1): Likewise.
8179 (t_structs_ldc): Renamed from t_structs_fc in conditional code
8180 guarded by #ifdef PROTOTYPES.
8181
8182 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8183
8184 * gdb.mi/mi-console.c: Add eye-catcher.
8185 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
8186 instead of literal line number.
8187
8188 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8189
8190 * gdb.base/shr2.c: Add eye-catcher.
8191 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
8192 line number.
8193
8194 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8195
8196 * gdb.base/jump.c: Add eye-catchers.
8197 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
8198 numbers.
8199
8200 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8201
8202 * gdb.base/execd-prog.c: Add eye-catchers.
8203 * gdb.base/foll-exec.c: Likewise.
8204 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
8205 line numbers.
8206
8207 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8208
8209 * gdb.base/ending-run.c: Add eye-catchers.
8210 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
8211 literal line numbers.
8212
8213 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8214
8215 * gdb.base/call-rt-st.c: Add eye-catchers.
8216 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
8217 literal line numbers.
8218
8219 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8220
8221 * gdb.base/call-ar-st.c: Add eye-catchers.
8222 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
8223 literal line numbers.
8224
8225 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8226
8227 * gdb.base/average.c: Add eye-catchers.
8228 * gdb.base/sum.c: Likewise.
8229 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
8230 regexps dynamically.
8231
8232 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8233
8234 * gdb.base/solib1.c: Add eye-catchers.
8235 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
8236 literal line numbers.
8237
8238 2014-11-12 Pedro Alves <palves@redhat.com>
8239
8240 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
8241 leader has exited.
8242
8243 2014-11-12 Pedro Alves <palves@redhat.com>
8244
8245 * gdb.arch/i386-bp_permanent.c: New file.
8246 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
8247 (srcfile): Set to i386-bp_permanent.c.
8248 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
8249 that stepi does not execute the 'leave' instruction, instead of
8250 testing it does execute.
8251 * gdb.base/bp-permanent.c: New file.
8252 * gdb.base/bp-permanent.exp: New file.
8253
8254 2014-11-10 Doug Evans <xdje42@gmail.com>
8255
8256 PR symtab/17564
8257 * gdb.base/symtab-search-order.exp: New file.
8258 * gdb.base/symtab-search-order.c: New file.
8259 * gdb.base/symtab-search-order-1.c: New file.
8260 * gdb.base/symtab-search-order-shlib-1.c: New file.
8261
8262 2014-11-07 Pedro Alves <palves@redhat.com>
8263
8264 PR gdb/17511
8265 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8266 i?86-*-linux*.
8267
8268 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8269
8270 PR c++/17494
8271 * gdb.cp/pr17494.cc: New file.
8272 * gdb.cp/pr17494.exp: New file.
8273
8274 2014-11-02 Yao Qi <yao@codesourcery.com>
8275
8276 * gdb.python/python.exp: Get working directory and match the
8277 output of "set extended-prompt \\w " with it.
8278
8279 2014-10-30 Doug Evans <dje@google.com>
8280
8281 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8282 in objfiles.
8283 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8284 in progspaces.
8285
8286 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
8287
8288 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8289 * gdb.base/realname-expand.exp: Likewise.
8290 * gdb.linespec/macro-relative.exp: Likewise.
8291
8292 2014-10-29 Pedro Alves <palves@redhat.com>
8293
8294 PR gdb/17408
8295 * gdb.threads/schedlock.c (some_function): New function.
8296 (call_function): New global.
8297 (MAYBE_CALL_SOME_FUNCTION): New macro.
8298 (thread_function): Call it.
8299 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8300 and use it instead of a global counter. Adjust all callers.
8301 (get_current_thread): Use "find current thread" for test message
8302 here rather than having all callers pass down the same string.
8303 (goto_loop): New procedure, factored out from ...
8304 (my_continue): ... this.
8305 (step_ten_loops): Change parameter from test message to command to
8306 use. Adjust.
8307 (list_count): Delete global.
8308 (check_result): New procedure, factored out from duplicate top
8309 level code.
8310 (continue tests): Wrap in with_test_prefix.
8311 (test_step): New procedure, factored out from duplicate top level
8312 code.
8313 (top level): Test "step" in combination with all scheduler-locking
8314 modes. Test "next" in combination with all scheduler-locking
8315 modes, and in combination with stepping over a function call or
8316 not.
8317 * gdb.threads/next-bp-other-thread.c: New file.
8318 * gdb.threads/next-bp-other-thread.exp: New file.
8319
8320 2014-10-29 Pedro Alves <palves@redhat.com>
8321
8322 PR python/17372
8323 * gdb.python/python.exp: Test a multi-line command that spawns
8324 interactive Python.
8325 * gdb.base/multi-line-starts-subshell.exp: New file.
8326
8327 2014-10-29 Yao Qi <yao@codesourcery.com>
8328
8329 * gdb.base/fileio.exp: Make directories on host.
8330
8331 2014-10-29 Yao Qi <yao@codesourcery.com>
8332
8333 * gdb.base/fileio.c (test_write): Close the file.
8334
8335 2014-10-28 Pedro Alves <palves@redhat.com>
8336
8337 PR gdb/12623
8338 * gdb.base/sigstep.c (no_handler): New global.
8339 (main): If 'no_handler is true, set the signal handlers to
8340 SIG_IGN.
8341 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8342 with_sw_watch and no_handler parameters. Handle them.
8343 (top level) <stepping over handler when stopped at a breakpoint
8344 test>: Add a test axis for testing with a software watchpoint, and
8345 another for testing with the signal handler set to SIG_IGN.
8346 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8347 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8348
8349 2014-10-28 Pedro Alves <palves@redhat.com>
8350
8351 PR gdb/17511
8352 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8353 * gdb.base/sigstep.exp (other_handler_location): New global.
8354 (advance): Support stepping into the signal handler, and running
8355 commands while in the handler.
8356 (in_handler_map): New global.
8357 (top level): In the advance test, add combinations for getting
8358 into the handler with stepping commands, and for running commands
8359 in the handler. Add comment descripting the advancei tests.
8360
8361 2014-10-28 Pedro Alves <palves@redhat.com>
8362
8363 * gdb.base/sigstep.exp: Use build_executable instead of
8364 prepare_for_testing.
8365 (top level): Move code that starts GDB, runs to main and creates a
8366 display to ...
8367 (restart): ... this new procedure.
8368 (top level): Move backtrace from signal handler test to ...
8369 (validate_backtrace): ... this new procedure.
8370 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
8371 with_test_prefix. Always restart GDB.
8372 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
8373 with_test_prefix. Always restart GDB. No need to delete
8374 breakpoints after the test.
8375 (test_skip_handler): Remove prefix parameter.
8376 (skip_over_handler, breakpoint_to_handler)
8377 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
8378 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
8379 restart GDB. No need to delete breakpoints after the test.
8380 (top level): Use foreach to call the test procedures with
8381 different commands.
8382
8383 2014-10-28 Pedro Alves <palves@redhat.com>
8384
8385 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
8386 instead of GNATS numbers.
8387 * gdb.base/sigbpt.exp: Likewise.
8388 * gdb.base/siginfo.exp: Likewise.
8389 * gdb.base/sigstep.exp: Likewise.
8390
8391 2014-10-27 Pedro Alves <palves@redhat.com>
8392
8393 * gdb.base/sigstep.c (dummy): New global.
8394 (main): Issue a couple writes to the new global.
8395 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
8396 procedures.
8397 (skip_over_handler): Use test_skip_handler.
8398 (top level): Call skip_over_handler for stepi and nexti too.
8399 (breakpoint_over_handler): Use test_skip_handler.
8400 (top level): Call breakpoint_over_handler for stepi and nexti too.
8401
8402 2014-10-27 Yao Qi <yao@codesourcery.com>
8403
8404 * gdb.trace/tfile.c (adjust_function_address)
8405 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
8406 function descriptor.
8407
8408 2014-10-24 Don Breazeal <donb@codesourcery.com>
8409
8410 * gdb.base/foll-fork.exp (test_follow_fork,
8411 catch_fork_child_follow): Check for updated fork messages emitted
8412 from infrun.c.
8413 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
8414 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
8415 vfork_and_exec_child_follow_through_step): Check for updated vfork
8416 messages emitted from infrun.c.
8417
8418 2014-10-24 Pedro Alves <palves@redhat.com>
8419
8420 * gdb.base/corefile.exp: Remove references to ultrix.
8421 * gdb.base/interrupt.exp: Likewise.
8422 * gdb.base/whatis.exp: Likewise.
8423 * gdb.gdb/selftest.exp: Likewise.
8424 * gdb.threads/manythreads.exp: Likewise.
8425 * gdb.threads/print-threads.exp: Likewise.
8426 * gdb.threads/pthreads.exp:: Likewise.
8427 * gdb.threads/schedlock.exp: Likewise.
8428
8429 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
8430
8431 * gdb.cp/non-trivial-retval.cc: Add a test case.
8432 * gdb.cp/non-trivial-retval.exp: Add a test.
8433
8434 2014-10-20 Yao Qi <yao@codesourcery.com>
8435
8436 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
8437 * gdb.python/py-objfile-script-gdb.py: New file.
8438 * gdb.python/py-objfile-script.exp: Update reference to
8439 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
8440 of remote_download. Remove the dest file.
8441
8442 2014-10-20 Yao Qi <yao@codesourcery.com>
8443
8444 * gdb.base/checkpoint.exp: Don't remove file copied on host.
8445 * gdb.base/step-line.exp: Likewise.
8446 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8447 * gdb.dwarf2/dw2-basic.exp: Likewise.
8448 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8449 * gdb.dwarf2/dw2-filename.exp: Likewise.
8450 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8451 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8452 * gdb.dwarf2/dw2-producer.exp: Likewise.
8453 * gdb.dwarf2/mac-fileno.exp: Likewise.
8454 * gdb.python/py-frame-args.exp: Likewise.
8455 * gdb.python/py-framefilter.exp: Likewise.
8456 * gdb.python/py-mi.exp: Likewise.
8457 * gdb.python/py-objfile-script.exp: Likewise
8458 * gdb.python/py-pp-integral.exp: Likewise.
8459 * gdb.python/py-pp-re-notag.exp: Likewise.
8460 * gdb.python/py-prettyprint.exp: Likewise.
8461 * gdb.python/py-section-script.exp: Likewise.
8462 * gdb.python/py-typeprint.exp: Likewise.
8463 * gdb.python/py-xmethods.exp: Likewise.
8464 * gdb.stabs/weird.exp: Likewise.
8465 * gdb.xml/tdesc-regs.exp: Likewise.
8466
8467 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
8468
8469 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
8470 (out_cu): Use addr_len for the size of addresses.
8471 (out_line): Likewise. Size DW_LNE_set_address instruction
8472 according to addr_len.
8473 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
8474 (FUNC): Add START_INSNS to definition.
8475
8476 2014-10-18 Yao Qi <yao@codesourcery.com>
8477
8478 * gdb.base/argv0-symlink.exp: Check argv[0] value if
8479 gdb_has_argv0 return true.
8480 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
8481 check [target_info exists noargs], check [gdb_has_argv0]
8482 instead.
8483 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8484 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
8485 procedures.
8486
8487 2014-10-17 Doug Evans <dje@google.com>
8488
8489 * gdb.python/py-events.exp: Update expected output for clear_objfiles
8490 event.
8491 * gdb.python/py-events.py: Add clear_objfiles event.
8492
8493 2014-10-17 Doug Evans <dje@google.com>
8494
8495 * gdb.python/py-objfile.exp: Test progspace attribute.
8496
8497 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
8498
8499 * gdb.guile/scm-breakpoint.exp: Do not assume any
8500 directory separators when matching source file paths.
8501 * gdb.python/py-breakpoint.exp: Likewise.
8502 * gdb.reverse/break-precsave.exp: Likewise.
8503 * gdb.reverse/break-reverse.exp: Likewise.
8504 * gdb.reverse/consecutive-precsave.exp: Likewise.
8505 * gdb.reverse/finish-precsave.exp: Likewise.
8506 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8507 * gdb.reverse/finish-reverse.exp: Likewise.
8508 * gdb.reverse/i386-precsave.exp: Likewise.
8509 * gdb.reverse/i387-env-reverse.exp: Likewise.
8510 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8511 * gdb.reverse/machinestate-precsave.exp: Likewise.
8512 * gdb.reverse/machinestate.exp: Likewise.
8513 * gdb.reverse/sigall-precsave.exp: Likewise.
8514 * gdb.reverse/solib-precsave.exp: Likewise.
8515 * gdb.reverse/step-precsave.exp: Likewise.
8516 * gdb.reverse/until-precsave.exp: Likewise.
8517 * gdb.reverse/watch-precsave.exp: Likewise.
8518 * gdb.reverse/watch-reverse.exp: Likewise.
8519
8520 2014-10-17 Yao Qi <yao@codesourcery.com>
8521
8522 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
8523 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
8524
8525 2014-10-17 Pedro Alves <palves@redhat.com>
8526
8527 PR gdb/17471
8528 * gdb.base/bg-execution-repeat.c: New file.
8529 * gdb.base/bg-execution-repeat.exp: New file.
8530
8531 2014-10-17 Pedro Alves <palves@redhat.com>
8532
8533 PR gdb/17300
8534 * gdb.base/continue-all-already-running.c: New file.
8535 * gdb.base/continue-all-already-running.exp: New file.
8536
8537 2014-10-17 Pedro Alves <palves@redhat.com>
8538
8539 PR gdb/17472
8540 * gdb.base/annota-input-while-running.c: New file.
8541 * gdb.base/annota-input-while-running.exp: New file.
8542
8543 2014-10-17 Pedro Alves <palves@redhat.com>
8544
8545 * gdb.base/callfuncs.exp: emove references to osf.
8546 * gdb.base/sigall.exp: Likewise.
8547 * gdb.gdb/selftest.exp: Likewise.
8548 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
8549 * gdb.mi/non-stop.c: Likewise.
8550 * gdb.mi/pthreads.c: Likewise.
8551 * gdb.reverse/sigall-precsave.exp: Likewise.
8552 * gdb.reverse/sigall-reverse.exp: Likewise.
8553 * gdb.threads/pthreads.c: Likewise.
8554 * gdb.threads/pthreads.exp: Likewise.
8555
8556 2014-10-17 Yao Qi <yao@codesourcery.com>
8557
8558 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
8559 check 'target_info exists noargs'.
8560 (test_command_prompt_position): Likewise.
8561 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
8562 Remove "set args".
8563 (progvar_simple_while_test): Likewise.
8564 (progvar_complex_if_while_test): Likewise.
8565 (if_while_breakpoint_command_test): Likewise.
8566 (infrun_breakpoint_command_test): Likewise.
8567 (breakpoint_command_test): Likewise.
8568 (watchpoint_command_test): Likewise.
8569 (bp_deleted_in_command_test): Likewise.
8570 (temporary_breakpoint_commands): Likewise.
8571
8572 2014-10-16 Yao Qi <yao@codesourcery.com>
8573
8574 * gdb.base/remotetimeout.exp: Remove noargs checking.
8575
8576 2014-10-15 Pedro Alves <palves@redhat.com>
8577
8578 PR breakpoints/9649
8579 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
8580 * gdb.base/breakpoint-in-ro-region.exp
8581 (probe_target_hardware_step): New procedure.
8582 (top level): Probe hardware stepping and hardware breakpoint
8583 support. Test stepping through a read-only region, with both
8584 "breakpoint auto-hw" on and off and both "always-inserted" on and
8585 off.
8586
8587 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
8588
8589 * gdb.dlang/demangle.exp: Update for demangling changes.
8590
8591 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8592
8593 * gdb.cp/non-trivial-retval.cc: Add new test cases.
8594 * gdb.cp/non-trivial-retval.exp: Add new tests.
8595
8596 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8597
8598 PR c++/13403
8599 PR c++/15154
8600 * gdb.cp/non-trivial-retval.cc: New file.
8601 * gdb.cp/non-trivial-retval.exp: New file.
8602
8603 2014-10-15 Yao Qi <yao@codesourcery.com>
8604
8605 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
8606 remote host.
8607
8608 2014-10-15 Yao Qi <yao@codesourcery.com>
8609
8610 * gdb.python/py-symbol.exp: Match file base name if host is
8611 remote, otherwise match file name with dir name.
8612 * gdb.python/py-symtab.exp: Likewise.
8613 * gdb.python/python.exp: Likewise.
8614
8615 2014-10-15 Yao Qi <yao@codesourcery.com>
8616
8617 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
8618 pattern.
8619 * gdb.python/py-symtab.exp: Likewise.
8620 * gdb.python/python.exp: Remove trailing ".*". Fix typo
8621 locationn.
8622
8623 2014-10-14 Joel Brobecker <brobecker@adacore.com>
8624
8625 * gdb.ada/addr_arith: New testcase.
8626
8627 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
8628
8629 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
8630 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
8631 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
8632 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
8633
8634 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
8635
8636 * gdb.arch/stap-eval-lang-ada.S: Likewise.
8637 * gdb.arch/stap-eval-lang-ada.c: Likewise.
8638 * gdb.arch/stap-eval-lang-ada.exp: New file.
8639
8640 2014-10-14 Yao Qi <yao@codesourcery.com>
8641
8642 * gdb.mi/mi-var-child.c (nothing1): New function.
8643 (nothing2): New function.
8644 (do_children_tests): Set function pointers by nothing1 and
8645 nothing2.
8646 * gdb.mi/mi-var-child.exp: Step over new added statements.
8647 Update test to match the new output.
8648 * gdb.mi/var-cmd.c (nothing1): New function.
8649 (nothing2): New function.
8650 (do_children_tests): Set function pointers by nothing1 and
8651 nothing2.
8652 * gdb.mi/mi-var-display.exp: Update test to match output.
8653 Step to the line specified by $line_dct_nothing.
8654 Increase the number of lines to step.
8655
8656 2014-10-14 Yao Qi <yao@codesourcery.com>
8657
8658 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
8659 tests.
8660 * gdb.mi/mi2-var-child.exp: Likewise.
8661
8662 2014-10-13 Doug Evans <dje@google.com>
8663
8664 * gdb.python/py-objfile.exp: Change name of file name test.
8665
8666 2014-10-13 Doug Evans <dje@google.com>
8667
8668 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
8669 from the start of the CU.
8670
8671 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8672 Yao Qi <yao@codesourcery.com>
8673
8674 Fix "save breakpoints" for "catch" command.
8675 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
8676 Remove -nonewline. Match also the added "main" line.
8677
8678 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8679
8680 Fix "save breakpoints" for "disable $bpnum" command.
8681 * gdb.base/save-bp.c (main): Add label.
8682 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
8683
8684 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8685
8686 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
8687
8688 2014-10-11 Yao Qi <yao@codesourcery.com>
8689
8690 * gdb.server/server-kill.exp: Execute command
8691 "set remote trace-status-packet on" before "tstatus".
8692
8693 2014-10-11 Yao Qi <yao@codesourcery.com>
8694
8695 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
8696 (main): Call getppid.
8697 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
8698 and continue to it. Read variable "server_pid".
8699
8700 2014-10-11 Yao Qi <yao@codesourcery.com>
8701
8702 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
8703
8704 2014-10-11 Yao Qi <yao@codesourcery.com>
8705
8706 * gdb.threads/thread-find.exp: Don't execute command
8707 "info threads".
8708 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
8709 * gdb.threads/linux-dp.exp: Don't check the condition
8710 $threads_created equals to zero.
8711
8712 2014-10-10 Pedro Alves <palves@redhat.com>
8713
8714 * gdb.base/bigcore.exp: Remove references to IRIX.
8715 * gdb.base/funcargs.exp: Likewise.
8716 * gdb.base/interrupt.exp: Likewise.
8717 * gdb.base/mips_pro.exp: Likewise.
8718 * gdb.base/nodebug.exp: Likewise.
8719 * gdb.base/setvar.exp: Likewise.
8720 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
8721
8722 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8723 Pedro Alves <palves@redhat.com>
8724
8725 PR symtab/14466
8726 * gdb.base/vdso-warning.c: New file.
8727 * gdb.base/vdso-warning.exp: New file.
8728
8729 2014-10-02 Doug Evans <dje@google.com>
8730
8731 * gdb.base/structs.c (main): Don't run forever.
8732
8733 2014-10-02 Pedro Alves <palves@redhat.com>
8734
8735 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
8736 (top level) <stop threads 1, stop threads 2>: Use it.
8737
8738 2014-10-02 Pedro Alves <palves@redhat.com>
8739
8740 * gdb.threads/break-while-running.exp (test): Add new
8741 'update_thread_list' argument. Skip "info threads" if false.
8742 (top level): Add new 'update_thread_list' axis.
8743
8744 2014-10-02 Pedro Alves <palves@redhat.com>
8745
8746 PR breakpoints/17431
8747 * gdb.base/execl-update-breakpoints.c: New file.
8748 * gdb.base/execl-update-breakpoints.exp: New file.
8749
8750 2014-10-01 Pedro Alves <palves@redhat.com>
8751
8752 * gdb.base/breakpoint-in-ro-region.c: New file.
8753 * gdb.base/breakpoint-in-ro-region.exp: New file.
8754
8755 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
8756
8757 * gdb.mi/mi-exit-code.exp: New file.
8758 * gdb.mi/mi-exit-code.c: New file.
8759
8760 2014-09-30 Yao Qi <yao@codesourcery.com>
8761
8762 * lib/prelink-support.exp (build_executable_own_libs): Error if
8763 the target isn't native.
8764
8765 2014-09-30 Yao Qi <yao@codesourcery.com>
8766
8767 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
8768 false.
8769
8770 2014-09-22 Pedro Alves <palves@redhat.com>
8771
8772 * gdb.threads/break-while-running.exp: New file.
8773 * gdb.threads/break-while-running.c: New file.
8774
8775 2014-09-19 Yao Qi <yao@codesourcery.com>
8776
8777 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
8778 Invoke test. Restart GDB with --readnow and invoke test again.
8779
8780 2014-09-19 Yao Qi <yao@codesourcery.com>
8781
8782 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
8783 proc set_breakpoint_on_gcd_function. Invoke
8784 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
8785 invoke set_breakpoint_on_gcd_function again.
8786
8787 2014-09-18 Doug Evans <dje@google.com>
8788
8789 * gdb.dwarf2/symtab-producer.exp: New file.
8790
8791 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8792
8793 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
8794 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
8795 * gdb.base/global-var-nested-by-dso.c: Likewise.
8796 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8797
8798 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8799 Pedro Alves <palves@redhat.com>
8800
8801 * gdb.base/watch-bitfields.exp: Pass string other than test file
8802 name to prepare_for_testing.
8803 (watch): New procedure.
8804 (expect_watchpoint): Use with_test_prefix.
8805 (top level): Factor out tests to ...
8806 (test_watch_location, test_regular_watch): ... these new
8807 procedures, and use with_test_prefix and gdb_continue_to_end.
8808
8809 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
8810
8811 PR breakpoints/12526
8812 * gdb.base/watch-bitfields.exp: New file.
8813 * gdb.base/watch-bitfields.c: New file.
8814
8815 2014-09-16 Pedro Alves <palves@redhat.com>
8816
8817 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
8818 software and hardware addresses, not software address against
8819 itself.
8820
8821 2014-09-16 Pedro Alves <palves@redhat.com>
8822
8823 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
8824 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
8825
8826 2014-09-16 Pedro Alves <palves@redhat.com>
8827
8828 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
8829 files.
8830 * gdb.base/a2-run.exp: Remove all code guarded by istarget
8831 "*-*-vxworks*" throughout.
8832 * gdb.base/break.exp: Likewise.
8833 * gdb.base/default.exp: Likewise.
8834 * gdb.base/scope.exp: Likewise.
8835 * gdb.base/sepdebug.exp: Likewise.
8836 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
8837 throughout.
8838 * gdb.base/run.c: Likewise.
8839 * gdb.base/sepdebug.c: Likewise.
8840 * gdb.hp/gdb.aCC/run.c: Likewise.
8841 * gdb.reverse/until-reverse.c: Likewise.
8842 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
8843
8844 2014-09-16 Yao Qi <yao@codesourcery.com>
8845
8846 * boards/local-remote-host-native.exp: New file.
8847
8848 2014-09-14 Doug Evans <xdje42@gmail.com>
8849
8850 * gdb.threads/queue-signal.c (thread_count): New variable.
8851 (thread_count_mutex, thread_count_condvar): New variables.
8852 (incr_thread_count, wait_all_threads_running): New functions.
8853 (main): Wait for all threads to be in their thread functions.
8854
8855 2014-09-13 Doug Evans <xdje42@gmail.com>
8856
8857 * gdb.threads/queue-signal.c: New file.
8858 * gdb.threads/queue-signal.exp: New file.
8859
8860 2014-09-13 Doug Evans <xdje42@gmail.com>
8861
8862 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
8863 be consistent with what default_gdb_init uses.
8864 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
8865 the plain text of the prompt. Add some logging printfs.
8866 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
8867
8868 2014-09-12 Pedro Alves <palves@redhat.com>
8869
8870 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
8871 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
8872 * gdb.arch/i386-size-overlap.exp: Likewise.
8873 * gdb.arch/i386-size.exp: Likewise.
8874 * gdb.arch/i386-unwind.exp: Likewise.
8875 * gdb.base/a2-run.exp: Likewise.
8876 * gdb.base/break.exp: Likewise.
8877 * gdb.base/charset.exp: Likewise.
8878 * gdb.base/chng-syms.exp: Likewise.
8879 * gdb.base/commands.exp: Likewise.
8880 * gdb.base/dbx.exp: Likewise.
8881 * gdb.base/find.exp: Likewise.
8882 * gdb.base/funcargs.exp: Likewise.
8883 * gdb.base/jit-simple.exp: Likewise.
8884 * gdb.base/reread.exp: Likewise.
8885 * gdb.base/sepdebug.exp: Likewise.
8886 * gdb.base/step-bt.exp: Likewise.
8887 * gdb.cp/mb-inline.exp: Likewise.
8888 * gdb.cp/mb-templates.exp: Likewise.
8889 * gdb.objc/basicclass.exp: Likewise.
8890 * gdb.threads/killed.exp: Likewise.
8891
8892 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8893
8894 PR tdep/17379
8895 * gdb.arch/powerpc-stackless.S: New file.
8896 * gdb.arch/powerpc-stackless.exp: New file.
8897
8898 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8899
8900 * gdb.base/attach.c: Include unistd.h.
8901 (main): Call alarm. Add label postloop.
8902 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
8903 gdb_breakpoint, gdb_continue_to_breakpoint.
8904 (test_command_line_attach_run): Kill ${testpid} in one exit path.
8905
8906 2014-09-11 Pedro Alves <palves@redhat.com>
8907
8908 PR gdb/17347
8909 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
8910 * gdb.base/attach.exp (test_command_line_attach_run): New
8911 procedure.
8912 (top level): Call it.
8913
8914 2014-09-11 Pedro Alves <palves@redhat.com>
8915
8916 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
8917 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
8918 (do_command_attach_tests): Use spawn_wait_for_attach.
8919 * gdb.base/solib-overlap.exp: Likewise.
8920 * gdb.multi/multi-attach.exp: Likewise.
8921 * gdb.python/py-prompt.exp: Likewise.
8922 * gdb.python/py-sync-interp.exp: Likewise.
8923 * gdb.server/ext-attach.exp: Likewise.
8924
8925 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
8926
8927 * gdb.fortran/array-element.exp: Remove unexpected "continue"
8928 command in testcase. Simplify testcase.
8929
8930 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8931
8932 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
8933
8934 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8935
8936 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
8937
8938 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8939
8940 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
8941
8942 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8943
8944 * gdb.dwarf2/dynarr-ptr.c: New file.
8945 * gdb.dwarf2/dynarr-ptr.exp: New file.
8946
8947 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8948
8949 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
8950 of 30 rather than hardcoding 120 for a slow test case. Take the
8951 `gdb,timeout' target setting into account for this calculation.
8952 Don't extend the timeout for the test cases that don't need it.
8953
8954 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8955
8956 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
8957 a factor of 2 for a slow test case. Take the `gdb,timeout'
8958 target setting into account for this calculation.
8959 * gdb.reverse/until-precsave.exp: Increase the timeout by
8960 a factor of 15 and 3 respectively rather than adding 120
8961 for a pair of slow test cases. Take the `gdb,timeout'
8962 target setting into account for this calculation.
8963
8964 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8965
8966 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
8967 timeout, don't pass one down to gdb_expect.
8968 (gdb_expect): Rework timeout selection.
8969
8970 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8971
8972 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
8973 exception on timeout.
8974 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
8975 (gdbserver_start_extended): Catch any `gdbserver_start' error
8976 exceptions.
8977 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
8978 * lib/mi-support.exp (mi_gdb_target_load): Catch any
8979 `gdbserver_gdb_load' error exceptions.
8980
8981 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8982
8983 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
8984 120 on waiting for the TCP socket to open.
8985
8986 2014-09-09 Doug Evans <xdje42@gmail.com>
8987
8988 * gdb.base/default.exp (show_conv_list): Add _caller_is,
8989 _caller_matches, _any_caller_is, _any_caller_matches.
8990
8991 2014-09-09 Doug Evans <xdje42@gmail.com>
8992
8993 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
8994
8995 2014-09-09 Yao Qi <yao@codesourcery.com>
8996
8997 * gdb.mi/mi-var-display.exp: Set print symbol off.
8998
8999 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
9000
9001 PR gdb/17035
9002 * gdb.base/commands.exp: Add tests to verify user-defined
9003 commands with empty bodies.
9004 * gdb.python/py-cmd.exp: Test that we don't show user-defined
9005 python commands in `show user command`.
9006 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
9007 scheme commands in `show user command`.
9008
9009 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9010
9011 PR python/17355
9012 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
9013 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
9014 * gdb.python/py-framefilter-invalidarg.exp: New file.
9015 * gdb.python/py-framefilter-invalidarg.py: New file.
9016
9017 2014-09-06 Doug Evans <xdje42@gmail.com>
9018
9019 PR 15276
9020 * gdb.python/py-caller-is.c: New file.
9021 * gdb.python/py-caller-is.exp: New file.
9022
9023 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
9024
9025 PR gdb/17235
9026 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
9027 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
9028
9029 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
9030
9031 PR fortran/17237
9032 * gdb.fortran/print-formatted.exp: New file.
9033 * gdb.fortran/print-formatted.f90: Likewise.
9034
9035 2014-09-03 Sasha Smundak <asmundak@google.com>
9036
9037 * gdb.python/py-frame.exp: Test Frame.read_register.
9038
9039 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
9040
9041 PR python/16699
9042 * gdb.python/py-completion.exp: New file.
9043 * gdb.python/py-completion.py: Likewise.
9044
9045 2014-08-28 Doug Evans <dje@google.com>
9046
9047 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
9048 eax,etc. are live with values set by gdb and thus the compiler can't
9049 use them.
9050 * gdb.arch/i386-pseudo.c (main): Ditto.
9051
9052 2014-08-27 Doug Evans <dje@google.com>
9053
9054 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
9055
9056 2014-08-25 Doug Evans <dje@google.com>
9057
9058 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
9059 (main): Ditto.
9060
9061 2014-08-25 Doug Evans <dje@google.com>
9062
9063 * gdb.threads/thread-execl.exp: #include <stdio.h>.
9064
9065 2014-08-24 Yao Qi <yao@codesourcery.com>
9066
9067 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
9068 symbol off.
9069 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
9070
9071 2014-08-22 Doug Evans <dje@google.com>
9072
9073 PR 17276
9074 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
9075 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
9076 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
9077
9078 2014-08-22 Yao Qi <yao@codesourcery.com>
9079
9080 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
9081 * gdb.python/py-finish-breakpoint2.exp: Likewise.
9082 * gdb.python/python.exp: Likewise. Use .py file on the host
9083 instead of the build.
9084
9085 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9086
9087 * gdb.threads/gcore-stale-thread.c: New file.
9088 * gdb.threads/gcore-stale-thread.exp: New file.
9089
9090 2014-08-21 Pedro Alves <palves@redhat.com>
9091
9092 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
9093 * gdb.base/gcore-relro-pie.exp: Likewise.
9094 * gdb.base/gcore-relro.exp: Likewise.
9095 * gdb.base/gcore.exp: Likewise.
9096 * gdb.base/print-symbol-loading.exp: Likewise.
9097 * gdb.threads/gcore-thread.exp: Likewise.
9098 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
9099
9100 2014-08-20 Pedro Alves <palves@redhat.com>
9101 Jan Kratochvil <jan.kratochvil@redhat.com>
9102
9103 * Makefile.in (EXTRA_RULES, CC): New variables, get from
9104 configure.
9105 (EXPECT): Handle READ1 being set.
9106 (all): Depend on EXTRA_RULES.
9107 (check-read1, expect-read1, read1.so, read1): New rules.
9108 * README (Testsuite Parameters): Document the READ1 make variable.
9109 (Race detection): New section.
9110 * configure: Regenerate.
9111 * configure.ac: If build==host==target, and running under a
9112 GNU/glibc system, add read1 to the extra Makefile rules.
9113 (EXTRA_RULES): AC_SUBST it.
9114 * lib/read1.c: New file.
9115
9116 2014-08-20 Joel Brobecker <brobecker@adacore.com>
9117
9118 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
9119 the handling of variables declared as a typedef to an array
9120 which a DW_AT_data_location attribute.
9121
9122 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
9123 Pedro Alves <palves@redhat.com>
9124
9125 PR symtab/14604
9126 PR symtab/14605
9127 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
9128 gdb_test.
9129
9130 2014-08-19 Pedro Alves <palves@redhat.com>
9131
9132 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
9133
9134 2014-08-19 Yao Qi <yao@codesourcery.com>
9135
9136 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
9137 right line.
9138
9139 2014-08-18 David Blaikie <dblaikie@gmail.com>
9140
9141 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
9142
9143 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9144
9145 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
9146 attribute in array range.
9147
9148 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9149
9150 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
9151
9152 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9153
9154 PR c++/17132
9155 * gdb.cp/pr17132.cc: New file.
9156 * gdb.cp/pr17132.exp: New file.
9157
9158 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9159
9160 * gdb.python/py-xmethods.py (A_getarrayind)
9161 (E_method_char_worker.__call__, E_method_int_worker.__call__):
9162 Use 'print' with function call syntax.
9163 (E_method_matcher.match): Fix tab vs space indentation mixup.
9164
9165 2014-08-15 Yao Qi <yao@codesourcery.com>
9166
9167 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
9168 false.
9169
9170 2014-08-15 Yao Qi <yao@codesourcery.com>
9171
9172 * gdb.cp/casts.exp: Set print symbol off.
9173 * gdb.cp/class2.exp: Likewise.
9174 * gdb.cp/overload.exp: Likewise.
9175 * gdb.cp/templates.exp: Likewise.
9176
9177 2014-08-11 Doug Evans <dje@google.com>
9178
9179 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9180 (test_load_shlib): Update.
9181
9182 2014-08-09 Yao Qi <yao@codesourcery.com>
9183
9184 * gdb.base/display.exp: Invoke is_address_zero_readable.
9185 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
9186 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9187 * gdb.base/hbreak-unmapped.exp: Return if
9188 is_address_zero_readable returns true.
9189 * gdb.base/signest.exp: Likewise.
9190 * gdb.base/signull.exp: Likewise.
9191 * gdb.base/sigbpt.exp: Likewise.
9192 * gdb.guile/scm-disasm.exp: Do the test if
9193 is_address_zero_readable returns false.
9194 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
9195 * gdb.python/py-arch.exp: Likewise.
9196 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
9197 * lib/gdb.exp (is_address_zero_readable): New proc.
9198
9199 2014-08-09 Yao Qi <yao@codesourcery.com>
9200
9201 PR testsuite/13443
9202 * gdb.mi/mi-var-display.exp: Make test messages unique.
9203
9204 2014-08-04 Tom Tromey <tromey@redhat.com>
9205
9206 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
9207 target 0".
9208
9209 2014-08-04 Tom Tromey <tromey@redhat.com>
9210
9211 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
9212 "target_resume".
9213
9214 2014-08-01 Joel Brobecker <brobecker@adacore.com>
9215
9216 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9217 inner_vla_struct_object_size.
9218 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
9219 as xfail.
9220
9221 2014-07-30 Pedro Alves <palves@redhat.com>
9222
9223 * gdb.threads/signal-command-handle-nopass.exp (test): Add
9224 comment.
9225
9226 2014-07-29 Yao Qi <yao@codesourcery.com>
9227
9228 PR gdb/17206
9229 * gdb.base/until-nodebug.exp: New.
9230
9231 2014-07-28 Doug Evans <xdje42@gmail.com>
9232
9233 PR guile/17203
9234 * gdb.guile/scm-parameter.exp: Add tests for trying to create
9235 previously existing parameter, and previously ambiguously spelled
9236 parameter.
9237
9238 2014-07-28 Will Newton <will.newton@linaro.org>
9239
9240 * gdb.base/varargs.exp: Remove KFAILs for ARM.
9241
9242 2014-07-26 Ludovic Courtès <ludo@gnu.org>
9243 Doug Evans <xdje42@gmail.com>
9244
9245 PR guile/17146
9246 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
9247
9248 2014-07-25 Pedro Alves <palves@redhat.com>
9249
9250 * gdb.threads/signal-command-handle-nopass.c: New file.
9251 * gdb.threads/signal-command-handle-nopass.exp: New file.
9252 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
9253 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
9254 * gdb.threads/signal-delivered-right-thread.c: New file.
9255 * gdb.threads/signal-delivered-right-thread.exp: New file.
9256
9257 2014-07-25 Pedro Alves <palves@redhat.com>
9258
9259 * gdb.base/double-prompt-target-event-error.exp
9260 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
9261 match.
9262 (cancel_pagination_in_target_event): Rework double prompt
9263 detection.
9264 * gdb.base/paginate-after-ctrl-c-running.exp
9265 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
9266 <return>' match.
9267 * gdb.base/paginate-bg-execution.exp
9268 (test_bg_execution_pagination_return)
9269 (test_bg_execution_pagination_cancel): Remove '-notransfer
9270 <return>' matches.
9271 * gdb.base/paginate-execution-startup.exp
9272 (test_fg_execution_pagination_return)
9273 (test_fg_execution_pagination_cancel): Remove '-notransfer
9274 <return>' matches.
9275 * gdb.base/paginate-inferior-exit.exp
9276 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9277 match.
9278 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9279 * lib/gdb.exp (pagination_prompt): Run text through
9280 string_to_regexp.
9281 (gdb_test_multiple): Match $pagination_prompt instead of
9282 "<return>".
9283 (string_to_regexp): Move to lib/gdb-utils.exp.
9284
9285 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9286
9287 * gdb.arch/amd64-entry-value-paramref.S: New file.
9288 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9289 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9290 * gdb.arch/amd64-optimout-repeat.S: New file.
9291 * gdb.arch/amd64-optimout-repeat.c: New file.
9292 * gdb.arch/amd64-optimout-repeat.exp: New file.
9293
9294 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9295
9296 PR gdb/17170
9297 * gdb.base/statistics.exp: New file.
9298
9299 2014-07-17 Doug Evans <dje@google.com>
9300
9301 PR gdb/17170
9302 * gdb.base/maint.exp: Update testing of per-command stats.
9303
9304 2014-07-16 Pedro Alves <palves@redhat.com>
9305
9306 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9307 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9308 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9309 (tfile_write_buf): New functions.
9310 (add_memory_block): Rewrite using the above.
9311 (adjust_function_address): New function.
9312 (FUNCTION_ADDRESS): New macro.
9313 (write_basic_trace_file): Remove short_x local, and use
9314 tfile_write_16. Change type of func_addr local to unsigned long
9315 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9316 here. Cast argument of add_memory_block to char pointer.
9317 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9318 (main): Remove parameters.
9319 * gdb.trace/tfile.exp: Remove nowarnings.
9320
9321 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9322
9323 * gdb.base/debug-expr.exp: Test string evaluation with
9324 "debug expression" on.
9325
9326 2014-07-15 Pedro Alves <palves@redhat.com>
9327
9328 * gdb.base/reread.exp: Use clean_restart.
9329
9330 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9331
9332 * gdb.arch/avr-flash-qualifer.c: New.
9333 * gdb.arch/avr-flash-qualifer.exp: New.
9334
9335 2014-07-14 Pedro Alves <palves@redhat.com>
9336
9337 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9338 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9339
9340 2014-07-14 Pedro Alves <palves@redhat.com>
9341
9342 * gdb.base/double-prompt-target-event-error.c: New file.
9343 * gdb.base/double-prompt-target-event-error.exp: New file.
9344
9345 2014-07-14 Pedro Alves <palves@redhat.com>
9346
9347 PR gdb/17072
9348 * gdb.base/paginate-inferior-exit.c: New file.
9349 * gdb.base/paginate-inferior-exit.exp: New file.
9350
9351 2014-07-14 Pedro Alves <palves@redhat.com>
9352
9353 PR gdb/17072
9354 * gdb.base/paginate-bg-execution.c: New file.
9355 * gdb.base/paginate-bg-execution.exp: New file.
9356
9357 2014-07-14 Pedro Alves <palves@redhat.com>
9358
9359 PR gdb/17072
9360 * gdb.base/paginate-execution-startup.c: New file.
9361 * gdb.base/paginate-execution-startup.exp: New file.
9362 * lib/gdb.exp (pagination_prompt): New global.
9363 (default_gdb_spawn): New procedure, factored out from
9364 default_gdb_spawn.
9365 (default_gdb_start): Adjust to call default_gdb_spawn.
9366 (gdb_spawn): New procedure.
9367
9368 2014-07-14 Pedro Alves <palves@redhat.com>
9369
9370 * lib/gdb.exp (gdb_assert): New procedure.
9371 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
9372
9373 2014-07-14 Pedro Alves <palves@redhat.com>
9374
9375 * gdb.base/execution-termios.c: New file.
9376 * gdb.base/execution-termios.exp: New file.
9377
9378 2014-07-14 Tom Tromey <tromey@redhat.com>
9379
9380 * gdb.cp/vla-cxx.cc: New file.
9381 * gdb.cp/vla-cxx.exp: New file.
9382
9383 2014-07-14 Tom Tromey <tromey@redhat.com>
9384
9385 * gdb.reverse/rerun-prec.c: New file.
9386 * gdb.reverse/rerun-prec.exp: New file.
9387
9388 2014-07-12 Maciej W. Rozycki <macro@mips.com>
9389 Maciej W. Rozycki <macro@codesourcery.com>
9390
9391 * lib/gdb-utils.exp: New file.
9392 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
9393 inline `gdb_init_command' processing.
9394 (gdb_start_cmd): Likewise.
9395 * lib/mi-support.exp (mi_run_cmd): Likewise.
9396 * README: Document `gdb_init_command' and `gdb_init_commands'.
9397
9398 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9399
9400 Fix false FAIL running under a very long directory name.
9401 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
9402 and "set print elements 10000". Twice.
9403
9404 2014-07-11 Yao Qi <yao@codesourcery.com>
9405
9406 * gdb.base/exprs.exp: "set print symbol off".
9407
9408 2014-07-11 Pedro Alves <palves@redhat.com>
9409
9410 * gdb.threads/kill.c: New file.
9411 * gdb.threads/kill.exp: New file.
9412
9413 2014-07-10 Yao Qi <yao@codesourcery.com>
9414
9415 * gdb.trace/tfile.c (write_basic_trace_file)
9416 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
9417 address written to trace file.
9418
9419 2014-07-09 Pedro Alves <palves@redhat.com>
9420
9421 * gdb.base/attach-wait-input.exp: New file.
9422 * gdb.base/attach-wait-input.c: New file.
9423
9424 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9425
9426 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
9427 setting up test structures.
9428 (main): Call new test function.
9429 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
9430 test function, continue into test function and walk test
9431 structures.
9432
9433 2014-07-02 Yao Qi <yao@codesourcery.com>
9434
9435 * gdb.trace/entry-values.c: Define labels 'foo_start' and
9436 'bar_start' at the beginning of functions 'foo' and 'bar'
9437 respectively.
9438 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
9439 instead of 'foo' and 'bar'.
9440
9441 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
9442
9443 * gdb.btrace/segv.exp: New.
9444 * gdb.btrace/segv.c: New.
9445
9446 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
9447
9448 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
9449 instruction.
9450
9451 2014-06-30 Mark Wielaard <mjw@redhat.com>
9452
9453 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
9454 vulture, vilify, villar): New volatile array constants.
9455 (vindictive, vegetation): New const volatile array constants.
9456 * gdb.base/volatile.exp: Test volatile and const volatile array
9457 types.
9458
9459 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9460
9461 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
9462 target lacks support for awatch, rwatch, or hbreak.
9463
9464 2014-06-27 Yao Qi <yao@codesourcery.com>
9465
9466 * gdb.multi/dummy-frame-restore.exp: New.
9467 * gdb.multi/dummy-frame-restore.c: New.
9468
9469 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
9470
9471 * gdb.btrace/gcore.exp: New.
9472
9473 2014-06-23 Pedro Alves <palves@redhat.com>
9474
9475 * gdb.base/watchpoint-reuse-slot.c: New file.
9476 * gdb.base/watchpoint-reuse-slot.exp: New file.
9477
9478 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
9479
9480 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
9481 progspace's filename in 'info', 'enable' and 'disable' command
9482 tests.
9483
9484 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9485
9486 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
9487 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9488 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
9489
9490 2014-06-20 Gary Benson <gbenson@redhat.com>
9491
9492 * gdb.arch/i386-avx.exp: Fix include file location.
9493 * gdb.arch/i386-sse.exp: Likewise.
9494
9495 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
9496
9497 * gdb.dlang/expression.exp: New file.
9498
9499 2014-06-19 Pedro Alves <palves@redhat.com>
9500
9501 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
9502 out from ...
9503 (top level): ... here. Iterate running tests under different
9504 scheduler-locking settings.
9505
9506 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
9507
9508 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
9509 to DW_FORM_addr and use non-zero addresses.
9510
9511 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
9512
9513 PR gdb/17017
9514 * gdb.python/py-xmethods.cc: Add global function call counters and
9515 increment them in their respective functions. Remove "cout"
9516 statements.
9517 * gdb.python/py-xmethods.exp: Make tests check the global function
9518 call counters instead of depending on inferior IO.
9519
9520 2014-06-18 Don Breazeal <donb@codesourcery.com>
9521
9522 * gdb.base/foll-fork.exp (default_fork_parent_follow):
9523 Deleted procedure.
9524 (explicit_fork_parent_follow): Deleted procedure.
9525 (explicit_fork_child_follow): Deleted procedure.
9526 (test_follow_fork): New procedure.
9527 (do_fork_tests): Replace calls to deleted procedures with
9528 calls to test_follow_fork and reset GDB for subsequent
9529 procedure calls.
9530
9531 2014-06-17 Yao Qi <yao@codesourcery.com>
9532
9533 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
9534 CP1252.
9535
9536 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
9537
9538 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
9539 Initialize ptr and S explicitly.
9540 (skip_type_update_when_not_use_rtti_test): Likewise.
9541
9542 2014-06-16 Keith Seitz <keiths@redhat.com>
9543
9544 PR mi/15863
9545 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
9546 the inferior is started.
9547
9548 2014-06-16 Pedro Alves <palves@redhat.com>
9549
9550 * gdb.base/break-main-file-remove-fail.c: New file.
9551 * gdb.base/break-main-file-remove-fail.exp: New file.
9552 * gdb.base/break-unload-file.exp: Use build_executable instead of
9553 prepare_for_testing.
9554 (test_break): New parameter "initial_load". Handle it.
9555 (top level): Add initial_load cmdline/file axis.
9556
9557 2014-06-12 Tom Tromey <tromey@redhat.com>
9558
9559 * gdb.base/completion.exp: Don't use directory name in test.
9560
9561 2014-06-09 Gary Benson <gbenson@redhat.com>
9562
9563 * gdb.base/sigall.c [Functions to send signals]: Reorder to
9564 separate the always-available ANSI-standard signals from the
9565 signals that require checking.
9566 (main): Likewise.
9567 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
9568 Likewise.
9569 (main): Likewise.
9570
9571 2014-06-07 Keith Seitz <keiths@redhat.com>
9572
9573 Revert:
9574 PR c++/16253
9575 * gdb.cp/var-tag.cc: New file.
9576 * gdb.cp/var-tag.exp: New file.
9577 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9578 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9579 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9580 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9581
9582 2014-06-06 Doug Evans <xdje42@gmail.com>
9583
9584 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
9585
9586 2014-06-06 Pedro Alves <palves@redhat.com>
9587
9588 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
9589 in target debug output instead of looking at RSP packets,
9590 disabling the test on any target that uses hardware stepping.
9591 Update comments.
9592
9593 2014-06-06 Pedro Alves <palves@redhat.com>
9594
9595 * gdb.base/break-unload-file.exp: Fix typo.
9596
9597 2014-06-06 Yao Qi <yao@codesourcery.com>
9598
9599 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
9600 from "jit_function" to "^jit_function".
9601
9602 2014-06-06 Yao Qi <yao@codesourcery.com>
9603
9604 * gdb.base/async.c (foo): Add one statement.
9605 * gdb.base/async.exp: Get the next instruction address and
9606 match the output of "nexti" by instruction address. Match
9607 the hex address in the output of "finish".
9608
9609 2014-06-06 Gary Benson <gbenson@redhat.com>
9610
9611 * gdb.base/call-signals.c: Remove preprocessor conditionals
9612 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
9613 SIGSEGV and SIGTERM.
9614 * gdb.base/sigall.c: Likewise.
9615 * gdb.base/unwindonsignal.c: Likewise.
9616 * gdb.reverse/sigall-reverse.c: Likewise.
9617
9618 2014-06-06 Yao Qi <yao@codesourcery.com>
9619
9620 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
9621 readable, skip the test.
9622
9623 2014-06-06 Yao Qi <yao@codesourcery.com>
9624
9625 * gdb.threads/staticthreads.c (thread_function): Move the line
9626 setting breakpoint on forward.
9627 * gdb.threads/staticthreads.exp: Update comments.
9628
9629 2014-06-05 Ludovic Courtès <ludo@gnu.org>
9630
9631 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
9632 "history-append! type error".
9633
9634 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
9635
9636 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
9637 erroneous dprintf expected input.
9638
9639 2014-06-04 Doug Evans <xdje42@gmail.com>
9640
9641 * gdb.guile/scm-generics.exp: Delete.
9642
9643 2014-06-04 Doug Evans <xdje42@gmail.com>
9644
9645 * gdb.guile/scm-breakpoint.exp: Update.
9646 Add tests for breakpoint registration.
9647
9648 2014-06-04 Tom Tromey <tromey@redhat.com>
9649
9650 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
9651 VLA-in-union.
9652 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
9653 inner_vla_struct, vla_union types. Initialize objects of those
9654 types and compute their sizes.
9655
9656 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
9657 Hui Zhu <hui@codesourcery.com>
9658
9659 * gdb.base/fileio.exp: Add test for shell not available as well as
9660 available.
9661 * gdb.base/fileio.c (test_system): Check for shell twice.
9662
9663 2014-06-04 Yao Qi <yao@codesourcery.com>
9664
9665 * gdb.base/auto-connect-native-target.exp: Remove redundant
9666 space from the regexp pattern.
9667
9668 2014-06-04 Yao Qi <yao@codesourcery.com>
9669
9670 * gdb.base/default.exp: Replace "child" with "native" in
9671 regexp pattern.
9672
9673 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
9674
9675 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
9676 * gdb.python/py-xmethods.exp: New tests to test xmethods.
9677 * gdb.python/py-xmethods.py: Python script supporting the
9678 new testcase and tests.
9679
9680 2014-06-03 Joel Brobecker <brobecker@adacore.com>
9681 Pedro Alves <palves@redhat.com>
9682
9683 PR breakpoints/17000
9684 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
9685 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
9686
9687 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
9688
9689 * gdb.base/subst.exp: Add tests to verify partial path matching
9690 output.
9691
9692 2014-06-03 Pedro Alves <palves@redhat.com>
9693
9694 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
9695 target that doesn't use software single-stepping.
9696
9697 2014-06-03 Pedro Alves <palves@redhat.com>
9698
9699 PR breakpoints/17000
9700 * gdb.base/sss-bp-on-user-bp-2.c: New file.
9701 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
9702
9703 2014-06-02 Doug Evans <xdje42@gmail.com>
9704
9705 * gdb.guile/scm-parameter.exp: New file.
9706
9707 2014-06-02 Doug Evans <xdje42@gmail.com>
9708
9709 * gdb.guile/scm-cmd.c: New file.
9710 * gdb.guile/scm-cmd.exp: New file.
9711
9712 2014-06-02 Doug Evans <xdje42@gmail.com>
9713
9714 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
9715 pretty-printer lookup.
9716 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
9717 (make-pp_s-printer): Call it.
9718 (make-pretty-printer-from-dict): New function.
9719 (lookup-pretty-printer-maker-from-dict): New function.
9720 (*pretty-printer*): Simplify.
9721 (make-objfile-pp_s-printer): New function.
9722 (install-objfile-pretty-printers!): New function.
9723 (make-progspace-pp_s-printer): New function.
9724 (install-progspace-pretty-printers!): New function.
9725 * gdb.guile/scm-progspace.c: New file.
9726 * gdb.guile/scm-progspace.exp: New file.
9727
9728 2014-06-02 Pedro Alves <palves@redhat.com>
9729
9730 * gdb.base/dprintf-bp-same-addr.c: New file.
9731 * gdb.base/dprintf-bp-same-addr.exp: New file.
9732
9733 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9734
9735 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
9736 * gdb.arch/powerpc-power.s: Likewise.
9737
9738 2014-06-02 Joel Brobecker <brobecker@adacore.com>
9739
9740 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
9741
9742 2014-06-01 Yao Qi <yao@codesourcery.com>
9743
9744 * gdb.base/watchpoint.exp (test_watch_location): Check null
9745 pointer can be dereferenced. If not, do the test, otherwise
9746 skip it.
9747
9748 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9749
9750 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
9751 results.
9752 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
9753
9754 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9755
9756 * gdb.arch/amd64-invalid-stack-middle.S: New file.
9757 * gdb.arch/amd64-invalid-stack-middle.c: New file.
9758 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
9759 * gdb.arch/amd64-invalid-stack-top.c: New file.
9760 * gdb.arch/amd64-invalid-stack-top.exp: New file.
9761
9762 2014-05-30 Pedro Alves <palves@redhat.com>
9763
9764 PR breakpoints/17000
9765 * gdb.base/sss-bp-on-user-bp.c: New file.
9766 * gdb.base/sss-bp-on-user-bp.exp: New file.
9767
9768 2014-05-30 David Blaikie <dblaikie@gmail.com>
9769
9770 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
9771 gnu_inline semantics via attribute.
9772 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
9773 source explicitly specifies the required semantics.
9774
9775 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
9776
9777 * gdb.reverse/sigall-reverse.exp: Fix a typo.
9778
9779 2014-05-29 Pedro Alves <palves@redhat.com>
9780 Tom Tromey <tromey@redhat.com>
9781
9782 * gdb.base/async-shell.exp: Don't enable target-async.
9783 * gdb.base/async.exp
9784 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
9785 parameter. Adjust.
9786 (top level): Don't test with "target-async".
9787 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
9788 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
9789 * gdb.base/inferior-died.exp: Don't enable target-async.
9790 * gdb.base/interrupt-noterm.exp: Likewise.
9791 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
9792 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9793 * gdb.mi/mi-nonstop.exp: Likewise.
9794 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9795 * gdb.mi/mi-nsintrall.exp: Likewise.
9796 * gdb.mi/mi-nsmoribund.exp: Likewise.
9797 * gdb.mi/mi-nsthrexec.exp: Likewise.
9798 * gdb.mi/mi-watch-nonstop.exp: Likewise.
9799 * gdb.multi/watchpoint-multi.exp: Adjust comment.
9800 * gdb.python/py-evsignal.exp: Don't enable target-async.
9801 * gdb.python/py-evthreads.exp: Likewise.
9802 * gdb.python/py-prompt.exp: Likewise.
9803 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
9804 * gdb.server/solib-list.exp: Don't enable target-async.
9805 * gdb.threads/thread-specific-bp.exp: Likewise.
9806 * lib/mi-support.exp: Adjust to use mi-async.
9807
9808 2014-05-29 Pedro Alves <palves@redhat.com>
9809
9810 PR gdb/13860
9811 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
9812 reason, even in sync mode.
9813
9814 2014-05-29 Pedro Alves <palves@redhat.com>
9815 Hui Zhu <hui@codesourcery.com>
9816
9817 PR PR15693
9818 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
9819 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
9820 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
9821 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
9822
9823 2014-05-28 Joel Brobecker <brobecker@adacore.com>
9824
9825 * config/monitor.exp (gdb_target_monitor): Replace use of
9826 "set remotebaud" by "set serial baud".
9827
9828 2014-05-26 Andy Wingo <wingo@igalia.com>
9829
9830 * gdb.guile/scm-breakpoint.exp:
9831 * gdb.guile/scm-gsmob.exp: Update to use plain old object
9832 properties instead of gdb-object-properties.
9833
9834 2014-05-26 Yao Qi <yao@codesourcery.com>
9835
9836 * gdb.server/no-thread-db.exp: Specify source file name
9837 explicitly when setting a breakpoint.
9838
9839 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9840
9841 * gdb.btrace/vdso.c: New.
9842 * gdb.btrace/vdso.exp: New.
9843
9844 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9845
9846 * gdb.base/gcore.exp (capture_command_output): Move ...
9847 * lib/gdb.exp (capture_command_output): ... here.
9848
9849 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9850
9851 * gdb.btrace/data.exp: Test memory access during btrace replay.
9852
9853 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
9854
9855 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
9856
9857 2014-05-21 Pedro Alves <palves@redhat.com>
9858
9859 PR gdb/13860
9860 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
9861 (top level): Test that output related to execution commands is
9862 sent to the console with CLI commands, but not with MI commands.
9863 Test that breakpoint events are always mirrored to the console.
9864 Also expect the new source line to be output after a "next" in
9865 async mode too. Make it a pass/fail test.
9866 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
9867 output.
9868 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
9869
9870 2014-05-21 Pedro Alves <palves@redhat.com>
9871
9872 * gdb.base/list.exp (build_pattern, test_list): New procedures.
9873 Use them to test variations of "list" after reaching a breakpoint.
9874 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
9875 Test "list" with listsize 10 after reaching a breakpoint.
9876 * gdb.python/python.exp (decode_line current location line
9877 number): Adjust expected line number.
9878
9879 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
9880
9881 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
9882 behavior for $args, pass it directly to "run".
9883
9884 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
9885
9886 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
9887 30000 to 65536.
9888
9889 2014-05-21 Pedro Alves <palves@redhat.com>
9890
9891 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
9892 auto-connect-native-target off".
9893 * gdb.base/auto-connect-native-target.c: New file.
9894 * gdb.base/auto-connect-native-target.exp: New file.
9895
9896 2014-05-21 Pedro Alves <palves@redhat.com>
9897
9898 * gdb.base/default.exp: Test "target native" instead of "target
9899 child".
9900
9901 2014-05-21 Mark Wielaard <mjw@redhat.com>
9902
9903 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9904
9905 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9906
9907 Fix TLS access for -static -pthread.
9908 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
9909 <HAVE_TLS> (thread_function, main): Initialize it.
9910 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
9911 Add clean_restart.
9912 <$have_tls != "">: Check TLSVAR.
9913
9914 2014-05-21 Pedro Alves <palves@redhat.com>
9915
9916 * gdb.base/dcache-line-read-error.c: New.
9917 * gdb.base/dcache-line-read-error.exp: New.
9918
9919 2014-05-20 Pedro Alves <palves@redhat.com>
9920
9921 * gdb.base/compare-sections.c: New file.
9922 * gdb.base/compare-sections.exp: New file.
9923
9924 2014-05-20 Pedro Alves <palves@redhat.com>
9925
9926 * gdb.base/break-idempotent.c: New file.
9927 * gdb.base/break-idempotent.exp: New file.
9928
9929 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
9930
9931 * gdb.btrace/nohist.exp: New.
9932
9933 2014-05-20 Yao Qi <yao@codesourcery.com>
9934
9935 * lib/gdb.exp (gdb_init): Set timeout if test file is under
9936 gdb.reverse directory and gdb_reverse_timeout exists in board
9937 setting.
9938 * README: Document gdb_reverse_timeout.
9939
9940 2014-05-20 Yao Qi <yao@codesourcery.com>
9941
9942 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
9943 'test_file_name'. Treat args as a string instead of a list.
9944 (gdb_init): Rename argument 'args' by 'test_file_name'.
9945
9946 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9947
9948 * gdb.arch/powerpc-power.exp: New file.
9949 * gdb.arch/powerpc-power.s: New file.
9950
9951 2014-05-16 Doug Evans <dje@google.com>
9952
9953 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
9954 * gdb.base/completion.exp: Check that all expected files exist
9955 before doing file completion.
9956
9957 2014-05-16 Doug Evans <dje@google.com>
9958
9959 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
9960 Update.
9961 (do_syscall_tests_without_xml): Update.
9962
9963 2014-05-16 Pedro Alves <palves@redhat.com>
9964
9965 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
9966 instead of "unknown output after running".
9967
9968 2014-05-16 Yao Qi <yao@codesourcery.com>
9969
9970 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
9971 file1.txt from host at the end.
9972 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9973
9974 2014-05-15 Doug Evans <dje@google.com>
9975
9976 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
9977 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
9978 loading file. Add test for TU lookup.
9979
9980 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
9981
9982 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
9983 calling "-exec-arguments" or "set args" before running the
9984 inferior.
9985
9986 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
9987
9988 * lib/mi-support.exp (mi_expect_stop): Expect message for
9989 inferiors that exit with non-zero exit code.
9990
9991 2014-05-14 Yao Qi <yao@codesourcery.com>
9992
9993 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
9994 match absolute path on remote host.
9995 (test_file_list_exec_source_files): Remove "/" from the
9996 pattern.
9997
9998 2014-05-14 Yao Qi <yao@codesourcery.com>
9999
10000 * boards/local-remote-host-notty.exp (${board}_file): New
10001 proc.
10002
10003 2014-05-07 Kyle McMartin <kyle@redhat.com>
10004
10005 Pushed by Joel Brobecker <brobecker@adacore.com>.
10006 * gdb.arch/aarch64-atomic-inst.c: New file.
10007 * gdb.arch/aarch64-atomic-inst.exp: New file.
10008
10009 2014-05-07 Yao Qi <yao@codesourcery.com>
10010
10011 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
10012 in current context" too.
10013
10014 2014-05-05 Keith Seitz <keiths@redhat.com>
10015
10016 * gdb.linespec/ls-dollar.exp: Add test for linespec
10017 file:convenience_variable.
10018
10019 2014-05-05 Yao Qi <yao@codesourcery.com>
10020
10021 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
10022 traceframes into tfile and ctf trace files. Read data from
10023 trace file and test collected data.
10024 (gdb_collect_locals_test): Likewise.
10025 (gdb_unavailable_registers_test): Likewise.
10026 (gdb_unavailable_floats): Likewise.
10027 (gdb_collect_globals_test): Likewise.
10028 (top-level): Append "ctf" to trace_file_targets if GDB
10029 supports.
10030
10031 2014-05-05 Yao Qi <yao@codesourcery.com>
10032
10033 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
10034 code to ...
10035 (gdb_collect_args_test_1): ... it. New proc.
10036 (gdb_collect_locals_test): Move some code to ...
10037 (gdb_collect_locals_test_1): ... it. New proc.
10038 (gdb_unavailable_registers_test): Move some code to ...
10039 (gdb_unavailable_registers_test_1): ... it. New proc.
10040 (gdb_unavailable_floats): Move some code to ...
10041 (gdb_unavailable_floats_1): ... it. New proc.
10042
10043 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10044
10045 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
10046 probes to test for bitness recognition.
10047 * gdb.arch/amd64-stap-optional-prefix.exp
10048 (test_probe_value_without_reg): New procedure.
10049 Add code to test for different kinds of bitness.
10050
10051 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10052
10053 PR breakpoints/16889
10054 * gdb.arch/amd64-stap-optional-prefix.S: New file.
10055 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10056
10057 2014-05-01 Pedro Alves <palves@redhat.com>
10058
10059 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
10060 gdb_file_cmd if no file is specified.
10061 * boards/native-extended-gdbserver.exp (gdb_load): Use the
10062 last_loaded_file to set the remote exec-file.
10063
10064 2014-05-01 Pedro Alves <palves@redhat.com>
10065
10066 * boards/local-remote-host.exp: New file.
10067
10068 2014-05-01 Pedro Alves <palves@redhat.com>
10069
10070 * boards/local-remote-host.exp: Rename to ...
10071 * boards/local-remote-host-notty.exp: ... this.
10072
10073 2014-04-28 Joel Brobecker <brobecker@adacore.com>
10074
10075 * gdb.ada/dyn_arrayidx: New testcase.
10076
10077 2014-04-26 Yao Qi <yao@codesourcery.com>
10078
10079 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
10080 and compute the length of function main. Save it in
10081 $main_length.
10082 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
10083 (top-level): Use gdb_compile to compile objects into
10084 executable and restart GDB. Remove invocation to
10085 prepare_for_testing.
10086
10087 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
10088 Pedro Alves <palves@redhat.com>
10089
10090 PR server/16255
10091 * gdb.multi/multi-attach.c: New file.
10092 * gdb.multi/multi-attach.exp: New file.
10093
10094 2014-04-25 Pedro Alves <palves@redhat.com>
10095
10096 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
10097 user.
10098 (top level): Test that "set remote conditional-breakpoints-packet
10099 off" works as intended.
10100 * gdb.base/dprintf.exp: Test that "set remote
10101 breakpoint-commands-packet off" works as intended.
10102 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
10103 New function.
10104 (top level): Call it.
10105 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
10106 remote fast-tracepoints-packet off" works as intended.
10107 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
10108 * lib/gdb.exp (gdb_is_target_remote): ... here.
10109
10110 2014-04-24 David Blaikie <dblaikie@gmail.com>
10111
10112 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
10113 ensure clang would not discard them.
10114 * gdb.base/gdbvars.c: Ditto.
10115 * gdb.base/memattr.c: Ditto.
10116 * gdb.base/whatis.c: Ditto.
10117 * gdb.python/py-prettyprint.c: Ditto.
10118 * gdb.trace/actions.c: Ditto.
10119 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
10120 ensure clang would not discard it.
10121
10122 2014-04-24 David Blaikie <dblaikie@gmail.com>
10123
10124 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
10125 clang to emit the full definition of type required by the test
10126 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
10127
10128 2014-04-24 David Blaikie <dblaikie@gmail.com>
10129
10130 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
10131 coax Clang into emitting the definition of the type.
10132 * gdb.cp/pr10728-x.h (y): Ditto.
10133 * gdb.cp/pr10728-y.cc (y): Ditto.
10134
10135 2014-04-24 David Blaikie <dblaikie@gmail.com>
10136
10137 * gdb.base/label.exp: XFAIL label related tests under Clang.
10138 * gdb.cp/cplabel.exp: Ditto.
10139 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
10140 under Clang those using labels.
10141
10142 2014-04-25 Yao Qi <yao@codesourcery.com>
10143
10144 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
10145 double_label.
10146 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
10147 partial_label and double_label.
10148
10149 2014-04-24 David Blaikie <dblaikie@gmail.com>
10150
10151 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
10152
10153 2014-04-24 David Blaikie <dblaikie@gmail.com>
10154
10155 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
10156 of the function to work across GCC and Clang.
10157 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
10158 pointer types (const void ** const V void **).
10159
10160 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
10161 Walfred Tedeschi <walfred.tedeschi@intel.com>
10162
10163 * Makefile.in (EXECUTABLES): Added i386-avx512.
10164 * gdb.arch/i386-avx512.c: New file.
10165 * gdb.arch/i386-avx512.exp: Likewise.
10166
10167 2014-04-23 Keith Seitz <keiths@redhat.com>
10168
10169 * lib/mi-support.exp (mi_list_breakpoints): Delete.
10170 (mi_make_breakpoint_table): New procedure.
10171 (mi_create_breakpoint): Use mi_make_breakpoint
10172 and return the result.
10173 (mi_make_breakpoint): New procedure.
10174 (mi_build_kv_pairs): New procedure.
10175
10176 * gdb.mi/mi-break.exp: Remove unused globals,
10177 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
10178 All callers updated.
10179 * gdb.mi/mi-dprintf.exp: Use variable to track command
10180 number.
10181 Update all callers of mi_create_breakpoint and use
10182 mi_make_breakpoint_table.
10183 Remove any unused global variables.
10184 * gdb.mi/mi-nonstop.exp: Likewise.
10185 * gdb.mi/mi-nsintrall.exp: Likewise.
10186 * gdb.mi/mi-nsmoribund.exp: Likewise.
10187 * gdb.mi/mi-nsthrexec.exp: Likewise.
10188 * gdb.mi/mi-reverse.exp: Likewise.
10189 * gdb.mi/mi-simplerun.exp: Likewise.
10190 * gdb.mi/mi-stepn.exp: Likewise.
10191 * gdb.mi/mi-syn-frame.exp: Likewise.
10192 * gdb.mi/mi-until.exp: Likewise.
10193 * gdb.mi/mi-var-cp.exp: Likewise.
10194 * gdb.mi/mi-var-display.exp: Likewise.
10195 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
10196 * gdb.mi/mi2-var-child.exp: Likewise.
10197 * gdb.mi/mi-vla-c99.exp: Likewise.
10198 * lib/mi-support.exp: Likewise.
10199
10200 From Ian Lance Taylor <iant@cygnus.com>:
10201 * lib/gdb.exp (parse_args): New procedure.
10202
10203 2014-04-23 Pedro Alves <palves@redhat.com>
10204
10205 * gdb.base/break-unload-file.c: New file.
10206 * gdb.base/break-unload-file.exp: New file.
10207 * gdb.base/sym-file-lib.c (baz): New function.
10208 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
10209 field.
10210 (load): Store the segment's mapped size.
10211 (unload): New function.
10212 (unload_shlib): New function.
10213 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
10214 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
10215 set a breakpoint at baz, and call it.
10216 * gdb.base/sym-file.exp: New tests for stale breakpoint
10217 instructions.
10218
10219 2014-04-23 Pedro Alves <palves@redhat.com>
10220
10221 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
10222 * gdb.base/hbreak-in-shr-unsupported.c: New file.
10223 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
10224 * gdb.base/hbreak-unmapped.c: New file.
10225 * gdb.base/hbreak-unmapped.exp: New file.
10226 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
10227 * lib/gdb.exp (gdb_is_target_remote): ... here.
10228
10229 2014-04-22 Pedro Alves <palves@redhat.com>
10230
10231 * gdb.base/consecutive-step-over.c: New file.
10232 * gdb.base/consecutive-step-over.exp: New file.
10233
10234 2014-04-22 Pedro Alves <palves@redhat.com>
10235
10236 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
10237 instead of send_gdb/gdb_expect.
10238
10239 2014-04-22 Yao Qi <yao@codesourcery.com>
10240
10241 * lib/trace-support.exp (generate_tracefile): New procedure.
10242 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
10243 return 0.
10244 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
10245 if generate_tracefile returns 1.
10246
10247 2014-04-18 Tom Tromey <palves@redhat.com>
10248 Pedro alves <tromey@redhat.com>
10249
10250 PR backtrace/15558
10251 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
10252 with a backtrace limit.
10253 * gdb.python/py-frame-inline.exp: Test running to an inline
10254 function with a backtrace limit, and printing the newest frame.
10255 * gdb.python/py-frame-inline.c (main): Call f.
10256
10257 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10258
10259 * gdb.java/jnpe.exp: Drop srcdir from untested path.
10260
10261 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10262
10263 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
10264 Drop prefix from unsupported source file path.
10265
10266 2014-04-17 Yao Qi <yao@codesourcery.com>
10267
10268 * lib/gdb.exp (with_target_charset): New proc.
10269 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10270 with_target_charset.
10271 (test_print_strings): Likewise.
10272 (test_repeat_bytes): Likewise.
10273 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10274 for some tests.
10275
10276 2014-04-16 Keith Seitz <keiths@redhat.com>
10277
10278 PR gdb/15827
10279 * gdb.dwarf2/corrupt.c: New file.
10280 * gdb.dwarf2/corrupt.exp: New file.
10281
10282 2014-04-16 Keith Seitz <keiths@redhat.com>
10283
10284 PR c++/16597
10285 * gdb.cp/namelessclass.cc: New file.
10286 * gdb.cp/namelessclass.exp: New file.
10287 * gdb.cp/namelessclass.S: New file.
10288
10289 2014-04-16 Doug Evans <dje@google.com>
10290
10291 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10292 Add comment.
10293 (gdbserver_default_get_comm_port): New function.
10294 (gdbserver_start): Check if board file provided
10295 "gdbserver,get_comm_port" and use it if so.
10296 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10297 (gdb,socketport): Set to "stdio".
10298 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10299 (stdio_gdbserver_template): Delete.
10300 (${board}_get_remote_address): Update.
10301 (${board}_build_remote_cmd): Delete.
10302 (${board}_get_comm_port): New function.
10303 (${board}_spawn): Update.
10304 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10305 Delete.
10306 (${board}_get_remote_address): Update.
10307 (${board}_get_comm_port): New function.
10308
10309 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
10310
10311 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10312 appearing in any order.
10313
10314 2014-04-15 Doug Evans <dje@google.com>
10315
10316 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10317 uninitialized value of "description".
10318
10319 2014-04-15 Keith Seitz <keiths@redhat.com>
10320
10321 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10322 Remove unused globals.
10323 (test_running_the_program): Likewise.
10324 (test_controlled_execution): Likewise.
10325 (test_controlling_breakpoints): Likewise.
10326 (test_program_termination): Likewise.
10327
10328 2014-04-15 Keith Seitz <keiths@redhat.com>
10329
10330 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10331 unused globals.
10332 (test_rbreak_creation_and_listing): Likewise.
10333 (test_ignore_count): Likewise.
10334 (test_error): Likewise.
10335
10336 2014-04-15 Pedro Alves <palves@redhat.com>
10337
10338 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10339 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10340 sym-file-loader.c.
10341 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10342 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10343 to sym-file-loader.c.
10344 (struct library): Forward declare.
10345 (load_shlib, lookup_function): Change prototypes.
10346 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10347 (translate_offset): Remove declarations.
10348 (get_text_addr): New declaration.
10349 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10350 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10351 sym-file-loader.h.
10352 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10353 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10354 here from sym-file-loader.h.
10355 (struct library): New structure.
10356 (load_shlib, lookup_function): Change prototypes and adjust to
10357 work with a struct library.
10358 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10359 (translate_offset): Make static.
10360 (get_text_addr): New function.
10361 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
10362
10363 2014-04-15 Pedro Alves <palves@redhat.com>
10364
10365 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
10366
10367 2014-04-15 Pedro Alves <palves@redhat.com>
10368
10369 * gdb.base/sym-file-loader.c: Include <limits.h>.
10370 (SELF_LINK): New define.
10371 (get_origin): New function.
10372 (load_shlib): Use it.
10373 * gdb.base/sym-file.exp: Don't early return if the target is
10374 remote. Use runto_main, and issue fail is that fails. Use
10375 gdb_load_shlibs.
10376 (shlib_name): Delete.
10377 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
10378
10379 2014-04-15 Pedro Alves <palves@redhat.com>
10380
10381 * gdb.base/sym-file.exp: Remove regex characters from test
10382 message. Don't refer to breakpoint numbers in test messages.
10383
10384 2014-04-14 Keith Seitz <keiths@redhat.com>
10385
10386 PR c++/16253
10387 * gdb.cp/var-tag.cc: New file.
10388 * gdb.cp/var-tag.exp: New file.
10389 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10390 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10391 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10392 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10393
10394 2014-04-14 Tom Tromey <tromey@redhat.com>
10395
10396 * gdb.cp/classes.exp (test_enums): Handle underlying type.
10397 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
10398 type.
10399 * gdb.cp/enum-class.exp: New file.
10400 * gdb.cp/enum-class.cc: New file.
10401
10402 2014-04-14 Tom Tromey <tromey@redhat.com>
10403
10404 * gdb.dwarf2/enum-type.exp: New file.
10405
10406 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10407
10408 * gdb.mi/mi-vla-c99.exp: New file.
10409 * gdb.mi/vla.c: New file.
10410
10411 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10412
10413 * gdb.base/vla-datatypes.c: New file.
10414 * gdb.base/vla-datatypes.exp: New file.
10415
10416 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10417
10418 * gdb.base/vla-ptr.c: New file.
10419 * gdb.base/vla-ptr.exp: New file.
10420
10421 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10422
10423 * gdb.dwarf2/count.exp: New file.
10424
10425 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10426
10427 * gdb.base/vla-sideeffect.c: New file.
10428 * gdb.base/vla-sideeffect.exp: New file.
10429
10430 2014-04-14 David Blaikie <dblaikie@gmail.com>
10431
10432 * gdb.mi/non-stop.c: Add return value for non-void function return
10433 statement.
10434 * gdb.threads/staticthreads.c: Ditto.
10435
10436 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
10437 Doug Evans <xdje42@gmail.com>
10438
10439 * gdb.guile/scm-value.c: Improve test case.
10440 * gdb.guile/scm-value.exp: Add new test.
10441
10442 2014-04-11 David Blaikie <dblaikie@gmail.com>
10443
10444 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
10445 override Clang's default.
10446
10447 2014-04-11 Joel Brobecker <brobecker@adacore.com>
10448
10449 Revert the following changes (regressions):
10450
10451 * gdb.base/vla-sideeffect.c: New file.
10452 * gdb.base/vla-sideeffect.exp: New file.
10453
10454 * gdb.dwarf2/count.exp: New file.
10455
10456 * gdb.base/vla-multi.c: New file.
10457 * gdb.base/vla-multi.exp: New file.
10458
10459 * gdb.base/vla-ptr.c: New file.
10460 * gdb.base/vla-ptr.exp: New file.
10461
10462 * gdb.base/vla-datatypes.c: New file.
10463 * gdb.base/vla-datatypes.exp: New file.
10464
10465 * gdb.mi/mi-vla-c99.exp: New file.
10466 * gdb.mi/vla.c: New file.
10467
10468 2014-04-11 Keith Seitz <keiths@redhat.com>
10469
10470 PR c++/16675
10471 * gdb.cp/cpsizeof.exp: New file.
10472 * gdb.cp/cpsizeof.cc: New file.
10473
10474 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10475
10476 * gdb.mi/mi-vla-c99.exp: New file.
10477 * gdb.mi/vla.c: New file.
10478
10479 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10480
10481 * gdb.base/vla-datatypes.c: New file.
10482 * gdb.base/vla-datatypes.exp: New file.
10483
10484 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10485
10486 * gdb.base/vla-ptr.c: New file.
10487 * gdb.base/vla-ptr.exp: New file.
10488
10489 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10490
10491 * gdb.base/vla-multi.c: New file.
10492 * gdb.base/vla-multi.exp: New file.
10493
10494 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10495
10496 * gdb.dwarf2/count.exp: New file.
10497
10498 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10499
10500 * gdb.base/vla-sideeffect.c: New file.
10501 * gdb.base/vla-sideeffect.exp: New file.
10502
10503 2014-04-11 Yao Qi <yao@codesourcery.com>
10504
10505 * gdb.base/completion.exp: Check file exists before running tests
10506 on file completion.
10507
10508 2014-04-10 Pedro Alves <palves@redhat.com>
10509
10510 * gdb.base/cond-eval-mode.c: New file.
10511 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
10512 prepare_for_testing to build the new file. Check result of
10513 runto_main.
10514 (test_break, test_watch): New procedures.
10515 (top level): Use them.
10516
10517 2014-04-08 Pierre Muller <muller@sourceware.org>
10518
10519 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
10520 Ctrl-V use for mingw hosts.
10521
10522 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
10523
10524 * gdb.python/py-value.c: Improve test case.
10525 * gdb.python/py-value.exp: Add new test.
10526
10527 2014-04-07 David Blaikie <dblaikie@gmail.com>
10528
10529 * lib/compiler.c: Identify the clang compiler.
10530 * lib/compiler.cc: Ditto.
10531
10532 2014-04-03 Yao Qi <yao@codesourcery.com>
10533
10534 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
10535
10536 2014-04-01 Anton Blanchard <anton@samba.org>
10537
10538 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
10539 messages unique.
10540
10541 2014-04-01 Anton Blanchard <anton@samba.org>
10542
10543 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
10544 prepare_for_testing.
10545
10546 2014-04-01 Anton Blanchard <anton@samba.org>
10547
10548 * gdb.arch/ppc64-atomic-inst.c: Remove.
10549 * gdb.arch/ppc64-atomic-inst.S: New file.
10550 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
10551
10552 2014-03-31 Doug Evans <dje@google.com>
10553
10554 * gdb.base/print-symbol-loading-lib.c: New file.
10555 * gdb.base/print-symbol-loading-main.c: New file.
10556 * gdb.base/print-symbol-loading.exp: New file.
10557
10558 2014-03-31 Yao Qi <yao@codesourcery.com>
10559
10560 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
10561
10562 2014-03-28 Joel Brobecker <brobecker@adacore.com>
10563
10564 * gdb.ada/mi_dyn_arr: New testcase.
10565
10566 2014-03-27 Doug Evans <dje@google.com>
10567
10568 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
10569
10570 2014-03-27 Yao Qi <yao@codesourcery.com>
10571
10572 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
10573 if target is nios2-*-*.
10574
10575 2014-03-26 Yao Qi <yao@codesourcery.com>
10576
10577 * lib/gdb.exp (readline_is_used): New proc.
10578 * gdb.base/completion.exp: Move tests on command complete up.
10579 Skip the rest of tests if readline is not used.
10580 * gdb.ada/complete.exp: Skp the test if readline is not
10581 used.
10582 * gdb.base/filesym.exp: Likewise.
10583 * gdb.base/macscp.exp: Likewise.
10584 * gdb.base/readline-ask.exp: Likewise.
10585 * gdb.base/readline.exp: Likewise.
10586 * gdb.python/py-cmd.exp: Likewise.
10587 * gdb.trace/tfile.exp: Likewise.
10588
10589 2014-03-26 Yao Qi <yao@codesourcery.com>
10590
10591 * gdb.base/macscp.exp: Fix code format issues.
10592
10593 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
10594
10595 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
10596 * gdb.asm/powerpc64le.inc: New file.
10597
10598 2014-03-25 Pedro Alves <palves@redhat.com>
10599 Doug Evans <dje@google.com>
10600
10601 * gdb.base/source-execution.c: New file.
10602 * gdb.base/source-execution.exp: New file.
10603 * gdb.base/source-execution.gdb: New file.
10604
10605 2014-03-24 Doug Evans <dje@google.com>
10606
10607 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
10608 using fission.
10609
10610 2014-03-24 Hui Zhu <hui@codesourcery.com>
10611 Pedro Alves <palves@redhat.com>
10612
10613 PR breakpoints/16101
10614 * gdb.base/dprintf.exp: Use unsupported rather than changing the
10615 test pass/fail messages. Detect missing support for dprintf when
10616 breakpoints are actually inserted.
10617 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
10618 breakpoints are actually inserted.
10619 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
10620 fails.
10621
10622 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10623
10624 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
10625
10626 2014-03-22 Doug Evans <xdje42@gmail.com>
10627
10628 * gdb.python/python.exp (python not supported): Verify multi-line
10629 python command issues an error.
10630 * gdb.guile/guile.exp (guile not supported): Verify multi-line
10631 guile command issues an error.
10632
10633 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
10634
10635 * gdb.threads/thread-specific.exp: Handle the lack of usable
10636 $this_breakpoint and $this_thread.
10637
10638 2014-03-21 Hui Zhu <hui@codesourcery.com>
10639
10640 * gdb.base/attach.exp (do_command_attach_tests): New.
10641
10642 2014-03-20 Tom Tromey <tromey@redhat.com>
10643 Pedro Alves <palves@redhat.com>
10644
10645 PR cli/15718
10646 * gdb.base/condbreak-call-false.c: New file.
10647 * gdb.base/condbreak-call-false.exp: New file.
10648
10649 2014-03-20 Pedro Alves <palves@redhat.com>
10650
10651 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
10652 Delete.
10653 (block_signals, unblock_signals): Delete.
10654 (child_function_2, main): Remove references to deleted variable
10655 and functions.
10656
10657 2014-03-20 Pedro Alves <palves@redhat.com>
10658
10659 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
10660 Use pthread_kill to signal thread 2.
10661 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10662 Adjust to make the test send itself a signal rather than using the
10663 host's "kill" command.
10664
10665 2014-03-20 Pedro Alves <palves@redhat.com>
10666
10667 * gdb.threads/multiple-step-overs.c: New file.
10668 * gdb.threads/multiple-step-overs.exp: New file.
10669 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10670 Adjust expected infrun debug output.
10671
10672 2014-03-20 Pedro Alves <palves@redhat.com>
10673
10674 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
10675 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
10676
10677 2014-03-20 Pedro Alves <palves@redhat.com>
10678
10679 PR breakpoints/7143
10680 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
10681 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
10682 of gdb_test_multiple.
10683 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
10684 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
10685
10686 2014-03-20 Pedro Alves <palves@redhat.com>
10687
10688 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
10689 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
10690
10691 2014-03-19 Pedro Alves <palves@redhat.com>
10692
10693 * gdb.base/async.exp: Remove early return.
10694
10695 2014-03-19 Pedro Alves <palves@redhat.com>
10696
10697 * gdb.base/async.exp (step& tests): Pass explicit test messages.
10698
10699 2014-03-19 Pedro Alves <palves@redhat.com>
10700
10701 * gdb.base/async.exp (test_background): Expect \r\n after
10702 "completed." in the fail pattern.
10703
10704 2014-03-19 Pedro Alves <palves@redhat.com>
10705
10706 * gdb.base/async.exp (test_background): New procedure.
10707 Use it for all background execution command tests.
10708
10709 2014-03-19 Pedro Alves <palves@redhat.com>
10710
10711 * gdb.base/async.exp: Use prepare_for_testing.
10712
10713 2014-03-19 Pedro Alves <palves@redhat.com>
10714
10715 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
10716 the same line.
10717
10718 2014-03-19 Pedro Alves <palves@redhat.com>
10719
10720 * gdb.base/async.c (main): Add "jump here" and "until here" line
10721 marker comments.
10722 * gdb.base/async.exp (jump_here): New global.
10723 (jump& test): Use it.
10724 (until_here): New global.
10725 (until& test): Use it.
10726
10727 2014-03-19 Pedro Alves <palves@redhat.com>
10728
10729 * gdb.base/async.exp: Don't frob gdb_protocol.
10730
10731 2014-03-18 Doug Evans <xdje42@gmail.com>
10732
10733 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
10734 Fix spelling of exec-done-display.
10735
10736 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10737
10738 PR gdb/15358
10739 * gdb.base/gdb-sigterm.c: New file.
10740 * gdb.base/gdb-sigterm.exp: New file.
10741
10742 2014-03-18 Pedro Alves <palves@redhat.com>
10743
10744 PR gdb/13860
10745 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
10746 * lib/mi-support.exp (mi_expect_stop): Add special handling for
10747 solib-event.
10748
10749 2014-03-17 Joel Brobecker <brobecker@adacore.com>
10750
10751 * gdb.ada/pckd_arr_ren: New testcase.
10752
10753 2014-03-13 Doug Evans <xdje42@gmail.com>
10754
10755 PR guile/16612
10756 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
10757 collect after discarding symbols.
10758
10759 2014-03-13 Ludovic Courtès <ludo@gnu.org>
10760 Doug Evans <xdje42@gmail.com>
10761
10762 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
10763 to history survives a gc.
10764
10765 2014-03-13 Pedro Alves <palves@redhat.com>
10766
10767 * gdb.base/default.exp: Don't test "target procfs".
10768
10769 2014-03-13 Pedro Alves <palves@redhat.com>
10770
10771 * gdb.base/default.exp: Update "target child" and "target procfs"
10772 tests to not expect "Unix".
10773
10774 2014-03-12 Tom Tromey <tromey@redhat.com>
10775
10776 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
10777 New procs. Add target-async tests.
10778 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
10779 Add target-async tests.
10780
10781 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10782
10783 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
10784 'func_start' and 'func_end' for the beginning and end of the
10785 function code, respectively.
10786 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
10787 'func_end' instead of 'func' and 'main'.
10788
10789 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10790
10791 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
10792 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
10793 generate the debug info assembler source.
10794
10795 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10796
10797 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
10798 * gdb.dwarf2/arr-subrange.exp: Likewise.
10799 * gdb.dwarf2/dwz.exp: Likewise.
10800 * gdb.dwarf2/method-ptr.exp: Likewise.
10801 * gdb.dwarf2/missing-sig-type.exp: Likewise.
10802 * gdb.dwarf2/subrange.exp: Likewise.
10803 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
10804 * gdb.dwarf2/implptrpiece.exp: Likewise.
10805 * gdb.dwarf2/nostaticblock.exp: Likewise.
10806
10807 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10808
10809 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
10810 directory to absolute path name arguments.
10811
10812 2014-03-10 Joel Brobecker <brobecker@adacore.com>
10813
10814 * gdb.ada/tagged_access: New testcase.
10815
10816 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
10817
10818 * gdb.btrace/data.exp: Update expected output.
10819
10820 2014-03-06 Yao Qi <yao@codesourcery.com>
10821
10822 * gdb.trace/pr16508.exp: New file.
10823
10824 2014-03-05 Pedro Alves <palves@redhat.com>
10825
10826 PR gdb/16575
10827 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
10828 procedure.
10829 (top level): Adjust to use it. Add tests that exercise breakpoint
10830 interaction with the code-cache.
10831
10832 2014-02-26 Ludovic Courtès <ludo@gnu.org>
10833
10834 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
10835 test for 'history-append!'.
10836
10837 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10838
10839 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
10840 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
10841 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
10842 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
10843 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
10844 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
10845
10846 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10847
10848 * testsuite/gdb.python/py-pp-re-notag.c: New file.
10849 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
10850 * testsuite/gdb.python/py-pp-re-notag.p: New file.
10851
10852 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10853
10854 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
10855
10856 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10857
10858 * gdb.dwarf2/arr-stride.c: New file.
10859 * gdb.dwarf2/arr-stride.exp: New file.
10860
10861 2014-02-26 Pedro Alves <palves@redhat.com>
10862
10863 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
10864 that won't ever trigger. Make sure that GDB reports the correct
10865 breakpoint that caused the stop.
10866
10867 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10868
10869 PR gdb/16626
10870 * gdb.base/auto-load-script: New file.
10871 * gdb.base/auto-load.c: New file.
10872 * gdb.base/auto-load.exp: New file.
10873
10874 PR gdb/16626
10875 * gdb.base/auto-load.exp: Fix out-of-srctree run.
10876
10877 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10878
10879 Fix dw2-icycle.exp -fsanitize=address GDB crash.
10880 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
10881
10882 2014-02-24 Doug Evans <dje@google.com>
10883
10884 * lib/gdb.exp (run_on_host): Log error output if program fails.
10885
10886 2014-02-21 Pedro Alves <palves@redhat.com>
10887
10888 * gdb.threads/step-after-sr-lock.c: Rename to ...
10889 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
10890 * gdb.threads/step-after-sr-lock.exp: Rename to ...
10891 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10892 ... this.
10893
10894 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
10895
10896 PR tdep/16397
10897 * gdb.arch/amd64-stap-special-operands.exp: New file.
10898 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
10899 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
10900 * gdb.arch/amd64-stap-triplet.S: Likewise.
10901 * gdb.arch/amd64-stap-triplet.c: Likewise.
10902
10903 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10904
10905 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
10906 in .section pseudo-op.
10907
10908 2014-02-20 lin zuojian <manjian2006@gmail.com>
10909 Joel Brobecker <brobecker@adacore.com>
10910 Doug Evans <xdje42@gmail.com>
10911
10912 PR symtab/16581
10913 * gdb.dwarf2/dw2-icycle.S: New file.
10914 * gdb.dwarf2/dw2-icycle.c: New file.
10915 * gdb.dwarf2/dw2-icycle.exp: New file.
10916
10917 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
10918
10919 * gdb.python/py-value-cc.cc: Improve test case to enable testing
10920 operations on gdb.Value objects.
10921 * gdb.python/py-value-cc.exp: Add new test to test operations on
10922 gdb.Value objects.
10923
10924 2014-02-18 Doug Evans <dje@google.com>
10925
10926 * Makefile.in (TESTS): New variable.
10927 (expanded_tests, expanded_tests_or_none): New variables
10928 (check-single): Pass $(expanded_tests_or_none) to runtest.
10929 (check-parallel): Only run tests in $(TESTS) if non-empty.
10930 (check/no-matching-tests-found): New rule.
10931 * README: Document TESTS makefile variable.
10932
10933 2014-02-18 Doug Evans <dje@google.com>
10934
10935 * Makefile.in (check-parallel): rm -rf outputs temp.
10936
10937 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10938
10939 Fix "ERROR: no fileid for" in the testsuite.
10940 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
10941
10942 2014-02-12 Doug Evans <dje@google.com>
10943
10944 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
10945 (MISCELLANEOUS): New variable.
10946 (clean): rm -rf $(MISCELLANEOUS).
10947 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
10948 dwp live in the same directory as symlinks, with each symlink pointed
10949 to a differently named file in a different directory.
10950
10951 2014-02-11 Doug Evans <dje@google.com>
10952
10953 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
10954 of Tcl file commands.
10955
10956 2014-02-10 Mark Kettenis <kettenis@gnu.org>
10957
10958 * gdb.threads/step-after-sr-lock.exp: Avoid executing
10959 "kill -SIGUSR1 -1".
10960
10961 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10962
10963 * gdb.ada/tick_length_array_enum_idx: New testcase.
10964
10965 2014-02-10 Doug Evans <xdje42@gmail.com>
10966
10967 * configure.ac (AC_OUTPUT): Add gdb.guile.
10968 * configure: Regenerate.
10969 * lib/gdb-guile.exp: New file.
10970 * lib/gdb.exp (get_target_charset): New function.
10971 * gdb.base/help.exp: Update expected output from "apropos apropos".
10972 * gdb.guile/Makefile.in: New file.
10973 * gdb.guile/guile.exp: New file.
10974 * gdb.guile/scm-arch.c: New file.
10975 * gdb.guile/scm-arch.exp: New file.
10976 * gdb.guile/scm-block.c: New file.
10977 * gdb.guile/scm-block.exp: New file.
10978 * gdb.guile/scm-breakpoint.c: New file.
10979 * gdb.guile/scm-breakpoint.exp: New file.
10980 * gdb.guile/scm-disasm.c: New file.
10981 * gdb.guile/scm-disasm.exp: New file.
10982 * gdb.guile/scm-equal.c: New file.
10983 * gdb.guile/scm-equal.exp: New file.
10984 * gdb.guile/scm-error.exp: New file.
10985 * gdb.guile/scm-error.scm: New file.
10986 * gdb.guile/scm-frame-args.c: New file.
10987 * gdb.guile/scm-frame-args.exp: New file.
10988 * gdb.guile/scm-frame-args.scm: New file.
10989 * gdb.guile/scm-frame-inline.c: New file.
10990 * gdb.guile/scm-frame-inline.exp: New file.
10991 * gdb.guile/scm-frame.c: New file.
10992 * gdb.guile/scm-frame.exp: New file.
10993 * gdb.guile/scm-generics.exp: New file.
10994 * gdb.guile/scm-gsmob.exp: New file.
10995 * gdb.guile/scm-iterator.c: New file.
10996 * gdb.guile/scm-iterator.exp: New file.
10997 * gdb.guile/scm-math.c: New file.
10998 * gdb.guile/scm-math.exp: New file.
10999 * gdb.guile/scm-objfile-script-gdb.in: New file.
11000 * gdb.guile/scm-objfile-script.c: New file.
11001 * gdb.guile/scm-objfile-script.exp: New file.
11002 * gdb.guile/scm-objfile.c: New file.
11003 * gdb.guile/scm-objfile.exp: New file.
11004 * gdb.guile/scm-ports.exp: New file.
11005 * gdb.guile/scm-pretty-print.c: New file.
11006 * gdb.guile/scm-pretty-print.exp: New file.
11007 * gdb.guile/scm-pretty-print.scm: New file.
11008 * gdb.guile/scm-section-script.c: New file.
11009 * gdb.guile/scm-section-script.exp: New file.
11010 * gdb.guile/scm-section-script.scm: New file.
11011 * gdb.guile/scm-symbol.c: New file.
11012 * gdb.guile/scm-symbol.exp: New file.
11013 * gdb.guile/scm-symtab-2.c: New file.
11014 * gdb.guile/scm-symtab.c: New file.
11015 * gdb.guile/scm-symtab.exp: New file.
11016 * gdb.guile/scm-type.c: New file.
11017 * gdb.guile/scm-type.exp: New file.
11018 * gdb.guile/scm-value-cc.cc: New file.
11019 * gdb.guile/scm-value-cc.exp: New file.
11020 * gdb.guile/scm-value.c: New file.
11021 * gdb.guile/scm-value.exp: New file.
11022 * gdb.guile/source2.scm: New file.
11023 * gdb.guile/types-module.cc: New file.
11024 * gdb.guile/types-module.exp: New file.
11025
11026 2014-02-10 Yao Qi <yao@codesourcery.com>
11027
11028 PR testsuite/16543
11029 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
11030 * configure: Regenerated.
11031 * Makefile.in: New file.
11032
11033 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11034
11035 * gdb.python/py-framefilter.exp: Fix typo.
11036
11037 2014-02-08 Yao Qi <yao@codesourcery.com>
11038
11039 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
11040 that no =breakpoint-modified is emitted when breakpoints are
11041 modified through MI commands.
11042
11043 2014-02-07 Pedro Alves <pedro@codesourcery.com>
11044 Pedro Alves <palves@redhat.com>
11045
11046 * gdb.threads/step-after-sr-lock.c: New file.
11047 * gdb.threads/step-after-sr-lock.exp: New file.
11048
11049 2014-02-07 Pedro Alves <palves@redhat.com>
11050
11051 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
11052
11053 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11054
11055 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
11056 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
11057
11058 2014-02-06 Doug Evans <xdje42@gmail.com>
11059
11060 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
11061 output.
11062
11063 * gdb.gdb/python-interrupts.exp: New file.
11064
11065 2014-02-05 Yao Qi <yao@codesourcery.com>
11066
11067 * gdb.trace/report.exp (use_collected_data): Test the output
11068 of "info threads" and "info inferiors".
11069
11070 2014-02-05 Yao Qi <yao@codesourcery.com>
11071
11072 Revert this patch:
11073
11074 2013-05-24 Yao Qi <yao@codesourcery.com>
11075
11076 * gdb.trace/tfile.exp: Test inferior and thread.
11077
11078 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11079
11080 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
11081 on a function.
11082 * gdb.base/step-bt.c: Call hello via function pointer to make
11083 sure its first instruction is executed on powerpc64le-linux.
11084
11085 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11086
11087 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
11088
11089 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11090
11091 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
11092 of the test patterns for use on little-endian systems.
11093
11094 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11095
11096 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
11097 (decimal_vector): Fix for little-endian.
11098
11099 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11100
11101 * gdb.arch/sparc-sysstep.exp: New file.
11102 * gdb.arch/sparc-sysstep.c: Likewise.
11103
11104 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
11105
11106 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11107
11108 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
11109
11110 2014-01-23 Tom Tromey <tromey@redhat.com>
11111
11112 * gdb.ada/array_char_idx: New testcase.
11113
11114 2014-01-23 Tom Tromey <tromey@redhat.com>
11115
11116 PR python/16487:
11117 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
11118 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
11119 classes.
11120
11121 2014-01-23 Tom Tromey <tromey@redhat.com>
11122
11123 PR python/16491:
11124 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
11125 string from an inferior frame.
11126 * gdb.python/py-framefilter-mi.exp: Update.
11127
11128 2014-01-22 Doug Evans <dje@google.com>
11129
11130 * gdb.server/server-mon.exp: Add tests for "set debug-format".
11131
11132 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11133
11134 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
11135
11136 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11137
11138 * gdb.trace/entry-values.exp: Remove excess space character from
11139 regex patterns. Handle s390 call instruction.
11140
11141 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11142
11143 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
11144 define "*_start" label. Make "name" static.
11145 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
11146 ${name} by references to ${name}_start.
11147
11148 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11149
11150 * gdb.base/info-macros.exp: Remove "debug" from the compile
11151 options.
11152
11153 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11154
11155 * gdb.dlang/demangle.exp: New file.
11156
11157 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11158
11159 * gdb.dlang/primitive-types.exp: New file.
11160
11161 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11162
11163 * configure.ac: Create gdb.dlang/Makefile.
11164 * configure: Regenerate.
11165 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
11166 * gdb.dlang/Makefile.in: New file.
11167 * lib/d-support.exp: New file.
11168 * lib/gdb.exp (skip_d_tests): New proc.
11169
11170 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11171
11172 * gdb.btrace/delta.exp: Check reverse stepi.
11173 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
11174 * gdb.btrace/finish.exp: New.
11175 * gdb.btrace/next.exp: New.
11176 * gdb.btrace/nexti.exp: New.
11177 * gdb.btrace/record_goto.c: Add comments.
11178 * gdb.btrace/step.exp: New.
11179 * gdb.btrace/stepi.exp: New.
11180 * gdb.btrace/multi-thread-step.c: New.
11181 * gdb.btrace/multi-thread-step.exp: New.
11182 * gdb.btrace/rn-dl-bind.c: New.
11183 * gdb.btrace/rn-dl-bind.exp: New.
11184 * gdb.btrace/data.c: New.
11185 * gdb.btrace/data.exp: New.
11186 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11187
11188 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11189
11190 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
11191 * gdb.btrace/exception.exp: Update.
11192 * gdb.btrace/instruction_history.exp: Update.
11193 * gdb.btrace/record_goto.exp: Update.
11194 * gdb.btrace/tailcall.exp: Update.
11195 * gdb.btrace/unknown_functions.exp: Update.
11196 * gdb.btrace/delta.exp: New.
11197
11198 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11199
11200 * gdb.btrace/record_goto.exp: Add backtrace test.
11201 * gdb.btrace/tailcall.exp: Add backtrace test.
11202
11203 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11204
11205 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
11206 * gdb.btrace/record_goto.c: New.
11207 * gdb.btrace/record_goto.exp: New.
11208 * gdb.btrace/x86-record_goto.S: New.
11209
11210 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11211
11212 * gdb.btrace/function_call_history.exp: Update tests.
11213 * gdb.btrace/instruction_history.exp: Update tests.
11214
11215 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11216
11217 * gdb.btrace/function_call_history.exp: Fix expected field
11218 order for "record function-call-history".
11219 Add new tests for "record function-call-history /c".
11220 * gdb.btrace/exception.cc: New.
11221 * gdb.btrace/exception.exp: New.
11222 * gdb.btrace/tailcall.exp: New.
11223 * gdb.btrace/x86-tailcall.S: New.
11224 * gdb.btrace/x86-tailcall.c: New.
11225 * gdb.btrace/unknown_functions.c: New.
11226 * gdb.btrace/unknown_functions.exp: New.
11227 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11228
11229 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11230
11231 * gdb.btrace/instruction_history.exp: Update.
11232 * gdb.btrace/function_call_history.exp: Update.
11233
11234 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11235
11236 * gdb.btrace/function_call_history.exp: Fix expected function
11237 trace.
11238 * gdb.btrace/instruction_history.exp: Initialize traced.
11239 Remove traced_functions.
11240
11241 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11242
11243 * gdb.btrace/function_call_history.exp: Update
11244 * gdb.btrace/instruction_history.exp: Update.
11245
11246 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11247
11248 * gdb.btrace/enable.exp: Update expected text.
11249
11250 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
11251
11252 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
11253 bytes.
11254
11255 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
11256
11257 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
11258
11259 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11260
11261 * lib/gdb.exp (supports_process_record): Return true for
11262 arm*-linux*. (supports_reverse): Likewise.
11263
11264 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11265
11266 PR python/15464
11267 PR python/16113
11268 * gdb.python/py-type.c: Enhance test case.
11269 * gdb.python/py-value-cc.cc: Likewise
11270 * gdb.python/py-type.exp: Add new tests.
11271 * gdb.python/py-value-cc.exp: Likewise
11272
11273 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11274 Pedro Alves <palves@redhat.com>
11275
11276 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11277 Make "name" extern.
11278 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11279 references to ${name}_start by references to ${name}.
11280
11281 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11282
11283 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11284
11285 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11286
11287 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11288
11289 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11290 Pedro Alves <palves@redhat.com>
11291
11292 * gdb.mi/mi-info-os.exp: Connect to the target with
11293 mi_gdb_target_load.
11294
11295 2014-01-08 Pedro Alves <palves@redhat.com>
11296
11297 * gdb.threads/reconnect-signal.c: New file.
11298 * gdb.threads/reconnect-signal.exp: New file.
11299
11300 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11301
11302 * gdb.base/source-dir.exp: New file.
11303
11304 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11305
11306 * gdb.ada/mi_interface: New testcase.
11307
11308 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11309
11310 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11311 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11312 gdb.ada/pp-rec-component/pck.ads: New files.
11313
11314 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11315
11316 * gdb.python/py-pp-integral.c: New file.
11317 * gdb.python/py-pp-integral.py: New file.
11318 * gdb.python/py-pp-integral.exp: New file.
11319
11320 For older changes see ChangeLog-1993-2013.
11321 \f
11322 ;; Local Variables:
11323 ;; mode: change-log
11324 ;; left-margin: 8
11325 ;; fill-column: 74
11326 ;; version-control: never
11327 ;; End:
11328
11329 Copyright 2014-2017 Free Software Foundation, Inc.
11330 Copying and distribution of this file, with or without modification,
11331 are permitted provided the copyright notice and this notice are preserved.