]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/ChangeLog
"gdb.arch/i386-pkru.exp: probe PKRU support" shouldn't FAIL if not supported
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2017-03-08 Pedro Alves <palves@redhat.com>
2
3 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
4 PKRU as not supported as a PASS.
5
6 2017-03-08 Pedro Alves <palves@redhat.com>
7
8 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
9 prefix instead of $binfile1/$binfile2.
10 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
11 in test message.
12 * gdb.python/py-completion.exp: Use "load python file" as test
13 messages instead of unstable path names.
14
15 2017-03-08 Pedro Alves <palves@redhat.com>
16 Jan Kratochvil <jan.kratochvil@redhat.com>
17
18 PR cli/21218
19 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
20 New proc.
21 (top level): Call it.
22
23 2017-03-08 Pedro Alves <palves@redhat.com>
24
25 PR tui/21216
26 * gdb.tui/tui-nl-filtered-output.exp: New file.
27
28 2017-03-08 Pedro Alves <palves@redhat.com>
29
30 * gdb.base/completion.exp: Move TUI completion tests to ...
31 * gdb.tui/completion.exp: ... this new file.
32
33 2017-03-08 Pedro Alves <palves@redhat.com>
34
35 * gdb.base/tui-disasm-long-lines.c,
36 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
37 gdb.base/tui-layout.exp: Move to ...
38 * gdb.tui/: ... this new directory.
39
40 2017-03-07 Pedro Alves <palves@redhat.com>
41
42 * gdb.base/tui-layout.c: New file.
43 * gdb.base/tui-layout.exp: New file.
44
45 2017-03-07 Pedro Alves <palves@redhat.com>
46
47 * gdb.base/tui-layout.c: Rename to ...
48 * gdb.base/tui-disasm-long-lines.c: ... this.
49 * gdb.base/tui-layout.exp: Rename to ...
50 * gdb.base/tui-disasm-long-lines.exp: ... this.
51
52 2017-03-07 Pedro Alves <palves@redhat.com>
53
54 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
55
56 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
57
58 * i386-mpx-call.c: New file.
59 * i386-mpx-call.exp: New file.
60
61 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
62
63 * gdb.arch/powerpc-power.exp: Delete test.
64 * gdb.arch/powerpc-power.s: Likewise.
65 * gdb.disasm/disassembler-options.exp: New test.
66 * gdb.arch/powerpc-altivec.exp: Likewise.
67 * gdb.arch/powerpc-altivec.s: Likewise.
68 * gdb.arch/powerpc-altivec2.exp: Likewise.
69 * gdb.arch/powerpc-altivec2.s: Likewise.
70 * gdb.arch/powerpc-altivec3.exp: Likewise.
71 * gdb.arch/powerpc-altivec3.s: Likewise.
72 * gdb.arch/powerpc-power7.exp: Likewise.
73 * gdb.arch/powerpc-power7.s: Likewise.
74 * gdb.arch/powerpc-power8.exp: Likewise.
75 * gdb.arch/powerpc-power8.s: Likewise.
76 * gdb.arch/powerpc-power9.exp: Likewise.
77 * gdb.arch/powerpc-power9.s: Likewise.
78 * gdb.arch/powerpc-vsx.exp: Likewise.
79 * gdb.arch/powerpc-vsx.s: Likewise.
80 * gdb.arch/powerpc-vsx2.exp: Likewise.
81 * gdb.arch/powerpc-vsx2.s: Likewise.
82 * gdb.arch/powerpc-vsx3.exp: Likewise.
83 * gdb.arch/powerpc-vsx3.s: Likewise.
84 * gdb.arch/arm-disassembler-options.exp: Likewise.
85 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
86 * gdb.arch/s390-disassembler-options.exp: Likewise.
87
88 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
89
90 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
91 (check_supported_features): ... this. Changed return type to void.
92 (supports_rdseed): New static global.
93 (rdseed): Check supports_rdseed.
94 (initialize): Call check_supported_features.
95
96 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
97
98 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
99 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
100 and lqarx/stqcx.
101 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
102 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
103
104 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
105
106 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
107 uppercase.
108
109 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
110
111 * gdb.dwarf2/formdata16.c: New file.
112 * gdb.dwarf2/formdata16.exp: New file.
113 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
114
115 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
116
117 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
118 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
119 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
120 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
121 DW_AT_GNU_*.
122
123 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
124
125 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
126
127 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
128
129 PR gdb/21164
130 * gdb.base/maint.exp: Add testcases for when the commands do
131 not have arguments.
132
133 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
134
135 * gdb.cp/chained-calls.exp: Use p instead of P.
136
137 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
138
139 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
140 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
141
142 2017-02-14 Tom Tromey <tom@tromey.com>
143
144 PR python/13598:
145 * gdb.python/py-events.exp: Add before_prompt event tests.
146
147 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
148
149 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
150
151 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
152
153 * gdb.linespec/explicit.c (my_unique_function_name): New function.
154 (main): Call my_unique_function_name.
155 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
156 completion of patterns with a single match.
157 Add missing -re switches to gdb_test_multiple calls.
158
159 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
160
161 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
162 return if core file is not recognized.
163
164 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
165
166 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
167 and extra UIs.
168
169 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
170
171 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
172 proc_with_prefix.
173
174 2017-02-10 Tom Tromey <tom@tromey.com>
175
176 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
177
178 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
179
180 PR gdb/21122
181 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
182
183 2017-02-08 Jerome Guitton <guitton@adacore.com>
184
185 * gdb.base/define.exp: Add test for command abbreviations
186 in define.
187
188 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
189
190 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
191 * gdb.reverse/insn-reverse-x86.c: New file.
192
193 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
194
195 PR tdep/20936
196 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
197
198 2017-02-03 Tom Tromey <tom@tromey.com>
199
200 PR rust/21097:
201 * gdb.rust/simple.exp: Add new tests.
202
203 2017-02-02 Pedro Alves <palves@redhat.com>
204
205 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
206 tests.
207
208 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
209
210 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
211 taking a 2-byte value out of a 4-byte DWARF implicit value on
212 big-endian targets.
213 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
214 logic. Add test cases for DW_OP_implicit.
215
216 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
217
218 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
219
220 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
221
222 * gdb.btrace/enable.exp: Call gdb_exit before
223 skip_gdbserver_tests.
224
225 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
226
227 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
228 GDBFLAGS.
229
230 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
231
232 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
233 the test is skipped.
234 * gdb.btrace/data.exp: Likewise.
235 * gdb.btrace/delta.exp: Likewise.
236 * gdb.btrace/dlopen.exp: Likewise.
237 * gdb.btrace/enable-running.exp: Likewise.
238 * gdb.btrace/enable.exp: Likewise.
239 * gdb.btrace/exception.exp: Likewise.
240 * gdb.btrace/function_call_history.exp: Likewise.
241 * gdb.btrace/gcore.exp: Likewise.
242 * gdb.btrace/instruction_history.exp: Likewise.
243 * gdb.btrace/multi-thread-step.exp: Likewise.
244 * gdb.btrace/nohist.exp: Likewise.
245 * gdb.btrace/non-stop.exp: Likewise.
246 * gdb.btrace/reconnect.exp: Likewise.
247 * gdb.btrace/record_goto-step.exp: Likewise.
248 * gdb.btrace/record_goto.exp: Likewise.
249 * gdb.btrace/rn-dl-bind.exp: Likewise.
250 * gdb.btrace/segv.exp: Likewise.
251 * gdb.btrace/step.exp: Likewise.
252 * gdb.btrace/stepi.exp: Likewise.
253 * gdb.btrace/tailcall-only.exp: Likewise.
254 * gdb.btrace/tailcall.exp: Likewise.
255 * gdb.btrace/tsx.exp: Likewise.
256 * gdb.btrace/unknown_functions.exp: Likewise.
257 * gdb.btrace/vdso.exp: Likewise.
258
259 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
260
261 * gdb.btrace/enable-running.c: New.
262 * gdb.btrace/enable-running.exp: New.
263
264 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
265
266 * gdb.arch/amd64-gs_base.c: New file.
267 * gdb.arch/amd64-gs_base.exp: New file.
268
269 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
270
271 * lib/memory.exp: Remove spurious empty newlines.
272
273 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
274
275 * gdb.python/py-bad-printers.exp: Load python file using "source".
276 * gdb.python/py-events.exp: Likewise.
277 * gdb.python/py-evsignal.exp: Likewise.
278 * gdb.python/py-evthreads.exp: Likewise.
279 * gdb.python/py-frame-args.exp: Likewise.
280 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
281 * gdb.python/py-framefilter-mi.exp: Likewise.
282 * gdb.python/py-framefilter.exp: Likewise.
283 * gdb.python/py-mi.exp: Likewise.
284 * gdb.python/py-pp-maint.exp: Likewise.
285 * gdb.python/py-pp-registration.exp: Likewise.
286 * gdb.python/py-prettyprint.exp: Likewise.
287 (run_lang_tests): Likewise.
288 * gdb.python/py-typeprint.exp: Likewise.
289
290 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
291
292 * lib/memory.exp: New file.
293 * lib/gdb.exp: Load memory.exp.
294 * gdb.base/memattr.exp (delete_memory): Move proc to
295 lib/memory.exp and rename to delete_memory_regions.
296 Replace delete_memory with delete_memory_regions.
297 Cleanup memory regions before tests.
298 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
299 before tests.
300
301 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
302
303 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
304 files.
305 (initialize): New function conditionally defined.
306 (testcases): Move within conditional block.
307 (main): Call initialize.
308 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
309 of gdb.reverse/insn-reverse.c.
310 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
311 gdb.reverse/insn-reverse.c.
312
313 2017-01-26 Yao Qi <yao.qi@linaro.org>
314
315 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
316 disassemble on address 0.
317
318 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
319 Yao Qi <yao.qi@linaro.org>
320
321 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
322 * gdb.dwarf2/implptr-64bit.S: Remove.
323 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
324 variables in caller's context. Add DW_OP_implicit_value.
325
326 2017-01-25 Yao Qi <yao.qi@linaro.org>
327
328 * lib/dwarf.exp (Dwarf::_location): Handle
329 DW_OP_GNU_implicit_pointer with proper size.
330
331 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
332
333 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
334 and add untested calls.
335
336 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
337
338 * gdb.python/python.exp: Check line number against what GDB thinks
339 the line number is for func1.
340
341 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
342
343 * gdb.dlang/debug-expr.exp: New file.
344
345 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
346
347 Fix test names for the following files:
348
349 * gdb.ada/exec_changed.exp
350 * gdb.ada/info_types.exp
351 * gdb.arch/aarch64-atomic-inst.exp
352 * gdb.arch/aarch64-fp.exp
353 * gdb.arch/altivec-abi.exp
354 * gdb.arch/altivec-regs.exp
355 * gdb.arch/amd64-byte.exp
356 * gdb.arch/amd64-disp-step.exp
357 * gdb.arch/amd64-dword.exp
358 * gdb.arch/amd64-entry-value-inline.exp
359 * gdb.arch/amd64-entry-value-param.exp
360 * gdb.arch/amd64-entry-value-paramref.exp
361 * gdb.arch/amd64-entry-value.exp
362 * gdb.arch/amd64-i386-address.exp
363 * gdb.arch/amd64-invalid-stack-middle.exp
364 * gdb.arch/amd64-invalid-stack-top.exp
365 * gdb.arch/amd64-optimout-repeat.exp
366 * gdb.arch/amd64-prologue-skip.exp
367 * gdb.arch/amd64-prologue-xmm.exp
368 * gdb.arch/amd64-stap-special-operands.exp
369 * gdb.arch/amd64-stap-wrong-subexp.exp
370 * gdb.arch/amd64-tailcall-cxx.exp
371 * gdb.arch/amd64-tailcall-noret.exp
372 * gdb.arch/amd64-tailcall-ret.exp
373 * gdb.arch/amd64-tailcall-self.exp
374 * gdb.arch/amd64-word.exp
375 * gdb.arch/arm-bl-branch-dest.exp
376 * gdb.arch/arm-disp-step.exp
377 * gdb.arch/arm-neon.exp
378 * gdb.arch/arm-single-step-kernel-helper.exp
379 * gdb.arch/avr-flash-qualifier.exp
380 * gdb.arch/disp-step-insn-reloc.exp
381 * gdb.arch/e500-abi.exp
382 * gdb.arch/e500-regs.exp
383 * gdb.arch/ftrace-insn-reloc.exp
384 * gdb.arch/i386-avx512.exp
385 * gdb.arch/i386-bp_permanent.exp
386 * gdb.arch/i386-byte.exp
387 * gdb.arch/i386-cfi-notcurrent.exp
388 * gdb.arch/i386-disp-step.exp
389 * gdb.arch/i386-dr3-watch.exp
390 * gdb.arch/i386-float.exp
391 * gdb.arch/i386-gnu-cfi.exp
392 * gdb.arch/i386-mpx-map.exp
393 * gdb.arch/i386-mpx-sigsegv.exp
394 * gdb.arch/i386-mpx-simple_segv.exp
395 * gdb.arch/i386-mpx.exp
396 * gdb.arch/i386-permbkpt.exp
397 * gdb.arch/i386-prologue.exp
398 * gdb.arch/i386-signal.exp
399 * gdb.arch/i386-size-overlap.exp
400 * gdb.arch/i386-unwind.exp
401 * gdb.arch/i386-word.exp
402 * gdb.arch/mips-fcr.exp
403 * gdb.arch/powerpc-d128-regs.exp
404 * gdb.arch/powerpc-stackless.exp
405 * gdb.arch/ppc64-atomic-inst.exp
406 * gdb.arch/s390-stackless.exp
407 * gdb.arch/s390-tdbregs.exp
408 * gdb.arch/s390-vregs.exp
409 * gdb.arch/sparc-sysstep.exp
410 * gdb.arch/thumb-bx-pc.exp
411 * gdb.arch/thumb-singlestep.exp
412 * gdb.arch/thumb2-it.exp
413 * gdb.arch/vsx-regs.exp
414 * gdb.asm/asm-source.exp
415 * gdb.base/a2-run.exp
416 * gdb.base/advance.exp
417 * gdb.base/all-bin.exp
418 * gdb.base/anon.exp
419 * gdb.base/args.exp
420 * gdb.base/arithmet.exp
421 * gdb.base/async-shell.exp
422 * gdb.base/async.exp
423 * gdb.base/attach-pie-noexec.exp
424 * gdb.base/attach-twice.exp
425 * gdb.base/auto-load.exp
426 * gdb.base/bang.exp
427 * gdb.base/bitfields.exp
428 * gdb.base/break-always.exp
429 * gdb.base/break-caller-line.exp
430 * gdb.base/break-entry.exp
431 * gdb.base/break-inline.exp
432 * gdb.base/break-on-linker-gcd-function.exp
433 * gdb.base/break-probes.exp
434 * gdb.base/break.exp
435 * gdb.base/breakpoint-shadow.exp
436 * gdb.base/call-ar-st.exp
437 * gdb.base/call-sc.exp
438 * gdb.base/call-signal-resume.exp
439 * gdb.base/call-strs.exp
440 * gdb.base/callfuncs.exp
441 * gdb.base/catch-fork-static.exp
442 * gdb.base/catch-gdb-caused-signals.exp
443 * gdb.base/catch-load.exp
444 * gdb.base/catch-signal-fork.exp
445 * gdb.base/catch-signal.exp
446 * gdb.base/catch-syscall.exp
447 * gdb.base/charset.exp
448 * gdb.base/checkpoint.exp
449 * gdb.base/chng-syms.exp
450 * gdb.base/code-expr.exp
451 * gdb.base/code_elim.exp
452 * gdb.base/commands.exp
453 * gdb.base/completion.exp
454 * gdb.base/complex.exp
455 * gdb.base/cond-expr.exp
456 * gdb.base/condbreak.exp
457 * gdb.base/consecutive.exp
458 * gdb.base/continue-all-already-running.exp
459 * gdb.base/coredump-filter.exp
460 * gdb.base/corefile.exp
461 * gdb.base/dbx.exp
462 * gdb.base/debug-expr.exp
463 * gdb.base/define.exp
464 * gdb.base/del.exp
465 * gdb.base/disabled-location.exp
466 * gdb.base/disasm-end-cu.exp
467 * gdb.base/disasm-optim.exp
468 * gdb.base/display.exp
469 * gdb.base/duplicate-bp.exp
470 * gdb.base/ena-dis-br.exp
471 * gdb.base/ending-run.exp
472 * gdb.base/enumval.exp
473 * gdb.base/environ.exp
474 * gdb.base/eu-strip-infcall.exp
475 * gdb.base/eval-avoid-side-effects.exp
476 * gdb.base/eval-skip.exp
477 * gdb.base/exitsignal.exp
478 * gdb.base/expand-psymtabs.exp
479 * gdb.base/filesym.exp
480 * gdb.base/find-unmapped.exp
481 * gdb.base/finish.exp
482 * gdb.base/float.exp
483 * gdb.base/foll-exec-mode.exp
484 * gdb.base/foll-exec.exp
485 * gdb.base/foll-fork.exp
486 * gdb.base/fortran-sym-case.exp
487 * gdb.base/freebpcmd.exp
488 * gdb.base/func-ptr.exp
489 * gdb.base/func-ptrs.exp
490 * gdb.base/funcargs.exp
491 * gdb.base/gcore-buffer-overflow.exp
492 * gdb.base/gcore-relro-pie.exp
493 * gdb.base/gcore-relro.exp
494 * gdb.base/gcore.exp
495 * gdb.base/gdb1090.exp
496 * gdb.base/gdb11530.exp
497 * gdb.base/gdb11531.exp
498 * gdb.base/gdb1821.exp
499 * gdb.base/gdbindex-stabs.exp
500 * gdb.base/gdbvars.exp
501 * gdb.base/hbreak.exp
502 * gdb.base/hbreak2.exp
503 * gdb.base/included.exp
504 * gdb.base/infcall-input.exp
505 * gdb.base/inferior-died.exp
506 * gdb.base/infnan.exp
507 * gdb.base/info-macros.exp
508 * gdb.base/info-os.exp
509 * gdb.base/info-proc.exp
510 * gdb.base/info-shared.exp
511 * gdb.base/info-target.exp
512 * gdb.base/infoline.exp
513 * gdb.base/interp.exp
514 * gdb.base/interrupt.exp
515 * gdb.base/jit-reader.exp
516 * gdb.base/jit-simple.exp
517 * gdb.base/kill-after-signal.exp
518 * gdb.base/kill-detach-inferiors-cmd.exp
519 * gdb.base/label.exp
520 * gdb.base/langs.exp
521 * gdb.base/ldbl_e308.exp
522 * gdb.base/line-symtabs.exp
523 * gdb.base/linespecs.exp
524 * gdb.base/list.exp
525 * gdb.base/long_long.exp
526 * gdb.base/longest-types.exp
527 * gdb.base/maint.exp
528 * gdb.base/max-value-size.exp
529 * gdb.base/memattr.exp
530 * gdb.base/mips_pro.exp
531 * gdb.base/morestack.exp
532 * gdb.base/moribund-step.exp
533 * gdb.base/multi-forks.exp
534 * gdb.base/nested-addr.exp
535 * gdb.base/nextoverexit.exp
536 * gdb.base/noreturn-finish.exp
537 * gdb.base/noreturn-return.exp
538 * gdb.base/nostdlib.exp
539 * gdb.base/offsets.exp
540 * gdb.base/opaque.exp
541 * gdb.base/pc-fp.exp
542 * gdb.base/permissions.exp
543 * gdb.base/print-symbol-loading.exp
544 * gdb.base/prologue-include.exp
545 * gdb.base/psymtab.exp
546 * gdb.base/ptype.exp
547 * gdb.base/random-signal.exp
548 * gdb.base/randomize.exp
549 * gdb.base/range-stepping.exp
550 * gdb.base/readline-ask.exp
551 * gdb.base/recpar.exp
552 * gdb.base/recurse.exp
553 * gdb.base/relational.exp
554 * gdb.base/restore.exp
555 * gdb.base/return-nodebug.exp
556 * gdb.base/return.exp
557 * gdb.base/run-after-attach.exp
558 * gdb.base/save-bp.exp
559 * gdb.base/scope.exp
560 * gdb.base/sect-cmd.exp
561 * gdb.base/set-lang-auto.exp
562 * gdb.base/set-noassign.exp
563 * gdb.base/setvar.exp
564 * gdb.base/sigall.exp
565 * gdb.base/sigbpt.exp
566 * gdb.base/siginfo-addr.exp
567 * gdb.base/siginfo-infcall.exp
568 * gdb.base/siginfo-obj.exp
569 * gdb.base/siginfo.exp
570 * gdb.base/signals-state-child.exp
571 * gdb.base/signest.exp
572 * gdb.base/sigstep.exp
573 * gdb.base/sizeof.exp
574 * gdb.base/skip.exp
575 * gdb.base/solib-corrupted.exp
576 * gdb.base/solib-nodir.exp
577 * gdb.base/solib-search.exp
578 * gdb.base/stack-checking.exp
579 * gdb.base/stale-infcall.exp
580 * gdb.base/stap-probe.exp
581 * gdb.base/start.exp
582 * gdb.base/step-break.exp
583 * gdb.base/step-bt.exp
584 * gdb.base/step-line.exp
585 * gdb.base/step-over-exit.exp
586 * gdb.base/step-over-syscall.exp
587 * gdb.base/step-resume-infcall.exp
588 * gdb.base/step-test.exp
589 * gdb.base/store.exp
590 * gdb.base/structs3.exp
591 * gdb.base/sym-file.exp
592 * gdb.base/symbol-without-target_section.exp
593 * gdb.base/term.exp
594 * gdb.base/testenv.exp
595 * gdb.base/ui-redirect.exp
596 * gdb.base/until.exp
597 * gdb.base/unwindonsignal.exp
598 * gdb.base/value-double-free.exp
599 * gdb.base/vla-datatypes.exp
600 * gdb.base/vla-ptr.exp
601 * gdb.base/vla-sideeffect.exp
602 * gdb.base/volatile.exp
603 * gdb.base/watch-cond-infcall.exp
604 * gdb.base/watch-cond.exp
605 * gdb.base/watch-non-mem.exp
606 * gdb.base/watch-read.exp
607 * gdb.base/watch-vfork.exp
608 * gdb.base/watchpoint-cond-gone.exp
609 * gdb.base/watchpoint-delete.exp
610 * gdb.base/watchpoint-hw-hit-once.exp
611 * gdb.base/watchpoint-hw.exp
612 * gdb.base/watchpoint-stops-at-right-insn.exp
613 * gdb.base/watchpoints.exp
614 * gdb.base/wchar.exp
615 * gdb.base/whatis-exp.exp
616 * gdb.btrace/buffer-size.exp
617 * gdb.btrace/data.exp
618 * gdb.btrace/delta.exp
619 * gdb.btrace/dlopen.exp
620 * gdb.btrace/enable.exp
621 * gdb.btrace/exception.exp
622 * gdb.btrace/function_call_history.exp
623 * gdb.btrace/gcore.exp
624 * gdb.btrace/instruction_history.exp
625 * gdb.btrace/nohist.exp
626 * gdb.btrace/reconnect.exp
627 * gdb.btrace/record_goto-step.exp
628 * gdb.btrace/record_goto.exp
629 * gdb.btrace/rn-dl-bind.exp
630 * gdb.btrace/segv.exp
631 * gdb.btrace/step.exp
632 * gdb.btrace/stepi.exp
633 * gdb.btrace/tailcall-only.exp
634 * gdb.btrace/tailcall.exp
635 * gdb.btrace/tsx.exp
636 * gdb.btrace/unknown_functions.exp
637 * gdb.btrace/vdso.exp
638 * gdb.compile/compile-ifunc.exp
639 * gdb.compile/compile-ops.exp
640 * gdb.compile/compile-print.exp
641 * gdb.compile/compile-setjmp.exp
642 * gdb.cp/abstract-origin.exp
643 * gdb.cp/ambiguous.exp
644 * gdb.cp/annota2.exp
645 * gdb.cp/annota3.exp
646 * gdb.cp/anon-ns.exp
647 * gdb.cp/anon-struct.exp
648 * gdb.cp/anon-union.exp
649 * gdb.cp/arg-reference.exp
650 * gdb.cp/baseenum.exp
651 * gdb.cp/bool.exp
652 * gdb.cp/breakpoint.exp
653 * gdb.cp/bs15503.exp
654 * gdb.cp/call-c.exp
655 * gdb.cp/casts.exp
656 * gdb.cp/chained-calls.exp
657 * gdb.cp/class2.exp
658 * gdb.cp/classes.exp
659 * gdb.cp/cmpd-minsyms.exp
660 * gdb.cp/converts.exp
661 * gdb.cp/cp-relocate.exp
662 * gdb.cp/cpcompletion.exp
663 * gdb.cp/cpexprs.exp
664 * gdb.cp/cplabel.exp
665 * gdb.cp/cplusfuncs.exp
666 * gdb.cp/cpsizeof.exp
667 * gdb.cp/ctti.exp
668 * gdb.cp/derivation.exp
669 * gdb.cp/destrprint.exp
670 * gdb.cp/dispcxx.exp
671 * gdb.cp/enum-class.exp
672 * gdb.cp/exception.exp
673 * gdb.cp/exceptprint.exp
674 * gdb.cp/expand-psymtabs-cxx.exp
675 * gdb.cp/expand-sals.exp
676 * gdb.cp/extern-c.exp
677 * gdb.cp/filename.exp
678 * gdb.cp/formatted-ref.exp
679 * gdb.cp/fpointer.exp
680 * gdb.cp/gdb1355.exp
681 * gdb.cp/gdb2495.exp
682 * gdb.cp/hang.exp
683 * gdb.cp/impl-this.exp
684 * gdb.cp/infcall-dlopen.exp
685 * gdb.cp/inherit.exp
686 * gdb.cp/iostream.exp
687 * gdb.cp/koenig.exp
688 * gdb.cp/local.exp
689 * gdb.cp/m-data.exp
690 * gdb.cp/m-static.exp
691 * gdb.cp/mb-ctor.exp
692 * gdb.cp/mb-inline.exp
693 * gdb.cp/mb-templates.exp
694 * gdb.cp/member-name.exp
695 * gdb.cp/member-ptr.exp
696 * gdb.cp/meth-typedefs.exp
697 * gdb.cp/method.exp
698 * gdb.cp/method2.exp
699 * gdb.cp/minsym-fallback.exp
700 * gdb.cp/misc.exp
701 * gdb.cp/namelessclass.exp
702 * gdb.cp/namespace-enum.exp
703 * gdb.cp/namespace-nested-import.exp
704 * gdb.cp/namespace.exp
705 * gdb.cp/nextoverthrow.exp
706 * gdb.cp/no-dmgl-verbose.exp
707 * gdb.cp/non-trivial-retval.exp
708 * gdb.cp/noparam.exp
709 * gdb.cp/nsdecl.exp
710 * gdb.cp/nsimport.exp
711 * gdb.cp/nsnested.exp
712 * gdb.cp/nsnoimports.exp
713 * gdb.cp/nsrecurs.exp
714 * gdb.cp/nsstress.exp
715 * gdb.cp/nsusing.exp
716 * gdb.cp/operator.exp
717 * gdb.cp/oranking.exp
718 * gdb.cp/overload-const.exp
719 * gdb.cp/overload.exp
720 * gdb.cp/ovldbreak.exp
721 * gdb.cp/ovsrch.exp
722 * gdb.cp/paren-type.exp
723 * gdb.cp/parse-lang.exp
724 * gdb.cp/pass-by-ref.exp
725 * gdb.cp/pr-1023.exp
726 * gdb.cp/pr-1210.exp
727 * gdb.cp/pr-574.exp
728 * gdb.cp/pr10687.exp
729 * gdb.cp/pr12028.exp
730 * gdb.cp/pr17132.exp
731 * gdb.cp/pr17494.exp
732 * gdb.cp/pr9067.exp
733 * gdb.cp/pr9167.exp
734 * gdb.cp/pr9631.exp
735 * gdb.cp/printmethod.exp
736 * gdb.cp/psmang.exp
737 * gdb.cp/psymtab-parameter.exp
738 * gdb.cp/ptype-cv-cp.exp
739 * gdb.cp/ptype-flags.exp
740 * gdb.cp/re-set-overloaded.exp
741 * gdb.cp/ref-types.exp
742 * gdb.cp/rtti.exp
743 * gdb.cp/scope-err.exp
744 * gdb.cp/shadow.exp
745 * gdb.cp/smartp.exp
746 * gdb.cp/static-method.exp
747 * gdb.cp/static-print-quit.exp
748 * gdb.cp/temargs.exp
749 * gdb.cp/templates.exp
750 * gdb.cp/try_catch.exp
751 * gdb.cp/typedef-operator.exp
752 * gdb.cp/typeid.exp
753 * gdb.cp/userdef.exp
754 * gdb.cp/using-crash.exp
755 * gdb.cp/var-tag.exp
756 * gdb.cp/virtbase.exp
757 * gdb.cp/virtfunc.exp
758 * gdb.cp/virtfunc2.exp
759 * gdb.cp/vla-cxx.exp
760 * gdb.disasm/t01_mov.exp
761 * gdb.disasm/t02_mova.exp
762 * gdb.disasm/t03_add.exp
763 * gdb.disasm/t04_sub.exp
764 * gdb.disasm/t05_cmp.exp
765 * gdb.disasm/t06_ari2.exp
766 * gdb.disasm/t07_ari3.exp
767 * gdb.disasm/t08_or.exp
768 * gdb.disasm/t09_xor.exp
769 * gdb.disasm/t10_and.exp
770 * gdb.disasm/t11_logs.exp
771 * gdb.disasm/t12_bit.exp
772 * gdb.disasm/t13_otr.exp
773 * gdb.dlang/circular.exp
774 * gdb.dwarf2/arr-stride.exp
775 * gdb.dwarf2/arr-subrange.exp
776 * gdb.dwarf2/atomic-type.exp
777 * gdb.dwarf2/bad-regnum.exp
778 * gdb.dwarf2/bitfield-parent-optimized-out.exp
779 * gdb.dwarf2/callframecfa.exp
780 * gdb.dwarf2/clztest.exp
781 * gdb.dwarf2/corrupt.exp
782 * gdb.dwarf2/data-loc.exp
783 * gdb.dwarf2/dup-psym.exp
784 * gdb.dwarf2/dw2-anon-mptr.exp
785 * gdb.dwarf2/dw2-anonymous-func.exp
786 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
787 * gdb.dwarf2/dw2-bad-unresolved.exp
788 * gdb.dwarf2/dw2-basic.exp
789 * gdb.dwarf2/dw2-canonicalize-type.exp
790 * gdb.dwarf2/dw2-case-insensitive.exp
791 * gdb.dwarf2/dw2-common-block.exp
792 * gdb.dwarf2/dw2-compdir-oldgcc.exp
793 * gdb.dwarf2/dw2-compressed.exp
794 * gdb.dwarf2/dw2-const.exp
795 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
796 * gdb.dwarf2/dw2-cu-size.exp
797 * gdb.dwarf2/dw2-dup-frame.exp
798 * gdb.dwarf2/dw2-entry-value.exp
799 * gdb.dwarf2/dw2-icycle.exp
800 * gdb.dwarf2/dw2-ifort-parameter.exp
801 * gdb.dwarf2/dw2-inline-break.exp
802 * gdb.dwarf2/dw2-inline-param.exp
803 * gdb.dwarf2/dw2-intercu.exp
804 * gdb.dwarf2/dw2-intermix.exp
805 * gdb.dwarf2/dw2-lexical-block-bare.exp
806 * gdb.dwarf2/dw2-linkage-name-trust.exp
807 * gdb.dwarf2/dw2-minsym-in-cu.exp
808 * gdb.dwarf2/dw2-noloc.exp
809 * gdb.dwarf2/dw2-op-call.exp
810 * gdb.dwarf2/dw2-op-out-param.exp
811 * gdb.dwarf2/dw2-opt-structptr.exp
812 * gdb.dwarf2/dw2-param-error.exp
813 * gdb.dwarf2/dw2-producer.exp
814 * gdb.dwarf2/dw2-ranges-base.exp
815 * gdb.dwarf2/dw2-ref-missing-frame.exp
816 * gdb.dwarf2/dw2-reg-undefined.exp
817 * gdb.dwarf2/dw2-regno-invalid.exp
818 * gdb.dwarf2/dw2-restore.exp
819 * gdb.dwarf2/dw2-restrict.exp
820 * gdb.dwarf2/dw2-single-line-discriminators.exp
821 * gdb.dwarf2/dw2-strp.exp
822 * gdb.dwarf2/dw2-undefined-ret-addr.exp
823 * gdb.dwarf2/dw2-unresolved.exp
824 * gdb.dwarf2/dw2-var-zero-addr.exp
825 * gdb.dwarf2/dw4-sig-types.exp
826 * gdb.dwarf2/dwz.exp
827 * gdb.dwarf2/dynarr-ptr.exp
828 * gdb.dwarf2/enum-type.exp
829 * gdb.dwarf2/gdb-index.exp
830 * gdb.dwarf2/implptr-64bit.exp
831 * gdb.dwarf2/implptr-optimized-out.exp
832 * gdb.dwarf2/implptr.exp
833 * gdb.dwarf2/implref-array.exp
834 * gdb.dwarf2/implref-const.exp
835 * gdb.dwarf2/implref-global.exp
836 * gdb.dwarf2/implref-struct.exp
837 * gdb.dwarf2/mac-fileno.exp
838 * gdb.dwarf2/main-subprogram.exp
839 * gdb.dwarf2/member-ptr-forwardref.exp
840 * gdb.dwarf2/method-ptr.exp
841 * gdb.dwarf2/missing-sig-type.exp
842 * gdb.dwarf2/nonvar-access.exp
843 * gdb.dwarf2/opaque-type-lookup.exp
844 * gdb.dwarf2/pieces-optimized-out.exp
845 * gdb.dwarf2/pieces.exp
846 * gdb.dwarf2/pr10770.exp
847 * gdb.dwarf2/pr13961.exp
848 * gdb.dwarf2/staticvirtual.exp
849 * gdb.dwarf2/subrange.exp
850 * gdb.dwarf2/symtab-producer.exp
851 * gdb.dwarf2/trace-crash.exp
852 * gdb.dwarf2/typeddwarf.exp
853 * gdb.dwarf2/valop.exp
854 * gdb.dwarf2/watch-notconst.exp
855 * gdb.fortran/array-element.exp
856 * gdb.fortran/charset.exp
857 * gdb.fortran/common-block.exp
858 * gdb.fortran/complex.exp
859 * gdb.fortran/derived-type-function.exp
860 * gdb.fortran/derived-type.exp
861 * gdb.fortran/logical.exp
862 * gdb.fortran/module.exp
863 * gdb.fortran/multi-dim.exp
864 * gdb.fortran/nested-funcs.exp
865 * gdb.fortran/print-formatted.exp
866 * gdb.fortran/subarray.exp
867 * gdb.fortran/vla-alloc-assoc.exp
868 * gdb.fortran/vla-datatypes.exp
869 * gdb.fortran/vla-history.exp
870 * gdb.fortran/vla-ptr-info.exp
871 * gdb.fortran/vla-ptype-sub.exp
872 * gdb.fortran/vla-ptype.exp
873 * gdb.fortran/vla-sizeof.exp
874 * gdb.fortran/vla-type.exp
875 * gdb.fortran/vla-value-sub-arbitrary.exp
876 * gdb.fortran/vla-value-sub-finish.exp
877 * gdb.fortran/vla-value-sub.exp
878 * gdb.fortran/vla-value.exp
879 * gdb.fortran/whatis_type.exp
880 * gdb.go/chan.exp
881 * gdb.go/handcall.exp
882 * gdb.go/hello.exp
883 * gdb.go/integers.exp
884 * gdb.go/methods.exp
885 * gdb.go/package.exp
886 * gdb.go/strings.exp
887 * gdb.go/types.exp
888 * gdb.go/unsafe.exp
889 * gdb.guile/scm-arch.exp
890 * gdb.guile/scm-block.exp
891 * gdb.guile/scm-breakpoint.exp
892 * gdb.guile/scm-cmd.exp
893 * gdb.guile/scm-disasm.exp
894 * gdb.guile/scm-equal.exp
895 * gdb.guile/scm-frame-args.exp
896 * gdb.guile/scm-frame-inline.exp
897 * gdb.guile/scm-frame.exp
898 * gdb.guile/scm-iterator.exp
899 * gdb.guile/scm-math.exp
900 * gdb.guile/scm-objfile.exp
901 * gdb.guile/scm-ports.exp
902 * gdb.guile/scm-symbol.exp
903 * gdb.guile/scm-symtab.exp
904 * gdb.guile/scm-value-cc.exp
905 * gdb.guile/types-module.exp
906 * gdb.linespec/break-ask.exp
907 * gdb.linespec/cpexplicit.exp
908 * gdb.linespec/explicit.exp
909 * gdb.linespec/keywords.exp
910 * gdb.linespec/linespec.exp
911 * gdb.linespec/ls-dollar.exp
912 * gdb.linespec/ls-errs.exp
913 * gdb.linespec/skip-two.exp
914 * gdb.linespec/thread.exp
915 * gdb.mi/mi-async.exp
916 * gdb.mi/mi-basics.exp
917 * gdb.mi/mi-break.exp
918 * gdb.mi/mi-catch-load.exp
919 * gdb.mi/mi-cli.exp
920 * gdb.mi/mi-cmd-param-changed.exp
921 * gdb.mi/mi-console.exp
922 * gdb.mi/mi-detach.exp
923 * gdb.mi/mi-disassemble.exp
924 * gdb.mi/mi-eval.exp
925 * gdb.mi/mi-file-transfer.exp
926 * gdb.mi/mi-file.exp
927 * gdb.mi/mi-fill-memory.exp
928 * gdb.mi/mi-inheritance-syntax-error.exp
929 * gdb.mi/mi-linespec-err-cp.exp
930 * gdb.mi/mi-logging.exp
931 * gdb.mi/mi-memory-changed.exp
932 * gdb.mi/mi-read-memory.exp
933 * gdb.mi/mi-record-changed.exp
934 * gdb.mi/mi-reg-undefined.exp
935 * gdb.mi/mi-regs.exp
936 * gdb.mi/mi-return.exp
937 * gdb.mi/mi-reverse.exp
938 * gdb.mi/mi-simplerun.exp
939 * gdb.mi/mi-solib.exp
940 * gdb.mi/mi-stack.exp
941 * gdb.mi/mi-stepi.exp
942 * gdb.mi/mi-syn-frame.exp
943 * gdb.mi/mi-until.exp
944 * gdb.mi/mi-var-block.exp
945 * gdb.mi/mi-var-child.exp
946 * gdb.mi/mi-var-cmd.exp
947 * gdb.mi/mi-var-cp.exp
948 * gdb.mi/mi-var-display.exp
949 * gdb.mi/mi-var-invalidate.exp
950 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
951 * gdb.mi/mi-vla-fortran.exp
952 * gdb.mi/mi-watch.exp
953 * gdb.mi/mi2-var-child.exp
954 * gdb.mi/user-selected-context-sync.exp
955 * gdb.modula2/unbounded-array.exp
956 * gdb.multi/dummy-frame-restore.exp
957 * gdb.multi/multi-arch-exec.exp
958 * gdb.multi/multi-arch.exp
959 * gdb.multi/tids.exp
960 * gdb.multi/watchpoint-multi.exp
961 * gdb.opencl/callfuncs.exp
962 * gdb.opencl/convs_casts.exp
963 * gdb.opencl/datatypes.exp
964 * gdb.opencl/operators.exp
965 * gdb.opencl/vec_comps.exp
966 * gdb.opt/clobbered-registers-O2.exp
967 * gdb.opt/inline-break.exp
968 * gdb.opt/inline-bt.exp
969 * gdb.opt/inline-cmds.exp
970 * gdb.opt/inline-locals.exp
971 * gdb.pascal/case-insensitive-symbols.exp
972 * gdb.pascal/floats.exp
973 * gdb.pascal/gdb11492.exp
974 * gdb.python/lib-types.exp
975 * gdb.python/py-arch.exp
976 * gdb.python/py-as-string.exp
977 * gdb.python/py-bad-printers.exp
978 * gdb.python/py-block.exp
979 * gdb.python/py-breakpoint-create-fail.exp
980 * gdb.python/py-breakpoint.exp
981 * gdb.python/py-caller-is.exp
982 * gdb.python/py-cmd.exp
983 * gdb.python/py-explore-cc.exp
984 * gdb.python/py-explore.exp
985 * gdb.python/py-finish-breakpoint.exp
986 * gdb.python/py-finish-breakpoint2.exp
987 * gdb.python/py-frame-args.exp
988 * gdb.python/py-frame-inline.exp
989 * gdb.python/py-frame.exp
990 * gdb.python/py-framefilter-mi.exp
991 * gdb.python/py-infthread.exp
992 * gdb.python/py-lazy-string.exp
993 * gdb.python/py-linetable.exp
994 * gdb.python/py-mi-events.exp
995 * gdb.python/py-mi-objfile.exp
996 * gdb.python/py-mi.exp
997 * gdb.python/py-objfile.exp
998 * gdb.python/py-pp-integral.exp
999 * gdb.python/py-pp-maint.exp
1000 * gdb.python/py-pp-re-notag.exp
1001 * gdb.python/py-pp-registration.exp
1002 * gdb.python/py-recurse-unwind.exp
1003 * gdb.python/py-strfns.exp
1004 * gdb.python/py-symbol.exp
1005 * gdb.python/py-symtab.exp
1006 * gdb.python/py-sync-interp.exp
1007 * gdb.python/py-typeprint.exp
1008 * gdb.python/py-unwind-maint.exp
1009 * gdb.python/py-unwind.exp
1010 * gdb.python/py-value-cc.exp
1011 * gdb.python/py-xmethods.exp
1012 * gdb.reverse/amd64-tailcall-reverse.exp
1013 * gdb.reverse/break-precsave.exp
1014 * gdb.reverse/break-reverse.exp
1015 * gdb.reverse/consecutive-precsave.exp
1016 * gdb.reverse/consecutive-reverse.exp
1017 * gdb.reverse/finish-precsave.exp
1018 * gdb.reverse/finish-reverse-bkpt.exp
1019 * gdb.reverse/finish-reverse.exp
1020 * gdb.reverse/fstatat-reverse.exp
1021 * gdb.reverse/getresuid-reverse.exp
1022 * gdb.reverse/i386-precsave.exp
1023 * gdb.reverse/i386-reverse.exp
1024 * gdb.reverse/i386-sse-reverse.exp
1025 * gdb.reverse/i387-env-reverse.exp
1026 * gdb.reverse/i387-stack-reverse.exp
1027 * gdb.reverse/insn-reverse.exp
1028 * gdb.reverse/machinestate-precsave.exp
1029 * gdb.reverse/machinestate.exp
1030 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1031 * gdb.reverse/pipe-reverse.exp
1032 * gdb.reverse/readv-reverse.exp
1033 * gdb.reverse/recvmsg-reverse.exp
1034 * gdb.reverse/rerun-prec.exp
1035 * gdb.reverse/s390-mvcle.exp
1036 * gdb.reverse/step-precsave.exp
1037 * gdb.reverse/step-reverse.exp
1038 * gdb.reverse/time-reverse.exp
1039 * gdb.reverse/until-precsave.exp
1040 * gdb.reverse/until-reverse.exp
1041 * gdb.reverse/waitpid-reverse.exp
1042 * gdb.reverse/watch-precsave.exp
1043 * gdb.reverse/watch-reverse.exp
1044 * gdb.rust/generics.exp
1045 * gdb.rust/methods.exp
1046 * gdb.rust/modules.exp
1047 * gdb.rust/simple.exp
1048 * gdb.server/connect-with-no-symbol-file.exp
1049 * gdb.server/ext-attach.exp
1050 * gdb.server/ext-restart.exp
1051 * gdb.server/ext-wrapper.exp
1052 * gdb.server/file-transfer.exp
1053 * gdb.server/server-exec-info.exp
1054 * gdb.server/server-kill.exp
1055 * gdb.server/server-mon.exp
1056 * gdb.server/wrapper.exp
1057 * gdb.stabs/exclfwd.exp
1058 * gdb.stabs/gdb11479.exp
1059 * gdb.threads/clone-new-thread-event.exp
1060 * gdb.threads/corethreads.exp
1061 * gdb.threads/current-lwp-dead.exp
1062 * gdb.threads/dlopen-libpthread.exp
1063 * gdb.threads/gcore-thread.exp
1064 * gdb.threads/sigstep-threads.exp
1065 * gdb.threads/watchpoint-fork.exp
1066 * gdb.trace/actions-changed.exp
1067 * gdb.trace/backtrace.exp
1068 * gdb.trace/change-loc.exp
1069 * gdb.trace/circ.exp
1070 * gdb.trace/collection.exp
1071 * gdb.trace/disconnected-tracing.exp
1072 * gdb.trace/ftrace.exp
1073 * gdb.trace/mi-trace-frame-collected.exp
1074 * gdb.trace/mi-trace-unavailable.exp
1075 * gdb.trace/mi-traceframe-changed.exp
1076 * gdb.trace/mi-tsv-changed.exp
1077 * gdb.trace/no-attach-trace.exp
1078 * gdb.trace/passc-dyn.exp
1079 * gdb.trace/qtro.exp
1080 * gdb.trace/range-stepping.exp
1081 * gdb.trace/read-memory.exp
1082 * gdb.trace/save-trace.exp
1083 * gdb.trace/signal.exp
1084 * gdb.trace/status-stop.exp
1085 * gdb.trace/tfile.exp
1086 * gdb.trace/trace-break.exp
1087 * gdb.trace/trace-buffer-size.exp
1088 * gdb.trace/trace-condition.exp
1089 * gdb.trace/tracefile-pseudo-reg.exp
1090 * gdb.trace/tstatus.exp
1091 * gdb.trace/unavailable.exp
1092 * gdb.trace/while-dyn.exp
1093 * gdb.trace/while-stepping.exp
1094
1095 2016-12-22 Doug Evans <xdje42@gmail.com>
1096
1097 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
1098 and msymbols.
1099
1100 2016-12-19 Yao Qi <yao.qi@linaro.org>
1101
1102 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
1103 (test_with_self): Don't call do_steps_and_nexts, and remove
1104 code about stepping into xmalloc.
1105
1106 2016-12-09 Yao Qi <yao.qi@linaro.org>
1107
1108 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
1109
1110 2016-12-09 Yao Qi <yao.qi@linaro.org>
1111
1112 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
1113
1114 2016-12-09 Pedro Alves <palves@redhat.com>
1115
1116 * gdb.base/all-architectures-0.exp: New file.
1117 * gdb.base/all-architectures-1.exp: New file.
1118 * gdb.base/all-architectures-2.exp: New file.
1119 * gdb.base/all-architectures-3.exp: New file.
1120 * gdb.base/all-architectures-4.exp: New file.
1121 * gdb.base/all-architectures-5.exp: New file.
1122 * gdb.base/all-architectures-6.exp: New file.
1123 * gdb.base/all-architectures-7.exp: New file.
1124 * gdb.base/all-architectures.exp.in: New file.
1125
1126 2016-12-09 Yao Qi <yao.qi@linaro.org>
1127
1128 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
1129
1130 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1131
1132 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
1133 possible.
1134 Remove useless pattern-matching code.
1135
1136 2016-12-02 Pedro Alves <palves@redhat.com>
1137
1138 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
1139 procedure.
1140 (top level): Call it.
1141
1142 2016-12-02 Pedro Alves <palves@redhat.com>
1143
1144 * gdb.base/commands.exp (user_defined_command_args_stack_test):
1145 New procedure.
1146 (top level): Call it.
1147
1148 2016-12-02 Pedro Alves <palves@redhat.com>
1149
1150 PR cli/20559
1151 * gdb.base/commands.exp (user_defined_command_args_eval): New
1152 procedure.
1153 (top level): Call it.
1154
1155 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1156
1157 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
1158 timeout handling.
1159
1160 2016-12-02 Tom Tromey <tom@tromey.com>
1161
1162 * gdb.dwarf2/main-subprogram.c: New file.
1163 * gdb.dwarf2/main-subprogram.exp: New file.
1164
1165 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1166
1167 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
1168 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
1169 gdb_test_no_output for a couple of cases.
1170 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
1171
1172 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1173
1174 Fix test names and standardize compilation error messages throughout
1175 the following files:
1176
1177 * gdb.ada/start.exp
1178 * gdb.arch/alpha-step.exp
1179 * gdb.arch/e500-prologue.exp
1180 * gdb.arch/ftrace-insn-reloc.exp
1181 * gdb.arch/gdb1291.exp
1182 * gdb.arch/gdb1431.exp
1183 * gdb.arch/gdb1558.exp
1184 * gdb.arch/i386-dr3-watch.exp
1185 * gdb.arch/i386-sse-stack-align.exp
1186 * gdb.arch/ia64-breakpoint-shadow.exp
1187 * gdb.arch/pa-nullify.exp
1188 * gdb.arch/powerpc-aix-prologue.exp
1189 * gdb.arch/thumb-bx-pc.exp
1190 * gdb.base/annota1.exp
1191 * gdb.base/annota3.exp
1192 * gdb.base/arrayidx.exp
1193 * gdb.base/assign.exp
1194 * gdb.base/attach.exp
1195 * gdb.base/auxv.exp
1196 * gdb.base/bang.exp
1197 * gdb.base/bfp-test.exp
1198 * gdb.base/bigcore.exp
1199 * gdb.base/bitfields2.exp
1200 * gdb.base/break-fun-addr.exp
1201 * gdb.base/break-probes.exp
1202 * gdb.base/call-rt-st.exp
1203 * gdb.base/callexit.exp
1204 * gdb.base/catch-fork-kill.exp
1205 * gdb.base/charset.exp
1206 * gdb.base/checkpoint.exp
1207 * gdb.base/comprdebug.exp
1208 * gdb.base/constvars.exp
1209 * gdb.base/coredump-filter.exp
1210 * gdb.base/cursal.exp
1211 * gdb.base/cvexpr.exp
1212 * gdb.base/detach.exp
1213 * gdb.base/display.exp
1214 * gdb.base/dmsym.exp
1215 * gdb.base/dprintf-pending.exp
1216 * gdb.base/dso2dso.exp
1217 * gdb.base/dtrace-probe.exp
1218 * gdb.base/dump.exp
1219 * gdb.base/enum_cond.exp
1220 * gdb.base/exe-lock.exp
1221 * gdb.base/exec-invalid-sysroot.exp
1222 * gdb.base/execl-update-breakpoints.exp
1223 * gdb.base/exprs.exp
1224 * gdb.base/fileio.exp
1225 * gdb.base/find.exp
1226 * gdb.base/finish.exp
1227 * gdb.base/fixsection.exp
1228 * gdb.base/foll-vfork.exp
1229 * gdb.base/frame-args.exp
1230 * gdb.base/gcore.exp
1231 * gdb.base/gdb1250.exp
1232 * gdb.base/global-var-nested-by-dso.exp
1233 * gdb.base/gnu-ifunc.exp
1234 * gdb.base/hashline1.exp
1235 * gdb.base/hashline2.exp
1236 * gdb.base/hashline3.exp
1237 * gdb.base/hbreak-in-shr-unsupported.exp
1238 * gdb.base/huge.exp
1239 * gdb.base/infcall-input.exp
1240 * gdb.base/info-fun.exp
1241 * gdb.base/info-shared.exp
1242 * gdb.base/jit-simple.exp
1243 * gdb.base/jit-so.exp
1244 * gdb.base/jit.exp
1245 * gdb.base/jump.exp
1246 * gdb.base/label.exp
1247 * gdb.base/lineinc.exp
1248 * gdb.base/logical.exp
1249 * gdb.base/longjmp.exp
1250 * gdb.base/macscp.exp
1251 * gdb.base/miscexprs.exp
1252 * gdb.base/new-ui-echo.exp
1253 * gdb.base/new-ui-pending-input.exp
1254 * gdb.base/new-ui.exp
1255 * gdb.base/nodebug.exp
1256 * gdb.base/nofield.exp
1257 * gdb.base/offsets.exp
1258 * gdb.base/overlays.exp
1259 * gdb.base/pending.exp
1260 * gdb.base/pointers.exp
1261 * gdb.base/pr11022.exp
1262 * gdb.base/printcmds.exp
1263 * gdb.base/prologue.exp
1264 * gdb.base/ptr-typedef.exp
1265 * gdb.base/realname-expand.exp
1266 * gdb.base/relativedebug.exp
1267 * gdb.base/relocate.exp
1268 * gdb.base/remote.exp
1269 * gdb.base/reread.exp
1270 * gdb.base/return2.exp
1271 * gdb.base/savedregs.exp
1272 * gdb.base/sep.exp
1273 * gdb.base/sepdebug.exp
1274 * gdb.base/sepsymtab.exp
1275 * gdb.base/set-inferior-tty.exp
1276 * gdb.base/setshow.exp
1277 * gdb.base/shlib-call.exp
1278 * gdb.base/sigaltstack.exp
1279 * gdb.base/siginfo-addr.exp
1280 * gdb.base/signals.exp
1281 * gdb.base/signull.exp
1282 * gdb.base/sigrepeat.exp
1283 * gdb.base/so-impl-ld.exp
1284 * gdb.base/solib-display.exp
1285 * gdb.base/solib-overlap.exp
1286 * gdb.base/solib-search.exp
1287 * gdb.base/solib-symbol.exp
1288 * gdb.base/structs.exp
1289 * gdb.base/structs2.exp
1290 * gdb.base/symtab-search-order.exp
1291 * gdb.base/twice.exp
1292 * gdb.base/unload.exp
1293 * gdb.base/varargs.exp
1294 * gdb.base/watchpoint-solib.exp
1295 * gdb.base/watchpoint.exp
1296 * gdb.base/whatis.exp
1297 * gdb.base/wrong_frame_bt_full.exp
1298 * gdb.btrace/dlopen.exp
1299 * gdb.cell/ea-standalone.exp
1300 * gdb.cell/ea-test.exp
1301 * gdb.cp/dispcxx.exp
1302 * gdb.cp/gdb2384.exp
1303 * gdb.cp/method2.exp
1304 * gdb.cp/nextoverthrow.exp
1305 * gdb.cp/pr10728.exp
1306 * gdb.disasm/am33.exp
1307 * gdb.disasm/h8300s.exp
1308 * gdb.disasm/mn10300.exp
1309 * gdb.disasm/sh3.exp
1310 * gdb.dwarf2/dw2-dir-file-name.exp
1311 * gdb.fortran/complex.exp
1312 * gdb.fortran/library-module.exp
1313 * gdb.guile/scm-pretty-print.exp
1314 * gdb.guile/scm-symbol.exp
1315 * gdb.guile/scm-type.exp
1316 * gdb.guile/scm-value.exp
1317 * gdb.linespec/linespec.exp
1318 * gdb.mi/gdb701.exp
1319 * gdb.mi/gdb792.exp
1320 * gdb.mi/mi-breakpoint-changed.exp
1321 * gdb.mi/mi-dprintf-pending.exp
1322 * gdb.mi/mi-dprintf.exp
1323 * gdb.mi/mi-exit-code.exp
1324 * gdb.mi/mi-pending.exp
1325 * gdb.mi/mi-solib.exp
1326 * gdb.mi/new-ui-mi-sync.exp
1327 * gdb.mi/pr11022.exp
1328 * gdb.mi/user-selected-context-sync.exp
1329 * gdb.opt/solib-intra-step.exp
1330 * gdb.python/py-events.exp
1331 * gdb.python/py-finish-breakpoint.exp
1332 * gdb.python/py-mi.exp
1333 * gdb.python/py-prettyprint.exp
1334 * gdb.python/py-shared.exp
1335 * gdb.python/py-symbol.exp
1336 * gdb.python/py-template.exp
1337 * gdb.python/py-type.exp
1338 * gdb.python/py-value.exp
1339 * gdb.reverse/solib-precsave.exp
1340 * gdb.reverse/solib-reverse.exp
1341 * gdb.server/solib-list.exp
1342 * gdb.stabs/weird.exp
1343 * gdb.threads/reconnect-signal.exp
1344 * gdb.threads/stepi-random-signal.exp
1345 * gdb.trace/actions.exp
1346 * gdb.trace/ax.exp
1347 * gdb.trace/backtrace.exp
1348 * gdb.trace/change-loc.exp
1349 * gdb.trace/deltrace.exp
1350 * gdb.trace/ftrace-lock.exp
1351 * gdb.trace/ftrace.exp
1352 * gdb.trace/infotrace.exp
1353 * gdb.trace/mi-tracepoint-changed.exp
1354 * gdb.trace/packetlen.exp
1355 * gdb.trace/passcount.exp
1356 * gdb.trace/pending.exp
1357 * gdb.trace/range-stepping.exp
1358 * gdb.trace/report.exp
1359 * gdb.trace/stap-trace.exp
1360 * gdb.trace/tfind.exp
1361 * gdb.trace/trace-break.exp
1362 * gdb.trace/trace-condition.exp
1363 * gdb.trace/trace-enable-disable.exp
1364 * gdb.trace/trace-mt.exp
1365 * gdb.trace/tracecmd.exp
1366 * gdb.trace/tspeed.exp
1367 * gdb.trace/tsv.exp
1368 * lib/perftest.exp
1369
1370 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1371
1372 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1373 with gdb_test_no_output.
1374 Use command as test name.
1375
1376 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1377
1378 Fix test names starting with uppercase throughout the files.
1379
1380 * gdb.ada/assign_1.exp
1381 * gdb.ada/boolean_expr.exp
1382 * gdb.base/arrayidx.exp
1383 * gdb.base/del.exp
1384 * gdb.base/gcore-buffer-overflow.exp
1385 * gdb.base/testenv.exp
1386 * gdb.compile/compile.exp
1387 * gdb.python/py-framefilter-invalidarg.exp
1388 * gdb.python/py-framefilter.exp
1389
1390 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1391
1392 Fix test names starting with uppercase throughout the files.
1393
1394 * gdb.ada/array_return.exp
1395 * gdb.ada/expr_delims.exp
1396 * gdb.ada/mi_dyn_arr.exp
1397 * gdb.ada/mi_interface.exp
1398 * gdb.ada/mi_var_array.exp
1399 * gdb.ada/watch_arg.exp
1400 * gdb.arch/alpha-step.exp
1401 * gdb.arch/altivec-regs.exp
1402 * gdb.arch/e500-regs.exp
1403 * gdb.arch/powerpc-d128-regs.exp
1404 * gdb.base/arrayidx.exp
1405 * gdb.base/break.exp
1406 * gdb.base/checkpoint.exp
1407 * gdb.base/debug-expr.exp
1408 * gdb.base/dmsym.exp
1409 * gdb.base/radix.exp
1410 * gdb.base/sepdebug.exp
1411 * gdb.base/testenv.exp
1412 * gdb.base/watch_thread_num.exp
1413 * gdb.base/watchpoint-cond-gone.exp
1414 * gdb.cell/break.exp
1415 * gdb.cell/ea-cache.exp
1416 * gdb.compile/compile.exp
1417 * gdb.cp/gdb2495.exp
1418 * gdb.gdb/selftest.exp
1419 * gdb.gdb/xfullpath.exp
1420 * gdb.go/hello.exp
1421 * gdb.go/integers.exp
1422 * gdb.objc/basicclass.exp
1423 * gdb.pascal/hello.exp
1424 * gdb.pascal/integers.exp
1425 * gdb.python/py-breakpoint.exp
1426 * gdb.python/py-cmd.exp
1427 * gdb.python/py-linetable.exp
1428 * gdb.python/py-xmethods.exp
1429 * gdb.python/python.exp
1430 * gdb.reverse/consecutive-precsave.exp
1431 * gdb.reverse/finish-precsave.exp
1432 * gdb.reverse/i386-precsave.exp
1433 * gdb.reverse/machinestate-precsave.exp
1434 * gdb.reverse/sigall-precsave.exp
1435 * gdb.reverse/solib-precsave.exp
1436 * gdb.reverse/step-precsave.exp
1437 * gdb.reverse/until-precsave.exp
1438 * gdb.reverse/watch-precsave.exp
1439 * gdb.threads/leader-exit.exp
1440 * gdb.threads/pthreads.exp
1441 * gdb.threads/wp-replication.exp
1442 * gdb.trace/actions.exp
1443 * gdb.trace/mi-tsv-changed.exp
1444 * gdb.trace/tsv.exp
1445
1446 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1447
1448 Fix test names starting with uppercase throughout the files.
1449
1450 * gdb.arch/i386-bp_permanent.exp
1451 * gdb.arch/i386-gnu-cfi.exp
1452 * gdb.base/disasm-end-cu.exp
1453 * gdb.base/macscp.exp
1454 * gdb.base/pending.exp
1455 * gdb.base/watch_thread_num.exp
1456 * gdb.cp/exception.exp
1457 * gdb.cp/gdb2495.exp
1458 * gdb.cp/local.exp
1459 * gdb.python/py-evsignal.exp
1460 * gdb.python/python.exp
1461 * gdb.trace/tracecmd.exp
1462
1463 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1464
1465 Fix test names starting with uppercase throughout the files.
1466
1467 * gdb.base/charset.exp
1468 * gdb.base/eval.exp
1469 * gdb.base/multi-forks.exp
1470 * gdb.guile/scm-progspace.exp
1471 * gdb.opencl/datatypes.exp
1472 * gdb.python/py-block.exp
1473 * gdb.python/py-function.exp
1474 * gdb.python/py-symbol.exp
1475 * gdb.python/py-symtab.exp
1476 * gdb.python/py-xmethods.exp
1477 * gdb.reverse/break-precsave.exp
1478 * gdb.reverse/break-reverse.exp
1479 * gdb.reverse/consecutive-precsave.exp
1480 * gdb.reverse/consecutive-reverse.exp
1481 * gdb.reverse/finish-precsave.exp
1482 * gdb.reverse/finish-reverse-bkpt.exp
1483 * gdb.reverse/finish-reverse.exp
1484 * gdb.reverse/fstatat-reverse.exp
1485 * gdb.reverse/getresuid-reverse.exp
1486 * gdb.reverse/i386-precsave.exp
1487 * gdb.reverse/i386-reverse.exp
1488 * gdb.reverse/i386-sse-reverse.exp
1489 * gdb.reverse/i387-stack-reverse.exp
1490 * gdb.reverse/insn-reverse.exp
1491 * gdb.reverse/machinestate-precsave.exp
1492 * gdb.reverse/machinestate.exp
1493 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1494 * gdb.reverse/pipe-reverse.exp
1495 * gdb.reverse/readv-reverse.exp
1496 * gdb.reverse/recvmsg-reverse.exp
1497 * gdb.reverse/rerun-prec.exp
1498 * gdb.reverse/s390-mvcle.exp
1499 * gdb.reverse/sigall-precsave.exp
1500 * gdb.reverse/sigall-reverse.exp
1501 * gdb.reverse/solib-precsave.exp
1502 * gdb.reverse/solib-reverse.exp
1503 * gdb.reverse/step-precsave.exp
1504 * gdb.reverse/step-reverse.exp
1505 * gdb.reverse/time-reverse.exp
1506 * gdb.reverse/until-precsave.exp
1507 * gdb.reverse/until-reverse.exp
1508 * gdb.reverse/waitpid-reverse.exp
1509 * gdb.reverse/watch-precsave.exp
1510 * gdb.reverse/watch-reverse.exp
1511
1512 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1513
1514 Fix test names starting with uppercase throughout the files.
1515
1516 * gdb.arch/i386-mpx-simple_segv.exp
1517 * gdb.arch/i386-mpx.exp
1518 * gdb.arch/i386-permbkpt.exp
1519 * gdb.arch/pa-nullify.exp
1520 * gdb.arch/powerpc-d128-regs.exp
1521 * gdb.arch/vsx-regs.exp
1522 * gdb.base/bfp-test.exp
1523 * gdb.base/break.exp
1524 * gdb.base/breakpoint-shadow.exp
1525 * gdb.base/callfuncs.exp
1526 * gdb.base/charset.exp
1527 * gdb.base/commands.exp
1528 * gdb.base/completion.exp
1529 * gdb.base/dfp-test.exp
1530 * gdb.base/echo.exp
1531 * gdb.base/ending-run.exp
1532 * gdb.base/eval.exp
1533 * gdb.base/expand-psymtabs.exp
1534 * gdb.base/float128.exp
1535 * gdb.base/floatn.exp
1536 * gdb.base/foll-exec-mode.exp
1537 * gdb.base/gdb1056.exp
1538 * gdb.base/gdb11531.exp
1539 * gdb.base/kill-after-signal.exp
1540 * gdb.base/multi-forks.exp
1541 * gdb.base/overlays.exp
1542 * gdb.base/pending.exp
1543 * gdb.base/sepdebug.exp
1544 * gdb.base/testenv.exp
1545 * gdb.base/valgrind-db-attach.exp
1546 * gdb.base/watch_thread_num.exp
1547 * gdb.base/watchpoint-cond-gone.exp
1548 * gdb.base/watchpoint.exp
1549 * gdb.base/watchpoints.exp
1550 * gdb.cp/arg-reference.exp
1551 * gdb.cp/baseenum.exp
1552 * gdb.cp/operator.exp
1553 * gdb.cp/shadow.exp
1554 * gdb.dwarf2/dw2-op-out-param.exp
1555 * gdb.dwarf2/dw2-reg-undefined.exp
1556 * gdb.go/chan.exp
1557 * gdb.go/hello.exp
1558 * gdb.go/integers.exp
1559 * gdb.go/methods.exp
1560 * gdb.go/package.exp
1561 * gdb.guile/scm-parameter.exp
1562 * gdb.guile/scm-progspace.exp
1563 * gdb.guile/scm-value.exp
1564 * gdb.mi/mi-pending.exp
1565 * gdb.mi/user-selected-context-sync.exp
1566 * gdb.multi/multi-attach.exp
1567 * gdb.multi/tids.exp
1568 * gdb.opt/clobbered-registers-O2.exp
1569 * gdb.pascal/floats.exp
1570 * gdb.pascal/integers.exp
1571 * gdb.python/py-block.exp
1572 * gdb.python/py-events.exp
1573 * gdb.python/py-parameter.exp
1574 * gdb.python/py-symbol.exp
1575 * gdb.python/py-symtab.exp
1576 * gdb.python/py-type.exp
1577 * gdb.python/py-value.exp
1578 * gdb.python/py-xmethods.exp
1579 * gdb.python/python.exp
1580 * gdb.reverse/break-precsave.exp
1581 * gdb.reverse/consecutive-precsave.exp
1582 * gdb.reverse/finish-precsave.exp
1583 * gdb.reverse/i386-precsave.exp
1584 * gdb.reverse/machinestate-precsave.exp
1585 * gdb.reverse/sigall-precsave.exp
1586 * gdb.reverse/solib-precsave.exp
1587 * gdb.reverse/step-precsave.exp
1588 * gdb.reverse/until-precsave.exp
1589 * gdb.reverse/watch-precsave.exp
1590 * gdb.server/ext-attach.exp
1591 * gdb.server/ext-restart.exp
1592 * gdb.server/ext-run.exp
1593 * gdb.server/ext-wrapper.exp
1594 * gdb.stabs/gdb11479.exp
1595 * gdb.stabs/weird.exp
1596 * gdb.threads/attach-many-short-lived-threads.exp
1597 * gdb.threads/kill.exp
1598 * gdb.threads/watchpoint-fork.exp
1599
1600 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1601
1602 Fix test names starting with uppercase throughout all the files below.
1603
1604 * gdb.ada/array_return.exp
1605 * gdb.ada/catch_ex.exp
1606 * gdb.ada/info_exc.exp
1607 * gdb.ada/mi_catch_ex.exp
1608 * gdb.ada/mi_dyn_arr.exp
1609 * gdb.ada/mi_ex_cond.exp
1610 * gdb.ada/mi_exc_info.exp
1611 * gdb.ada/mi_interface.exp
1612 * gdb.ada/mi_task_arg.exp
1613 * gdb.ada/mi_task_info.exp
1614 * gdb.ada/mi_var_array.exp
1615 * gdb.arch/alpha-step.exp
1616 * gdb.arch/amd64-disp-step.exp
1617 * gdb.arch/arm-disp-step.exp
1618 * gdb.arch/disp-step-insn-reloc.exp
1619 * gdb.arch/e500-prologue.exp
1620 * gdb.arch/ftrace-insn-reloc.exp
1621 * gdb.arch/gdb1558.exp
1622 * gdb.arch/i386-bp_permanent.exp
1623 * gdb.arch/i386-disp-step.exp
1624 * gdb.arch/i386-float.exp
1625 * gdb.arch/i386-gnu-cfi.exp
1626 * gdb.arch/ia64-breakpoint-shadow.exp
1627 * gdb.arch/mips16-thunks.exp
1628 * gdb.arch/pa-nullify.exp
1629 * gdb.arch/powerpc-aix-prologue.exp
1630 * gdb.arch/powerpc-power.exp
1631 * gdb.arch/ppc-dfp.exp
1632 * gdb.arch/s390-tdbregs.exp
1633 * gdb.arch/spu-info.exp
1634 * gdb.arch/spu-ls.exp
1635 * gdb.arch/thumb-bx-pc.exp
1636 * gdb.base/advance.exp
1637 * gdb.base/annota-input-while-running.exp
1638 * gdb.base/arrayidx.exp
1639 * gdb.base/asmlabel.exp
1640 * gdb.base/async.exp
1641 * gdb.base/attach-wait-input.exp
1642 * gdb.base/auto-connect-native-target.exp
1643 * gdb.base/batch-preserve-term-settings.exp
1644 * gdb.base/bfp-test.exp
1645 * gdb.base/bigcore.exp
1646 * gdb.base/bp-permanent.exp
1647 * gdb.base/break-always.exp
1648 * gdb.base/break-fun-addr.exp
1649 * gdb.base/break-idempotent.exp
1650 * gdb.base/break-main-file-remove-fail.exp
1651 * gdb.base/break-probes.exp
1652 * gdb.base/break-unload-file.exp
1653 * gdb.base/break.exp
1654 * gdb.base/call-ar-st.exp
1655 * gdb.base/call-rt-st.exp
1656 * gdb.base/call-sc.exp
1657 * gdb.base/call-signal-resume.exp
1658 * gdb.base/call-strs.exp
1659 * gdb.base/callexit.exp
1660 * gdb.base/callfuncs.exp
1661 * gdb.base/catch-gdb-caused-signals.exp
1662 * gdb.base/catch-signal-siginfo-cond.exp
1663 * gdb.base/catch-syscall.exp
1664 * gdb.base/compare-sections.exp
1665 * gdb.base/cond-eval-mode.exp
1666 * gdb.base/condbreak-call-false.exp
1667 * gdb.base/consecutive-step-over.exp
1668 * gdb.base/cursal.exp
1669 * gdb.base/disabled-location.exp
1670 * gdb.base/disasm-end-cu.exp
1671 * gdb.base/display.exp
1672 * gdb.base/double-prompt-target-event-error.exp
1673 * gdb.base/dprintf-bp-same-addr.exp
1674 * gdb.base/dprintf-detach.exp
1675 * gdb.base/dprintf-next.exp
1676 * gdb.base/dprintf-non-stop.exp
1677 * gdb.base/dprintf-pending.exp
1678 * gdb.base/dso2dso.exp
1679 * gdb.base/ending-run.exp
1680 * gdb.base/enum_cond.exp
1681 * gdb.base/examine-backward.exp
1682 * gdb.base/exe-lock.exp
1683 * gdb.base/exec-invalid-sysroot.exp
1684 * gdb.base/execl-update-breakpoints.exp
1685 * gdb.base/execution-termios.exp
1686 * gdb.base/fileio.exp
1687 * gdb.base/fixsection.exp
1688 * gdb.base/foll-exec-mode.exp
1689 * gdb.base/foll-exec.exp
1690 * gdb.base/fork-running-state.exp
1691 * gdb.base/frame-args.exp
1692 * gdb.base/fullpath-expand.exp
1693 * gdb.base/func-ptr.exp
1694 * gdb.base/gcore-relro-pie.exp
1695 * gdb.base/gdb1090.exp
1696 * gdb.base/gdb1555.exp
1697 * gdb.base/global-var-nested-by-dso.exp
1698 * gdb.base/gnu-ifunc.exp
1699 * gdb.base/hbreak-in-shr-unsupported.exp
1700 * gdb.base/hbreak-unmapped.exp
1701 * gdb.base/hook-stop.exp
1702 * gdb.base/infcall-input.exp
1703 * gdb.base/info-fun.exp
1704 * gdb.base/info-shared.exp
1705 * gdb.base/interrupt-noterm.exp
1706 * gdb.base/jit-so.exp
1707 * gdb.base/jit.exp
1708 * gdb.base/line-symtabs.exp
1709 * gdb.base/list.exp
1710 * gdb.base/longjmp.exp
1711 * gdb.base/macscp.exp
1712 * gdb.base/max-value-size.exp
1713 * gdb.base/nodebug.exp
1714 * gdb.base/nofield.exp
1715 * gdb.base/overlays.exp
1716 * gdb.base/paginate-after-ctrl-c-running.exp
1717 * gdb.base/paginate-bg-execution.exp
1718 * gdb.base/paginate-inferior-exit.exp
1719 * gdb.base/pending.exp
1720 * gdb.base/pr11022.exp
1721 * gdb.base/printcmds.exp
1722 * gdb.base/ptr-typedef.exp
1723 * gdb.base/ptype.exp
1724 * gdb.base/randomize.exp
1725 * gdb.base/range-stepping.exp
1726 * gdb.base/realname-expand.exp
1727 * gdb.base/relativedebug.exp
1728 * gdb.base/remote.exp
1729 * gdb.base/savedregs.exp
1730 * gdb.base/sepdebug.exp
1731 * gdb.base/set-noassign.exp
1732 * gdb.base/shlib-call.exp
1733 * gdb.base/shreloc.exp
1734 * gdb.base/sigaltstack.exp
1735 * gdb.base/sigbpt.exp
1736 * gdb.base/siginfo-addr.exp
1737 * gdb.base/siginfo-obj.exp
1738 * gdb.base/siginfo-thread.exp
1739 * gdb.base/signest.exp
1740 * gdb.base/signull.exp
1741 * gdb.base/sigrepeat.exp
1742 * gdb.base/skip.exp
1743 * gdb.base/so-impl-ld.exp
1744 * gdb.base/solib-corrupted.exp
1745 * gdb.base/solib-disc.exp
1746 * gdb.base/solib-display.exp
1747 * gdb.base/solib-overlap.exp
1748 * gdb.base/solib-search.exp
1749 * gdb.base/solib-symbol.exp
1750 * gdb.base/source-execution.exp
1751 * gdb.base/sss-bp-on-user-bp-2.exp
1752 * gdb.base/sss-bp-on-user-bp.exp
1753 * gdb.base/stack-checking.exp
1754 * gdb.base/stale-infcall.exp
1755 * gdb.base/step-break.exp
1756 * gdb.base/step-line.exp
1757 * gdb.base/step-over-exit.exp
1758 * gdb.base/step-test.exp
1759 * gdb.base/structs.exp
1760 * gdb.base/sym-file.exp
1761 * gdb.base/symtab-search-order.exp
1762 * gdb.base/term.exp
1763 * gdb.base/type-opaque.exp
1764 * gdb.base/unload.exp
1765 * gdb.base/until-nodebug.exp
1766 * gdb.base/until.exp
1767 * gdb.base/unwindonsignal.exp
1768 * gdb.base/watch-cond.exp
1769 * gdb.base/watch-non-mem.exp
1770 * gdb.base/watch_thread_num.exp
1771 * gdb.base/watchpoint-reuse-slot.exp
1772 * gdb.base/watchpoint-solib.exp
1773 * gdb.base/watchpoint.exp
1774 * gdb.btrace/dlopen.exp
1775 * gdb.cell/arch.exp
1776 * gdb.cell/break.exp
1777 * gdb.cell/bt.exp
1778 * gdb.cell/core.exp
1779 * gdb.cell/data.exp
1780 * gdb.cell/dwarfaddr.exp
1781 * gdb.cell/ea-cache.exp
1782 * gdb.cell/ea-standalone.exp
1783 * gdb.cell/ea-test.exp
1784 * gdb.cell/f-regs.exp
1785 * gdb.cell/fork.exp
1786 * gdb.cell/gcore.exp
1787 * gdb.cell/mem-access.exp
1788 * gdb.cell/ptype.exp
1789 * gdb.cell/registers.exp
1790 * gdb.cell/sizeof.exp
1791 * gdb.cell/solib-symbol.exp
1792 * gdb.cell/solib.exp
1793 * gdb.compile/compile-tls.exp
1794 * gdb.cp/exception.exp
1795 * gdb.cp/gdb2495.exp
1796 * gdb.cp/local.exp
1797 * gdb.cp/mb-inline.exp
1798 * gdb.cp/mb-templates.exp
1799 * gdb.cp/pr10687.exp
1800 * gdb.cp/pr9167.exp
1801 * gdb.cp/scope-err.exp
1802 * gdb.cp/templates.exp
1803 * gdb.cp/virtfunc.exp
1804 * gdb.dwarf2/dw2-dir-file-name.exp
1805 * gdb.dwarf2/dw2-single-line-discriminators.exp
1806 * gdb.fortran/complex.exp
1807 * gdb.fortran/library-module.exp
1808 * gdb.guile/guile.exp
1809 * gdb.guile/scm-cmd.exp
1810 * gdb.guile/scm-frame-inline.exp
1811 * gdb.guile/scm-objfile.exp
1812 * gdb.guile/scm-pretty-print.exp
1813 * gdb.guile/scm-symbol.exp
1814 * gdb.guile/scm-type.exp
1815 * gdb.guile/scm-value.exp
1816 * gdb.linespec/keywords.exp
1817 * gdb.linespec/ls-errs.exp
1818 * gdb.linespec/macro-relative.exp
1819 * gdb.linespec/thread.exp
1820 * gdb.mi/mi-breakpoint-changed.exp
1821 * gdb.mi/mi-dprintf-pending.exp
1822 * gdb.mi/mi-fullname-deleted.exp
1823 * gdb.mi/mi-logging.exp
1824 * gdb.mi/mi-pending.exp
1825 * gdb.mi/mi-solib.exp
1826 * gdb.mi/new-ui-mi-sync.exp
1827 * gdb.mi/user-selected-context-sync.exp
1828 * gdb.multi/dummy-frame-restore.exp
1829 * gdb.multi/multi-arch-exec.exp
1830 * gdb.multi/remove-inferiors.exp
1831 * gdb.multi/watchpoint-multi-exit.exp
1832 * gdb.opt/solib-intra-step.exp
1833 * gdb.perf/backtrace.exp
1834 * gdb.perf/single-step.exp
1835 * gdb.perf/skip-command.exp
1836 * gdb.perf/skip-prologue.exp
1837 * gdb.perf/solib.exp
1838 * gdb.python/lib-types.exp
1839 * gdb.python/py-as-string.exp
1840 * gdb.python/py-bad-printers.exp
1841 * gdb.python/py-block.exp
1842 * gdb.python/py-breakpoint.exp
1843 * gdb.python/py-cmd.exp
1844 * gdb.python/py-events.exp
1845 * gdb.python/py-evthreads.exp
1846 * gdb.python/py-finish-breakpoint.exp
1847 * gdb.python/py-finish-breakpoint2.exp
1848 * gdb.python/py-frame-inline.exp
1849 * gdb.python/py-frame.exp
1850 * gdb.python/py-inferior.exp
1851 * gdb.python/py-infthread.exp
1852 * gdb.python/py-mi.exp
1853 * gdb.python/py-objfile.exp
1854 * gdb.python/py-pp-maint.exp
1855 * gdb.python/py-pp-registration.exp
1856 * gdb.python/py-prettyprint.exp
1857 * gdb.python/py-recurse-unwind.exp
1858 * gdb.python/py-shared.exp
1859 * gdb.python/py-symbol.exp
1860 * gdb.python/py-symtab.exp
1861 * gdb.python/py-template.exp
1862 * gdb.python/py-type.exp
1863 * gdb.python/py-unwind-maint.exp
1864 * gdb.python/py-unwind.exp
1865 * gdb.python/py-value.exp
1866 * gdb.python/python.exp
1867 * gdb.reverse/finish-reverse-bkpt.exp
1868 * gdb.reverse/insn-reverse.exp
1869 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1870 * gdb.reverse/solib-precsave.exp
1871 * gdb.reverse/solib-reverse.exp
1872 * gdb.stabs/gdb11479.exp
1873 * gdb.stabs/weird.exp
1874 * gdb.threads/fork-child-threads.exp
1875 * gdb.threads/fork-plus-threads.exp
1876 * gdb.threads/fork-thread-pending.exp
1877 * gdb.threads/forking-threads-plus-breakpoint.exp
1878 * gdb.threads/hand-call-in-threads.exp
1879 * gdb.threads/interrupted-hand-call.exp
1880 * gdb.threads/linux-dp.exp
1881 * gdb.threads/local-watch-wrong-thread.exp
1882 * gdb.threads/next-while-other-thread-longjmps.exp
1883 * gdb.threads/non-ldr-exit.exp
1884 * gdb.threads/pending-step.exp
1885 * gdb.threads/print-threads.exp
1886 * gdb.threads/process-dies-while-detaching.exp
1887 * gdb.threads/process-dies-while-handling-bp.exp
1888 * gdb.threads/pthreads.exp
1889 * gdb.threads/queue-signal.exp
1890 * gdb.threads/reconnect-signal.exp
1891 * gdb.threads/signal-command-handle-nopass.exp
1892 * gdb.threads/signal-command-multiple-signals-pending.exp
1893 * gdb.threads/signal-delivered-right-thread.exp
1894 * gdb.threads/signal-sigtrap.exp
1895 * gdb.threads/sigthread.exp
1896 * gdb.threads/staticthreads.exp
1897 * gdb.threads/stepi-random-signal.exp
1898 * gdb.threads/thread-unwindonsignal.exp
1899 * gdb.threads/thread_check.exp
1900 * gdb.threads/thread_events.exp
1901 * gdb.threads/tid-reuse.exp
1902 * gdb.threads/tls-nodebug.exp
1903 * gdb.threads/tls-shared.exp
1904 * gdb.threads/tls-so_extern.exp
1905 * gdb.threads/tls.exp
1906 * gdb.threads/wp-replication.exp
1907 * gdb.trace/actions-changed.exp
1908 * gdb.trace/actions.exp
1909 * gdb.trace/backtrace.exp
1910 * gdb.trace/change-loc.exp
1911 * gdb.trace/collection.exp
1912 * gdb.trace/deltrace.exp
1913 * gdb.trace/disconnected-tracing.exp
1914 * gdb.trace/entry-values.exp
1915 * gdb.trace/ftrace-lock.exp
1916 * gdb.trace/ftrace.exp
1917 * gdb.trace/infotrace.exp
1918 * gdb.trace/mi-trace-frame-collected.exp
1919 * gdb.trace/mi-trace-unavailable.exp
1920 * gdb.trace/mi-traceframe-changed.exp
1921 * gdb.trace/mi-tracepoint-changed.exp
1922 * gdb.trace/mi-tsv-changed.exp
1923 * gdb.trace/no-attach-trace.exp
1924 * gdb.trace/packetlen.exp
1925 * gdb.trace/passc-dyn.exp
1926 * gdb.trace/passcount.exp
1927 * gdb.trace/pending.exp
1928 * gdb.trace/pr16508.exp
1929 * gdb.trace/qtro.exp
1930 * gdb.trace/range-stepping.exp
1931 * gdb.trace/read-memory.exp
1932 * gdb.trace/report.exp
1933 * gdb.trace/save-trace.exp
1934 * gdb.trace/signal.exp
1935 * gdb.trace/stap-trace.exp
1936 * gdb.trace/status-stop.exp
1937 * gdb.trace/strace.exp
1938 * gdb.trace/tfile.exp
1939 * gdb.trace/tfind.exp
1940 * gdb.trace/trace-break.exp
1941 * gdb.trace/trace-condition.exp
1942 * gdb.trace/trace-enable-disable.exp
1943 * gdb.trace/trace-mt.exp
1944 * gdb.trace/tracecmd.exp
1945 * gdb.trace/tracefile-pseudo-reg.exp
1946 * gdb.trace/tspeed.exp
1947 * gdb.trace/tstatus.exp
1948 * gdb.trace/tsv.exp
1949 * gdb.trace/unavailable.exp
1950 * gdb.trace/while-dyn.exp
1951 * gdb.trace/while-stepping.exp
1952 * lib/gdb-guile.exp
1953 * lib/gdb.exp
1954 * lib/mi-support.exp
1955 * lib/pascal.exp
1956 * lib/perftest.exp
1957 * lib/prelink-support.exp
1958 * lib/selftest-support.exp
1959
1960 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
1961
1962 * Makefile.in: Include disable-implicit-rules.mk.
1963
1964 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1965
1966 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
1967 non-byte-aligned bit fields.
1968
1969 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1970
1971 PR gdb/12616
1972 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
1973 respects the DW_AT_data_bit_offset attribute.
1974
1975 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1976
1977 * gdb.base/default.exp: Fix output of "set language".
1978
1979 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
1980
1981 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
1982 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
1983 make.
1984 * configure.ac: Remove checks for the make program.
1985 * configure: Re-generate.
1986
1987 2016-11-16 Kevin Buettner <kevinb@redhat.com>
1988
1989 * gdb.python/py-recurse-unwind.c (main): Add loop.
1990 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
1991 to read_register() and gdb.parse_and_eval(). Make each code
1992 call a separate case that can be individually tested.
1993 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
1994 proc. Call cont_and_backtrace for each of the code paths that
1995 we want to test in the unwinder.
1996
1997 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
1998
1999 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
2000 the definition of struct S.
2001
2002 2016-11-11 Catherine Moore <clm@codesourcery.com>
2003
2004 * gdb.base/dump.exp: Identify verilog format dump tests as such.
2005
2006 2016-11-09 Pedro Alves <palves@redhat.com>
2007
2008 * gdb.base/commands.exp (runto_or_return): New procedure.
2009 (gdbvar_simple_if_test, gdbvar_simple_while_test)
2010 (gdbvar_complex_if_while_test, progvar_simple_if_test)
2011 (progvar_simple_while_test, progvar_complex_if_while_test)
2012 (if_while_breakpoint_command_test)
2013 (infrun_breakpoint_command_test, breakpoint_command_test)
2014 (user_defined_command_test, watchpoint_command_test)
2015 (test_command_prompt_position, redefine_hook_test)
2016 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
2017 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
2018 multi_line_input and multi_line. Remove gdb_expect and
2019 gdb_stop_suppressing_tests uses.
2020 * lib/gdb.exp (valnum_re): New global.
2021 (multi_line_input): New procedure.
2022
2023 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
2024
2025 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
2026 Remove.
2027 (test_setup): Define with proc_with_prefix.
2028 (test_cli_inferior): Likewise.
2029 (test_cli_thread): Likewise.
2030 (test_cli_frame): Likewise.
2031 (test_cli_select_frame): Likewise.
2032 (test_cli_up_down): Likewise.
2033 (test_mi_thread_select): Likewise.
2034 (test_mi_stack_select_frame): Likewise.
2035 (test_cli_in_mi_inferior): Likewise.
2036 (test_cli_in_mi_thread): Likewise.
2037 (test_cli_in_mi_frame): Likewise.
2038 (top level): Do not use with_test_prefix_procname.
2039
2040 2016-11-09 Pedro Alves <palves@redhat.com>
2041
2042 * gdb.base/commands.exp (gdbvar_simple_if_test)
2043 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
2044 (progvar_simple_if_test, progvar_simple_while_test)
2045 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
2046 (infrun_breakpoint_command_test, breakpoint_command_test)
2047 (user_defined_command_test, watchpoint_command_test)
2048 (test_command_prompt_position, deprecated_command_test)
2049 (bp_deleted_in_command, temporary_breakpoint_commands)
2050 (stray_arg0_test, source_file_with_indented_comment)
2051 (recursive_source_test, if_commands_test)
2052 (error_clears_commands_left, redefine_hook_test)
2053 (redefine_backtrace_test): Use proc_with_prefix.
2054 * lib/gdb.exp (proc_with_prefix): New proc.
2055
2056 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2057
2058 * gdb.base/tui-layout.c: New file.
2059 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
2060 disassembly window contains very long lines.
2061
2062 2016-11-08 Tom Tromey <tom@tromey.com>
2063
2064 * gdb.python/py-value.exp (test_value_creation): Make "long" test
2065 depend on Python 2.
2066
2067 2016-11-08 Tom Tromey <tom@tromey.com>
2068
2069 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
2070 New method.
2071
2072 2016-10-29 Manish Goregaokar <manish@mozilla.com>
2073
2074 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
2075
2076 2016-10-27 Manish Goregaokar <manish@mozilla.com>
2077
2078 * gdb.rust/simple.rs: Add test for univariant enums without
2079 discriminants and for encoded struct-like enums.
2080
2081 2016-10-28 Pedro Alves <palves@redhat.com>
2082
2083 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
2084 gdb_test_multiple, tighten regexps and match symtabs and line
2085 tables incrementally.
2086
2087 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
2088
2089 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
2090 general.
2091
2092 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
2093
2094 * gdb.base/exec-invalid-sysroot.exp: New file.
2095
2096 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2097
2098 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
2099
2100 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2101
2102 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
2103
2104 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
2105
2106 * gdb.base/killed-outside.exp: Remove $options from a call to
2107 `prepare_for_testing'.
2108
2109 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2110
2111 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2112 Change test message.
2113
2114 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2115
2116 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2117 Update comment.
2118
2119 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2120
2121 * gdb.trace/mi-trace-save.exp: New file.
2122
2123 2016-10-13 Yao Qi <yao.qi@linaro.org>
2124
2125 * gdb.base/code_elim.exp (get_var_address): Remove.
2126 * gdb.base/relocate.exp: Likewise.
2127 * gdb.base/shreloc.exp: Likewise.
2128 * lib/gdb.exp (get_var_address): New.
2129
2130 2016-10-13 Yao Qi <yao.qi@linaro.org>
2131
2132 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
2133 floating point tests if $skip_float_test is false.
2134
2135 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
2136
2137 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
2138 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
2139 argc values.
2140 Add 1 to argc so we guarantee distinct initial/modified argc values.
2141
2142 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2143
2144 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
2145
2146 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2147
2148 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
2149 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2150 * gdb.arch/vsx-regs.exp: Likewise.
2151
2152 2016-10-07 Yao Qi <yao.qi@linaro.org>
2153
2154 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
2155
2156 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
2157
2158 * gdb.python/python.exp: Test decode_line("*0").
2159
2160 2016-10-06 Doug Evans <dje@google.com>
2161
2162 * gdb.python/py-value.exp (test_value_creation): Add test for large
2163 unsigned 64-bit value.
2164
2165 2016-10-06 Tom Tromey <tom@tromey.com>
2166
2167 * gdb.compile/compile.exp: Change java tests to rust.
2168 * gdb.base/setshow.exp: Change java tests to rust.
2169 * gdb.base/default.exp: Remove java from language list.
2170 * README (Examples): Update language example.
2171 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
2172 test.
2173 * lib/gdb.exp (skip_java_tests): Remove.
2174 * lib/java.exp: Remove.
2175 * gdb.java: Remove.
2176
2177 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2178
2179 * gdb.arch/mips-fcr.exp: New test.
2180 * gdb.arch/mips-fcr.c: Source for the new test.
2181
2182 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2183
2184 * gdb.base/solib-disc.exp: Use `standard_output_file'
2185 throughout.
2186
2187 2016-10-06 Pedro Alves <palves@redhat.com>
2188
2189 * gdb.base/jit-simple-dl.c: New file.
2190 * gdb.base/jit-simple-jit.c: New file, factored out from ...
2191 * gdb.base/jit-simple.c: ... this.
2192 * gdb.base/jit-simple.exp (jit_run): Delete.
2193 (build_jit): New proc.
2194 (jit_test_reread): Recompile either the main program or the shared
2195 library, depending on what is being tested. Skip changing address
2196 if caller wants to. Compare before/after addresses. If testing
2197 standalone, explicitly load the binary. Test "maint info
2198 breakpoints".
2199 (top level): Add "standalone vs shared lib" and "change address"
2200 vs "same address" axes.
2201
2202 2016-10-06 Pedro Alves <palves@redhat.com>
2203
2204 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
2205 call.
2206 (jit_run): Delete.
2207 (jit_test_reread): Use with_test_prefix. Reload the main binary
2208 explicitly. Compare the before/after addresses of the JIT
2209 descriptor.
2210
2211 2016-08-15 Doug Evans <dje@google.com>
2212
2213 * gdb.xml/extra-regs.xml: Update, end field now required, default type
2214 for single bitfields is bool.
2215 * gdb.xml/tdesc-regs.exp: Ditto.
2216
2217 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2218
2219 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
2220
2221 2016-10-05 Yao Qi <yao.qi@linaro.org>
2222
2223 * lib/gdb.exp (support_complex_tests): Return zero if
2224 gdb_skip_float_test return true.
2225
2226 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2227 Simon Marchi <simon.marchi@ericsson.com>
2228
2229 PR gdb/20487
2230 * gdb.mi/user-selected-context-sync.exp: New file.
2231 * gdb.mi/user-selected-context-sync.c: New file.
2232
2233 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2234 Simon Marchi <simon.marchi@ericsson.com>
2235
2236 PR gdb/20487
2237 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
2238 =thread-select-event check.
2239
2240 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2241
2242 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
2243 the compulsory L operand changes.
2244 * gdb.arch/powerpc-power.s: Likewise.
2245
2246 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2247
2248 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
2249 * gdb.base/jit-attach-pie.c: New file.
2250 * gdb.base/jit-attach-pie.exp: New file.
2251
2252 2016-09-28 Pedro Alves <palves@redhat.com>
2253
2254 * gdb.base/infcall-input.c: New file.
2255 * gdb.base/infcall-input.exp: New file.
2256
2257 2016-09-22 Yao Qi <yao.qi@linaro.org>
2258
2259 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
2260 (gdb_exit): Rename it to ...
2261 (gdbserver_gdb_exit): ... Close GDBserver.
2262 (gdb_exit): New proc, call gdbserver_gdb_exit.
2263 (mi_gdb_exit): Likewise.
2264
2265 2016-09-22 Yao Qi <yao.qi@linaro.org>
2266
2267 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
2268 path.
2269 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
2270 Remove duplication.
2271
2272 2016-09-22 Yao Qi <yao.qi@linaro.org>
2273
2274 * lib/gdbserver-support.exp: Check the existence of
2275 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
2276
2277 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2278
2279 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
2280
2281 2016-09-21 Tom Tromey <tom@tromey.com>
2282
2283 PR gdb/20604:
2284 * gdb.base/quit.exp: New file.
2285
2286 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
2287
2288 * .gitignore: New file.
2289
2290 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
2291
2292 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
2293 throughout.
2294
2295 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2296
2297 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
2298
2299 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2300
2301 * gdb.cp/casts.cc (decltype): Move it ...
2302 (main): ... with its call to ...
2303 * gdb.cp/casts03.cc: ... a new file.
2304 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2305
2306 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2307
2308 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2309
2310 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2311
2312 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2313 and sync up the test with tests in gas/testsuite/gas/ppc.
2314 * gdb.arch/powerpc-power.exp: Likewise.
2315
2316 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2317
2318 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2319
2320 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2321 Jan Kratochvil <jan.kratochvil@redhat.com>
2322
2323 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2324 make m1's definition to be different from m2's. Use 'dummy' as an
2325 argument for probe 'two'.
2326
2327 2016-09-10 Jon Beniston <jon@beniston.com>
2328
2329 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2330 for sim target.
2331
2332 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2333
2334 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2335 variable declaration.
2336 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2337 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2338 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2339 received HWCAP as its argument.
2340
2341 2016-09-06 Pedro Alves <palves@redhat.com>
2342
2343 * gdb.base/new-ui-pending-input.c: New file.
2344 * gdb.base/new-ui-pending-input.exp: New file.
2345 * gdb.exp (clear_gdb_spawn_id): New procedure.
2346 (with_spawn_id): Check whether gdb_spawn_id exists before
2347 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2348 on exit.
2349
2350 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2351
2352 * gdb.base/float128.c: New file.
2353 * gdb.base/float128.exp: Likewise.
2354 * gdb.base/floatn.c: Likewise.
2355 * gdb.base/floatn.exp: Likewise.
2356
2357 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2358
2359 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2360
2361 2016-09-05 Pedro Alves <palves@redhat.com>
2362
2363 PR backtrace/19927
2364 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2365 unwinders are immediately called as side effect of "source" or
2366 "disable unwinder" commands.
2367 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2368
2369 2016-09-02 Yao Qi <yao.qi@linaro.org>
2370
2371 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2372 is true and $type is "float" or "double".
2373
2374 2016-09-02 Yao Qi <yao.qi@linaro.org>
2375
2376 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2377 true.
2378 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2379 * gdb.base/call-rt-st.exp: Likewise.
2380 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2381 return value instead of gdb,skip_float_test.
2382 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2383 (do_function_calls): Use its return value instead of
2384 gdb,skip_float_test.
2385 * gdb.base/finish.exp: Likewise.
2386 * gdb.base/funcargs.exp: Likewise.
2387 * gdb.base/return.exp: Likewise.
2388 * gdb.base/return2.exp: Likewise.
2389 * gdb.base/varargs.exp: Likewise.
2390 * lib/gdb.exp (gdb_skip_float_test): Change it to
2391 gdb_caching_proc. Detect the broken ptrace on arm-linux.
2392
2393 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2394
2395 * gdb.multi/tids.exp: Test "thread apply all".
2396
2397 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2398
2399 * gdb.base/default.exp (tty): Remove.
2400
2401 2016-08-24 Kevin Buettner <kevinb@redhat.com>
2402
2403 * gdb.python/py-recurse-unwind.c: New file.
2404 * gdb.python/py-recurse-unwind.py: New file.
2405 * gdb.python/py-recurse-unwind.exp: New file.
2406
2407 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
2408
2409 * gdb.base/set-inferior-tty.exp: New file.
2410 * gdb.base/set-inferior-tty.c: New file.
2411
2412 2016-08-23 Pedro Alves <palves@redhat.com>
2413
2414 PR gdb/20494
2415 * gdb.base/new-ui-echo.c: New file.
2416 * gdb.base/new-ui-echo.exp: New file.
2417
2418 2016-08-23 Yao Qi <yao.qi@linaro.org>
2419
2420 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
2421 gdbserver_spawn.
2422 * gdb.server/connect-without-multi-process.exp (do_test):
2423 Likewise.
2424
2425 2016-08-23 Yao Qi <yao.qi@linaro.org>
2426
2427 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
2428 standalone_txt. Delete gdb_txt and standalone_txt on host
2429 and target. Spawn the binary on target. Copy files from
2430 target to host.
2431
2432 2016-08-22 Pedro Alves <palves@redhat.com>
2433
2434 PR gdb/20505
2435 * gdb.base/vdso-warning.exp: Test core dumps too. Use
2436 with_test_prefix. Factor out bits to ...
2437 (test_no_vdso): ... this new procedure.
2438
2439 2016-08-19 Carl Love <cel@us.ibm.com>
2440
2441 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
2442 maintaining separate logic for constructing the output path.
2443 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2444 * gdb.arch/ppc-dfp.exp: Likewise.
2445 * gdb.arch/ppc-fp.exp: Likewise.
2446 * gdb.arch/vsx-regs.exp: Likewise.
2447 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
2448 binprefix for generating the additional binary files.
2449
2450 2016-08-19 Pedro Alves <palves@redhat.com>
2451
2452 * gdb.trace/mi-trace-frame-collected.exp
2453 (test_trace_frame_collected): On x32, expect two registers.
2454
2455 2016-08-18 Carl Love <cel@us.ibm.com>
2456
2457 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
2458 and sync up the test with tests in gas/testsuite/gas/ppc.
2459 * gdb.arch/powerpc-power.exp: Likewise.
2460
2461 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2462
2463 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
2464 expected error message.
2465
2466 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2467
2468 * gdb.multi/remove-inferiors.exp: New file.
2469 * gdb.multi/remove-inferiors.c: New file.
2470
2471 2016-08-12 Yao Qi <yao.qi@linaro.org>
2472
2473 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
2474 argument list.
2475
2476 2016-08-10 Pedro Alves <palves@redhat.com>
2477
2478 PR gdb/19187
2479 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
2480 setup_kfails.
2481
2482 2016-08-09 Pedro Alves <palves@redhat.com>
2483 Simon Marchi <simon.marchi@ericsson.com>
2484
2485 PR gdb/20418
2486 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
2487 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
2488
2489 2016-08-09 Pedro Alves <palves@redhat.com>
2490
2491 PR mi/20431
2492 * gdb.mi/mi-cmd-error.exp: New file.
2493
2494 2016-08-09 Pedro Alves <palves@redhat.com>
2495
2496 PR gdb/18653
2497 * gdb.base/signals-state-child.c: New file.
2498 * gdb.base/signals-state-child.exp: New file.
2499 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
2500
2501 2016-08-09 Pedro Alves <palves@redhat.com>
2502
2503 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
2504
2505 2016-08-03 Tom Tromey <tom@tromey.com>
2506
2507 PR python/18565:
2508 * gdb.python/py-frame-inline.exp: Add Frame.function test.
2509
2510 2016-08-01 Yao Qi <yao.qi@linaro.org>
2511
2512 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
2513 variable mode to "multi-process" if $multi_process is 1, otherwise
2514 set it to "single-process".
2515
2516 2016-08-01 Yao Qi <yao.qi@linaro.org>
2517
2518 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
2519 * gdb.cp/cpexprs.exp: Likewise.
2520 * gdb.cp/m-static.exp: Likewise.
2521
2522 2016-07-26 Tom Tromey <tom@tromey.com>
2523
2524 PR python/20190:
2525 * gdb.threads/tls.exp (check_thread_local): Add python symbol
2526 test.
2527
2528 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
2529
2530 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
2531 selecting assembly source files.
2532 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
2533 assembly source files.
2534 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
2535 assembly source files.
2536 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
2537 selecting assembly source files.
2538
2539 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
2540
2541 * gdb.base/new-ui.exp (do_test_invalid_args): New
2542 procedure.
2543
2544 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
2545
2546 * gdb.btrace/reconnect.c: New file.
2547 * gdb.btrace/reconnect.exp: New file.
2548
2549 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
2550
2551 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
2552 to test_catch_syscall_group.
2553 (test_catch_syscall_group): New.
2554
2555 2016-07-21 Tom Tromey <tom@tromey.com>
2556
2557 * gdb.rust/simple.rs (main): Use empty struct expression.
2558 * gdb.rust/simple.exp: Add tests for empty struct expression.
2559
2560 2016-07-21 Yao Qi <yao.qi@linaro.org>
2561
2562 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
2563 if gdb_skip_xml_test is true on some targets.
2564
2565 2016-07-21 Yao Qi <yao.qi@linaro.org>
2566
2567 * gdb.server/solib-list.exp: Unset last_loaded_file.
2568
2569 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2570
2571 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
2572 "step into captured_main (args)".
2573
2574 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2575
2576 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
2577
2578 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2579
2580 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
2581
2582 2016-07-19 Pedro Alves <palves@redhat.com>
2583
2584 * gdb.opt/inline-break.exp: Remove optimize=-O2.
2585 * gdb.opt/inline-bt.exp: Likewise.
2586 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
2587 additional_flags=-Winline.
2588 * gdb.opt/inline-locals.exp: Likewise.
2589 * gdb.opt/inline-markers.c (ATTR): Define.
2590 (inlined_fn): Use it.
2591
2592 2016-07-19 Yao Qi <yao.qi@linaro.org>
2593
2594 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
2595 (test_with_self): Remove some code. Remove argument executable.
2596 (top-level): Use do_self_tests.
2597
2598 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
2599 Don Breazeal <donb@codesourcery.com>
2600
2601 * gdb.base/maint.exp: Escape paths used in regular expressions.
2602 * gdb.stabs/weird.exp: Likewise.
2603
2604 2016-07-13 Tom Tromey <tom@tromey.com>
2605
2606 PR python/15620, PR python/18620:
2607 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
2608 (test_bkpt_events): New procs.
2609
2610 2016-07-13 Tom Tromey <tom@tromey.com>
2611
2612 PR python/17698:
2613 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
2614 test.
2615 (test_watchpoints): Likewise.
2616 (test_bkpt_pending): New proc.
2617
2618 2016-07-13 Tom Tromey <tom@tromey.com>
2619
2620 PR cli/18053:
2621 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
2622 completion test.
2623
2624 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2625
2626 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
2627 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
2628 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
2629 f_label.
2630 (g): Rename g_end_lbl to g_label.
2631 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
2632 low_pc and high_pc.
2633 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
2634
2635 2016-07-12 Tom Tromey <tom@tromey.com>
2636
2637 PR python/19293:
2638 * gdb.python/py-unwind-maint.exp: Update tests.
2639
2640 2016-07-12 Yao Qi <yao.qi@linaro.org>
2641
2642 * lib/selftest-support.exp (selftest_setup): Match the output
2643 when captured_main is inlined.
2644
2645 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2646
2647 * gdb.fortran/derived-types.exp (result_line, result_line_2):
2648 New variables.
2649 (print this%a, print this%b, print this): New tests.
2650 * gdb.fortran/derived-types.f90 (this): New object and
2651 initialization.
2652
2653 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2654
2655 * gdb.ada/arraydim.exp: Remove extra directory level in build
2656 directory.
2657
2658 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2659
2660 * lib/ada.exp: Remove extra directory level in build directory.
2661 * gdb.ada/cond_lang.exp: Likewise.
2662 * gdb.ada/exec_changed.exp: Likewise.
2663 * gdb.ada/lang_switch.exp: Likewise.
2664
2665 2016-07-06 Manish Goregaokar <manish@mozilla.com>
2666
2667 * simple.rs: Add test for raw pointer subscripting.
2668 * simple.exp: Add test expectations.
2669
2670 2016-07-05 Yao Qi <yao.qi@linaro.org>
2671
2672 * gdb.mi/mi-reverse.exp: Match =record-started output.
2673
2674 2016-07-01 Pedro Alves <palves@redhat.com>
2675
2676 * gdb.base/jit-reader.exp (info_registers_current_frame): New
2677 procedure.
2678 (jit_reader_test): Test the jit reader's unwinder.
2679 * gdb.base/jithost.c (jit_function_00_code): New global.
2680 (main): Use memcpy to fill in the mmapped code, instead of poking
2681 bytes manually here.
2682 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
2683 value.
2684 (read_debug_info): Save the function's range.
2685 (read_sp): New function.
2686 (unwind_frame): Use it. Also unwind RBP.
2687 (get_frame_id): Use read_sp.
2688 (gdb_init_reader): Use calloc instead of malloc.
2689 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
2690 parameter. Use gdb_test_multiple.
2691
2692 2016-07-01 Pedro Alves <palves@redhat.com>
2693 Antoine Tremblay <antoine.tremblay@ericsson.com>
2694
2695 * gdb.threads/process-dies-while-detaching.c: New file.
2696 * gdb.threads/process-dies-while-detaching.exp: New file.
2697
2698 2016-07-01 Pedro Alves <palves@redhat.com>
2699
2700 * gdb.multi/watchpoint-multi-exit.c: New file.
2701 * gdb.multi/watchpoint-multi-exit.exp: New file.
2702
2703 2016-06-30 Pedro Alves <palves@redhat.com>
2704
2705 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
2706 unset inferior_spawn_id.
2707
2708 2016-06-30 Pedro Alves <palves@redhat.com>
2709
2710 * lib/mi-support.exp (default_mi_gdb_start): Declare global
2711 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
2712
2713 2016-06-29 Yao Qi <yao.qi@linaro.org>
2714
2715 * gdb.base/return.c: Add copyright header.
2716
2717 2016-06-29 Tom Tromey <tom@tromey.com>
2718
2719 PR python/20129:
2720 * gdb.python/py-framefilter.exp: Add tests for setting priority
2721 and disabling of non-existent frame filter.
2722
2723 2016-06-29 Yao Qi <yao.qi@linaro.org>
2724
2725 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
2726 0x0f07ff.
2727
2728 2016-06-28 Yao Qi <yao.qi@linaro.org>
2729
2730 * gdb.base/catch-syscall.exp: Remove check on isnative and target
2731 triplets. Start gdb, execute catch syscall, and continue. Check
2732 gdb's output to determine catch syscall is supported.
2733
2734 2016-06-27 Manish Goregaokar <manish@mozilla.com>
2735
2736 * gdb.rust/simple.rs: Add test for returning unit in a function.
2737 * gdb.rust/simple.exp: Add expectation for functions returning
2738 unit.
2739
2740 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
2741
2742 * gdb.python/py-breakpoint-create-fail.c,
2743 gdb.python/py-breakpoint-create-fail.exp,
2744 gdb.python/py-breakpoint-create-fail.py: New testcase.
2745
2746 2016-06-25 Manish Goregaokar <manish@mozilla.com>
2747
2748 PR gdb/20239
2749 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
2750 * gdb.rust/simple.exp: Add test expectations for new NonZero
2751 tests.
2752
2753 2016-06-24 David Taylor <dtaylor@emc.com>
2754
2755 * gdb.base/offsets.exp: New file.
2756 * gdb.base/offsets.c: New file.
2757
2758 2016-06-23 Tom Tromey <tom@tromey.com>
2759
2760 PR gdb/16483:
2761 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
2762 before any filters are loaded.
2763
2764 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
2765
2766 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
2767 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
2768 structs.
2769 * gdb.fortran/derived-type-function.exp: New file.
2770 * gdb.fortran/derived-type-function.f90: New file.
2771
2772
2773 2016-06-21 Pedro Alves <palves@redhat.com>
2774
2775 * gdb.base/new-ui.exp: New file.
2776 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
2777 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
2778 (with_spawn_id): New procedure.
2779
2780 2016-06-21 Pedro Alves <palves@redhat.com>
2781
2782 * gdb.mi/mi-exec-run.exp: New file.
2783
2784 2016-06-21 Pedro Alves <palves@redhat.com>
2785
2786 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
2787 breakpoint command's output on the main UI.
2788 (test_break): New procedure, factored out from calls in the top
2789 level.
2790 (top level): Use foreach_with_prefix to test MI as main UI and as
2791 separate UI.
2792
2793 2016-06-21 Pedro Alves <palves@redhat.com>
2794
2795 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
2796 (test_awatch_creation_and_listing)
2797 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
2798 Remove 'type' parameter.
2799 (test_watchpoint_all): New parameter mi_mode. Remove
2800 with_test_prefix.
2801 (top level): Use foreach_with_prefix, and add main/separate UI MI
2802 testing axis.
2803
2804 2016-06-21 Pedro Alves <palves@redhat.com>
2805
2806 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
2807 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
2808 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
2809 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
2810 (gdb_main_spawn_id, mi_spawn_id): Declare and
2811 comment.
2812 (mi_create_inferior_pty): New procedure,
2813 factored out from default_mi_gdb_start.
2814 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
2815 procedures.
2816 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
2817 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
2818 Use mi_create_inferior_pty.
2819 (mi_gdb_start): Use eval to pass down args list.
2820
2821 2016-06-21 Pedro Alves <palves@redhat.com>
2822
2823 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
2824 * gdb.opt/inline-cmds.exp: Add MI tests.
2825
2826 2016-06-21 Pedro Alves <palves@redhat.com>
2827
2828 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
2829
2830 2016-06-21 Pedro Alves <palves@redhat.com>
2831
2832 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
2833 (top level): Use it instead of mi_execute_to.
2834
2835 2016-06-21 Pedro Alves <palves@redhat.com>
2836
2837 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
2838 (cont_handler_str): New.
2839 (signal_stop_handler): Set stop_handler_str instead of printing to
2840 stdout.
2841 (continue_handler): Set cont_handler_str instead of printing to
2842 stdout.
2843 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
2844 mi_send_resuming_command. Print stop_handler_str and
2845 cont_handler_str instead of expecting the python events print
2846 directly.
2847
2848 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2849
2850 * gdb.base/jit-reader.exp: New file.
2851 * gdb.base/jithost.c: New file.
2852 * gdb.base/jithost.h: New file.
2853 * gdb.base/jitreader.c : New file.
2854 * gdb.base/jit-protocol.h: New file.
2855
2856 2016-06-17 Yao Qi <yao.qi@linaro.org>
2857
2858 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
2859 parameters follow_fork and detach_on_fork. Set follow-fork-mode
2860 and detach-on-fork. Adjust tests.
2861 (top level): Invoke break_cond_on_syscall with combinations of
2862 syscall, follow-fork-mode and detach-on-fork.
2863
2864 2016-06-17 Yao Qi <yao.qi@linaro.org>
2865
2866 * gdb.base/step-over-exit.c: New.
2867 * gdb.base/step-over-exit.exp: New.
2868
2869 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
2870
2871 * gdb.base/float.exp: Add target check for nds32*-*-*.
2872 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
2873
2874 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
2875
2876 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
2877 for unsupported target features.
2878 * gdb.base/call-rt-st.exp: Likewise.
2879 * gdb.base/call-sc.exp: Likewise.
2880 * gdb.base/call-signal-resume.exp: Likewise.
2881 * gdb.base/call-strs.exp: Likewise.
2882 * gdb.base/callexit.exp: Likewise.
2883 * gdb.base/callfuncs.exp: Likewise.
2884 * gdb.base/nodebug.exp: Likewise.
2885 * gdb.base/printcmds.exp: Likewise.
2886 * gdb.base/ptype.exp: Likewise.
2887 * gdb.base/structs.exp: Likewise.
2888 * gdb.base/unwindonsignal.exp: Likewise.
2889 * gdb.cp/gdb2495.exp: Likewise.
2890 * gdb.cp/templates.exp: Likewise.
2891 * gdb.cp/virtfunc.exp: Likewise.
2892 * gdb.threads/hand-call-in-threads.exp: Likewise.
2893 * gdb.threads/interrupted-hand-call.exp: Likewise.
2894 * gdb.threads/thread-unwindonsignal.exp: Likewise.
2895
2896 2016-06-10 Tom Tromey <tom@tromey.com>
2897
2898 PR rust/20110:
2899 * gdb.rust/expr.exp: Add test for integer constant larger than
2900 i32.
2901
2902 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
2903
2904 * gdb.fortran/nested-funcs.exp: New.
2905 * gdb.fortran/nested-funcs.f90: New.
2906
2907 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
2908
2909 * gdb.base/examine-backward.c: New file.
2910 * gdb.base/examine-backward.exp: New file.
2911
2912 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
2913
2914 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
2915 matching.
2916
2917 2016-06-02 Tom Tromey <tom@tromey.com>
2918
2919 PR python/18984:
2920 * gdb.python/py-shared.exp: Add solib_name test.
2921
2922 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
2923
2924 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
2925
2926 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
2927
2928 PR c++/19893
2929 * gdb.dwarf2/implref.exp: Rename to...
2930 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
2931 * gdb.dwarf2/implref-array.c: New file.
2932 * gdb.dwarf2/implref-array.exp: Likewise.
2933 * gdb.dwarf2/implref-global.c: Likewise.
2934 * gdb.dwarf2/implref-global.exp: Likewise.
2935 * gdb.dwarf2/implref-struct.c: Likewise.
2936 * gdb.dwarf2/implref-struct.exp: Likewise.
2937
2938 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2939
2940 * gdb.trace/trace-condition.exp: Add 64bit tests.
2941
2942 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2943
2944 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
2945 bits types.
2946 (main): Adapt to 8 to 64 bits types.
2947 * gdb.trace/trace-condition.exp: Add new tests.
2948
2949 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2950
2951 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
2952
2953 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2954
2955 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
2956 Move condition tests...
2957 * gdb.trace/trace-condition.exp: Here.
2958
2959 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2960
2961 * gdb.trace/trace-condition.exp: Add counter-case tests.
2962
2963 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2964
2965 PR c++/15231
2966 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
2967 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
2968
2969 2016-05-27 Pedro Alves <palves@redhat.com>
2970
2971 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2972 New procedure.
2973 (top level): Call it, and bail out of DejaGnu is known to be bad.
2974
2975 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
2976
2977 * gdb.base/whatis.c: Extend the test case.
2978 * gdb.base/whatis.exp: Add additional tests.
2979
2980 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2981
2982 * gdb.fortran/type.f90: Add pointer variable.
2983 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
2984
2985 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2986
2987 * gdb.fortran/vla-type.exp: Fix testcase name.
2988
2989 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2990
2991 * gdb.fortran/vla-type.exp: Access elements in nested structs.
2992
2993 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2994
2995 * gdb.fortran/type.f90: Add nested structures.
2996 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
2997 * gdb.fortran/derived-type.exp: Adapt expected output.
2998 * gdb.fortran/vla-type.exp: Adapt expected output.
2999
3000 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3001
3002 * gdb.fortran/whatis_type.exp: Adapt expected output.
3003
3004 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3005
3006 * gdb.fortran/print_type.exp: Fix expected output.
3007 * gdb.fortran/whatis_type.exp: Fix expected output.
3008
3009 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3010
3011 * gdb.fortran/whatis_type.exp: Use multi_line.
3012
3013 2016-05-24 Tom Tromey <tom@tromey.com>
3014
3015 PR python/17386:
3016 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
3017 use value as an index.
3018
3019 2016-05-23 Tom Tromey <tom@tromey.com>
3020
3021 PR python/17981:
3022 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
3023 no-breakpoint case.
3024
3025 2016-05-24 Pedro Alves <palves@redhat.com>
3026
3027 PR gdb/19828
3028 * gdb.threads/clone-attach-detach.c: New file.
3029 * gdb.threads/clone-attach-detach.exp: New file.
3030
3031 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
3032
3033 * gdb.base/annota-input-while-running.exp: Fix syntax error.
3034
3035 2016-05-23 Tom Tromey <tom@tromey.com>
3036
3037 PR python/19438, PR python/18393:
3038 * gdb.python/py-progspace.exp: Add "dir" test.
3039 * gdb.python/py-objfile.exp: Add "dir" test.
3040
3041 2016-05-23 Yao Qi <yao.qi@linaro.org>
3042
3043 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
3044 * gdb.arch/thumb2-it.exp: Likewise.
3045
3046 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
3047
3048 * gdb.mi/mi-threads-interrupt.c: New file.
3049 * gdb.mi/mi-threads-interrupt.exp: New file.
3050
3051 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
3052
3053 PR gdb/18077
3054 * gdb.mi/mi-async-run.exp: New file.
3055 * gdb.mi/mi-async-run.c: New file.
3056
3057 2016-05-17 Tom Tromey <tom@tromey.com>
3058 Manish Goregaokar <manishsmail@gmail.com>
3059
3060 * lib/rust-support.exp: New file.
3061 * lib/gdb.exp (skip_rust_tests): New proc.
3062 (build_executable_from_specs): Handle rust.
3063 * lib/future.exp (gdb_find_rustc): New proc.
3064 (gdb_default_target_compile): Handle rust.
3065 * gdb.rust/expr.exp: New file.
3066 * gdb.rust/generics.exp: New file.
3067 * gdb.rust/generics.rs: New file.
3068 * gdb.rust/methods.exp: New file.
3069 * gdb.rust/methods.rs: New file.
3070 * gdb.rust/modules.exp: New file.
3071 * gdb.rust/modules.rs: New file.
3072 * gdb.rust/simple.exp: New file.
3073 * gdb.rust/simple.rs: New file.
3074
3075 2016-05-17 Tom Tromey <tom@tromey.com>
3076
3077 * gdb.base/default.exp (set language): Add rust.
3078
3079 2016-05-17 Tom Tromey <tom@tromey.com>
3080
3081 * gdb.gdb/unittest.exp: New file.
3082
3083 2016-05-16 Yao Qi <yao.qi@linaro.org>
3084
3085 * gdb.base/batch-preserve-term-settings.exp: Remove variable
3086 shell_prompt. Update shell_prompt_re.
3087
3088 2016-05-12 Doug Evans <dje@google.com>
3089
3090 PR symtab/19999
3091 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
3092 $options when building executable.
3093 * gdb.dwarf2/fission-loclists-pie.S: New file.
3094 * gdb.dwarf2/fission-loclists-pie.exp: New file.
3095
3096 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3097
3098 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
3099 of [is_remote target],
3100
3101 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3102
3103 * lib/gdb.exp (use_gdb_stub): New procedure.
3104
3105 2016-05-03 Yunlian Jiang <yunlian@google.com>
3106 Doug Evans <dje@google.com>
3107
3108 PR symtab/19914
3109 * gdb.dwarf2/dwp-sepdebug.c: New file.
3110 * gdb.dwarf2/dwp-sepdebug.exp: New file.
3111
3112 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3113
3114 * gdb.base/detach.exp: Remove is_remote check.
3115
3116 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3117
3118 * gdb.base/annota-input-while-running.exp: Don't check for
3119 [is_remote target]. Enable annotations after running to main.
3120 Remove unused "set test..." line.
3121
3122 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3123
3124 * gdb.trace/trace-enable-disable.exp: New file.
3125 * gdb.trace/trace-enable-disable.c: New file.
3126
3127 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3128
3129 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
3130 use it in info sharedlibrary test.
3131 * gdb.trace/ftrace-lock.exp: Likewise.
3132 * gdb.trace/ftrace.exp: Likewise.
3133 * gdb.trace/range-stepping.exp: Likewise.
3134 * gdb.trace/trace-break.exp: Likewise.
3135 * gdb.trace/trace-condition.exp: Likewise.
3136 * gdb.trace/trace-mt.exp: Likewise.
3137
3138 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3139
3140 * lib/gdb.exp (gdb_load_shlibs): Rename to...
3141 (gdb_load_shlib): ... this.
3142 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
3143 gdb_load_shlib.
3144 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3145 * gdb.base/ctxobj.exp: Likewise.
3146 * gdb.base/dprintf-pending.exp: Likewise.
3147 * gdb.base/dso2dso.exp: Likewise.
3148 * gdb.base/fixsection.exp: Likewise.
3149 * gdb.base/gcore-relro.exp: Likewise.
3150 * gdb.base/gdb1555.exp: Likewise.
3151 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3152 * gdb.base/gnu-ifunc.exp: Likewise.
3153 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
3154 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3155 * gdb.base/pending.exp: Likewise.
3156 * gdb.base/print-file-var.exp: Likewise.
3157 * gdb.base/print-symbol-loading.exp: Likewise.
3158 * gdb.base/shlib-call.exp: Likewise.
3159 * gdb.base/shreloc.exp: Likewise.
3160 * gdb.base/so-impl-ld.exp: Likewise.
3161 * gdb.base/solib-disc.exp: Likewise.
3162 * gdb.base/solib-nodir.exp: Likewise.
3163 * gdb.base/solib-overlap.exp: Likewise.
3164 * gdb.base/solib-symbol.exp: Likewise.
3165 * gdb.base/solib-weak.exp (do_test): Likewise.
3166 * gdb.base/sym-file.exp: Likewise.
3167 * gdb.base/symtab-search-order.exp: Likewise.
3168 * gdb.base/type-opaque.exp: Likewise.
3169 * gdb.base/unload.exp: Likewise.
3170 * gdb.base/watchpoint-solib.exp: Likewise.
3171 * gdb.compile/compile.exp: Likewise.
3172 * gdb.cp/gdb2384.exp: Likewise.
3173 * gdb.cp/infcall-dlopen.exp: Likewise.
3174 * gdb.cp/re-set-overloaded.exp: Likewise.
3175 * gdb.fortran/library-module.exp: Likewise.
3176 * gdb.opt/solib-intra-step.exp: Likewise.
3177 * gdb.python/py-finish-breakpoint.exp: Likewise.
3178 * gdb.python/py-shared.exp: Likewise.
3179 * gdb.reverse/solib-precsave.exp: Likewise.
3180 * gdb.reverse/solib-reverse.exp: Likewise.
3181 * gdb.server/solib-list.exp: Likewise.
3182 * gdb.threads/dlopen-libpthread.exp: Likewise.
3183 * gdb.threads/tls-shared.exp: Likewise.
3184 * gdb.threads/tls-so_extern.exp: Likewise.
3185 * gdb.trace/change-loc.exp: Likewise.
3186 * gdb.trace/ftrace-lock.exp: Likewise.
3187 * gdb.trace/ftrace.exp: Likewise.
3188 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
3189 * gdb.trace/pending.exp: Likewise.
3190 * gdb.trace/range-stepping.exp: Likewise.
3191 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
3192 (strace_info_marker): Likewise.
3193 (strace_probe_marker): Likewise.
3194 (strace_trace_on_same_addr): Likewise.
3195 (strace_trace_on_diff_addr): Likewise.
3196 * gdb.trace/trace-break.exp: Likewise.
3197 * gdb.trace/trace-condition.exp: Likewise.
3198 * gdb.trace/trace-mt.exp: Likewise.
3199
3200 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3201
3202 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
3203 result of gdb_remote_download.
3204 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
3205 * gdb.base/dso2dso.exp: Likewise.
3206 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3207 * gdb.base/print-file-var.exp: Likewise.
3208 * gdb.base/shlib-call.exp: Likewise.
3209 * gdb.base/shreloc.exp: Likewise.
3210 * gdb.base/solib-overlap.exp: Likewise.
3211 * gdb.base/solib-weak.exp (do_test): Likewise.
3212 * gdb.base/unload.exp: Likewise.
3213
3214 2016-04-27 Yao Qi <yao.qi@linaro.org>
3215
3216 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
3217 exists.
3218
3219 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3220
3221 * vla-type.exp: Print structure from toplevel.
3222
3223 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3224
3225 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
3226 of dynamic types.
3227 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
3228 of dynamic types.
3229
3230 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3231
3232 * gdb.fortran/vla-type.f90: New file.
3233 * gdb.fortran/vla-type.exp: New file.
3234
3235 2016-04-25 Yao Qi <yao.qi@linaro.org>
3236
3237 * gdb.base/branch-to-self.c: New file.
3238 * gdb.base/branch-to-self.exp: New file.
3239
3240 2016-04-22 Yao Qi <yao.qi@linaro.org>
3241
3242 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
3243 more after $hex.
3244
3245 2016-04-22 Yao Qi <yao.qi@linaro.org>
3246
3247 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
3248 * gdb.base/annota3.exp: Likewise.
3249
3250 2016-04-22 Yao Qi <yao.qi@linaro.org>
3251
3252 * gdb.reverse/step-precsave.exp: Do one step and test program
3253 stops in "callee" and do multiple steps until program goes out
3254 of "callee".
3255 * gdb.reverse/step-reverse.exp: Likewise.
3256
3257 2016-04-22 Yao Qi <yao.qi@linaro.org>
3258
3259 * gdb.trace/signal.exp: Also pass if
3260 $tracepoint_hits($i) > $iterations.
3261
3262 2016-04-22 Yao Qi <yao.qi@linaro.org>
3263
3264 * gdb.trace/signal.c: New file.
3265 * gdb.trace/signal.exp: New file.
3266
3267 2016-04-19 Doug Evans <xdje42@gmail.com>
3268
3269 * gdb.base/bad-file.exp: New file.
3270
3271 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3272
3273 * gdb.dwarf2/implref.exp: New file.
3274
3275 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3276
3277 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
3278 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
3279 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
3280 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
3281 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
3282 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
3283 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
3284 * lib/fortran.exp (fortran_int4): New procedure.
3285 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
3286 (fortran_logical4): Likewise.
3287
3288 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
3289
3290 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
3291
3292 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3293
3294 * lib/compiler.c: Add Intel specific preprocessor macros.
3295 * lib/compiler.cc: Likewise.
3296
3297 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
3298
3299 * gdb.server/connect-with-no-symbol-file.c: New file.
3300 * gdb.server/connect-with-no-symbol-file.exp: New file.
3301
3302 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3303
3304 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3305
3306 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3307
3308 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3309 standard output directory.
3310
3311 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3312
3313 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3314
3315 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3316
3317 * gdb.btrace/instruction_history.c (loop): Add declaration.
3318
3319 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3320
3321 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3322
3323 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3324
3325 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3326 parentheses to print.
3327 (continue_handler): Likewise.
3328
3329 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3330
3331 * gdb.server/solib-list.exp: Remove is_remote check.
3332 Pass shlib= to gdb_compile. Don't link shared library with
3333 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3334 Run binary filename through "readlink -f" on the target.
3335
3336 2016-04-08 Pedro Alves <palves@redhat.com>
3337
3338 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3339 interpreter filename as argument to gdbserver_spawn.
3340 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3341 Return empty if $last_loaded_file does not exist.
3342
3343 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3344
3345 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3346 * gdb.base/jit-main.c: Use exit after usage.
3347
3348 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3349
3350 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3351 GDBHISTSIZE prior to the tests.
3352 * gdb.base/gdbinit-history.exp: Likewise.
3353
3354 2016-04-07 Pedro Alves <palves@redhat.com>
3355
3356 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3357 instead of build_executable. Use gdb_load_shlibs.
3358
3359 2016-04-07 Yao Qi <yao.qi@linaro.org>
3360
3361 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3362 Execute "si" command.
3363
3364 2016-04-07 Yao Qi <yao.qi@linaro.org>
3365
3366 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3367 number instead of the comments on some line.
3368
3369 2016-04-06 Don Breazeal <donb@codesourcery.com>
3370
3371 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3372 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3373
3374 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3375
3376 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3377 standard_output_file. Remove unused binfile variable.
3378
3379 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
3380
3381 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3382 * gdb.python/py-mi-objfile.exp: Match "list main" output
3383 in console format.
3384
3385 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3386
3387 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3388 absolute.
3389
3390 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3391
3392 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
3393 absolute.
3394 * gdb.trace/ftrace.exp: Likewise.
3395 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
3396 targets as well.
3397 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
3398 (gdb_load_shlibs): Copy libraries to test directory when testing
3399 natively. Only set solib-search-path if testing remotely.
3400 * lib/mi-support.exp (mi_load_shlibs): Likewise.
3401
3402 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3403
3404 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
3405 gdb_download. Use it even if the target is not remote.
3406 * gdb.base/jit.exp (compile_jit_test): Likewise.
3407 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
3408 output directory if the destination board is local, otherwise use
3409 the standard remote_download from DejaGnu.
3410 (gdb_download): Remove.
3411 (gdb_load_shlibs): Use gdb_remote_download instead of
3412 gdb_download.
3413 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3414 Use gdb_remote_download instead of gdb_download. Use it even if
3415 the target is not remote.
3416 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
3417 instead of gdb_download.
3418
3419 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
3420
3421 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
3422 (test_insert_delete_modify): Call mi_load_shlibs before trying to
3423 run.
3424
3425 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
3426
3427 PR gdb/19820
3428 * gdb.base/printcmds.exp: Add artificial arrays tests.
3429
3430 2016-03-31 Pedro Alves <palves@redhat.com>
3431
3432 PR gdb/19858
3433 * gdb.base/jit-main.c: Include unistd.h.
3434 (ATTACH): Define to 0 if not already defined.
3435 (wait_for_gdb, mypid): New globals.
3436 (WAIT_FOR_GDB): New macro.
3437 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
3438 some breakpoint locations.
3439 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
3440 New procedures.
3441 (one_jit_test): Add REATTACH parameter, and handle it. Use
3442 continue_to_test_location.
3443 (top level): Test attach, and adjusts calls to one_jit_test.
3444
3445 2016-03-31 Pedro Alves <palves@redhat.com>
3446
3447 PR gdb/19858
3448 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
3449 BINSUFFIX parameter, and handle it.
3450 (top level): Adjust calls compile_jit_test.
3451
3452 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
3453
3454 PR python/19743
3455 * gdb.python/py-mi-events-gdb.py: New file.
3456 * gdb.python/py-mi-events.c: New file.
3457 * gdb.python/py-mi-events.exp: New file.
3458
3459 2016-03-30 Yao Qi <yao.qi@linaro.org>
3460
3461 * gdb.reverse/until-precsave.exp: Match function name only.
3462 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
3463 Move malloc to a condition block.
3464 * gdb.reverse/until-reverse.exp: Match function name only.
3465
3466 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
3467
3468 * gdb.trace/ftrace.exp: Set arg0exp for s390.
3469 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
3470 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
3471 variable for GPR 0 instead of assuming it is register 0.
3472 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
3473 * lib/trace-support.exp: Add s390 registers.
3474
3475 2016-03-29 Yao Qi <yao.qi@linaro.org>
3476
3477 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
3478
3479 2016-03-24 Yao Qi <yao.qi@linaro.org>
3480
3481 * gdb.reverse/break-reverse.exp: Add quotation mark in the
3482 test message.
3483
3484 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3485
3486 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
3487 maintaining separate logic for constructing the output path.
3488
3489 2016-03-16 Don Breazeal <donb@codesourcery.com>
3490
3491 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3492 Retry fork and waitpid on interrupted system call errors.
3493 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3494 Use with_timeout_factor to increase timeout by factor of 10.
3495
3496 2016-03-15 Don Breazeal <donb@codesourcery.com>
3497
3498 * gdb.cp/scope-err.cc: New test program.
3499 * gdb.cp/scope-err.exp: New test script.
3500 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
3501 lines and "set breakpoint here" comment.
3502 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
3503 Fixed some whitespace and format issues.
3504 * gdb.mi/mi-linespec-err-cp.cc: New test program.
3505 * gdb.mi/mi-linespec-err-cp.exp: New test script.
3506
3507 2016-03-15 Doug Evans <dje@google.com>
3508
3509 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
3510 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
3511 All callers updated. Add tests for enums, mixed flags register.
3512
3513 2016-03-15 Doug Evans <dje@google.com>
3514
3515 * gdb.base/skip.c (main): Call test_skip_file_and_function.
3516 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
3517
3518 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
3519
3520 * gdb.base/default.exp: Add $_as_string to the list of expected
3521 convenience functions.
3522
3523 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
3524
3525 * gdb.base/maint.exp: New tests for 'maint info line-table'.
3526
3527 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
3528
3529 * gdb.python/py-as-string.exp: New file.
3530 * gdb.python/py-as-string.c: New file.
3531
3532 2016-03-09 Pedro Alves <palves@redhat.com>
3533
3534 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
3535 signal" -> "Thread NN received signal" output change.
3536 * gdb.threads/ia64-sigill.exp: Likewise.
3537 * gdb.threads/linux-dp.exp: Likewise.
3538 * gdb.threads/manythreads.exp: Likewise.
3539 * gdb.threads/pending-step.exp: Likewise.
3540 * gdb.threads/print-threads.exp: Likewise.
3541 * gdb.threads/sigstep-threads.exp: Likewise.
3542 * gdb.threads/staticthreads.exp: Likewise.
3543 * gdb.threads/tls.exp: Likewise.
3544
3545 2016-03-09 Pedro Alves <palves@redhat.com>
3546
3547 * gdb.base/command-line-input.exp: New file.
3548
3549 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3550
3551 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
3552 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
3553 * gdb.trace/pending.exp: Accept leading dot before function name.
3554 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
3555 * lib/trace-support.exp: Set registers for ppc.
3556
3557 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3558
3559 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
3560 use it for disassembly; accept .main in addition to main in backtrace.
3561
3562 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
3563 Marcin Kościelnicki <koriakin@0x04.net>
3564
3565 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
3566 (gdb_recursion_test_ptr): New global variable.
3567 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
3568 gdb_recursion_test.
3569 (gdb_c_test): Ditto.
3570
3571 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3572
3573 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
3574 ordering.
3575
3576 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3577
3578 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
3579 (bar): Add bar_start_lbl label.
3580 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
3581 of foo/bar for emitting DWARF and tracing.
3582
3583 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
3584
3585 * analyze-racy-logs.py: Set executable bit.
3586
3587 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
3588
3589 * Makefile.in (DEFAULT_RACY_ITER): New variable.
3590 (CHECK_TARGET_TMP): Likewise.
3591 (check-single-racy): New rule.
3592 (check-parallel-racy): Likewise.
3593 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
3594 (do-check-parallel-racy): New rule.
3595 (check-racy/%.exp): Likewise.
3596 * README (Racy testcases): New section.
3597 * analyze-racy-logs.py: New file.
3598
3599 2016-03-03 Doug Evans <dje@google.com>
3600
3601 * gdb.base/skip.exp: Use with_test_prefix.
3602
3603 2016-03-03 Yao Qi <yao.qi@linaro.org>
3604
3605 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
3606 Invoke step_over_syscall "clone" and break_cond_on_syscall
3607 "clone".
3608 * gdb.base/step-over-clone.c: New file.
3609
3610 2016-03-03 Yao Qi <yao.qi@linaro.org>
3611
3612 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
3613 code format.
3614
3615 2016-03-03 Yao Qi <yao.qi@linaro.org>
3616
3617 * gdb.base/disp-step-fork.c: Rename to ...
3618 * gdb.base/step-over-fork.c: ... it. New file.
3619 * gdb.base/disp-step-vfork.c: Rename to ...
3620 * gdb.base/step-over-vfork.c: ... it. New file.
3621 * gdb.base/disp-step-syscall.exp: Rename to ...
3622 * gdb.base/step-over-syscall.exp: ... it. New file.
3623 (disp_step_cross_syscall): Rename to ...
3624 (step_over_syscall): ... it.
3625
3626 2016-03-03 Yao Qi <yao.qi@linaro.org>
3627
3628 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
3629 If target supports condition evaluation on target, invoke
3630 break_cond_on_syscall for fork and vfork.
3631
3632 2016-03-03 Yao Qi <yao.qi@linaro.org>
3633
3634 * gdb.base/disp-step-syscall.exp: Don't invoke
3635 support_displaced_stepping.
3636 (disp_step_cross_syscall): Test with displaced stepping off and
3637 on if supported.
3638
3639 2016-03-03 Yao Qi <yao.qi@linaro.org>
3640
3641 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
3642 proc.
3643 (setup): New proc.
3644 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
3645 and setup.
3646
3647 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3648
3649 * gdb.fortran/vla-history.exp: Remove breakpoint.
3650
3651 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3652
3653 * gdb.fortran/vla-history.exp: Lookup array elements and printing
3654 exceeds timeout.
3655
3656 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3657
3658 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
3659 breakpoint.
3660
3661 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3662
3663 * gdb.mi/vla.f90: Nullify pointer after declaration.
3664
3665 2016-03-01 Pedro Alves <palves@redhat.com>
3666
3667 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
3668
3669 2016-03-01 Pedro Alves <palves@redhat.com>
3670
3671 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
3672 before anything else.
3673 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
3674 _GNU_SOURCE here.
3675 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
3676 before anything else.
3677 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
3678
3679 2016-03-01 Pedro Alves <palves@redhat.com>
3680
3681 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
3682
3683 2016-03-01 Yao Qi <yao.qi@linaro.org>
3684
3685 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
3686 prepare_for_testing.
3687
3688 2016-03-01 Yao Qi <yao.qi@linaro.org>
3689
3690 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
3691
3692 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3693
3694 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
3695 manually constructing the output path.
3696
3697 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3698
3699 * gdb.arch/s390-stackless.S: New.
3700 * gdb.arch/s390-stackless.exp: New.
3701
3702 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
3703
3704 * gdb.dlang/circular.c: New file.
3705 * gdb.dlang/circular.exp: New file.
3706
3707 2016-02-26 Yao Qi <yao.qi@linaro.org>
3708
3709 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
3710 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
3711 (testcases): Update.
3712
3713 2016-02-26 Yao Qi <yao.qi@linaro.org>
3714
3715 * gdb.reverse/aarch64.c: Rename to ...
3716 * gdb.reverse/insn-reverse.c: ... it.
3717 * gdb.reverse/aarch64.exp: Rename to ...
3718 * gdb.reverse/insn-reverse.exp: ... it.
3719
3720 2016-02-26 Yao Qi <yao.qi@linaro.org>
3721
3722 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
3723 (testcase_ftype): New.
3724 (testcases): New array.
3725 (n_testcases): New.
3726 (main): Call each element in testcases.
3727 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
3728 (read_testcase): New.
3729 Do the tests in a loop.
3730
3731 2016-02-25 Yao Qi <yao.qi@linaro.org>
3732
3733 * gdb.base/branches.c: Remove.
3734
3735 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3736
3737 PR gdb/13808
3738 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
3739
3740 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3741
3742 * gdb.trace/ftrace.exp: Remove unnecessary target check.
3743
3744 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3745
3746 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
3747 change x86_64 call_insn to 'callq'.
3748
3749 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3750
3751 * gdb.trace/tfile-avx.c: Move to...
3752 * gdb.trace/tracefile-pseudo-reg.c: Here.
3753 * gdb.trace/tfile-avx.exp: Move to...
3754 * gdb.trace/tracefile-pseudo-reg.exp: Here.
3755
3756 2016-02-24 Gary Benson <gbenson@redhat.com>
3757
3758 * gdb.base/attach-pie-noexec.exp: Do not expect an error
3759 message on attach.
3760
3761 2016-02-23 Doug Evans <dje@google.com>
3762
3763 * gdb.base/skip.c (test_skip): New function.
3764 (end_test_skip_file_and_function): New function.
3765 (test_skip_file_and_function): New function.
3766 * gdb.base/skip1.c (test_skip): New function.
3767 (skip1_test_skip_file_and_function): New function.
3768 * gdb.base/skip.exp: Add tests for new skip options.
3769 * gdb.base/skip-solib.exp: Update expected output.
3770 * gdb.perf/skip-command.cc: New file.
3771 * gdb.perf/skip-command.exp: New file.
3772 * gdb.perf/skip-command.py: New file.
3773
3774 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
3775
3776 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
3777 info registers pattern.
3778
3779 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
3780
3781 * lib/future.exp: Add D support.
3782 (gdb_find_gdc): New proc.
3783 (gdb_default_target_compile): Add D support.
3784
3785 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
3786
3787 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
3788 user+system time.
3789 (trace_speed_test): Determine the iteration count for a time
3790 between 15..30 seconds.
3791
3792 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
3793
3794 * gdb.arch/i386-mpx-sigsegv.c: New file.
3795 * gdb.arch/i386-mpx-sigsegv.exp: New file.
3796 * gdb.arch/i386-mpx-simple_segv.c: New file.
3797 * gdb.arch/i386-mpx-simple_segv.exp: New file.
3798
3799 2016-02-18 Yao Qi <yao.qi@linaro.org>
3800
3801 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3802 Don't call setup_kfail.
3803
3804 2016-02-18 Yao Qi <yao.qi@linaro.org>
3805
3806 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3807 Set "set breakpoint condition-evaluation" per $cond_bp_target.
3808
3809 2016-02-16 Doug Evans <dje@google.com>
3810
3811 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
3812 * gdb.base/skip1.c: Ditto.
3813 * gdb.base/skip.exp: Whitespace cleanup.
3814
3815 2016-02-16 Don Breazeal <donb@codesourcery.com>
3816
3817 PR remote/19496
3818 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3819 Remove kfail for PR remote/19496.
3820
3821 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3822
3823 * lib/gdb.exp (standard_temp_file): Return a path specific to
3824 the runtest invocation.
3825
3826 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3827
3828 * gdb.trace/save-trace.exp: Change relative path to be in the
3829 standard output directory.
3830
3831 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3832
3833 * gdb.arch/i386-prologue.c: Add missing prototypes.
3834
3835 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3836
3837 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
3838 * gdb.arch/i386-prologue.exp: Likewise.
3839 * gdb.arch/i386-size.exp: Likewise.
3840
3841 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
3842
3843 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
3844 define object file path.
3845 * gdb.btrace/gcore.exp: Use standard_output_file to define core
3846 file path.
3847 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
3848 standard_output_file to define binfile.
3849
3850 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3851
3852 Fix compatibility with recent gfortran-5.3.1.
3853 * gdb.fortran/vla-history.exp (print vla1 allocated)
3854 (print vla2 allocated, print $2, print $3): Remove
3855 (print $4): Rename to ...
3856 (print $2): ... here.
3857 (print $9): Rename to ...
3858 (print $5): ... here.
3859 (print $10): Rename to ...
3860 (print $6): ... here.
3861 * gdb.fortran/vla.f90: Add pvla initialization.
3862
3863 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3864
3865 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
3866 New test.
3867 * gdb.fortran/vla-value-sub.exp: Likewise.
3868
3869 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
3870
3871 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
3872
3873 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
3874
3875 * i386-biarch-core.exp: Define corefile using
3876 standard_output_file.
3877
3878 2016-02-12 Yao Qi <yao.qi@linaro.org>
3879
3880 * gdb.arch/arm-single-step-kernel-helper.c: New.
3881 * gdb.arch/arm-single-step-kernel-helper.exp: New.
3882
3883 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
3884
3885 * gdb.btrace/tailcall-only.exp: New.
3886 * gdb.btrace/tailcall-only.c: New.
3887 * gdb.btrace/x86_64-tailcall-only.S: New.
3888 * gdb.btrace/i686-tailcall-only.S: New.
3889
3890 2016-02-11 Pedro Alves <palves@redhat.com>
3891
3892 * README (Parallel testing): Add missing double quotes.
3893
3894 2016-02-11 Pedro Alves <palves@redhat.com>
3895
3896 * README (Parallel testing): New section.
3897 (GDB_PARALLEL): Rewrite.
3898 (FORCE_PARALLEL): Document.
3899
3900 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
3901
3902 * gdb.trace/tfile-avx.c: New test.
3903 * gdb.trace/tfile-avx.exp: New test.
3904
3905 2016-02-09 Keith Seitz <keiths@redhat.com>
3906
3907 PR breakpoints/19546
3908 * gdb.base/infcall-exec.c: New file.
3909 * gdb.base/infcall-exec2.c: New file.
3910 * gdb.base/infcall-exec.exp: New file.
3911
3912 2016-02-09 Keith Seitz <keiths@redhat.com>
3913
3914 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
3915 (toplevel): Call test_bkpt_address.
3916
3917 2016-02-09 Keith Seitz <keiths@redhat.com>
3918
3919 PR python/19506
3920 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
3921 (toplevel): Call test_bkpt_address.
3922
3923 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
3924
3925 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
3926 to AC_OUTPUT.
3927 * configure: Regenerate.
3928
3929 2016-02-09 Pedro Alves <palves@redhat.com>
3930
3931 PR breakpoints/19548
3932 * gdb.base/execl-update-breakpoints.c (some_function): New
3933 function.
3934 (main): Call it.
3935 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
3936 Tighten expected GDB output.
3937
3938 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3939
3940 * Makefile.in (ALL_SUBDIRS): Remove.
3941 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
3942 (distclean maintainer-clean realclean): Likewise.
3943 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
3944 * configure: Regenerate.
3945 * gdb.ada/Makefile.in: Delete.
3946 * gdb.arch/Makefile.in: Likewise.
3947 * gdb.asm/Makefile.in: Likewise.
3948 * gdb.base/Makefile.in: Likewise.
3949 * gdb.btrace/Makefile.in: Likewise.
3950 * gdb.cell/Makefile.in: Likewise.
3951 * gdb.compile/Makefile.in: Likewise.
3952 * gdb.cp/Makefile.in: Likewise.
3953 * gdb.disasm/Makefile.in: Likewise.
3954 * gdb.dlang/Makefile.in: Likewise.
3955 * gdb.dwarf2/Makefile.in: Likewise.
3956 * gdb.fortran/Makefile.in: Likewise.
3957 * gdb.gdb/Makefile.in: Likewise.
3958 * gdb.go/Makefile.in: Likewise.
3959 * gdb.guile/Makefile.in: Likewise.
3960 * gdb.java/Makefile.in: Likewise.
3961 * gdb.linespec/Makefile.in: Likewise.
3962 * gdb.mi/Makefile.in: Likewise.
3963 * gdb.modula2/Makefile.in: Likewise.
3964 * gdb.multi/Makefile.in: Likewise.
3965 * gdb.objc/Makefile.in: Likewise.
3966 * gdb.opencl/Makefile.in: Likewise.
3967 * gdb.opt/Makefile.in: Likewise.
3968 * gdb.pascal/Makefile.in: Likewise.
3969 * gdb.perf/Makefile.in: Likewise.
3970 * gdb.python/Makefile.in: Likewise.
3971 * gdb.reverse/Makefile.in: Likewise.
3972 * gdb.server/Makefile.in: Likewise.
3973 * gdb.stabs/Makefile.in: Likewise.
3974 * gdb.threads/Makefile.in: Likewise.
3975 * gdb.trace/Makefile.in: Likewise.
3976 * gdb.xml/Makefile.in: Likewise.
3977 * lib/gdb.exp (make_gdb_parallel_path): Add check for
3978 GDB_PARALLEL.
3979 (standard_output_file): Remove check for GDB_PARALLEL, always
3980 return path in outputs/$subdir/$testname.
3981
3982 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3983
3984 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
3985 (site.exp): Assign abs_srcdir to tcl's srcdir.
3986
3987 2016-02-04 Yao Qi <yao.qi@linaro.org>
3988
3989 * gdb.base/foll-exec-mode.c: Include limits.h.
3990 (main): Add parameters argc and argv. Get directory from
3991 argv[0].
3992 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
3993 compilation.
3994 * gdb.base/foll-exec.c: Include limits.h.
3995 (main): Add parameters argc and argv.
3996 Get directory from argv[0].
3997 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
3998 Adjust tests on the number of lines as source code changed.
3999 * gdb.base/foll-vfork-exit.c: Include limits.h.
4000 (main): Add one line of statement before vfork.
4001 * gdb.base/foll-vfork.c: Include limits.h and string.h.
4002 (main): Add parameters argc and argv. Get directory from
4003 argv[0].
4004 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
4005 (setup_gdb): Set tbreak to skip some source lines.
4006 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
4007 (main): Add parameters argc and argv. Get directory from
4008 argv[0].
4009 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
4010 compilation.
4011 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
4012 (main): Add parameters argc and argv. Get directory from
4013 argv[0].
4014 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
4015 compilation.
4016
4017 2016-02-01 Doug Evans <dje@google.com>
4018
4019 * gdb.base/skip.exp: Clean up multiple references to same test name.
4020
4021 2016-02-01 Pedro Alves <palves@redhat.com>
4022
4023 PR remote/19496
4024 * gdb.threads/forking-threads-plus-breakpoint.exp
4025 (displaced_stepping_supported): New global.
4026 (probe_displaced_stepping_support): New procedure.
4027 (do_test): Add 'displaced' parameter, and use it.
4028 (top level): Check for displaced stepping support. Add displaced
4029 stepping on/off testing axis.
4030
4031 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4032
4033 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
4034 pointer. Don't perform further tests on the unassociated pointer
4035 if the first test fails.
4036
4037 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4038
4039 * gdb.base/max-value-size.c: New file.
4040 * gdb.base/max-value-size.exp: New file.
4041 * gdb.base/huge.exp: Disable max-value-size for this test.
4042
4043 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
4044
4045 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4046
4047 2016-01-28 Yao Qi <yao.qi@linaro.org>
4048
4049 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
4050
4051 2016-01-25 Pedro Alves <palves@redhat.com>
4052
4053 PR threads/19461
4054 * gdb.base/fork-running-state.c: New file.
4055 * gdb.base/fork-running-state.exp: New file.
4056
4057 2016-01-25 Pedro Alves <palves@redhat.com>
4058
4059 PR gdb/19494
4060 * gdb.base/catch-fork-kill.c: New file.
4061 * gdb.base/catch-fork-kill.exp: New file.
4062
4063 2016-01-25 Pedro Alves <palves@redhat.com>
4064
4065 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
4066 Delete, moved to lib/gdb.exp.
4067 * gdb.threads/forking-threads-plus-breakpoint.exp
4068 (foreach_with_prefix): Likewise.
4069 * gdb.threads/process-dies-while-handling-bp.exp
4070 (foreach_with_prefix): Likewise.
4071 * lib/gdb.exp (foreach_with_prefix): New procedure.
4072
4073 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
4074
4075 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
4076 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
4077
4078 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
4079
4080 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
4081 endian targets.
4082
4083 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4084 Pedro Alves <palves@redhat.com>
4085
4086 Fix testsuite compatibility with Guile.
4087 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
4088 number.
4089
4090 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4091
4092 Fix testsuite compatibility with Guile.
4093 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
4094 (thread 1): New test for backtrace through signal handler.
4095
4096 2016-01-22 Yao Qi <yao.qi@linaro.org>
4097
4098 PR testsuite/19491
4099 * gdb.base/multi-forks.c: Include
4100 ../lib/unbuffer_output.c
4101 (main): Call gdb_unbuffer_output.
4102
4103 2016-01-21 Doug Evans <dje@google.com>
4104
4105 * lib/ada.exp (gdb_compile_ada): Fix typo.
4106
4107 2016-01-21 Joel Brobecker <brobecker@adacore.com>
4108
4109 * gdb.base/break-fun-addr.exp: New file.
4110 * gdb.base/break-fun-addr1.c: New file.
4111 * gdb.base/break-fun-addr2.c: New file.
4112
4113 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
4114
4115 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
4116 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
4117 enum flag values.
4118
4119 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4120
4121 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
4122 when GDB can not set the vector return value. Add more comments
4123 for clarification.
4124
4125 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
4126
4127 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
4128 command.
4129
4130 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4131
4132 * Makefile.in (DO_RUNTEST): Add --status and update usages.
4133
4134 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4135
4136 * Makefile.in (check-single): Pass --status to runtest.
4137 (check/%.exp): Likewise.
4138
4139 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4140
4141 * Makefile.in (check-parallel): Propagate return code from make
4142 do-check-parallel.
4143
4144 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
4145
4146 * gdb.trace/ftrace.exp: Fix expected message on continue.
4147 * gdb.trace/pending.exp: Fix expected message on continue.
4148 * gdb.trace/trace-break.exp: Fix expected message on continue.
4149
4150 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
4151
4152 * lib/gdb.exp (gdb_test): Remove unused global references.
4153
4154 2016-01-18 Pedro Alves <palves@redhat.com>
4155
4156 * gdb.base/async-shell.exp: Adjust expected output.
4157 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
4158 * gdb.base/siginfo-thread.exp: Adjust expected output.
4159 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
4160 * gdb.java/jnpe.exp: Adjust expected output.
4161 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
4162 * gdb.threads/continue-pending-status.exp: Adjust expected output.
4163 * gdb.threads/leader-exit.exp: Adjust expected output.
4164 * gdb.threads/manythreads.exp: Adjust expected output.
4165 * gdb.threads/pthreads.exp: Adjust expected output.
4166 * gdb.threads/schedlock.exp: Adjust expected output.
4167 * gdb.threads/siginfo-threads.exp: Adjust expected output.
4168 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
4169 expected output.
4170 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
4171 output.
4172 * gdb.threads/sigthread.exp: Adjust expected output.
4173 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
4174
4175 2016-01-18 Yao Qi <yao.qi@linaro.org>
4176
4177 * gdb.guile/scm-section-script.c: Replace @progbits with
4178 %progbits.
4179 * gdb.python/py-section-script.c: Likewise.
4180
4181 2016-01-15 Pedro Alves <palves@redhat.com>
4182
4183 * gdb.multi/tids.exp: Test star wildcard ranges.
4184
4185 2016-01-15 Pedro Alves <palves@redhat.com>
4186
4187 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4188 command from "thread apply" invocation.
4189 (thr_apply_info_thr_invalid): Default the expected output to the
4190 input tid list.
4191 (top level): Add tests that use convenience variables. Add tests
4192 for "thread apply" with a valid TID list, but missing the command.
4193
4194 2016-01-13 Pedro Alves <palves@redhat.com>
4195
4196 * gdb.base/default.exp: Expect $_gthread as well.
4197 * gdb.multi/tids.exp: Test $_gthread.
4198 * gdb.threads/thread-specific.exp: Test $_gthread.
4199
4200 2016-01-13 Pedro Alves <palves@redhat.com>
4201
4202 * gdb.multi/tids.exp: Test "info threads -gid".
4203
4204 2016-01-13 Pedro Alves <palves@redhat.com>
4205
4206 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4207 Breakpoint.thread.
4208 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
4209
4210 2016-01-07 Pedro Alves <palves@redhat.com>
4211
4212 * gdb.base/break.exp: Adjust to output changes.
4213 * gdb.base/hbreak2.exp: Likewise.
4214 * gdb.base/sepdebug.exp: Likewise.
4215 * gdb.base/watch_thread_num.exp: Likewise.
4216 * gdb.linespec/keywords.exp: Likewise.
4217 * gdb.multi/info-threads.exp: Likewise.
4218 * gdb.threads/thread-find.exp: Likewise.
4219 * gdb.multi/tids.c: New file.
4220 * gdb.multi/tids.exp: New file.
4221
4222 2016-01-13 Pedro Alves <palves@redhat.com>
4223
4224 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
4225
4226 2016-01-13 Pedro Alves <palves@redhat.com>
4227
4228 * gdb.base/default.exp: Expect $_inferior as well.
4229 * gdb.multi/base.exp: Test $_inferior.
4230
4231 2016-01-13 Pedro Alves <palves@redhat.com>
4232
4233 PR breakpoints/19388
4234 * gdb.base/catch-signal-siginfo-cond.c: New file.
4235 * gdb.base/catch-signal-siginfo-cond.exp: New file.
4236
4237 2016-01-12 Josh Stone <jistone@redhat.com>
4238 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4239
4240 * gdb.base/catch-syscall.c (do_execve): New variable.
4241 (main): Conditionally trigger an execve.
4242 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
4243 (test_catch_syscall_execve): New, check entry/return across execve.
4244 (do_syscall_tests): Call test_catch_syscall_execve.
4245
4246 2016-01-12 Pedro Alves <palves@redhat.com>
4247
4248 * gdb.base/random-signal.exp (do_test): New procedure, with body
4249 of testcase moved in.
4250
4251 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4252 Pedro Alves <palves@redhat.com>
4253
4254 * gdb.base/funcargs.exp (finish from indirectly called function):
4255 Reintroduce the case for 'First'.
4256
4257 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4258 Pedro Alves <palves@redhat.com>
4259
4260 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4261 (tcatch_vfork_then_child_follow_exec)
4262 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
4263 identification.
4264
4265 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4266
4267 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
4268 and repeats to unlimited.
4269 * gdb.python/py-value.exp: Likewise.
4270 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
4271 and repeats to unlimited.
4272
4273 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4274
4275 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
4276 and reordering the functions.
4277 * gdb.multi/hangout.c: Likewise.
4278 * gdb.multi/hello.c: Likewise.
4279
4280 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
4281
4282 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
4283 absolute.
4284 (SingleStatisticTestResult.report): Use dict.keys instead of
4285 dict.iterkeys.
4286
4287 2016-01-06 Pedro Alves <palves@redhat.com>
4288
4289 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
4290
4291 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
4292
4293 * gdb.btrace/dlopen.exp: New.
4294 * gdb.btrace/dlopen.c: New.
4295 * gdb.btrace/dlopen-dso.c: New.
4296
4297 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
4298
4299 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4300 PATTERN argument is optional.
4301
4302 2015-12-24 Joel Brobecker <brobecker@adacore.com>
4303
4304 * lib/ada.exp (target_compile_ada_from_dir): New function.
4305 (gdb_compile_ada): Reimplement avoiding the use of project files.
4306 * gdb.ada/gnat_ada.gpr: Delete.
4307 * gdb.ada/cond_lang.exp: Adjust test to make path before
4308 filename optional.
4309 * gdb.ada/small_reg_param.exp: Likewise.
4310
4311 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4312
4313 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4314
4315 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4316
4317 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4318 case.
4319
4320 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4321
4322 * gdb.base/break.exp: Remove dead code.
4323 * gdb.base/sepdebug.exp: Likewise.
4324
4325 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4326
4327 * gdb.asm/asm-source.exp: Remove HP-UX references.
4328 * gdb.base/annota1.exp: Likewise.
4329 * gdb.base/annota3.exp: Likewise.
4330 * gdb.base/attach.exp: Likewise.
4331 * gdb.base/bigcore.exp: Likewise.
4332 * gdb.base/break.exp: Likewise.
4333 * gdb.base/call-ar-st.exp: Likewise.
4334 * gdb.base/callfuncs.exp: Likewise.
4335 * gdb.base/catch-fork-static.exp: Likewise.
4336 * gdb.base/display.exp: Likewise.
4337 * gdb.base/foll-exec-mode.exp: Likewise.
4338 * gdb.base/foll-exec.exp: Likewise.
4339 * gdb.base/foll-fork.exp: Likewise.
4340 * gdb.base/foll-vfork.exp: Likewise.
4341 * gdb.base/funcargs.exp: Likewise.
4342 * gdb.base/hbreak2.exp: Likewise.
4343 * gdb.base/inferior-died.exp: Likewise.
4344 * gdb.base/interrupt.exp: Likewise.
4345 * gdb.base/multi-forks.exp: Likewise.
4346 * gdb.base/nodebug.exp: Likewise.
4347 * gdb.base/sepdebug.exp: Likewise.
4348 * gdb.base/solib1.c: Likewise.
4349 * gdb.base/step-test.exp: Likewise.
4350 * gdb.mi/non-stop.c: Likewise.
4351 * gdb.mi/pthreads.c: Likewise.
4352 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4353 * gdb.threads/pthreads.c: Likewise.
4354 * gdb.threads/staticthreads.exp: Likewise.
4355 * lib/future.exp: Likewise.
4356 * lib/gdb.exp: Likewise.
4357 * gdb.base/so-indr-cl.c: Remove.
4358 * gdb.base/so-indr-cl.exp: Likewise.
4359 * gdb.base/solib.c: Likewise.
4360 * gdb.base/solib.exp: Likewise.
4361 * gdb.base/solib2.c: Likewise.
4362
4363 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4364
4365 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4366 * gdb.base/call-ar-st.exp: Likewise.
4367 * gdb.base/callfuncs.exp: Likewise.
4368 * gdb.base/condbreak.exp: Likewise.
4369 * gdb.base/constvars.exp: Likewise.
4370 * gdb.base/hbreak2.exp: Likewise.
4371 * gdb.base/langs.exp: Likewise.
4372 * gdb.base/list.exp: Likewise.
4373 * gdb.base/long_long.exp: Likewise.
4374 * gdb.base/ptype.exp: Likewise.
4375 * gdb.base/scope.exp: Likewise.
4376 * gdb.base/signals.exp: Likewise.
4377 * gdb.base/so-impl-ld.exp: Likewise.
4378 * gdb.base/varargs.exp: Likewise.
4379 * gdb.base/volatile.exp: Likewise.
4380 * gdb.base/whatis.exp: Likewise.
4381 * gdb.cp/cplusfuncs.exp: Likewise.
4382 * gdb.cp/inherit.exp: Likewise.
4383 * gdb.cp/local.exp: Likewise.
4384 * gdb.cp/member-ptr.exp: Likewise.
4385 * gdb.cp/method.exp: Likewise.
4386 * gdb.cp/overload.exp: Likewise.
4387 * gdb.cp/templates.exp: Likewise.
4388 * gdb.stabs/weird.exp: Likewise.
4389 * lib/compiler.c: Likewise.
4390 * lib/compiler.cc: Likewise.
4391 * lib/cp-support.exp: Likewise.
4392 * lib/gdb.exp: Likewise.
4393
4394 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
4395
4396 * configure.ac: Remove HP-UX case.
4397 * configure: Regenerate.
4398
4399 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
4400
4401 * lib/gdb.exp (gdb_compile): Add function doc.
4402
4403 2015-12-17 Pedro Alves <palves@redhat.com>
4404
4405 PR threads/19354
4406 * gdb.multi/info-threads.exp: New file.
4407
4408 2015-12-15 Yao Qi <yao.qi@linaro.org>
4409
4410 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
4411 is aarch64*-*-*.
4412
4413 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4414
4415 * gdb.base/history-duplicates.exp: Skip if no readline support.
4416
4417 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4418
4419 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
4420
4421 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4422
4423 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
4424
4425 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4426
4427 * gdb.base/completion.exp: Skip tests that interrupt GDB with
4428 ctrl-C if nointerrupts target property is set.
4429 * gdb.base/double-prompt-target-event-error.exp: Likewise.
4430 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
4431 * gdb.base/paginate-bg-execution.exp: Likewise.
4432 * gdb.base/paginate-execution-startup.exp: Likewise.
4433 * gdb.base/random-signal.exp: Likewise.
4434 * gdb.base/range-stepping.exp: Likewise.
4435 * gdb.cp/annota2.exp: Likewise.
4436 * gdb.cp/annota3.exp: Likewise.
4437 * gdb.gdb/selftest.exp: Likewise.
4438 * gdb.threads/continue-pending-status.exp: Likewise.
4439 * gdb.threads/leader-exit.exp: Likewise.
4440 * gdb.threads/manythreads.exp: Likewise.
4441 * gdb.threads/pthreads.exp: Likewise.
4442 * gdb.threads/schedlock.exp: Likewise.
4443 * gdb.threads/sigthread.exp: Likewise.
4444
4445 2015-12-11 Don Breazeal <donb@codesourcery.com>
4446
4447 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
4448 remote.
4449 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
4450 * gdb.base/foll-exec.exp (main): Enable for target remote.
4451 * gdb.base/foll-fork.exp (main): Likewise.
4452 * gdb.base/foll-vfork.exp (main): Likewise.
4453 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
4454 (proc continue_to_exit_bp_loc): Use clean_restart.
4455 * gdb.base/pie-execl.exp (main): Disable for target remote.
4456 * gdb.base/watch-vfork.exp (main): Enable for target remote.
4457 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
4458 * gdb.threads/execl.exp (main): Likewise.
4459 * gdb.threads/fork-child-threads.exp (main): Likewise.
4460 * gdb.threads/fork-plus-threads.exp (main): Disable for target
4461 remote.
4462 * gdb.threads/fork-thread-pending.exp (main): Enable for target
4463 remote.
4464 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
4465 pid.tid style ptids, instead of just tid.
4466 * gdb.threads/thread-execl.exp (main): Enable for target remote.
4467 * gdb.threads/watchpoint-fork.exp (main): Likewise.
4468 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
4469 ptids, instead of just tid.
4470
4471 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4472
4473 * gdb.base/list.exp (test_list_forward): Add end of file error
4474 test.
4475 (test_repeat_list_command): Add end of file error test.
4476 (test_list_backwards): Add beginning of file error test.
4477
4478 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4479
4480 * gdb.base/list.exp (test_list_invalid_args): New function,
4481 defined, and called.
4482
4483 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4484
4485 * gdb.base/list.exp (test_list): Make test names unique.
4486
4487 2015-12-11 Yao Qi <yao.qi@linaro.org>
4488
4489 * gdb.base/coremaker2.c: Remove.
4490
4491 2015-12-10 Pedro Alves <palves@redhat.com>
4492
4493 * gdb.multi/base.exp: Remove stale "spaces" references.
4494
4495 2015-12-10 Pedro Alves <palves@redhat.com>
4496
4497 * gdb.multi/base.exp: Don't use nowarnings.
4498 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
4499 * gdb.multi/hangout.c: Include stdio.h.
4500 * gdb.multi/hello.c: Include stdlib.h.
4501 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
4502 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
4503 * gdb.multi/multi-arch.exp: Don't use nowarnings.
4504
4505 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
4506
4507 * gdb.dwarf2/dw2-ranges-base.c: New file.
4508 * gdb.dwarf2/dw2-ranges-base.exp: New file.
4509 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
4510 support additional line table, and debug ranges generation.
4511 (Dwarf::ranges): New function, generate .debug_ranges.
4512 (Dwarf::lines): Support generating simple line table programs.
4513 (Dwarf::assemble): Initialise new namespace variables.
4514
4515 2015-12-09 Kevin Buettner <kevinb@redhat.com>
4516
4517 * gdb.base/async.exp (proc test_background): Add case for
4518 asynchronous execution not supported.
4519
4520 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
4521
4522 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
4523 format and change test names to make them unique.
4524
4525 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
4526 Pedro Alves <pedro@redhat.com>
4527
4528 PR gdb/18702
4529 Add checking of floatformats setup on x86_64 hosts.
4530 * gdb.arch/i386-float.S (main): Load bigval and smallval.
4531 (smallval, bigval): New labels/constants.
4532 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
4533 float" after loading bigval and smallval.
4534
4535 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
4536
4537 * gdb.ada/fun_overload_menu.exp: New testcase.
4538 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
4539
4540 2015-12-04 Josh Stone <jistone@redhat.com>
4541
4542 * gdb.base/catch-fork-static.exp: New.
4543
4544 2015-12-03 Yao Qi <yao.qi@linaro.org>
4545
4546 * gdb.base/sizeof.c: Don't include stdio.h and
4547 ../lib/unbuffer_output.c.
4548 (main): New variable 'size' and 'value'. Remove printf and
4549 gdb_unbuffer_output. Assign return value to size and value.
4550 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
4551 at the beginning.
4552 (check_sizeof): Check the result by printing variable 'size'.
4553 (check_valueof): Check the result by printing variable 'value'.
4554
4555 2015-12-01 Yao Qi <yao.qi@linaro.org>
4556
4557 * gdb.base/disp-step-syscall.exp: Define syscall instruction
4558 for aarch64*-*-linux* target.
4559
4560 2015-11-30 Pedro Alves <palves@redhat.com>
4561
4562 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
4563
4564 2015-11-30 Pedro Alves <palves@redhat.com>
4565
4566 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
4567 Handle non-stop mode vCont replies.
4568
4569 2015-11-30 Pedro Alves <palves@redhat.com>
4570
4571 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
4572 prepare_for_testing. Start gdb with "set non-stop on" appended to
4573 GDBFLAGS. Lax expected stop output.
4574
4575 2015-11-27 Yao Qi <yao.qi@linaro.org>
4576
4577 * gdb.arch/arm-neon.exp: New.
4578 * gdb.arch/arm-neon.c: New.
4579
4580 2015-11-27 Yao Qi <yao.qi@linaro.org>
4581
4582 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
4583
4584 2015-11-27 Yao Qi <yao.qi@linaro.org>
4585
4586 * gdb.cp/annota2.exp: Allow multiple occurrences of the
4587 frames-invalid annotation.
4588
4589 2015-11-27 Yao Qi <yao.qi@linaro.org>
4590
4591 * gdb.cp/annota2.exp: Use ${frames_invalid}.
4592
4593 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
4594
4595 * gdb.threads/names.exp: New file.
4596 * gdb.threads/names.c: New file.
4597 * README: Mention gdb,no_thread_names.
4598
4599 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
4600
4601 PR 19297
4602 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
4603 support" error.
4604
4605 2015-11-24 Pedro Alves <palves@redhat.com>
4606
4607 PR 17539
4608 * gdb.base/display.exp: Expect displays to be sorted in ascending
4609 order. Use multi_line.
4610 * gdb.base/solib-display.exp: Likewise.
4611
4612 2015-11-24 Pedro Alves <palves@redhat.com>
4613
4614 PR 17539
4615 * gdb.base/display.exp: Expect displays to be sorted in ascending
4616 order. Use multi_line.
4617 * gdb.base/solib-display.exp: Likewise.
4618
4619 2015-11-24 Pedro Alves <palves@redhat.com>
4620
4621 PR 17539
4622 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
4623 threads in ascending order.
4624 * gdb.base/foll-fork.exp: Likewise.
4625 * gdb.base/foll-vfork.exp: Likewise.
4626 * gdb.base/multi-forks.exp: Likewise.
4627 * gdb.mi/mi-nonstop.exp: Likewise.
4628 * gdb.mi/mi-nsintrall.exp: Likewise.
4629 * gdb.multi/base.exp: Likewise.
4630 * gdb.multi/multi-arch.exp: Likewise.
4631 * gdb.python/py-inferior.exp: Likewise.
4632 * gdb.threads/break-while-running.exp: Likewise.
4633 * gdb.threads/execl.exp: Likewise.
4634 * gdb.threads/gcore-thread.exp: Likewise.
4635 * gdb.threads/info-threads-cur-sal.exp: Likewise.
4636 * gdb.threads/kill.exp: Likewise.
4637 * gdb.threads/linux-dp.exp: Likewise.
4638 * gdb.threads/multiple-step-overs.exp: Likewise.
4639 * gdb.threads/next-bp-other-thread.exp: Likewise.
4640 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
4641 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
4642 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
4643 * gdb.threads/thread-find.exp: Likewise.
4644 * gdb.threads/tls.exp: Likewise.
4645 * lib/mi-support.exp (mi_reverse_list): Delete.
4646 (mi_check_thread_states): No longer reverse list.
4647
4648 2015-11-24 Pedro Alves <palves@redhat.com>
4649
4650 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
4651 use lowercase.
4652
4653 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4654
4655 * gdb.trace/actions.c: Include trace-common.h.
4656 (main): Add a location for a fast tracepoint.
4657 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
4658 the normal tracepoints.
4659 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
4660
4661 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4662
4663 * save-trace.exp: Factor out code to these...
4664 (gdb_save_tracepoints): New.
4665 (gdb_load_tracepoints): New.
4666 (do_save_load_test): New.
4667
4668 2015-11-23 Kevin Buettner <kevinb@redhat.com>
4669
4670 * gdb.base/asmlabel.exp: New test.
4671 * gdb.base/asmlabel.c: New test case.
4672
4673 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4674
4675 * gdb.base/wrong_frame_bt_full-main.c: New file.
4676 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
4677 * gdb.base/wrong_frame_bt_full.exp: New file.
4678
4679 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4680
4681 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
4682
4683 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4684
4685 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
4686 pstate register when comparing registers values in
4687 sparc64-*-linux-gnu targets to avoid spurious differences.
4688
4689 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4690
4691 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
4692
4693 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
4694
4695 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
4696 as type argument to gdb_compile.
4697 * gdb.base/nested-subp2.exp: Likewise.
4698 * gdb.base/nested-subp3.exp: Likewise.
4699
4700 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
4701
4702 * lib/dwarf.exp (_note): Fix left shift of negative value.
4703 * gdb.trace/trace-condition.exp: Likewise.
4704
4705 2015-11-13 Yao Qi <yao.qi@linaro.org>
4706
4707 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
4708 comments about d10v.
4709 (test_scalar_returns): Likewise.
4710 * gdb.base/d10v.ld: Remove.
4711 * gdb.base/overlays.exp: Remove the target triplet checking for
4712 d10v-*-*.
4713 * gdb.base/structs.exp (test_struct_returns): Remove the
4714 comments about d10v.
4715 (test_struct_calls): Likewise.
4716
4717 2015-11-13 Yao Qi <yao.qi@linaro.org>
4718
4719 * gdb.base/gnu_vector.exp: Check the return value by "p res".
4720 * gdb.base/gnu_vector.c: Don't include stdio.h.
4721 (main): Don't print res and call add_some_intvecs.
4722
4723 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
4724
4725 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
4726 macro.
4727 (func5): Removed.
4728 (func4): Use FAST_TRACEPOINT_LABEL.
4729 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
4730 macro.
4731 (func): Removed.
4732 (thread_function): Use FAST_TRACEPOINT_LABEL.
4733 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
4734 (func): Remove.
4735 (marker): Use FAST_TRACEPOINT_LABEL.
4736 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
4737 (pendfunc1): Remove.
4738 (pendfunc): Use FAST_TRACEPOINT_LABEL.
4739 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
4740 (foo): Remove.
4741 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
4742 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
4743 macro.
4744 (func): Remove.
4745 (marker): Use FAST_TRACEPOINT_LABEL.
4746 * gdb.trace/trace-common.h: New header.
4747 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
4748 macro.
4749 (func): Remove.
4750 (marker): Use FAST_TRACEPOINT_LABEL.
4751 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
4752 (func): Remove.
4753 (thread_function): Use FAST_TRACEPOINT_LABEL.
4754
4755 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
4756
4757 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
4758 in front.
4759 * gdb.trace/change-loc.exp: Use global pcreg definition.
4760 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
4761 * gdb.trace/entry-values.exp: Use global spreg definition, add $
4762 in front.
4763 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
4764 * gdb.trace/pending.exp: Likewise.
4765 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
4766 * gdb.trace/trace-break.exp: Likewise.
4767 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
4768 in front.
4769 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
4770 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
4771 in front.
4772 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
4773
4774 2015-11-09 Joel Brobecker <brobecker@adacore.com>
4775
4776 * gdb.ada/fin_fun_out: New testcase.
4777
4778 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4779
4780 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
4781 value associated with DW_AT_byte_size.
4782 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
4783 constants for DW_AT_byte_size, DW_AT_lower_bound, and
4784 DW_AT_upper_bound.
4785
4786 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4787
4788 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
4789 (gdb_target_symbol_prefix_flags): Define in terms of _asm
4790 version.
4791 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
4792 gdb.dwarf2/dw2-canonicalize-type.exp,
4793 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
4794 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
4795 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
4796 provided by gdb_target_symbol_prefix_flags_asm.
4797 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
4798 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
4799 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
4800 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
4801 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
4802 macros where needed). Use this macro for symbols which require
4803 the prefix provided by SYMBOL_PREFIX.
4804
4805 2015-11-05 Kevin Buettner <kevinb@redhat.com>
4806
4807 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
4808 New procs.
4809 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
4810 representing expressions, of more than one list element.
4811 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
4812 to prepend linker symbol prefix to f.
4813 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
4814 table_1 and table_2.
4815 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
4816 Likewise, for f and g.
4817 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
4818 for ptr.
4819 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
4820 for main.
4821 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
4822 table_1_ptr and table_2_ptr.
4823
4824 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4825 Joel Brobecker <brobecker@adacore.com>
4826
4827 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
4828
4829 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
4830
4831 * gdb.reverse/s390-mvcle.c: New test.
4832 * gdb.reverse/s390-mvcle.exp: New file.
4833 * lib/gdb.exp: Enable reverse tests on s390*-linux.
4834
4835 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4836
4837 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
4838
4839 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4840
4841 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
4842 reaching marker2.
4843 * gdb.reverse/getresuid-reverse.exp: Likewise.
4844 * gdb.reverse/pipe-reverse.exp: Likewise.
4845 * gdb.reverse/readv-reverse.exp: Likewise.
4846 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4847 * gdb.reverse/time-reverse.exp: Likewise.
4848 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
4849
4850 2015-10-30 Yao Qi <yao.qi@linaro.org>
4851
4852 * gdb.threads/wp-replication.c (watch_count_done): Remove.
4853 (empty_cycle): Remove.
4854 (main): Don't call empty_cycle. Don't use watch_count_done.
4855 * gdb.threads/wp-replication.exp: Don't set breakpoint on
4856 empty_cycle. Rewrite the code counting HW watchpoints.
4857
4858 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
4859
4860 * gdb.reverse/fstatat-reverse.c: New test.
4861 * gdb.reverse/fstatat-reverse.exp: New file.
4862 * gdb.reverse/getresuid-reverse.c: New test.
4863 * gdb.reverse/getresuid-reverse.exp: New file.
4864 * gdb.reverse/pipe-reverse.c: New test.
4865 * gdb.reverse/pipe-reverse.exp: New file.
4866 * gdb.reverse/readv-reverse.c: New test.
4867 * gdb.reverse/readv-reverse.exp: New file.
4868 * gdb.reverse/recvmsg-reverse.c: New test.
4869 * gdb.reverse/recvmsg-reverse.exp: New file.
4870 * gdb.reverse/time-reverse.c: New test.
4871 * gdb.reverse/time-reverse.exp: New file.
4872 * gdb.reverse/waitpid-reverse.c: New test.
4873 * gdb.reverse/waitpid-reverse.exp: New file.
4874
4875 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4876
4877 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
4878
4879 2015-10-26 Doug Evans <dje@google.com>
4880
4881 PR symtab/17391
4882 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
4883 * gdb.dwarf2/bad-regnum.c: New file.
4884 * gdb.dwarf2/bad-regnum.exp: New file.
4885
4886 2015-10-26 Doug Evans <dje@google.com>
4887
4888 PR python/18938
4889 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
4890 file.
4891
4892 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4893
4894 * gdb.compile/compile.exp (compile code globalvar): Update expectation
4895 for a change by "Mention language in compile error message".
4896
4897 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
4898
4899 PR python/18073
4900 * gdb.python/py-type.c (C::a_method): New.
4901 (C::a_const_method): New.
4902 (C::a_static_method): New.
4903 (a_function): New.
4904 * gdb.python/py-type.exp (test_fields): Test getting fields
4905 from function and method.
4906
4907 2015-10-21 Keven Boell <keven.boell@intel.com>
4908
4909 * gdb.fortran/vla-alloc-assoc.exp: New file.
4910 * gdb.fortran/vla-datatypes.exp: New file.
4911 * gdb.fortran/vla-datatypes.f90: New file.
4912 * gdb.fortran/vla-history.exp: New file.
4913 * gdb.fortran/vla-ptype-sub.exp: New file.
4914 * gdb.fortran/vla-ptype.exp: New file.
4915 * gdb.fortran/vla-sizeof.exp: New file.
4916 * gdb.fortran/vla-sub.f90: New file.
4917 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
4918 * gdb.fortran/vla-value-sub-finish.exp: New file.
4919 * gdb.fortran/vla-value-sub.exp: New file.
4920 * gdb.fortran/vla-value.exp: New file.
4921 * gdb.fortran/vla-ptr-info.exp: New file.
4922 * gdb.mi/mi-vla-fortran.exp: New file.
4923 * gdb.mi/vla.f90: New file.
4924
4925 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
4926
4927 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
4928 of hardwired timeout value.
4929
4930 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4931 Pedro Alves <palves@redhat.com>
4932
4933 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
4934 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
4935
4936 2015-10-19 Josh Stone <jistone@redhat.com>
4937
4938 * gdb.base/catch-syscall.c: Include <sched.h>.
4939 (unknown_syscall): New variable.
4940 (main): Trigger a vfork and an unknown syscall.
4941 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
4942 (unknown_syscall_number): Likewise.
4943 (check_call_to_syscall): Accept an optional syscall pattern.
4944 (check_return_from_syscall): Likewise.
4945 (check_continue): Likewise.
4946 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
4947 (test_catch_syscall_skipping_return): New test toggling off 'catch
4948 syscall' to step over the syscall return, then toggling back on.
4949 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
4950 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
4951 (do_syscall_tests): Call test_catch_syscall_without_args and
4952 test_catch_syscall_mid_vfork.
4953 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
4954 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
4955
4956 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
4957
4958 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
4959 print g_vE): Add new pass patterns.
4960 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
4961 print various symbol names for vptr fields.
4962
4963 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
4964
4965 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
4966 results.
4967
4968 2015-10-12 Yao Qi <yao.qi@linaro.org>
4969
4970 * gdb.arch/disp-step-insn-reloc.exp: New test case.
4971
4972 2015-10-12 Yao Qi <yao.qi@linaro.org>
4973
4974 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
4975 is aarch64*-*-linux*.
4976
4977 2015-10-12 Yao Qi <yao.qi@linaro.org>
4978
4979 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
4980 (can_relocate_bcond_true): ... it.
4981 (can_relocate_bcond_false): New function.
4982 (foo): Likewise.
4983 (can_relocate_bl): Likewise.
4984 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
4985 can_relocate_bl.
4986
4987 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
4988
4989 * gdb.base/nested-addr.c: New file.
4990 * gdb.base/nested-addr.exp: New testcase.
4991
4992 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
4993
4994 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
4995 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
4996 its output. Ignore the output of "record goto begin" and instead
4997 check that GDB is replaying.
4998
4999 2015-10-09 Pedro Alves <palves@redhat.com>
5000
5001 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
5002 (top level): Use it in the run with no args test.
5003
5004 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
5005
5006 * gdb.dlang/properties.exp: New file.
5007
5008 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
5009
5010 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
5011 whether or not address 0x1000 is mapped on the target.
5012
5013 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
5014
5015 * gdb.python/py-type.exp: Do not run tests if binaries fail to
5016 build.
5017
5018 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
5019
5020 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
5021 instruction-history test.
5022
5023 2015-09-28 Doug Evans <dje@google.com>
5024
5025 * gdb.base/gcore.c (array_func): Add reference to static_array.
5026
5027 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
5028
5029 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
5030 source line.
5031
5032 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
5033
5034 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
5035 short or char as base type.
5036
5037 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
5038
5039 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
5040 to allow any size enum.
5041
5042 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
5043
5044 * gdb.ada/array_ptr_renaming.exp: New testcase.
5045 * gdb.ada/array_ptr_renaming/foo.adb: New file.
5046 * gdb.ada/array_ptr_renaming/pack.ads: New file.
5047
5048 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5049
5050 * gdb.trace/ftrace-lock.c: New file.
5051 * gdb.trace/ftrace-lock.exp: New file.
5052
5053 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5054
5055 * gdb.arch/insn-reloc.c: New file.
5056 * gdb.arch/ftrace-insn-reloc.exp: New file.
5057
5058 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5059
5060 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
5061 instruction.
5062 * gdb.trace/pendshr1.c (pendfunc): Likewise.
5063 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
5064 * gdb.trace/range-stepping.c: Likewise.
5065 * gdb.trace/trace-break.c: Likewise.
5066 * gdb.trace/trace-mt.c (thread_function): Likewise.
5067 * gdb.trace/ftrace.c (marker): Likewise.
5068 * gdb.trace/trace-condition.c (marker): Likewise.
5069 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
5070 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
5071 is_aarch64_target.
5072
5073 2015-09-18 Doug Evans <xdje42@gmail.com>
5074
5075 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
5076 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
5077
5078 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5079
5080 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
5081 the breakpoint.
5082
5083 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5084
5085 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
5086 the pending breakpoint. Remove timeout override for "Run till
5087 MI pending breakpoint on pendfunc3 on thread 2" test.
5088
5089 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5090
5091 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
5092 filename pattern.
5093
5094 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5095
5096 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
5097 in breakpoint filename pattern.
5098
5099 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5100
5101 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
5102
5103 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5104
5105 * gdb.linespec/explicit.exp: Check for readline support for
5106 tab-completion tests. Fix obvious typo.
5107
5108 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5109
5110 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
5111 and replay.
5112
5113 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5114
5115 * gdb.btrace/non-stop.c: New.
5116 * gdb.btrace/non-stop.exp: New.
5117
5118 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
5119 Yao Qi <yao.qi@linaro.org>
5120
5121 * gdb.trace/trace-condition.c: New file.
5122 * gdb.trace/trace-condition.exp: New file.
5123
5124 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
5125
5126 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
5127 for testing bytecode compilation.
5128
5129 2015-09-16 Pedro Alves <palves@redhat.com>
5130 Sandra Loosemore <sandra@codesourcery.com>
5131
5132 * gdb.threads/non-stop-fair-events.c (timeout): New global.
5133 (SECONDS): Redefine.
5134 (main): Call pthread_kill and alarm early.
5135 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
5136 support.
5137 (test): If the target can't hardware step and doesn't support
5138 displaced stepping, increase the timeout.
5139
5140 2015-09-16 Pedro Alves <palves@redhat.com>
5141
5142 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
5143 (enable_debug): New procedures.
5144 (test): Use them. Bail out if waiting for threads fails.
5145 (top level): Bail out if a test fails.
5146
5147 2015-09-16 Yao Qi <yao.qi@linaro.org>
5148
5149 * gdb.asm/asm-source.exp: Set asm-arch for
5150 aarch64*-*-* target.
5151 * gdb.asm/aarch64.inc: New file.
5152
5153 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
5154
5155 * gdb.ada/array_of_variable_length.exp: New testcase.
5156 * gdb.ada/array_of_variable_length/foo.adb: New file.
5157 * gdb.ada/array_of_variable_length/pck.adb: New file.
5158 * gdb.ada/array_of_variable_length/pck.ads: New file.
5159
5160 2015-09-15 Doug Evans <dje@google.com>
5161
5162 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
5163 of function static local variable.
5164
5165 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5166
5167 * gdb.threads/tls-so_extern.exp: New test file.
5168 * gdb.threads/tls-so_extern.c: New test file.
5169 * gdb.threads/tls-so_extern_main.c: New test file.
5170
5171 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5172
5173 * gdb.opt/solib-intra-step-lib.c: New file.
5174 * gdb.opt/solib-intra-step-main.c: New file.
5175 * gdb.opt/solib-intra-step.exp: New file.
5176
5177 2015-09-15 Pedro Alves <palves@redhat.com>
5178
5179 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
5180 gdb_continue_to_breakpoint instead of gdb_test_multiple.
5181
5182 2015-09-14 Pedro Alves <palves@redhat.com>
5183
5184 * gdb.base/hook-stop-continue.c: Delete.
5185 * gdb.base/hook-stop-continue.exp: Delete.
5186 * gdb.base/hook-stop-frame.c: Delete.
5187 * gdb.base/hook-stop-frame.exp: Delete.
5188 * gdb.base/hook-stop.c: New file.
5189 * gdb.base/hook-stop.exp: New file.
5190
5191 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
5192
5193 * gdb.ada/access_to_packed_array.exp: New testcase.
5194 * gdb.ada/access_to_packed_array/foo.adb: New file.
5195 * gdb.ada/access_to_packed_array/pack.adb: New file.
5196 * gdb.ada/access_to_packed_array/pack.ads: New file.
5197
5198 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
5199
5200 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
5201 buffer size test.
5202
5203 2015-09-11 Don Breazeal <donb@codesourcery.com>
5204
5205 * gdb.base/foll-exec.c: Add copyright header. Fix
5206 formatting issues.
5207 * gdb.base/foll-exec.exp (zap_session): Delete proc.
5208 (do_exec_tests): Use clean_restart in place of zap_session,
5209 and for test initialization. Fix formatting issues. Use
5210 fail in place of perror.
5211 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
5212 an expect statement to match an expression with output from
5213 the program under debug.
5214 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
5215 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
5216 * gdb.threads/non-ldr-exc-2.exp: Likewise.
5217 * gdb.threads/non-ldr-exc-3.exp: Likewise.
5218 * gdb.threads/non-ldr-exc-4.exp: Likewise.
5219
5220 2015-09-09 Doug Evans <dje@google.com>
5221
5222 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
5223
5224 2015-09-09 Doug Evans <dje@google.com>
5225
5226 * gdb.base/pie-execl.exp: Fix result test of build_executable.
5227
5228 2015-09-09 Doug Evans <dje@google.com>
5229
5230 * gdb.base/savedregs.exp: Fix typo.
5231
5232 2015-09-09 Pedro Alves <palves@redhat.com>
5233
5234 * gdb.mi/mi-cli.exp: Add CLI finish tests.
5235
5236 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
5237
5238 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
5239 command actually switches threads. Give up on remaining
5240 tests if target fails to stop at breakpoint.
5241
5242 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
5243
5244 * gdb.ada/funcall_char.exp: New testcase.
5245 * gdb.ada/funcall_char/foo.adb: New file.
5246
5247 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
5248
5249 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
5250 expected outputs. Add two testcases for completing ambiguous
5251 functions.
5252 * gdb.ada/complete/aux_pck.adb: New file.
5253 * gdb.ada/complete/aux_pck.ads: New file.
5254 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
5255 Ambiguous_Func functions.
5256 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
5257 * gdb.ada/complete/pck.adb: Likewise.
5258
5259 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
5260
5261 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
5262 failures to run the test program under GDB.
5263
5264 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
5265
5266 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
5267 to C.
5268
5269 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
5270
5271 * gdb.base/run-after-attach.exp: New test file.
5272 * gdb.base/run-after-attach.c: New test file.
5273
5274 2015-08-26 Don Breazeal <donb@codesourcery.com>
5275
5276 * gdb.base/foll-exec-2.c: New test program.
5277 * gdb.base/foll-exec-2.exp: New test.
5278
5279 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
5280
5281 * gdb.base/nested-subp1.exp: New file.
5282 * gdb.base/nested-subp1.c: New file.
5283 * gdb.base/nested-subp2.exp: New file.
5284 * gdb.base/nested-subp2.c: New file.
5285 * gdb.base/nested-subp3.exp: New file.
5286 * gdb.base/nested-subp3.c: New file.
5287
5288 2015-08-24 Pedro Alves <palves@redhat.com>
5289
5290 * gdb.server/connect-without-multi-process.c: New file.
5291 * gdb.server/connect-without-multi-process.exp: New file.
5292
5293 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5294
5295 * gdb.opt/inline-markers.c: Make z int.
5296
5297 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5298
5299 * gdb.opt/inline-markers.c: Make z volatile.
5300
5301 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5302
5303 * gdb.opt/inline-bt.c: New volatile global z.
5304 * gdb.opt/inline-cmds.c: Likewise.
5305 * gdb.opt/inline-locals.c: Likewise.
5306 * gdb.opt/inline-markers.c: New extern global z.
5307 (marker): Use z.
5308 (inline_fn): Likewise.
5309
5310 2015-08-24 Pedro Alves <palves@redhat.com>
5311
5312 * config/m32r-stub.exp: Remove file.
5313 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5314 * gdb.base/call-rt-st.exp: Likewise.
5315 * gdb.base/call-strs.exp: Likewise.
5316 * gdb.base/default.exp: Remove references to h8300-*-hms and
5317 *-*-udi*.
5318 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5319
5320 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5321
5322 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5323 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5324 and "return" use KFAIL when GDB can not read/write the vector
5325 return value.
5326
5327 2015-08-21 Gary Benson <gbenson@redhat.com>
5328
5329 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5330
5331 2015-08-20 Pedro Alves <palves@redhat.com>
5332
5333 * gdb.server/solib-list.exp: No longer expect an interior stop in
5334 non-stop mode.
5335
5336 2015-08-20 Pedro Alves <palves@redhat.com>
5337
5338 * gdb.server/connect-stopped-target.c: New file.
5339 * gdb.server/connect-stopped-target.exp: New file.
5340
5341 2015-08-20 Pedro Alves <palves@redhat.com>
5342
5343 * gdb.dwarf2/comp-unit-lang.exp: New file.
5344 * gdb.dwarf2/comp-unit-lang.c: New file.
5345
5346 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5347
5348 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5349 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5350
5351 2015-08-19 Kevin Buettner <kevinb@redhat.com>
5352
5353 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5354 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5355
5356 2015-08-18 Doug Evans <dje@google.com>
5357 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5358
5359 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5360 skip_python_tests. New arg prompt_regexp.
5361 (skip_python_tests): New function.
5362 * lib/mi-support.exp (mi_skip_python_tests): New function.
5363 * gdb.python/py-mi-objfile-gdb.py: New file.
5364 * gdb.python/py-mi-objfile.c: New file.
5365 * gdb.python/py-mi-objfile.exp: New file.
5366
5367 2015-08-17 Keith Seitz <keiths@redhat.com>
5368
5369 * gdb.linespec/explicit.exp: Move strace test from here ...
5370 * gdb.trace/strace.exp: ... to here.
5371
5372 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5373
5374 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5375 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5376
5377 2015-08-14 Doug Evans <xdje42@gmail.com>
5378
5379 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5380 inferior before selecting a new file.
5381
5382 2015-08-14 Doug Evans <xdje42@gmail.com>
5383
5384 * gdb.mi/mi-disassemble.exp: Update.
5385 * gdb.base/disasm-optim.S: New file.
5386 * gdb.base/disasm-optim.c: New file.
5387 * gdb.base/disasm-optim.h: New file.
5388 * gdb.base/disasm-optim.exp: New file.
5389
5390 2015-08-14 Keith Seitz <keiths@redhat.com>
5391
5392 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
5393 "evaluated-by".
5394
5395 2015-08-13 Joel Brobecker <brobecker@adacore.com>
5396
5397 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
5398
5399 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
5400
5401 * gdb.ada/fun_renaming.exp: New testcase.
5402 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
5403 * gdb.ada/fun_renaming/pack.adb: New file.
5404 * gdb.ada/fun_renaming/pack.ads: New file.
5405
5406 2015-08-12 Keith Seitz <keiths@redhat.com>
5407
5408 * gdb.base/dso2dso.exp: Pass basename of source file in call to
5409 gdb_get_line_number.
5410
5411 2015-08-12 Joel Brobecker <brobecker@adacore.com>
5412
5413 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
5414 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
5415 gdb.base/dso2dso.exp: New files.
5416
5417 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
5418 Pedro Alves <palves@redhat.com>
5419 Keith Seitz <keiths@redhat.com>
5420
5421 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
5422 GDBFLAGS.
5423
5424 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5425
5426 * gdb.base/gdbhistsize-history.exp
5427 (test_histsize_history_setting): Use save_vars.
5428 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5429 Use save_vars.
5430 (test_no_truncation_of_unlimited_history_file): Use save_vars.
5431 * gdb.base/readline.exp: Use save_vars.
5432
5433 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5434
5435 * lib/gdb.exp (save_vars): New proc.
5436
5437 2015-08-11 Keith Seitz <keiths@redhat.com>
5438
5439 * gdb.base/help.exp: Update help_breakpoint_text.
5440
5441 2015-08-11 Keith Seitz <keiths@redhat.com>
5442
5443 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
5444 (at toplevel): Call test_explicit_breakpoints.
5445 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
5446 breakpoints.
5447 * lib/mi-support.exp (mi_make_breakpoint): Add support for
5448 breakpoint conditions, "-cond".
5449
5450 2015-08-11 Keith Seitz <keiths@redhat.com>
5451
5452 * gdb.linespec/3explicit.c: New file.
5453 * gdb.linespec/cpexplicit.cc: New file.
5454 * gdb.linespec/cpexplicit.exp: New file.
5455 * gdb.linespec/explicit.c: New file.
5456 * gdb.linespec/explicit.exp: New file.
5457 * gdb.linespec/explicit2.c: New file.
5458 * gdb.linespec/ls-errs.exp: Add explicit location tests.
5459 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
5460 before using in the matching pattern.
5461 Clarify that `prefix' is a regular expression.
5462
5463 2015-08-11 Keith Seitz <keiths@redhat.com>
5464
5465 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
5466 test.
5467 Add tests for missing ",FMT" and ",".
5468
5469 2015-08-10 Doug Evans <dje@google.com>
5470 Keith Seitz <keiths@redhat.com>
5471
5472 PR gdb/17960
5473 * gdb.base/completion.exp: Add location completer tests.
5474
5475 2015-08-07 Pedro Alves <palves@redhat.com>
5476
5477 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
5478 tests here.
5479 (top level): Run do_test with and without displaced stepping.
5480
5481 2015-08-07 Pedro Alves <palves@redhat.com>
5482
5483 * gdb.base/valgrind-disp-step.c: New file.
5484 * gdb.base/valgrind-disp-step.exp: New file.
5485
5486 2015-08-07 Pedro Alves <palves@redhat.com>
5487
5488 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
5489 Delete function.
5490 (main): Add alarm. Run an infinite loop instead of calling
5491 wait_threads.
5492 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
5493 comment.
5494 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
5495 Delete function.
5496 (main): Add alarm. Run an infinite loop instead of calling
5497 wait_threads.
5498 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
5499 comment.
5500
5501 2015-08-07 Pedro Alves <palves@redhat.com>
5502
5503 * gdb.base/checkpoint-ns.exp: New file.
5504 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
5505 standard_testfile.
5506
5507 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
5508
5509 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
5510 * gdb.btrace/instruction_history.exp: Update.
5511 * gdb.btrace/tsx.exp: New.
5512 * gdb.btrace/tsx.c: New.
5513
5514 2015-08-06 Pedro Alves <palves@redhat.com>
5515
5516 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
5517 increase timeout.
5518 * gdb.reverse/until-precsave.exp: Bump timeouts.
5519
5520 2015-08-06 Pedro Alves <palves@redhat.com>
5521
5522 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
5523
5524 2015-08-06 Pedro Alves <palves@redhat.com>
5525
5526 PR gdb/18749
5527 * gdb.threads/process-dies-while-handling-bp.c: New file.
5528 * gdb.threads/process-dies-while-handling-bp.exp: New file.
5529
5530 2015-08-06 Pedro Alves <palves@redhat.com>
5531
5532 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
5533 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
5534
5535 2015-08-05 Pedro Alves <palves@redhat.com>
5536
5537 * gdb.threads/next-while-other-thread-longjmps.c: New file.
5538 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
5539
5540 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
5541
5542 * gdb.base/bp-permanent.exp: Report test as unsupported if
5543 the target cannot stop at the permanent breakpoint.
5544
5545 2015-08-03 Doug Evans <dje@google.com>
5546
5547 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
5548 10000.
5549
5550 2015-08-03 Doug Evans <dje@google.com>
5551
5552 * Makefile.in (workers/%.worker, build-perf): New rule.
5553 (GDB_PERFTEST_MODE): New variable.
5554 (check-perf): Use it.
5555 (clean): Clean up gdb.perf parallel build subdirs.
5556 * lib/build-piece.exp: New file.
5557 * lib/gdb.exp (make_gdb_parallel_path): New function
5558 (standard_output_file, standard_temp_file): Call it.
5559 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5560 of $GDB_PARALLEL.
5561 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
5562
5563 2015-08-03 Doug Evans <dje@google.com>
5564
5565 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
5566 (LOG_FILE_NAME): New global.
5567 (TextReporter.__init__): Initialize self.txt_sum.
5568 (TextReporter.report): Add support for multiple data-points.
5569 Move report to perftest.sum, put raw data in perftest.log.
5570 (TextReporter.start): Open sum and log files.
5571 (TextReporter.end): Close sum and log files.
5572 * gdb.perf/lib/perftest/testresult.py
5573 (SingleStatisticTestResult.record): Handle multiple data-points.
5574
5575 2015-07-31 Pedro Alves <palves@redhat.com>
5576
5577 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
5578 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5579 kill_wait_spawned_process instead of explicit "kill -9".
5580 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
5581 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5582 kill_wait_spawned_process.
5583 * gdb.base/attach-twice.exp: Likewise.
5584 * gdb.base/attach.exp: Likewise.
5585 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
5586 gdb_test_multiple.
5587 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
5588 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5589 kill_wait_spawned_process.
5590 * gdb.base/valgrind-infcall.exp: Likewise.
5591 * gdb.multi/multi-attach.exp: Likewise.
5592 * gdb.python/py-prompt.exp: Likewise.
5593 * gdb.python/py-sync-interp.exp: Likewise.
5594 * gdb.server/ext-attach.exp: Likewise.
5595 * gdb.threads/attach-into-signal.exp (corefunc): Use
5596 spawn_wait_for_attach, spawn_id_get_pid and
5597 kill_wait_spawned_process.
5598 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
5599 spawn_wait_for_attach returning a spawn id instead of a pid. Use
5600 spawn_id_get_pid and kill_wait_spawned_process.
5601 * gdb.threads/attach-stopped.exp (corefunc): Use
5602 spawn_wait_for_attach, spawn_id_get_pid and
5603 kill_wait_spawned_process.
5604 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
5605 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5606 kill_wait_spawned_process instead of explicit "kill -9".
5607 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
5608 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
5609 (spawn_wait_for_attach): Use spawn instead of exec to spawn
5610 processes. Don't map cygwin/windows pids here. Now returns a
5611 spawn id list.
5612
5613 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5614
5615 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
5616 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
5617 correct patch.
5618
5619 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5620
5621 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
5622
5623 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5624
5625 Reapply:
5626 2014-05-21 Mark Wielaard <mjw@redhat.com>
5627
5628 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5629
5630 2015-07-30 Pedro Alves <palves@redhat.com>
5631
5632 * linux-low.c (handle_extended_wait): Set the child's last
5633 reported status to TARGET_WAITKIND_STOPPED.
5634
5635 2015-07-30 Pedro Alves <palves@redhat.com>
5636
5637 PR threads/18600
5638 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
5639 only shows inferior 1.
5640
5641 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
5642 Pedro Alves <palves@redhat.com>
5643
5644 PR threads/18600
5645 * gdb.threads/fork-plus-threads.c: New file.
5646 * gdb.threads/fork-plus-threads.exp: New file.
5647
5648 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5649
5650 * gdb.base/batch-preserve-term-settings.exp
5651 (test_terminal_settings_preserved_after_cli_exit): Use
5652 send_quit_command.
5653
5654 2015-07-29 Pedro Alves <palves@redhat.com>
5655 Don Breazeal <donb@codesourcery.com>
5656
5657 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
5658 output from both inferior_spawn_id and gdb_spawn_id.
5659
5660 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5661
5662 * gdb.threads/attach-into-signal.exp (corefunc): Use
5663 with_test_prefix on nested loops, uniquefying the test messages.
5664
5665 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5666
5667 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
5668 commit.
5669
5670 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5671
5672 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
5673 New proc.
5674 (test_terminal_settings_preserved_after_sigterm): New test.
5675
5676 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5677
5678 * gdb.base/batch-preserve-term-settings.exp
5679 (test_terminal_settings_preserved_after_cli_exit): New test.
5680
5681 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5682
5683 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
5684 manipulation of saved_gdbflags.
5685 (test_terminal_settings_preserved): Remove global declaration of
5686 the unused variable pagination_prompt. Remove manipulation of
5687 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
5688 GDBFLAGS.
5689
5690 2015-07-29 Pedro Alves <palves@redhat.com>
5691
5692 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
5693
5694 2015-07-29 Pedro Alves <palves@redhat.com>
5695
5696 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
5697 at the top.
5698
5699 2015-07-29 Pedro Alves <palves@redhat.com>
5700
5701 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
5702 (main): Call gdb_unbuffer_output.
5703 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
5704 (main): Call gdb_unbuffer_output.
5705 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
5706 (main): Call gdb_unbuffer_output.
5707 * gdb.base/call-strs.exp: Adjust to step over the
5708 gdb_unbuffer_output call.
5709 * gdb.base/catch-gdb-caused-signals.c: Include
5710 "../lib/unbuffer_output.c".
5711 (main): Call gdb_unbuffer_output.
5712 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
5713 (main): Call gdb_unbuffer_output.
5714 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
5715 (main): Call gdb_unbuffer_output.
5716 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
5717 (main): Call gdb_unbuffer_output.
5718 * gdb.base/shlib-call.exp: Adjust to step over the
5719 gdb_unbuffer_output call.
5720 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
5721 (main): Call gdb_unbuffer_output.
5722 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
5723 (main): Call gdb_unbuffer_output.
5724 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
5725 (main): Rename to ...
5726 (test): ... this.
5727 (main): Reimplement.
5728 * gdb.base/varargs.exp: Run to test instead of to main.
5729 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5730 (main): Call gdb_unbuffer_output.
5731
5732 2015-07-29 Pedro Alves <palves@redhat.com>
5733
5734 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
5735 factore out from mi_continue_dprintf. For call-style dprintfs,
5736 expect dprintf output out of $inferior_spawn_id.
5737 (mi_continue_dprintf): Use mi_expect_dprintf.
5738 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5739 (main): Call gdb_unbuffer_output.
5740
5741 2015-07-29 Pedro Alves <palves@redhat.com>
5742
5743 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
5744 (default_mi_gdb_start): Set inferior_spawn_id instead of
5745 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
5746 gdb_spawn_id.
5747 (mi_gdb_test): Always expect inferior output from both
5748 $inferior_spawn_id and $gdb_spawn_id.
5749
5750 2015-07-29 Pedro Alves <palves@redhat.com>
5751
5752 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
5753 send_inferior and $inferior_spawn_id.
5754
5755 2015-07-29 Pedro Alves <palves@redhat.com>
5756
5757 * gdb.gdb/complaints.exp (test_initial_complaints)
5758 (test_serial_complaints, test_short_complaints): Use
5759 gdb_test_stdio.
5760 (test_empty_complaint): Handle $inferior_spawn_id !=
5761 $gdb_spawn_id.
5762
5763 2015-07-29 Pedro Alves <palves@redhat.com>
5764
5765 * gdb.base/varargs.exp: Use gdb_test_stdio.
5766
5767 2015-07-29 Pedro Alves <palves@redhat.com>
5768
5769 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
5770
5771 2015-07-29 Pedro Alves <palves@redhat.com>
5772
5773 * gdb.base/ending-run.exp: Use gdb_test_stdio.
5774
5775 2015-07-29 Pedro Alves <palves@redhat.com>
5776
5777 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
5778 parameter into two new parameters, "inf_result" and "gdb_result".
5779 Expect inferior output and gdb output from $inferior_spawn_id and
5780 $gdb_spawn_id, respectively. Adjust all callers.
5781
5782 2015-07-29 Pedro Alves <palves@redhat.com>
5783
5784 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
5785 of gdb_test_sequence.
5786
5787 2015-07-29 Pedro Alves <palves@redhat.com>
5788
5789 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
5790 (saw_spurious_output): Expect inferior output from
5791 $inferior_spawn_id. Use gdb_test_stdio.
5792
5793 2015-07-29 Pedro Alves <palves@redhat.com>
5794
5795 * gdb.base/dprintf.exp: Use standard_testfile. Change
5796 prepare_for_testing call.
5797 (srcfile): Don't set.
5798 (restart): New procedure.
5799 (test_dprintf): New procecure, use to continue over dprintfs.
5800 (test_call, test_agent): New procedures, tests moved here.
5801 Restart gdb and recreate dprintfs. Adjust expected output.
5802
5803 2015-07-29 Pedro Alves <palves@redhat.com>
5804
5805 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
5806
5807 2015-07-29 Pedro Alves <palves@redhat.com>
5808
5809 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
5810
5811 2015-07-29 Pedro Alves <palves@redhat.com>
5812
5813 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
5814 gdb_test_stdio.
5815
5816 2015-07-29 Pedro Alves <palves@redhat.com>
5817
5818 * lib/gdb.exp (gdb_test_stdio): New procedure.
5819
5820 2015-07-29 Pedro Alves <palves@redhat.com>
5821
5822 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
5823
5824 2015-07-29 Pedro Alves <palves@redhat.com>
5825
5826 * gdb.base/call-signal-resume.exp: Remove check for
5827 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
5828 * gdb.base/unwindonsignal.exp: Likewise.
5829 * gdb.base/call-signals.c (gen_signal): Remove printf call.
5830 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
5831
5832 2015-07-29 Pedro Alves <palves@redhat.com>
5833
5834 * gdb.base/siginfo-addr.c (pass): New function.
5835 (handler): Call it iff si_addr is correct.
5836 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
5837 Set a breakpoint at "pass" and continue to it.
5838
5839 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
5840
5841 * gdb.python/py-objfile.exp: Make some tests have unique names.
5842 * gdb.python/py-pp-registration.exp: Likewise.
5843
5844 2015-07-28 Pedro Alves <palves@redhat.com>
5845
5846 * gdb.server/server-exec-info.exp: Issue a "disconnect".
5847
5848 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5849
5850 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
5851
5852 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5853
5854 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
5855
5856 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
5857
5858 * gdb.base/gdb-sigterm-2.exp: New test.
5859
5860 2015-07-25 Doug Evans <xdje42@gmail.com>
5861
5862 Revert:
5863 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5864 (workers/%.worker, build-perf): New rule.
5865 (GDB_PERFTEST_MODE): New variable.
5866 (check-perf): Use it.
5867 (clean): Clean up gdb.perf parallel build subdirs.
5868 * lib/build-piece.exp: New file.
5869 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5870 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5871 name.
5872 (standard_temp_file): Ditto.
5873 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5874 of $GDB_PARALLEL.
5875
5876 2015-07-24 Doug Evans <dje@google.com>
5877
5878 * gdb.perf/lib/perftest/utils.py: New file.
5879 * gdb.perf/gm-hello.cc: New file.
5880 * gdb.perf/gm-pervasive-typedef.cc: New file.
5881 * gdb.perf/gm-pervasive-typedef.h: New file.
5882 * gdb.perf/gm-std.cc: New file.
5883 * gdb.perf/gm-std.h: New file.
5884 * gdb.perf/gm-use-cerr.cc: New file.
5885 * gdb.perf/gm-utils.h: New file.
5886 * gdb.perf/gmonster-null-lookup.py: New file.
5887 * gdb.perf/gmonster-pervasive-typedef.py: New file.
5888 * gdb.perf/gmonster-print-cerr.py: New file.
5889 * gdb.perf/gmonster-ptype-string.py: New file.
5890 * gdb.perf/gmonster-runto-main.py: New file.
5891 * gdb.perf/gmonster-select-file.py: New file.
5892 * gdb.perf/gmonster1-null-lookup.exp: New file.
5893 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
5894 * gdb.perf/gmonster1-print-cerr.exp: New file.
5895 * gdb.perf/gmonster1-ptype-string.exp: New file.
5896 * gdb.perf/gmonster1-runto-main.exp: New file.
5897 * gdb.perf/gmonster1-select-file.exp: New file.
5898 * gdb.perf/gmonster1.cc: New file.
5899 * gdb.perf/gmonster1.exp: New file.
5900 * gdb.perf/gmonster2-null-lookup.exp: New file.
5901 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
5902 * gdb.perf/gmonster2-print-cerr.exp: New file.
5903 * gdb.perf/gmonster2-ptype-string.exp: New file.
5904 * gdb.perf/gmonster2-runto-main.exp: New file.
5905 * gdb.perf/gmonster2-select-file.exp: New file.
5906 * gdb.perf/gmonster2.cc: New file.
5907 * gdb.perf/gmonster2.exp: New file.
5908
5909 2015-07-24 Doug Evans <dje@google.com>
5910
5911 * gdb.perf/README: New file.
5912 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
5913 * lib/gen-perf-test.exp: New file.
5914
5915 2015-07-24 Doug Evans <dje@google.com>
5916
5917 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
5918 (PerfTest::startup): New function.
5919 (PerfTest::run): Return result of calling body.
5920 (PerfTest::assemble): Rewrite.
5921 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
5922 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
5923 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
5924 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
5925 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
5926
5927 2015-07-24 Doug Evans <dje@google.com>
5928
5929 * lib/gdb.exp (clean_restart): Make executable optional.
5930
5931 2015-07-24 Doug Evans <dje@google.com>
5932
5933 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
5934 compiler_info references.
5935 * gdb.cp/temargs.exp: Ditto.
5936 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
5937 (get_compiler_info): Early exit if already computed. Set compiler_info
5938 to "unknown" if there was a problem.
5939 (test_compiler_info): Add function comment. Call get_compiler_info.
5940
5941 2015-07-24 Doug Evans <dje@google.com>
5942
5943 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5944 (workers/%.worker, build-perf): New rule.
5945 (GDB_PERFTEST_MODE): New variable.
5946 (check-perf): Use it.
5947 (clean): Clean up gdb.perf parallel build subdirs.
5948 * lib/build-piece.exp: New file.
5949 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5950 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5951 name.
5952 (standard_temp_file): Ditto.
5953 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5954 of $GDB_PARALLEL.
5955
5956 2015-07-24 Doug Evans <dje@google.com>
5957
5958 * lib/future.exp (gdb_default_target_compile): New option
5959 "early_flags".
5960 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
5961 --as-needed.
5962
5963 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
5964
5965 * gdb.base/catch-syscall.exp: Call gdb_exit before
5966 gdb_skip_xml_test.
5967
5968 2015-07-24 Pedro Alves <palves@redhat.com>
5969
5970 * gdb.python/py-events.exp: Accept output between the stop event
5971 and the prompt.
5972 * gdb.python/py-evsignal.exp: Likewise.
5973 * gdb.python/py-evthreads.exp: Likewise.
5974
5975 2015-07-24 Pedro Alves <palves@redhat.com>
5976
5977 PR gdb/18717
5978 * gdb.threads/non-ldr-exit.c: New file.
5979 * gdb.threads/non-ldr-exit.exp: New file.
5980
5981 2015-07-24 Yao Qi <yao.qi@linaro.org>
5982
5983 * gdb.server/ext-wrapper.exp: Test --wrapper option when
5984 restarting process.
5985
5986 2015-07-24 Yao Qi <yao.qi@linaro.org>
5987
5988 * gdb.server/ext-restart.exp: New file.
5989
5990 2015-07-24 Yao Qi <yao.qi@linaro.org>
5991
5992 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
5993 argument options.
5994 * gdb.server/ext-wrapper.exp: New file.
5995
5996 2015-07-23 Doug Evans <dje@google.com>
5997
5998 * gdb.dwarf2/dw2-dummy-cu.S: New file.
5999 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
6000
6001 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
6002
6003 * gdb.ada/var_arr_typedef.exp: New testcase.
6004 * gdb.ada/var_arr_typedef/pack.adb: New file.
6005 * gdb.ada/var_arr_typedef/pack.ads: New file.
6006 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
6007
6008 2015-07-20 Joel Brobecker <brobecker@adacore.com>
6009
6010 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
6011
6012 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6013
6014 * gdb.arch/i386-biarch-core.exp: Replace istarget
6015 by "complete set gnutarget". Remove expectation for the "core-file"
6016 command.
6017
6018 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6019
6020 Revert the previous commit:
6021 Tests for validate symbol file using build-id.
6022
6023 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
6024
6025 Tests for validate symbol file using build-id.
6026 * gdb.base/solib-mismatch-lib.c: New file.
6027 * gdb.base/solib-mismatch-libmod.c: New file.
6028 * gdb.base/solib-mismatch.c: New file.
6029 * gdb.base/solib-mismatch.exp: New file.
6030
6031 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
6032
6033 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
6034 nios2-*-linux*.
6035 * gdb.base/sigbpt.exp (stepi_out): Likewise.
6036 * gdb.base/siginfo.exp: Likewise.
6037 * gdb.base/sigstep.exp (advance, advancei): Likewise.
6038
6039 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
6040
6041 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
6042 Move it to ...
6043 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
6044 ... here.
6045 * gdb.trace/range-stepping.exp: Check that the target supports
6046 range stepping.
6047
6048 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6049
6050 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
6051
6052 2015-07-14 Pedro Alves <palves@redhat.com>
6053
6054 * gdb.base/killed-outside.exp: New file.
6055 * gdb.base/killed-outside.c: New file.
6056
6057 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6058
6059 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
6060 (n at main): New.
6061 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
6062
6063 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6064
6065 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
6066 infcall tests instead of setting up for KFAIL.
6067
6068 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
6069
6070 * gdb.btrace/record_goto-step.exp: New.
6071
6072 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6073
6074 PR compile/18484
6075 * gdb.compile/compile.c (struct struct_type): Add volatile to
6076 selffield's type.
6077 * gdb.compile/compile.exp
6078 (compile code struct_object.selffield = &struct_object): Skip further
6079 struct_object tests if this one xfails.
6080
6081 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
6082
6083 PR exp/18617
6084 * gdb.trace/ax.exp: Add test.
6085
6086 2015-07-07 Yao Qi <yao.qi@linaro.org>
6087
6088 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
6089 instead of istarget "aarch64*-*-*".
6090 * gdb.arch/aarch64-fp.exp: Likewise.
6091 * gdb.base/float.exp: Likewise.
6092 * gdb.reverse/aarch64.exp: Likewise.
6093 * lib/gdb.exp (is_aarch64_target): New proc.
6094
6095 2015-07-07 Yao Qi <yao.qi@linaro.org>
6096
6097 * lib/gdb.exp (is_aarch32_target): New proc.
6098 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
6099 instead of "istarget "arm*-*-*"".
6100 * gdb.arch/arm-disp-step.exp: Likewise.
6101 * gdb.arch/thumb-bx-pc.exp: Likewise.
6102 * gdb.arch/thumb-prologue.exp: Likewise.
6103 * gdb.arch/thumb-singlestep.exp: Likewise.
6104 * gdb.base/disp-step-syscall.exp: Likewise.
6105 * gdb.base/float.exp: Likewise.
6106
6107 2015-07-07 Yao Qi <yao.qi@linaro.org>
6108
6109 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
6110 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
6111
6112 2015-07-07 Yao Qi <yao.qi@linaro.org>
6113
6114 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
6115 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
6116 if it exists.
6117 * gdb.multi/multi-arch.exp: Likewise.
6118
6119 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
6120
6121 * gdb.python/py-lazy-string.exp: Add missing parentheses to
6122 print.
6123
6124 2015-07-07 Yao Qi <yao.qi@linaro.org>
6125
6126 * gdb.arch/thumb-singlestep.exp: Do one more single step.
6127
6128 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
6129
6130 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
6131 '[' and ']' characters.
6132
6133 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
6134
6135 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6136
6137 2015-06-29 Pedro Alves <palves@redhat.com>
6138
6139 PR threads/18127
6140 * gdb.threads/hand-call-new-thread.c: New file.
6141 * gdb.threads/hand-call-new-thread.c: New file.
6142
6143 2015-06-26 Keith Seitz <keiths@redhat.com>
6144 Doug Evans <dje@google.com>
6145
6146 PR 16253
6147 * gdb.cp/var-tag-2.cc: New file.
6148 * gdb.cp/var-tag-3.cc: New file.
6149 * gdb.cp/var-tag-4.cc: New file.
6150 * gdb.cp/var-tag.cc: New file.
6151 * gdb.cp/var-tag.exp: New file.
6152
6153 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6154
6155 * gdb.base/history-duplicates.exp: New test.
6156
6157 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6158
6159 * gdb.base/completion.exp: Test the completion of the "focus"
6160 command.
6161
6162 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6163
6164 * gdb.arch/amd64-prologue-skip.S: New file.
6165 * gdb.arch/amd64-prologue-skip.exp: New file.
6166
6167 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
6168
6169 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
6170 is_address_zero_readable check.
6171
6172 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
6173
6174 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
6175 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
6176
6177 2015-06-24 Yao Qi <yao.qi@linaro.org>
6178
6179 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
6180 linux targets.
6181
6182 2015-06-24 Yao Qi <yao.qi@linaro.org>
6183
6184 * lib/gdb.exp (supports_get_siginfo_type): New proc.
6185 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
6186 * gdb.base/siginfo-thread.exp: Likewise.
6187
6188 2015-06-22 Yao Qi <yao.qi@linaro.org>
6189
6190 * boards/remote-gdbserver-on-localhost.exp: Add comments.
6191
6192 2015-06-22 Yao Qi <yao.qi@linaro.org>
6193
6194 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
6195 aarch64*-*-*.
6196 (skip_hw_watchpoint_tests): Likewise.
6197
6198 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
6199
6200 * gdb.base/gdbinit-history.exp: Test the interaction between
6201 setting GDBHISTSIZE and setting the history size via .gdbinit.
6202
6203 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6204
6205 PR gdb/16999
6206 * gdb.base/gdbhistsize-history.exp: New test.
6207
6208 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6209
6210 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
6211 with GDBHISTSIZE.
6212 * gdb.base/readline.exp: Likewise.
6213
6214 2015-06-17 Yao Qi <yao.qi@linaro.org>
6215
6216 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
6217 line.
6218
6219 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6220
6221 * gdb.base/gdbinit-history.exp: Add test case to check that
6222 an unlimited history file does not get truncated on exit.
6223
6224 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6225
6226 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
6227 (VECTOR): New macro. Use it...
6228 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6229 ...for these typedefs.
6230 (int8, char1, int1, double1): New typedefs.
6231 (struct just_int2, struct two_int2): New structures.
6232 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
6233 (add_structvecs, add_singlevecs): New functions.
6234 (main): Call add_some_intvecs twice.
6235 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
6236 the compile and exit upon failure. Try compiling for the "native"
6237 architecture. Test inferior function calls with vector arguments
6238 and vector return value handling with "finish" and "return".
6239
6240 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
6241
6242 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
6243 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
6244 PE file.
6245 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
6246
6247 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6248
6249 PR breakpoints/16465
6250 * gdb.mi/mi-dprintf-pending.c: New file.
6251 * gdb.mi/mi-dprintf-pending.exp: New test.
6252 * gdb.mi/mi-dprintf-pendshr.c: New file.
6253
6254 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6255 Mircea Gherzan <mircea.gherzan@intel.com>
6256
6257 * gdb.arch/i386-mpx-map.c: New file.
6258 * gdb.arch/i386-mpx-map.exp: New File.
6259
6260 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6261
6262 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
6263 * gdb.arch/i386-mpx.exp: Indentation fixed.
6264
6265 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6266
6267 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
6268 function and improved indentation.
6269 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
6270 gdb_test_multiple. Added additional tests to skip the test.
6271
6272 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6273
6274 * gdb.arch/i386-avx512.c: Change path in include file.
6275 * gdb.arch/i386-avx512.exp: Change include dir path
6276 compilation flag.
6277 * gdb.arch/i386-mpx.c: Change path in include file.
6278 * gdb.arch/i386-mpx.exp: Change include dir path compilation
6279 flag.
6280
6281 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6282
6283 * gdb.compile/compile-print.exp (compile print *vararray@3)
6284 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
6285
6286 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6287
6288 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
6289 (do not keep jit in memory): ... this.
6290 (expect 5): Change it to ...
6291 (expect no 5): ... this.
6292
6293 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
6294
6295 PR gdb/15564
6296 * gdb.mi/mi-detach.exp: New file.
6297
6298 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6299
6300 PR symtab/18392
6301 * gdb.arch/amd64-tailcall-self.S: New file.
6302 * gdb.arch/amd64-tailcall-self.c: New file.
6303 * gdb.arch/amd64-tailcall-self.exp: New file.
6304
6305 2015-05-28 Don Breazeal <donb@codesourcery.com>
6306
6307 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6308 tests for remote targets by checking is_target_gdbserver.
6309
6310 2015-05-27 Doug Evans <dje@google.com>
6311
6312 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6313 * gdb.dwarf2/opaque-type-lookup.c: New file.
6314 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6315
6316 2015-05-26 Doug Evans <dje@google.com>
6317
6318 * gdb.cp/iostream.cc: New file.
6319 * gdb.cp/iostream.exp: New file.
6320
6321 2015-05-26 Doug Evans <dje@google.com>
6322
6323 * gdb.dwarf2/dw2-op-call.exp: Update.
6324 * gdb.dwarf2/dw4-sig-types.exp: Update.
6325 * gdb.dwarf2/implptr.exp: Update.
6326 * gdb.mi/mi-cmd-param-changed.exp: Update.
6327
6328 2015-05-26 Doug Evans <dje@google.com>
6329
6330 * gdb.python/py-lazy-string.c: New file.
6331 * gdb.python/py-lazy-string.exp: New file.
6332 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6333 (main): Update. Add estring3.
6334 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6335 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6336
6337 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6338 Yao Qi <yao.qi@linaro.org>
6339
6340 * gdb.reverse/aarch64.c: New.
6341 * gdb.reverse/aarch64.exp: New.
6342
6343 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6344
6345 * lib/gdb.exp (supports_process_record): Return true for
6346 aarch64*-linux*.
6347 (supports_reverse): Likewise.
6348
6349 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6350
6351 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6352 Use with_test_prefix.
6353
6354 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6355
6356 * gdb.base/completion.exp: Add test for completion of layout
6357 names.
6358
6359 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6360
6361 * lib/gdb.exp (skip_tui_tests): New proc.
6362 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6363
6364 2015-05-19 Pedro Alves <palves@redhat.com>
6365
6366 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6367 Save the whole env array instead of just HOME. Unset HISTSIZE in
6368 the environment while testing. Restore whole environment
6369 afterwards.
6370
6371 2015-05-16 Doug Evans <xdje42@gmail.com>
6372
6373 * gdb.guile/scm-ports.c: New file.
6374 * gdb.guile/scm-ports.exp: Add memory port tests.
6375
6376 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6377
6378 * gdb.compile/compile-print.c: New file.
6379 * gdb.compile/compile-print.exp: New file.
6380
6381 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6382
6383 * gdb.compile/compile-ops.exp: Cast param to void.
6384 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6385 (compile code struct_object.selffield = &struct_object): Add xfail.
6386
6387 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6388
6389 * gdb.ada/arr_enum_with_gap: New testcase.
6390
6391 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6392
6393 * gdb.ada/byte_packed_arr: New testcase.
6394
6395 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6396
6397 * gdb.ada/pckd_neg: New testcase.
6398
6399 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
6400
6401 PR gdb/17820
6402 * gdb.base/gdbinit-history.exp: New test.
6403 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
6404 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
6405
6406 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
6407
6408 * gdb.python/py-xmethods.cc: Enhance test case.
6409 * gdb.python/py-xmethods.exp: New tests.
6410 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
6411 function.
6412 (B_indexoper): Likewise.
6413 (global_dm_list) : Add new xmethod worker functions.
6414
6415 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
6416
6417 * gdb.base/coredump-filter.exp: Correctly unset
6418 "coredump_var_addr" array.
6419
6420 2015-05-08 Pedro Alves <palves@redhat.com>
6421
6422 * gdb.server/non-existing-program.exp: Unset spawn_id.
6423
6424 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
6425
6426 PR python/18291
6427 * gdb.python/py-xmethods.exp: Add tests.
6428
6429 2015-05-08 Yao Qi <yao.qi@linaro.org>
6430
6431 PR gdb/18208
6432 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
6433 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
6434 function set_coredump_filter, and remove remote_exec call.
6435 Remove argument ipid. Callers update.
6436 (top level): Don't get inferior's PID.
6437
6438 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
6439
6440 * gdb.base/watch_thread_num.exp: Skip test on targets without
6441 access watchpoints.
6442
6443 2015-05-06 Pedro Alves <palves@redhat.com>
6444
6445 PR server/18081
6446 * gdb.server/non-existing-program.exp: New file.
6447
6448 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6449
6450 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
6451
6452 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6453
6454 * gdb.ada/out_of_line_in_inlined: New testcase.
6455
6456 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6457
6458 * gdb.ada/var_rec_arr: New testcase.
6459
6460 2015-04-30 Yao Qi <yao.qi@linaro.org>
6461
6462 * gdb.base/break-idempotent.exp: If
6463 skip_hw_watchpoint_multi_tests returns true, skip the tests
6464 on "rwatch" and "awatch".
6465
6466 2015-04-30 Yao Qi <yao.qi@linaro.org>
6467
6468 * gdb.base/relativedebug.exp: Invoke gdb command
6469 "info sharedlibrary", and if libc.so doesn't have debug info,
6470 skip the test.
6471
6472 2015-04-29 Doug Evans <dje@google.com>
6473
6474 * gdb.python/py-xmethods.exp: Add ptype tests.
6475 * gdb.python/py-xmethods.py (E_method_char_worker): Add
6476 get_result_type method.
6477
6478 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6479
6480 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
6481 the target does not support hardware watchpoints.
6482
6483 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6484
6485 * gdb.base/break-always.exp: Abort testing if writing to memory
6486 causes an error.
6487
6488 2015-04-28 Doug Evans <dje@google.com>
6489
6490 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
6491 * gdb.python/py-pp-registration.exp: ... here. New file.
6492 * gdb.python/py-pp-registration.c: New file.
6493 * gdb.python/py-pp-registration.py: New file.
6494
6495 2015-04-28 Doug Evans <dje@google.com>
6496
6497 * gdb.python/py-bad-printers.c: New file.
6498 * gdb.python/py-bad-printers.py: New file.
6499 * gdb.python/py-bad-printers.exp: New file.
6500
6501 2015-04-28 Sasha Smundak <asmundak@google.com>
6502
6503 * gdb.python/py-type.exp: New test.
6504
6505 2015-04-28 Andy Wingo <wingo@igalia.com>
6506
6507 * gdb.python/py-parameter.exp:
6508 * gdb.guile/scm-parameter.exp: Escape the path that we are
6509 matching against, as it might contain characters that are special
6510 to regular expressions.
6511
6512 2015-04-27 Joel Brobecker <brobecker@adacore.com>
6513
6514 * gdb.ada/rec_comp: New testcase.
6515
6516 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
6517
6518 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
6519 before using it.
6520
6521 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
6522
6523 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
6524 new tests for verilog output.
6525
6526 2015-04-24 Yao Qi <yao.qi@linaro.org>
6527
6528 * boards/remote-gdbserver-on-localhost.exp: New file.
6529
6530 2015-04-23 Pedro Alves <palves@redhat.com>
6531
6532 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
6533 $inferior_spawn_id instead of $inferior_spawn_id directly. On
6534 "end of file", remove $inferior_spawn_id from the indirect list.
6535
6536 2015-04-23 Pedro Alves <palves@redhat.com>
6537
6538 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
6539
6540 2015-04-23 Pedro Alves <palves@redhat.com>
6541
6542 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
6543 on $any_spawn_id instead of only on $gdb_spawn_id.
6544
6545 2015-04-21 Pierre Muller <muller@sourceware.org>
6546
6547 PR pascal/17815
6548 * lib/pascal.exp (gpc_compile): Add new option "class".
6549 (fpc_compile): Likewise.
6550 * gdb.pascal/case-insensitive-symbols.pas: New file.
6551 * gdb.pascal/case-insensitive-symbols.exp: New file.
6552
6553 2015-04-20 Gary Benson <gbenson@redhat.com>
6554
6555 * gdb.base/attach.exp: Fix three extended remote failures.
6556
6557 2015-04-17 Gary Benson <gbenson@redhat.com>
6558
6559 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
6560 the main executable over the remote protocol.
6561
6562 2015-04-16 Pedro Alves <palves@redhat.com>
6563
6564 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
6565 a new gdbserver if gdbserver_reconnect_p is set.
6566
6567 2015-04-16 Pedro Alves <palves@redhat.com>
6568
6569 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
6570 is set, don't exit gdbserver.
6571
6572 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6573
6574 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
6575 appropriate .insn, such that an older assembler can be used.
6576 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
6577 the z/Architecture instruction set on 31-bit targets as well.
6578
6579 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6580
6581 * gdb.go/handcall.exp: Remove all logic related to the first
6582 breakpoint and rely on go_runto_main instead.
6583 * gdb.go/strings.exp: Likewise.
6584 * gdb.go/unsafe.exp: Likewise.
6585 * gdb.go/hello.exp: Likewise. Also rename the remaining
6586 breakpoint marker to "breakpoint 1".
6587 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
6588 * gdb.go/strings.go: Likewise.
6589 * gdb.go/unsafe.go: Likewise.
6590 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
6591 "set breakpoint 2 here" and rename the remaining breakpoint marker
6592 to "breakpoint 1".
6593
6594 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
6595
6596 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
6597 if itertools.imap is not present.
6598 * gdb.python/py-objfile.exp: Add parentheses.
6599 * gdb.python/py-type.exp: Same.
6600 * gdb.python/py-unwind-maint.py: Same.
6601
6602 2015-04-15 Yao Qi <yao.qi@linaro.org>
6603
6604 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
6605 of ":$ptr_size" and set its form explicitly.
6606
6607 2015-04-15 Pedro Alves <palves@redhat.com>
6608 Yao Qi <yao.qi@linaro.org>
6609
6610 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
6611 timeout by factor of 4.
6612 (test_regular_watch): Likewise.
6613 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
6614 * gdb.reverse/sigall-reverse.exp: Likewise.
6615 * gdb.reverse/until-precsave.exp: Likewise.
6616 * lib/gdb.exp (with_timeout_factor): New proc.
6617 (gdb_expect): Move some code to ...
6618 (get_largest_timeout): ... here. New procedure.
6619
6620 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
6621
6622 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
6623
6624 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6625
6626 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
6627 to write to the .text section.
6628
6629 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6630
6631 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
6632 Handle the case of targets that do not provide PID information.
6633
6634 2015-04-13 Yao Qi <yao.qi@linaro.org>
6635
6636 * lib/gdbserver-support.exp (gdb_exit): Catch exception
6637 and use expect instead of gdb_expect.
6638
6639 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
6640
6641 * gdb.base/coredump-filter.exp: Rename variable "addr" to
6642 "coredump_var_addr" to avoid naming conflict with other testcases.
6643
6644 2015-04-10 Pedro Alves <palves@redhat.com>
6645
6646 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
6647 gdb_test_sequence and gdb_assert.
6648
6649 2015-04-10 Pedro Alves <palves@redhat.com>
6650
6651 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
6652 test messages that don't include the breakpoint address.
6653
6654 2015-04-10 Yao Qi <yao.qi@linaro.org>
6655
6656 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
6657 false for some offset and width combinations which aren't
6658 supported by linux kernel.
6659
6660 2015-04-10 Pedro Alves <palves@redhat.com>
6661
6662 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
6663 procedure, factored out from ...
6664 (top level): ... here. Add "set displaced-stepping" testing axis.
6665 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
6666 parameter "displaced". Use it.
6667 (top level): Use foreach and add "set displaced-stepping" testing
6668 axis.
6669
6670 2015-04-10 Pedro Alves <palves@redhat.com>
6671
6672 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
6673 Remove comment.
6674 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
6675 both the address of the instruction that triggers the watchpoint
6676 and the address of the instruction immediately after, and use
6677 those addresses for the test. Fix comment.
6678
6679 2015-04-10 Pedro Alves <palves@redhat.com>
6680
6681 * gdb.base/sigstep.exp (breakpoint_to_handler)
6682 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
6683 Test "backtrace" in handler.
6684 (breakpoint_over_handler): New parameter 'displaced'. Use it.
6685 (top level): Add new "displaced" test axis to
6686 breakpoint_to_handler, breakpoint_to_handler_entry and
6687 breakpoint_over_handler.
6688
6689 2015-04-10 Pedro Alves <palves@redhat.com>
6690
6691 PR gdb/18216
6692 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
6693
6694 2015-04-10 Yao Qi <yao.qi@linaro.org>
6695
6696 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
6697 (test_add_rn_pc): New function.
6698 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
6699 (top level): Invoke test_add_rn_pc.
6700
6701 2015-04-10 Pedro Alves <palves@redhat.com>
6702
6703 PR gdb/13858
6704 * gdb.base/step-over-no-symbols.exp: New file.
6705
6706 2015-04-09 Andy Wingo <wingo@igalia.com>
6707
6708 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
6709 after the Python tests.
6710
6711 2015-04-08 Keith Seitz <keiths@redhat.com>
6712
6713 PR python/16699
6714 * gdb.python/py-completion.exp: New tests for completion.
6715 * gdb.python/py-completion.py (CompleteLimit1): New class.
6716 (CompleteLimit2): Likewise.
6717 (CompleteLimit3): Likewise.
6718 (CompleteLimit4): Likewise.
6719 (CompleteLimit5): Likewise.
6720 (CompleteLimit6): Likewise.
6721 (CompleteLimit7): Likewise.
6722
6723 2015-04-08 Pedro Alves <palves@redhat.com>
6724
6725 PR gdb/18214
6726 PR gdb/18216
6727 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
6728 function.
6729 (main): Install it as SIGUSR1 handler.
6730 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
6731 parameter. Always use "setup" as prefix. Toggle "set
6732 displaced-stepping" off/on depending on global. Don't switch to
6733 thread 1 here.
6734 (top level): Add displaced stepping "off/on" test axis. Update
6735 "setup" calls. Wrap each subtest with with_test_prefix. Test
6736 continuing with a queued signal in each thread.
6737
6738 2015-04-08 Pedro Alves <palves@redhat.com>
6739
6740 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
6741 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
6742 gdb_breakpoint instead of gdb_test that doesn't expect anything.
6743 Return early if running to main fails.
6744 * gdb.trace/while-stepping.exp: Likewise.
6745
6746 2015-04-07 Pedro Alves <palves@redhat.com>
6747
6748 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
6749 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
6750 interact with inferior program.
6751
6752 2015-04-07 Pedro Alves <palves@redhat.com>
6753
6754 * lib/gdb.exp (inferior_spawn_id): New global.
6755 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
6756 spawn id after processing the user code.
6757 (default_gdb_start): Set inferior_spawn_id.
6758 (send_inferior): New procedure.
6759 * lib/gdbserver-support.exp (gdbserver_start): Set
6760 inferior_spawn_id.
6761 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
6762
6763 2015-04-07 Pedro Alves <palves@redhat.com>
6764
6765 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
6766 * lib/gdbserver-support.exp (gdbserver_start): Make
6767 $server_spawn_id global.
6768 (gdbserver_start): Don't wait for gdbserver's spawn id with
6769 expect_background.
6770 (close_gdbserver): New procedure.
6771 (gdb_exit): Rename the default version and reimplement.
6772
6773 2015-04-07 Pedro Alves <palves@redhat.com>
6774
6775 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
6776 append the substituted item, not the original item.
6777
6778 2015-04-07 Pedro Alves <palves@redhat.com>
6779
6780 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
6781 gdb_expect.
6782
6783 2015-04-07 Pedro Alves <palves@redhat.com>
6784
6785 * gdb.base/interrupt.exp: Don't handle the case of the inferior
6786 output appearing once only.
6787
6788 2015-04-07 Pedro Alves <palves@redhat.com>
6789
6790 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
6791 that doesn't expect anything. Return early if running to main
6792 fails.
6793
6794 2015-04-07 Yao Qi <yao.qi@linaro.org>
6795
6796 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
6797 (child_function): Call alarm.
6798 (main): Move call to alarm into the loop.
6799 * gdb.threads/non-stop-fair-events.exp: Build program with
6800 -DTIMEOUT=$timeout.
6801
6802 2015-04-06 Doug Evans <xdje42@gmail.com>
6803
6804 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
6805 Fix dest parameter to board_info.
6806 (fpc_compile): Ditto.
6807 (gdb_compile_pascal): Rename dest arg to destfile.
6808
6809 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
6810
6811 * gdb.ada/funcall_ref.exp: New file.
6812 * gdb.ada/funcall_ref/foo.adb: New file.
6813
6814 2015-04-02 Yao Qi <yao.qi@linaro.org>
6815
6816 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
6817 is remote.
6818
6819 2015-04-02 Gary Benson <gbenson@redhat.com>
6820
6821 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
6822
6823 2015-04-01 Sasha Smundak <asmundak@google.com>
6824
6825 * gdb.python/py-unwind-maint.c: New file.
6826 * gdb.python/py-unwind-maint.exp: New test.
6827 * gdb.python/py-unwind-maint.py: New file.
6828 * gdb.python/py-unwind.c: New file.
6829 * gdb.python/py-unwind.exp: New test.
6830 * gdb.python/py-unwind.py: New test.
6831
6832 2015-04-01 Pedro Alves <palves@redhat.com>
6833
6834 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
6835 to fail instead of non-existent $test.
6836
6837 2015-04-01 Pedro Alves <palves@redhat.com>
6838
6839 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
6840 GDBFLAGS if not empty.
6841
6842 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
6843
6844 * gdb.ada/complete.exp: Remove "multi_line".
6845 * gdb.ada/info_exc.exp: Remove "multi_line".
6846 * gdb.ada/packed_tagged.exp: Remove "multi_line".
6847 * gdb.ada/ptype_field.exp: Remove "multi_line".
6848 * gdb.ada/sym_print_name.exp: Remove "multi_line".
6849 * gdb.ada/tagged.exp: Remove "multi_line".
6850 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
6851 [multi_line ...]
6852 * gdb.btrace/delta.exp: Likewise.
6853 * gdb.btrace/exception.exp: Likewise.
6854 * gdb.btrace/function_call_history.exp: Likewise.
6855 * gdb.btrace/instruction_history.exp: Likewise.
6856 * gdb.btrace/nohist.exp: Likewise.
6857 * gdb.btrace/record_goto.exp: Likewise.
6858 * gdb.btrace/segv.exp: Likewise.
6859 * gdb.btrace/stepi.exp: Likewise.
6860 * gdb.btrace/tailcall.exp: Likewise.
6861 * gdb.btrace/unknown_functions.exp: Likewise.
6862 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
6863 * lib/gdb.exp: Add the "multi_line" helper.
6864
6865 2015-04-01 Pedro Alves <palves@redhat.com>
6866
6867 * gdb.threads/tid-reuse.c: New file.
6868 * gdb.threads/tid-reuse.exp: New file.
6869
6870 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
6871
6872 PR corefiles/16092
6873 * gdb.base/coredump-filter.c: New file.
6874 * gdb.base/coredump-filter.exp: Likewise.
6875
6876 2015-03-27 Petr Machata <pmachata@redhat.com>
6877
6878 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
6879 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
6880 (Dwarf::assemble): Initialize them.
6881 (Dwarf::lines): New function.
6882
6883 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
6884
6885 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
6886 SYMBOL_PREFIX for x86_64-*-cygwin.
6887
6888 2015-03-26 Andy Wingo <wingo@igalia.com>
6889
6890 PR symtab/18148
6891 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
6892 const_value but not a location.
6893 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
6894 location defined in non-main CUs are visible.
6895
6896 2015-03-26 Yao Qi <yao.qi@linaro.org>
6897
6898 PR testsuite/18139
6899 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
6900 Add a line number entry for the same line.
6901 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
6902 Add a line number entry for the same line.
6903
6904 2015-03-26 Yao Qi <yao.qi@linaro.org>
6905
6906 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
6907 .int 0.
6908 (func): Likewise. Add .Lfunc_1 label.
6909 Use .Lfunc_1 label.
6910 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
6911 .int 0.
6912 (func): Likewise.
6913 Use .Lfunc_1 label.
6914
6915 2015-03-26 Yao Qi <yao.qi@linaro.org>
6916
6917 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
6918 Call gdb_compile instead to compile each .s files without debug
6919 information.
6920
6921 2015-03-26 Yao Qi <yao.qi@linaro.org>
6922
6923 * gdb.base/savedregs.exp (process_saved_regs): Make
6924 "Saved registers:" optional in the pattern.
6925
6926 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6927
6928 * gdb.btrace/next.exp: Merged into step.exp.
6929 * gdb.btrace/finish.exp: Merged into step.exp.
6930 * gdb.btrace/nexti.exp: Merged into stepi.exp.
6931 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
6932 "record goto" and checking the exact replay position.
6933 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
6934 check for "Recording format" in "info record" output.
6935 * gdb.btrace/record_goto.exp: Choose test file based on target.
6936 * gdb.btrace/x86-record_goto.S: Renamed into ...
6937 * gdb.btrace/x86_64-record_goto.S: ... this.
6938 * gdb.btrace/i686-record_goto.S: New.
6939 * gdb.btrace/x86-tailcall.S: Renamed into ...
6940 * gdb.btrace/x86_64-tailcall.S: ... this.
6941 * gdb.btrace/i686-tailcall.S: New.
6942 * gdb.btrace/x86-tailcall.c: Renamed into ...
6943 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
6944 separate statements. Update test.
6945 * gdb.btrace/delta.exp: Use record_goto.c as test file.
6946 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
6947 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
6948 * gdb.btrace/tailcall.exp: Choose test file based on target.
6949 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
6950
6951 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6952
6953 * gdb.btrace/exception.exp: Increase BTS buffer size.
6954
6955 2015-03-24 Pedro Alves <palves@redhat.com>
6956
6957 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
6958
6959 2015-03-24 Pedro Alves <palves@redhat.com>
6960
6961 * gdb.threads/schedlock.exp (test_step): No longer expect that
6962 "set scheduler-locking step" with "next" over a function call runs
6963 threads unlocked.
6964
6965 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6966
6967 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
6968
6969 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6970
6971 PR breakpoints/16466
6972 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
6973 * gdb.mi/mi-pending.c (thread_func): New function.
6974 (int main): Add threading support required.
6975 * gdb.mi/mi-pending.exp: Add tests for this issue.
6976 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
6977 (pendfunc2): Remove stdio dependency.
6978 * gdb.mi/mi-pendshr2.c: New file.
6979
6980 2015-03-23 Keith Seitz <keiths@redhat.com>
6981
6982 * gdb.linespec/keywords.c: New file.
6983 * gdb.linespec/keywords.exp: New file.
6984
6985 2015-03-23 Keith Seitz <keiths@redhat.com>
6986
6987 PR gdb/18021
6988 * gdb.dwarf2/staticvirtual.exp: New test.
6989
6990 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6991
6992 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
6993 * README: Remove HP-UX and gdb.hp.
6994 (configuration):
6995 * configure: Regenerate.
6996 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
6997 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
6998 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
6999 gdb.hp/gdb.defects/Makefile.
7000 * gdb.hp/Makefile.in: File deleted.
7001 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
7002 * gdb.hp/gdb.aCC/optimize.c: File deleted.
7003 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
7004 * gdb.hp/gdb.aCC/run.c: File deleted.
7005 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
7006 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
7007 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
7008 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
7009 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
7010 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
7011 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
7012 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
7013 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
7014 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
7015 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
7016 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
7017 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
7018 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
7019 * gdb.hp/gdb.base-hp/reg.s: File deleted.
7020 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
7021 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
7022 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
7023 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
7024 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
7025 * gdb.hp/gdb.compat/Makefile.in: File deleted.
7026 * gdb.hp/gdb.compat/average.c: File deleted.
7027 * gdb.hp/gdb.compat/sum.c: File deleted.
7028 * gdb.hp/gdb.compat/xdb.c: File deleted.
7029 * gdb.hp/gdb.compat/xdb0.c: File deleted.
7030 * gdb.hp/gdb.compat/xdb0.h: File deleted.
7031 * gdb.hp/gdb.compat/xdb1.c: File deleted.
7032 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
7033 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
7034 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
7035 * gdb.hp/gdb.defects/Makefile.in: File deleted.
7036 * gdb.hp/gdb.defects/bs14602.c: File deleted.
7037 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
7038 * gdb.hp/gdb.defects/solib-d.c: File deleted.
7039 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
7040 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
7041 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
7042 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
7043 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
7044 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
7045 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
7046 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
7047 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
7048 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
7049 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
7050 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
7051 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
7052 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
7053 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
7054 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
7055 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
7056 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
7057 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
7058 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
7059 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
7060 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
7061 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
7062 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
7063 * gdb.hp/tools/odump: File deleted.
7064
7065 2015-03-19 Pedro Alves <palves@redhat.com>
7066
7067 * gdb.threads/continue-pending-status.exp (saw_thread_2)
7068 (saw_thread_3): New globals.
7069 (top level): Increment them when an event for the corresponding
7070 thread is seen.
7071 (no thread starvation): New test.
7072
7073 2015-03-19 Pedro Alves <palves@redhat.com>
7074
7075 * gdb.threads/continue-pending-status.c: New file.
7076 * gdb.threads/continue-pending-status.exp: New file.
7077
7078 2015-03-18 Pedro Alves <palves@redhat.com>
7079
7080 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7081 Use gdb_is_target_remote instead of is_remote. Use
7082 gdb_test_multiple instead of gdb_expect. Exit early if
7083 gdb_test_multiple hits its internal matches. Tighten stepi tests
7084 expected output. Fail on exit with any signal, instead of just
7085 SIGILL.
7086
7087 2015-03-18 Yao Qi <yao.qi@linaro.org>
7088
7089 PR tdep/18107
7090 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
7091 variable.
7092 * gdb.base/catch-syscall.exp: Don't skip it on
7093 aarch64*-*-linux* target. Remove elements in all_syscalls.
7094 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
7095 target.
7096 (setup_all_syscalls): New proc.
7097
7098 2015-03-16 Yao Qi <yao.qi@linaro.org>
7099
7100 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
7101 (top level): Skip tests if valid_addr_p returns false for
7102 $cmd1 or $cmd2.
7103
7104 2015-03-11 Andy Wingo <wingo@igalia.com>
7105
7106 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
7107
7108 2015-03-11 Yao Qi <yao.qi@linaro.org>
7109
7110 * gdb.base/catch-syscall.exp: Fix typo in comments.
7111
7112 2015-03-11 Yao Qi <yao.qi@linaro.org>
7113
7114 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
7115
7116 2015-03-09 Pedro Alves <palves@redhat.com>
7117
7118 * dg-extract-results.py: Delete.
7119
7120 2015-03-09 Pedro Alves <palves@redhat.com>
7121
7122 Merge dg-extract-results.sh from GCC upstream (r218843).
7123
7124 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
7125 * dg-extract-results.sh: Use --text with grep to avoid issues with
7126 binary files. Fall back to cat -v, if that doesn't work.
7127
7128 2015-03-05 Pedro Alves <palves@redhat.com>
7129
7130 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
7131
7132 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
7133
7134 * lib/mi-support.exp (mi_expect_interrupt): Accept
7135 alternative event for when in all-stop mode.
7136
7137 2015-03-04 Pedro Alves <palves@redhat.com>
7138
7139 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
7140
7141 2015-03-04 Mark Kettenis <kettenis@gnu.org>
7142
7143 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
7144
7145 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7146
7147 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
7148 regexps for GDB's current line display, accept a hex address
7149 preceding the line number.
7150
7151 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7152
7153 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
7154 the 'arch1' variable for "s390*-linux*" targets.
7155
7156 2015-03-04 Pedro Alves <palves@redhat.com>
7157
7158 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
7159 (main): Pass missing retval argument to pthread_join call.
7160
7161 2015-03-02 Pedro Alves <palves@redhat.com>
7162
7163 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
7164 (top level): Call do_test with non-stop as well.
7165
7166 2015-03-02 Pedro Alves <palves@redhat.com>
7167
7168 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
7169 -1.
7170
7171 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7172
7173 * gdb.arch/s390-vregs.exp: New test.
7174 * gdb.arch/s390-vregs.S: New file.
7175
7176 2015-02-27 Pedro Alves <palves@redhat.com>
7177
7178 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
7179 call to catch_command_errors.
7180 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
7181 catch_command_errors.
7182
7183 2015-02-27 Pedro Alves <palves@redhat.com>
7184
7185 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
7186 "true" for boolean result.
7187 * gdb.gdb/selftest.exp (test_with_self): Also accept full
7188 prototype of main.
7189
7190 2015-02-27 Pedro Alves <palves@redhat.com>
7191
7192 * lib/unbuffer_output.c: New file.
7193 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
7194 (main): Call gdb_unbuffer_output.
7195
7196 2015-02-27 Yao Qi <yao.qi@linaro.org>
7197
7198 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
7199 target.
7200
7201 2015-02-26 Doug Evans <dje@google.com>
7202
7203 * gdb.cp/class2.cc (Dbase, D): New classes.
7204 (main): New local delta.
7205 * gdb.cp/class2.exp: Test printing delta.
7206 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
7207 (dynbar): New global.
7208 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
7209
7210 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7211
7212 * gdb.compile/compile-ifunc.c: New file.
7213 * gdb.compile/compile-ifunc.exp: New file.
7214
7215 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
7216
7217 * gdb.base/structs.exp: Check for correct struct on finish.
7218
7219 2015-02-26 Yao Qi <yao.qi@linaro.org>
7220
7221 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
7222 is zero.
7223
7224 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7225
7226 * gdb.arch/cordic.ko.bz2: New file.
7227 * gdb.arch/cordic.ko.debug.bz2: New file.
7228 * gdb.arch/ppc64-symtab-cordic.exp: New file.
7229
7230 2015-02-25 Yao Qi <yao.qi@linaro.org>
7231
7232 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
7233 aarch64*-*-* target.
7234
7235 2015-02-23 Pedro Alves <palves@redhat.com>
7236
7237 * lib/gdb.exp (delete_breakpoints): Rewrite using
7238 gdb_test_multiple.
7239
7240 2015-02-23 Pedro Alves <palves@redhat.com>
7241
7242 * gdb.base/info-os.c: Include stdlib.h.
7243
7244 2015-02-22 Doug Evans <xdje42@gmail.com>
7245
7246 PR symtab/17855
7247 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
7248 is read after symbols have been re-read.
7249 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
7250 * gdb.ada/exec_changed/second.adb (Second): Ditto.
7251
7252 2015-02-21 Doug Evans <dje@google.com>
7253
7254 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
7255
7256 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7257
7258 PR corefiles/17808
7259 * gdb.arch/i386-biarch-core.core.bz2: New file.
7260 * gdb.arch/i386-biarch-core.exp: New file.
7261
7262 2015-02-21 Pedro Alves <palves@redhat.com>
7263
7264 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
7265 runto_main fails.
7266
7267 2015-02-20 Pedro Alves <palves@redhat.com>
7268
7269 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
7270 info probes.
7271
7272 2015-02-20 Pedro Alves <palves@redhat.com>
7273
7274 * gdb.threads/multi-create-ns-info-thr.exp: New file.
7275
7276 2015-02-20 Pedro Alves <palves@redhat.com>
7277
7278 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
7279 clean_restart before gdb_target_supports_trace.
7280
7281 2015-02-20 Pedro Alves <palves@redhat.com>
7282
7283 PR threads/18006
7284 * gdb.threads/clone-thread_db.c: New file.
7285 * gdb.threads/clone-thread_db.exp: New file.
7286
7287 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
7288
7289 PR breakpoints/16812
7290 * gdb.base/catch-gdb-caused-signals.c: New file.
7291 * gdb.base/catch-gdb-caused-signals.exp: New file.
7292
7293 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
7294
7295 * configure: Regenerated.
7296 * configure.ac: Use GDB_AC_TRANSFORM.
7297 * aclocal.m4: sinclude ../transform.m4.
7298
7299 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7300
7301 * lib/dtrace.exp: New file.
7302 * gdb.base/dtrace-probe.exp: Likewise.
7303 * gdb.base/dtrace-probe.d: Likewise.
7304 * gdb.base/dtrace-probe.c: Likewise.
7305 * lib/pdtrace.in: Likewise.
7306 * configure.ac: Output variables with the transformed names of
7307 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7308 * configure: Regenerated.
7309
7310 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7311
7312 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7313 expected message when trying to access $_probe_* convenience
7314 variables while not on a probe.
7315
7316 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7317
7318 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7319
7320 2015-02-11 Pedro Alves <pedro@codesourcery.com>
7321
7322 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7323 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7324
7325 2015-02-10 Doug Evans <xdje42@gmail.com>
7326
7327 * lib/gdb.exp (gdb_load): Always return a result.
7328
7329 2015-02-10 Pedro Alves <palves@redhat.com>
7330
7331 * gdb.threads/signal-sigtrap.c: New file.
7332 * gdb.threads/signal-sigtrap.exp: New file.
7333
7334 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7335
7336 * gdb.trace/no-attach-trace.c: New file.
7337 * gdb.trace/no-attach-trace.exp: New file.
7338
7339 2015-02-09 Mark Wielaard <mjw@redhat.com>
7340
7341 * gdb.dwarf2/atomic.c: New file.
7342 * gdb.dwarf2/atomic-type.exp: Likewise.
7343
7344 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7345
7346 * gdb.btrace/buffer-size.exp: Update "info record" output.
7347 * gdb.btrace/delta.exp: Update "info record" output.
7348 * gdb.btrace/enable.exp: Update "info record" output.
7349 * gdb.btrace/finish.exp: Update "info record" output.
7350 * gdb.btrace/instruction_history.exp: Update "info record" output.
7351 * gdb.btrace/next.exp: Update "info record" output.
7352 * gdb.btrace/nexti.exp: Update "info record" output.
7353 * gdb.btrace/step.exp: Update "info record" output.
7354 * gdb.btrace/stepi.exp: Update "info record" output.
7355 * gdb.btrace/nohist.exp: Update "info record" output.
7356
7357 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7358
7359 * gdb.btrace/buffer-size: New.
7360
7361 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7362
7363 * gdb.btrace/delta.exp: Update "info record" output.
7364 * gdb.btrace/enable.exp: Update "info record" output.
7365 * gdb.btrace/finish.exp: Update "info record" output.
7366 * gdb.btrace/instruction_history.exp: Update "info record" output.
7367 * gdb.btrace/next.exp: Update "info record" output.
7368 * gdb.btrace/nexti.exp: Update "info record" output.
7369 * gdb.btrace/step.exp: Update "info record" output.
7370 * gdb.btrace/stepi.exp: Update "info record" output.
7371 * gdb.btrace/nohist.exp: Update "info record" output.
7372
7373 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7374
7375 PR gdb/15678
7376 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7377
7378 2015-02-06 Pedro Alves <palves@redhat.com>
7379
7380 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7381 macro.
7382 (seconds_left, again): New globals.
7383 (main): Wait seconds_left in a 1-second sleep loop instead of
7384 sleeping 180 seconds. If 'again' is set, reset the seconds
7385 counter.
7386 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7387 'again' in the inferior before detaching. Print the seconds left.
7388 (options): New global.
7389 (top level): Build program with -DTIMEOUT=$timeout.
7390
7391 2015-02-06 Pedro Alves <palves@redhat.com>
7392
7393 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
7394 determine how many seconds to pass to 'alarm'.
7395 * gdb.base/gdb-sigterm.exp (top level): Build program with
7396 -DTIMEOUT=$timeout.
7397 (do_test): Return success/failure indication. Add more verbose
7398 logging. Don't fail if 200 single steps are seen. Instead, fail
7399 when the test times out.
7400 (passes): New global.
7401 (top level): Break the testing loop if testing fails on any
7402 iteration. Use gdb_assert.
7403
7404 2015-02-04 Don Breazeal <donb@codesourcery.com>
7405
7406 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
7407 and initialize them.
7408 (ipc_cleanup): New function.
7409 (main): Don't declare shmid, semid, and msqid. Add a call to
7410 atexit so that we call ipc_cleanup on exit.
7411
7412 2015-02-04 Pedro Alves <palves@redhat.com>
7413
7414 * boards/native-extended-gdbserver.exp: Remove any target variant
7415 specifications from the board name before clearing the isremote
7416 flag from board_info.
7417
7418 2015-01-31 Doug Evans <xdje42@gmail.com>
7419
7420 * gdb.base/maint.exp <maint print type argc>: Update expected output.
7421
7422 2015-01-31 Gary Benson <gbenson@redhat.com>
7423
7424 * gdb.base/completion.exp: Disable completion limiting for
7425 existing tests. Add new tests to check completion limiting.
7426 * gdb.linespec/ls-errs.exp: Disable completion limiting.
7427
7428 2015-01-31 Doug Evans <xdje42@gmail.com>
7429
7430 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
7431
7432 2015-01-31 Doug Evans <xdje42@gmail.com>
7433
7434 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
7435 entries. Duplicate file section script entries.
7436 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
7437 inlined entries. Add test for safe-path rejection.
7438 * gdb.python/py-section-script.c: Add duplicate inlined section script
7439 entries. Duplicate file section script entries.
7440 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
7441 inlined entries. Add test for safe-path rejection.
7442
7443 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7444
7445 * gdb.ada/disc_arr_bound: New testcase.
7446
7447 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7448
7449 * gdb.ada/mi_var_array: New testcase.
7450
7451 2015-01-27 Doug Evans <dje@google.com>
7452
7453 * gdb.python/py-objfile.exp: Add tests for objfile.username.
7454 Add test for objfile.filename, objfile.username after objfile
7455 has been unloaded.
7456
7457 2015-01-26 Joel Brobecker <brobecker@adacore.com>
7458
7459 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
7460 the second test to print the name attribute of value
7461 returned by the call to gdb.lookup_type, and adjust
7462 the expected output accordingly.
7463
7464 2015-01-25 Mark Wielaard <mjw@redhat.com>
7465
7466 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
7467 * gdb.base/disp-step-fork.c: Include unistd.h.
7468 * gdb.base/siginfo-obj.c: Include stdio.h.
7469 * gdb.base/siginfo-thread.c: Likewise.
7470 * gdb.mi/non-stop.c: Include unistd.h.
7471 * gdb.mi/nsthrexec.c: Include stdio.h.
7472 * gdb.mi/pthreads.c: Include unistd.h.
7473 * gdb.modula2/unbounded1.c (main): Declare returns int.
7474 * gdb.reverse/consecutive-reverse.c: Likewise.
7475 * gdb.threads/create-fail.c: Include unistd.h.
7476 * gdb.threads/killed.c: Likewise.
7477 * gdb.threads/linux-dp.c: Likewise.
7478 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
7479 * gdb.threads/non-ldr-exc-2.c: Likewise.
7480 * gdb.threads/non-ldr-exc-3.c: Likewise.
7481 * gdb.threads/non-ldr-exc-4.c: Likewise.
7482 * gdb.threads/pthreads.c: Include unistd.h.
7483 (main): Declare returns int.
7484 * gdb.threads/tls-main.c (foo): New declaration.
7485 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
7486
7487 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
7488
7489 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
7490 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
7491
7492 2015-01-15 Mark Wielaard <mjw@redhat.com>
7493
7494 * gdb.base/noreturn-return.c: New file.
7495 * gdb.base/noreturn-return.exp: New file.
7496 * gdb.base/noreturn-finish.c: New file.
7497 * gdb.base/noreturn-finish.exp: New file.
7498
7499 2015-01-23 Pedro Alves <palves@redhat.com>
7500
7501 * gdb.threads/continue-pending-after-query.c: New file.
7502 * gdb.threads/continue-pending-after-query.exp: New file.
7503
7504 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
7505 Simon Marchi <simon.marchi@ericsson.com>
7506
7507 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
7508 * gdb.base/valgrind-db-attach.exp: Same.
7509 * gdb.base/valgrind-infcall.exp: Same.
7510 * lib/mi-support.exp (default_mi_gdb_start): Same.
7511 * lib/prompt.exp (default_prompt_gdb_start): Same.
7512 * lib/gdb.exp (default_gdb_spawn): Same.
7513 (gdb_interact): New.
7514
7515
7516 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7517
7518 * gdb.compile/compile.exp (pointer to jit function): New test.
7519
7520 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
7521
7522 * lib/gdb.exp (supports_process_record): Return true for
7523 powerpc*-*-linux*.
7524 (supports_reverse): Likewise.
7525
7526 2015-01-15 Don Breazeal <donb@codesourcery.com>
7527
7528 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
7529 instead of checking whether the target board is remote and
7530 use spawn_wait_for_attach instead of exec/sleep.
7531 * gdb.base/attach-twice.exp: Likewise.
7532
7533 2015-01-15 Joel Brobecker <brobecker@adacore.com>
7534
7535 * gdb.ada/var_arr_attrs: New testcase.
7536
7537 2015-01-14 Pedro Alves <palves@redhat.com>
7538 Joel Brobecker <brobecker@adacore.com>
7539
7540 PR gdb/17525
7541 * gdb.base/bp-cmds-execution-x-script.c: New file.
7542 * gdb.base/bp-cmds-execution-x-script.exp: New file.
7543 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
7544
7545 2015-01-14 Pedro Alves <palves@redhat.com>
7546
7547 PR cli/17828
7548 * gdb.base/batch-preserve-term-settings.c: New file.
7549 * gdb.base/batch-preserve-term-settings.exp: New file.
7550
7551 2015-01-13 Doug Evans <dje@google.com>
7552
7553 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
7554 binary.
7555
7556 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7557
7558 * Makefile.in (clean mostlyclean): Do not delete *.py.
7559
7560 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7561
7562 * gdb.python/py-lookup-type.exp: New file.
7563
7564 2015-01-12 Pedro Alves <palves@redhat.com>
7565
7566 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
7567 restore GDBFLAGS before returning.
7568
7569 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7570
7571 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
7572 is_amd64_regs_target and is_x86_like_target.
7573
7574 2015-01-11 Doug Evans <xdje42@gmail.com>
7575
7576 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
7577 is given without an explicit form.
7578 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
7579 attributes.
7580 * gdb.dwarf/corrupt.exp: Ditto.
7581 * gdb.dwarf2/enum-type.exp: Ditto.
7582 * gdb.trace/entry-values.exp: Ditto.
7583 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
7584
7585 2015-01-11 Doug Evans <xdje42@gmail.com>
7586
7587 PR gdb/15830
7588 * gdb.base/maint.exp: Remove references to "maint demangle".
7589 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
7590 Add tests for explicitly specifying language to demangle.
7591 * gdb.dlang/demangle.exp: Ditto.
7592
7593 2015-01-09 Pedro Alves <palves@redhat.com>
7594
7595 * gdb.threads/non-stop-fair-events.c: New file.
7596 * gdb.threads/non-stop-fair-events.exp: New file.
7597
7598 2015-01-09 Pedro Alves <palves@redhat.com>
7599
7600 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
7601 the global scope. Set a breakpoint after all threads are started
7602 rather than stepping over two source lines. Expect the prompt.
7603 * gdb.base/watch_thread_num.c (threads_started_barrier): New
7604 global.
7605 (NUM): Now 15.
7606 (main): Use threads_started_barrier to wait for all threads to
7607 start. Main thread no longer calls thread_function. Exit after
7608 180 seconds.
7609 (loop): New function.
7610 (thread_function): Wait on threads_started_barrier barrier. Call
7611 'loop' at each iteration.
7612 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
7613 threads have started, instead of hardcoding number of "next"
7614 steps. Use an access watchpoint instead of a write watchpoint.
7615
7616 2015-01-09 Pedro Alves <palves@redhat.com>
7617
7618 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
7619 (thread_func): Wait on barrier.
7620 (main): Wait for all threads to start before stopping GDB.
7621 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
7622 global.
7623 (thread1_func, thread2_func): Wait on barrier.
7624 (main): Wait for all threads to start before stopping GDB.
7625 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
7626 New global.
7627 (thread1_func, thread2_func): Wait on barrier.
7628 (main): Wait for all threads to start before stopping GDB.
7629
7630 2015-01-09 Pedro Alves <palves@redhat.com>
7631
7632 * gdb.threads/attach-many-short-lived-threads.c: New file.
7633 * gdb.threads/attach-many-short-lived-threads.exp: New file.
7634
7635 2014-01-09 Pedro Alves <palves@redhat.com>
7636
7637 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
7638 instead of to thread 2.
7639 * gdb.threads/signal-command-multiple-signals-pending.c (main):
7640 Add barrier around each pthread_create call instead of around all
7641 calls.
7642 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
7643 Set a break on thread_function and have the child threads hit it
7644 one at at a time.
7645
7646 2015-01-09 Pedro Alves <palves@redhat.com>
7647
7648 * lib/gdb.exp (can_spawn_for_attach): New procedure.
7649 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
7650 false.
7651 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
7652 checking whether the target board is remote.
7653 * gdb.multi/multi-attach.exp: Likewise.
7654 * gdb.python/py-sync-interp.exp: Likewise.
7655 * gdb.server/ext-attach.exp: Likewise.
7656 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
7657 tests that need to attach, instead of checking whether the target
7658 board is remote at the top of the file.
7659
7660 2015-01-08 Yao Qi <yao@codesourcery.com>
7661
7662 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
7663
7664 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7665
7666 Fix testcase compilation.
7667 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
7668
7669 2015-01-06 Joel Brobecker <brobecker@adacore.com>
7670
7671 * gdb.python/py-type.exp: Add a couple test about empty
7672 array creation, and negative-length array creation.
7673
7674 2015-01-02 Doug Evans <xdje42@gmail.com>
7675
7676 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
7677
7678 2015-01-02 Doug Evans <dje@google.com>
7679
7680 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
7681
7682 2014-12-29 Yao Qi <yao@codesourcery.com>
7683
7684 * gdb.trace/entry-values.exp: Update comments. Rename variable
7685 bar_call_foo to returned_from_foo.
7686
7687 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
7688
7689 PR gdb/17394
7690 * gdb.linespec/break-asm-file.c: New file.
7691 * gdb.linespec/break-asm-file.exp: New file.
7692 * gdb.linespec/break-asm-file0.s: New file.
7693 * gdb.linespec/break-asm-file1.s: New file.
7694
7695 2014-12-18 Nigel Stephens <nigel@mips.com>
7696 Maciej W. Rozycki <macro@codesourcery.com>
7697
7698 * gdb.base/float.exp: Handle the new output from "info float" on
7699 MIPS targets.
7700
7701 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7702
7703 Fix MinGW compilation.
7704 * gdb.compile/compile-ops.exp: Update untested message if
7705 !skip_compile_feature_tests.
7706 * gdb.compile/compile-setjmp.exp: Likewise.
7707 * gdb.compile/compile-tls.exp: Likewise.
7708 * gdb.compile/compile.exp: Likewise.
7709 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
7710 supported on this host".
7711
7712 2014-12-16 Doug Evans <xdje42@gmail.com>
7713
7714 * boards/stabs.exp: New file.
7715
7716 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
7717
7718 * gdb.base/completion.exp: Adjust to format changes of "maint
7719 print user-registers".
7720
7721 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
7722
7723 PR server/17457
7724 * gdb.arch/aarch64-fp.c: New file.
7725 * gdb.arch/aarch64-fp.exp: New file.
7726
7727 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7728
7729 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
7730 r210637, r210913, r211666, r215400, r215817).
7731
7732 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
7733 * dg-extract-results.py: New file.
7734 * dg-extract-results.sh: Use it if the environment seems
7735 suitable.
7736
7737 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
7738
7739 * dg-extract-results.py (parse_run): Handle warnings that
7740 are printed before a test harness is run.
7741
7742 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
7743
7744 * dg-extract-results.py (Named): Remove __cmp__ method.
7745 (output_variation): Use a key to sort variation.harnesses.
7746
7747 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
7748
7749 * dg-extract-results.py: For Python 3, force sys.stdout to
7750 handle surrogate escape sequences.
7751 (safe_open): New function.
7752 (output_segment, main): Use it.
7753
7754 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
7755
7756 * dg-extract-results.py (Prog.result_re): Include options
7757 in test name.
7758
7759 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
7760
7761 * dg-extract-results.py (output_variation): Always sort if
7762 do_sum.
7763
7764 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
7765
7766 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
7767 as long as we get pagination notifications.
7768
7769 2014-12-15 Jason Merrill <jason@redhat.com>
7770
7771 * Makefile.in (check-gdb.%): Restore.
7772 * README: Mention it.
7773
7774 2014-12-13 Joel Brobecker <brobecker@adacore.com>
7775
7776 * gdb.ada/str_uninit: New testcase.
7777
7778 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7779
7780 PR symtab/17642
7781 * gdb.base/vla-stub-define.c: New file.
7782 * gdb.base/vla-stub.c: New file.
7783 * gdb.base/vla-stub.exp: New file.
7784
7785 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
7786 Jan Kratochvil <jan.kratochvil@redhat.com>
7787 Tom Tromey <tromey@redhat.com>
7788
7789 * configure.ac: Add gdb.compile/.
7790 * configure: Regenerate.
7791 * gdb.compile/Makefile.in: New file.
7792 * gdb.compile/compile-ops.exp: New file.
7793 * gdb.compile/compile-ops.c: New file.
7794 * gdb.compile/compile-tls.c: New file.
7795 * gdb.compile/compile-tls.exp: New file.
7796 * gdb.compile/compile-constvar.S: New file.
7797 * gdb.compile/compile-constvar.c: New file.
7798 * gdb.compile/compile-mod.c: New file.
7799 * gdb.compile/compile-nodebug.c: New file.
7800 * gdb.compile/compile-setjmp-mod.c: New file.
7801 * gdb.compile/compile-setjmp.c: New file.
7802 * gdb.compile/compile-setjmp.exp: New file.
7803 * gdb.compile/compile-shlib.c: New file.
7804 * gdb.compile/compile.c: New file.
7805 * gdb.compile/compile.exp: New file.
7806 * lib/gdb.exp (skip_compile_feature_tests): New proc.
7807
7808 2014-12-12 Tom Tromey <tromey@redhat.com>
7809
7810 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
7811 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
7812
7813 2014-12-12 Doug Evans <dje@google.com>
7814
7815 * lib/gdb-python.exp (get_python_valueof): New function.
7816 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
7817
7818 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7819
7820 * gdb.base/completion.exp: Add test for completion of "info
7821 registers ".
7822
7823 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
7824
7825 * gdb.base/func-ptrs.c: New file.
7826 * gdb.base/func-ptrs.exp: New file.
7827
7828 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7829
7830 PR breakpoints/17012
7831 * gdb.base/dprintf-detach.c: New file.
7832 * gdb.base/dprintf-detach.exp: New file.
7833
7834 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7835
7836 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
7837 * lib/gdb.exp (target_is_gdbserver): New procedure.
7838
7839 2014-12-08 Doug Evans <dje@google.com>
7840
7841 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
7842
7843 2014-12-05 Yao Qi <yao@codesourcery.com>
7844
7845 * gdb.guile/scm-error.exp: Remove the third argument to
7846 gdb_remote_download.
7847 * gdb.guile/scm-frame-args.exp: Likewise.
7848 * gdb.guile/scm-section-script.exp: Likewise.
7849
7850 2014-12-05 Yao Qi <yao@codesourcery.com>
7851
7852 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
7853
7854 2014-12-04 Doug Evans <dje@google.com>
7855
7856 * gdb.python/py-objfile.exp: Add tests for
7857 objfile.add_separate_debug_file.
7858
7859 2014-12-04 Doug Evans <dje@google.com>
7860
7861 * lib/gdb.exp (get_build_id): New function.
7862 (build_id_debug_filename_get): Rewrite to use it.
7863 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
7864
7865 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
7866
7867 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
7868 `method(long)', not just 0x0.
7869 * gdb.cp/nsalias.exp: Align code labels to 4.
7870 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
7871 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
7872 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
7873 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
7874 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
7875 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
7876
7877 2014-12-02 Doug Evans <dje@google.com>
7878
7879 PR symtab/17602
7880 * gdb.cp/anon-ns.cc: Move guts of this file to ...
7881 * gdb.cp/anon-ns2.cc: ... here. New file.
7882 * gdb.cp/anon-ns.exp: Update.
7883
7884 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
7885
7886 * gdb.python/py-events.py (inferior_call_handler): New.
7887 (register_changed_handler, memory_changed_handler): New.
7888 (test_events.invoke): Register new handlers.
7889 * gdb.python/py-events.exp: Add tests for inferior call,
7890 memory_changed and register_changed events.
7891
7892 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7893
7894 * gdb.base/execl-update-breakpoints.exp: Specify the link address
7895 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
7896 if the linker doesn't understand this.
7897
7898 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
7899
7900 * gdb.python/python.exp: Change expected reply to help().
7901
7902 2014-12-01 Yao Qi <yao@codesourcery.com>
7903
7904 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
7905 AC_CONFIG_SUBDIRS(gdb.gdbtk).
7906 * configure: Re-generated.
7907
7908 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
7909
7910 * gdb.cp/chained-calls.cc: New file.
7911 * gdb.cp/chained-calls.exp: New file.
7912 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
7913
7914 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
7915
7916 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
7917 * gdb.dwarf2/symtab-producer.exp: Same.
7918 * gdb.gdb/python-interrupts.exp: Same.
7919 * gdb.gdb/python-selftest.exp: Same.
7920 * gdb.python/py-linetable.exp: Same.
7921 * gdb.python/py-type.exp: Same.
7922 * gdb.python/py-value-cc.exp: Same.
7923 * gdb.python/py-value.exp: Same.
7924
7925 2014-11-28 Yao Qi <yao@codesourcery.com>
7926
7927 * gdb.base/break-probes.exp: Match library name prefixed with
7928 sysroot.
7929
7930 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
7931
7932 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
7933 test expected output. Add parentheses for the call to print.
7934 Remove L suffix from integers.
7935
7936 2014-11-26 Doug Evans <dje@google.com>
7937
7938 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
7939
7940 2014-11-22 Yao Qi <yao@codesourcery.com>
7941
7942 * gdb.trace/entry-values.c: Remove asms.
7943 (foo): Add foo_label.
7944 (bar): Add bar_label.
7945 * gdb.trace/entry-values.exp: Remove code computing foo's
7946 length and bar's length.
7947 (Dwarf::assemble): Invoke function_range for bar and use
7948 MACRO_AT_func for foo.
7949
7950 2014-11-22 Yao Qi <yao@codesourcery.com>
7951
7952 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
7953 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
7954 Use .Lgcc43_procstart instead of gcc43.
7955
7956 2014-11-21 Joel Brobecker <brobecker@adacore.com>
7957
7958 * gdb.ada/n_arr_bound: New testcase.
7959
7960 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
7961
7962 PR breakpoints/10737
7963 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
7964 test_catch_syscall_multi_arch.
7965 (test_catch_syscall_multi_arch): New function.
7966
7967 2014-11-20 Doug Evans <xdje42@gmail.com>
7968
7969 * gdb.base/maint.exp: Update expected output.
7970
7971 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7972
7973 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
7974 4-byte instruction on S390.
7975
7976 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7977
7978 * gdb.ada/arr_arr: New testcase.
7979
7980 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7981
7982 * gdb.ada/pkd_arr_elem: New Testcase.
7983
7984 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
7985
7986 * gdb.reverse/break-precsave: Expect completion message for
7987 core file reads.
7988 * gdb.reverse/consecutive-precsave.exp: Likewise.
7989 * gdb.reverse/finish-precsave.exp: Likewise.
7990 * gdb.reverse/i386-precsave.exp: Likewise.
7991 * gdb.reverse/machinestate-precsave.exp: Likewise.
7992 * gdb.reverse/sigall-precsave.exp: Likewise.
7993 * gdb.reverse/solib-precsave.exp: Likewise.
7994 * gdb.reverse/step-precsave.exp: Likewise.
7995 * gdb.reverse/until-precsave.exp: Likewise.
7996 * gdb.reverse/watch-precsave.exp: Likewise.
7997
7998 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7999
8000 * gdb.base/bp-permanent.c: Include unistd.h.
8001 * gdb.python/py-framefilter-mi.c (main): Add return type.
8002 * gdb.python/py-framefilter.c (main): Likewise.
8003 * gdb.trace/actions-changed.c (main): Likewise.
8004
8005 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8006
8007 * gdb.mi/until.c: Add eye-catchers.
8008 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
8009 line numbers.
8010
8011 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8012
8013 * gdb.base/condbreak.exp: Drop references to removed non-prototype
8014 function header variants in break1.c.
8015 * gdb.base/ena-dis-br.exp: Likewise.
8016 * gdb.base/hbreak2.exp: Likewise.
8017 * gdb.reverse/until-precsave.exp: Drop references to removed
8018 non-prototype function header variants in ur1.c.
8019 * gdb.reverse/until-reverse.exp: Likewise.
8020
8021 2014-11-17 Petr Machata <pmachata@redhat.com>
8022
8023 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
8024 ${_cu_offset_size} bytes abbrev offset.
8025
8026 2014-11-15 Doug Evans <xdje42@gmail.com>
8027
8028 PR symtab/17559
8029 * gdb.base/line-symtabs.exp: New file.
8030 * gdb.base/line-symtabs.c: New file.
8031 * gdb.base/line-symtabs.h: New file.
8032
8033 2014-11-14 Yao Qi <yao@codesourcery.com>
8034
8035 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
8036 (func): Add label func_label.
8037 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
8038 Replace low_pc and high_pc with MACRO_AT_range.
8039 Replace name, low_pc and high_pc with MACRO_AT_func.
8040
8041 2014-11-14 Yao Qi <yao@codesourcery.com>
8042
8043 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
8044 Replace name, low_pc and high_pc with MACRO_AT_func.
8045
8046 2014-11-14 Yao Qi <yao@codesourcery.com>
8047
8048 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
8049 produce debug information.
8050 * gdb.dwarf2/implptr-optimized-out.S: Removed.
8051
8052 2014-11-14 Yao Qi <yao@codesourcery.com>
8053
8054 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
8055 object and get function length.
8056 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
8057 with MACRO_AT_func.
8058 (top-level): Replace gdb_compile and clean_restart with
8059 prepare_for_testing.
8060 * gdb.dwarf2/main.c (main): Add label main_label.
8061
8062 2014-11-14 Yao Qi <yao@codesourcery.com>
8063
8064 * lib/dwarf.exp (function_range): New procedure.
8065 (Dwarf::_handle_macro_at_func): New procedure.
8066 (Dwarf::_handle_macro_at_range): New procedure.
8067 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
8068
8069 2014-11-14 Yao Qi <yao@codesourcery.com>
8070
8071 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
8072 (_handle_attribute): New procedure.
8073
8074 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8075
8076 * gdb.ada/cond_lang/foo.c (callme): Add return type.
8077 * gdb.base/call-sc.c (zed): Likewise.
8078 * gdb.base/checkpoint.c (main): Likewise.
8079 * gdb.base/dump.c (main): Likewise.
8080 * gdb.base/gcore.c (main): Likewise.
8081 * gdb.base/huge.c (main): Likewise.
8082 * gdb.base/multi-forks.c (main): Likewise.
8083 * gdb.base/pr10179-a.c (main): Likewise.
8084 * gdb.base/savedregs.c (main): Likewise.
8085 * gdb.base/sigaltstack.c (main): Likewise.
8086 * gdb.base/siginfo.c (main): Likewise.
8087 * gdb.base/structs.c (zed): Likewise.
8088 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
8089 * gdb.mi/mi-syn-frame.c (main): Likewise.
8090 * gdb.mi/until.c (foo, main): Likewise.
8091 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
8092 * gdb.base/solib-weak.c (foo): Declare.
8093 * gdb.base/attach-twice.c: Include stdio.h.
8094 * gdb.base/weaklib1.c: Likewise.
8095 * gdb.base/weaklib2.c: Likewise.
8096 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
8097 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
8098 unistd.h.
8099 * gdb.base/attach-pie-misread.c: Include stdlib.h.
8100 * gdb.mi/mi-exit-code.c: Likewise.
8101 * gdb.base/break-interp-lib.c: Include string.h.
8102 * gdb.base/coremaker.c: Likewise.
8103 * gdb.base/testenv.c: Likewise.
8104 * gdb.python/py-finish-breakpoint.c: Likewise.
8105 * gdb.base/inferior-died.c: Include sys/wait.h.
8106 * gdb.base/fileio.c: Include time.h.
8107 * gdb.base/async-shell.c: Include unistd.h.
8108 * gdb.base/dprintf-non-stop.c: Likewise.
8109 * gdb.base/info-os.c: Likewise.
8110 * gdb.mi/mi-console.c: Likewise.
8111 * gdb.mi/watch-nonstop.c: Likewise.
8112 * gdb.python/py-events.c: Likewise.
8113 * gdb.base/async.c (baz): Move up before its invocation.
8114 * gdb.base/code_elim2.c (my_global_func): Likewise.
8115 * gdb.base/skip-solib-lib.c (multiply): Likewise.
8116 * gdb.base/advance.c (func2): Likewise.
8117
8118 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8119
8120 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
8121 variant.
8122 * gdb.base/annota3.c: Likewise.
8123 * gdb.base/async.c: Likewise.
8124 * gdb.base/average.c: Likewise.
8125 * gdb.base/call-ar-st.c: Likewise.
8126 * gdb.base/call-rt-st.c: Likewise.
8127 * gdb.base/call-sc.c: Likewise.
8128 * gdb.base/call-strs.c: Likewise.
8129 * gdb.base/ending-run.c: Likewise.
8130 * gdb.base/execd-prog.c: Likewise.
8131 * gdb.base/exprs.c: Likewise.
8132 * gdb.base/foll-exec.c: Likewise.
8133 * gdb.base/foll-fork.c: Likewise.
8134 * gdb.base/foll-vfork.c: Likewise.
8135 * gdb.base/funcargs.c: Likewise.
8136 * gdb.base/gcore.c: Likewise.
8137 * gdb.base/jump.c: Likewise.
8138 * gdb.base/langs0.c: Likewise.
8139 * gdb.base/langs1.c: Likewise.
8140 * gdb.base/langs2.c: Likewise.
8141 * gdb.base/mips_pro.c: Likewise.
8142 * gdb.base/nodebug.c: Likewise.
8143 * gdb.base/opaque0.c: Likewise.
8144 * gdb.base/opaque1.c: Likewise.
8145 * gdb.base/recurse.c: Likewise.
8146 * gdb.base/run.c: Likewise.
8147 * gdb.base/scope0.c: Likewise.
8148 * gdb.base/scope1.c: Likewise.
8149 * gdb.base/setshow.c: Likewise.
8150 * gdb.base/setvar.c: Likewise.
8151 * gdb.base/shmain.c: Likewise.
8152 * gdb.base/shr1.c: Likewise.
8153 * gdb.base/shr2.c: Likewise.
8154 * gdb.base/sigall.c: Likewise.
8155 * gdb.base/signals.c: Likewise.
8156 * gdb.base/so-indr-cl.c: Likewise.
8157 * gdb.base/solib2.c: Likewise.
8158 * gdb.base/structs.c: Likewise.
8159 * gdb.base/sum.c: Likewise.
8160 * gdb.base/vforked-prog.c: Likewise.
8161 * gdb.base/watchpoint.c: Likewise.
8162 * gdb.reverse/shr2.c: Likewise.
8163 * gdb.reverse/until-reverse.c: Likewise.
8164 * gdb.reverse/ur1.c: Likewise.
8165 * gdb.reverse/watch-reverse.c: Likewise.
8166
8167 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8168
8169 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
8170 variant.
8171 * gdb.base/sepdebug.exp: Drop references to removed code.
8172
8173 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8174
8175 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
8176 variant. Preserve original line numbering.
8177 * gdb.base/list1.c: Likewise.
8178
8179 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8180
8181 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
8182 variant.
8183 * gdb.base/break1.c: Likewise.
8184 * gdb.base/break.exp: Drop references to removed code.
8185
8186 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8187
8188 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
8189 variant.
8190
8191 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8192
8193 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
8194
8195 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8196
8197 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
8198 logic into perform_all_tests() and invoke it with and without
8199 function header prototypes.
8200 (do_function_calls): Remove conditional XFAIL for PR 5318.
8201 (rerun_and_prepare): Remove duplicate code.
8202 (perform_all_tests): New. Main logic moved here.
8203
8204 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8205
8206 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
8207 code guarded by #ifdef NO_PROTOTYPES.
8208 (t_double_many_args): Likewise.
8209 (DEF_FUNC_MANY_ARGS_1): Likewise.
8210 (DEF_FUNC_VALUES_1): Likewise.
8211 (t_structs_ldc): Renamed from t_structs_fc in conditional code
8212 guarded by #ifdef PROTOTYPES.
8213
8214 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8215
8216 * gdb.mi/mi-console.c: Add eye-catcher.
8217 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
8218 instead of literal line number.
8219
8220 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8221
8222 * gdb.base/shr2.c: Add eye-catcher.
8223 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
8224 line number.
8225
8226 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8227
8228 * gdb.base/jump.c: Add eye-catchers.
8229 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
8230 numbers.
8231
8232 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8233
8234 * gdb.base/execd-prog.c: Add eye-catchers.
8235 * gdb.base/foll-exec.c: Likewise.
8236 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
8237 line numbers.
8238
8239 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8240
8241 * gdb.base/ending-run.c: Add eye-catchers.
8242 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
8243 literal line numbers.
8244
8245 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8246
8247 * gdb.base/call-rt-st.c: Add eye-catchers.
8248 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
8249 literal line numbers.
8250
8251 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8252
8253 * gdb.base/call-ar-st.c: Add eye-catchers.
8254 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
8255 literal line numbers.
8256
8257 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8258
8259 * gdb.base/average.c: Add eye-catchers.
8260 * gdb.base/sum.c: Likewise.
8261 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
8262 regexps dynamically.
8263
8264 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8265
8266 * gdb.base/solib1.c: Add eye-catchers.
8267 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
8268 literal line numbers.
8269
8270 2014-11-12 Pedro Alves <palves@redhat.com>
8271
8272 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
8273 leader has exited.
8274
8275 2014-11-12 Pedro Alves <palves@redhat.com>
8276
8277 * gdb.arch/i386-bp_permanent.c: New file.
8278 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
8279 (srcfile): Set to i386-bp_permanent.c.
8280 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
8281 that stepi does not execute the 'leave' instruction, instead of
8282 testing it does execute.
8283 * gdb.base/bp-permanent.c: New file.
8284 * gdb.base/bp-permanent.exp: New file.
8285
8286 2014-11-10 Doug Evans <xdje42@gmail.com>
8287
8288 PR symtab/17564
8289 * gdb.base/symtab-search-order.exp: New file.
8290 * gdb.base/symtab-search-order.c: New file.
8291 * gdb.base/symtab-search-order-1.c: New file.
8292 * gdb.base/symtab-search-order-shlib-1.c: New file.
8293
8294 2014-11-07 Pedro Alves <palves@redhat.com>
8295
8296 PR gdb/17511
8297 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8298 i?86-*-linux*.
8299
8300 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8301
8302 PR c++/17494
8303 * gdb.cp/pr17494.cc: New file.
8304 * gdb.cp/pr17494.exp: New file.
8305
8306 2014-11-02 Yao Qi <yao@codesourcery.com>
8307
8308 * gdb.python/python.exp: Get working directory and match the
8309 output of "set extended-prompt \\w " with it.
8310
8311 2014-10-30 Doug Evans <dje@google.com>
8312
8313 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8314 in objfiles.
8315 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8316 in progspaces.
8317
8318 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
8319
8320 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8321 * gdb.base/realname-expand.exp: Likewise.
8322 * gdb.linespec/macro-relative.exp: Likewise.
8323
8324 2014-10-29 Pedro Alves <palves@redhat.com>
8325
8326 PR gdb/17408
8327 * gdb.threads/schedlock.c (some_function): New function.
8328 (call_function): New global.
8329 (MAYBE_CALL_SOME_FUNCTION): New macro.
8330 (thread_function): Call it.
8331 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8332 and use it instead of a global counter. Adjust all callers.
8333 (get_current_thread): Use "find current thread" for test message
8334 here rather than having all callers pass down the same string.
8335 (goto_loop): New procedure, factored out from ...
8336 (my_continue): ... this.
8337 (step_ten_loops): Change parameter from test message to command to
8338 use. Adjust.
8339 (list_count): Delete global.
8340 (check_result): New procedure, factored out from duplicate top
8341 level code.
8342 (continue tests): Wrap in with_test_prefix.
8343 (test_step): New procedure, factored out from duplicate top level
8344 code.
8345 (top level): Test "step" in combination with all scheduler-locking
8346 modes. Test "next" in combination with all scheduler-locking
8347 modes, and in combination with stepping over a function call or
8348 not.
8349 * gdb.threads/next-bp-other-thread.c: New file.
8350 * gdb.threads/next-bp-other-thread.exp: New file.
8351
8352 2014-10-29 Pedro Alves <palves@redhat.com>
8353
8354 PR python/17372
8355 * gdb.python/python.exp: Test a multi-line command that spawns
8356 interactive Python.
8357 * gdb.base/multi-line-starts-subshell.exp: New file.
8358
8359 2014-10-29 Yao Qi <yao@codesourcery.com>
8360
8361 * gdb.base/fileio.exp: Make directories on host.
8362
8363 2014-10-29 Yao Qi <yao@codesourcery.com>
8364
8365 * gdb.base/fileio.c (test_write): Close the file.
8366
8367 2014-10-28 Pedro Alves <palves@redhat.com>
8368
8369 PR gdb/12623
8370 * gdb.base/sigstep.c (no_handler): New global.
8371 (main): If 'no_handler is true, set the signal handlers to
8372 SIG_IGN.
8373 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8374 with_sw_watch and no_handler parameters. Handle them.
8375 (top level) <stepping over handler when stopped at a breakpoint
8376 test>: Add a test axis for testing with a software watchpoint, and
8377 another for testing with the signal handler set to SIG_IGN.
8378 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8379 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8380
8381 2014-10-28 Pedro Alves <palves@redhat.com>
8382
8383 PR gdb/17511
8384 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8385 * gdb.base/sigstep.exp (other_handler_location): New global.
8386 (advance): Support stepping into the signal handler, and running
8387 commands while in the handler.
8388 (in_handler_map): New global.
8389 (top level): In the advance test, add combinations for getting
8390 into the handler with stepping commands, and for running commands
8391 in the handler. Add comment descripting the advancei tests.
8392
8393 2014-10-28 Pedro Alves <palves@redhat.com>
8394
8395 * gdb.base/sigstep.exp: Use build_executable instead of
8396 prepare_for_testing.
8397 (top level): Move code that starts GDB, runs to main and creates a
8398 display to ...
8399 (restart): ... this new procedure.
8400 (top level): Move backtrace from signal handler test to ...
8401 (validate_backtrace): ... this new procedure.
8402 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
8403 with_test_prefix. Always restart GDB.
8404 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
8405 with_test_prefix. Always restart GDB. No need to delete
8406 breakpoints after the test.
8407 (test_skip_handler): Remove prefix parameter.
8408 (skip_over_handler, breakpoint_to_handler)
8409 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
8410 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
8411 restart GDB. No need to delete breakpoints after the test.
8412 (top level): Use foreach to call the test procedures with
8413 different commands.
8414
8415 2014-10-28 Pedro Alves <palves@redhat.com>
8416
8417 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
8418 instead of GNATS numbers.
8419 * gdb.base/sigbpt.exp: Likewise.
8420 * gdb.base/siginfo.exp: Likewise.
8421 * gdb.base/sigstep.exp: Likewise.
8422
8423 2014-10-27 Pedro Alves <palves@redhat.com>
8424
8425 * gdb.base/sigstep.c (dummy): New global.
8426 (main): Issue a couple writes to the new global.
8427 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
8428 procedures.
8429 (skip_over_handler): Use test_skip_handler.
8430 (top level): Call skip_over_handler for stepi and nexti too.
8431 (breakpoint_over_handler): Use test_skip_handler.
8432 (top level): Call breakpoint_over_handler for stepi and nexti too.
8433
8434 2014-10-27 Yao Qi <yao@codesourcery.com>
8435
8436 * gdb.trace/tfile.c (adjust_function_address)
8437 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
8438 function descriptor.
8439
8440 2014-10-24 Don Breazeal <donb@codesourcery.com>
8441
8442 * gdb.base/foll-fork.exp (test_follow_fork,
8443 catch_fork_child_follow): Check for updated fork messages emitted
8444 from infrun.c.
8445 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
8446 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
8447 vfork_and_exec_child_follow_through_step): Check for updated vfork
8448 messages emitted from infrun.c.
8449
8450 2014-10-24 Pedro Alves <palves@redhat.com>
8451
8452 * gdb.base/corefile.exp: Remove references to ultrix.
8453 * gdb.base/interrupt.exp: Likewise.
8454 * gdb.base/whatis.exp: Likewise.
8455 * gdb.gdb/selftest.exp: Likewise.
8456 * gdb.threads/manythreads.exp: Likewise.
8457 * gdb.threads/print-threads.exp: Likewise.
8458 * gdb.threads/pthreads.exp:: Likewise.
8459 * gdb.threads/schedlock.exp: Likewise.
8460
8461 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
8462
8463 * gdb.cp/non-trivial-retval.cc: Add a test case.
8464 * gdb.cp/non-trivial-retval.exp: Add a test.
8465
8466 2014-10-20 Yao Qi <yao@codesourcery.com>
8467
8468 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
8469 * gdb.python/py-objfile-script-gdb.py: New file.
8470 * gdb.python/py-objfile-script.exp: Update reference to
8471 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
8472 of remote_download. Remove the dest file.
8473
8474 2014-10-20 Yao Qi <yao@codesourcery.com>
8475
8476 * gdb.base/checkpoint.exp: Don't remove file copied on host.
8477 * gdb.base/step-line.exp: Likewise.
8478 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8479 * gdb.dwarf2/dw2-basic.exp: Likewise.
8480 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8481 * gdb.dwarf2/dw2-filename.exp: Likewise.
8482 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8483 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8484 * gdb.dwarf2/dw2-producer.exp: Likewise.
8485 * gdb.dwarf2/mac-fileno.exp: Likewise.
8486 * gdb.python/py-frame-args.exp: Likewise.
8487 * gdb.python/py-framefilter.exp: Likewise.
8488 * gdb.python/py-mi.exp: Likewise.
8489 * gdb.python/py-objfile-script.exp: Likewise
8490 * gdb.python/py-pp-integral.exp: Likewise.
8491 * gdb.python/py-pp-re-notag.exp: Likewise.
8492 * gdb.python/py-prettyprint.exp: Likewise.
8493 * gdb.python/py-section-script.exp: Likewise.
8494 * gdb.python/py-typeprint.exp: Likewise.
8495 * gdb.python/py-xmethods.exp: Likewise.
8496 * gdb.stabs/weird.exp: Likewise.
8497 * gdb.xml/tdesc-regs.exp: Likewise.
8498
8499 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
8500
8501 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
8502 (out_cu): Use addr_len for the size of addresses.
8503 (out_line): Likewise. Size DW_LNE_set_address instruction
8504 according to addr_len.
8505 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
8506 (FUNC): Add START_INSNS to definition.
8507
8508 2014-10-18 Yao Qi <yao@codesourcery.com>
8509
8510 * gdb.base/argv0-symlink.exp: Check argv[0] value if
8511 gdb_has_argv0 return true.
8512 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
8513 check [target_info exists noargs], check [gdb_has_argv0]
8514 instead.
8515 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8516 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
8517 procedures.
8518
8519 2014-10-17 Doug Evans <dje@google.com>
8520
8521 * gdb.python/py-events.exp: Update expected output for clear_objfiles
8522 event.
8523 * gdb.python/py-events.py: Add clear_objfiles event.
8524
8525 2014-10-17 Doug Evans <dje@google.com>
8526
8527 * gdb.python/py-objfile.exp: Test progspace attribute.
8528
8529 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
8530
8531 * gdb.guile/scm-breakpoint.exp: Do not assume any
8532 directory separators when matching source file paths.
8533 * gdb.python/py-breakpoint.exp: Likewise.
8534 * gdb.reverse/break-precsave.exp: Likewise.
8535 * gdb.reverse/break-reverse.exp: Likewise.
8536 * gdb.reverse/consecutive-precsave.exp: Likewise.
8537 * gdb.reverse/finish-precsave.exp: Likewise.
8538 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8539 * gdb.reverse/finish-reverse.exp: Likewise.
8540 * gdb.reverse/i386-precsave.exp: Likewise.
8541 * gdb.reverse/i387-env-reverse.exp: Likewise.
8542 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8543 * gdb.reverse/machinestate-precsave.exp: Likewise.
8544 * gdb.reverse/machinestate.exp: Likewise.
8545 * gdb.reverse/sigall-precsave.exp: Likewise.
8546 * gdb.reverse/solib-precsave.exp: Likewise.
8547 * gdb.reverse/step-precsave.exp: Likewise.
8548 * gdb.reverse/until-precsave.exp: Likewise.
8549 * gdb.reverse/watch-precsave.exp: Likewise.
8550 * gdb.reverse/watch-reverse.exp: Likewise.
8551
8552 2014-10-17 Yao Qi <yao@codesourcery.com>
8553
8554 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
8555 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
8556
8557 2014-10-17 Pedro Alves <palves@redhat.com>
8558
8559 PR gdb/17471
8560 * gdb.base/bg-execution-repeat.c: New file.
8561 * gdb.base/bg-execution-repeat.exp: New file.
8562
8563 2014-10-17 Pedro Alves <palves@redhat.com>
8564
8565 PR gdb/17300
8566 * gdb.base/continue-all-already-running.c: New file.
8567 * gdb.base/continue-all-already-running.exp: New file.
8568
8569 2014-10-17 Pedro Alves <palves@redhat.com>
8570
8571 PR gdb/17472
8572 * gdb.base/annota-input-while-running.c: New file.
8573 * gdb.base/annota-input-while-running.exp: New file.
8574
8575 2014-10-17 Pedro Alves <palves@redhat.com>
8576
8577 * gdb.base/callfuncs.exp: emove references to osf.
8578 * gdb.base/sigall.exp: Likewise.
8579 * gdb.gdb/selftest.exp: Likewise.
8580 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
8581 * gdb.mi/non-stop.c: Likewise.
8582 * gdb.mi/pthreads.c: Likewise.
8583 * gdb.reverse/sigall-precsave.exp: Likewise.
8584 * gdb.reverse/sigall-reverse.exp: Likewise.
8585 * gdb.threads/pthreads.c: Likewise.
8586 * gdb.threads/pthreads.exp: Likewise.
8587
8588 2014-10-17 Yao Qi <yao@codesourcery.com>
8589
8590 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
8591 check 'target_info exists noargs'.
8592 (test_command_prompt_position): Likewise.
8593 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
8594 Remove "set args".
8595 (progvar_simple_while_test): Likewise.
8596 (progvar_complex_if_while_test): Likewise.
8597 (if_while_breakpoint_command_test): Likewise.
8598 (infrun_breakpoint_command_test): Likewise.
8599 (breakpoint_command_test): Likewise.
8600 (watchpoint_command_test): Likewise.
8601 (bp_deleted_in_command_test): Likewise.
8602 (temporary_breakpoint_commands): Likewise.
8603
8604 2014-10-16 Yao Qi <yao@codesourcery.com>
8605
8606 * gdb.base/remotetimeout.exp: Remove noargs checking.
8607
8608 2014-10-15 Pedro Alves <palves@redhat.com>
8609
8610 PR breakpoints/9649
8611 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
8612 * gdb.base/breakpoint-in-ro-region.exp
8613 (probe_target_hardware_step): New procedure.
8614 (top level): Probe hardware stepping and hardware breakpoint
8615 support. Test stepping through a read-only region, with both
8616 "breakpoint auto-hw" on and off and both "always-inserted" on and
8617 off.
8618
8619 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
8620
8621 * gdb.dlang/demangle.exp: Update for demangling changes.
8622
8623 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8624
8625 * gdb.cp/non-trivial-retval.cc: Add new test cases.
8626 * gdb.cp/non-trivial-retval.exp: Add new tests.
8627
8628 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8629
8630 PR c++/13403
8631 PR c++/15154
8632 * gdb.cp/non-trivial-retval.cc: New file.
8633 * gdb.cp/non-trivial-retval.exp: New file.
8634
8635 2014-10-15 Yao Qi <yao@codesourcery.com>
8636
8637 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
8638 remote host.
8639
8640 2014-10-15 Yao Qi <yao@codesourcery.com>
8641
8642 * gdb.python/py-symbol.exp: Match file base name if host is
8643 remote, otherwise match file name with dir name.
8644 * gdb.python/py-symtab.exp: Likewise.
8645 * gdb.python/python.exp: Likewise.
8646
8647 2014-10-15 Yao Qi <yao@codesourcery.com>
8648
8649 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
8650 pattern.
8651 * gdb.python/py-symtab.exp: Likewise.
8652 * gdb.python/python.exp: Remove trailing ".*". Fix typo
8653 locationn.
8654
8655 2014-10-14 Joel Brobecker <brobecker@adacore.com>
8656
8657 * gdb.ada/addr_arith: New testcase.
8658
8659 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
8660
8661 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
8662 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
8663 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
8664 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
8665
8666 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
8667
8668 * gdb.arch/stap-eval-lang-ada.S: Likewise.
8669 * gdb.arch/stap-eval-lang-ada.c: Likewise.
8670 * gdb.arch/stap-eval-lang-ada.exp: New file.
8671
8672 2014-10-14 Yao Qi <yao@codesourcery.com>
8673
8674 * gdb.mi/mi-var-child.c (nothing1): New function.
8675 (nothing2): New function.
8676 (do_children_tests): Set function pointers by nothing1 and
8677 nothing2.
8678 * gdb.mi/mi-var-child.exp: Step over new added statements.
8679 Update test to match the new output.
8680 * gdb.mi/var-cmd.c (nothing1): New function.
8681 (nothing2): New function.
8682 (do_children_tests): Set function pointers by nothing1 and
8683 nothing2.
8684 * gdb.mi/mi-var-display.exp: Update test to match output.
8685 Step to the line specified by $line_dct_nothing.
8686 Increase the number of lines to step.
8687
8688 2014-10-14 Yao Qi <yao@codesourcery.com>
8689
8690 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
8691 tests.
8692 * gdb.mi/mi2-var-child.exp: Likewise.
8693
8694 2014-10-13 Doug Evans <dje@google.com>
8695
8696 * gdb.python/py-objfile.exp: Change name of file name test.
8697
8698 2014-10-13 Doug Evans <dje@google.com>
8699
8700 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
8701 from the start of the CU.
8702
8703 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8704 Yao Qi <yao@codesourcery.com>
8705
8706 Fix "save breakpoints" for "catch" command.
8707 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
8708 Remove -nonewline. Match also the added "main" line.
8709
8710 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8711
8712 Fix "save breakpoints" for "disable $bpnum" command.
8713 * gdb.base/save-bp.c (main): Add label.
8714 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
8715
8716 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8717
8718 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
8719
8720 2014-10-11 Yao Qi <yao@codesourcery.com>
8721
8722 * gdb.server/server-kill.exp: Execute command
8723 "set remote trace-status-packet on" before "tstatus".
8724
8725 2014-10-11 Yao Qi <yao@codesourcery.com>
8726
8727 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
8728 (main): Call getppid.
8729 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
8730 and continue to it. Read variable "server_pid".
8731
8732 2014-10-11 Yao Qi <yao@codesourcery.com>
8733
8734 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
8735
8736 2014-10-11 Yao Qi <yao@codesourcery.com>
8737
8738 * gdb.threads/thread-find.exp: Don't execute command
8739 "info threads".
8740 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
8741 * gdb.threads/linux-dp.exp: Don't check the condition
8742 $threads_created equals to zero.
8743
8744 2014-10-10 Pedro Alves <palves@redhat.com>
8745
8746 * gdb.base/bigcore.exp: Remove references to IRIX.
8747 * gdb.base/funcargs.exp: Likewise.
8748 * gdb.base/interrupt.exp: Likewise.
8749 * gdb.base/mips_pro.exp: Likewise.
8750 * gdb.base/nodebug.exp: Likewise.
8751 * gdb.base/setvar.exp: Likewise.
8752 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
8753
8754 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8755 Pedro Alves <palves@redhat.com>
8756
8757 PR symtab/14466
8758 * gdb.base/vdso-warning.c: New file.
8759 * gdb.base/vdso-warning.exp: New file.
8760
8761 2014-10-02 Doug Evans <dje@google.com>
8762
8763 * gdb.base/structs.c (main): Don't run forever.
8764
8765 2014-10-02 Pedro Alves <palves@redhat.com>
8766
8767 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
8768 (top level) <stop threads 1, stop threads 2>: Use it.
8769
8770 2014-10-02 Pedro Alves <palves@redhat.com>
8771
8772 * gdb.threads/break-while-running.exp (test): Add new
8773 'update_thread_list' argument. Skip "info threads" if false.
8774 (top level): Add new 'update_thread_list' axis.
8775
8776 2014-10-02 Pedro Alves <palves@redhat.com>
8777
8778 PR breakpoints/17431
8779 * gdb.base/execl-update-breakpoints.c: New file.
8780 * gdb.base/execl-update-breakpoints.exp: New file.
8781
8782 2014-10-01 Pedro Alves <palves@redhat.com>
8783
8784 * gdb.base/breakpoint-in-ro-region.c: New file.
8785 * gdb.base/breakpoint-in-ro-region.exp: New file.
8786
8787 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
8788
8789 * gdb.mi/mi-exit-code.exp: New file.
8790 * gdb.mi/mi-exit-code.c: New file.
8791
8792 2014-09-30 Yao Qi <yao@codesourcery.com>
8793
8794 * lib/prelink-support.exp (build_executable_own_libs): Error if
8795 the target isn't native.
8796
8797 2014-09-30 Yao Qi <yao@codesourcery.com>
8798
8799 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
8800 false.
8801
8802 2014-09-22 Pedro Alves <palves@redhat.com>
8803
8804 * gdb.threads/break-while-running.exp: New file.
8805 * gdb.threads/break-while-running.c: New file.
8806
8807 2014-09-19 Yao Qi <yao@codesourcery.com>
8808
8809 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
8810 Invoke test. Restart GDB with --readnow and invoke test again.
8811
8812 2014-09-19 Yao Qi <yao@codesourcery.com>
8813
8814 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
8815 proc set_breakpoint_on_gcd_function. Invoke
8816 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
8817 invoke set_breakpoint_on_gcd_function again.
8818
8819 2014-09-18 Doug Evans <dje@google.com>
8820
8821 * gdb.dwarf2/symtab-producer.exp: New file.
8822
8823 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8824
8825 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
8826 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
8827 * gdb.base/global-var-nested-by-dso.c: Likewise.
8828 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8829
8830 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8831 Pedro Alves <palves@redhat.com>
8832
8833 * gdb.base/watch-bitfields.exp: Pass string other than test file
8834 name to prepare_for_testing.
8835 (watch): New procedure.
8836 (expect_watchpoint): Use with_test_prefix.
8837 (top level): Factor out tests to ...
8838 (test_watch_location, test_regular_watch): ... these new
8839 procedures, and use with_test_prefix and gdb_continue_to_end.
8840
8841 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
8842
8843 PR breakpoints/12526
8844 * gdb.base/watch-bitfields.exp: New file.
8845 * gdb.base/watch-bitfields.c: New file.
8846
8847 2014-09-16 Pedro Alves <palves@redhat.com>
8848
8849 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
8850 software and hardware addresses, not software address against
8851 itself.
8852
8853 2014-09-16 Pedro Alves <palves@redhat.com>
8854
8855 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
8856 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
8857
8858 2014-09-16 Pedro Alves <palves@redhat.com>
8859
8860 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
8861 files.
8862 * gdb.base/a2-run.exp: Remove all code guarded by istarget
8863 "*-*-vxworks*" throughout.
8864 * gdb.base/break.exp: Likewise.
8865 * gdb.base/default.exp: Likewise.
8866 * gdb.base/scope.exp: Likewise.
8867 * gdb.base/sepdebug.exp: Likewise.
8868 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
8869 throughout.
8870 * gdb.base/run.c: Likewise.
8871 * gdb.base/sepdebug.c: Likewise.
8872 * gdb.hp/gdb.aCC/run.c: Likewise.
8873 * gdb.reverse/until-reverse.c: Likewise.
8874 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
8875
8876 2014-09-16 Yao Qi <yao@codesourcery.com>
8877
8878 * boards/local-remote-host-native.exp: New file.
8879
8880 2014-09-14 Doug Evans <xdje42@gmail.com>
8881
8882 * gdb.threads/queue-signal.c (thread_count): New variable.
8883 (thread_count_mutex, thread_count_condvar): New variables.
8884 (incr_thread_count, wait_all_threads_running): New functions.
8885 (main): Wait for all threads to be in their thread functions.
8886
8887 2014-09-13 Doug Evans <xdje42@gmail.com>
8888
8889 * gdb.threads/queue-signal.c: New file.
8890 * gdb.threads/queue-signal.exp: New file.
8891
8892 2014-09-13 Doug Evans <xdje42@gmail.com>
8893
8894 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
8895 be consistent with what default_gdb_init uses.
8896 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
8897 the plain text of the prompt. Add some logging printfs.
8898 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
8899
8900 2014-09-12 Pedro Alves <palves@redhat.com>
8901
8902 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
8903 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
8904 * gdb.arch/i386-size-overlap.exp: Likewise.
8905 * gdb.arch/i386-size.exp: Likewise.
8906 * gdb.arch/i386-unwind.exp: Likewise.
8907 * gdb.base/a2-run.exp: Likewise.
8908 * gdb.base/break.exp: Likewise.
8909 * gdb.base/charset.exp: Likewise.
8910 * gdb.base/chng-syms.exp: Likewise.
8911 * gdb.base/commands.exp: Likewise.
8912 * gdb.base/dbx.exp: Likewise.
8913 * gdb.base/find.exp: Likewise.
8914 * gdb.base/funcargs.exp: Likewise.
8915 * gdb.base/jit-simple.exp: Likewise.
8916 * gdb.base/reread.exp: Likewise.
8917 * gdb.base/sepdebug.exp: Likewise.
8918 * gdb.base/step-bt.exp: Likewise.
8919 * gdb.cp/mb-inline.exp: Likewise.
8920 * gdb.cp/mb-templates.exp: Likewise.
8921 * gdb.objc/basicclass.exp: Likewise.
8922 * gdb.threads/killed.exp: Likewise.
8923
8924 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8925
8926 PR tdep/17379
8927 * gdb.arch/powerpc-stackless.S: New file.
8928 * gdb.arch/powerpc-stackless.exp: New file.
8929
8930 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8931
8932 * gdb.base/attach.c: Include unistd.h.
8933 (main): Call alarm. Add label postloop.
8934 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
8935 gdb_breakpoint, gdb_continue_to_breakpoint.
8936 (test_command_line_attach_run): Kill ${testpid} in one exit path.
8937
8938 2014-09-11 Pedro Alves <palves@redhat.com>
8939
8940 PR gdb/17347
8941 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
8942 * gdb.base/attach.exp (test_command_line_attach_run): New
8943 procedure.
8944 (top level): Call it.
8945
8946 2014-09-11 Pedro Alves <palves@redhat.com>
8947
8948 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
8949 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
8950 (do_command_attach_tests): Use spawn_wait_for_attach.
8951 * gdb.base/solib-overlap.exp: Likewise.
8952 * gdb.multi/multi-attach.exp: Likewise.
8953 * gdb.python/py-prompt.exp: Likewise.
8954 * gdb.python/py-sync-interp.exp: Likewise.
8955 * gdb.server/ext-attach.exp: Likewise.
8956
8957 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
8958
8959 * gdb.fortran/array-element.exp: Remove unexpected "continue"
8960 command in testcase. Simplify testcase.
8961
8962 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8963
8964 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
8965
8966 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8967
8968 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
8969
8970 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8971
8972 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
8973
8974 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8975
8976 * gdb.dwarf2/dynarr-ptr.c: New file.
8977 * gdb.dwarf2/dynarr-ptr.exp: New file.
8978
8979 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8980
8981 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
8982 of 30 rather than hardcoding 120 for a slow test case. Take the
8983 `gdb,timeout' target setting into account for this calculation.
8984 Don't extend the timeout for the test cases that don't need it.
8985
8986 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8987
8988 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
8989 a factor of 2 for a slow test case. Take the `gdb,timeout'
8990 target setting into account for this calculation.
8991 * gdb.reverse/until-precsave.exp: Increase the timeout by
8992 a factor of 15 and 3 respectively rather than adding 120
8993 for a pair of slow test cases. Take the `gdb,timeout'
8994 target setting into account for this calculation.
8995
8996 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8997
8998 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
8999 timeout, don't pass one down to gdb_expect.
9000 (gdb_expect): Rework timeout selection.
9001
9002 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9003
9004 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
9005 exception on timeout.
9006 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
9007 (gdbserver_start_extended): Catch any `gdbserver_start' error
9008 exceptions.
9009 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
9010 * lib/mi-support.exp (mi_gdb_target_load): Catch any
9011 `gdbserver_gdb_load' error exceptions.
9012
9013 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9014
9015 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
9016 120 on waiting for the TCP socket to open.
9017
9018 2014-09-09 Doug Evans <xdje42@gmail.com>
9019
9020 * gdb.base/default.exp (show_conv_list): Add _caller_is,
9021 _caller_matches, _any_caller_is, _any_caller_matches.
9022
9023 2014-09-09 Doug Evans <xdje42@gmail.com>
9024
9025 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
9026
9027 2014-09-09 Yao Qi <yao@codesourcery.com>
9028
9029 * gdb.mi/mi-var-display.exp: Set print symbol off.
9030
9031 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
9032
9033 PR gdb/17035
9034 * gdb.base/commands.exp: Add tests to verify user-defined
9035 commands with empty bodies.
9036 * gdb.python/py-cmd.exp: Test that we don't show user-defined
9037 python commands in `show user command`.
9038 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
9039 scheme commands in `show user command`.
9040
9041 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9042
9043 PR python/17355
9044 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
9045 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
9046 * gdb.python/py-framefilter-invalidarg.exp: New file.
9047 * gdb.python/py-framefilter-invalidarg.py: New file.
9048
9049 2014-09-06 Doug Evans <xdje42@gmail.com>
9050
9051 PR 15276
9052 * gdb.python/py-caller-is.c: New file.
9053 * gdb.python/py-caller-is.exp: New file.
9054
9055 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
9056
9057 PR gdb/17235
9058 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
9059 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
9060
9061 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
9062
9063 PR fortran/17237
9064 * gdb.fortran/print-formatted.exp: New file.
9065 * gdb.fortran/print-formatted.f90: Likewise.
9066
9067 2014-09-03 Sasha Smundak <asmundak@google.com>
9068
9069 * gdb.python/py-frame.exp: Test Frame.read_register.
9070
9071 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
9072
9073 PR python/16699
9074 * gdb.python/py-completion.exp: New file.
9075 * gdb.python/py-completion.py: Likewise.
9076
9077 2014-08-28 Doug Evans <dje@google.com>
9078
9079 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
9080 eax,etc. are live with values set by gdb and thus the compiler can't
9081 use them.
9082 * gdb.arch/i386-pseudo.c (main): Ditto.
9083
9084 2014-08-27 Doug Evans <dje@google.com>
9085
9086 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
9087
9088 2014-08-25 Doug Evans <dje@google.com>
9089
9090 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
9091 (main): Ditto.
9092
9093 2014-08-25 Doug Evans <dje@google.com>
9094
9095 * gdb.threads/thread-execl.exp: #include <stdio.h>.
9096
9097 2014-08-24 Yao Qi <yao@codesourcery.com>
9098
9099 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
9100 symbol off.
9101 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
9102
9103 2014-08-22 Doug Evans <dje@google.com>
9104
9105 PR 17276
9106 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
9107 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
9108 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
9109
9110 2014-08-22 Yao Qi <yao@codesourcery.com>
9111
9112 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
9113 * gdb.python/py-finish-breakpoint2.exp: Likewise.
9114 * gdb.python/python.exp: Likewise. Use .py file on the host
9115 instead of the build.
9116
9117 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9118
9119 * gdb.threads/gcore-stale-thread.c: New file.
9120 * gdb.threads/gcore-stale-thread.exp: New file.
9121
9122 2014-08-21 Pedro Alves <palves@redhat.com>
9123
9124 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
9125 * gdb.base/gcore-relro-pie.exp: Likewise.
9126 * gdb.base/gcore-relro.exp: Likewise.
9127 * gdb.base/gcore.exp: Likewise.
9128 * gdb.base/print-symbol-loading.exp: Likewise.
9129 * gdb.threads/gcore-thread.exp: Likewise.
9130 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
9131
9132 2014-08-20 Pedro Alves <palves@redhat.com>
9133 Jan Kratochvil <jan.kratochvil@redhat.com>
9134
9135 * Makefile.in (EXTRA_RULES, CC): New variables, get from
9136 configure.
9137 (EXPECT): Handle READ1 being set.
9138 (all): Depend on EXTRA_RULES.
9139 (check-read1, expect-read1, read1.so, read1): New rules.
9140 * README (Testsuite Parameters): Document the READ1 make variable.
9141 (Race detection): New section.
9142 * configure: Regenerate.
9143 * configure.ac: If build==host==target, and running under a
9144 GNU/glibc system, add read1 to the extra Makefile rules.
9145 (EXTRA_RULES): AC_SUBST it.
9146 * lib/read1.c: New file.
9147
9148 2014-08-20 Joel Brobecker <brobecker@adacore.com>
9149
9150 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
9151 the handling of variables declared as a typedef to an array
9152 which a DW_AT_data_location attribute.
9153
9154 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
9155 Pedro Alves <palves@redhat.com>
9156
9157 PR symtab/14604
9158 PR symtab/14605
9159 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
9160 gdb_test.
9161
9162 2014-08-19 Pedro Alves <palves@redhat.com>
9163
9164 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
9165
9166 2014-08-19 Yao Qi <yao@codesourcery.com>
9167
9168 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
9169 right line.
9170
9171 2014-08-18 David Blaikie <dblaikie@gmail.com>
9172
9173 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
9174
9175 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9176
9177 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
9178 attribute in array range.
9179
9180 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9181
9182 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
9183
9184 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9185
9186 PR c++/17132
9187 * gdb.cp/pr17132.cc: New file.
9188 * gdb.cp/pr17132.exp: New file.
9189
9190 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9191
9192 * gdb.python/py-xmethods.py (A_getarrayind)
9193 (E_method_char_worker.__call__, E_method_int_worker.__call__):
9194 Use 'print' with function call syntax.
9195 (E_method_matcher.match): Fix tab vs space indentation mixup.
9196
9197 2014-08-15 Yao Qi <yao@codesourcery.com>
9198
9199 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
9200 false.
9201
9202 2014-08-15 Yao Qi <yao@codesourcery.com>
9203
9204 * gdb.cp/casts.exp: Set print symbol off.
9205 * gdb.cp/class2.exp: Likewise.
9206 * gdb.cp/overload.exp: Likewise.
9207 * gdb.cp/templates.exp: Likewise.
9208
9209 2014-08-11 Doug Evans <dje@google.com>
9210
9211 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9212 (test_load_shlib): Update.
9213
9214 2014-08-09 Yao Qi <yao@codesourcery.com>
9215
9216 * gdb.base/display.exp: Invoke is_address_zero_readable.
9217 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
9218 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9219 * gdb.base/hbreak-unmapped.exp: Return if
9220 is_address_zero_readable returns true.
9221 * gdb.base/signest.exp: Likewise.
9222 * gdb.base/signull.exp: Likewise.
9223 * gdb.base/sigbpt.exp: Likewise.
9224 * gdb.guile/scm-disasm.exp: Do the test if
9225 is_address_zero_readable returns false.
9226 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
9227 * gdb.python/py-arch.exp: Likewise.
9228 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
9229 * lib/gdb.exp (is_address_zero_readable): New proc.
9230
9231 2014-08-09 Yao Qi <yao@codesourcery.com>
9232
9233 PR testsuite/13443
9234 * gdb.mi/mi-var-display.exp: Make test messages unique.
9235
9236 2014-08-04 Tom Tromey <tromey@redhat.com>
9237
9238 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
9239 target 0".
9240
9241 2014-08-04 Tom Tromey <tromey@redhat.com>
9242
9243 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
9244 "target_resume".
9245
9246 2014-08-01 Joel Brobecker <brobecker@adacore.com>
9247
9248 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9249 inner_vla_struct_object_size.
9250 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
9251 as xfail.
9252
9253 2014-07-30 Pedro Alves <palves@redhat.com>
9254
9255 * gdb.threads/signal-command-handle-nopass.exp (test): Add
9256 comment.
9257
9258 2014-07-29 Yao Qi <yao@codesourcery.com>
9259
9260 PR gdb/17206
9261 * gdb.base/until-nodebug.exp: New.
9262
9263 2014-07-28 Doug Evans <xdje42@gmail.com>
9264
9265 PR guile/17203
9266 * gdb.guile/scm-parameter.exp: Add tests for trying to create
9267 previously existing parameter, and previously ambiguously spelled
9268 parameter.
9269
9270 2014-07-28 Will Newton <will.newton@linaro.org>
9271
9272 * gdb.base/varargs.exp: Remove KFAILs for ARM.
9273
9274 2014-07-26 Ludovic Courtès <ludo@gnu.org>
9275 Doug Evans <xdje42@gmail.com>
9276
9277 PR guile/17146
9278 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
9279
9280 2014-07-25 Pedro Alves <palves@redhat.com>
9281
9282 * gdb.threads/signal-command-handle-nopass.c: New file.
9283 * gdb.threads/signal-command-handle-nopass.exp: New file.
9284 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
9285 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
9286 * gdb.threads/signal-delivered-right-thread.c: New file.
9287 * gdb.threads/signal-delivered-right-thread.exp: New file.
9288
9289 2014-07-25 Pedro Alves <palves@redhat.com>
9290
9291 * gdb.base/double-prompt-target-event-error.exp
9292 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
9293 match.
9294 (cancel_pagination_in_target_event): Rework double prompt
9295 detection.
9296 * gdb.base/paginate-after-ctrl-c-running.exp
9297 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
9298 <return>' match.
9299 * gdb.base/paginate-bg-execution.exp
9300 (test_bg_execution_pagination_return)
9301 (test_bg_execution_pagination_cancel): Remove '-notransfer
9302 <return>' matches.
9303 * gdb.base/paginate-execution-startup.exp
9304 (test_fg_execution_pagination_return)
9305 (test_fg_execution_pagination_cancel): Remove '-notransfer
9306 <return>' matches.
9307 * gdb.base/paginate-inferior-exit.exp
9308 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9309 match.
9310 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9311 * lib/gdb.exp (pagination_prompt): Run text through
9312 string_to_regexp.
9313 (gdb_test_multiple): Match $pagination_prompt instead of
9314 "<return>".
9315 (string_to_regexp): Move to lib/gdb-utils.exp.
9316
9317 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9318
9319 * gdb.arch/amd64-entry-value-paramref.S: New file.
9320 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9321 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9322 * gdb.arch/amd64-optimout-repeat.S: New file.
9323 * gdb.arch/amd64-optimout-repeat.c: New file.
9324 * gdb.arch/amd64-optimout-repeat.exp: New file.
9325
9326 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9327
9328 PR gdb/17170
9329 * gdb.base/statistics.exp: New file.
9330
9331 2014-07-17 Doug Evans <dje@google.com>
9332
9333 PR gdb/17170
9334 * gdb.base/maint.exp: Update testing of per-command stats.
9335
9336 2014-07-16 Pedro Alves <palves@redhat.com>
9337
9338 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9339 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9340 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9341 (tfile_write_buf): New functions.
9342 (add_memory_block): Rewrite using the above.
9343 (adjust_function_address): New function.
9344 (FUNCTION_ADDRESS): New macro.
9345 (write_basic_trace_file): Remove short_x local, and use
9346 tfile_write_16. Change type of func_addr local to unsigned long
9347 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9348 here. Cast argument of add_memory_block to char pointer.
9349 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9350 (main): Remove parameters.
9351 * gdb.trace/tfile.exp: Remove nowarnings.
9352
9353 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9354
9355 * gdb.base/debug-expr.exp: Test string evaluation with
9356 "debug expression" on.
9357
9358 2014-07-15 Pedro Alves <palves@redhat.com>
9359
9360 * gdb.base/reread.exp: Use clean_restart.
9361
9362 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9363
9364 * gdb.arch/avr-flash-qualifer.c: New.
9365 * gdb.arch/avr-flash-qualifer.exp: New.
9366
9367 2014-07-14 Pedro Alves <palves@redhat.com>
9368
9369 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9370 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9371
9372 2014-07-14 Pedro Alves <palves@redhat.com>
9373
9374 * gdb.base/double-prompt-target-event-error.c: New file.
9375 * gdb.base/double-prompt-target-event-error.exp: New file.
9376
9377 2014-07-14 Pedro Alves <palves@redhat.com>
9378
9379 PR gdb/17072
9380 * gdb.base/paginate-inferior-exit.c: New file.
9381 * gdb.base/paginate-inferior-exit.exp: New file.
9382
9383 2014-07-14 Pedro Alves <palves@redhat.com>
9384
9385 PR gdb/17072
9386 * gdb.base/paginate-bg-execution.c: New file.
9387 * gdb.base/paginate-bg-execution.exp: New file.
9388
9389 2014-07-14 Pedro Alves <palves@redhat.com>
9390
9391 PR gdb/17072
9392 * gdb.base/paginate-execution-startup.c: New file.
9393 * gdb.base/paginate-execution-startup.exp: New file.
9394 * lib/gdb.exp (pagination_prompt): New global.
9395 (default_gdb_spawn): New procedure, factored out from
9396 default_gdb_spawn.
9397 (default_gdb_start): Adjust to call default_gdb_spawn.
9398 (gdb_spawn): New procedure.
9399
9400 2014-07-14 Pedro Alves <palves@redhat.com>
9401
9402 * lib/gdb.exp (gdb_assert): New procedure.
9403 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
9404
9405 2014-07-14 Pedro Alves <palves@redhat.com>
9406
9407 * gdb.base/execution-termios.c: New file.
9408 * gdb.base/execution-termios.exp: New file.
9409
9410 2014-07-14 Tom Tromey <tromey@redhat.com>
9411
9412 * gdb.cp/vla-cxx.cc: New file.
9413 * gdb.cp/vla-cxx.exp: New file.
9414
9415 2014-07-14 Tom Tromey <tromey@redhat.com>
9416
9417 * gdb.reverse/rerun-prec.c: New file.
9418 * gdb.reverse/rerun-prec.exp: New file.
9419
9420 2014-07-12 Maciej W. Rozycki <macro@mips.com>
9421 Maciej W. Rozycki <macro@codesourcery.com>
9422
9423 * lib/gdb-utils.exp: New file.
9424 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
9425 inline `gdb_init_command' processing.
9426 (gdb_start_cmd): Likewise.
9427 * lib/mi-support.exp (mi_run_cmd): Likewise.
9428 * README: Document `gdb_init_command' and `gdb_init_commands'.
9429
9430 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9431
9432 Fix false FAIL running under a very long directory name.
9433 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
9434 and "set print elements 10000". Twice.
9435
9436 2014-07-11 Yao Qi <yao@codesourcery.com>
9437
9438 * gdb.base/exprs.exp: "set print symbol off".
9439
9440 2014-07-11 Pedro Alves <palves@redhat.com>
9441
9442 * gdb.threads/kill.c: New file.
9443 * gdb.threads/kill.exp: New file.
9444
9445 2014-07-10 Yao Qi <yao@codesourcery.com>
9446
9447 * gdb.trace/tfile.c (write_basic_trace_file)
9448 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
9449 address written to trace file.
9450
9451 2014-07-09 Pedro Alves <palves@redhat.com>
9452
9453 * gdb.base/attach-wait-input.exp: New file.
9454 * gdb.base/attach-wait-input.c: New file.
9455
9456 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9457
9458 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
9459 setting up test structures.
9460 (main): Call new test function.
9461 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
9462 test function, continue into test function and walk test
9463 structures.
9464
9465 2014-07-02 Yao Qi <yao@codesourcery.com>
9466
9467 * gdb.trace/entry-values.c: Define labels 'foo_start' and
9468 'bar_start' at the beginning of functions 'foo' and 'bar'
9469 respectively.
9470 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
9471 instead of 'foo' and 'bar'.
9472
9473 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
9474
9475 * gdb.btrace/segv.exp: New.
9476 * gdb.btrace/segv.c: New.
9477
9478 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
9479
9480 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
9481 instruction.
9482
9483 2014-06-30 Mark Wielaard <mjw@redhat.com>
9484
9485 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
9486 vulture, vilify, villar): New volatile array constants.
9487 (vindictive, vegetation): New const volatile array constants.
9488 * gdb.base/volatile.exp: Test volatile and const volatile array
9489 types.
9490
9491 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9492
9493 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
9494 target lacks support for awatch, rwatch, or hbreak.
9495
9496 2014-06-27 Yao Qi <yao@codesourcery.com>
9497
9498 * gdb.multi/dummy-frame-restore.exp: New.
9499 * gdb.multi/dummy-frame-restore.c: New.
9500
9501 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
9502
9503 * gdb.btrace/gcore.exp: New.
9504
9505 2014-06-23 Pedro Alves <palves@redhat.com>
9506
9507 * gdb.base/watchpoint-reuse-slot.c: New file.
9508 * gdb.base/watchpoint-reuse-slot.exp: New file.
9509
9510 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
9511
9512 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
9513 progspace's filename in 'info', 'enable' and 'disable' command
9514 tests.
9515
9516 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9517
9518 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
9519 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9520 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
9521
9522 2014-06-20 Gary Benson <gbenson@redhat.com>
9523
9524 * gdb.arch/i386-avx.exp: Fix include file location.
9525 * gdb.arch/i386-sse.exp: Likewise.
9526
9527 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
9528
9529 * gdb.dlang/expression.exp: New file.
9530
9531 2014-06-19 Pedro Alves <palves@redhat.com>
9532
9533 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
9534 out from ...
9535 (top level): ... here. Iterate running tests under different
9536 scheduler-locking settings.
9537
9538 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
9539
9540 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
9541 to DW_FORM_addr and use non-zero addresses.
9542
9543 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
9544
9545 PR gdb/17017
9546 * gdb.python/py-xmethods.cc: Add global function call counters and
9547 increment them in their respective functions. Remove "cout"
9548 statements.
9549 * gdb.python/py-xmethods.exp: Make tests check the global function
9550 call counters instead of depending on inferior IO.
9551
9552 2014-06-18 Don Breazeal <donb@codesourcery.com>
9553
9554 * gdb.base/foll-fork.exp (default_fork_parent_follow):
9555 Deleted procedure.
9556 (explicit_fork_parent_follow): Deleted procedure.
9557 (explicit_fork_child_follow): Deleted procedure.
9558 (test_follow_fork): New procedure.
9559 (do_fork_tests): Replace calls to deleted procedures with
9560 calls to test_follow_fork and reset GDB for subsequent
9561 procedure calls.
9562
9563 2014-06-17 Yao Qi <yao@codesourcery.com>
9564
9565 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
9566 CP1252.
9567
9568 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
9569
9570 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
9571 Initialize ptr and S explicitly.
9572 (skip_type_update_when_not_use_rtti_test): Likewise.
9573
9574 2014-06-16 Keith Seitz <keiths@redhat.com>
9575
9576 PR mi/15863
9577 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
9578 the inferior is started.
9579
9580 2014-06-16 Pedro Alves <palves@redhat.com>
9581
9582 * gdb.base/break-main-file-remove-fail.c: New file.
9583 * gdb.base/break-main-file-remove-fail.exp: New file.
9584 * gdb.base/break-unload-file.exp: Use build_executable instead of
9585 prepare_for_testing.
9586 (test_break): New parameter "initial_load". Handle it.
9587 (top level): Add initial_load cmdline/file axis.
9588
9589 2014-06-12 Tom Tromey <tromey@redhat.com>
9590
9591 * gdb.base/completion.exp: Don't use directory name in test.
9592
9593 2014-06-09 Gary Benson <gbenson@redhat.com>
9594
9595 * gdb.base/sigall.c [Functions to send signals]: Reorder to
9596 separate the always-available ANSI-standard signals from the
9597 signals that require checking.
9598 (main): Likewise.
9599 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
9600 Likewise.
9601 (main): Likewise.
9602
9603 2014-06-07 Keith Seitz <keiths@redhat.com>
9604
9605 Revert:
9606 PR c++/16253
9607 * gdb.cp/var-tag.cc: New file.
9608 * gdb.cp/var-tag.exp: New file.
9609 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9610 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9611 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9612 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9613
9614 2014-06-06 Doug Evans <xdje42@gmail.com>
9615
9616 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
9617
9618 2014-06-06 Pedro Alves <palves@redhat.com>
9619
9620 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
9621 in target debug output instead of looking at RSP packets,
9622 disabling the test on any target that uses hardware stepping.
9623 Update comments.
9624
9625 2014-06-06 Pedro Alves <palves@redhat.com>
9626
9627 * gdb.base/break-unload-file.exp: Fix typo.
9628
9629 2014-06-06 Yao Qi <yao@codesourcery.com>
9630
9631 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
9632 from "jit_function" to "^jit_function".
9633
9634 2014-06-06 Yao Qi <yao@codesourcery.com>
9635
9636 * gdb.base/async.c (foo): Add one statement.
9637 * gdb.base/async.exp: Get the next instruction address and
9638 match the output of "nexti" by instruction address. Match
9639 the hex address in the output of "finish".
9640
9641 2014-06-06 Gary Benson <gbenson@redhat.com>
9642
9643 * gdb.base/call-signals.c: Remove preprocessor conditionals
9644 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
9645 SIGSEGV and SIGTERM.
9646 * gdb.base/sigall.c: Likewise.
9647 * gdb.base/unwindonsignal.c: Likewise.
9648 * gdb.reverse/sigall-reverse.c: Likewise.
9649
9650 2014-06-06 Yao Qi <yao@codesourcery.com>
9651
9652 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
9653 readable, skip the test.
9654
9655 2014-06-06 Yao Qi <yao@codesourcery.com>
9656
9657 * gdb.threads/staticthreads.c (thread_function): Move the line
9658 setting breakpoint on forward.
9659 * gdb.threads/staticthreads.exp: Update comments.
9660
9661 2014-06-05 Ludovic Courtès <ludo@gnu.org>
9662
9663 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
9664 "history-append! type error".
9665
9666 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
9667
9668 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
9669 erroneous dprintf expected input.
9670
9671 2014-06-04 Doug Evans <xdje42@gmail.com>
9672
9673 * gdb.guile/scm-generics.exp: Delete.
9674
9675 2014-06-04 Doug Evans <xdje42@gmail.com>
9676
9677 * gdb.guile/scm-breakpoint.exp: Update.
9678 Add tests for breakpoint registration.
9679
9680 2014-06-04 Tom Tromey <tromey@redhat.com>
9681
9682 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
9683 VLA-in-union.
9684 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
9685 inner_vla_struct, vla_union types. Initialize objects of those
9686 types and compute their sizes.
9687
9688 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
9689 Hui Zhu <hui@codesourcery.com>
9690
9691 * gdb.base/fileio.exp: Add test for shell not available as well as
9692 available.
9693 * gdb.base/fileio.c (test_system): Check for shell twice.
9694
9695 2014-06-04 Yao Qi <yao@codesourcery.com>
9696
9697 * gdb.base/auto-connect-native-target.exp: Remove redundant
9698 space from the regexp pattern.
9699
9700 2014-06-04 Yao Qi <yao@codesourcery.com>
9701
9702 * gdb.base/default.exp: Replace "child" with "native" in
9703 regexp pattern.
9704
9705 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
9706
9707 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
9708 * gdb.python/py-xmethods.exp: New tests to test xmethods.
9709 * gdb.python/py-xmethods.py: Python script supporting the
9710 new testcase and tests.
9711
9712 2014-06-03 Joel Brobecker <brobecker@adacore.com>
9713 Pedro Alves <palves@redhat.com>
9714
9715 PR breakpoints/17000
9716 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
9717 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
9718
9719 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
9720
9721 * gdb.base/subst.exp: Add tests to verify partial path matching
9722 output.
9723
9724 2014-06-03 Pedro Alves <palves@redhat.com>
9725
9726 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
9727 target that doesn't use software single-stepping.
9728
9729 2014-06-03 Pedro Alves <palves@redhat.com>
9730
9731 PR breakpoints/17000
9732 * gdb.base/sss-bp-on-user-bp-2.c: New file.
9733 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
9734
9735 2014-06-02 Doug Evans <xdje42@gmail.com>
9736
9737 * gdb.guile/scm-parameter.exp: New file.
9738
9739 2014-06-02 Doug Evans <xdje42@gmail.com>
9740
9741 * gdb.guile/scm-cmd.c: New file.
9742 * gdb.guile/scm-cmd.exp: New file.
9743
9744 2014-06-02 Doug Evans <xdje42@gmail.com>
9745
9746 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
9747 pretty-printer lookup.
9748 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
9749 (make-pp_s-printer): Call it.
9750 (make-pretty-printer-from-dict): New function.
9751 (lookup-pretty-printer-maker-from-dict): New function.
9752 (*pretty-printer*): Simplify.
9753 (make-objfile-pp_s-printer): New function.
9754 (install-objfile-pretty-printers!): New function.
9755 (make-progspace-pp_s-printer): New function.
9756 (install-progspace-pretty-printers!): New function.
9757 * gdb.guile/scm-progspace.c: New file.
9758 * gdb.guile/scm-progspace.exp: New file.
9759
9760 2014-06-02 Pedro Alves <palves@redhat.com>
9761
9762 * gdb.base/dprintf-bp-same-addr.c: New file.
9763 * gdb.base/dprintf-bp-same-addr.exp: New file.
9764
9765 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9766
9767 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
9768 * gdb.arch/powerpc-power.s: Likewise.
9769
9770 2014-06-02 Joel Brobecker <brobecker@adacore.com>
9771
9772 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
9773
9774 2014-06-01 Yao Qi <yao@codesourcery.com>
9775
9776 * gdb.base/watchpoint.exp (test_watch_location): Check null
9777 pointer can be dereferenced. If not, do the test, otherwise
9778 skip it.
9779
9780 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9781
9782 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
9783 results.
9784 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
9785
9786 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9787
9788 * gdb.arch/amd64-invalid-stack-middle.S: New file.
9789 * gdb.arch/amd64-invalid-stack-middle.c: New file.
9790 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
9791 * gdb.arch/amd64-invalid-stack-top.c: New file.
9792 * gdb.arch/amd64-invalid-stack-top.exp: New file.
9793
9794 2014-05-30 Pedro Alves <palves@redhat.com>
9795
9796 PR breakpoints/17000
9797 * gdb.base/sss-bp-on-user-bp.c: New file.
9798 * gdb.base/sss-bp-on-user-bp.exp: New file.
9799
9800 2014-05-30 David Blaikie <dblaikie@gmail.com>
9801
9802 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
9803 gnu_inline semantics via attribute.
9804 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
9805 source explicitly specifies the required semantics.
9806
9807 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
9808
9809 * gdb.reverse/sigall-reverse.exp: Fix a typo.
9810
9811 2014-05-29 Pedro Alves <palves@redhat.com>
9812 Tom Tromey <tromey@redhat.com>
9813
9814 * gdb.base/async-shell.exp: Don't enable target-async.
9815 * gdb.base/async.exp
9816 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
9817 parameter. Adjust.
9818 (top level): Don't test with "target-async".
9819 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
9820 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
9821 * gdb.base/inferior-died.exp: Don't enable target-async.
9822 * gdb.base/interrupt-noterm.exp: Likewise.
9823 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
9824 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9825 * gdb.mi/mi-nonstop.exp: Likewise.
9826 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9827 * gdb.mi/mi-nsintrall.exp: Likewise.
9828 * gdb.mi/mi-nsmoribund.exp: Likewise.
9829 * gdb.mi/mi-nsthrexec.exp: Likewise.
9830 * gdb.mi/mi-watch-nonstop.exp: Likewise.
9831 * gdb.multi/watchpoint-multi.exp: Adjust comment.
9832 * gdb.python/py-evsignal.exp: Don't enable target-async.
9833 * gdb.python/py-evthreads.exp: Likewise.
9834 * gdb.python/py-prompt.exp: Likewise.
9835 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
9836 * gdb.server/solib-list.exp: Don't enable target-async.
9837 * gdb.threads/thread-specific-bp.exp: Likewise.
9838 * lib/mi-support.exp: Adjust to use mi-async.
9839
9840 2014-05-29 Pedro Alves <palves@redhat.com>
9841
9842 PR gdb/13860
9843 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
9844 reason, even in sync mode.
9845
9846 2014-05-29 Pedro Alves <palves@redhat.com>
9847 Hui Zhu <hui@codesourcery.com>
9848
9849 PR PR15693
9850 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
9851 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
9852 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
9853 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
9854
9855 2014-05-28 Joel Brobecker <brobecker@adacore.com>
9856
9857 * config/monitor.exp (gdb_target_monitor): Replace use of
9858 "set remotebaud" by "set serial baud".
9859
9860 2014-05-26 Andy Wingo <wingo@igalia.com>
9861
9862 * gdb.guile/scm-breakpoint.exp:
9863 * gdb.guile/scm-gsmob.exp: Update to use plain old object
9864 properties instead of gdb-object-properties.
9865
9866 2014-05-26 Yao Qi <yao@codesourcery.com>
9867
9868 * gdb.server/no-thread-db.exp: Specify source file name
9869 explicitly when setting a breakpoint.
9870
9871 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9872
9873 * gdb.btrace/vdso.c: New.
9874 * gdb.btrace/vdso.exp: New.
9875
9876 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9877
9878 * gdb.base/gcore.exp (capture_command_output): Move ...
9879 * lib/gdb.exp (capture_command_output): ... here.
9880
9881 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9882
9883 * gdb.btrace/data.exp: Test memory access during btrace replay.
9884
9885 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
9886
9887 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
9888
9889 2014-05-21 Pedro Alves <palves@redhat.com>
9890
9891 PR gdb/13860
9892 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
9893 (top level): Test that output related to execution commands is
9894 sent to the console with CLI commands, but not with MI commands.
9895 Test that breakpoint events are always mirrored to the console.
9896 Also expect the new source line to be output after a "next" in
9897 async mode too. Make it a pass/fail test.
9898 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
9899 output.
9900 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
9901
9902 2014-05-21 Pedro Alves <palves@redhat.com>
9903
9904 * gdb.base/list.exp (build_pattern, test_list): New procedures.
9905 Use them to test variations of "list" after reaching a breakpoint.
9906 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
9907 Test "list" with listsize 10 after reaching a breakpoint.
9908 * gdb.python/python.exp (decode_line current location line
9909 number): Adjust expected line number.
9910
9911 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
9912
9913 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
9914 behavior for $args, pass it directly to "run".
9915
9916 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
9917
9918 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
9919 30000 to 65536.
9920
9921 2014-05-21 Pedro Alves <palves@redhat.com>
9922
9923 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
9924 auto-connect-native-target off".
9925 * gdb.base/auto-connect-native-target.c: New file.
9926 * gdb.base/auto-connect-native-target.exp: New file.
9927
9928 2014-05-21 Pedro Alves <palves@redhat.com>
9929
9930 * gdb.base/default.exp: Test "target native" instead of "target
9931 child".
9932
9933 2014-05-21 Mark Wielaard <mjw@redhat.com>
9934
9935 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9936
9937 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9938
9939 Fix TLS access for -static -pthread.
9940 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
9941 <HAVE_TLS> (thread_function, main): Initialize it.
9942 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
9943 Add clean_restart.
9944 <$have_tls != "">: Check TLSVAR.
9945
9946 2014-05-21 Pedro Alves <palves@redhat.com>
9947
9948 * gdb.base/dcache-line-read-error.c: New.
9949 * gdb.base/dcache-line-read-error.exp: New.
9950
9951 2014-05-20 Pedro Alves <palves@redhat.com>
9952
9953 * gdb.base/compare-sections.c: New file.
9954 * gdb.base/compare-sections.exp: New file.
9955
9956 2014-05-20 Pedro Alves <palves@redhat.com>
9957
9958 * gdb.base/break-idempotent.c: New file.
9959 * gdb.base/break-idempotent.exp: New file.
9960
9961 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
9962
9963 * gdb.btrace/nohist.exp: New.
9964
9965 2014-05-20 Yao Qi <yao@codesourcery.com>
9966
9967 * lib/gdb.exp (gdb_init): Set timeout if test file is under
9968 gdb.reverse directory and gdb_reverse_timeout exists in board
9969 setting.
9970 * README: Document gdb_reverse_timeout.
9971
9972 2014-05-20 Yao Qi <yao@codesourcery.com>
9973
9974 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
9975 'test_file_name'. Treat args as a string instead of a list.
9976 (gdb_init): Rename argument 'args' by 'test_file_name'.
9977
9978 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9979
9980 * gdb.arch/powerpc-power.exp: New file.
9981 * gdb.arch/powerpc-power.s: New file.
9982
9983 2014-05-16 Doug Evans <dje@google.com>
9984
9985 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
9986 * gdb.base/completion.exp: Check that all expected files exist
9987 before doing file completion.
9988
9989 2014-05-16 Doug Evans <dje@google.com>
9990
9991 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
9992 Update.
9993 (do_syscall_tests_without_xml): Update.
9994
9995 2014-05-16 Pedro Alves <palves@redhat.com>
9996
9997 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
9998 instead of "unknown output after running".
9999
10000 2014-05-16 Yao Qi <yao@codesourcery.com>
10001
10002 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
10003 file1.txt from host at the end.
10004 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10005
10006 2014-05-15 Doug Evans <dje@google.com>
10007
10008 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
10009 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
10010 loading file. Add test for TU lookup.
10011
10012 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10013
10014 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
10015 calling "-exec-arguments" or "set args" before running the
10016 inferior.
10017
10018 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10019
10020 * lib/mi-support.exp (mi_expect_stop): Expect message for
10021 inferiors that exit with non-zero exit code.
10022
10023 2014-05-14 Yao Qi <yao@codesourcery.com>
10024
10025 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
10026 match absolute path on remote host.
10027 (test_file_list_exec_source_files): Remove "/" from the
10028 pattern.
10029
10030 2014-05-14 Yao Qi <yao@codesourcery.com>
10031
10032 * boards/local-remote-host-notty.exp (${board}_file): New
10033 proc.
10034
10035 2014-05-07 Kyle McMartin <kyle@redhat.com>
10036
10037 Pushed by Joel Brobecker <brobecker@adacore.com>.
10038 * gdb.arch/aarch64-atomic-inst.c: New file.
10039 * gdb.arch/aarch64-atomic-inst.exp: New file.
10040
10041 2014-05-07 Yao Qi <yao@codesourcery.com>
10042
10043 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
10044 in current context" too.
10045
10046 2014-05-05 Keith Seitz <keiths@redhat.com>
10047
10048 * gdb.linespec/ls-dollar.exp: Add test for linespec
10049 file:convenience_variable.
10050
10051 2014-05-05 Yao Qi <yao@codesourcery.com>
10052
10053 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
10054 traceframes into tfile and ctf trace files. Read data from
10055 trace file and test collected data.
10056 (gdb_collect_locals_test): Likewise.
10057 (gdb_unavailable_registers_test): Likewise.
10058 (gdb_unavailable_floats): Likewise.
10059 (gdb_collect_globals_test): Likewise.
10060 (top-level): Append "ctf" to trace_file_targets if GDB
10061 supports.
10062
10063 2014-05-05 Yao Qi <yao@codesourcery.com>
10064
10065 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
10066 code to ...
10067 (gdb_collect_args_test_1): ... it. New proc.
10068 (gdb_collect_locals_test): Move some code to ...
10069 (gdb_collect_locals_test_1): ... it. New proc.
10070 (gdb_unavailable_registers_test): Move some code to ...
10071 (gdb_unavailable_registers_test_1): ... it. New proc.
10072 (gdb_unavailable_floats): Move some code to ...
10073 (gdb_unavailable_floats_1): ... it. New proc.
10074
10075 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10076
10077 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
10078 probes to test for bitness recognition.
10079 * gdb.arch/amd64-stap-optional-prefix.exp
10080 (test_probe_value_without_reg): New procedure.
10081 Add code to test for different kinds of bitness.
10082
10083 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10084
10085 PR breakpoints/16889
10086 * gdb.arch/amd64-stap-optional-prefix.S: New file.
10087 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10088
10089 2014-05-01 Pedro Alves <palves@redhat.com>
10090
10091 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
10092 gdb_file_cmd if no file is specified.
10093 * boards/native-extended-gdbserver.exp (gdb_load): Use the
10094 last_loaded_file to set the remote exec-file.
10095
10096 2014-05-01 Pedro Alves <palves@redhat.com>
10097
10098 * boards/local-remote-host.exp: New file.
10099
10100 2014-05-01 Pedro Alves <palves@redhat.com>
10101
10102 * boards/local-remote-host.exp: Rename to ...
10103 * boards/local-remote-host-notty.exp: ... this.
10104
10105 2014-04-28 Joel Brobecker <brobecker@adacore.com>
10106
10107 * gdb.ada/dyn_arrayidx: New testcase.
10108
10109 2014-04-26 Yao Qi <yao@codesourcery.com>
10110
10111 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
10112 and compute the length of function main. Save it in
10113 $main_length.
10114 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
10115 (top-level): Use gdb_compile to compile objects into
10116 executable and restart GDB. Remove invocation to
10117 prepare_for_testing.
10118
10119 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
10120 Pedro Alves <palves@redhat.com>
10121
10122 PR server/16255
10123 * gdb.multi/multi-attach.c: New file.
10124 * gdb.multi/multi-attach.exp: New file.
10125
10126 2014-04-25 Pedro Alves <palves@redhat.com>
10127
10128 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
10129 user.
10130 (top level): Test that "set remote conditional-breakpoints-packet
10131 off" works as intended.
10132 * gdb.base/dprintf.exp: Test that "set remote
10133 breakpoint-commands-packet off" works as intended.
10134 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
10135 New function.
10136 (top level): Call it.
10137 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
10138 remote fast-tracepoints-packet off" works as intended.
10139 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
10140 * lib/gdb.exp (gdb_is_target_remote): ... here.
10141
10142 2014-04-24 David Blaikie <dblaikie@gmail.com>
10143
10144 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
10145 ensure clang would not discard them.
10146 * gdb.base/gdbvars.c: Ditto.
10147 * gdb.base/memattr.c: Ditto.
10148 * gdb.base/whatis.c: Ditto.
10149 * gdb.python/py-prettyprint.c: Ditto.
10150 * gdb.trace/actions.c: Ditto.
10151 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
10152 ensure clang would not discard it.
10153
10154 2014-04-24 David Blaikie <dblaikie@gmail.com>
10155
10156 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
10157 clang to emit the full definition of type required by the test
10158 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
10159
10160 2014-04-24 David Blaikie <dblaikie@gmail.com>
10161
10162 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
10163 coax Clang into emitting the definition of the type.
10164 * gdb.cp/pr10728-x.h (y): Ditto.
10165 * gdb.cp/pr10728-y.cc (y): Ditto.
10166
10167 2014-04-24 David Blaikie <dblaikie@gmail.com>
10168
10169 * gdb.base/label.exp: XFAIL label related tests under Clang.
10170 * gdb.cp/cplabel.exp: Ditto.
10171 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
10172 under Clang those using labels.
10173
10174 2014-04-25 Yao Qi <yao@codesourcery.com>
10175
10176 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
10177 double_label.
10178 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
10179 partial_label and double_label.
10180
10181 2014-04-24 David Blaikie <dblaikie@gmail.com>
10182
10183 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
10184
10185 2014-04-24 David Blaikie <dblaikie@gmail.com>
10186
10187 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
10188 of the function to work across GCC and Clang.
10189 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
10190 pointer types (const void ** const V void **).
10191
10192 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
10193 Walfred Tedeschi <walfred.tedeschi@intel.com>
10194
10195 * Makefile.in (EXECUTABLES): Added i386-avx512.
10196 * gdb.arch/i386-avx512.c: New file.
10197 * gdb.arch/i386-avx512.exp: Likewise.
10198
10199 2014-04-23 Keith Seitz <keiths@redhat.com>
10200
10201 * lib/mi-support.exp (mi_list_breakpoints): Delete.
10202 (mi_make_breakpoint_table): New procedure.
10203 (mi_create_breakpoint): Use mi_make_breakpoint
10204 and return the result.
10205 (mi_make_breakpoint): New procedure.
10206 (mi_build_kv_pairs): New procedure.
10207
10208 * gdb.mi/mi-break.exp: Remove unused globals,
10209 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
10210 All callers updated.
10211 * gdb.mi/mi-dprintf.exp: Use variable to track command
10212 number.
10213 Update all callers of mi_create_breakpoint and use
10214 mi_make_breakpoint_table.
10215 Remove any unused global variables.
10216 * gdb.mi/mi-nonstop.exp: Likewise.
10217 * gdb.mi/mi-nsintrall.exp: Likewise.
10218 * gdb.mi/mi-nsmoribund.exp: Likewise.
10219 * gdb.mi/mi-nsthrexec.exp: Likewise.
10220 * gdb.mi/mi-reverse.exp: Likewise.
10221 * gdb.mi/mi-simplerun.exp: Likewise.
10222 * gdb.mi/mi-stepn.exp: Likewise.
10223 * gdb.mi/mi-syn-frame.exp: Likewise.
10224 * gdb.mi/mi-until.exp: Likewise.
10225 * gdb.mi/mi-var-cp.exp: Likewise.
10226 * gdb.mi/mi-var-display.exp: Likewise.
10227 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
10228 * gdb.mi/mi2-var-child.exp: Likewise.
10229 * gdb.mi/mi-vla-c99.exp: Likewise.
10230 * lib/mi-support.exp: Likewise.
10231
10232 From Ian Lance Taylor <iant@cygnus.com>:
10233 * lib/gdb.exp (parse_args): New procedure.
10234
10235 2014-04-23 Pedro Alves <palves@redhat.com>
10236
10237 * gdb.base/break-unload-file.c: New file.
10238 * gdb.base/break-unload-file.exp: New file.
10239 * gdb.base/sym-file-lib.c (baz): New function.
10240 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
10241 field.
10242 (load): Store the segment's mapped size.
10243 (unload): New function.
10244 (unload_shlib): New function.
10245 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
10246 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
10247 set a breakpoint at baz, and call it.
10248 * gdb.base/sym-file.exp: New tests for stale breakpoint
10249 instructions.
10250
10251 2014-04-23 Pedro Alves <palves@redhat.com>
10252
10253 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
10254 * gdb.base/hbreak-in-shr-unsupported.c: New file.
10255 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
10256 * gdb.base/hbreak-unmapped.c: New file.
10257 * gdb.base/hbreak-unmapped.exp: New file.
10258 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
10259 * lib/gdb.exp (gdb_is_target_remote): ... here.
10260
10261 2014-04-22 Pedro Alves <palves@redhat.com>
10262
10263 * gdb.base/consecutive-step-over.c: New file.
10264 * gdb.base/consecutive-step-over.exp: New file.
10265
10266 2014-04-22 Pedro Alves <palves@redhat.com>
10267
10268 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
10269 instead of send_gdb/gdb_expect.
10270
10271 2014-04-22 Yao Qi <yao@codesourcery.com>
10272
10273 * lib/trace-support.exp (generate_tracefile): New procedure.
10274 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
10275 return 0.
10276 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
10277 if generate_tracefile returns 1.
10278
10279 2014-04-18 Tom Tromey <palves@redhat.com>
10280 Pedro alves <tromey@redhat.com>
10281
10282 PR backtrace/15558
10283 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
10284 with a backtrace limit.
10285 * gdb.python/py-frame-inline.exp: Test running to an inline
10286 function with a backtrace limit, and printing the newest frame.
10287 * gdb.python/py-frame-inline.c (main): Call f.
10288
10289 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10290
10291 * gdb.java/jnpe.exp: Drop srcdir from untested path.
10292
10293 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10294
10295 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
10296 Drop prefix from unsupported source file path.
10297
10298 2014-04-17 Yao Qi <yao@codesourcery.com>
10299
10300 * lib/gdb.exp (with_target_charset): New proc.
10301 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10302 with_target_charset.
10303 (test_print_strings): Likewise.
10304 (test_repeat_bytes): Likewise.
10305 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10306 for some tests.
10307
10308 2014-04-16 Keith Seitz <keiths@redhat.com>
10309
10310 PR gdb/15827
10311 * gdb.dwarf2/corrupt.c: New file.
10312 * gdb.dwarf2/corrupt.exp: New file.
10313
10314 2014-04-16 Keith Seitz <keiths@redhat.com>
10315
10316 PR c++/16597
10317 * gdb.cp/namelessclass.cc: New file.
10318 * gdb.cp/namelessclass.exp: New file.
10319 * gdb.cp/namelessclass.S: New file.
10320
10321 2014-04-16 Doug Evans <dje@google.com>
10322
10323 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10324 Add comment.
10325 (gdbserver_default_get_comm_port): New function.
10326 (gdbserver_start): Check if board file provided
10327 "gdbserver,get_comm_port" and use it if so.
10328 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10329 (gdb,socketport): Set to "stdio".
10330 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10331 (stdio_gdbserver_template): Delete.
10332 (${board}_get_remote_address): Update.
10333 (${board}_build_remote_cmd): Delete.
10334 (${board}_get_comm_port): New function.
10335 (${board}_spawn): Update.
10336 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10337 Delete.
10338 (${board}_get_remote_address): Update.
10339 (${board}_get_comm_port): New function.
10340
10341 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
10342
10343 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10344 appearing in any order.
10345
10346 2014-04-15 Doug Evans <dje@google.com>
10347
10348 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10349 uninitialized value of "description".
10350
10351 2014-04-15 Keith Seitz <keiths@redhat.com>
10352
10353 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10354 Remove unused globals.
10355 (test_running_the_program): Likewise.
10356 (test_controlled_execution): Likewise.
10357 (test_controlling_breakpoints): Likewise.
10358 (test_program_termination): Likewise.
10359
10360 2014-04-15 Keith Seitz <keiths@redhat.com>
10361
10362 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10363 unused globals.
10364 (test_rbreak_creation_and_listing): Likewise.
10365 (test_ignore_count): Likewise.
10366 (test_error): Likewise.
10367
10368 2014-04-15 Pedro Alves <palves@redhat.com>
10369
10370 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10371 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10372 sym-file-loader.c.
10373 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10374 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10375 to sym-file-loader.c.
10376 (struct library): Forward declare.
10377 (load_shlib, lookup_function): Change prototypes.
10378 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10379 (translate_offset): Remove declarations.
10380 (get_text_addr): New declaration.
10381 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10382 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10383 sym-file-loader.h.
10384 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10385 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10386 here from sym-file-loader.h.
10387 (struct library): New structure.
10388 (load_shlib, lookup_function): Change prototypes and adjust to
10389 work with a struct library.
10390 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10391 (translate_offset): Make static.
10392 (get_text_addr): New function.
10393 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
10394
10395 2014-04-15 Pedro Alves <palves@redhat.com>
10396
10397 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
10398
10399 2014-04-15 Pedro Alves <palves@redhat.com>
10400
10401 * gdb.base/sym-file-loader.c: Include <limits.h>.
10402 (SELF_LINK): New define.
10403 (get_origin): New function.
10404 (load_shlib): Use it.
10405 * gdb.base/sym-file.exp: Don't early return if the target is
10406 remote. Use runto_main, and issue fail is that fails. Use
10407 gdb_load_shlibs.
10408 (shlib_name): Delete.
10409 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
10410
10411 2014-04-15 Pedro Alves <palves@redhat.com>
10412
10413 * gdb.base/sym-file.exp: Remove regex characters from test
10414 message. Don't refer to breakpoint numbers in test messages.
10415
10416 2014-04-14 Keith Seitz <keiths@redhat.com>
10417
10418 PR c++/16253
10419 * gdb.cp/var-tag.cc: New file.
10420 * gdb.cp/var-tag.exp: New file.
10421 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10422 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10423 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10424 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10425
10426 2014-04-14 Tom Tromey <tromey@redhat.com>
10427
10428 * gdb.cp/classes.exp (test_enums): Handle underlying type.
10429 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
10430 type.
10431 * gdb.cp/enum-class.exp: New file.
10432 * gdb.cp/enum-class.cc: New file.
10433
10434 2014-04-14 Tom Tromey <tromey@redhat.com>
10435
10436 * gdb.dwarf2/enum-type.exp: New file.
10437
10438 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10439
10440 * gdb.mi/mi-vla-c99.exp: New file.
10441 * gdb.mi/vla.c: New file.
10442
10443 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10444
10445 * gdb.base/vla-datatypes.c: New file.
10446 * gdb.base/vla-datatypes.exp: New file.
10447
10448 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10449
10450 * gdb.base/vla-ptr.c: New file.
10451 * gdb.base/vla-ptr.exp: New file.
10452
10453 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10454
10455 * gdb.dwarf2/count.exp: New file.
10456
10457 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10458
10459 * gdb.base/vla-sideeffect.c: New file.
10460 * gdb.base/vla-sideeffect.exp: New file.
10461
10462 2014-04-14 David Blaikie <dblaikie@gmail.com>
10463
10464 * gdb.mi/non-stop.c: Add return value for non-void function return
10465 statement.
10466 * gdb.threads/staticthreads.c: Ditto.
10467
10468 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
10469 Doug Evans <xdje42@gmail.com>
10470
10471 * gdb.guile/scm-value.c: Improve test case.
10472 * gdb.guile/scm-value.exp: Add new test.
10473
10474 2014-04-11 David Blaikie <dblaikie@gmail.com>
10475
10476 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
10477 override Clang's default.
10478
10479 2014-04-11 Joel Brobecker <brobecker@adacore.com>
10480
10481 Revert the following changes (regressions):
10482
10483 * gdb.base/vla-sideeffect.c: New file.
10484 * gdb.base/vla-sideeffect.exp: New file.
10485
10486 * gdb.dwarf2/count.exp: New file.
10487
10488 * gdb.base/vla-multi.c: New file.
10489 * gdb.base/vla-multi.exp: New file.
10490
10491 * gdb.base/vla-ptr.c: New file.
10492 * gdb.base/vla-ptr.exp: New file.
10493
10494 * gdb.base/vla-datatypes.c: New file.
10495 * gdb.base/vla-datatypes.exp: New file.
10496
10497 * gdb.mi/mi-vla-c99.exp: New file.
10498 * gdb.mi/vla.c: New file.
10499
10500 2014-04-11 Keith Seitz <keiths@redhat.com>
10501
10502 PR c++/16675
10503 * gdb.cp/cpsizeof.exp: New file.
10504 * gdb.cp/cpsizeof.cc: New file.
10505
10506 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10507
10508 * gdb.mi/mi-vla-c99.exp: New file.
10509 * gdb.mi/vla.c: New file.
10510
10511 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10512
10513 * gdb.base/vla-datatypes.c: New file.
10514 * gdb.base/vla-datatypes.exp: New file.
10515
10516 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10517
10518 * gdb.base/vla-ptr.c: New file.
10519 * gdb.base/vla-ptr.exp: New file.
10520
10521 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10522
10523 * gdb.base/vla-multi.c: New file.
10524 * gdb.base/vla-multi.exp: New file.
10525
10526 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10527
10528 * gdb.dwarf2/count.exp: New file.
10529
10530 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10531
10532 * gdb.base/vla-sideeffect.c: New file.
10533 * gdb.base/vla-sideeffect.exp: New file.
10534
10535 2014-04-11 Yao Qi <yao@codesourcery.com>
10536
10537 * gdb.base/completion.exp: Check file exists before running tests
10538 on file completion.
10539
10540 2014-04-10 Pedro Alves <palves@redhat.com>
10541
10542 * gdb.base/cond-eval-mode.c: New file.
10543 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
10544 prepare_for_testing to build the new file. Check result of
10545 runto_main.
10546 (test_break, test_watch): New procedures.
10547 (top level): Use them.
10548
10549 2014-04-08 Pierre Muller <muller@sourceware.org>
10550
10551 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
10552 Ctrl-V use for mingw hosts.
10553
10554 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
10555
10556 * gdb.python/py-value.c: Improve test case.
10557 * gdb.python/py-value.exp: Add new test.
10558
10559 2014-04-07 David Blaikie <dblaikie@gmail.com>
10560
10561 * lib/compiler.c: Identify the clang compiler.
10562 * lib/compiler.cc: Ditto.
10563
10564 2014-04-03 Yao Qi <yao@codesourcery.com>
10565
10566 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
10567
10568 2014-04-01 Anton Blanchard <anton@samba.org>
10569
10570 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
10571 messages unique.
10572
10573 2014-04-01 Anton Blanchard <anton@samba.org>
10574
10575 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
10576 prepare_for_testing.
10577
10578 2014-04-01 Anton Blanchard <anton@samba.org>
10579
10580 * gdb.arch/ppc64-atomic-inst.c: Remove.
10581 * gdb.arch/ppc64-atomic-inst.S: New file.
10582 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
10583
10584 2014-03-31 Doug Evans <dje@google.com>
10585
10586 * gdb.base/print-symbol-loading-lib.c: New file.
10587 * gdb.base/print-symbol-loading-main.c: New file.
10588 * gdb.base/print-symbol-loading.exp: New file.
10589
10590 2014-03-31 Yao Qi <yao@codesourcery.com>
10591
10592 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
10593
10594 2014-03-28 Joel Brobecker <brobecker@adacore.com>
10595
10596 * gdb.ada/mi_dyn_arr: New testcase.
10597
10598 2014-03-27 Doug Evans <dje@google.com>
10599
10600 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
10601
10602 2014-03-27 Yao Qi <yao@codesourcery.com>
10603
10604 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
10605 if target is nios2-*-*.
10606
10607 2014-03-26 Yao Qi <yao@codesourcery.com>
10608
10609 * lib/gdb.exp (readline_is_used): New proc.
10610 * gdb.base/completion.exp: Move tests on command complete up.
10611 Skip the rest of tests if readline is not used.
10612 * gdb.ada/complete.exp: Skp the test if readline is not
10613 used.
10614 * gdb.base/filesym.exp: Likewise.
10615 * gdb.base/macscp.exp: Likewise.
10616 * gdb.base/readline-ask.exp: Likewise.
10617 * gdb.base/readline.exp: Likewise.
10618 * gdb.python/py-cmd.exp: Likewise.
10619 * gdb.trace/tfile.exp: Likewise.
10620
10621 2014-03-26 Yao Qi <yao@codesourcery.com>
10622
10623 * gdb.base/macscp.exp: Fix code format issues.
10624
10625 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
10626
10627 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
10628 * gdb.asm/powerpc64le.inc: New file.
10629
10630 2014-03-25 Pedro Alves <palves@redhat.com>
10631 Doug Evans <dje@google.com>
10632
10633 * gdb.base/source-execution.c: New file.
10634 * gdb.base/source-execution.exp: New file.
10635 * gdb.base/source-execution.gdb: New file.
10636
10637 2014-03-24 Doug Evans <dje@google.com>
10638
10639 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
10640 using fission.
10641
10642 2014-03-24 Hui Zhu <hui@codesourcery.com>
10643 Pedro Alves <palves@redhat.com>
10644
10645 PR breakpoints/16101
10646 * gdb.base/dprintf.exp: Use unsupported rather than changing the
10647 test pass/fail messages. Detect missing support for dprintf when
10648 breakpoints are actually inserted.
10649 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
10650 breakpoints are actually inserted.
10651 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
10652 fails.
10653
10654 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10655
10656 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
10657
10658 2014-03-22 Doug Evans <xdje42@gmail.com>
10659
10660 * gdb.python/python.exp (python not supported): Verify multi-line
10661 python command issues an error.
10662 * gdb.guile/guile.exp (guile not supported): Verify multi-line
10663 guile command issues an error.
10664
10665 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
10666
10667 * gdb.threads/thread-specific.exp: Handle the lack of usable
10668 $this_breakpoint and $this_thread.
10669
10670 2014-03-21 Hui Zhu <hui@codesourcery.com>
10671
10672 * gdb.base/attach.exp (do_command_attach_tests): New.
10673
10674 2014-03-20 Tom Tromey <tromey@redhat.com>
10675 Pedro Alves <palves@redhat.com>
10676
10677 PR cli/15718
10678 * gdb.base/condbreak-call-false.c: New file.
10679 * gdb.base/condbreak-call-false.exp: New file.
10680
10681 2014-03-20 Pedro Alves <palves@redhat.com>
10682
10683 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
10684 Delete.
10685 (block_signals, unblock_signals): Delete.
10686 (child_function_2, main): Remove references to deleted variable
10687 and functions.
10688
10689 2014-03-20 Pedro Alves <palves@redhat.com>
10690
10691 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
10692 Use pthread_kill to signal thread 2.
10693 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10694 Adjust to make the test send itself a signal rather than using the
10695 host's "kill" command.
10696
10697 2014-03-20 Pedro Alves <palves@redhat.com>
10698
10699 * gdb.threads/multiple-step-overs.c: New file.
10700 * gdb.threads/multiple-step-overs.exp: New file.
10701 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10702 Adjust expected infrun debug output.
10703
10704 2014-03-20 Pedro Alves <palves@redhat.com>
10705
10706 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
10707 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
10708
10709 2014-03-20 Pedro Alves <palves@redhat.com>
10710
10711 PR breakpoints/7143
10712 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
10713 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
10714 of gdb_test_multiple.
10715 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
10716 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
10717
10718 2014-03-20 Pedro Alves <palves@redhat.com>
10719
10720 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
10721 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
10722
10723 2014-03-19 Pedro Alves <palves@redhat.com>
10724
10725 * gdb.base/async.exp: Remove early return.
10726
10727 2014-03-19 Pedro Alves <palves@redhat.com>
10728
10729 * gdb.base/async.exp (step& tests): Pass explicit test messages.
10730
10731 2014-03-19 Pedro Alves <palves@redhat.com>
10732
10733 * gdb.base/async.exp (test_background): Expect \r\n after
10734 "completed." in the fail pattern.
10735
10736 2014-03-19 Pedro Alves <palves@redhat.com>
10737
10738 * gdb.base/async.exp (test_background): New procedure.
10739 Use it for all background execution command tests.
10740
10741 2014-03-19 Pedro Alves <palves@redhat.com>
10742
10743 * gdb.base/async.exp: Use prepare_for_testing.
10744
10745 2014-03-19 Pedro Alves <palves@redhat.com>
10746
10747 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
10748 the same line.
10749
10750 2014-03-19 Pedro Alves <palves@redhat.com>
10751
10752 * gdb.base/async.c (main): Add "jump here" and "until here" line
10753 marker comments.
10754 * gdb.base/async.exp (jump_here): New global.
10755 (jump& test): Use it.
10756 (until_here): New global.
10757 (until& test): Use it.
10758
10759 2014-03-19 Pedro Alves <palves@redhat.com>
10760
10761 * gdb.base/async.exp: Don't frob gdb_protocol.
10762
10763 2014-03-18 Doug Evans <xdje42@gmail.com>
10764
10765 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
10766 Fix spelling of exec-done-display.
10767
10768 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10769
10770 PR gdb/15358
10771 * gdb.base/gdb-sigterm.c: New file.
10772 * gdb.base/gdb-sigterm.exp: New file.
10773
10774 2014-03-18 Pedro Alves <palves@redhat.com>
10775
10776 PR gdb/13860
10777 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
10778 * lib/mi-support.exp (mi_expect_stop): Add special handling for
10779 solib-event.
10780
10781 2014-03-17 Joel Brobecker <brobecker@adacore.com>
10782
10783 * gdb.ada/pckd_arr_ren: New testcase.
10784
10785 2014-03-13 Doug Evans <xdje42@gmail.com>
10786
10787 PR guile/16612
10788 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
10789 collect after discarding symbols.
10790
10791 2014-03-13 Ludovic Courtès <ludo@gnu.org>
10792 Doug Evans <xdje42@gmail.com>
10793
10794 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
10795 to history survives a gc.
10796
10797 2014-03-13 Pedro Alves <palves@redhat.com>
10798
10799 * gdb.base/default.exp: Don't test "target procfs".
10800
10801 2014-03-13 Pedro Alves <palves@redhat.com>
10802
10803 * gdb.base/default.exp: Update "target child" and "target procfs"
10804 tests to not expect "Unix".
10805
10806 2014-03-12 Tom Tromey <tromey@redhat.com>
10807
10808 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
10809 New procs. Add target-async tests.
10810 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
10811 Add target-async tests.
10812
10813 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10814
10815 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
10816 'func_start' and 'func_end' for the beginning and end of the
10817 function code, respectively.
10818 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
10819 'func_end' instead of 'func' and 'main'.
10820
10821 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10822
10823 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
10824 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
10825 generate the debug info assembler source.
10826
10827 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10828
10829 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
10830 * gdb.dwarf2/arr-subrange.exp: Likewise.
10831 * gdb.dwarf2/dwz.exp: Likewise.
10832 * gdb.dwarf2/method-ptr.exp: Likewise.
10833 * gdb.dwarf2/missing-sig-type.exp: Likewise.
10834 * gdb.dwarf2/subrange.exp: Likewise.
10835 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
10836 * gdb.dwarf2/implptrpiece.exp: Likewise.
10837 * gdb.dwarf2/nostaticblock.exp: Likewise.
10838
10839 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10840
10841 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
10842 directory to absolute path name arguments.
10843
10844 2014-03-10 Joel Brobecker <brobecker@adacore.com>
10845
10846 * gdb.ada/tagged_access: New testcase.
10847
10848 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
10849
10850 * gdb.btrace/data.exp: Update expected output.
10851
10852 2014-03-06 Yao Qi <yao@codesourcery.com>
10853
10854 * gdb.trace/pr16508.exp: New file.
10855
10856 2014-03-05 Pedro Alves <palves@redhat.com>
10857
10858 PR gdb/16575
10859 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
10860 procedure.
10861 (top level): Adjust to use it. Add tests that exercise breakpoint
10862 interaction with the code-cache.
10863
10864 2014-02-26 Ludovic Courtès <ludo@gnu.org>
10865
10866 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
10867 test for 'history-append!'.
10868
10869 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10870
10871 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
10872 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
10873 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
10874 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
10875 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
10876 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
10877
10878 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10879
10880 * testsuite/gdb.python/py-pp-re-notag.c: New file.
10881 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
10882 * testsuite/gdb.python/py-pp-re-notag.p: New file.
10883
10884 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10885
10886 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
10887
10888 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10889
10890 * gdb.dwarf2/arr-stride.c: New file.
10891 * gdb.dwarf2/arr-stride.exp: New file.
10892
10893 2014-02-26 Pedro Alves <palves@redhat.com>
10894
10895 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
10896 that won't ever trigger. Make sure that GDB reports the correct
10897 breakpoint that caused the stop.
10898
10899 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10900
10901 PR gdb/16626
10902 * gdb.base/auto-load-script: New file.
10903 * gdb.base/auto-load.c: New file.
10904 * gdb.base/auto-load.exp: New file.
10905
10906 PR gdb/16626
10907 * gdb.base/auto-load.exp: Fix out-of-srctree run.
10908
10909 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10910
10911 Fix dw2-icycle.exp -fsanitize=address GDB crash.
10912 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
10913
10914 2014-02-24 Doug Evans <dje@google.com>
10915
10916 * lib/gdb.exp (run_on_host): Log error output if program fails.
10917
10918 2014-02-21 Pedro Alves <palves@redhat.com>
10919
10920 * gdb.threads/step-after-sr-lock.c: Rename to ...
10921 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
10922 * gdb.threads/step-after-sr-lock.exp: Rename to ...
10923 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10924 ... this.
10925
10926 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
10927
10928 PR tdep/16397
10929 * gdb.arch/amd64-stap-special-operands.exp: New file.
10930 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
10931 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
10932 * gdb.arch/amd64-stap-triplet.S: Likewise.
10933 * gdb.arch/amd64-stap-triplet.c: Likewise.
10934
10935 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10936
10937 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
10938 in .section pseudo-op.
10939
10940 2014-02-20 lin zuojian <manjian2006@gmail.com>
10941 Joel Brobecker <brobecker@adacore.com>
10942 Doug Evans <xdje42@gmail.com>
10943
10944 PR symtab/16581
10945 * gdb.dwarf2/dw2-icycle.S: New file.
10946 * gdb.dwarf2/dw2-icycle.c: New file.
10947 * gdb.dwarf2/dw2-icycle.exp: New file.
10948
10949 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
10950
10951 * gdb.python/py-value-cc.cc: Improve test case to enable testing
10952 operations on gdb.Value objects.
10953 * gdb.python/py-value-cc.exp: Add new test to test operations on
10954 gdb.Value objects.
10955
10956 2014-02-18 Doug Evans <dje@google.com>
10957
10958 * Makefile.in (TESTS): New variable.
10959 (expanded_tests, expanded_tests_or_none): New variables
10960 (check-single): Pass $(expanded_tests_or_none) to runtest.
10961 (check-parallel): Only run tests in $(TESTS) if non-empty.
10962 (check/no-matching-tests-found): New rule.
10963 * README: Document TESTS makefile variable.
10964
10965 2014-02-18 Doug Evans <dje@google.com>
10966
10967 * Makefile.in (check-parallel): rm -rf outputs temp.
10968
10969 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10970
10971 Fix "ERROR: no fileid for" in the testsuite.
10972 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
10973
10974 2014-02-12 Doug Evans <dje@google.com>
10975
10976 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
10977 (MISCELLANEOUS): New variable.
10978 (clean): rm -rf $(MISCELLANEOUS).
10979 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
10980 dwp live in the same directory as symlinks, with each symlink pointed
10981 to a differently named file in a different directory.
10982
10983 2014-02-11 Doug Evans <dje@google.com>
10984
10985 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
10986 of Tcl file commands.
10987
10988 2014-02-10 Mark Kettenis <kettenis@gnu.org>
10989
10990 * gdb.threads/step-after-sr-lock.exp: Avoid executing
10991 "kill -SIGUSR1 -1".
10992
10993 2014-02-10 Joel Brobecker <brobecker@adacore.com>
10994
10995 * gdb.ada/tick_length_array_enum_idx: New testcase.
10996
10997 2014-02-10 Doug Evans <xdje42@gmail.com>
10998
10999 * configure.ac (AC_OUTPUT): Add gdb.guile.
11000 * configure: Regenerate.
11001 * lib/gdb-guile.exp: New file.
11002 * lib/gdb.exp (get_target_charset): New function.
11003 * gdb.base/help.exp: Update expected output from "apropos apropos".
11004 * gdb.guile/Makefile.in: New file.
11005 * gdb.guile/guile.exp: New file.
11006 * gdb.guile/scm-arch.c: New file.
11007 * gdb.guile/scm-arch.exp: New file.
11008 * gdb.guile/scm-block.c: New file.
11009 * gdb.guile/scm-block.exp: New file.
11010 * gdb.guile/scm-breakpoint.c: New file.
11011 * gdb.guile/scm-breakpoint.exp: New file.
11012 * gdb.guile/scm-disasm.c: New file.
11013 * gdb.guile/scm-disasm.exp: New file.
11014 * gdb.guile/scm-equal.c: New file.
11015 * gdb.guile/scm-equal.exp: New file.
11016 * gdb.guile/scm-error.exp: New file.
11017 * gdb.guile/scm-error.scm: New file.
11018 * gdb.guile/scm-frame-args.c: New file.
11019 * gdb.guile/scm-frame-args.exp: New file.
11020 * gdb.guile/scm-frame-args.scm: New file.
11021 * gdb.guile/scm-frame-inline.c: New file.
11022 * gdb.guile/scm-frame-inline.exp: New file.
11023 * gdb.guile/scm-frame.c: New file.
11024 * gdb.guile/scm-frame.exp: New file.
11025 * gdb.guile/scm-generics.exp: New file.
11026 * gdb.guile/scm-gsmob.exp: New file.
11027 * gdb.guile/scm-iterator.c: New file.
11028 * gdb.guile/scm-iterator.exp: New file.
11029 * gdb.guile/scm-math.c: New file.
11030 * gdb.guile/scm-math.exp: New file.
11031 * gdb.guile/scm-objfile-script-gdb.in: New file.
11032 * gdb.guile/scm-objfile-script.c: New file.
11033 * gdb.guile/scm-objfile-script.exp: New file.
11034 * gdb.guile/scm-objfile.c: New file.
11035 * gdb.guile/scm-objfile.exp: New file.
11036 * gdb.guile/scm-ports.exp: New file.
11037 * gdb.guile/scm-pretty-print.c: New file.
11038 * gdb.guile/scm-pretty-print.exp: New file.
11039 * gdb.guile/scm-pretty-print.scm: New file.
11040 * gdb.guile/scm-section-script.c: New file.
11041 * gdb.guile/scm-section-script.exp: New file.
11042 * gdb.guile/scm-section-script.scm: New file.
11043 * gdb.guile/scm-symbol.c: New file.
11044 * gdb.guile/scm-symbol.exp: New file.
11045 * gdb.guile/scm-symtab-2.c: New file.
11046 * gdb.guile/scm-symtab.c: New file.
11047 * gdb.guile/scm-symtab.exp: New file.
11048 * gdb.guile/scm-type.c: New file.
11049 * gdb.guile/scm-type.exp: New file.
11050 * gdb.guile/scm-value-cc.cc: New file.
11051 * gdb.guile/scm-value-cc.exp: New file.
11052 * gdb.guile/scm-value.c: New file.
11053 * gdb.guile/scm-value.exp: New file.
11054 * gdb.guile/source2.scm: New file.
11055 * gdb.guile/types-module.cc: New file.
11056 * gdb.guile/types-module.exp: New file.
11057
11058 2014-02-10 Yao Qi <yao@codesourcery.com>
11059
11060 PR testsuite/16543
11061 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
11062 * configure: Regenerated.
11063 * Makefile.in: New file.
11064
11065 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11066
11067 * gdb.python/py-framefilter.exp: Fix typo.
11068
11069 2014-02-08 Yao Qi <yao@codesourcery.com>
11070
11071 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
11072 that no =breakpoint-modified is emitted when breakpoints are
11073 modified through MI commands.
11074
11075 2014-02-07 Pedro Alves <pedro@codesourcery.com>
11076 Pedro Alves <palves@redhat.com>
11077
11078 * gdb.threads/step-after-sr-lock.c: New file.
11079 * gdb.threads/step-after-sr-lock.exp: New file.
11080
11081 2014-02-07 Pedro Alves <palves@redhat.com>
11082
11083 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
11084
11085 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11086
11087 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
11088 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
11089
11090 2014-02-06 Doug Evans <xdje42@gmail.com>
11091
11092 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
11093 output.
11094
11095 * gdb.gdb/python-interrupts.exp: New file.
11096
11097 2014-02-05 Yao Qi <yao@codesourcery.com>
11098
11099 * gdb.trace/report.exp (use_collected_data): Test the output
11100 of "info threads" and "info inferiors".
11101
11102 2014-02-05 Yao Qi <yao@codesourcery.com>
11103
11104 Revert this patch:
11105
11106 2013-05-24 Yao Qi <yao@codesourcery.com>
11107
11108 * gdb.trace/tfile.exp: Test inferior and thread.
11109
11110 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11111
11112 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
11113 on a function.
11114 * gdb.base/step-bt.c: Call hello via function pointer to make
11115 sure its first instruction is executed on powerpc64le-linux.
11116
11117 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11118
11119 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
11120
11121 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11122
11123 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
11124 of the test patterns for use on little-endian systems.
11125
11126 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11127
11128 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
11129 (decimal_vector): Fix for little-endian.
11130
11131 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11132
11133 * gdb.arch/sparc-sysstep.exp: New file.
11134 * gdb.arch/sparc-sysstep.c: Likewise.
11135
11136 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
11137
11138 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11139
11140 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
11141
11142 2014-01-23 Tom Tromey <tromey@redhat.com>
11143
11144 * gdb.ada/array_char_idx: New testcase.
11145
11146 2014-01-23 Tom Tromey <tromey@redhat.com>
11147
11148 PR python/16487:
11149 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
11150 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
11151 classes.
11152
11153 2014-01-23 Tom Tromey <tromey@redhat.com>
11154
11155 PR python/16491:
11156 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
11157 string from an inferior frame.
11158 * gdb.python/py-framefilter-mi.exp: Update.
11159
11160 2014-01-22 Doug Evans <dje@google.com>
11161
11162 * gdb.server/server-mon.exp: Add tests for "set debug-format".
11163
11164 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11165
11166 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
11167
11168 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11169
11170 * gdb.trace/entry-values.exp: Remove excess space character from
11171 regex patterns. Handle s390 call instruction.
11172
11173 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11174
11175 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
11176 define "*_start" label. Make "name" static.
11177 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
11178 ${name} by references to ${name}_start.
11179
11180 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11181
11182 * gdb.base/info-macros.exp: Remove "debug" from the compile
11183 options.
11184
11185 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11186
11187 * gdb.dlang/demangle.exp: New file.
11188
11189 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11190
11191 * gdb.dlang/primitive-types.exp: New file.
11192
11193 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11194
11195 * configure.ac: Create gdb.dlang/Makefile.
11196 * configure: Regenerate.
11197 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
11198 * gdb.dlang/Makefile.in: New file.
11199 * lib/d-support.exp: New file.
11200 * lib/gdb.exp (skip_d_tests): New proc.
11201
11202 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11203
11204 * gdb.btrace/delta.exp: Check reverse stepi.
11205 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
11206 * gdb.btrace/finish.exp: New.
11207 * gdb.btrace/next.exp: New.
11208 * gdb.btrace/nexti.exp: New.
11209 * gdb.btrace/record_goto.c: Add comments.
11210 * gdb.btrace/step.exp: New.
11211 * gdb.btrace/stepi.exp: New.
11212 * gdb.btrace/multi-thread-step.c: New.
11213 * gdb.btrace/multi-thread-step.exp: New.
11214 * gdb.btrace/rn-dl-bind.c: New.
11215 * gdb.btrace/rn-dl-bind.exp: New.
11216 * gdb.btrace/data.c: New.
11217 * gdb.btrace/data.exp: New.
11218 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11219
11220 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11221
11222 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
11223 * gdb.btrace/exception.exp: Update.
11224 * gdb.btrace/instruction_history.exp: Update.
11225 * gdb.btrace/record_goto.exp: Update.
11226 * gdb.btrace/tailcall.exp: Update.
11227 * gdb.btrace/unknown_functions.exp: Update.
11228 * gdb.btrace/delta.exp: New.
11229
11230 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11231
11232 * gdb.btrace/record_goto.exp: Add backtrace test.
11233 * gdb.btrace/tailcall.exp: Add backtrace test.
11234
11235 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11236
11237 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
11238 * gdb.btrace/record_goto.c: New.
11239 * gdb.btrace/record_goto.exp: New.
11240 * gdb.btrace/x86-record_goto.S: New.
11241
11242 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11243
11244 * gdb.btrace/function_call_history.exp: Update tests.
11245 * gdb.btrace/instruction_history.exp: Update tests.
11246
11247 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11248
11249 * gdb.btrace/function_call_history.exp: Fix expected field
11250 order for "record function-call-history".
11251 Add new tests for "record function-call-history /c".
11252 * gdb.btrace/exception.cc: New.
11253 * gdb.btrace/exception.exp: New.
11254 * gdb.btrace/tailcall.exp: New.
11255 * gdb.btrace/x86-tailcall.S: New.
11256 * gdb.btrace/x86-tailcall.c: New.
11257 * gdb.btrace/unknown_functions.c: New.
11258 * gdb.btrace/unknown_functions.exp: New.
11259 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11260
11261 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11262
11263 * gdb.btrace/instruction_history.exp: Update.
11264 * gdb.btrace/function_call_history.exp: Update.
11265
11266 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11267
11268 * gdb.btrace/function_call_history.exp: Fix expected function
11269 trace.
11270 * gdb.btrace/instruction_history.exp: Initialize traced.
11271 Remove traced_functions.
11272
11273 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11274
11275 * gdb.btrace/function_call_history.exp: Update
11276 * gdb.btrace/instruction_history.exp: Update.
11277
11278 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11279
11280 * gdb.btrace/enable.exp: Update expected text.
11281
11282 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
11283
11284 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
11285 bytes.
11286
11287 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
11288
11289 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
11290
11291 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11292
11293 * lib/gdb.exp (supports_process_record): Return true for
11294 arm*-linux*. (supports_reverse): Likewise.
11295
11296 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11297
11298 PR python/15464
11299 PR python/16113
11300 * gdb.python/py-type.c: Enhance test case.
11301 * gdb.python/py-value-cc.cc: Likewise
11302 * gdb.python/py-type.exp: Add new tests.
11303 * gdb.python/py-value-cc.exp: Likewise
11304
11305 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11306 Pedro Alves <palves@redhat.com>
11307
11308 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11309 Make "name" extern.
11310 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11311 references to ${name}_start by references to ${name}.
11312
11313 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11314
11315 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11316
11317 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11318
11319 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11320
11321 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11322 Pedro Alves <palves@redhat.com>
11323
11324 * gdb.mi/mi-info-os.exp: Connect to the target with
11325 mi_gdb_target_load.
11326
11327 2014-01-08 Pedro Alves <palves@redhat.com>
11328
11329 * gdb.threads/reconnect-signal.c: New file.
11330 * gdb.threads/reconnect-signal.exp: New file.
11331
11332 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11333
11334 * gdb.base/source-dir.exp: New file.
11335
11336 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11337
11338 * gdb.ada/mi_interface: New testcase.
11339
11340 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11341
11342 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11343 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11344 gdb.ada/pp-rec-component/pck.ads: New files.
11345
11346 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11347
11348 * gdb.python/py-pp-integral.c: New file.
11349 * gdb.python/py-pp-integral.py: New file.
11350 * gdb.python/py-pp-integral.exp: New file.
11351
11352 For older changes see ChangeLog-1993-2013.
11353 \f
11354 ;; Local Variables:
11355 ;; mode: change-log
11356 ;; left-margin: 8
11357 ;; fill-column: 74
11358 ;; version-control: never
11359 ;; End:
11360
11361 Copyright 2014-2017 Free Software Foundation, Inc.
11362 Copying and distribution of this file, with or without modification,
11363 are permitted provided the copyright notice and this notice are preserved.