]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/ChangeLog
Fix PR18360 - internal error when using "interrupt -a"
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2017-03-08 Pedro Alves <palves@redhat.com>
2
3 PR gdb/18360
4 * gdb.threads/interrupt-while-step-over.c: New file.
5 * gdb.threads/interrupt-while-step-over.exp: New file.
6
7 2017-03-08 Pedro Alves <palves@redhat.com>
8
9 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
10 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
11
12 2017-03-08 Pedro Alves <palves@redhat.com>
13
14 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
15 PKRU as not supported as a PASS.
16
17 2017-03-08 Pedro Alves <palves@redhat.com>
18
19 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
20 prefix instead of $binfile1/$binfile2.
21 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
22 in test message.
23 * gdb.python/py-completion.exp: Use "load python file" as test
24 messages instead of unstable path names.
25
26 2017-03-08 Pedro Alves <palves@redhat.com>
27 Jan Kratochvil <jan.kratochvil@redhat.com>
28
29 PR cli/21218
30 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
31 New proc.
32 (top level): Call it.
33
34 2017-03-08 Pedro Alves <palves@redhat.com>
35
36 PR tui/21216
37 * gdb.tui/tui-nl-filtered-output.exp: New file.
38
39 2017-03-08 Pedro Alves <palves@redhat.com>
40
41 * gdb.base/completion.exp: Move TUI completion tests to ...
42 * gdb.tui/completion.exp: ... this new file.
43
44 2017-03-08 Pedro Alves <palves@redhat.com>
45
46 * gdb.base/tui-disasm-long-lines.c,
47 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
48 gdb.base/tui-layout.exp: Move to ...
49 * gdb.tui/: ... this new directory.
50
51 2017-03-07 Pedro Alves <palves@redhat.com>
52
53 * gdb.base/tui-layout.c: New file.
54 * gdb.base/tui-layout.exp: New file.
55
56 2017-03-07 Pedro Alves <palves@redhat.com>
57
58 * gdb.base/tui-layout.c: Rename to ...
59 * gdb.base/tui-disasm-long-lines.c: ... this.
60 * gdb.base/tui-layout.exp: Rename to ...
61 * gdb.base/tui-disasm-long-lines.exp: ... this.
62
63 2017-03-07 Pedro Alves <palves@redhat.com>
64
65 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
66
67 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
68
69 * i386-mpx-call.c: New file.
70 * i386-mpx-call.exp: New file.
71
72 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
73
74 * gdb.arch/powerpc-power.exp: Delete test.
75 * gdb.arch/powerpc-power.s: Likewise.
76 * gdb.disasm/disassembler-options.exp: New test.
77 * gdb.arch/powerpc-altivec.exp: Likewise.
78 * gdb.arch/powerpc-altivec.s: Likewise.
79 * gdb.arch/powerpc-altivec2.exp: Likewise.
80 * gdb.arch/powerpc-altivec2.s: Likewise.
81 * gdb.arch/powerpc-altivec3.exp: Likewise.
82 * gdb.arch/powerpc-altivec3.s: Likewise.
83 * gdb.arch/powerpc-power7.exp: Likewise.
84 * gdb.arch/powerpc-power7.s: Likewise.
85 * gdb.arch/powerpc-power8.exp: Likewise.
86 * gdb.arch/powerpc-power8.s: Likewise.
87 * gdb.arch/powerpc-power9.exp: Likewise.
88 * gdb.arch/powerpc-power9.s: Likewise.
89 * gdb.arch/powerpc-vsx.exp: Likewise.
90 * gdb.arch/powerpc-vsx.s: Likewise.
91 * gdb.arch/powerpc-vsx2.exp: Likewise.
92 * gdb.arch/powerpc-vsx2.s: Likewise.
93 * gdb.arch/powerpc-vsx3.exp: Likewise.
94 * gdb.arch/powerpc-vsx3.s: Likewise.
95 * gdb.arch/arm-disassembler-options.exp: Likewise.
96 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
97 * gdb.arch/s390-disassembler-options.exp: Likewise.
98
99 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
100
101 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
102 (check_supported_features): ... this. Changed return type to void.
103 (supports_rdseed): New static global.
104 (rdseed): Check supports_rdseed.
105 (initialize): Call check_supported_features.
106
107 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
108
109 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
110 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
111 and lqarx/stqcx.
112 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
113 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
114
115 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
116
117 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
118 uppercase.
119
120 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
121
122 * gdb.dwarf2/formdata16.c: New file.
123 * gdb.dwarf2/formdata16.exp: New file.
124 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
125
126 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
127
128 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
129 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
130 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
131 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
132 DW_AT_GNU_*.
133
134 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
135
136 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
137
138 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
139
140 PR gdb/21164
141 * gdb.base/maint.exp: Add testcases for when the commands do
142 not have arguments.
143
144 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
145
146 * gdb.cp/chained-calls.exp: Use p instead of P.
147
148 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
149
150 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
151 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
152
153 2017-02-14 Tom Tromey <tom@tromey.com>
154
155 PR python/13598:
156 * gdb.python/py-events.exp: Add before_prompt event tests.
157
158 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
159
160 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
161
162 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
163
164 * gdb.linespec/explicit.c (my_unique_function_name): New function.
165 (main): Call my_unique_function_name.
166 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
167 completion of patterns with a single match.
168 Add missing -re switches to gdb_test_multiple calls.
169
170 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
171
172 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
173 return if core file is not recognized.
174
175 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
176
177 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
178 and extra UIs.
179
180 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
181
182 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
183 proc_with_prefix.
184
185 2017-02-10 Tom Tromey <tom@tromey.com>
186
187 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
188
189 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
190
191 PR gdb/21122
192 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
193
194 2017-02-08 Jerome Guitton <guitton@adacore.com>
195
196 * gdb.base/define.exp: Add test for command abbreviations
197 in define.
198
199 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
200
201 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
202 * gdb.reverse/insn-reverse-x86.c: New file.
203
204 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
205
206 PR tdep/20936
207 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
208
209 2017-02-03 Tom Tromey <tom@tromey.com>
210
211 PR rust/21097:
212 * gdb.rust/simple.exp: Add new tests.
213
214 2017-02-02 Pedro Alves <palves@redhat.com>
215
216 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
217 tests.
218
219 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
220
221 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
222 taking a 2-byte value out of a 4-byte DWARF implicit value on
223 big-endian targets.
224 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
225 logic. Add test cases for DW_OP_implicit.
226
227 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
228
229 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
230
231 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
232
233 * gdb.btrace/enable.exp: Call gdb_exit before
234 skip_gdbserver_tests.
235
236 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
237
238 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
239 GDBFLAGS.
240
241 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
242
243 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
244 the test is skipped.
245 * gdb.btrace/data.exp: Likewise.
246 * gdb.btrace/delta.exp: Likewise.
247 * gdb.btrace/dlopen.exp: Likewise.
248 * gdb.btrace/enable-running.exp: Likewise.
249 * gdb.btrace/enable.exp: Likewise.
250 * gdb.btrace/exception.exp: Likewise.
251 * gdb.btrace/function_call_history.exp: Likewise.
252 * gdb.btrace/gcore.exp: Likewise.
253 * gdb.btrace/instruction_history.exp: Likewise.
254 * gdb.btrace/multi-thread-step.exp: Likewise.
255 * gdb.btrace/nohist.exp: Likewise.
256 * gdb.btrace/non-stop.exp: Likewise.
257 * gdb.btrace/reconnect.exp: Likewise.
258 * gdb.btrace/record_goto-step.exp: Likewise.
259 * gdb.btrace/record_goto.exp: Likewise.
260 * gdb.btrace/rn-dl-bind.exp: Likewise.
261 * gdb.btrace/segv.exp: Likewise.
262 * gdb.btrace/step.exp: Likewise.
263 * gdb.btrace/stepi.exp: Likewise.
264 * gdb.btrace/tailcall-only.exp: Likewise.
265 * gdb.btrace/tailcall.exp: Likewise.
266 * gdb.btrace/tsx.exp: Likewise.
267 * gdb.btrace/unknown_functions.exp: Likewise.
268 * gdb.btrace/vdso.exp: Likewise.
269
270 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
271
272 * gdb.btrace/enable-running.c: New.
273 * gdb.btrace/enable-running.exp: New.
274
275 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
276
277 * gdb.arch/amd64-gs_base.c: New file.
278 * gdb.arch/amd64-gs_base.exp: New file.
279
280 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
281
282 * lib/memory.exp: Remove spurious empty newlines.
283
284 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
285
286 * gdb.python/py-bad-printers.exp: Load python file using "source".
287 * gdb.python/py-events.exp: Likewise.
288 * gdb.python/py-evsignal.exp: Likewise.
289 * gdb.python/py-evthreads.exp: Likewise.
290 * gdb.python/py-frame-args.exp: Likewise.
291 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
292 * gdb.python/py-framefilter-mi.exp: Likewise.
293 * gdb.python/py-framefilter.exp: Likewise.
294 * gdb.python/py-mi.exp: Likewise.
295 * gdb.python/py-pp-maint.exp: Likewise.
296 * gdb.python/py-pp-registration.exp: Likewise.
297 * gdb.python/py-prettyprint.exp: Likewise.
298 (run_lang_tests): Likewise.
299 * gdb.python/py-typeprint.exp: Likewise.
300
301 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
302
303 * lib/memory.exp: New file.
304 * lib/gdb.exp: Load memory.exp.
305 * gdb.base/memattr.exp (delete_memory): Move proc to
306 lib/memory.exp and rename to delete_memory_regions.
307 Replace delete_memory with delete_memory_regions.
308 Cleanup memory regions before tests.
309 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
310 before tests.
311
312 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
313
314 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
315 files.
316 (initialize): New function conditionally defined.
317 (testcases): Move within conditional block.
318 (main): Call initialize.
319 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
320 of gdb.reverse/insn-reverse.c.
321 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
322 gdb.reverse/insn-reverse.c.
323
324 2017-01-26 Yao Qi <yao.qi@linaro.org>
325
326 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
327 disassemble on address 0.
328
329 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
330 Yao Qi <yao.qi@linaro.org>
331
332 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
333 * gdb.dwarf2/implptr-64bit.S: Remove.
334 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
335 variables in caller's context. Add DW_OP_implicit_value.
336
337 2017-01-25 Yao Qi <yao.qi@linaro.org>
338
339 * lib/dwarf.exp (Dwarf::_location): Handle
340 DW_OP_GNU_implicit_pointer with proper size.
341
342 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
343
344 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
345 and add untested calls.
346
347 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
348
349 * gdb.python/python.exp: Check line number against what GDB thinks
350 the line number is for func1.
351
352 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
353
354 * gdb.dlang/debug-expr.exp: New file.
355
356 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
357
358 Fix test names for the following files:
359
360 * gdb.ada/exec_changed.exp
361 * gdb.ada/info_types.exp
362 * gdb.arch/aarch64-atomic-inst.exp
363 * gdb.arch/aarch64-fp.exp
364 * gdb.arch/altivec-abi.exp
365 * gdb.arch/altivec-regs.exp
366 * gdb.arch/amd64-byte.exp
367 * gdb.arch/amd64-disp-step.exp
368 * gdb.arch/amd64-dword.exp
369 * gdb.arch/amd64-entry-value-inline.exp
370 * gdb.arch/amd64-entry-value-param.exp
371 * gdb.arch/amd64-entry-value-paramref.exp
372 * gdb.arch/amd64-entry-value.exp
373 * gdb.arch/amd64-i386-address.exp
374 * gdb.arch/amd64-invalid-stack-middle.exp
375 * gdb.arch/amd64-invalid-stack-top.exp
376 * gdb.arch/amd64-optimout-repeat.exp
377 * gdb.arch/amd64-prologue-skip.exp
378 * gdb.arch/amd64-prologue-xmm.exp
379 * gdb.arch/amd64-stap-special-operands.exp
380 * gdb.arch/amd64-stap-wrong-subexp.exp
381 * gdb.arch/amd64-tailcall-cxx.exp
382 * gdb.arch/amd64-tailcall-noret.exp
383 * gdb.arch/amd64-tailcall-ret.exp
384 * gdb.arch/amd64-tailcall-self.exp
385 * gdb.arch/amd64-word.exp
386 * gdb.arch/arm-bl-branch-dest.exp
387 * gdb.arch/arm-disp-step.exp
388 * gdb.arch/arm-neon.exp
389 * gdb.arch/arm-single-step-kernel-helper.exp
390 * gdb.arch/avr-flash-qualifier.exp
391 * gdb.arch/disp-step-insn-reloc.exp
392 * gdb.arch/e500-abi.exp
393 * gdb.arch/e500-regs.exp
394 * gdb.arch/ftrace-insn-reloc.exp
395 * gdb.arch/i386-avx512.exp
396 * gdb.arch/i386-bp_permanent.exp
397 * gdb.arch/i386-byte.exp
398 * gdb.arch/i386-cfi-notcurrent.exp
399 * gdb.arch/i386-disp-step.exp
400 * gdb.arch/i386-dr3-watch.exp
401 * gdb.arch/i386-float.exp
402 * gdb.arch/i386-gnu-cfi.exp
403 * gdb.arch/i386-mpx-map.exp
404 * gdb.arch/i386-mpx-sigsegv.exp
405 * gdb.arch/i386-mpx-simple_segv.exp
406 * gdb.arch/i386-mpx.exp
407 * gdb.arch/i386-permbkpt.exp
408 * gdb.arch/i386-prologue.exp
409 * gdb.arch/i386-signal.exp
410 * gdb.arch/i386-size-overlap.exp
411 * gdb.arch/i386-unwind.exp
412 * gdb.arch/i386-word.exp
413 * gdb.arch/mips-fcr.exp
414 * gdb.arch/powerpc-d128-regs.exp
415 * gdb.arch/powerpc-stackless.exp
416 * gdb.arch/ppc64-atomic-inst.exp
417 * gdb.arch/s390-stackless.exp
418 * gdb.arch/s390-tdbregs.exp
419 * gdb.arch/s390-vregs.exp
420 * gdb.arch/sparc-sysstep.exp
421 * gdb.arch/thumb-bx-pc.exp
422 * gdb.arch/thumb-singlestep.exp
423 * gdb.arch/thumb2-it.exp
424 * gdb.arch/vsx-regs.exp
425 * gdb.asm/asm-source.exp
426 * gdb.base/a2-run.exp
427 * gdb.base/advance.exp
428 * gdb.base/all-bin.exp
429 * gdb.base/anon.exp
430 * gdb.base/args.exp
431 * gdb.base/arithmet.exp
432 * gdb.base/async-shell.exp
433 * gdb.base/async.exp
434 * gdb.base/attach-pie-noexec.exp
435 * gdb.base/attach-twice.exp
436 * gdb.base/auto-load.exp
437 * gdb.base/bang.exp
438 * gdb.base/bitfields.exp
439 * gdb.base/break-always.exp
440 * gdb.base/break-caller-line.exp
441 * gdb.base/break-entry.exp
442 * gdb.base/break-inline.exp
443 * gdb.base/break-on-linker-gcd-function.exp
444 * gdb.base/break-probes.exp
445 * gdb.base/break.exp
446 * gdb.base/breakpoint-shadow.exp
447 * gdb.base/call-ar-st.exp
448 * gdb.base/call-sc.exp
449 * gdb.base/call-signal-resume.exp
450 * gdb.base/call-strs.exp
451 * gdb.base/callfuncs.exp
452 * gdb.base/catch-fork-static.exp
453 * gdb.base/catch-gdb-caused-signals.exp
454 * gdb.base/catch-load.exp
455 * gdb.base/catch-signal-fork.exp
456 * gdb.base/catch-signal.exp
457 * gdb.base/catch-syscall.exp
458 * gdb.base/charset.exp
459 * gdb.base/checkpoint.exp
460 * gdb.base/chng-syms.exp
461 * gdb.base/code-expr.exp
462 * gdb.base/code_elim.exp
463 * gdb.base/commands.exp
464 * gdb.base/completion.exp
465 * gdb.base/complex.exp
466 * gdb.base/cond-expr.exp
467 * gdb.base/condbreak.exp
468 * gdb.base/consecutive.exp
469 * gdb.base/continue-all-already-running.exp
470 * gdb.base/coredump-filter.exp
471 * gdb.base/corefile.exp
472 * gdb.base/dbx.exp
473 * gdb.base/debug-expr.exp
474 * gdb.base/define.exp
475 * gdb.base/del.exp
476 * gdb.base/disabled-location.exp
477 * gdb.base/disasm-end-cu.exp
478 * gdb.base/disasm-optim.exp
479 * gdb.base/display.exp
480 * gdb.base/duplicate-bp.exp
481 * gdb.base/ena-dis-br.exp
482 * gdb.base/ending-run.exp
483 * gdb.base/enumval.exp
484 * gdb.base/environ.exp
485 * gdb.base/eu-strip-infcall.exp
486 * gdb.base/eval-avoid-side-effects.exp
487 * gdb.base/eval-skip.exp
488 * gdb.base/exitsignal.exp
489 * gdb.base/expand-psymtabs.exp
490 * gdb.base/filesym.exp
491 * gdb.base/find-unmapped.exp
492 * gdb.base/finish.exp
493 * gdb.base/float.exp
494 * gdb.base/foll-exec-mode.exp
495 * gdb.base/foll-exec.exp
496 * gdb.base/foll-fork.exp
497 * gdb.base/fortran-sym-case.exp
498 * gdb.base/freebpcmd.exp
499 * gdb.base/func-ptr.exp
500 * gdb.base/func-ptrs.exp
501 * gdb.base/funcargs.exp
502 * gdb.base/gcore-buffer-overflow.exp
503 * gdb.base/gcore-relro-pie.exp
504 * gdb.base/gcore-relro.exp
505 * gdb.base/gcore.exp
506 * gdb.base/gdb1090.exp
507 * gdb.base/gdb11530.exp
508 * gdb.base/gdb11531.exp
509 * gdb.base/gdb1821.exp
510 * gdb.base/gdbindex-stabs.exp
511 * gdb.base/gdbvars.exp
512 * gdb.base/hbreak.exp
513 * gdb.base/hbreak2.exp
514 * gdb.base/included.exp
515 * gdb.base/infcall-input.exp
516 * gdb.base/inferior-died.exp
517 * gdb.base/infnan.exp
518 * gdb.base/info-macros.exp
519 * gdb.base/info-os.exp
520 * gdb.base/info-proc.exp
521 * gdb.base/info-shared.exp
522 * gdb.base/info-target.exp
523 * gdb.base/infoline.exp
524 * gdb.base/interp.exp
525 * gdb.base/interrupt.exp
526 * gdb.base/jit-reader.exp
527 * gdb.base/jit-simple.exp
528 * gdb.base/kill-after-signal.exp
529 * gdb.base/kill-detach-inferiors-cmd.exp
530 * gdb.base/label.exp
531 * gdb.base/langs.exp
532 * gdb.base/ldbl_e308.exp
533 * gdb.base/line-symtabs.exp
534 * gdb.base/linespecs.exp
535 * gdb.base/list.exp
536 * gdb.base/long_long.exp
537 * gdb.base/longest-types.exp
538 * gdb.base/maint.exp
539 * gdb.base/max-value-size.exp
540 * gdb.base/memattr.exp
541 * gdb.base/mips_pro.exp
542 * gdb.base/morestack.exp
543 * gdb.base/moribund-step.exp
544 * gdb.base/multi-forks.exp
545 * gdb.base/nested-addr.exp
546 * gdb.base/nextoverexit.exp
547 * gdb.base/noreturn-finish.exp
548 * gdb.base/noreturn-return.exp
549 * gdb.base/nostdlib.exp
550 * gdb.base/offsets.exp
551 * gdb.base/opaque.exp
552 * gdb.base/pc-fp.exp
553 * gdb.base/permissions.exp
554 * gdb.base/print-symbol-loading.exp
555 * gdb.base/prologue-include.exp
556 * gdb.base/psymtab.exp
557 * gdb.base/ptype.exp
558 * gdb.base/random-signal.exp
559 * gdb.base/randomize.exp
560 * gdb.base/range-stepping.exp
561 * gdb.base/readline-ask.exp
562 * gdb.base/recpar.exp
563 * gdb.base/recurse.exp
564 * gdb.base/relational.exp
565 * gdb.base/restore.exp
566 * gdb.base/return-nodebug.exp
567 * gdb.base/return.exp
568 * gdb.base/run-after-attach.exp
569 * gdb.base/save-bp.exp
570 * gdb.base/scope.exp
571 * gdb.base/sect-cmd.exp
572 * gdb.base/set-lang-auto.exp
573 * gdb.base/set-noassign.exp
574 * gdb.base/setvar.exp
575 * gdb.base/sigall.exp
576 * gdb.base/sigbpt.exp
577 * gdb.base/siginfo-addr.exp
578 * gdb.base/siginfo-infcall.exp
579 * gdb.base/siginfo-obj.exp
580 * gdb.base/siginfo.exp
581 * gdb.base/signals-state-child.exp
582 * gdb.base/signest.exp
583 * gdb.base/sigstep.exp
584 * gdb.base/sizeof.exp
585 * gdb.base/skip.exp
586 * gdb.base/solib-corrupted.exp
587 * gdb.base/solib-nodir.exp
588 * gdb.base/solib-search.exp
589 * gdb.base/stack-checking.exp
590 * gdb.base/stale-infcall.exp
591 * gdb.base/stap-probe.exp
592 * gdb.base/start.exp
593 * gdb.base/step-break.exp
594 * gdb.base/step-bt.exp
595 * gdb.base/step-line.exp
596 * gdb.base/step-over-exit.exp
597 * gdb.base/step-over-syscall.exp
598 * gdb.base/step-resume-infcall.exp
599 * gdb.base/step-test.exp
600 * gdb.base/store.exp
601 * gdb.base/structs3.exp
602 * gdb.base/sym-file.exp
603 * gdb.base/symbol-without-target_section.exp
604 * gdb.base/term.exp
605 * gdb.base/testenv.exp
606 * gdb.base/ui-redirect.exp
607 * gdb.base/until.exp
608 * gdb.base/unwindonsignal.exp
609 * gdb.base/value-double-free.exp
610 * gdb.base/vla-datatypes.exp
611 * gdb.base/vla-ptr.exp
612 * gdb.base/vla-sideeffect.exp
613 * gdb.base/volatile.exp
614 * gdb.base/watch-cond-infcall.exp
615 * gdb.base/watch-cond.exp
616 * gdb.base/watch-non-mem.exp
617 * gdb.base/watch-read.exp
618 * gdb.base/watch-vfork.exp
619 * gdb.base/watchpoint-cond-gone.exp
620 * gdb.base/watchpoint-delete.exp
621 * gdb.base/watchpoint-hw-hit-once.exp
622 * gdb.base/watchpoint-hw.exp
623 * gdb.base/watchpoint-stops-at-right-insn.exp
624 * gdb.base/watchpoints.exp
625 * gdb.base/wchar.exp
626 * gdb.base/whatis-exp.exp
627 * gdb.btrace/buffer-size.exp
628 * gdb.btrace/data.exp
629 * gdb.btrace/delta.exp
630 * gdb.btrace/dlopen.exp
631 * gdb.btrace/enable.exp
632 * gdb.btrace/exception.exp
633 * gdb.btrace/function_call_history.exp
634 * gdb.btrace/gcore.exp
635 * gdb.btrace/instruction_history.exp
636 * gdb.btrace/nohist.exp
637 * gdb.btrace/reconnect.exp
638 * gdb.btrace/record_goto-step.exp
639 * gdb.btrace/record_goto.exp
640 * gdb.btrace/rn-dl-bind.exp
641 * gdb.btrace/segv.exp
642 * gdb.btrace/step.exp
643 * gdb.btrace/stepi.exp
644 * gdb.btrace/tailcall-only.exp
645 * gdb.btrace/tailcall.exp
646 * gdb.btrace/tsx.exp
647 * gdb.btrace/unknown_functions.exp
648 * gdb.btrace/vdso.exp
649 * gdb.compile/compile-ifunc.exp
650 * gdb.compile/compile-ops.exp
651 * gdb.compile/compile-print.exp
652 * gdb.compile/compile-setjmp.exp
653 * gdb.cp/abstract-origin.exp
654 * gdb.cp/ambiguous.exp
655 * gdb.cp/annota2.exp
656 * gdb.cp/annota3.exp
657 * gdb.cp/anon-ns.exp
658 * gdb.cp/anon-struct.exp
659 * gdb.cp/anon-union.exp
660 * gdb.cp/arg-reference.exp
661 * gdb.cp/baseenum.exp
662 * gdb.cp/bool.exp
663 * gdb.cp/breakpoint.exp
664 * gdb.cp/bs15503.exp
665 * gdb.cp/call-c.exp
666 * gdb.cp/casts.exp
667 * gdb.cp/chained-calls.exp
668 * gdb.cp/class2.exp
669 * gdb.cp/classes.exp
670 * gdb.cp/cmpd-minsyms.exp
671 * gdb.cp/converts.exp
672 * gdb.cp/cp-relocate.exp
673 * gdb.cp/cpcompletion.exp
674 * gdb.cp/cpexprs.exp
675 * gdb.cp/cplabel.exp
676 * gdb.cp/cplusfuncs.exp
677 * gdb.cp/cpsizeof.exp
678 * gdb.cp/ctti.exp
679 * gdb.cp/derivation.exp
680 * gdb.cp/destrprint.exp
681 * gdb.cp/dispcxx.exp
682 * gdb.cp/enum-class.exp
683 * gdb.cp/exception.exp
684 * gdb.cp/exceptprint.exp
685 * gdb.cp/expand-psymtabs-cxx.exp
686 * gdb.cp/expand-sals.exp
687 * gdb.cp/extern-c.exp
688 * gdb.cp/filename.exp
689 * gdb.cp/formatted-ref.exp
690 * gdb.cp/fpointer.exp
691 * gdb.cp/gdb1355.exp
692 * gdb.cp/gdb2495.exp
693 * gdb.cp/hang.exp
694 * gdb.cp/impl-this.exp
695 * gdb.cp/infcall-dlopen.exp
696 * gdb.cp/inherit.exp
697 * gdb.cp/iostream.exp
698 * gdb.cp/koenig.exp
699 * gdb.cp/local.exp
700 * gdb.cp/m-data.exp
701 * gdb.cp/m-static.exp
702 * gdb.cp/mb-ctor.exp
703 * gdb.cp/mb-inline.exp
704 * gdb.cp/mb-templates.exp
705 * gdb.cp/member-name.exp
706 * gdb.cp/member-ptr.exp
707 * gdb.cp/meth-typedefs.exp
708 * gdb.cp/method.exp
709 * gdb.cp/method2.exp
710 * gdb.cp/minsym-fallback.exp
711 * gdb.cp/misc.exp
712 * gdb.cp/namelessclass.exp
713 * gdb.cp/namespace-enum.exp
714 * gdb.cp/namespace-nested-import.exp
715 * gdb.cp/namespace.exp
716 * gdb.cp/nextoverthrow.exp
717 * gdb.cp/no-dmgl-verbose.exp
718 * gdb.cp/non-trivial-retval.exp
719 * gdb.cp/noparam.exp
720 * gdb.cp/nsdecl.exp
721 * gdb.cp/nsimport.exp
722 * gdb.cp/nsnested.exp
723 * gdb.cp/nsnoimports.exp
724 * gdb.cp/nsrecurs.exp
725 * gdb.cp/nsstress.exp
726 * gdb.cp/nsusing.exp
727 * gdb.cp/operator.exp
728 * gdb.cp/oranking.exp
729 * gdb.cp/overload-const.exp
730 * gdb.cp/overload.exp
731 * gdb.cp/ovldbreak.exp
732 * gdb.cp/ovsrch.exp
733 * gdb.cp/paren-type.exp
734 * gdb.cp/parse-lang.exp
735 * gdb.cp/pass-by-ref.exp
736 * gdb.cp/pr-1023.exp
737 * gdb.cp/pr-1210.exp
738 * gdb.cp/pr-574.exp
739 * gdb.cp/pr10687.exp
740 * gdb.cp/pr12028.exp
741 * gdb.cp/pr17132.exp
742 * gdb.cp/pr17494.exp
743 * gdb.cp/pr9067.exp
744 * gdb.cp/pr9167.exp
745 * gdb.cp/pr9631.exp
746 * gdb.cp/printmethod.exp
747 * gdb.cp/psmang.exp
748 * gdb.cp/psymtab-parameter.exp
749 * gdb.cp/ptype-cv-cp.exp
750 * gdb.cp/ptype-flags.exp
751 * gdb.cp/re-set-overloaded.exp
752 * gdb.cp/ref-types.exp
753 * gdb.cp/rtti.exp
754 * gdb.cp/scope-err.exp
755 * gdb.cp/shadow.exp
756 * gdb.cp/smartp.exp
757 * gdb.cp/static-method.exp
758 * gdb.cp/static-print-quit.exp
759 * gdb.cp/temargs.exp
760 * gdb.cp/templates.exp
761 * gdb.cp/try_catch.exp
762 * gdb.cp/typedef-operator.exp
763 * gdb.cp/typeid.exp
764 * gdb.cp/userdef.exp
765 * gdb.cp/using-crash.exp
766 * gdb.cp/var-tag.exp
767 * gdb.cp/virtbase.exp
768 * gdb.cp/virtfunc.exp
769 * gdb.cp/virtfunc2.exp
770 * gdb.cp/vla-cxx.exp
771 * gdb.disasm/t01_mov.exp
772 * gdb.disasm/t02_mova.exp
773 * gdb.disasm/t03_add.exp
774 * gdb.disasm/t04_sub.exp
775 * gdb.disasm/t05_cmp.exp
776 * gdb.disasm/t06_ari2.exp
777 * gdb.disasm/t07_ari3.exp
778 * gdb.disasm/t08_or.exp
779 * gdb.disasm/t09_xor.exp
780 * gdb.disasm/t10_and.exp
781 * gdb.disasm/t11_logs.exp
782 * gdb.disasm/t12_bit.exp
783 * gdb.disasm/t13_otr.exp
784 * gdb.dlang/circular.exp
785 * gdb.dwarf2/arr-stride.exp
786 * gdb.dwarf2/arr-subrange.exp
787 * gdb.dwarf2/atomic-type.exp
788 * gdb.dwarf2/bad-regnum.exp
789 * gdb.dwarf2/bitfield-parent-optimized-out.exp
790 * gdb.dwarf2/callframecfa.exp
791 * gdb.dwarf2/clztest.exp
792 * gdb.dwarf2/corrupt.exp
793 * gdb.dwarf2/data-loc.exp
794 * gdb.dwarf2/dup-psym.exp
795 * gdb.dwarf2/dw2-anon-mptr.exp
796 * gdb.dwarf2/dw2-anonymous-func.exp
797 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
798 * gdb.dwarf2/dw2-bad-unresolved.exp
799 * gdb.dwarf2/dw2-basic.exp
800 * gdb.dwarf2/dw2-canonicalize-type.exp
801 * gdb.dwarf2/dw2-case-insensitive.exp
802 * gdb.dwarf2/dw2-common-block.exp
803 * gdb.dwarf2/dw2-compdir-oldgcc.exp
804 * gdb.dwarf2/dw2-compressed.exp
805 * gdb.dwarf2/dw2-const.exp
806 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
807 * gdb.dwarf2/dw2-cu-size.exp
808 * gdb.dwarf2/dw2-dup-frame.exp
809 * gdb.dwarf2/dw2-entry-value.exp
810 * gdb.dwarf2/dw2-icycle.exp
811 * gdb.dwarf2/dw2-ifort-parameter.exp
812 * gdb.dwarf2/dw2-inline-break.exp
813 * gdb.dwarf2/dw2-inline-param.exp
814 * gdb.dwarf2/dw2-intercu.exp
815 * gdb.dwarf2/dw2-intermix.exp
816 * gdb.dwarf2/dw2-lexical-block-bare.exp
817 * gdb.dwarf2/dw2-linkage-name-trust.exp
818 * gdb.dwarf2/dw2-minsym-in-cu.exp
819 * gdb.dwarf2/dw2-noloc.exp
820 * gdb.dwarf2/dw2-op-call.exp
821 * gdb.dwarf2/dw2-op-out-param.exp
822 * gdb.dwarf2/dw2-opt-structptr.exp
823 * gdb.dwarf2/dw2-param-error.exp
824 * gdb.dwarf2/dw2-producer.exp
825 * gdb.dwarf2/dw2-ranges-base.exp
826 * gdb.dwarf2/dw2-ref-missing-frame.exp
827 * gdb.dwarf2/dw2-reg-undefined.exp
828 * gdb.dwarf2/dw2-regno-invalid.exp
829 * gdb.dwarf2/dw2-restore.exp
830 * gdb.dwarf2/dw2-restrict.exp
831 * gdb.dwarf2/dw2-single-line-discriminators.exp
832 * gdb.dwarf2/dw2-strp.exp
833 * gdb.dwarf2/dw2-undefined-ret-addr.exp
834 * gdb.dwarf2/dw2-unresolved.exp
835 * gdb.dwarf2/dw2-var-zero-addr.exp
836 * gdb.dwarf2/dw4-sig-types.exp
837 * gdb.dwarf2/dwz.exp
838 * gdb.dwarf2/dynarr-ptr.exp
839 * gdb.dwarf2/enum-type.exp
840 * gdb.dwarf2/gdb-index.exp
841 * gdb.dwarf2/implptr-64bit.exp
842 * gdb.dwarf2/implptr-optimized-out.exp
843 * gdb.dwarf2/implptr.exp
844 * gdb.dwarf2/implref-array.exp
845 * gdb.dwarf2/implref-const.exp
846 * gdb.dwarf2/implref-global.exp
847 * gdb.dwarf2/implref-struct.exp
848 * gdb.dwarf2/mac-fileno.exp
849 * gdb.dwarf2/main-subprogram.exp
850 * gdb.dwarf2/member-ptr-forwardref.exp
851 * gdb.dwarf2/method-ptr.exp
852 * gdb.dwarf2/missing-sig-type.exp
853 * gdb.dwarf2/nonvar-access.exp
854 * gdb.dwarf2/opaque-type-lookup.exp
855 * gdb.dwarf2/pieces-optimized-out.exp
856 * gdb.dwarf2/pieces.exp
857 * gdb.dwarf2/pr10770.exp
858 * gdb.dwarf2/pr13961.exp
859 * gdb.dwarf2/staticvirtual.exp
860 * gdb.dwarf2/subrange.exp
861 * gdb.dwarf2/symtab-producer.exp
862 * gdb.dwarf2/trace-crash.exp
863 * gdb.dwarf2/typeddwarf.exp
864 * gdb.dwarf2/valop.exp
865 * gdb.dwarf2/watch-notconst.exp
866 * gdb.fortran/array-element.exp
867 * gdb.fortran/charset.exp
868 * gdb.fortran/common-block.exp
869 * gdb.fortran/complex.exp
870 * gdb.fortran/derived-type-function.exp
871 * gdb.fortran/derived-type.exp
872 * gdb.fortran/logical.exp
873 * gdb.fortran/module.exp
874 * gdb.fortran/multi-dim.exp
875 * gdb.fortran/nested-funcs.exp
876 * gdb.fortran/print-formatted.exp
877 * gdb.fortran/subarray.exp
878 * gdb.fortran/vla-alloc-assoc.exp
879 * gdb.fortran/vla-datatypes.exp
880 * gdb.fortran/vla-history.exp
881 * gdb.fortran/vla-ptr-info.exp
882 * gdb.fortran/vla-ptype-sub.exp
883 * gdb.fortran/vla-ptype.exp
884 * gdb.fortran/vla-sizeof.exp
885 * gdb.fortran/vla-type.exp
886 * gdb.fortran/vla-value-sub-arbitrary.exp
887 * gdb.fortran/vla-value-sub-finish.exp
888 * gdb.fortran/vla-value-sub.exp
889 * gdb.fortran/vla-value.exp
890 * gdb.fortran/whatis_type.exp
891 * gdb.go/chan.exp
892 * gdb.go/handcall.exp
893 * gdb.go/hello.exp
894 * gdb.go/integers.exp
895 * gdb.go/methods.exp
896 * gdb.go/package.exp
897 * gdb.go/strings.exp
898 * gdb.go/types.exp
899 * gdb.go/unsafe.exp
900 * gdb.guile/scm-arch.exp
901 * gdb.guile/scm-block.exp
902 * gdb.guile/scm-breakpoint.exp
903 * gdb.guile/scm-cmd.exp
904 * gdb.guile/scm-disasm.exp
905 * gdb.guile/scm-equal.exp
906 * gdb.guile/scm-frame-args.exp
907 * gdb.guile/scm-frame-inline.exp
908 * gdb.guile/scm-frame.exp
909 * gdb.guile/scm-iterator.exp
910 * gdb.guile/scm-math.exp
911 * gdb.guile/scm-objfile.exp
912 * gdb.guile/scm-ports.exp
913 * gdb.guile/scm-symbol.exp
914 * gdb.guile/scm-symtab.exp
915 * gdb.guile/scm-value-cc.exp
916 * gdb.guile/types-module.exp
917 * gdb.linespec/break-ask.exp
918 * gdb.linespec/cpexplicit.exp
919 * gdb.linespec/explicit.exp
920 * gdb.linespec/keywords.exp
921 * gdb.linespec/linespec.exp
922 * gdb.linespec/ls-dollar.exp
923 * gdb.linespec/ls-errs.exp
924 * gdb.linespec/skip-two.exp
925 * gdb.linespec/thread.exp
926 * gdb.mi/mi-async.exp
927 * gdb.mi/mi-basics.exp
928 * gdb.mi/mi-break.exp
929 * gdb.mi/mi-catch-load.exp
930 * gdb.mi/mi-cli.exp
931 * gdb.mi/mi-cmd-param-changed.exp
932 * gdb.mi/mi-console.exp
933 * gdb.mi/mi-detach.exp
934 * gdb.mi/mi-disassemble.exp
935 * gdb.mi/mi-eval.exp
936 * gdb.mi/mi-file-transfer.exp
937 * gdb.mi/mi-file.exp
938 * gdb.mi/mi-fill-memory.exp
939 * gdb.mi/mi-inheritance-syntax-error.exp
940 * gdb.mi/mi-linespec-err-cp.exp
941 * gdb.mi/mi-logging.exp
942 * gdb.mi/mi-memory-changed.exp
943 * gdb.mi/mi-read-memory.exp
944 * gdb.mi/mi-record-changed.exp
945 * gdb.mi/mi-reg-undefined.exp
946 * gdb.mi/mi-regs.exp
947 * gdb.mi/mi-return.exp
948 * gdb.mi/mi-reverse.exp
949 * gdb.mi/mi-simplerun.exp
950 * gdb.mi/mi-solib.exp
951 * gdb.mi/mi-stack.exp
952 * gdb.mi/mi-stepi.exp
953 * gdb.mi/mi-syn-frame.exp
954 * gdb.mi/mi-until.exp
955 * gdb.mi/mi-var-block.exp
956 * gdb.mi/mi-var-child.exp
957 * gdb.mi/mi-var-cmd.exp
958 * gdb.mi/mi-var-cp.exp
959 * gdb.mi/mi-var-display.exp
960 * gdb.mi/mi-var-invalidate.exp
961 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
962 * gdb.mi/mi-vla-fortran.exp
963 * gdb.mi/mi-watch.exp
964 * gdb.mi/mi2-var-child.exp
965 * gdb.mi/user-selected-context-sync.exp
966 * gdb.modula2/unbounded-array.exp
967 * gdb.multi/dummy-frame-restore.exp
968 * gdb.multi/multi-arch-exec.exp
969 * gdb.multi/multi-arch.exp
970 * gdb.multi/tids.exp
971 * gdb.multi/watchpoint-multi.exp
972 * gdb.opencl/callfuncs.exp
973 * gdb.opencl/convs_casts.exp
974 * gdb.opencl/datatypes.exp
975 * gdb.opencl/operators.exp
976 * gdb.opencl/vec_comps.exp
977 * gdb.opt/clobbered-registers-O2.exp
978 * gdb.opt/inline-break.exp
979 * gdb.opt/inline-bt.exp
980 * gdb.opt/inline-cmds.exp
981 * gdb.opt/inline-locals.exp
982 * gdb.pascal/case-insensitive-symbols.exp
983 * gdb.pascal/floats.exp
984 * gdb.pascal/gdb11492.exp
985 * gdb.python/lib-types.exp
986 * gdb.python/py-arch.exp
987 * gdb.python/py-as-string.exp
988 * gdb.python/py-bad-printers.exp
989 * gdb.python/py-block.exp
990 * gdb.python/py-breakpoint-create-fail.exp
991 * gdb.python/py-breakpoint.exp
992 * gdb.python/py-caller-is.exp
993 * gdb.python/py-cmd.exp
994 * gdb.python/py-explore-cc.exp
995 * gdb.python/py-explore.exp
996 * gdb.python/py-finish-breakpoint.exp
997 * gdb.python/py-finish-breakpoint2.exp
998 * gdb.python/py-frame-args.exp
999 * gdb.python/py-frame-inline.exp
1000 * gdb.python/py-frame.exp
1001 * gdb.python/py-framefilter-mi.exp
1002 * gdb.python/py-infthread.exp
1003 * gdb.python/py-lazy-string.exp
1004 * gdb.python/py-linetable.exp
1005 * gdb.python/py-mi-events.exp
1006 * gdb.python/py-mi-objfile.exp
1007 * gdb.python/py-mi.exp
1008 * gdb.python/py-objfile.exp
1009 * gdb.python/py-pp-integral.exp
1010 * gdb.python/py-pp-maint.exp
1011 * gdb.python/py-pp-re-notag.exp
1012 * gdb.python/py-pp-registration.exp
1013 * gdb.python/py-recurse-unwind.exp
1014 * gdb.python/py-strfns.exp
1015 * gdb.python/py-symbol.exp
1016 * gdb.python/py-symtab.exp
1017 * gdb.python/py-sync-interp.exp
1018 * gdb.python/py-typeprint.exp
1019 * gdb.python/py-unwind-maint.exp
1020 * gdb.python/py-unwind.exp
1021 * gdb.python/py-value-cc.exp
1022 * gdb.python/py-xmethods.exp
1023 * gdb.reverse/amd64-tailcall-reverse.exp
1024 * gdb.reverse/break-precsave.exp
1025 * gdb.reverse/break-reverse.exp
1026 * gdb.reverse/consecutive-precsave.exp
1027 * gdb.reverse/consecutive-reverse.exp
1028 * gdb.reverse/finish-precsave.exp
1029 * gdb.reverse/finish-reverse-bkpt.exp
1030 * gdb.reverse/finish-reverse.exp
1031 * gdb.reverse/fstatat-reverse.exp
1032 * gdb.reverse/getresuid-reverse.exp
1033 * gdb.reverse/i386-precsave.exp
1034 * gdb.reverse/i386-reverse.exp
1035 * gdb.reverse/i386-sse-reverse.exp
1036 * gdb.reverse/i387-env-reverse.exp
1037 * gdb.reverse/i387-stack-reverse.exp
1038 * gdb.reverse/insn-reverse.exp
1039 * gdb.reverse/machinestate-precsave.exp
1040 * gdb.reverse/machinestate.exp
1041 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1042 * gdb.reverse/pipe-reverse.exp
1043 * gdb.reverse/readv-reverse.exp
1044 * gdb.reverse/recvmsg-reverse.exp
1045 * gdb.reverse/rerun-prec.exp
1046 * gdb.reverse/s390-mvcle.exp
1047 * gdb.reverse/step-precsave.exp
1048 * gdb.reverse/step-reverse.exp
1049 * gdb.reverse/time-reverse.exp
1050 * gdb.reverse/until-precsave.exp
1051 * gdb.reverse/until-reverse.exp
1052 * gdb.reverse/waitpid-reverse.exp
1053 * gdb.reverse/watch-precsave.exp
1054 * gdb.reverse/watch-reverse.exp
1055 * gdb.rust/generics.exp
1056 * gdb.rust/methods.exp
1057 * gdb.rust/modules.exp
1058 * gdb.rust/simple.exp
1059 * gdb.server/connect-with-no-symbol-file.exp
1060 * gdb.server/ext-attach.exp
1061 * gdb.server/ext-restart.exp
1062 * gdb.server/ext-wrapper.exp
1063 * gdb.server/file-transfer.exp
1064 * gdb.server/server-exec-info.exp
1065 * gdb.server/server-kill.exp
1066 * gdb.server/server-mon.exp
1067 * gdb.server/wrapper.exp
1068 * gdb.stabs/exclfwd.exp
1069 * gdb.stabs/gdb11479.exp
1070 * gdb.threads/clone-new-thread-event.exp
1071 * gdb.threads/corethreads.exp
1072 * gdb.threads/current-lwp-dead.exp
1073 * gdb.threads/dlopen-libpthread.exp
1074 * gdb.threads/gcore-thread.exp
1075 * gdb.threads/sigstep-threads.exp
1076 * gdb.threads/watchpoint-fork.exp
1077 * gdb.trace/actions-changed.exp
1078 * gdb.trace/backtrace.exp
1079 * gdb.trace/change-loc.exp
1080 * gdb.trace/circ.exp
1081 * gdb.trace/collection.exp
1082 * gdb.trace/disconnected-tracing.exp
1083 * gdb.trace/ftrace.exp
1084 * gdb.trace/mi-trace-frame-collected.exp
1085 * gdb.trace/mi-trace-unavailable.exp
1086 * gdb.trace/mi-traceframe-changed.exp
1087 * gdb.trace/mi-tsv-changed.exp
1088 * gdb.trace/no-attach-trace.exp
1089 * gdb.trace/passc-dyn.exp
1090 * gdb.trace/qtro.exp
1091 * gdb.trace/range-stepping.exp
1092 * gdb.trace/read-memory.exp
1093 * gdb.trace/save-trace.exp
1094 * gdb.trace/signal.exp
1095 * gdb.trace/status-stop.exp
1096 * gdb.trace/tfile.exp
1097 * gdb.trace/trace-break.exp
1098 * gdb.trace/trace-buffer-size.exp
1099 * gdb.trace/trace-condition.exp
1100 * gdb.trace/tracefile-pseudo-reg.exp
1101 * gdb.trace/tstatus.exp
1102 * gdb.trace/unavailable.exp
1103 * gdb.trace/while-dyn.exp
1104 * gdb.trace/while-stepping.exp
1105
1106 2016-12-22 Doug Evans <xdje42@gmail.com>
1107
1108 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
1109 and msymbols.
1110
1111 2016-12-19 Yao Qi <yao.qi@linaro.org>
1112
1113 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
1114 (test_with_self): Don't call do_steps_and_nexts, and remove
1115 code about stepping into xmalloc.
1116
1117 2016-12-09 Yao Qi <yao.qi@linaro.org>
1118
1119 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
1120
1121 2016-12-09 Yao Qi <yao.qi@linaro.org>
1122
1123 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
1124
1125 2016-12-09 Pedro Alves <palves@redhat.com>
1126
1127 * gdb.base/all-architectures-0.exp: New file.
1128 * gdb.base/all-architectures-1.exp: New file.
1129 * gdb.base/all-architectures-2.exp: New file.
1130 * gdb.base/all-architectures-3.exp: New file.
1131 * gdb.base/all-architectures-4.exp: New file.
1132 * gdb.base/all-architectures-5.exp: New file.
1133 * gdb.base/all-architectures-6.exp: New file.
1134 * gdb.base/all-architectures-7.exp: New file.
1135 * gdb.base/all-architectures.exp.in: New file.
1136
1137 2016-12-09 Yao Qi <yao.qi@linaro.org>
1138
1139 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
1140
1141 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1142
1143 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
1144 possible.
1145 Remove useless pattern-matching code.
1146
1147 2016-12-02 Pedro Alves <palves@redhat.com>
1148
1149 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
1150 procedure.
1151 (top level): Call it.
1152
1153 2016-12-02 Pedro Alves <palves@redhat.com>
1154
1155 * gdb.base/commands.exp (user_defined_command_args_stack_test):
1156 New procedure.
1157 (top level): Call it.
1158
1159 2016-12-02 Pedro Alves <palves@redhat.com>
1160
1161 PR cli/20559
1162 * gdb.base/commands.exp (user_defined_command_args_eval): New
1163 procedure.
1164 (top level): Call it.
1165
1166 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1167
1168 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
1169 timeout handling.
1170
1171 2016-12-02 Tom Tromey <tom@tromey.com>
1172
1173 * gdb.dwarf2/main-subprogram.c: New file.
1174 * gdb.dwarf2/main-subprogram.exp: New file.
1175
1176 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1177
1178 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
1179 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
1180 gdb_test_no_output for a couple of cases.
1181 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
1182
1183 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1184
1185 Fix test names and standardize compilation error messages throughout
1186 the following files:
1187
1188 * gdb.ada/start.exp
1189 * gdb.arch/alpha-step.exp
1190 * gdb.arch/e500-prologue.exp
1191 * gdb.arch/ftrace-insn-reloc.exp
1192 * gdb.arch/gdb1291.exp
1193 * gdb.arch/gdb1431.exp
1194 * gdb.arch/gdb1558.exp
1195 * gdb.arch/i386-dr3-watch.exp
1196 * gdb.arch/i386-sse-stack-align.exp
1197 * gdb.arch/ia64-breakpoint-shadow.exp
1198 * gdb.arch/pa-nullify.exp
1199 * gdb.arch/powerpc-aix-prologue.exp
1200 * gdb.arch/thumb-bx-pc.exp
1201 * gdb.base/annota1.exp
1202 * gdb.base/annota3.exp
1203 * gdb.base/arrayidx.exp
1204 * gdb.base/assign.exp
1205 * gdb.base/attach.exp
1206 * gdb.base/auxv.exp
1207 * gdb.base/bang.exp
1208 * gdb.base/bfp-test.exp
1209 * gdb.base/bigcore.exp
1210 * gdb.base/bitfields2.exp
1211 * gdb.base/break-fun-addr.exp
1212 * gdb.base/break-probes.exp
1213 * gdb.base/call-rt-st.exp
1214 * gdb.base/callexit.exp
1215 * gdb.base/catch-fork-kill.exp
1216 * gdb.base/charset.exp
1217 * gdb.base/checkpoint.exp
1218 * gdb.base/comprdebug.exp
1219 * gdb.base/constvars.exp
1220 * gdb.base/coredump-filter.exp
1221 * gdb.base/cursal.exp
1222 * gdb.base/cvexpr.exp
1223 * gdb.base/detach.exp
1224 * gdb.base/display.exp
1225 * gdb.base/dmsym.exp
1226 * gdb.base/dprintf-pending.exp
1227 * gdb.base/dso2dso.exp
1228 * gdb.base/dtrace-probe.exp
1229 * gdb.base/dump.exp
1230 * gdb.base/enum_cond.exp
1231 * gdb.base/exe-lock.exp
1232 * gdb.base/exec-invalid-sysroot.exp
1233 * gdb.base/execl-update-breakpoints.exp
1234 * gdb.base/exprs.exp
1235 * gdb.base/fileio.exp
1236 * gdb.base/find.exp
1237 * gdb.base/finish.exp
1238 * gdb.base/fixsection.exp
1239 * gdb.base/foll-vfork.exp
1240 * gdb.base/frame-args.exp
1241 * gdb.base/gcore.exp
1242 * gdb.base/gdb1250.exp
1243 * gdb.base/global-var-nested-by-dso.exp
1244 * gdb.base/gnu-ifunc.exp
1245 * gdb.base/hashline1.exp
1246 * gdb.base/hashline2.exp
1247 * gdb.base/hashline3.exp
1248 * gdb.base/hbreak-in-shr-unsupported.exp
1249 * gdb.base/huge.exp
1250 * gdb.base/infcall-input.exp
1251 * gdb.base/info-fun.exp
1252 * gdb.base/info-shared.exp
1253 * gdb.base/jit-simple.exp
1254 * gdb.base/jit-so.exp
1255 * gdb.base/jit.exp
1256 * gdb.base/jump.exp
1257 * gdb.base/label.exp
1258 * gdb.base/lineinc.exp
1259 * gdb.base/logical.exp
1260 * gdb.base/longjmp.exp
1261 * gdb.base/macscp.exp
1262 * gdb.base/miscexprs.exp
1263 * gdb.base/new-ui-echo.exp
1264 * gdb.base/new-ui-pending-input.exp
1265 * gdb.base/new-ui.exp
1266 * gdb.base/nodebug.exp
1267 * gdb.base/nofield.exp
1268 * gdb.base/offsets.exp
1269 * gdb.base/overlays.exp
1270 * gdb.base/pending.exp
1271 * gdb.base/pointers.exp
1272 * gdb.base/pr11022.exp
1273 * gdb.base/printcmds.exp
1274 * gdb.base/prologue.exp
1275 * gdb.base/ptr-typedef.exp
1276 * gdb.base/realname-expand.exp
1277 * gdb.base/relativedebug.exp
1278 * gdb.base/relocate.exp
1279 * gdb.base/remote.exp
1280 * gdb.base/reread.exp
1281 * gdb.base/return2.exp
1282 * gdb.base/savedregs.exp
1283 * gdb.base/sep.exp
1284 * gdb.base/sepdebug.exp
1285 * gdb.base/sepsymtab.exp
1286 * gdb.base/set-inferior-tty.exp
1287 * gdb.base/setshow.exp
1288 * gdb.base/shlib-call.exp
1289 * gdb.base/sigaltstack.exp
1290 * gdb.base/siginfo-addr.exp
1291 * gdb.base/signals.exp
1292 * gdb.base/signull.exp
1293 * gdb.base/sigrepeat.exp
1294 * gdb.base/so-impl-ld.exp
1295 * gdb.base/solib-display.exp
1296 * gdb.base/solib-overlap.exp
1297 * gdb.base/solib-search.exp
1298 * gdb.base/solib-symbol.exp
1299 * gdb.base/structs.exp
1300 * gdb.base/structs2.exp
1301 * gdb.base/symtab-search-order.exp
1302 * gdb.base/twice.exp
1303 * gdb.base/unload.exp
1304 * gdb.base/varargs.exp
1305 * gdb.base/watchpoint-solib.exp
1306 * gdb.base/watchpoint.exp
1307 * gdb.base/whatis.exp
1308 * gdb.base/wrong_frame_bt_full.exp
1309 * gdb.btrace/dlopen.exp
1310 * gdb.cell/ea-standalone.exp
1311 * gdb.cell/ea-test.exp
1312 * gdb.cp/dispcxx.exp
1313 * gdb.cp/gdb2384.exp
1314 * gdb.cp/method2.exp
1315 * gdb.cp/nextoverthrow.exp
1316 * gdb.cp/pr10728.exp
1317 * gdb.disasm/am33.exp
1318 * gdb.disasm/h8300s.exp
1319 * gdb.disasm/mn10300.exp
1320 * gdb.disasm/sh3.exp
1321 * gdb.dwarf2/dw2-dir-file-name.exp
1322 * gdb.fortran/complex.exp
1323 * gdb.fortran/library-module.exp
1324 * gdb.guile/scm-pretty-print.exp
1325 * gdb.guile/scm-symbol.exp
1326 * gdb.guile/scm-type.exp
1327 * gdb.guile/scm-value.exp
1328 * gdb.linespec/linespec.exp
1329 * gdb.mi/gdb701.exp
1330 * gdb.mi/gdb792.exp
1331 * gdb.mi/mi-breakpoint-changed.exp
1332 * gdb.mi/mi-dprintf-pending.exp
1333 * gdb.mi/mi-dprintf.exp
1334 * gdb.mi/mi-exit-code.exp
1335 * gdb.mi/mi-pending.exp
1336 * gdb.mi/mi-solib.exp
1337 * gdb.mi/new-ui-mi-sync.exp
1338 * gdb.mi/pr11022.exp
1339 * gdb.mi/user-selected-context-sync.exp
1340 * gdb.opt/solib-intra-step.exp
1341 * gdb.python/py-events.exp
1342 * gdb.python/py-finish-breakpoint.exp
1343 * gdb.python/py-mi.exp
1344 * gdb.python/py-prettyprint.exp
1345 * gdb.python/py-shared.exp
1346 * gdb.python/py-symbol.exp
1347 * gdb.python/py-template.exp
1348 * gdb.python/py-type.exp
1349 * gdb.python/py-value.exp
1350 * gdb.reverse/solib-precsave.exp
1351 * gdb.reverse/solib-reverse.exp
1352 * gdb.server/solib-list.exp
1353 * gdb.stabs/weird.exp
1354 * gdb.threads/reconnect-signal.exp
1355 * gdb.threads/stepi-random-signal.exp
1356 * gdb.trace/actions.exp
1357 * gdb.trace/ax.exp
1358 * gdb.trace/backtrace.exp
1359 * gdb.trace/change-loc.exp
1360 * gdb.trace/deltrace.exp
1361 * gdb.trace/ftrace-lock.exp
1362 * gdb.trace/ftrace.exp
1363 * gdb.trace/infotrace.exp
1364 * gdb.trace/mi-tracepoint-changed.exp
1365 * gdb.trace/packetlen.exp
1366 * gdb.trace/passcount.exp
1367 * gdb.trace/pending.exp
1368 * gdb.trace/range-stepping.exp
1369 * gdb.trace/report.exp
1370 * gdb.trace/stap-trace.exp
1371 * gdb.trace/tfind.exp
1372 * gdb.trace/trace-break.exp
1373 * gdb.trace/trace-condition.exp
1374 * gdb.trace/trace-enable-disable.exp
1375 * gdb.trace/trace-mt.exp
1376 * gdb.trace/tracecmd.exp
1377 * gdb.trace/tspeed.exp
1378 * gdb.trace/tsv.exp
1379 * lib/perftest.exp
1380
1381 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1382
1383 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1384 with gdb_test_no_output.
1385 Use command as test name.
1386
1387 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1388
1389 Fix test names starting with uppercase throughout the files.
1390
1391 * gdb.ada/assign_1.exp
1392 * gdb.ada/boolean_expr.exp
1393 * gdb.base/arrayidx.exp
1394 * gdb.base/del.exp
1395 * gdb.base/gcore-buffer-overflow.exp
1396 * gdb.base/testenv.exp
1397 * gdb.compile/compile.exp
1398 * gdb.python/py-framefilter-invalidarg.exp
1399 * gdb.python/py-framefilter.exp
1400
1401 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1402
1403 Fix test names starting with uppercase throughout the files.
1404
1405 * gdb.ada/array_return.exp
1406 * gdb.ada/expr_delims.exp
1407 * gdb.ada/mi_dyn_arr.exp
1408 * gdb.ada/mi_interface.exp
1409 * gdb.ada/mi_var_array.exp
1410 * gdb.ada/watch_arg.exp
1411 * gdb.arch/alpha-step.exp
1412 * gdb.arch/altivec-regs.exp
1413 * gdb.arch/e500-regs.exp
1414 * gdb.arch/powerpc-d128-regs.exp
1415 * gdb.base/arrayidx.exp
1416 * gdb.base/break.exp
1417 * gdb.base/checkpoint.exp
1418 * gdb.base/debug-expr.exp
1419 * gdb.base/dmsym.exp
1420 * gdb.base/radix.exp
1421 * gdb.base/sepdebug.exp
1422 * gdb.base/testenv.exp
1423 * gdb.base/watch_thread_num.exp
1424 * gdb.base/watchpoint-cond-gone.exp
1425 * gdb.cell/break.exp
1426 * gdb.cell/ea-cache.exp
1427 * gdb.compile/compile.exp
1428 * gdb.cp/gdb2495.exp
1429 * gdb.gdb/selftest.exp
1430 * gdb.gdb/xfullpath.exp
1431 * gdb.go/hello.exp
1432 * gdb.go/integers.exp
1433 * gdb.objc/basicclass.exp
1434 * gdb.pascal/hello.exp
1435 * gdb.pascal/integers.exp
1436 * gdb.python/py-breakpoint.exp
1437 * gdb.python/py-cmd.exp
1438 * gdb.python/py-linetable.exp
1439 * gdb.python/py-xmethods.exp
1440 * gdb.python/python.exp
1441 * gdb.reverse/consecutive-precsave.exp
1442 * gdb.reverse/finish-precsave.exp
1443 * gdb.reverse/i386-precsave.exp
1444 * gdb.reverse/machinestate-precsave.exp
1445 * gdb.reverse/sigall-precsave.exp
1446 * gdb.reverse/solib-precsave.exp
1447 * gdb.reverse/step-precsave.exp
1448 * gdb.reverse/until-precsave.exp
1449 * gdb.reverse/watch-precsave.exp
1450 * gdb.threads/leader-exit.exp
1451 * gdb.threads/pthreads.exp
1452 * gdb.threads/wp-replication.exp
1453 * gdb.trace/actions.exp
1454 * gdb.trace/mi-tsv-changed.exp
1455 * gdb.trace/tsv.exp
1456
1457 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1458
1459 Fix test names starting with uppercase throughout the files.
1460
1461 * gdb.arch/i386-bp_permanent.exp
1462 * gdb.arch/i386-gnu-cfi.exp
1463 * gdb.base/disasm-end-cu.exp
1464 * gdb.base/macscp.exp
1465 * gdb.base/pending.exp
1466 * gdb.base/watch_thread_num.exp
1467 * gdb.cp/exception.exp
1468 * gdb.cp/gdb2495.exp
1469 * gdb.cp/local.exp
1470 * gdb.python/py-evsignal.exp
1471 * gdb.python/python.exp
1472 * gdb.trace/tracecmd.exp
1473
1474 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1475
1476 Fix test names starting with uppercase throughout the files.
1477
1478 * gdb.base/charset.exp
1479 * gdb.base/eval.exp
1480 * gdb.base/multi-forks.exp
1481 * gdb.guile/scm-progspace.exp
1482 * gdb.opencl/datatypes.exp
1483 * gdb.python/py-block.exp
1484 * gdb.python/py-function.exp
1485 * gdb.python/py-symbol.exp
1486 * gdb.python/py-symtab.exp
1487 * gdb.python/py-xmethods.exp
1488 * gdb.reverse/break-precsave.exp
1489 * gdb.reverse/break-reverse.exp
1490 * gdb.reverse/consecutive-precsave.exp
1491 * gdb.reverse/consecutive-reverse.exp
1492 * gdb.reverse/finish-precsave.exp
1493 * gdb.reverse/finish-reverse-bkpt.exp
1494 * gdb.reverse/finish-reverse.exp
1495 * gdb.reverse/fstatat-reverse.exp
1496 * gdb.reverse/getresuid-reverse.exp
1497 * gdb.reverse/i386-precsave.exp
1498 * gdb.reverse/i386-reverse.exp
1499 * gdb.reverse/i386-sse-reverse.exp
1500 * gdb.reverse/i387-stack-reverse.exp
1501 * gdb.reverse/insn-reverse.exp
1502 * gdb.reverse/machinestate-precsave.exp
1503 * gdb.reverse/machinestate.exp
1504 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1505 * gdb.reverse/pipe-reverse.exp
1506 * gdb.reverse/readv-reverse.exp
1507 * gdb.reverse/recvmsg-reverse.exp
1508 * gdb.reverse/rerun-prec.exp
1509 * gdb.reverse/s390-mvcle.exp
1510 * gdb.reverse/sigall-precsave.exp
1511 * gdb.reverse/sigall-reverse.exp
1512 * gdb.reverse/solib-precsave.exp
1513 * gdb.reverse/solib-reverse.exp
1514 * gdb.reverse/step-precsave.exp
1515 * gdb.reverse/step-reverse.exp
1516 * gdb.reverse/time-reverse.exp
1517 * gdb.reverse/until-precsave.exp
1518 * gdb.reverse/until-reverse.exp
1519 * gdb.reverse/waitpid-reverse.exp
1520 * gdb.reverse/watch-precsave.exp
1521 * gdb.reverse/watch-reverse.exp
1522
1523 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1524
1525 Fix test names starting with uppercase throughout the files.
1526
1527 * gdb.arch/i386-mpx-simple_segv.exp
1528 * gdb.arch/i386-mpx.exp
1529 * gdb.arch/i386-permbkpt.exp
1530 * gdb.arch/pa-nullify.exp
1531 * gdb.arch/powerpc-d128-regs.exp
1532 * gdb.arch/vsx-regs.exp
1533 * gdb.base/bfp-test.exp
1534 * gdb.base/break.exp
1535 * gdb.base/breakpoint-shadow.exp
1536 * gdb.base/callfuncs.exp
1537 * gdb.base/charset.exp
1538 * gdb.base/commands.exp
1539 * gdb.base/completion.exp
1540 * gdb.base/dfp-test.exp
1541 * gdb.base/echo.exp
1542 * gdb.base/ending-run.exp
1543 * gdb.base/eval.exp
1544 * gdb.base/expand-psymtabs.exp
1545 * gdb.base/float128.exp
1546 * gdb.base/floatn.exp
1547 * gdb.base/foll-exec-mode.exp
1548 * gdb.base/gdb1056.exp
1549 * gdb.base/gdb11531.exp
1550 * gdb.base/kill-after-signal.exp
1551 * gdb.base/multi-forks.exp
1552 * gdb.base/overlays.exp
1553 * gdb.base/pending.exp
1554 * gdb.base/sepdebug.exp
1555 * gdb.base/testenv.exp
1556 * gdb.base/valgrind-db-attach.exp
1557 * gdb.base/watch_thread_num.exp
1558 * gdb.base/watchpoint-cond-gone.exp
1559 * gdb.base/watchpoint.exp
1560 * gdb.base/watchpoints.exp
1561 * gdb.cp/arg-reference.exp
1562 * gdb.cp/baseenum.exp
1563 * gdb.cp/operator.exp
1564 * gdb.cp/shadow.exp
1565 * gdb.dwarf2/dw2-op-out-param.exp
1566 * gdb.dwarf2/dw2-reg-undefined.exp
1567 * gdb.go/chan.exp
1568 * gdb.go/hello.exp
1569 * gdb.go/integers.exp
1570 * gdb.go/methods.exp
1571 * gdb.go/package.exp
1572 * gdb.guile/scm-parameter.exp
1573 * gdb.guile/scm-progspace.exp
1574 * gdb.guile/scm-value.exp
1575 * gdb.mi/mi-pending.exp
1576 * gdb.mi/user-selected-context-sync.exp
1577 * gdb.multi/multi-attach.exp
1578 * gdb.multi/tids.exp
1579 * gdb.opt/clobbered-registers-O2.exp
1580 * gdb.pascal/floats.exp
1581 * gdb.pascal/integers.exp
1582 * gdb.python/py-block.exp
1583 * gdb.python/py-events.exp
1584 * gdb.python/py-parameter.exp
1585 * gdb.python/py-symbol.exp
1586 * gdb.python/py-symtab.exp
1587 * gdb.python/py-type.exp
1588 * gdb.python/py-value.exp
1589 * gdb.python/py-xmethods.exp
1590 * gdb.python/python.exp
1591 * gdb.reverse/break-precsave.exp
1592 * gdb.reverse/consecutive-precsave.exp
1593 * gdb.reverse/finish-precsave.exp
1594 * gdb.reverse/i386-precsave.exp
1595 * gdb.reverse/machinestate-precsave.exp
1596 * gdb.reverse/sigall-precsave.exp
1597 * gdb.reverse/solib-precsave.exp
1598 * gdb.reverse/step-precsave.exp
1599 * gdb.reverse/until-precsave.exp
1600 * gdb.reverse/watch-precsave.exp
1601 * gdb.server/ext-attach.exp
1602 * gdb.server/ext-restart.exp
1603 * gdb.server/ext-run.exp
1604 * gdb.server/ext-wrapper.exp
1605 * gdb.stabs/gdb11479.exp
1606 * gdb.stabs/weird.exp
1607 * gdb.threads/attach-many-short-lived-threads.exp
1608 * gdb.threads/kill.exp
1609 * gdb.threads/watchpoint-fork.exp
1610
1611 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1612
1613 Fix test names starting with uppercase throughout all the files below.
1614
1615 * gdb.ada/array_return.exp
1616 * gdb.ada/catch_ex.exp
1617 * gdb.ada/info_exc.exp
1618 * gdb.ada/mi_catch_ex.exp
1619 * gdb.ada/mi_dyn_arr.exp
1620 * gdb.ada/mi_ex_cond.exp
1621 * gdb.ada/mi_exc_info.exp
1622 * gdb.ada/mi_interface.exp
1623 * gdb.ada/mi_task_arg.exp
1624 * gdb.ada/mi_task_info.exp
1625 * gdb.ada/mi_var_array.exp
1626 * gdb.arch/alpha-step.exp
1627 * gdb.arch/amd64-disp-step.exp
1628 * gdb.arch/arm-disp-step.exp
1629 * gdb.arch/disp-step-insn-reloc.exp
1630 * gdb.arch/e500-prologue.exp
1631 * gdb.arch/ftrace-insn-reloc.exp
1632 * gdb.arch/gdb1558.exp
1633 * gdb.arch/i386-bp_permanent.exp
1634 * gdb.arch/i386-disp-step.exp
1635 * gdb.arch/i386-float.exp
1636 * gdb.arch/i386-gnu-cfi.exp
1637 * gdb.arch/ia64-breakpoint-shadow.exp
1638 * gdb.arch/mips16-thunks.exp
1639 * gdb.arch/pa-nullify.exp
1640 * gdb.arch/powerpc-aix-prologue.exp
1641 * gdb.arch/powerpc-power.exp
1642 * gdb.arch/ppc-dfp.exp
1643 * gdb.arch/s390-tdbregs.exp
1644 * gdb.arch/spu-info.exp
1645 * gdb.arch/spu-ls.exp
1646 * gdb.arch/thumb-bx-pc.exp
1647 * gdb.base/advance.exp
1648 * gdb.base/annota-input-while-running.exp
1649 * gdb.base/arrayidx.exp
1650 * gdb.base/asmlabel.exp
1651 * gdb.base/async.exp
1652 * gdb.base/attach-wait-input.exp
1653 * gdb.base/auto-connect-native-target.exp
1654 * gdb.base/batch-preserve-term-settings.exp
1655 * gdb.base/bfp-test.exp
1656 * gdb.base/bigcore.exp
1657 * gdb.base/bp-permanent.exp
1658 * gdb.base/break-always.exp
1659 * gdb.base/break-fun-addr.exp
1660 * gdb.base/break-idempotent.exp
1661 * gdb.base/break-main-file-remove-fail.exp
1662 * gdb.base/break-probes.exp
1663 * gdb.base/break-unload-file.exp
1664 * gdb.base/break.exp
1665 * gdb.base/call-ar-st.exp
1666 * gdb.base/call-rt-st.exp
1667 * gdb.base/call-sc.exp
1668 * gdb.base/call-signal-resume.exp
1669 * gdb.base/call-strs.exp
1670 * gdb.base/callexit.exp
1671 * gdb.base/callfuncs.exp
1672 * gdb.base/catch-gdb-caused-signals.exp
1673 * gdb.base/catch-signal-siginfo-cond.exp
1674 * gdb.base/catch-syscall.exp
1675 * gdb.base/compare-sections.exp
1676 * gdb.base/cond-eval-mode.exp
1677 * gdb.base/condbreak-call-false.exp
1678 * gdb.base/consecutive-step-over.exp
1679 * gdb.base/cursal.exp
1680 * gdb.base/disabled-location.exp
1681 * gdb.base/disasm-end-cu.exp
1682 * gdb.base/display.exp
1683 * gdb.base/double-prompt-target-event-error.exp
1684 * gdb.base/dprintf-bp-same-addr.exp
1685 * gdb.base/dprintf-detach.exp
1686 * gdb.base/dprintf-next.exp
1687 * gdb.base/dprintf-non-stop.exp
1688 * gdb.base/dprintf-pending.exp
1689 * gdb.base/dso2dso.exp
1690 * gdb.base/ending-run.exp
1691 * gdb.base/enum_cond.exp
1692 * gdb.base/examine-backward.exp
1693 * gdb.base/exe-lock.exp
1694 * gdb.base/exec-invalid-sysroot.exp
1695 * gdb.base/execl-update-breakpoints.exp
1696 * gdb.base/execution-termios.exp
1697 * gdb.base/fileio.exp
1698 * gdb.base/fixsection.exp
1699 * gdb.base/foll-exec-mode.exp
1700 * gdb.base/foll-exec.exp
1701 * gdb.base/fork-running-state.exp
1702 * gdb.base/frame-args.exp
1703 * gdb.base/fullpath-expand.exp
1704 * gdb.base/func-ptr.exp
1705 * gdb.base/gcore-relro-pie.exp
1706 * gdb.base/gdb1090.exp
1707 * gdb.base/gdb1555.exp
1708 * gdb.base/global-var-nested-by-dso.exp
1709 * gdb.base/gnu-ifunc.exp
1710 * gdb.base/hbreak-in-shr-unsupported.exp
1711 * gdb.base/hbreak-unmapped.exp
1712 * gdb.base/hook-stop.exp
1713 * gdb.base/infcall-input.exp
1714 * gdb.base/info-fun.exp
1715 * gdb.base/info-shared.exp
1716 * gdb.base/interrupt-noterm.exp
1717 * gdb.base/jit-so.exp
1718 * gdb.base/jit.exp
1719 * gdb.base/line-symtabs.exp
1720 * gdb.base/list.exp
1721 * gdb.base/longjmp.exp
1722 * gdb.base/macscp.exp
1723 * gdb.base/max-value-size.exp
1724 * gdb.base/nodebug.exp
1725 * gdb.base/nofield.exp
1726 * gdb.base/overlays.exp
1727 * gdb.base/paginate-after-ctrl-c-running.exp
1728 * gdb.base/paginate-bg-execution.exp
1729 * gdb.base/paginate-inferior-exit.exp
1730 * gdb.base/pending.exp
1731 * gdb.base/pr11022.exp
1732 * gdb.base/printcmds.exp
1733 * gdb.base/ptr-typedef.exp
1734 * gdb.base/ptype.exp
1735 * gdb.base/randomize.exp
1736 * gdb.base/range-stepping.exp
1737 * gdb.base/realname-expand.exp
1738 * gdb.base/relativedebug.exp
1739 * gdb.base/remote.exp
1740 * gdb.base/savedregs.exp
1741 * gdb.base/sepdebug.exp
1742 * gdb.base/set-noassign.exp
1743 * gdb.base/shlib-call.exp
1744 * gdb.base/shreloc.exp
1745 * gdb.base/sigaltstack.exp
1746 * gdb.base/sigbpt.exp
1747 * gdb.base/siginfo-addr.exp
1748 * gdb.base/siginfo-obj.exp
1749 * gdb.base/siginfo-thread.exp
1750 * gdb.base/signest.exp
1751 * gdb.base/signull.exp
1752 * gdb.base/sigrepeat.exp
1753 * gdb.base/skip.exp
1754 * gdb.base/so-impl-ld.exp
1755 * gdb.base/solib-corrupted.exp
1756 * gdb.base/solib-disc.exp
1757 * gdb.base/solib-display.exp
1758 * gdb.base/solib-overlap.exp
1759 * gdb.base/solib-search.exp
1760 * gdb.base/solib-symbol.exp
1761 * gdb.base/source-execution.exp
1762 * gdb.base/sss-bp-on-user-bp-2.exp
1763 * gdb.base/sss-bp-on-user-bp.exp
1764 * gdb.base/stack-checking.exp
1765 * gdb.base/stale-infcall.exp
1766 * gdb.base/step-break.exp
1767 * gdb.base/step-line.exp
1768 * gdb.base/step-over-exit.exp
1769 * gdb.base/step-test.exp
1770 * gdb.base/structs.exp
1771 * gdb.base/sym-file.exp
1772 * gdb.base/symtab-search-order.exp
1773 * gdb.base/term.exp
1774 * gdb.base/type-opaque.exp
1775 * gdb.base/unload.exp
1776 * gdb.base/until-nodebug.exp
1777 * gdb.base/until.exp
1778 * gdb.base/unwindonsignal.exp
1779 * gdb.base/watch-cond.exp
1780 * gdb.base/watch-non-mem.exp
1781 * gdb.base/watch_thread_num.exp
1782 * gdb.base/watchpoint-reuse-slot.exp
1783 * gdb.base/watchpoint-solib.exp
1784 * gdb.base/watchpoint.exp
1785 * gdb.btrace/dlopen.exp
1786 * gdb.cell/arch.exp
1787 * gdb.cell/break.exp
1788 * gdb.cell/bt.exp
1789 * gdb.cell/core.exp
1790 * gdb.cell/data.exp
1791 * gdb.cell/dwarfaddr.exp
1792 * gdb.cell/ea-cache.exp
1793 * gdb.cell/ea-standalone.exp
1794 * gdb.cell/ea-test.exp
1795 * gdb.cell/f-regs.exp
1796 * gdb.cell/fork.exp
1797 * gdb.cell/gcore.exp
1798 * gdb.cell/mem-access.exp
1799 * gdb.cell/ptype.exp
1800 * gdb.cell/registers.exp
1801 * gdb.cell/sizeof.exp
1802 * gdb.cell/solib-symbol.exp
1803 * gdb.cell/solib.exp
1804 * gdb.compile/compile-tls.exp
1805 * gdb.cp/exception.exp
1806 * gdb.cp/gdb2495.exp
1807 * gdb.cp/local.exp
1808 * gdb.cp/mb-inline.exp
1809 * gdb.cp/mb-templates.exp
1810 * gdb.cp/pr10687.exp
1811 * gdb.cp/pr9167.exp
1812 * gdb.cp/scope-err.exp
1813 * gdb.cp/templates.exp
1814 * gdb.cp/virtfunc.exp
1815 * gdb.dwarf2/dw2-dir-file-name.exp
1816 * gdb.dwarf2/dw2-single-line-discriminators.exp
1817 * gdb.fortran/complex.exp
1818 * gdb.fortran/library-module.exp
1819 * gdb.guile/guile.exp
1820 * gdb.guile/scm-cmd.exp
1821 * gdb.guile/scm-frame-inline.exp
1822 * gdb.guile/scm-objfile.exp
1823 * gdb.guile/scm-pretty-print.exp
1824 * gdb.guile/scm-symbol.exp
1825 * gdb.guile/scm-type.exp
1826 * gdb.guile/scm-value.exp
1827 * gdb.linespec/keywords.exp
1828 * gdb.linespec/ls-errs.exp
1829 * gdb.linespec/macro-relative.exp
1830 * gdb.linespec/thread.exp
1831 * gdb.mi/mi-breakpoint-changed.exp
1832 * gdb.mi/mi-dprintf-pending.exp
1833 * gdb.mi/mi-fullname-deleted.exp
1834 * gdb.mi/mi-logging.exp
1835 * gdb.mi/mi-pending.exp
1836 * gdb.mi/mi-solib.exp
1837 * gdb.mi/new-ui-mi-sync.exp
1838 * gdb.mi/user-selected-context-sync.exp
1839 * gdb.multi/dummy-frame-restore.exp
1840 * gdb.multi/multi-arch-exec.exp
1841 * gdb.multi/remove-inferiors.exp
1842 * gdb.multi/watchpoint-multi-exit.exp
1843 * gdb.opt/solib-intra-step.exp
1844 * gdb.perf/backtrace.exp
1845 * gdb.perf/single-step.exp
1846 * gdb.perf/skip-command.exp
1847 * gdb.perf/skip-prologue.exp
1848 * gdb.perf/solib.exp
1849 * gdb.python/lib-types.exp
1850 * gdb.python/py-as-string.exp
1851 * gdb.python/py-bad-printers.exp
1852 * gdb.python/py-block.exp
1853 * gdb.python/py-breakpoint.exp
1854 * gdb.python/py-cmd.exp
1855 * gdb.python/py-events.exp
1856 * gdb.python/py-evthreads.exp
1857 * gdb.python/py-finish-breakpoint.exp
1858 * gdb.python/py-finish-breakpoint2.exp
1859 * gdb.python/py-frame-inline.exp
1860 * gdb.python/py-frame.exp
1861 * gdb.python/py-inferior.exp
1862 * gdb.python/py-infthread.exp
1863 * gdb.python/py-mi.exp
1864 * gdb.python/py-objfile.exp
1865 * gdb.python/py-pp-maint.exp
1866 * gdb.python/py-pp-registration.exp
1867 * gdb.python/py-prettyprint.exp
1868 * gdb.python/py-recurse-unwind.exp
1869 * gdb.python/py-shared.exp
1870 * gdb.python/py-symbol.exp
1871 * gdb.python/py-symtab.exp
1872 * gdb.python/py-template.exp
1873 * gdb.python/py-type.exp
1874 * gdb.python/py-unwind-maint.exp
1875 * gdb.python/py-unwind.exp
1876 * gdb.python/py-value.exp
1877 * gdb.python/python.exp
1878 * gdb.reverse/finish-reverse-bkpt.exp
1879 * gdb.reverse/insn-reverse.exp
1880 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1881 * gdb.reverse/solib-precsave.exp
1882 * gdb.reverse/solib-reverse.exp
1883 * gdb.stabs/gdb11479.exp
1884 * gdb.stabs/weird.exp
1885 * gdb.threads/fork-child-threads.exp
1886 * gdb.threads/fork-plus-threads.exp
1887 * gdb.threads/fork-thread-pending.exp
1888 * gdb.threads/forking-threads-plus-breakpoint.exp
1889 * gdb.threads/hand-call-in-threads.exp
1890 * gdb.threads/interrupted-hand-call.exp
1891 * gdb.threads/linux-dp.exp
1892 * gdb.threads/local-watch-wrong-thread.exp
1893 * gdb.threads/next-while-other-thread-longjmps.exp
1894 * gdb.threads/non-ldr-exit.exp
1895 * gdb.threads/pending-step.exp
1896 * gdb.threads/print-threads.exp
1897 * gdb.threads/process-dies-while-detaching.exp
1898 * gdb.threads/process-dies-while-handling-bp.exp
1899 * gdb.threads/pthreads.exp
1900 * gdb.threads/queue-signal.exp
1901 * gdb.threads/reconnect-signal.exp
1902 * gdb.threads/signal-command-handle-nopass.exp
1903 * gdb.threads/signal-command-multiple-signals-pending.exp
1904 * gdb.threads/signal-delivered-right-thread.exp
1905 * gdb.threads/signal-sigtrap.exp
1906 * gdb.threads/sigthread.exp
1907 * gdb.threads/staticthreads.exp
1908 * gdb.threads/stepi-random-signal.exp
1909 * gdb.threads/thread-unwindonsignal.exp
1910 * gdb.threads/thread_check.exp
1911 * gdb.threads/thread_events.exp
1912 * gdb.threads/tid-reuse.exp
1913 * gdb.threads/tls-nodebug.exp
1914 * gdb.threads/tls-shared.exp
1915 * gdb.threads/tls-so_extern.exp
1916 * gdb.threads/tls.exp
1917 * gdb.threads/wp-replication.exp
1918 * gdb.trace/actions-changed.exp
1919 * gdb.trace/actions.exp
1920 * gdb.trace/backtrace.exp
1921 * gdb.trace/change-loc.exp
1922 * gdb.trace/collection.exp
1923 * gdb.trace/deltrace.exp
1924 * gdb.trace/disconnected-tracing.exp
1925 * gdb.trace/entry-values.exp
1926 * gdb.trace/ftrace-lock.exp
1927 * gdb.trace/ftrace.exp
1928 * gdb.trace/infotrace.exp
1929 * gdb.trace/mi-trace-frame-collected.exp
1930 * gdb.trace/mi-trace-unavailable.exp
1931 * gdb.trace/mi-traceframe-changed.exp
1932 * gdb.trace/mi-tracepoint-changed.exp
1933 * gdb.trace/mi-tsv-changed.exp
1934 * gdb.trace/no-attach-trace.exp
1935 * gdb.trace/packetlen.exp
1936 * gdb.trace/passc-dyn.exp
1937 * gdb.trace/passcount.exp
1938 * gdb.trace/pending.exp
1939 * gdb.trace/pr16508.exp
1940 * gdb.trace/qtro.exp
1941 * gdb.trace/range-stepping.exp
1942 * gdb.trace/read-memory.exp
1943 * gdb.trace/report.exp
1944 * gdb.trace/save-trace.exp
1945 * gdb.trace/signal.exp
1946 * gdb.trace/stap-trace.exp
1947 * gdb.trace/status-stop.exp
1948 * gdb.trace/strace.exp
1949 * gdb.trace/tfile.exp
1950 * gdb.trace/tfind.exp
1951 * gdb.trace/trace-break.exp
1952 * gdb.trace/trace-condition.exp
1953 * gdb.trace/trace-enable-disable.exp
1954 * gdb.trace/trace-mt.exp
1955 * gdb.trace/tracecmd.exp
1956 * gdb.trace/tracefile-pseudo-reg.exp
1957 * gdb.trace/tspeed.exp
1958 * gdb.trace/tstatus.exp
1959 * gdb.trace/tsv.exp
1960 * gdb.trace/unavailable.exp
1961 * gdb.trace/while-dyn.exp
1962 * gdb.trace/while-stepping.exp
1963 * lib/gdb-guile.exp
1964 * lib/gdb.exp
1965 * lib/mi-support.exp
1966 * lib/pascal.exp
1967 * lib/perftest.exp
1968 * lib/prelink-support.exp
1969 * lib/selftest-support.exp
1970
1971 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
1972
1973 * Makefile.in: Include disable-implicit-rules.mk.
1974
1975 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1976
1977 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
1978 non-byte-aligned bit fields.
1979
1980 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1981
1982 PR gdb/12616
1983 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
1984 respects the DW_AT_data_bit_offset attribute.
1985
1986 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
1987
1988 * gdb.base/default.exp: Fix output of "set language".
1989
1990 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
1991
1992 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
1993 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
1994 make.
1995 * configure.ac: Remove checks for the make program.
1996 * configure: Re-generate.
1997
1998 2016-11-16 Kevin Buettner <kevinb@redhat.com>
1999
2000 * gdb.python/py-recurse-unwind.c (main): Add loop.
2001 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
2002 to read_register() and gdb.parse_and_eval(). Make each code
2003 call a separate case that can be individually tested.
2004 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
2005 proc. Call cont_and_backtrace for each of the code paths that
2006 we want to test in the unwinder.
2007
2008 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
2009
2010 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
2011 the definition of struct S.
2012
2013 2016-11-11 Catherine Moore <clm@codesourcery.com>
2014
2015 * gdb.base/dump.exp: Identify verilog format dump tests as such.
2016
2017 2016-11-09 Pedro Alves <palves@redhat.com>
2018
2019 * gdb.base/commands.exp (runto_or_return): New procedure.
2020 (gdbvar_simple_if_test, gdbvar_simple_while_test)
2021 (gdbvar_complex_if_while_test, progvar_simple_if_test)
2022 (progvar_simple_while_test, progvar_complex_if_while_test)
2023 (if_while_breakpoint_command_test)
2024 (infrun_breakpoint_command_test, breakpoint_command_test)
2025 (user_defined_command_test, watchpoint_command_test)
2026 (test_command_prompt_position, redefine_hook_test)
2027 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
2028 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
2029 multi_line_input and multi_line. Remove gdb_expect and
2030 gdb_stop_suppressing_tests uses.
2031 * lib/gdb.exp (valnum_re): New global.
2032 (multi_line_input): New procedure.
2033
2034 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
2035
2036 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
2037 Remove.
2038 (test_setup): Define with proc_with_prefix.
2039 (test_cli_inferior): Likewise.
2040 (test_cli_thread): Likewise.
2041 (test_cli_frame): Likewise.
2042 (test_cli_select_frame): Likewise.
2043 (test_cli_up_down): Likewise.
2044 (test_mi_thread_select): Likewise.
2045 (test_mi_stack_select_frame): Likewise.
2046 (test_cli_in_mi_inferior): Likewise.
2047 (test_cli_in_mi_thread): Likewise.
2048 (test_cli_in_mi_frame): Likewise.
2049 (top level): Do not use with_test_prefix_procname.
2050
2051 2016-11-09 Pedro Alves <palves@redhat.com>
2052
2053 * gdb.base/commands.exp (gdbvar_simple_if_test)
2054 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
2055 (progvar_simple_if_test, progvar_simple_while_test)
2056 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
2057 (infrun_breakpoint_command_test, breakpoint_command_test)
2058 (user_defined_command_test, watchpoint_command_test)
2059 (test_command_prompt_position, deprecated_command_test)
2060 (bp_deleted_in_command, temporary_breakpoint_commands)
2061 (stray_arg0_test, source_file_with_indented_comment)
2062 (recursive_source_test, if_commands_test)
2063 (error_clears_commands_left, redefine_hook_test)
2064 (redefine_backtrace_test): Use proc_with_prefix.
2065 * lib/gdb.exp (proc_with_prefix): New proc.
2066
2067 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2068
2069 * gdb.base/tui-layout.c: New file.
2070 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
2071 disassembly window contains very long lines.
2072
2073 2016-11-08 Tom Tromey <tom@tromey.com>
2074
2075 * gdb.python/py-value.exp (test_value_creation): Make "long" test
2076 depend on Python 2.
2077
2078 2016-11-08 Tom Tromey <tom@tromey.com>
2079
2080 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
2081 New method.
2082
2083 2016-10-29 Manish Goregaokar <manish@mozilla.com>
2084
2085 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
2086
2087 2016-10-27 Manish Goregaokar <manish@mozilla.com>
2088
2089 * gdb.rust/simple.rs: Add test for univariant enums without
2090 discriminants and for encoded struct-like enums.
2091
2092 2016-10-28 Pedro Alves <palves@redhat.com>
2093
2094 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
2095 gdb_test_multiple, tighten regexps and match symtabs and line
2096 tables incrementally.
2097
2098 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
2099
2100 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
2101 general.
2102
2103 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
2104
2105 * gdb.base/exec-invalid-sysroot.exp: New file.
2106
2107 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2108
2109 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
2110
2111 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2112
2113 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
2114
2115 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
2116
2117 * gdb.base/killed-outside.exp: Remove $options from a call to
2118 `prepare_for_testing'.
2119
2120 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2121
2122 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2123 Change test message.
2124
2125 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2126
2127 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2128 Update comment.
2129
2130 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2131
2132 * gdb.trace/mi-trace-save.exp: New file.
2133
2134 2016-10-13 Yao Qi <yao.qi@linaro.org>
2135
2136 * gdb.base/code_elim.exp (get_var_address): Remove.
2137 * gdb.base/relocate.exp: Likewise.
2138 * gdb.base/shreloc.exp: Likewise.
2139 * lib/gdb.exp (get_var_address): New.
2140
2141 2016-10-13 Yao Qi <yao.qi@linaro.org>
2142
2143 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
2144 floating point tests if $skip_float_test is false.
2145
2146 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
2147
2148 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
2149 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
2150 argc values.
2151 Add 1 to argc so we guarantee distinct initial/modified argc values.
2152
2153 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2154
2155 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
2156
2157 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2158
2159 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
2160 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2161 * gdb.arch/vsx-regs.exp: Likewise.
2162
2163 2016-10-07 Yao Qi <yao.qi@linaro.org>
2164
2165 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
2166
2167 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
2168
2169 * gdb.python/python.exp: Test decode_line("*0").
2170
2171 2016-10-06 Doug Evans <dje@google.com>
2172
2173 * gdb.python/py-value.exp (test_value_creation): Add test for large
2174 unsigned 64-bit value.
2175
2176 2016-10-06 Tom Tromey <tom@tromey.com>
2177
2178 * gdb.compile/compile.exp: Change java tests to rust.
2179 * gdb.base/setshow.exp: Change java tests to rust.
2180 * gdb.base/default.exp: Remove java from language list.
2181 * README (Examples): Update language example.
2182 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
2183 test.
2184 * lib/gdb.exp (skip_java_tests): Remove.
2185 * lib/java.exp: Remove.
2186 * gdb.java: Remove.
2187
2188 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2189
2190 * gdb.arch/mips-fcr.exp: New test.
2191 * gdb.arch/mips-fcr.c: Source for the new test.
2192
2193 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2194
2195 * gdb.base/solib-disc.exp: Use `standard_output_file'
2196 throughout.
2197
2198 2016-10-06 Pedro Alves <palves@redhat.com>
2199
2200 * gdb.base/jit-simple-dl.c: New file.
2201 * gdb.base/jit-simple-jit.c: New file, factored out from ...
2202 * gdb.base/jit-simple.c: ... this.
2203 * gdb.base/jit-simple.exp (jit_run): Delete.
2204 (build_jit): New proc.
2205 (jit_test_reread): Recompile either the main program or the shared
2206 library, depending on what is being tested. Skip changing address
2207 if caller wants to. Compare before/after addresses. If testing
2208 standalone, explicitly load the binary. Test "maint info
2209 breakpoints".
2210 (top level): Add "standalone vs shared lib" and "change address"
2211 vs "same address" axes.
2212
2213 2016-10-06 Pedro Alves <palves@redhat.com>
2214
2215 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
2216 call.
2217 (jit_run): Delete.
2218 (jit_test_reread): Use with_test_prefix. Reload the main binary
2219 explicitly. Compare the before/after addresses of the JIT
2220 descriptor.
2221
2222 2016-08-15 Doug Evans <dje@google.com>
2223
2224 * gdb.xml/extra-regs.xml: Update, end field now required, default type
2225 for single bitfields is bool.
2226 * gdb.xml/tdesc-regs.exp: Ditto.
2227
2228 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2229
2230 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
2231
2232 2016-10-05 Yao Qi <yao.qi@linaro.org>
2233
2234 * lib/gdb.exp (support_complex_tests): Return zero if
2235 gdb_skip_float_test return true.
2236
2237 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2238 Simon Marchi <simon.marchi@ericsson.com>
2239
2240 PR gdb/20487
2241 * gdb.mi/user-selected-context-sync.exp: New file.
2242 * gdb.mi/user-selected-context-sync.c: New file.
2243
2244 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2245 Simon Marchi <simon.marchi@ericsson.com>
2246
2247 PR gdb/20487
2248 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
2249 =thread-select-event check.
2250
2251 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2252
2253 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
2254 the compulsory L operand changes.
2255 * gdb.arch/powerpc-power.s: Likewise.
2256
2257 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2258
2259 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
2260 * gdb.base/jit-attach-pie.c: New file.
2261 * gdb.base/jit-attach-pie.exp: New file.
2262
2263 2016-09-28 Pedro Alves <palves@redhat.com>
2264
2265 * gdb.base/infcall-input.c: New file.
2266 * gdb.base/infcall-input.exp: New file.
2267
2268 2016-09-22 Yao Qi <yao.qi@linaro.org>
2269
2270 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
2271 (gdb_exit): Rename it to ...
2272 (gdbserver_gdb_exit): ... Close GDBserver.
2273 (gdb_exit): New proc, call gdbserver_gdb_exit.
2274 (mi_gdb_exit): Likewise.
2275
2276 2016-09-22 Yao Qi <yao.qi@linaro.org>
2277
2278 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
2279 path.
2280 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
2281 Remove duplication.
2282
2283 2016-09-22 Yao Qi <yao.qi@linaro.org>
2284
2285 * lib/gdbserver-support.exp: Check the existence of
2286 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
2287
2288 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2289
2290 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
2291
2292 2016-09-21 Tom Tromey <tom@tromey.com>
2293
2294 PR gdb/20604:
2295 * gdb.base/quit.exp: New file.
2296
2297 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
2298
2299 * .gitignore: New file.
2300
2301 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
2302
2303 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
2304 throughout.
2305
2306 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2307
2308 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
2309
2310 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2311
2312 * gdb.cp/casts.cc (decltype): Move it ...
2313 (main): ... with its call to ...
2314 * gdb.cp/casts03.cc: ... a new file.
2315 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2316
2317 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2318
2319 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2320
2321 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2322
2323 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2324 and sync up the test with tests in gas/testsuite/gas/ppc.
2325 * gdb.arch/powerpc-power.exp: Likewise.
2326
2327 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2328
2329 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2330
2331 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2332 Jan Kratochvil <jan.kratochvil@redhat.com>
2333
2334 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2335 make m1's definition to be different from m2's. Use 'dummy' as an
2336 argument for probe 'two'.
2337
2338 2016-09-10 Jon Beniston <jon@beniston.com>
2339
2340 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2341 for sim target.
2342
2343 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2344
2345 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2346 variable declaration.
2347 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2348 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2349 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2350 received HWCAP as its argument.
2351
2352 2016-09-06 Pedro Alves <palves@redhat.com>
2353
2354 * gdb.base/new-ui-pending-input.c: New file.
2355 * gdb.base/new-ui-pending-input.exp: New file.
2356 * gdb.exp (clear_gdb_spawn_id): New procedure.
2357 (with_spawn_id): Check whether gdb_spawn_id exists before
2358 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2359 on exit.
2360
2361 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2362
2363 * gdb.base/float128.c: New file.
2364 * gdb.base/float128.exp: Likewise.
2365 * gdb.base/floatn.c: Likewise.
2366 * gdb.base/floatn.exp: Likewise.
2367
2368 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2369
2370 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2371
2372 2016-09-05 Pedro Alves <palves@redhat.com>
2373
2374 PR backtrace/19927
2375 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2376 unwinders are immediately called as side effect of "source" or
2377 "disable unwinder" commands.
2378 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2379
2380 2016-09-02 Yao Qi <yao.qi@linaro.org>
2381
2382 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2383 is true and $type is "float" or "double".
2384
2385 2016-09-02 Yao Qi <yao.qi@linaro.org>
2386
2387 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2388 true.
2389 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2390 * gdb.base/call-rt-st.exp: Likewise.
2391 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2392 return value instead of gdb,skip_float_test.
2393 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2394 (do_function_calls): Use its return value instead of
2395 gdb,skip_float_test.
2396 * gdb.base/finish.exp: Likewise.
2397 * gdb.base/funcargs.exp: Likewise.
2398 * gdb.base/return.exp: Likewise.
2399 * gdb.base/return2.exp: Likewise.
2400 * gdb.base/varargs.exp: Likewise.
2401 * lib/gdb.exp (gdb_skip_float_test): Change it to
2402 gdb_caching_proc. Detect the broken ptrace on arm-linux.
2403
2404 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2405
2406 * gdb.multi/tids.exp: Test "thread apply all".
2407
2408 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2409
2410 * gdb.base/default.exp (tty): Remove.
2411
2412 2016-08-24 Kevin Buettner <kevinb@redhat.com>
2413
2414 * gdb.python/py-recurse-unwind.c: New file.
2415 * gdb.python/py-recurse-unwind.py: New file.
2416 * gdb.python/py-recurse-unwind.exp: New file.
2417
2418 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
2419
2420 * gdb.base/set-inferior-tty.exp: New file.
2421 * gdb.base/set-inferior-tty.c: New file.
2422
2423 2016-08-23 Pedro Alves <palves@redhat.com>
2424
2425 PR gdb/20494
2426 * gdb.base/new-ui-echo.c: New file.
2427 * gdb.base/new-ui-echo.exp: New file.
2428
2429 2016-08-23 Yao Qi <yao.qi@linaro.org>
2430
2431 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
2432 gdbserver_spawn.
2433 * gdb.server/connect-without-multi-process.exp (do_test):
2434 Likewise.
2435
2436 2016-08-23 Yao Qi <yao.qi@linaro.org>
2437
2438 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
2439 standalone_txt. Delete gdb_txt and standalone_txt on host
2440 and target. Spawn the binary on target. Copy files from
2441 target to host.
2442
2443 2016-08-22 Pedro Alves <palves@redhat.com>
2444
2445 PR gdb/20505
2446 * gdb.base/vdso-warning.exp: Test core dumps too. Use
2447 with_test_prefix. Factor out bits to ...
2448 (test_no_vdso): ... this new procedure.
2449
2450 2016-08-19 Carl Love <cel@us.ibm.com>
2451
2452 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
2453 maintaining separate logic for constructing the output path.
2454 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2455 * gdb.arch/ppc-dfp.exp: Likewise.
2456 * gdb.arch/ppc-fp.exp: Likewise.
2457 * gdb.arch/vsx-regs.exp: Likewise.
2458 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
2459 binprefix for generating the additional binary files.
2460
2461 2016-08-19 Pedro Alves <palves@redhat.com>
2462
2463 * gdb.trace/mi-trace-frame-collected.exp
2464 (test_trace_frame_collected): On x32, expect two registers.
2465
2466 2016-08-18 Carl Love <cel@us.ibm.com>
2467
2468 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
2469 and sync up the test with tests in gas/testsuite/gas/ppc.
2470 * gdb.arch/powerpc-power.exp: Likewise.
2471
2472 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2473
2474 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
2475 expected error message.
2476
2477 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2478
2479 * gdb.multi/remove-inferiors.exp: New file.
2480 * gdb.multi/remove-inferiors.c: New file.
2481
2482 2016-08-12 Yao Qi <yao.qi@linaro.org>
2483
2484 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
2485 argument list.
2486
2487 2016-08-10 Pedro Alves <palves@redhat.com>
2488
2489 PR gdb/19187
2490 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
2491 setup_kfails.
2492
2493 2016-08-09 Pedro Alves <palves@redhat.com>
2494 Simon Marchi <simon.marchi@ericsson.com>
2495
2496 PR gdb/20418
2497 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
2498 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
2499
2500 2016-08-09 Pedro Alves <palves@redhat.com>
2501
2502 PR mi/20431
2503 * gdb.mi/mi-cmd-error.exp: New file.
2504
2505 2016-08-09 Pedro Alves <palves@redhat.com>
2506
2507 PR gdb/18653
2508 * gdb.base/signals-state-child.c: New file.
2509 * gdb.base/signals-state-child.exp: New file.
2510 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
2511
2512 2016-08-09 Pedro Alves <palves@redhat.com>
2513
2514 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
2515
2516 2016-08-03 Tom Tromey <tom@tromey.com>
2517
2518 PR python/18565:
2519 * gdb.python/py-frame-inline.exp: Add Frame.function test.
2520
2521 2016-08-01 Yao Qi <yao.qi@linaro.org>
2522
2523 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
2524 variable mode to "multi-process" if $multi_process is 1, otherwise
2525 set it to "single-process".
2526
2527 2016-08-01 Yao Qi <yao.qi@linaro.org>
2528
2529 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
2530 * gdb.cp/cpexprs.exp: Likewise.
2531 * gdb.cp/m-static.exp: Likewise.
2532
2533 2016-07-26 Tom Tromey <tom@tromey.com>
2534
2535 PR python/20190:
2536 * gdb.threads/tls.exp (check_thread_local): Add python symbol
2537 test.
2538
2539 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
2540
2541 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
2542 selecting assembly source files.
2543 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
2544 assembly source files.
2545 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
2546 assembly source files.
2547 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
2548 selecting assembly source files.
2549
2550 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
2551
2552 * gdb.base/new-ui.exp (do_test_invalid_args): New
2553 procedure.
2554
2555 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
2556
2557 * gdb.btrace/reconnect.c: New file.
2558 * gdb.btrace/reconnect.exp: New file.
2559
2560 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
2561
2562 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
2563 to test_catch_syscall_group.
2564 (test_catch_syscall_group): New.
2565
2566 2016-07-21 Tom Tromey <tom@tromey.com>
2567
2568 * gdb.rust/simple.rs (main): Use empty struct expression.
2569 * gdb.rust/simple.exp: Add tests for empty struct expression.
2570
2571 2016-07-21 Yao Qi <yao.qi@linaro.org>
2572
2573 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
2574 if gdb_skip_xml_test is true on some targets.
2575
2576 2016-07-21 Yao Qi <yao.qi@linaro.org>
2577
2578 * gdb.server/solib-list.exp: Unset last_loaded_file.
2579
2580 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2581
2582 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
2583 "step into captured_main (args)".
2584
2585 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2586
2587 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
2588
2589 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2590
2591 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
2592
2593 2016-07-19 Pedro Alves <palves@redhat.com>
2594
2595 * gdb.opt/inline-break.exp: Remove optimize=-O2.
2596 * gdb.opt/inline-bt.exp: Likewise.
2597 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
2598 additional_flags=-Winline.
2599 * gdb.opt/inline-locals.exp: Likewise.
2600 * gdb.opt/inline-markers.c (ATTR): Define.
2601 (inlined_fn): Use it.
2602
2603 2016-07-19 Yao Qi <yao.qi@linaro.org>
2604
2605 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
2606 (test_with_self): Remove some code. Remove argument executable.
2607 (top-level): Use do_self_tests.
2608
2609 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
2610 Don Breazeal <donb@codesourcery.com>
2611
2612 * gdb.base/maint.exp: Escape paths used in regular expressions.
2613 * gdb.stabs/weird.exp: Likewise.
2614
2615 2016-07-13 Tom Tromey <tom@tromey.com>
2616
2617 PR python/15620, PR python/18620:
2618 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
2619 (test_bkpt_events): New procs.
2620
2621 2016-07-13 Tom Tromey <tom@tromey.com>
2622
2623 PR python/17698:
2624 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
2625 test.
2626 (test_watchpoints): Likewise.
2627 (test_bkpt_pending): New proc.
2628
2629 2016-07-13 Tom Tromey <tom@tromey.com>
2630
2631 PR cli/18053:
2632 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
2633 completion test.
2634
2635 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2636
2637 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
2638 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
2639 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
2640 f_label.
2641 (g): Rename g_end_lbl to g_label.
2642 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
2643 low_pc and high_pc.
2644 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
2645
2646 2016-07-12 Tom Tromey <tom@tromey.com>
2647
2648 PR python/19293:
2649 * gdb.python/py-unwind-maint.exp: Update tests.
2650
2651 2016-07-12 Yao Qi <yao.qi@linaro.org>
2652
2653 * lib/selftest-support.exp (selftest_setup): Match the output
2654 when captured_main is inlined.
2655
2656 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2657
2658 * gdb.fortran/derived-types.exp (result_line, result_line_2):
2659 New variables.
2660 (print this%a, print this%b, print this): New tests.
2661 * gdb.fortran/derived-types.f90 (this): New object and
2662 initialization.
2663
2664 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2665
2666 * gdb.ada/arraydim.exp: Remove extra directory level in build
2667 directory.
2668
2669 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2670
2671 * lib/ada.exp: Remove extra directory level in build directory.
2672 * gdb.ada/cond_lang.exp: Likewise.
2673 * gdb.ada/exec_changed.exp: Likewise.
2674 * gdb.ada/lang_switch.exp: Likewise.
2675
2676 2016-07-06 Manish Goregaokar <manish@mozilla.com>
2677
2678 * simple.rs: Add test for raw pointer subscripting.
2679 * simple.exp: Add test expectations.
2680
2681 2016-07-05 Yao Qi <yao.qi@linaro.org>
2682
2683 * gdb.mi/mi-reverse.exp: Match =record-started output.
2684
2685 2016-07-01 Pedro Alves <palves@redhat.com>
2686
2687 * gdb.base/jit-reader.exp (info_registers_current_frame): New
2688 procedure.
2689 (jit_reader_test): Test the jit reader's unwinder.
2690 * gdb.base/jithost.c (jit_function_00_code): New global.
2691 (main): Use memcpy to fill in the mmapped code, instead of poking
2692 bytes manually here.
2693 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
2694 value.
2695 (read_debug_info): Save the function's range.
2696 (read_sp): New function.
2697 (unwind_frame): Use it. Also unwind RBP.
2698 (get_frame_id): Use read_sp.
2699 (gdb_init_reader): Use calloc instead of malloc.
2700 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
2701 parameter. Use gdb_test_multiple.
2702
2703 2016-07-01 Pedro Alves <palves@redhat.com>
2704 Antoine Tremblay <antoine.tremblay@ericsson.com>
2705
2706 * gdb.threads/process-dies-while-detaching.c: New file.
2707 * gdb.threads/process-dies-while-detaching.exp: New file.
2708
2709 2016-07-01 Pedro Alves <palves@redhat.com>
2710
2711 * gdb.multi/watchpoint-multi-exit.c: New file.
2712 * gdb.multi/watchpoint-multi-exit.exp: New file.
2713
2714 2016-06-30 Pedro Alves <palves@redhat.com>
2715
2716 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
2717 unset inferior_spawn_id.
2718
2719 2016-06-30 Pedro Alves <palves@redhat.com>
2720
2721 * lib/mi-support.exp (default_mi_gdb_start): Declare global
2722 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
2723
2724 2016-06-29 Yao Qi <yao.qi@linaro.org>
2725
2726 * gdb.base/return.c: Add copyright header.
2727
2728 2016-06-29 Tom Tromey <tom@tromey.com>
2729
2730 PR python/20129:
2731 * gdb.python/py-framefilter.exp: Add tests for setting priority
2732 and disabling of non-existent frame filter.
2733
2734 2016-06-29 Yao Qi <yao.qi@linaro.org>
2735
2736 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
2737 0x0f07ff.
2738
2739 2016-06-28 Yao Qi <yao.qi@linaro.org>
2740
2741 * gdb.base/catch-syscall.exp: Remove check on isnative and target
2742 triplets. Start gdb, execute catch syscall, and continue. Check
2743 gdb's output to determine catch syscall is supported.
2744
2745 2016-06-27 Manish Goregaokar <manish@mozilla.com>
2746
2747 * gdb.rust/simple.rs: Add test for returning unit in a function.
2748 * gdb.rust/simple.exp: Add expectation for functions returning
2749 unit.
2750
2751 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
2752
2753 * gdb.python/py-breakpoint-create-fail.c,
2754 gdb.python/py-breakpoint-create-fail.exp,
2755 gdb.python/py-breakpoint-create-fail.py: New testcase.
2756
2757 2016-06-25 Manish Goregaokar <manish@mozilla.com>
2758
2759 PR gdb/20239
2760 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
2761 * gdb.rust/simple.exp: Add test expectations for new NonZero
2762 tests.
2763
2764 2016-06-24 David Taylor <dtaylor@emc.com>
2765
2766 * gdb.base/offsets.exp: New file.
2767 * gdb.base/offsets.c: New file.
2768
2769 2016-06-23 Tom Tromey <tom@tromey.com>
2770
2771 PR gdb/16483:
2772 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
2773 before any filters are loaded.
2774
2775 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
2776
2777 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
2778 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
2779 structs.
2780 * gdb.fortran/derived-type-function.exp: New file.
2781 * gdb.fortran/derived-type-function.f90: New file.
2782
2783
2784 2016-06-21 Pedro Alves <palves@redhat.com>
2785
2786 * gdb.base/new-ui.exp: New file.
2787 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
2788 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
2789 (with_spawn_id): New procedure.
2790
2791 2016-06-21 Pedro Alves <palves@redhat.com>
2792
2793 * gdb.mi/mi-exec-run.exp: New file.
2794
2795 2016-06-21 Pedro Alves <palves@redhat.com>
2796
2797 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
2798 breakpoint command's output on the main UI.
2799 (test_break): New procedure, factored out from calls in the top
2800 level.
2801 (top level): Use foreach_with_prefix to test MI as main UI and as
2802 separate UI.
2803
2804 2016-06-21 Pedro Alves <palves@redhat.com>
2805
2806 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
2807 (test_awatch_creation_and_listing)
2808 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
2809 Remove 'type' parameter.
2810 (test_watchpoint_all): New parameter mi_mode. Remove
2811 with_test_prefix.
2812 (top level): Use foreach_with_prefix, and add main/separate UI MI
2813 testing axis.
2814
2815 2016-06-21 Pedro Alves <palves@redhat.com>
2816
2817 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
2818 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
2819 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
2820 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
2821 (gdb_main_spawn_id, mi_spawn_id): Declare and
2822 comment.
2823 (mi_create_inferior_pty): New procedure,
2824 factored out from default_mi_gdb_start.
2825 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
2826 procedures.
2827 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
2828 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
2829 Use mi_create_inferior_pty.
2830 (mi_gdb_start): Use eval to pass down args list.
2831
2832 2016-06-21 Pedro Alves <palves@redhat.com>
2833
2834 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
2835 * gdb.opt/inline-cmds.exp: Add MI tests.
2836
2837 2016-06-21 Pedro Alves <palves@redhat.com>
2838
2839 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
2840
2841 2016-06-21 Pedro Alves <palves@redhat.com>
2842
2843 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
2844 (top level): Use it instead of mi_execute_to.
2845
2846 2016-06-21 Pedro Alves <palves@redhat.com>
2847
2848 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
2849 (cont_handler_str): New.
2850 (signal_stop_handler): Set stop_handler_str instead of printing to
2851 stdout.
2852 (continue_handler): Set cont_handler_str instead of printing to
2853 stdout.
2854 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
2855 mi_send_resuming_command. Print stop_handler_str and
2856 cont_handler_str instead of expecting the python events print
2857 directly.
2858
2859 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2860
2861 * gdb.base/jit-reader.exp: New file.
2862 * gdb.base/jithost.c: New file.
2863 * gdb.base/jithost.h: New file.
2864 * gdb.base/jitreader.c : New file.
2865 * gdb.base/jit-protocol.h: New file.
2866
2867 2016-06-17 Yao Qi <yao.qi@linaro.org>
2868
2869 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
2870 parameters follow_fork and detach_on_fork. Set follow-fork-mode
2871 and detach-on-fork. Adjust tests.
2872 (top level): Invoke break_cond_on_syscall with combinations of
2873 syscall, follow-fork-mode and detach-on-fork.
2874
2875 2016-06-17 Yao Qi <yao.qi@linaro.org>
2876
2877 * gdb.base/step-over-exit.c: New.
2878 * gdb.base/step-over-exit.exp: New.
2879
2880 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
2881
2882 * gdb.base/float.exp: Add target check for nds32*-*-*.
2883 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
2884
2885 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
2886
2887 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
2888 for unsupported target features.
2889 * gdb.base/call-rt-st.exp: Likewise.
2890 * gdb.base/call-sc.exp: Likewise.
2891 * gdb.base/call-signal-resume.exp: Likewise.
2892 * gdb.base/call-strs.exp: Likewise.
2893 * gdb.base/callexit.exp: Likewise.
2894 * gdb.base/callfuncs.exp: Likewise.
2895 * gdb.base/nodebug.exp: Likewise.
2896 * gdb.base/printcmds.exp: Likewise.
2897 * gdb.base/ptype.exp: Likewise.
2898 * gdb.base/structs.exp: Likewise.
2899 * gdb.base/unwindonsignal.exp: Likewise.
2900 * gdb.cp/gdb2495.exp: Likewise.
2901 * gdb.cp/templates.exp: Likewise.
2902 * gdb.cp/virtfunc.exp: Likewise.
2903 * gdb.threads/hand-call-in-threads.exp: Likewise.
2904 * gdb.threads/interrupted-hand-call.exp: Likewise.
2905 * gdb.threads/thread-unwindonsignal.exp: Likewise.
2906
2907 2016-06-10 Tom Tromey <tom@tromey.com>
2908
2909 PR rust/20110:
2910 * gdb.rust/expr.exp: Add test for integer constant larger than
2911 i32.
2912
2913 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
2914
2915 * gdb.fortran/nested-funcs.exp: New.
2916 * gdb.fortran/nested-funcs.f90: New.
2917
2918 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
2919
2920 * gdb.base/examine-backward.c: New file.
2921 * gdb.base/examine-backward.exp: New file.
2922
2923 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
2924
2925 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
2926 matching.
2927
2928 2016-06-02 Tom Tromey <tom@tromey.com>
2929
2930 PR python/18984:
2931 * gdb.python/py-shared.exp: Add solib_name test.
2932
2933 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
2934
2935 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
2936
2937 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
2938
2939 PR c++/19893
2940 * gdb.dwarf2/implref.exp: Rename to...
2941 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
2942 * gdb.dwarf2/implref-array.c: New file.
2943 * gdb.dwarf2/implref-array.exp: Likewise.
2944 * gdb.dwarf2/implref-global.c: Likewise.
2945 * gdb.dwarf2/implref-global.exp: Likewise.
2946 * gdb.dwarf2/implref-struct.c: Likewise.
2947 * gdb.dwarf2/implref-struct.exp: Likewise.
2948
2949 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2950
2951 * gdb.trace/trace-condition.exp: Add 64bit tests.
2952
2953 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2954
2955 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
2956 bits types.
2957 (main): Adapt to 8 to 64 bits types.
2958 * gdb.trace/trace-condition.exp: Add new tests.
2959
2960 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2961
2962 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
2963
2964 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2965
2966 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
2967 Move condition tests...
2968 * gdb.trace/trace-condition.exp: Here.
2969
2970 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2971
2972 * gdb.trace/trace-condition.exp: Add counter-case tests.
2973
2974 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2975
2976 PR c++/15231
2977 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
2978 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
2979
2980 2016-05-27 Pedro Alves <palves@redhat.com>
2981
2982 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
2983 New procedure.
2984 (top level): Call it, and bail out of DejaGnu is known to be bad.
2985
2986 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
2987
2988 * gdb.base/whatis.c: Extend the test case.
2989 * gdb.base/whatis.exp: Add additional tests.
2990
2991 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2992
2993 * gdb.fortran/type.f90: Add pointer variable.
2994 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
2995
2996 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
2997
2998 * gdb.fortran/vla-type.exp: Fix testcase name.
2999
3000 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3001
3002 * gdb.fortran/vla-type.exp: Access elements in nested structs.
3003
3004 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3005
3006 * gdb.fortran/type.f90: Add nested structures.
3007 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
3008 * gdb.fortran/derived-type.exp: Adapt expected output.
3009 * gdb.fortran/vla-type.exp: Adapt expected output.
3010
3011 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3012
3013 * gdb.fortran/whatis_type.exp: Adapt expected output.
3014
3015 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3016
3017 * gdb.fortran/print_type.exp: Fix expected output.
3018 * gdb.fortran/whatis_type.exp: Fix expected output.
3019
3020 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3021
3022 * gdb.fortran/whatis_type.exp: Use multi_line.
3023
3024 2016-05-24 Tom Tromey <tom@tromey.com>
3025
3026 PR python/17386:
3027 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
3028 use value as an index.
3029
3030 2016-05-23 Tom Tromey <tom@tromey.com>
3031
3032 PR python/17981:
3033 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
3034 no-breakpoint case.
3035
3036 2016-05-24 Pedro Alves <palves@redhat.com>
3037
3038 PR gdb/19828
3039 * gdb.threads/clone-attach-detach.c: New file.
3040 * gdb.threads/clone-attach-detach.exp: New file.
3041
3042 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
3043
3044 * gdb.base/annota-input-while-running.exp: Fix syntax error.
3045
3046 2016-05-23 Tom Tromey <tom@tromey.com>
3047
3048 PR python/19438, PR python/18393:
3049 * gdb.python/py-progspace.exp: Add "dir" test.
3050 * gdb.python/py-objfile.exp: Add "dir" test.
3051
3052 2016-05-23 Yao Qi <yao.qi@linaro.org>
3053
3054 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
3055 * gdb.arch/thumb2-it.exp: Likewise.
3056
3057 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
3058
3059 * gdb.mi/mi-threads-interrupt.c: New file.
3060 * gdb.mi/mi-threads-interrupt.exp: New file.
3061
3062 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
3063
3064 PR gdb/18077
3065 * gdb.mi/mi-async-run.exp: New file.
3066 * gdb.mi/mi-async-run.c: New file.
3067
3068 2016-05-17 Tom Tromey <tom@tromey.com>
3069 Manish Goregaokar <manishsmail@gmail.com>
3070
3071 * lib/rust-support.exp: New file.
3072 * lib/gdb.exp (skip_rust_tests): New proc.
3073 (build_executable_from_specs): Handle rust.
3074 * lib/future.exp (gdb_find_rustc): New proc.
3075 (gdb_default_target_compile): Handle rust.
3076 * gdb.rust/expr.exp: New file.
3077 * gdb.rust/generics.exp: New file.
3078 * gdb.rust/generics.rs: New file.
3079 * gdb.rust/methods.exp: New file.
3080 * gdb.rust/methods.rs: New file.
3081 * gdb.rust/modules.exp: New file.
3082 * gdb.rust/modules.rs: New file.
3083 * gdb.rust/simple.exp: New file.
3084 * gdb.rust/simple.rs: New file.
3085
3086 2016-05-17 Tom Tromey <tom@tromey.com>
3087
3088 * gdb.base/default.exp (set language): Add rust.
3089
3090 2016-05-17 Tom Tromey <tom@tromey.com>
3091
3092 * gdb.gdb/unittest.exp: New file.
3093
3094 2016-05-16 Yao Qi <yao.qi@linaro.org>
3095
3096 * gdb.base/batch-preserve-term-settings.exp: Remove variable
3097 shell_prompt. Update shell_prompt_re.
3098
3099 2016-05-12 Doug Evans <dje@google.com>
3100
3101 PR symtab/19999
3102 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
3103 $options when building executable.
3104 * gdb.dwarf2/fission-loclists-pie.S: New file.
3105 * gdb.dwarf2/fission-loclists-pie.exp: New file.
3106
3107 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3108
3109 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
3110 of [is_remote target],
3111
3112 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3113
3114 * lib/gdb.exp (use_gdb_stub): New procedure.
3115
3116 2016-05-03 Yunlian Jiang <yunlian@google.com>
3117 Doug Evans <dje@google.com>
3118
3119 PR symtab/19914
3120 * gdb.dwarf2/dwp-sepdebug.c: New file.
3121 * gdb.dwarf2/dwp-sepdebug.exp: New file.
3122
3123 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3124
3125 * gdb.base/detach.exp: Remove is_remote check.
3126
3127 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3128
3129 * gdb.base/annota-input-while-running.exp: Don't check for
3130 [is_remote target]. Enable annotations after running to main.
3131 Remove unused "set test..." line.
3132
3133 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3134
3135 * gdb.trace/trace-enable-disable.exp: New file.
3136 * gdb.trace/trace-enable-disable.c: New file.
3137
3138 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3139
3140 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
3141 use it in info sharedlibrary test.
3142 * gdb.trace/ftrace-lock.exp: Likewise.
3143 * gdb.trace/ftrace.exp: Likewise.
3144 * gdb.trace/range-stepping.exp: Likewise.
3145 * gdb.trace/trace-break.exp: Likewise.
3146 * gdb.trace/trace-condition.exp: Likewise.
3147 * gdb.trace/trace-mt.exp: Likewise.
3148
3149 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3150
3151 * lib/gdb.exp (gdb_load_shlibs): Rename to...
3152 (gdb_load_shlib): ... this.
3153 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
3154 gdb_load_shlib.
3155 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3156 * gdb.base/ctxobj.exp: Likewise.
3157 * gdb.base/dprintf-pending.exp: Likewise.
3158 * gdb.base/dso2dso.exp: Likewise.
3159 * gdb.base/fixsection.exp: Likewise.
3160 * gdb.base/gcore-relro.exp: Likewise.
3161 * gdb.base/gdb1555.exp: Likewise.
3162 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3163 * gdb.base/gnu-ifunc.exp: Likewise.
3164 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
3165 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3166 * gdb.base/pending.exp: Likewise.
3167 * gdb.base/print-file-var.exp: Likewise.
3168 * gdb.base/print-symbol-loading.exp: Likewise.
3169 * gdb.base/shlib-call.exp: Likewise.
3170 * gdb.base/shreloc.exp: Likewise.
3171 * gdb.base/so-impl-ld.exp: Likewise.
3172 * gdb.base/solib-disc.exp: Likewise.
3173 * gdb.base/solib-nodir.exp: Likewise.
3174 * gdb.base/solib-overlap.exp: Likewise.
3175 * gdb.base/solib-symbol.exp: Likewise.
3176 * gdb.base/solib-weak.exp (do_test): Likewise.
3177 * gdb.base/sym-file.exp: Likewise.
3178 * gdb.base/symtab-search-order.exp: Likewise.
3179 * gdb.base/type-opaque.exp: Likewise.
3180 * gdb.base/unload.exp: Likewise.
3181 * gdb.base/watchpoint-solib.exp: Likewise.
3182 * gdb.compile/compile.exp: Likewise.
3183 * gdb.cp/gdb2384.exp: Likewise.
3184 * gdb.cp/infcall-dlopen.exp: Likewise.
3185 * gdb.cp/re-set-overloaded.exp: Likewise.
3186 * gdb.fortran/library-module.exp: Likewise.
3187 * gdb.opt/solib-intra-step.exp: Likewise.
3188 * gdb.python/py-finish-breakpoint.exp: Likewise.
3189 * gdb.python/py-shared.exp: Likewise.
3190 * gdb.reverse/solib-precsave.exp: Likewise.
3191 * gdb.reverse/solib-reverse.exp: Likewise.
3192 * gdb.server/solib-list.exp: Likewise.
3193 * gdb.threads/dlopen-libpthread.exp: Likewise.
3194 * gdb.threads/tls-shared.exp: Likewise.
3195 * gdb.threads/tls-so_extern.exp: Likewise.
3196 * gdb.trace/change-loc.exp: Likewise.
3197 * gdb.trace/ftrace-lock.exp: Likewise.
3198 * gdb.trace/ftrace.exp: Likewise.
3199 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
3200 * gdb.trace/pending.exp: Likewise.
3201 * gdb.trace/range-stepping.exp: Likewise.
3202 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
3203 (strace_info_marker): Likewise.
3204 (strace_probe_marker): Likewise.
3205 (strace_trace_on_same_addr): Likewise.
3206 (strace_trace_on_diff_addr): Likewise.
3207 * gdb.trace/trace-break.exp: Likewise.
3208 * gdb.trace/trace-condition.exp: Likewise.
3209 * gdb.trace/trace-mt.exp: Likewise.
3210
3211 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3212
3213 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
3214 result of gdb_remote_download.
3215 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
3216 * gdb.base/dso2dso.exp: Likewise.
3217 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3218 * gdb.base/print-file-var.exp: Likewise.
3219 * gdb.base/shlib-call.exp: Likewise.
3220 * gdb.base/shreloc.exp: Likewise.
3221 * gdb.base/solib-overlap.exp: Likewise.
3222 * gdb.base/solib-weak.exp (do_test): Likewise.
3223 * gdb.base/unload.exp: Likewise.
3224
3225 2016-04-27 Yao Qi <yao.qi@linaro.org>
3226
3227 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
3228 exists.
3229
3230 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3231
3232 * vla-type.exp: Print structure from toplevel.
3233
3234 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3235
3236 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
3237 of dynamic types.
3238 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
3239 of dynamic types.
3240
3241 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3242
3243 * gdb.fortran/vla-type.f90: New file.
3244 * gdb.fortran/vla-type.exp: New file.
3245
3246 2016-04-25 Yao Qi <yao.qi@linaro.org>
3247
3248 * gdb.base/branch-to-self.c: New file.
3249 * gdb.base/branch-to-self.exp: New file.
3250
3251 2016-04-22 Yao Qi <yao.qi@linaro.org>
3252
3253 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
3254 more after $hex.
3255
3256 2016-04-22 Yao Qi <yao.qi@linaro.org>
3257
3258 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
3259 * gdb.base/annota3.exp: Likewise.
3260
3261 2016-04-22 Yao Qi <yao.qi@linaro.org>
3262
3263 * gdb.reverse/step-precsave.exp: Do one step and test program
3264 stops in "callee" and do multiple steps until program goes out
3265 of "callee".
3266 * gdb.reverse/step-reverse.exp: Likewise.
3267
3268 2016-04-22 Yao Qi <yao.qi@linaro.org>
3269
3270 * gdb.trace/signal.exp: Also pass if
3271 $tracepoint_hits($i) > $iterations.
3272
3273 2016-04-22 Yao Qi <yao.qi@linaro.org>
3274
3275 * gdb.trace/signal.c: New file.
3276 * gdb.trace/signal.exp: New file.
3277
3278 2016-04-19 Doug Evans <xdje42@gmail.com>
3279
3280 * gdb.base/bad-file.exp: New file.
3281
3282 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3283
3284 * gdb.dwarf2/implref.exp: New file.
3285
3286 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3287
3288 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
3289 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
3290 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
3291 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
3292 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
3293 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
3294 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
3295 * lib/fortran.exp (fortran_int4): New procedure.
3296 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
3297 (fortran_logical4): Likewise.
3298
3299 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
3300
3301 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
3302
3303 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3304
3305 * lib/compiler.c: Add Intel specific preprocessor macros.
3306 * lib/compiler.cc: Likewise.
3307
3308 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
3309
3310 * gdb.server/connect-with-no-symbol-file.c: New file.
3311 * gdb.server/connect-with-no-symbol-file.exp: New file.
3312
3313 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3314
3315 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3316
3317 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3318
3319 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3320 standard output directory.
3321
3322 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3323
3324 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3325
3326 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3327
3328 * gdb.btrace/instruction_history.c (loop): Add declaration.
3329
3330 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3331
3332 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3333
3334 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3335
3336 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3337 parentheses to print.
3338 (continue_handler): Likewise.
3339
3340 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3341
3342 * gdb.server/solib-list.exp: Remove is_remote check.
3343 Pass shlib= to gdb_compile. Don't link shared library with
3344 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3345 Run binary filename through "readlink -f" on the target.
3346
3347 2016-04-08 Pedro Alves <palves@redhat.com>
3348
3349 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3350 interpreter filename as argument to gdbserver_spawn.
3351 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3352 Return empty if $last_loaded_file does not exist.
3353
3354 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3355
3356 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3357 * gdb.base/jit-main.c: Use exit after usage.
3358
3359 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3360
3361 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3362 GDBHISTSIZE prior to the tests.
3363 * gdb.base/gdbinit-history.exp: Likewise.
3364
3365 2016-04-07 Pedro Alves <palves@redhat.com>
3366
3367 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3368 instead of build_executable. Use gdb_load_shlibs.
3369
3370 2016-04-07 Yao Qi <yao.qi@linaro.org>
3371
3372 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3373 Execute "si" command.
3374
3375 2016-04-07 Yao Qi <yao.qi@linaro.org>
3376
3377 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3378 number instead of the comments on some line.
3379
3380 2016-04-06 Don Breazeal <donb@codesourcery.com>
3381
3382 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3383 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3384
3385 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3386
3387 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3388 standard_output_file. Remove unused binfile variable.
3389
3390 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
3391
3392 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3393 * gdb.python/py-mi-objfile.exp: Match "list main" output
3394 in console format.
3395
3396 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3397
3398 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3399 absolute.
3400
3401 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3402
3403 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
3404 absolute.
3405 * gdb.trace/ftrace.exp: Likewise.
3406 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
3407 targets as well.
3408 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
3409 (gdb_load_shlibs): Copy libraries to test directory when testing
3410 natively. Only set solib-search-path if testing remotely.
3411 * lib/mi-support.exp (mi_load_shlibs): Likewise.
3412
3413 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3414
3415 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
3416 gdb_download. Use it even if the target is not remote.
3417 * gdb.base/jit.exp (compile_jit_test): Likewise.
3418 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
3419 output directory if the destination board is local, otherwise use
3420 the standard remote_download from DejaGnu.
3421 (gdb_download): Remove.
3422 (gdb_load_shlibs): Use gdb_remote_download instead of
3423 gdb_download.
3424 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3425 Use gdb_remote_download instead of gdb_download. Use it even if
3426 the target is not remote.
3427 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
3428 instead of gdb_download.
3429
3430 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
3431
3432 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
3433 (test_insert_delete_modify): Call mi_load_shlibs before trying to
3434 run.
3435
3436 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
3437
3438 PR gdb/19820
3439 * gdb.base/printcmds.exp: Add artificial arrays tests.
3440
3441 2016-03-31 Pedro Alves <palves@redhat.com>
3442
3443 PR gdb/19858
3444 * gdb.base/jit-main.c: Include unistd.h.
3445 (ATTACH): Define to 0 if not already defined.
3446 (wait_for_gdb, mypid): New globals.
3447 (WAIT_FOR_GDB): New macro.
3448 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
3449 some breakpoint locations.
3450 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
3451 New procedures.
3452 (one_jit_test): Add REATTACH parameter, and handle it. Use
3453 continue_to_test_location.
3454 (top level): Test attach, and adjusts calls to one_jit_test.
3455
3456 2016-03-31 Pedro Alves <palves@redhat.com>
3457
3458 PR gdb/19858
3459 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
3460 BINSUFFIX parameter, and handle it.
3461 (top level): Adjust calls compile_jit_test.
3462
3463 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
3464
3465 PR python/19743
3466 * gdb.python/py-mi-events-gdb.py: New file.
3467 * gdb.python/py-mi-events.c: New file.
3468 * gdb.python/py-mi-events.exp: New file.
3469
3470 2016-03-30 Yao Qi <yao.qi@linaro.org>
3471
3472 * gdb.reverse/until-precsave.exp: Match function name only.
3473 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
3474 Move malloc to a condition block.
3475 * gdb.reverse/until-reverse.exp: Match function name only.
3476
3477 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
3478
3479 * gdb.trace/ftrace.exp: Set arg0exp for s390.
3480 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
3481 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
3482 variable for GPR 0 instead of assuming it is register 0.
3483 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
3484 * lib/trace-support.exp: Add s390 registers.
3485
3486 2016-03-29 Yao Qi <yao.qi@linaro.org>
3487
3488 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
3489
3490 2016-03-24 Yao Qi <yao.qi@linaro.org>
3491
3492 * gdb.reverse/break-reverse.exp: Add quotation mark in the
3493 test message.
3494
3495 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3496
3497 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
3498 maintaining separate logic for constructing the output path.
3499
3500 2016-03-16 Don Breazeal <donb@codesourcery.com>
3501
3502 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3503 Retry fork and waitpid on interrupted system call errors.
3504 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3505 Use with_timeout_factor to increase timeout by factor of 10.
3506
3507 2016-03-15 Don Breazeal <donb@codesourcery.com>
3508
3509 * gdb.cp/scope-err.cc: New test program.
3510 * gdb.cp/scope-err.exp: New test script.
3511 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
3512 lines and "set breakpoint here" comment.
3513 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
3514 Fixed some whitespace and format issues.
3515 * gdb.mi/mi-linespec-err-cp.cc: New test program.
3516 * gdb.mi/mi-linespec-err-cp.exp: New test script.
3517
3518 2016-03-15 Doug Evans <dje@google.com>
3519
3520 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
3521 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
3522 All callers updated. Add tests for enums, mixed flags register.
3523
3524 2016-03-15 Doug Evans <dje@google.com>
3525
3526 * gdb.base/skip.c (main): Call test_skip_file_and_function.
3527 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
3528
3529 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
3530
3531 * gdb.base/default.exp: Add $_as_string to the list of expected
3532 convenience functions.
3533
3534 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
3535
3536 * gdb.base/maint.exp: New tests for 'maint info line-table'.
3537
3538 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
3539
3540 * gdb.python/py-as-string.exp: New file.
3541 * gdb.python/py-as-string.c: New file.
3542
3543 2016-03-09 Pedro Alves <palves@redhat.com>
3544
3545 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
3546 signal" -> "Thread NN received signal" output change.
3547 * gdb.threads/ia64-sigill.exp: Likewise.
3548 * gdb.threads/linux-dp.exp: Likewise.
3549 * gdb.threads/manythreads.exp: Likewise.
3550 * gdb.threads/pending-step.exp: Likewise.
3551 * gdb.threads/print-threads.exp: Likewise.
3552 * gdb.threads/sigstep-threads.exp: Likewise.
3553 * gdb.threads/staticthreads.exp: Likewise.
3554 * gdb.threads/tls.exp: Likewise.
3555
3556 2016-03-09 Pedro Alves <palves@redhat.com>
3557
3558 * gdb.base/command-line-input.exp: New file.
3559
3560 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3561
3562 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
3563 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
3564 * gdb.trace/pending.exp: Accept leading dot before function name.
3565 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
3566 * lib/trace-support.exp: Set registers for ppc.
3567
3568 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3569
3570 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
3571 use it for disassembly; accept .main in addition to main in backtrace.
3572
3573 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
3574 Marcin Kościelnicki <koriakin@0x04.net>
3575
3576 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
3577 (gdb_recursion_test_ptr): New global variable.
3578 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
3579 gdb_recursion_test.
3580 (gdb_c_test): Ditto.
3581
3582 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3583
3584 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
3585 ordering.
3586
3587 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3588
3589 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
3590 (bar): Add bar_start_lbl label.
3591 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
3592 of foo/bar for emitting DWARF and tracing.
3593
3594 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
3595
3596 * analyze-racy-logs.py: Set executable bit.
3597
3598 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
3599
3600 * Makefile.in (DEFAULT_RACY_ITER): New variable.
3601 (CHECK_TARGET_TMP): Likewise.
3602 (check-single-racy): New rule.
3603 (check-parallel-racy): Likewise.
3604 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
3605 (do-check-parallel-racy): New rule.
3606 (check-racy/%.exp): Likewise.
3607 * README (Racy testcases): New section.
3608 * analyze-racy-logs.py: New file.
3609
3610 2016-03-03 Doug Evans <dje@google.com>
3611
3612 * gdb.base/skip.exp: Use with_test_prefix.
3613
3614 2016-03-03 Yao Qi <yao.qi@linaro.org>
3615
3616 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
3617 Invoke step_over_syscall "clone" and break_cond_on_syscall
3618 "clone".
3619 * gdb.base/step-over-clone.c: New file.
3620
3621 2016-03-03 Yao Qi <yao.qi@linaro.org>
3622
3623 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
3624 code format.
3625
3626 2016-03-03 Yao Qi <yao.qi@linaro.org>
3627
3628 * gdb.base/disp-step-fork.c: Rename to ...
3629 * gdb.base/step-over-fork.c: ... it. New file.
3630 * gdb.base/disp-step-vfork.c: Rename to ...
3631 * gdb.base/step-over-vfork.c: ... it. New file.
3632 * gdb.base/disp-step-syscall.exp: Rename to ...
3633 * gdb.base/step-over-syscall.exp: ... it. New file.
3634 (disp_step_cross_syscall): Rename to ...
3635 (step_over_syscall): ... it.
3636
3637 2016-03-03 Yao Qi <yao.qi@linaro.org>
3638
3639 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
3640 If target supports condition evaluation on target, invoke
3641 break_cond_on_syscall for fork and vfork.
3642
3643 2016-03-03 Yao Qi <yao.qi@linaro.org>
3644
3645 * gdb.base/disp-step-syscall.exp: Don't invoke
3646 support_displaced_stepping.
3647 (disp_step_cross_syscall): Test with displaced stepping off and
3648 on if supported.
3649
3650 2016-03-03 Yao Qi <yao.qi@linaro.org>
3651
3652 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
3653 proc.
3654 (setup): New proc.
3655 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
3656 and setup.
3657
3658 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3659
3660 * gdb.fortran/vla-history.exp: Remove breakpoint.
3661
3662 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3663
3664 * gdb.fortran/vla-history.exp: Lookup array elements and printing
3665 exceeds timeout.
3666
3667 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3668
3669 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
3670 breakpoint.
3671
3672 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3673
3674 * gdb.mi/vla.f90: Nullify pointer after declaration.
3675
3676 2016-03-01 Pedro Alves <palves@redhat.com>
3677
3678 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
3679
3680 2016-03-01 Pedro Alves <palves@redhat.com>
3681
3682 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
3683 before anything else.
3684 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
3685 _GNU_SOURCE here.
3686 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
3687 before anything else.
3688 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
3689
3690 2016-03-01 Pedro Alves <palves@redhat.com>
3691
3692 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
3693
3694 2016-03-01 Yao Qi <yao.qi@linaro.org>
3695
3696 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
3697 prepare_for_testing.
3698
3699 2016-03-01 Yao Qi <yao.qi@linaro.org>
3700
3701 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
3702
3703 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3704
3705 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
3706 manually constructing the output path.
3707
3708 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3709
3710 * gdb.arch/s390-stackless.S: New.
3711 * gdb.arch/s390-stackless.exp: New.
3712
3713 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
3714
3715 * gdb.dlang/circular.c: New file.
3716 * gdb.dlang/circular.exp: New file.
3717
3718 2016-02-26 Yao Qi <yao.qi@linaro.org>
3719
3720 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
3721 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
3722 (testcases): Update.
3723
3724 2016-02-26 Yao Qi <yao.qi@linaro.org>
3725
3726 * gdb.reverse/aarch64.c: Rename to ...
3727 * gdb.reverse/insn-reverse.c: ... it.
3728 * gdb.reverse/aarch64.exp: Rename to ...
3729 * gdb.reverse/insn-reverse.exp: ... it.
3730
3731 2016-02-26 Yao Qi <yao.qi@linaro.org>
3732
3733 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
3734 (testcase_ftype): New.
3735 (testcases): New array.
3736 (n_testcases): New.
3737 (main): Call each element in testcases.
3738 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
3739 (read_testcase): New.
3740 Do the tests in a loop.
3741
3742 2016-02-25 Yao Qi <yao.qi@linaro.org>
3743
3744 * gdb.base/branches.c: Remove.
3745
3746 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3747
3748 PR gdb/13808
3749 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
3750
3751 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3752
3753 * gdb.trace/ftrace.exp: Remove unnecessary target check.
3754
3755 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3756
3757 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
3758 change x86_64 call_insn to 'callq'.
3759
3760 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3761
3762 * gdb.trace/tfile-avx.c: Move to...
3763 * gdb.trace/tracefile-pseudo-reg.c: Here.
3764 * gdb.trace/tfile-avx.exp: Move to...
3765 * gdb.trace/tracefile-pseudo-reg.exp: Here.
3766
3767 2016-02-24 Gary Benson <gbenson@redhat.com>
3768
3769 * gdb.base/attach-pie-noexec.exp: Do not expect an error
3770 message on attach.
3771
3772 2016-02-23 Doug Evans <dje@google.com>
3773
3774 * gdb.base/skip.c (test_skip): New function.
3775 (end_test_skip_file_and_function): New function.
3776 (test_skip_file_and_function): New function.
3777 * gdb.base/skip1.c (test_skip): New function.
3778 (skip1_test_skip_file_and_function): New function.
3779 * gdb.base/skip.exp: Add tests for new skip options.
3780 * gdb.base/skip-solib.exp: Update expected output.
3781 * gdb.perf/skip-command.cc: New file.
3782 * gdb.perf/skip-command.exp: New file.
3783 * gdb.perf/skip-command.py: New file.
3784
3785 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
3786
3787 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
3788 info registers pattern.
3789
3790 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
3791
3792 * lib/future.exp: Add D support.
3793 (gdb_find_gdc): New proc.
3794 (gdb_default_target_compile): Add D support.
3795
3796 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
3797
3798 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
3799 user+system time.
3800 (trace_speed_test): Determine the iteration count for a time
3801 between 15..30 seconds.
3802
3803 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
3804
3805 * gdb.arch/i386-mpx-sigsegv.c: New file.
3806 * gdb.arch/i386-mpx-sigsegv.exp: New file.
3807 * gdb.arch/i386-mpx-simple_segv.c: New file.
3808 * gdb.arch/i386-mpx-simple_segv.exp: New file.
3809
3810 2016-02-18 Yao Qi <yao.qi@linaro.org>
3811
3812 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3813 Don't call setup_kfail.
3814
3815 2016-02-18 Yao Qi <yao.qi@linaro.org>
3816
3817 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3818 Set "set breakpoint condition-evaluation" per $cond_bp_target.
3819
3820 2016-02-16 Doug Evans <dje@google.com>
3821
3822 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
3823 * gdb.base/skip1.c: Ditto.
3824 * gdb.base/skip.exp: Whitespace cleanup.
3825
3826 2016-02-16 Don Breazeal <donb@codesourcery.com>
3827
3828 PR remote/19496
3829 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3830 Remove kfail for PR remote/19496.
3831
3832 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3833
3834 * lib/gdb.exp (standard_temp_file): Return a path specific to
3835 the runtest invocation.
3836
3837 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3838
3839 * gdb.trace/save-trace.exp: Change relative path to be in the
3840 standard output directory.
3841
3842 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3843
3844 * gdb.arch/i386-prologue.c: Add missing prototypes.
3845
3846 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3847
3848 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
3849 * gdb.arch/i386-prologue.exp: Likewise.
3850 * gdb.arch/i386-size.exp: Likewise.
3851
3852 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
3853
3854 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
3855 define object file path.
3856 * gdb.btrace/gcore.exp: Use standard_output_file to define core
3857 file path.
3858 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
3859 standard_output_file to define binfile.
3860
3861 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3862
3863 Fix compatibility with recent gfortran-5.3.1.
3864 * gdb.fortran/vla-history.exp (print vla1 allocated)
3865 (print vla2 allocated, print $2, print $3): Remove
3866 (print $4): Rename to ...
3867 (print $2): ... here.
3868 (print $9): Rename to ...
3869 (print $5): ... here.
3870 (print $10): Rename to ...
3871 (print $6): ... here.
3872 * gdb.fortran/vla.f90: Add pvla initialization.
3873
3874 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3875
3876 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
3877 New test.
3878 * gdb.fortran/vla-value-sub.exp: Likewise.
3879
3880 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
3881
3882 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
3883
3884 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
3885
3886 * i386-biarch-core.exp: Define corefile using
3887 standard_output_file.
3888
3889 2016-02-12 Yao Qi <yao.qi@linaro.org>
3890
3891 * gdb.arch/arm-single-step-kernel-helper.c: New.
3892 * gdb.arch/arm-single-step-kernel-helper.exp: New.
3893
3894 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
3895
3896 * gdb.btrace/tailcall-only.exp: New.
3897 * gdb.btrace/tailcall-only.c: New.
3898 * gdb.btrace/x86_64-tailcall-only.S: New.
3899 * gdb.btrace/i686-tailcall-only.S: New.
3900
3901 2016-02-11 Pedro Alves <palves@redhat.com>
3902
3903 * README (Parallel testing): Add missing double quotes.
3904
3905 2016-02-11 Pedro Alves <palves@redhat.com>
3906
3907 * README (Parallel testing): New section.
3908 (GDB_PARALLEL): Rewrite.
3909 (FORCE_PARALLEL): Document.
3910
3911 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
3912
3913 * gdb.trace/tfile-avx.c: New test.
3914 * gdb.trace/tfile-avx.exp: New test.
3915
3916 2016-02-09 Keith Seitz <keiths@redhat.com>
3917
3918 PR breakpoints/19546
3919 * gdb.base/infcall-exec.c: New file.
3920 * gdb.base/infcall-exec2.c: New file.
3921 * gdb.base/infcall-exec.exp: New file.
3922
3923 2016-02-09 Keith Seitz <keiths@redhat.com>
3924
3925 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
3926 (toplevel): Call test_bkpt_address.
3927
3928 2016-02-09 Keith Seitz <keiths@redhat.com>
3929
3930 PR python/19506
3931 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
3932 (toplevel): Call test_bkpt_address.
3933
3934 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
3935
3936 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
3937 to AC_OUTPUT.
3938 * configure: Regenerate.
3939
3940 2016-02-09 Pedro Alves <palves@redhat.com>
3941
3942 PR breakpoints/19548
3943 * gdb.base/execl-update-breakpoints.c (some_function): New
3944 function.
3945 (main): Call it.
3946 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
3947 Tighten expected GDB output.
3948
3949 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3950
3951 * Makefile.in (ALL_SUBDIRS): Remove.
3952 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
3953 (distclean maintainer-clean realclean): Likewise.
3954 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
3955 * configure: Regenerate.
3956 * gdb.ada/Makefile.in: Delete.
3957 * gdb.arch/Makefile.in: Likewise.
3958 * gdb.asm/Makefile.in: Likewise.
3959 * gdb.base/Makefile.in: Likewise.
3960 * gdb.btrace/Makefile.in: Likewise.
3961 * gdb.cell/Makefile.in: Likewise.
3962 * gdb.compile/Makefile.in: Likewise.
3963 * gdb.cp/Makefile.in: Likewise.
3964 * gdb.disasm/Makefile.in: Likewise.
3965 * gdb.dlang/Makefile.in: Likewise.
3966 * gdb.dwarf2/Makefile.in: Likewise.
3967 * gdb.fortran/Makefile.in: Likewise.
3968 * gdb.gdb/Makefile.in: Likewise.
3969 * gdb.go/Makefile.in: Likewise.
3970 * gdb.guile/Makefile.in: Likewise.
3971 * gdb.java/Makefile.in: Likewise.
3972 * gdb.linespec/Makefile.in: Likewise.
3973 * gdb.mi/Makefile.in: Likewise.
3974 * gdb.modula2/Makefile.in: Likewise.
3975 * gdb.multi/Makefile.in: Likewise.
3976 * gdb.objc/Makefile.in: Likewise.
3977 * gdb.opencl/Makefile.in: Likewise.
3978 * gdb.opt/Makefile.in: Likewise.
3979 * gdb.pascal/Makefile.in: Likewise.
3980 * gdb.perf/Makefile.in: Likewise.
3981 * gdb.python/Makefile.in: Likewise.
3982 * gdb.reverse/Makefile.in: Likewise.
3983 * gdb.server/Makefile.in: Likewise.
3984 * gdb.stabs/Makefile.in: Likewise.
3985 * gdb.threads/Makefile.in: Likewise.
3986 * gdb.trace/Makefile.in: Likewise.
3987 * gdb.xml/Makefile.in: Likewise.
3988 * lib/gdb.exp (make_gdb_parallel_path): Add check for
3989 GDB_PARALLEL.
3990 (standard_output_file): Remove check for GDB_PARALLEL, always
3991 return path in outputs/$subdir/$testname.
3992
3993 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3994
3995 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
3996 (site.exp): Assign abs_srcdir to tcl's srcdir.
3997
3998 2016-02-04 Yao Qi <yao.qi@linaro.org>
3999
4000 * gdb.base/foll-exec-mode.c: Include limits.h.
4001 (main): Add parameters argc and argv. Get directory from
4002 argv[0].
4003 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
4004 compilation.
4005 * gdb.base/foll-exec.c: Include limits.h.
4006 (main): Add parameters argc and argv.
4007 Get directory from argv[0].
4008 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
4009 Adjust tests on the number of lines as source code changed.
4010 * gdb.base/foll-vfork-exit.c: Include limits.h.
4011 (main): Add one line of statement before vfork.
4012 * gdb.base/foll-vfork.c: Include limits.h and string.h.
4013 (main): Add parameters argc and argv. Get directory from
4014 argv[0].
4015 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
4016 (setup_gdb): Set tbreak to skip some source lines.
4017 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
4018 (main): Add parameters argc and argv. Get directory from
4019 argv[0].
4020 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
4021 compilation.
4022 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
4023 (main): Add parameters argc and argv. Get directory from
4024 argv[0].
4025 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
4026 compilation.
4027
4028 2016-02-01 Doug Evans <dje@google.com>
4029
4030 * gdb.base/skip.exp: Clean up multiple references to same test name.
4031
4032 2016-02-01 Pedro Alves <palves@redhat.com>
4033
4034 PR remote/19496
4035 * gdb.threads/forking-threads-plus-breakpoint.exp
4036 (displaced_stepping_supported): New global.
4037 (probe_displaced_stepping_support): New procedure.
4038 (do_test): Add 'displaced' parameter, and use it.
4039 (top level): Check for displaced stepping support. Add displaced
4040 stepping on/off testing axis.
4041
4042 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4043
4044 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
4045 pointer. Don't perform further tests on the unassociated pointer
4046 if the first test fails.
4047
4048 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4049
4050 * gdb.base/max-value-size.c: New file.
4051 * gdb.base/max-value-size.exp: New file.
4052 * gdb.base/huge.exp: Disable max-value-size for this test.
4053
4054 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
4055
4056 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4057
4058 2016-01-28 Yao Qi <yao.qi@linaro.org>
4059
4060 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
4061
4062 2016-01-25 Pedro Alves <palves@redhat.com>
4063
4064 PR threads/19461
4065 * gdb.base/fork-running-state.c: New file.
4066 * gdb.base/fork-running-state.exp: New file.
4067
4068 2016-01-25 Pedro Alves <palves@redhat.com>
4069
4070 PR gdb/19494
4071 * gdb.base/catch-fork-kill.c: New file.
4072 * gdb.base/catch-fork-kill.exp: New file.
4073
4074 2016-01-25 Pedro Alves <palves@redhat.com>
4075
4076 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
4077 Delete, moved to lib/gdb.exp.
4078 * gdb.threads/forking-threads-plus-breakpoint.exp
4079 (foreach_with_prefix): Likewise.
4080 * gdb.threads/process-dies-while-handling-bp.exp
4081 (foreach_with_prefix): Likewise.
4082 * lib/gdb.exp (foreach_with_prefix): New procedure.
4083
4084 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
4085
4086 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
4087 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
4088
4089 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
4090
4091 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
4092 endian targets.
4093
4094 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4095 Pedro Alves <palves@redhat.com>
4096
4097 Fix testsuite compatibility with Guile.
4098 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
4099 number.
4100
4101 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4102
4103 Fix testsuite compatibility with Guile.
4104 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
4105 (thread 1): New test for backtrace through signal handler.
4106
4107 2016-01-22 Yao Qi <yao.qi@linaro.org>
4108
4109 PR testsuite/19491
4110 * gdb.base/multi-forks.c: Include
4111 ../lib/unbuffer_output.c
4112 (main): Call gdb_unbuffer_output.
4113
4114 2016-01-21 Doug Evans <dje@google.com>
4115
4116 * lib/ada.exp (gdb_compile_ada): Fix typo.
4117
4118 2016-01-21 Joel Brobecker <brobecker@adacore.com>
4119
4120 * gdb.base/break-fun-addr.exp: New file.
4121 * gdb.base/break-fun-addr1.c: New file.
4122 * gdb.base/break-fun-addr2.c: New file.
4123
4124 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
4125
4126 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
4127 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
4128 enum flag values.
4129
4130 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4131
4132 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
4133 when GDB can not set the vector return value. Add more comments
4134 for clarification.
4135
4136 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
4137
4138 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
4139 command.
4140
4141 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4142
4143 * Makefile.in (DO_RUNTEST): Add --status and update usages.
4144
4145 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4146
4147 * Makefile.in (check-single): Pass --status to runtest.
4148 (check/%.exp): Likewise.
4149
4150 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4151
4152 * Makefile.in (check-parallel): Propagate return code from make
4153 do-check-parallel.
4154
4155 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
4156
4157 * gdb.trace/ftrace.exp: Fix expected message on continue.
4158 * gdb.trace/pending.exp: Fix expected message on continue.
4159 * gdb.trace/trace-break.exp: Fix expected message on continue.
4160
4161 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
4162
4163 * lib/gdb.exp (gdb_test): Remove unused global references.
4164
4165 2016-01-18 Pedro Alves <palves@redhat.com>
4166
4167 * gdb.base/async-shell.exp: Adjust expected output.
4168 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
4169 * gdb.base/siginfo-thread.exp: Adjust expected output.
4170 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
4171 * gdb.java/jnpe.exp: Adjust expected output.
4172 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
4173 * gdb.threads/continue-pending-status.exp: Adjust expected output.
4174 * gdb.threads/leader-exit.exp: Adjust expected output.
4175 * gdb.threads/manythreads.exp: Adjust expected output.
4176 * gdb.threads/pthreads.exp: Adjust expected output.
4177 * gdb.threads/schedlock.exp: Adjust expected output.
4178 * gdb.threads/siginfo-threads.exp: Adjust expected output.
4179 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
4180 expected output.
4181 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
4182 output.
4183 * gdb.threads/sigthread.exp: Adjust expected output.
4184 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
4185
4186 2016-01-18 Yao Qi <yao.qi@linaro.org>
4187
4188 * gdb.guile/scm-section-script.c: Replace @progbits with
4189 %progbits.
4190 * gdb.python/py-section-script.c: Likewise.
4191
4192 2016-01-15 Pedro Alves <palves@redhat.com>
4193
4194 * gdb.multi/tids.exp: Test star wildcard ranges.
4195
4196 2016-01-15 Pedro Alves <palves@redhat.com>
4197
4198 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4199 command from "thread apply" invocation.
4200 (thr_apply_info_thr_invalid): Default the expected output to the
4201 input tid list.
4202 (top level): Add tests that use convenience variables. Add tests
4203 for "thread apply" with a valid TID list, but missing the command.
4204
4205 2016-01-13 Pedro Alves <palves@redhat.com>
4206
4207 * gdb.base/default.exp: Expect $_gthread as well.
4208 * gdb.multi/tids.exp: Test $_gthread.
4209 * gdb.threads/thread-specific.exp: Test $_gthread.
4210
4211 2016-01-13 Pedro Alves <palves@redhat.com>
4212
4213 * gdb.multi/tids.exp: Test "info threads -gid".
4214
4215 2016-01-13 Pedro Alves <palves@redhat.com>
4216
4217 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4218 Breakpoint.thread.
4219 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
4220
4221 2016-01-07 Pedro Alves <palves@redhat.com>
4222
4223 * gdb.base/break.exp: Adjust to output changes.
4224 * gdb.base/hbreak2.exp: Likewise.
4225 * gdb.base/sepdebug.exp: Likewise.
4226 * gdb.base/watch_thread_num.exp: Likewise.
4227 * gdb.linespec/keywords.exp: Likewise.
4228 * gdb.multi/info-threads.exp: Likewise.
4229 * gdb.threads/thread-find.exp: Likewise.
4230 * gdb.multi/tids.c: New file.
4231 * gdb.multi/tids.exp: New file.
4232
4233 2016-01-13 Pedro Alves <palves@redhat.com>
4234
4235 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
4236
4237 2016-01-13 Pedro Alves <palves@redhat.com>
4238
4239 * gdb.base/default.exp: Expect $_inferior as well.
4240 * gdb.multi/base.exp: Test $_inferior.
4241
4242 2016-01-13 Pedro Alves <palves@redhat.com>
4243
4244 PR breakpoints/19388
4245 * gdb.base/catch-signal-siginfo-cond.c: New file.
4246 * gdb.base/catch-signal-siginfo-cond.exp: New file.
4247
4248 2016-01-12 Josh Stone <jistone@redhat.com>
4249 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4250
4251 * gdb.base/catch-syscall.c (do_execve): New variable.
4252 (main): Conditionally trigger an execve.
4253 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
4254 (test_catch_syscall_execve): New, check entry/return across execve.
4255 (do_syscall_tests): Call test_catch_syscall_execve.
4256
4257 2016-01-12 Pedro Alves <palves@redhat.com>
4258
4259 * gdb.base/random-signal.exp (do_test): New procedure, with body
4260 of testcase moved in.
4261
4262 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4263 Pedro Alves <palves@redhat.com>
4264
4265 * gdb.base/funcargs.exp (finish from indirectly called function):
4266 Reintroduce the case for 'First'.
4267
4268 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4269 Pedro Alves <palves@redhat.com>
4270
4271 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4272 (tcatch_vfork_then_child_follow_exec)
4273 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
4274 identification.
4275
4276 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4277
4278 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
4279 and repeats to unlimited.
4280 * gdb.python/py-value.exp: Likewise.
4281 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
4282 and repeats to unlimited.
4283
4284 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4285
4286 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
4287 and reordering the functions.
4288 * gdb.multi/hangout.c: Likewise.
4289 * gdb.multi/hello.c: Likewise.
4290
4291 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
4292
4293 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
4294 absolute.
4295 (SingleStatisticTestResult.report): Use dict.keys instead of
4296 dict.iterkeys.
4297
4298 2016-01-06 Pedro Alves <palves@redhat.com>
4299
4300 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
4301
4302 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
4303
4304 * gdb.btrace/dlopen.exp: New.
4305 * gdb.btrace/dlopen.c: New.
4306 * gdb.btrace/dlopen-dso.c: New.
4307
4308 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
4309
4310 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4311 PATTERN argument is optional.
4312
4313 2015-12-24 Joel Brobecker <brobecker@adacore.com>
4314
4315 * lib/ada.exp (target_compile_ada_from_dir): New function.
4316 (gdb_compile_ada): Reimplement avoiding the use of project files.
4317 * gdb.ada/gnat_ada.gpr: Delete.
4318 * gdb.ada/cond_lang.exp: Adjust test to make path before
4319 filename optional.
4320 * gdb.ada/small_reg_param.exp: Likewise.
4321
4322 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4323
4324 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4325
4326 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4327
4328 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4329 case.
4330
4331 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4332
4333 * gdb.base/break.exp: Remove dead code.
4334 * gdb.base/sepdebug.exp: Likewise.
4335
4336 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4337
4338 * gdb.asm/asm-source.exp: Remove HP-UX references.
4339 * gdb.base/annota1.exp: Likewise.
4340 * gdb.base/annota3.exp: Likewise.
4341 * gdb.base/attach.exp: Likewise.
4342 * gdb.base/bigcore.exp: Likewise.
4343 * gdb.base/break.exp: Likewise.
4344 * gdb.base/call-ar-st.exp: Likewise.
4345 * gdb.base/callfuncs.exp: Likewise.
4346 * gdb.base/catch-fork-static.exp: Likewise.
4347 * gdb.base/display.exp: Likewise.
4348 * gdb.base/foll-exec-mode.exp: Likewise.
4349 * gdb.base/foll-exec.exp: Likewise.
4350 * gdb.base/foll-fork.exp: Likewise.
4351 * gdb.base/foll-vfork.exp: Likewise.
4352 * gdb.base/funcargs.exp: Likewise.
4353 * gdb.base/hbreak2.exp: Likewise.
4354 * gdb.base/inferior-died.exp: Likewise.
4355 * gdb.base/interrupt.exp: Likewise.
4356 * gdb.base/multi-forks.exp: Likewise.
4357 * gdb.base/nodebug.exp: Likewise.
4358 * gdb.base/sepdebug.exp: Likewise.
4359 * gdb.base/solib1.c: Likewise.
4360 * gdb.base/step-test.exp: Likewise.
4361 * gdb.mi/non-stop.c: Likewise.
4362 * gdb.mi/pthreads.c: Likewise.
4363 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4364 * gdb.threads/pthreads.c: Likewise.
4365 * gdb.threads/staticthreads.exp: Likewise.
4366 * lib/future.exp: Likewise.
4367 * lib/gdb.exp: Likewise.
4368 * gdb.base/so-indr-cl.c: Remove.
4369 * gdb.base/so-indr-cl.exp: Likewise.
4370 * gdb.base/solib.c: Likewise.
4371 * gdb.base/solib.exp: Likewise.
4372 * gdb.base/solib2.c: Likewise.
4373
4374 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4375
4376 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4377 * gdb.base/call-ar-st.exp: Likewise.
4378 * gdb.base/callfuncs.exp: Likewise.
4379 * gdb.base/condbreak.exp: Likewise.
4380 * gdb.base/constvars.exp: Likewise.
4381 * gdb.base/hbreak2.exp: Likewise.
4382 * gdb.base/langs.exp: Likewise.
4383 * gdb.base/list.exp: Likewise.
4384 * gdb.base/long_long.exp: Likewise.
4385 * gdb.base/ptype.exp: Likewise.
4386 * gdb.base/scope.exp: Likewise.
4387 * gdb.base/signals.exp: Likewise.
4388 * gdb.base/so-impl-ld.exp: Likewise.
4389 * gdb.base/varargs.exp: Likewise.
4390 * gdb.base/volatile.exp: Likewise.
4391 * gdb.base/whatis.exp: Likewise.
4392 * gdb.cp/cplusfuncs.exp: Likewise.
4393 * gdb.cp/inherit.exp: Likewise.
4394 * gdb.cp/local.exp: Likewise.
4395 * gdb.cp/member-ptr.exp: Likewise.
4396 * gdb.cp/method.exp: Likewise.
4397 * gdb.cp/overload.exp: Likewise.
4398 * gdb.cp/templates.exp: Likewise.
4399 * gdb.stabs/weird.exp: Likewise.
4400 * lib/compiler.c: Likewise.
4401 * lib/compiler.cc: Likewise.
4402 * lib/cp-support.exp: Likewise.
4403 * lib/gdb.exp: Likewise.
4404
4405 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
4406
4407 * configure.ac: Remove HP-UX case.
4408 * configure: Regenerate.
4409
4410 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
4411
4412 * lib/gdb.exp (gdb_compile): Add function doc.
4413
4414 2015-12-17 Pedro Alves <palves@redhat.com>
4415
4416 PR threads/19354
4417 * gdb.multi/info-threads.exp: New file.
4418
4419 2015-12-15 Yao Qi <yao.qi@linaro.org>
4420
4421 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
4422 is aarch64*-*-*.
4423
4424 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4425
4426 * gdb.base/history-duplicates.exp: Skip if no readline support.
4427
4428 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4429
4430 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
4431
4432 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4433
4434 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
4435
4436 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4437
4438 * gdb.base/completion.exp: Skip tests that interrupt GDB with
4439 ctrl-C if nointerrupts target property is set.
4440 * gdb.base/double-prompt-target-event-error.exp: Likewise.
4441 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
4442 * gdb.base/paginate-bg-execution.exp: Likewise.
4443 * gdb.base/paginate-execution-startup.exp: Likewise.
4444 * gdb.base/random-signal.exp: Likewise.
4445 * gdb.base/range-stepping.exp: Likewise.
4446 * gdb.cp/annota2.exp: Likewise.
4447 * gdb.cp/annota3.exp: Likewise.
4448 * gdb.gdb/selftest.exp: Likewise.
4449 * gdb.threads/continue-pending-status.exp: Likewise.
4450 * gdb.threads/leader-exit.exp: Likewise.
4451 * gdb.threads/manythreads.exp: Likewise.
4452 * gdb.threads/pthreads.exp: Likewise.
4453 * gdb.threads/schedlock.exp: Likewise.
4454 * gdb.threads/sigthread.exp: Likewise.
4455
4456 2015-12-11 Don Breazeal <donb@codesourcery.com>
4457
4458 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
4459 remote.
4460 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
4461 * gdb.base/foll-exec.exp (main): Enable for target remote.
4462 * gdb.base/foll-fork.exp (main): Likewise.
4463 * gdb.base/foll-vfork.exp (main): Likewise.
4464 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
4465 (proc continue_to_exit_bp_loc): Use clean_restart.
4466 * gdb.base/pie-execl.exp (main): Disable for target remote.
4467 * gdb.base/watch-vfork.exp (main): Enable for target remote.
4468 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
4469 * gdb.threads/execl.exp (main): Likewise.
4470 * gdb.threads/fork-child-threads.exp (main): Likewise.
4471 * gdb.threads/fork-plus-threads.exp (main): Disable for target
4472 remote.
4473 * gdb.threads/fork-thread-pending.exp (main): Enable for target
4474 remote.
4475 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
4476 pid.tid style ptids, instead of just tid.
4477 * gdb.threads/thread-execl.exp (main): Enable for target remote.
4478 * gdb.threads/watchpoint-fork.exp (main): Likewise.
4479 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
4480 ptids, instead of just tid.
4481
4482 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4483
4484 * gdb.base/list.exp (test_list_forward): Add end of file error
4485 test.
4486 (test_repeat_list_command): Add end of file error test.
4487 (test_list_backwards): Add beginning of file error test.
4488
4489 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4490
4491 * gdb.base/list.exp (test_list_invalid_args): New function,
4492 defined, and called.
4493
4494 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4495
4496 * gdb.base/list.exp (test_list): Make test names unique.
4497
4498 2015-12-11 Yao Qi <yao.qi@linaro.org>
4499
4500 * gdb.base/coremaker2.c: Remove.
4501
4502 2015-12-10 Pedro Alves <palves@redhat.com>
4503
4504 * gdb.multi/base.exp: Remove stale "spaces" references.
4505
4506 2015-12-10 Pedro Alves <palves@redhat.com>
4507
4508 * gdb.multi/base.exp: Don't use nowarnings.
4509 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
4510 * gdb.multi/hangout.c: Include stdio.h.
4511 * gdb.multi/hello.c: Include stdlib.h.
4512 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
4513 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
4514 * gdb.multi/multi-arch.exp: Don't use nowarnings.
4515
4516 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
4517
4518 * gdb.dwarf2/dw2-ranges-base.c: New file.
4519 * gdb.dwarf2/dw2-ranges-base.exp: New file.
4520 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
4521 support additional line table, and debug ranges generation.
4522 (Dwarf::ranges): New function, generate .debug_ranges.
4523 (Dwarf::lines): Support generating simple line table programs.
4524 (Dwarf::assemble): Initialise new namespace variables.
4525
4526 2015-12-09 Kevin Buettner <kevinb@redhat.com>
4527
4528 * gdb.base/async.exp (proc test_background): Add case for
4529 asynchronous execution not supported.
4530
4531 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
4532
4533 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
4534 format and change test names to make them unique.
4535
4536 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
4537 Pedro Alves <pedro@redhat.com>
4538
4539 PR gdb/18702
4540 Add checking of floatformats setup on x86_64 hosts.
4541 * gdb.arch/i386-float.S (main): Load bigval and smallval.
4542 (smallval, bigval): New labels/constants.
4543 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
4544 float" after loading bigval and smallval.
4545
4546 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
4547
4548 * gdb.ada/fun_overload_menu.exp: New testcase.
4549 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
4550
4551 2015-12-04 Josh Stone <jistone@redhat.com>
4552
4553 * gdb.base/catch-fork-static.exp: New.
4554
4555 2015-12-03 Yao Qi <yao.qi@linaro.org>
4556
4557 * gdb.base/sizeof.c: Don't include stdio.h and
4558 ../lib/unbuffer_output.c.
4559 (main): New variable 'size' and 'value'. Remove printf and
4560 gdb_unbuffer_output. Assign return value to size and value.
4561 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
4562 at the beginning.
4563 (check_sizeof): Check the result by printing variable 'size'.
4564 (check_valueof): Check the result by printing variable 'value'.
4565
4566 2015-12-01 Yao Qi <yao.qi@linaro.org>
4567
4568 * gdb.base/disp-step-syscall.exp: Define syscall instruction
4569 for aarch64*-*-linux* target.
4570
4571 2015-11-30 Pedro Alves <palves@redhat.com>
4572
4573 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
4574
4575 2015-11-30 Pedro Alves <palves@redhat.com>
4576
4577 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
4578 Handle non-stop mode vCont replies.
4579
4580 2015-11-30 Pedro Alves <palves@redhat.com>
4581
4582 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
4583 prepare_for_testing. Start gdb with "set non-stop on" appended to
4584 GDBFLAGS. Lax expected stop output.
4585
4586 2015-11-27 Yao Qi <yao.qi@linaro.org>
4587
4588 * gdb.arch/arm-neon.exp: New.
4589 * gdb.arch/arm-neon.c: New.
4590
4591 2015-11-27 Yao Qi <yao.qi@linaro.org>
4592
4593 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
4594
4595 2015-11-27 Yao Qi <yao.qi@linaro.org>
4596
4597 * gdb.cp/annota2.exp: Allow multiple occurrences of the
4598 frames-invalid annotation.
4599
4600 2015-11-27 Yao Qi <yao.qi@linaro.org>
4601
4602 * gdb.cp/annota2.exp: Use ${frames_invalid}.
4603
4604 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
4605
4606 * gdb.threads/names.exp: New file.
4607 * gdb.threads/names.c: New file.
4608 * README: Mention gdb,no_thread_names.
4609
4610 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
4611
4612 PR 19297
4613 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
4614 support" error.
4615
4616 2015-11-24 Pedro Alves <palves@redhat.com>
4617
4618 PR 17539
4619 * gdb.base/display.exp: Expect displays to be sorted in ascending
4620 order. Use multi_line.
4621 * gdb.base/solib-display.exp: Likewise.
4622
4623 2015-11-24 Pedro Alves <palves@redhat.com>
4624
4625 PR 17539
4626 * gdb.base/display.exp: Expect displays to be sorted in ascending
4627 order. Use multi_line.
4628 * gdb.base/solib-display.exp: Likewise.
4629
4630 2015-11-24 Pedro Alves <palves@redhat.com>
4631
4632 PR 17539
4633 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
4634 threads in ascending order.
4635 * gdb.base/foll-fork.exp: Likewise.
4636 * gdb.base/foll-vfork.exp: Likewise.
4637 * gdb.base/multi-forks.exp: Likewise.
4638 * gdb.mi/mi-nonstop.exp: Likewise.
4639 * gdb.mi/mi-nsintrall.exp: Likewise.
4640 * gdb.multi/base.exp: Likewise.
4641 * gdb.multi/multi-arch.exp: Likewise.
4642 * gdb.python/py-inferior.exp: Likewise.
4643 * gdb.threads/break-while-running.exp: Likewise.
4644 * gdb.threads/execl.exp: Likewise.
4645 * gdb.threads/gcore-thread.exp: Likewise.
4646 * gdb.threads/info-threads-cur-sal.exp: Likewise.
4647 * gdb.threads/kill.exp: Likewise.
4648 * gdb.threads/linux-dp.exp: Likewise.
4649 * gdb.threads/multiple-step-overs.exp: Likewise.
4650 * gdb.threads/next-bp-other-thread.exp: Likewise.
4651 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
4652 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
4653 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
4654 * gdb.threads/thread-find.exp: Likewise.
4655 * gdb.threads/tls.exp: Likewise.
4656 * lib/mi-support.exp (mi_reverse_list): Delete.
4657 (mi_check_thread_states): No longer reverse list.
4658
4659 2015-11-24 Pedro Alves <palves@redhat.com>
4660
4661 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
4662 use lowercase.
4663
4664 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4665
4666 * gdb.trace/actions.c: Include trace-common.h.
4667 (main): Add a location for a fast tracepoint.
4668 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
4669 the normal tracepoints.
4670 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
4671
4672 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4673
4674 * save-trace.exp: Factor out code to these...
4675 (gdb_save_tracepoints): New.
4676 (gdb_load_tracepoints): New.
4677 (do_save_load_test): New.
4678
4679 2015-11-23 Kevin Buettner <kevinb@redhat.com>
4680
4681 * gdb.base/asmlabel.exp: New test.
4682 * gdb.base/asmlabel.c: New test case.
4683
4684 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4685
4686 * gdb.base/wrong_frame_bt_full-main.c: New file.
4687 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
4688 * gdb.base/wrong_frame_bt_full.exp: New file.
4689
4690 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4691
4692 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
4693
4694 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4695
4696 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
4697 pstate register when comparing registers values in
4698 sparc64-*-linux-gnu targets to avoid spurious differences.
4699
4700 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4701
4702 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
4703
4704 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
4705
4706 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
4707 as type argument to gdb_compile.
4708 * gdb.base/nested-subp2.exp: Likewise.
4709 * gdb.base/nested-subp3.exp: Likewise.
4710
4711 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
4712
4713 * lib/dwarf.exp (_note): Fix left shift of negative value.
4714 * gdb.trace/trace-condition.exp: Likewise.
4715
4716 2015-11-13 Yao Qi <yao.qi@linaro.org>
4717
4718 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
4719 comments about d10v.
4720 (test_scalar_returns): Likewise.
4721 * gdb.base/d10v.ld: Remove.
4722 * gdb.base/overlays.exp: Remove the target triplet checking for
4723 d10v-*-*.
4724 * gdb.base/structs.exp (test_struct_returns): Remove the
4725 comments about d10v.
4726 (test_struct_calls): Likewise.
4727
4728 2015-11-13 Yao Qi <yao.qi@linaro.org>
4729
4730 * gdb.base/gnu_vector.exp: Check the return value by "p res".
4731 * gdb.base/gnu_vector.c: Don't include stdio.h.
4732 (main): Don't print res and call add_some_intvecs.
4733
4734 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
4735
4736 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
4737 macro.
4738 (func5): Removed.
4739 (func4): Use FAST_TRACEPOINT_LABEL.
4740 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
4741 macro.
4742 (func): Removed.
4743 (thread_function): Use FAST_TRACEPOINT_LABEL.
4744 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
4745 (func): Remove.
4746 (marker): Use FAST_TRACEPOINT_LABEL.
4747 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
4748 (pendfunc1): Remove.
4749 (pendfunc): Use FAST_TRACEPOINT_LABEL.
4750 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
4751 (foo): Remove.
4752 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
4753 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
4754 macro.
4755 (func): Remove.
4756 (marker): Use FAST_TRACEPOINT_LABEL.
4757 * gdb.trace/trace-common.h: New header.
4758 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
4759 macro.
4760 (func): Remove.
4761 (marker): Use FAST_TRACEPOINT_LABEL.
4762 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
4763 (func): Remove.
4764 (thread_function): Use FAST_TRACEPOINT_LABEL.
4765
4766 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
4767
4768 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
4769 in front.
4770 * gdb.trace/change-loc.exp: Use global pcreg definition.
4771 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
4772 * gdb.trace/entry-values.exp: Use global spreg definition, add $
4773 in front.
4774 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
4775 * gdb.trace/pending.exp: Likewise.
4776 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
4777 * gdb.trace/trace-break.exp: Likewise.
4778 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
4779 in front.
4780 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
4781 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
4782 in front.
4783 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
4784
4785 2015-11-09 Joel Brobecker <brobecker@adacore.com>
4786
4787 * gdb.ada/fin_fun_out: New testcase.
4788
4789 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4790
4791 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
4792 value associated with DW_AT_byte_size.
4793 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
4794 constants for DW_AT_byte_size, DW_AT_lower_bound, and
4795 DW_AT_upper_bound.
4796
4797 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4798
4799 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
4800 (gdb_target_symbol_prefix_flags): Define in terms of _asm
4801 version.
4802 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
4803 gdb.dwarf2/dw2-canonicalize-type.exp,
4804 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
4805 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
4806 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
4807 provided by gdb_target_symbol_prefix_flags_asm.
4808 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
4809 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
4810 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
4811 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
4812 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
4813 macros where needed). Use this macro for symbols which require
4814 the prefix provided by SYMBOL_PREFIX.
4815
4816 2015-11-05 Kevin Buettner <kevinb@redhat.com>
4817
4818 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
4819 New procs.
4820 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
4821 representing expressions, of more than one list element.
4822 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
4823 to prepend linker symbol prefix to f.
4824 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
4825 table_1 and table_2.
4826 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
4827 Likewise, for f and g.
4828 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
4829 for ptr.
4830 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
4831 for main.
4832 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
4833 table_1_ptr and table_2_ptr.
4834
4835 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4836 Joel Brobecker <brobecker@adacore.com>
4837
4838 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
4839
4840 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
4841
4842 * gdb.reverse/s390-mvcle.c: New test.
4843 * gdb.reverse/s390-mvcle.exp: New file.
4844 * lib/gdb.exp: Enable reverse tests on s390*-linux.
4845
4846 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4847
4848 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
4849
4850 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4851
4852 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
4853 reaching marker2.
4854 * gdb.reverse/getresuid-reverse.exp: Likewise.
4855 * gdb.reverse/pipe-reverse.exp: Likewise.
4856 * gdb.reverse/readv-reverse.exp: Likewise.
4857 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4858 * gdb.reverse/time-reverse.exp: Likewise.
4859 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
4860
4861 2015-10-30 Yao Qi <yao.qi@linaro.org>
4862
4863 * gdb.threads/wp-replication.c (watch_count_done): Remove.
4864 (empty_cycle): Remove.
4865 (main): Don't call empty_cycle. Don't use watch_count_done.
4866 * gdb.threads/wp-replication.exp: Don't set breakpoint on
4867 empty_cycle. Rewrite the code counting HW watchpoints.
4868
4869 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
4870
4871 * gdb.reverse/fstatat-reverse.c: New test.
4872 * gdb.reverse/fstatat-reverse.exp: New file.
4873 * gdb.reverse/getresuid-reverse.c: New test.
4874 * gdb.reverse/getresuid-reverse.exp: New file.
4875 * gdb.reverse/pipe-reverse.c: New test.
4876 * gdb.reverse/pipe-reverse.exp: New file.
4877 * gdb.reverse/readv-reverse.c: New test.
4878 * gdb.reverse/readv-reverse.exp: New file.
4879 * gdb.reverse/recvmsg-reverse.c: New test.
4880 * gdb.reverse/recvmsg-reverse.exp: New file.
4881 * gdb.reverse/time-reverse.c: New test.
4882 * gdb.reverse/time-reverse.exp: New file.
4883 * gdb.reverse/waitpid-reverse.c: New test.
4884 * gdb.reverse/waitpid-reverse.exp: New file.
4885
4886 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4887
4888 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
4889
4890 2015-10-26 Doug Evans <dje@google.com>
4891
4892 PR symtab/17391
4893 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
4894 * gdb.dwarf2/bad-regnum.c: New file.
4895 * gdb.dwarf2/bad-regnum.exp: New file.
4896
4897 2015-10-26 Doug Evans <dje@google.com>
4898
4899 PR python/18938
4900 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
4901 file.
4902
4903 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4904
4905 * gdb.compile/compile.exp (compile code globalvar): Update expectation
4906 for a change by "Mention language in compile error message".
4907
4908 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
4909
4910 PR python/18073
4911 * gdb.python/py-type.c (C::a_method): New.
4912 (C::a_const_method): New.
4913 (C::a_static_method): New.
4914 (a_function): New.
4915 * gdb.python/py-type.exp (test_fields): Test getting fields
4916 from function and method.
4917
4918 2015-10-21 Keven Boell <keven.boell@intel.com>
4919
4920 * gdb.fortran/vla-alloc-assoc.exp: New file.
4921 * gdb.fortran/vla-datatypes.exp: New file.
4922 * gdb.fortran/vla-datatypes.f90: New file.
4923 * gdb.fortran/vla-history.exp: New file.
4924 * gdb.fortran/vla-ptype-sub.exp: New file.
4925 * gdb.fortran/vla-ptype.exp: New file.
4926 * gdb.fortran/vla-sizeof.exp: New file.
4927 * gdb.fortran/vla-sub.f90: New file.
4928 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
4929 * gdb.fortran/vla-value-sub-finish.exp: New file.
4930 * gdb.fortran/vla-value-sub.exp: New file.
4931 * gdb.fortran/vla-value.exp: New file.
4932 * gdb.fortran/vla-ptr-info.exp: New file.
4933 * gdb.mi/mi-vla-fortran.exp: New file.
4934 * gdb.mi/vla.f90: New file.
4935
4936 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
4937
4938 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
4939 of hardwired timeout value.
4940
4941 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4942 Pedro Alves <palves@redhat.com>
4943
4944 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
4945 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
4946
4947 2015-10-19 Josh Stone <jistone@redhat.com>
4948
4949 * gdb.base/catch-syscall.c: Include <sched.h>.
4950 (unknown_syscall): New variable.
4951 (main): Trigger a vfork and an unknown syscall.
4952 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
4953 (unknown_syscall_number): Likewise.
4954 (check_call_to_syscall): Accept an optional syscall pattern.
4955 (check_return_from_syscall): Likewise.
4956 (check_continue): Likewise.
4957 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
4958 (test_catch_syscall_skipping_return): New test toggling off 'catch
4959 syscall' to step over the syscall return, then toggling back on.
4960 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
4961 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
4962 (do_syscall_tests): Call test_catch_syscall_without_args and
4963 test_catch_syscall_mid_vfork.
4964 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
4965 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
4966
4967 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
4968
4969 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
4970 print g_vE): Add new pass patterns.
4971 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
4972 print various symbol names for vptr fields.
4973
4974 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
4975
4976 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
4977 results.
4978
4979 2015-10-12 Yao Qi <yao.qi@linaro.org>
4980
4981 * gdb.arch/disp-step-insn-reloc.exp: New test case.
4982
4983 2015-10-12 Yao Qi <yao.qi@linaro.org>
4984
4985 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
4986 is aarch64*-*-linux*.
4987
4988 2015-10-12 Yao Qi <yao.qi@linaro.org>
4989
4990 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
4991 (can_relocate_bcond_true): ... it.
4992 (can_relocate_bcond_false): New function.
4993 (foo): Likewise.
4994 (can_relocate_bl): Likewise.
4995 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
4996 can_relocate_bl.
4997
4998 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
4999
5000 * gdb.base/nested-addr.c: New file.
5001 * gdb.base/nested-addr.exp: New testcase.
5002
5003 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
5004
5005 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
5006 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
5007 its output. Ignore the output of "record goto begin" and instead
5008 check that GDB is replaying.
5009
5010 2015-10-09 Pedro Alves <palves@redhat.com>
5011
5012 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
5013 (top level): Use it in the run with no args test.
5014
5015 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
5016
5017 * gdb.dlang/properties.exp: New file.
5018
5019 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
5020
5021 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
5022 whether or not address 0x1000 is mapped on the target.
5023
5024 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
5025
5026 * gdb.python/py-type.exp: Do not run tests if binaries fail to
5027 build.
5028
5029 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
5030
5031 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
5032 instruction-history test.
5033
5034 2015-09-28 Doug Evans <dje@google.com>
5035
5036 * gdb.base/gcore.c (array_func): Add reference to static_array.
5037
5038 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
5039
5040 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
5041 source line.
5042
5043 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
5044
5045 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
5046 short or char as base type.
5047
5048 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
5049
5050 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
5051 to allow any size enum.
5052
5053 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
5054
5055 * gdb.ada/array_ptr_renaming.exp: New testcase.
5056 * gdb.ada/array_ptr_renaming/foo.adb: New file.
5057 * gdb.ada/array_ptr_renaming/pack.ads: New file.
5058
5059 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5060
5061 * gdb.trace/ftrace-lock.c: New file.
5062 * gdb.trace/ftrace-lock.exp: New file.
5063
5064 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5065
5066 * gdb.arch/insn-reloc.c: New file.
5067 * gdb.arch/ftrace-insn-reloc.exp: New file.
5068
5069 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5070
5071 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
5072 instruction.
5073 * gdb.trace/pendshr1.c (pendfunc): Likewise.
5074 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
5075 * gdb.trace/range-stepping.c: Likewise.
5076 * gdb.trace/trace-break.c: Likewise.
5077 * gdb.trace/trace-mt.c (thread_function): Likewise.
5078 * gdb.trace/ftrace.c (marker): Likewise.
5079 * gdb.trace/trace-condition.c (marker): Likewise.
5080 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
5081 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
5082 is_aarch64_target.
5083
5084 2015-09-18 Doug Evans <xdje42@gmail.com>
5085
5086 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
5087 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
5088
5089 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5090
5091 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
5092 the breakpoint.
5093
5094 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5095
5096 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
5097 the pending breakpoint. Remove timeout override for "Run till
5098 MI pending breakpoint on pendfunc3 on thread 2" test.
5099
5100 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5101
5102 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
5103 filename pattern.
5104
5105 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5106
5107 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
5108 in breakpoint filename pattern.
5109
5110 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5111
5112 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
5113
5114 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5115
5116 * gdb.linespec/explicit.exp: Check for readline support for
5117 tab-completion tests. Fix obvious typo.
5118
5119 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5120
5121 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
5122 and replay.
5123
5124 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5125
5126 * gdb.btrace/non-stop.c: New.
5127 * gdb.btrace/non-stop.exp: New.
5128
5129 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
5130 Yao Qi <yao.qi@linaro.org>
5131
5132 * gdb.trace/trace-condition.c: New file.
5133 * gdb.trace/trace-condition.exp: New file.
5134
5135 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
5136
5137 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
5138 for testing bytecode compilation.
5139
5140 2015-09-16 Pedro Alves <palves@redhat.com>
5141 Sandra Loosemore <sandra@codesourcery.com>
5142
5143 * gdb.threads/non-stop-fair-events.c (timeout): New global.
5144 (SECONDS): Redefine.
5145 (main): Call pthread_kill and alarm early.
5146 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
5147 support.
5148 (test): If the target can't hardware step and doesn't support
5149 displaced stepping, increase the timeout.
5150
5151 2015-09-16 Pedro Alves <palves@redhat.com>
5152
5153 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
5154 (enable_debug): New procedures.
5155 (test): Use them. Bail out if waiting for threads fails.
5156 (top level): Bail out if a test fails.
5157
5158 2015-09-16 Yao Qi <yao.qi@linaro.org>
5159
5160 * gdb.asm/asm-source.exp: Set asm-arch for
5161 aarch64*-*-* target.
5162 * gdb.asm/aarch64.inc: New file.
5163
5164 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
5165
5166 * gdb.ada/array_of_variable_length.exp: New testcase.
5167 * gdb.ada/array_of_variable_length/foo.adb: New file.
5168 * gdb.ada/array_of_variable_length/pck.adb: New file.
5169 * gdb.ada/array_of_variable_length/pck.ads: New file.
5170
5171 2015-09-15 Doug Evans <dje@google.com>
5172
5173 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
5174 of function static local variable.
5175
5176 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5177
5178 * gdb.threads/tls-so_extern.exp: New test file.
5179 * gdb.threads/tls-so_extern.c: New test file.
5180 * gdb.threads/tls-so_extern_main.c: New test file.
5181
5182 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5183
5184 * gdb.opt/solib-intra-step-lib.c: New file.
5185 * gdb.opt/solib-intra-step-main.c: New file.
5186 * gdb.opt/solib-intra-step.exp: New file.
5187
5188 2015-09-15 Pedro Alves <palves@redhat.com>
5189
5190 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
5191 gdb_continue_to_breakpoint instead of gdb_test_multiple.
5192
5193 2015-09-14 Pedro Alves <palves@redhat.com>
5194
5195 * gdb.base/hook-stop-continue.c: Delete.
5196 * gdb.base/hook-stop-continue.exp: Delete.
5197 * gdb.base/hook-stop-frame.c: Delete.
5198 * gdb.base/hook-stop-frame.exp: Delete.
5199 * gdb.base/hook-stop.c: New file.
5200 * gdb.base/hook-stop.exp: New file.
5201
5202 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
5203
5204 * gdb.ada/access_to_packed_array.exp: New testcase.
5205 * gdb.ada/access_to_packed_array/foo.adb: New file.
5206 * gdb.ada/access_to_packed_array/pack.adb: New file.
5207 * gdb.ada/access_to_packed_array/pack.ads: New file.
5208
5209 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
5210
5211 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
5212 buffer size test.
5213
5214 2015-09-11 Don Breazeal <donb@codesourcery.com>
5215
5216 * gdb.base/foll-exec.c: Add copyright header. Fix
5217 formatting issues.
5218 * gdb.base/foll-exec.exp (zap_session): Delete proc.
5219 (do_exec_tests): Use clean_restart in place of zap_session,
5220 and for test initialization. Fix formatting issues. Use
5221 fail in place of perror.
5222 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
5223 an expect statement to match an expression with output from
5224 the program under debug.
5225 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
5226 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
5227 * gdb.threads/non-ldr-exc-2.exp: Likewise.
5228 * gdb.threads/non-ldr-exc-3.exp: Likewise.
5229 * gdb.threads/non-ldr-exc-4.exp: Likewise.
5230
5231 2015-09-09 Doug Evans <dje@google.com>
5232
5233 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
5234
5235 2015-09-09 Doug Evans <dje@google.com>
5236
5237 * gdb.base/pie-execl.exp: Fix result test of build_executable.
5238
5239 2015-09-09 Doug Evans <dje@google.com>
5240
5241 * gdb.base/savedregs.exp: Fix typo.
5242
5243 2015-09-09 Pedro Alves <palves@redhat.com>
5244
5245 * gdb.mi/mi-cli.exp: Add CLI finish tests.
5246
5247 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
5248
5249 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
5250 command actually switches threads. Give up on remaining
5251 tests if target fails to stop at breakpoint.
5252
5253 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
5254
5255 * gdb.ada/funcall_char.exp: New testcase.
5256 * gdb.ada/funcall_char/foo.adb: New file.
5257
5258 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
5259
5260 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
5261 expected outputs. Add two testcases for completing ambiguous
5262 functions.
5263 * gdb.ada/complete/aux_pck.adb: New file.
5264 * gdb.ada/complete/aux_pck.ads: New file.
5265 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
5266 Ambiguous_Func functions.
5267 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
5268 * gdb.ada/complete/pck.adb: Likewise.
5269
5270 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
5271
5272 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
5273 failures to run the test program under GDB.
5274
5275 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
5276
5277 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
5278 to C.
5279
5280 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
5281
5282 * gdb.base/run-after-attach.exp: New test file.
5283 * gdb.base/run-after-attach.c: New test file.
5284
5285 2015-08-26 Don Breazeal <donb@codesourcery.com>
5286
5287 * gdb.base/foll-exec-2.c: New test program.
5288 * gdb.base/foll-exec-2.exp: New test.
5289
5290 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
5291
5292 * gdb.base/nested-subp1.exp: New file.
5293 * gdb.base/nested-subp1.c: New file.
5294 * gdb.base/nested-subp2.exp: New file.
5295 * gdb.base/nested-subp2.c: New file.
5296 * gdb.base/nested-subp3.exp: New file.
5297 * gdb.base/nested-subp3.c: New file.
5298
5299 2015-08-24 Pedro Alves <palves@redhat.com>
5300
5301 * gdb.server/connect-without-multi-process.c: New file.
5302 * gdb.server/connect-without-multi-process.exp: New file.
5303
5304 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5305
5306 * gdb.opt/inline-markers.c: Make z int.
5307
5308 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5309
5310 * gdb.opt/inline-markers.c: Make z volatile.
5311
5312 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5313
5314 * gdb.opt/inline-bt.c: New volatile global z.
5315 * gdb.opt/inline-cmds.c: Likewise.
5316 * gdb.opt/inline-locals.c: Likewise.
5317 * gdb.opt/inline-markers.c: New extern global z.
5318 (marker): Use z.
5319 (inline_fn): Likewise.
5320
5321 2015-08-24 Pedro Alves <palves@redhat.com>
5322
5323 * config/m32r-stub.exp: Remove file.
5324 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5325 * gdb.base/call-rt-st.exp: Likewise.
5326 * gdb.base/call-strs.exp: Likewise.
5327 * gdb.base/default.exp: Remove references to h8300-*-hms and
5328 *-*-udi*.
5329 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5330
5331 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5332
5333 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5334 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5335 and "return" use KFAIL when GDB can not read/write the vector
5336 return value.
5337
5338 2015-08-21 Gary Benson <gbenson@redhat.com>
5339
5340 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5341
5342 2015-08-20 Pedro Alves <palves@redhat.com>
5343
5344 * gdb.server/solib-list.exp: No longer expect an interior stop in
5345 non-stop mode.
5346
5347 2015-08-20 Pedro Alves <palves@redhat.com>
5348
5349 * gdb.server/connect-stopped-target.c: New file.
5350 * gdb.server/connect-stopped-target.exp: New file.
5351
5352 2015-08-20 Pedro Alves <palves@redhat.com>
5353
5354 * gdb.dwarf2/comp-unit-lang.exp: New file.
5355 * gdb.dwarf2/comp-unit-lang.c: New file.
5356
5357 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5358
5359 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5360 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5361
5362 2015-08-19 Kevin Buettner <kevinb@redhat.com>
5363
5364 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5365 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5366
5367 2015-08-18 Doug Evans <dje@google.com>
5368 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5369
5370 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5371 skip_python_tests. New arg prompt_regexp.
5372 (skip_python_tests): New function.
5373 * lib/mi-support.exp (mi_skip_python_tests): New function.
5374 * gdb.python/py-mi-objfile-gdb.py: New file.
5375 * gdb.python/py-mi-objfile.c: New file.
5376 * gdb.python/py-mi-objfile.exp: New file.
5377
5378 2015-08-17 Keith Seitz <keiths@redhat.com>
5379
5380 * gdb.linespec/explicit.exp: Move strace test from here ...
5381 * gdb.trace/strace.exp: ... to here.
5382
5383 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5384
5385 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5386 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5387
5388 2015-08-14 Doug Evans <xdje42@gmail.com>
5389
5390 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5391 inferior before selecting a new file.
5392
5393 2015-08-14 Doug Evans <xdje42@gmail.com>
5394
5395 * gdb.mi/mi-disassemble.exp: Update.
5396 * gdb.base/disasm-optim.S: New file.
5397 * gdb.base/disasm-optim.c: New file.
5398 * gdb.base/disasm-optim.h: New file.
5399 * gdb.base/disasm-optim.exp: New file.
5400
5401 2015-08-14 Keith Seitz <keiths@redhat.com>
5402
5403 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
5404 "evaluated-by".
5405
5406 2015-08-13 Joel Brobecker <brobecker@adacore.com>
5407
5408 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
5409
5410 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
5411
5412 * gdb.ada/fun_renaming.exp: New testcase.
5413 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
5414 * gdb.ada/fun_renaming/pack.adb: New file.
5415 * gdb.ada/fun_renaming/pack.ads: New file.
5416
5417 2015-08-12 Keith Seitz <keiths@redhat.com>
5418
5419 * gdb.base/dso2dso.exp: Pass basename of source file in call to
5420 gdb_get_line_number.
5421
5422 2015-08-12 Joel Brobecker <brobecker@adacore.com>
5423
5424 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
5425 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
5426 gdb.base/dso2dso.exp: New files.
5427
5428 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
5429 Pedro Alves <palves@redhat.com>
5430 Keith Seitz <keiths@redhat.com>
5431
5432 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
5433 GDBFLAGS.
5434
5435 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5436
5437 * gdb.base/gdbhistsize-history.exp
5438 (test_histsize_history_setting): Use save_vars.
5439 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5440 Use save_vars.
5441 (test_no_truncation_of_unlimited_history_file): Use save_vars.
5442 * gdb.base/readline.exp: Use save_vars.
5443
5444 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5445
5446 * lib/gdb.exp (save_vars): New proc.
5447
5448 2015-08-11 Keith Seitz <keiths@redhat.com>
5449
5450 * gdb.base/help.exp: Update help_breakpoint_text.
5451
5452 2015-08-11 Keith Seitz <keiths@redhat.com>
5453
5454 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
5455 (at toplevel): Call test_explicit_breakpoints.
5456 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
5457 breakpoints.
5458 * lib/mi-support.exp (mi_make_breakpoint): Add support for
5459 breakpoint conditions, "-cond".
5460
5461 2015-08-11 Keith Seitz <keiths@redhat.com>
5462
5463 * gdb.linespec/3explicit.c: New file.
5464 * gdb.linespec/cpexplicit.cc: New file.
5465 * gdb.linespec/cpexplicit.exp: New file.
5466 * gdb.linespec/explicit.c: New file.
5467 * gdb.linespec/explicit.exp: New file.
5468 * gdb.linespec/explicit2.c: New file.
5469 * gdb.linespec/ls-errs.exp: Add explicit location tests.
5470 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
5471 before using in the matching pattern.
5472 Clarify that `prefix' is a regular expression.
5473
5474 2015-08-11 Keith Seitz <keiths@redhat.com>
5475
5476 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
5477 test.
5478 Add tests for missing ",FMT" and ",".
5479
5480 2015-08-10 Doug Evans <dje@google.com>
5481 Keith Seitz <keiths@redhat.com>
5482
5483 PR gdb/17960
5484 * gdb.base/completion.exp: Add location completer tests.
5485
5486 2015-08-07 Pedro Alves <palves@redhat.com>
5487
5488 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
5489 tests here.
5490 (top level): Run do_test with and without displaced stepping.
5491
5492 2015-08-07 Pedro Alves <palves@redhat.com>
5493
5494 * gdb.base/valgrind-disp-step.c: New file.
5495 * gdb.base/valgrind-disp-step.exp: New file.
5496
5497 2015-08-07 Pedro Alves <palves@redhat.com>
5498
5499 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
5500 Delete function.
5501 (main): Add alarm. Run an infinite loop instead of calling
5502 wait_threads.
5503 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
5504 comment.
5505 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
5506 Delete function.
5507 (main): Add alarm. Run an infinite loop instead of calling
5508 wait_threads.
5509 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
5510 comment.
5511
5512 2015-08-07 Pedro Alves <palves@redhat.com>
5513
5514 * gdb.base/checkpoint-ns.exp: New file.
5515 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
5516 standard_testfile.
5517
5518 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
5519
5520 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
5521 * gdb.btrace/instruction_history.exp: Update.
5522 * gdb.btrace/tsx.exp: New.
5523 * gdb.btrace/tsx.c: New.
5524
5525 2015-08-06 Pedro Alves <palves@redhat.com>
5526
5527 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
5528 increase timeout.
5529 * gdb.reverse/until-precsave.exp: Bump timeouts.
5530
5531 2015-08-06 Pedro Alves <palves@redhat.com>
5532
5533 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
5534
5535 2015-08-06 Pedro Alves <palves@redhat.com>
5536
5537 PR gdb/18749
5538 * gdb.threads/process-dies-while-handling-bp.c: New file.
5539 * gdb.threads/process-dies-while-handling-bp.exp: New file.
5540
5541 2015-08-06 Pedro Alves <palves@redhat.com>
5542
5543 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
5544 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
5545
5546 2015-08-05 Pedro Alves <palves@redhat.com>
5547
5548 * gdb.threads/next-while-other-thread-longjmps.c: New file.
5549 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
5550
5551 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
5552
5553 * gdb.base/bp-permanent.exp: Report test as unsupported if
5554 the target cannot stop at the permanent breakpoint.
5555
5556 2015-08-03 Doug Evans <dje@google.com>
5557
5558 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
5559 10000.
5560
5561 2015-08-03 Doug Evans <dje@google.com>
5562
5563 * Makefile.in (workers/%.worker, build-perf): New rule.
5564 (GDB_PERFTEST_MODE): New variable.
5565 (check-perf): Use it.
5566 (clean): Clean up gdb.perf parallel build subdirs.
5567 * lib/build-piece.exp: New file.
5568 * lib/gdb.exp (make_gdb_parallel_path): New function
5569 (standard_output_file, standard_temp_file): Call it.
5570 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5571 of $GDB_PARALLEL.
5572 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
5573
5574 2015-08-03 Doug Evans <dje@google.com>
5575
5576 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
5577 (LOG_FILE_NAME): New global.
5578 (TextReporter.__init__): Initialize self.txt_sum.
5579 (TextReporter.report): Add support for multiple data-points.
5580 Move report to perftest.sum, put raw data in perftest.log.
5581 (TextReporter.start): Open sum and log files.
5582 (TextReporter.end): Close sum and log files.
5583 * gdb.perf/lib/perftest/testresult.py
5584 (SingleStatisticTestResult.record): Handle multiple data-points.
5585
5586 2015-07-31 Pedro Alves <palves@redhat.com>
5587
5588 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
5589 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5590 kill_wait_spawned_process instead of explicit "kill -9".
5591 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
5592 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5593 kill_wait_spawned_process.
5594 * gdb.base/attach-twice.exp: Likewise.
5595 * gdb.base/attach.exp: Likewise.
5596 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
5597 gdb_test_multiple.
5598 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
5599 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5600 kill_wait_spawned_process.
5601 * gdb.base/valgrind-infcall.exp: Likewise.
5602 * gdb.multi/multi-attach.exp: Likewise.
5603 * gdb.python/py-prompt.exp: Likewise.
5604 * gdb.python/py-sync-interp.exp: Likewise.
5605 * gdb.server/ext-attach.exp: Likewise.
5606 * gdb.threads/attach-into-signal.exp (corefunc): Use
5607 spawn_wait_for_attach, spawn_id_get_pid and
5608 kill_wait_spawned_process.
5609 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
5610 spawn_wait_for_attach returning a spawn id instead of a pid. Use
5611 spawn_id_get_pid and kill_wait_spawned_process.
5612 * gdb.threads/attach-stopped.exp (corefunc): Use
5613 spawn_wait_for_attach, spawn_id_get_pid and
5614 kill_wait_spawned_process.
5615 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
5616 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5617 kill_wait_spawned_process instead of explicit "kill -9".
5618 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
5619 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
5620 (spawn_wait_for_attach): Use spawn instead of exec to spawn
5621 processes. Don't map cygwin/windows pids here. Now returns a
5622 spawn id list.
5623
5624 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5625
5626 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
5627 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
5628 correct patch.
5629
5630 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5631
5632 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
5633
5634 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5635
5636 Reapply:
5637 2014-05-21 Mark Wielaard <mjw@redhat.com>
5638
5639 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5640
5641 2015-07-30 Pedro Alves <palves@redhat.com>
5642
5643 * linux-low.c (handle_extended_wait): Set the child's last
5644 reported status to TARGET_WAITKIND_STOPPED.
5645
5646 2015-07-30 Pedro Alves <palves@redhat.com>
5647
5648 PR threads/18600
5649 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
5650 only shows inferior 1.
5651
5652 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
5653 Pedro Alves <palves@redhat.com>
5654
5655 PR threads/18600
5656 * gdb.threads/fork-plus-threads.c: New file.
5657 * gdb.threads/fork-plus-threads.exp: New file.
5658
5659 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5660
5661 * gdb.base/batch-preserve-term-settings.exp
5662 (test_terminal_settings_preserved_after_cli_exit): Use
5663 send_quit_command.
5664
5665 2015-07-29 Pedro Alves <palves@redhat.com>
5666 Don Breazeal <donb@codesourcery.com>
5667
5668 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
5669 output from both inferior_spawn_id and gdb_spawn_id.
5670
5671 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5672
5673 * gdb.threads/attach-into-signal.exp (corefunc): Use
5674 with_test_prefix on nested loops, uniquefying the test messages.
5675
5676 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5677
5678 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
5679 commit.
5680
5681 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5682
5683 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
5684 New proc.
5685 (test_terminal_settings_preserved_after_sigterm): New test.
5686
5687 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5688
5689 * gdb.base/batch-preserve-term-settings.exp
5690 (test_terminal_settings_preserved_after_cli_exit): New test.
5691
5692 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5693
5694 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
5695 manipulation of saved_gdbflags.
5696 (test_terminal_settings_preserved): Remove global declaration of
5697 the unused variable pagination_prompt. Remove manipulation of
5698 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
5699 GDBFLAGS.
5700
5701 2015-07-29 Pedro Alves <palves@redhat.com>
5702
5703 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
5704
5705 2015-07-29 Pedro Alves <palves@redhat.com>
5706
5707 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
5708 at the top.
5709
5710 2015-07-29 Pedro Alves <palves@redhat.com>
5711
5712 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
5713 (main): Call gdb_unbuffer_output.
5714 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
5715 (main): Call gdb_unbuffer_output.
5716 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
5717 (main): Call gdb_unbuffer_output.
5718 * gdb.base/call-strs.exp: Adjust to step over the
5719 gdb_unbuffer_output call.
5720 * gdb.base/catch-gdb-caused-signals.c: Include
5721 "../lib/unbuffer_output.c".
5722 (main): Call gdb_unbuffer_output.
5723 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
5724 (main): Call gdb_unbuffer_output.
5725 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
5726 (main): Call gdb_unbuffer_output.
5727 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
5728 (main): Call gdb_unbuffer_output.
5729 * gdb.base/shlib-call.exp: Adjust to step over the
5730 gdb_unbuffer_output call.
5731 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
5732 (main): Call gdb_unbuffer_output.
5733 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
5734 (main): Call gdb_unbuffer_output.
5735 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
5736 (main): Rename to ...
5737 (test): ... this.
5738 (main): Reimplement.
5739 * gdb.base/varargs.exp: Run to test instead of to main.
5740 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5741 (main): Call gdb_unbuffer_output.
5742
5743 2015-07-29 Pedro Alves <palves@redhat.com>
5744
5745 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
5746 factore out from mi_continue_dprintf. For call-style dprintfs,
5747 expect dprintf output out of $inferior_spawn_id.
5748 (mi_continue_dprintf): Use mi_expect_dprintf.
5749 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5750 (main): Call gdb_unbuffer_output.
5751
5752 2015-07-29 Pedro Alves <palves@redhat.com>
5753
5754 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
5755 (default_mi_gdb_start): Set inferior_spawn_id instead of
5756 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
5757 gdb_spawn_id.
5758 (mi_gdb_test): Always expect inferior output from both
5759 $inferior_spawn_id and $gdb_spawn_id.
5760
5761 2015-07-29 Pedro Alves <palves@redhat.com>
5762
5763 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
5764 send_inferior and $inferior_spawn_id.
5765
5766 2015-07-29 Pedro Alves <palves@redhat.com>
5767
5768 * gdb.gdb/complaints.exp (test_initial_complaints)
5769 (test_serial_complaints, test_short_complaints): Use
5770 gdb_test_stdio.
5771 (test_empty_complaint): Handle $inferior_spawn_id !=
5772 $gdb_spawn_id.
5773
5774 2015-07-29 Pedro Alves <palves@redhat.com>
5775
5776 * gdb.base/varargs.exp: Use gdb_test_stdio.
5777
5778 2015-07-29 Pedro Alves <palves@redhat.com>
5779
5780 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
5781
5782 2015-07-29 Pedro Alves <palves@redhat.com>
5783
5784 * gdb.base/ending-run.exp: Use gdb_test_stdio.
5785
5786 2015-07-29 Pedro Alves <palves@redhat.com>
5787
5788 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
5789 parameter into two new parameters, "inf_result" and "gdb_result".
5790 Expect inferior output and gdb output from $inferior_spawn_id and
5791 $gdb_spawn_id, respectively. Adjust all callers.
5792
5793 2015-07-29 Pedro Alves <palves@redhat.com>
5794
5795 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
5796 of gdb_test_sequence.
5797
5798 2015-07-29 Pedro Alves <palves@redhat.com>
5799
5800 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
5801 (saw_spurious_output): Expect inferior output from
5802 $inferior_spawn_id. Use gdb_test_stdio.
5803
5804 2015-07-29 Pedro Alves <palves@redhat.com>
5805
5806 * gdb.base/dprintf.exp: Use standard_testfile. Change
5807 prepare_for_testing call.
5808 (srcfile): Don't set.
5809 (restart): New procedure.
5810 (test_dprintf): New procecure, use to continue over dprintfs.
5811 (test_call, test_agent): New procedures, tests moved here.
5812 Restart gdb and recreate dprintfs. Adjust expected output.
5813
5814 2015-07-29 Pedro Alves <palves@redhat.com>
5815
5816 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
5817
5818 2015-07-29 Pedro Alves <palves@redhat.com>
5819
5820 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
5821
5822 2015-07-29 Pedro Alves <palves@redhat.com>
5823
5824 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
5825 gdb_test_stdio.
5826
5827 2015-07-29 Pedro Alves <palves@redhat.com>
5828
5829 * lib/gdb.exp (gdb_test_stdio): New procedure.
5830
5831 2015-07-29 Pedro Alves <palves@redhat.com>
5832
5833 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
5834
5835 2015-07-29 Pedro Alves <palves@redhat.com>
5836
5837 * gdb.base/call-signal-resume.exp: Remove check for
5838 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
5839 * gdb.base/unwindonsignal.exp: Likewise.
5840 * gdb.base/call-signals.c (gen_signal): Remove printf call.
5841 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
5842
5843 2015-07-29 Pedro Alves <palves@redhat.com>
5844
5845 * gdb.base/siginfo-addr.c (pass): New function.
5846 (handler): Call it iff si_addr is correct.
5847 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
5848 Set a breakpoint at "pass" and continue to it.
5849
5850 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
5851
5852 * gdb.python/py-objfile.exp: Make some tests have unique names.
5853 * gdb.python/py-pp-registration.exp: Likewise.
5854
5855 2015-07-28 Pedro Alves <palves@redhat.com>
5856
5857 * gdb.server/server-exec-info.exp: Issue a "disconnect".
5858
5859 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5860
5861 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
5862
5863 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5864
5865 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
5866
5867 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
5868
5869 * gdb.base/gdb-sigterm-2.exp: New test.
5870
5871 2015-07-25 Doug Evans <xdje42@gmail.com>
5872
5873 Revert:
5874 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5875 (workers/%.worker, build-perf): New rule.
5876 (GDB_PERFTEST_MODE): New variable.
5877 (check-perf): Use it.
5878 (clean): Clean up gdb.perf parallel build subdirs.
5879 * lib/build-piece.exp: New file.
5880 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5881 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5882 name.
5883 (standard_temp_file): Ditto.
5884 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5885 of $GDB_PARALLEL.
5886
5887 2015-07-24 Doug Evans <dje@google.com>
5888
5889 * gdb.perf/lib/perftest/utils.py: New file.
5890 * gdb.perf/gm-hello.cc: New file.
5891 * gdb.perf/gm-pervasive-typedef.cc: New file.
5892 * gdb.perf/gm-pervasive-typedef.h: New file.
5893 * gdb.perf/gm-std.cc: New file.
5894 * gdb.perf/gm-std.h: New file.
5895 * gdb.perf/gm-use-cerr.cc: New file.
5896 * gdb.perf/gm-utils.h: New file.
5897 * gdb.perf/gmonster-null-lookup.py: New file.
5898 * gdb.perf/gmonster-pervasive-typedef.py: New file.
5899 * gdb.perf/gmonster-print-cerr.py: New file.
5900 * gdb.perf/gmonster-ptype-string.py: New file.
5901 * gdb.perf/gmonster-runto-main.py: New file.
5902 * gdb.perf/gmonster-select-file.py: New file.
5903 * gdb.perf/gmonster1-null-lookup.exp: New file.
5904 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
5905 * gdb.perf/gmonster1-print-cerr.exp: New file.
5906 * gdb.perf/gmonster1-ptype-string.exp: New file.
5907 * gdb.perf/gmonster1-runto-main.exp: New file.
5908 * gdb.perf/gmonster1-select-file.exp: New file.
5909 * gdb.perf/gmonster1.cc: New file.
5910 * gdb.perf/gmonster1.exp: New file.
5911 * gdb.perf/gmonster2-null-lookup.exp: New file.
5912 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
5913 * gdb.perf/gmonster2-print-cerr.exp: New file.
5914 * gdb.perf/gmonster2-ptype-string.exp: New file.
5915 * gdb.perf/gmonster2-runto-main.exp: New file.
5916 * gdb.perf/gmonster2-select-file.exp: New file.
5917 * gdb.perf/gmonster2.cc: New file.
5918 * gdb.perf/gmonster2.exp: New file.
5919
5920 2015-07-24 Doug Evans <dje@google.com>
5921
5922 * gdb.perf/README: New file.
5923 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
5924 * lib/gen-perf-test.exp: New file.
5925
5926 2015-07-24 Doug Evans <dje@google.com>
5927
5928 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
5929 (PerfTest::startup): New function.
5930 (PerfTest::run): Return result of calling body.
5931 (PerfTest::assemble): Rewrite.
5932 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
5933 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
5934 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
5935 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
5936 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
5937
5938 2015-07-24 Doug Evans <dje@google.com>
5939
5940 * lib/gdb.exp (clean_restart): Make executable optional.
5941
5942 2015-07-24 Doug Evans <dje@google.com>
5943
5944 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
5945 compiler_info references.
5946 * gdb.cp/temargs.exp: Ditto.
5947 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
5948 (get_compiler_info): Early exit if already computed. Set compiler_info
5949 to "unknown" if there was a problem.
5950 (test_compiler_info): Add function comment. Call get_compiler_info.
5951
5952 2015-07-24 Doug Evans <dje@google.com>
5953
5954 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5955 (workers/%.worker, build-perf): New rule.
5956 (GDB_PERFTEST_MODE): New variable.
5957 (check-perf): Use it.
5958 (clean): Clean up gdb.perf parallel build subdirs.
5959 * lib/build-piece.exp: New file.
5960 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5961 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5962 name.
5963 (standard_temp_file): Ditto.
5964 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5965 of $GDB_PARALLEL.
5966
5967 2015-07-24 Doug Evans <dje@google.com>
5968
5969 * lib/future.exp (gdb_default_target_compile): New option
5970 "early_flags".
5971 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
5972 --as-needed.
5973
5974 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
5975
5976 * gdb.base/catch-syscall.exp: Call gdb_exit before
5977 gdb_skip_xml_test.
5978
5979 2015-07-24 Pedro Alves <palves@redhat.com>
5980
5981 * gdb.python/py-events.exp: Accept output between the stop event
5982 and the prompt.
5983 * gdb.python/py-evsignal.exp: Likewise.
5984 * gdb.python/py-evthreads.exp: Likewise.
5985
5986 2015-07-24 Pedro Alves <palves@redhat.com>
5987
5988 PR gdb/18717
5989 * gdb.threads/non-ldr-exit.c: New file.
5990 * gdb.threads/non-ldr-exit.exp: New file.
5991
5992 2015-07-24 Yao Qi <yao.qi@linaro.org>
5993
5994 * gdb.server/ext-wrapper.exp: Test --wrapper option when
5995 restarting process.
5996
5997 2015-07-24 Yao Qi <yao.qi@linaro.org>
5998
5999 * gdb.server/ext-restart.exp: New file.
6000
6001 2015-07-24 Yao Qi <yao.qi@linaro.org>
6002
6003 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
6004 argument options.
6005 * gdb.server/ext-wrapper.exp: New file.
6006
6007 2015-07-23 Doug Evans <dje@google.com>
6008
6009 * gdb.dwarf2/dw2-dummy-cu.S: New file.
6010 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
6011
6012 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
6013
6014 * gdb.ada/var_arr_typedef.exp: New testcase.
6015 * gdb.ada/var_arr_typedef/pack.adb: New file.
6016 * gdb.ada/var_arr_typedef/pack.ads: New file.
6017 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
6018
6019 2015-07-20 Joel Brobecker <brobecker@adacore.com>
6020
6021 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
6022
6023 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6024
6025 * gdb.arch/i386-biarch-core.exp: Replace istarget
6026 by "complete set gnutarget". Remove expectation for the "core-file"
6027 command.
6028
6029 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6030
6031 Revert the previous commit:
6032 Tests for validate symbol file using build-id.
6033
6034 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
6035
6036 Tests for validate symbol file using build-id.
6037 * gdb.base/solib-mismatch-lib.c: New file.
6038 * gdb.base/solib-mismatch-libmod.c: New file.
6039 * gdb.base/solib-mismatch.c: New file.
6040 * gdb.base/solib-mismatch.exp: New file.
6041
6042 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
6043
6044 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
6045 nios2-*-linux*.
6046 * gdb.base/sigbpt.exp (stepi_out): Likewise.
6047 * gdb.base/siginfo.exp: Likewise.
6048 * gdb.base/sigstep.exp (advance, advancei): Likewise.
6049
6050 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
6051
6052 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
6053 Move it to ...
6054 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
6055 ... here.
6056 * gdb.trace/range-stepping.exp: Check that the target supports
6057 range stepping.
6058
6059 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6060
6061 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
6062
6063 2015-07-14 Pedro Alves <palves@redhat.com>
6064
6065 * gdb.base/killed-outside.exp: New file.
6066 * gdb.base/killed-outside.c: New file.
6067
6068 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6069
6070 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
6071 (n at main): New.
6072 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
6073
6074 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6075
6076 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
6077 infcall tests instead of setting up for KFAIL.
6078
6079 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
6080
6081 * gdb.btrace/record_goto-step.exp: New.
6082
6083 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6084
6085 PR compile/18484
6086 * gdb.compile/compile.c (struct struct_type): Add volatile to
6087 selffield's type.
6088 * gdb.compile/compile.exp
6089 (compile code struct_object.selffield = &struct_object): Skip further
6090 struct_object tests if this one xfails.
6091
6092 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
6093
6094 PR exp/18617
6095 * gdb.trace/ax.exp: Add test.
6096
6097 2015-07-07 Yao Qi <yao.qi@linaro.org>
6098
6099 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
6100 instead of istarget "aarch64*-*-*".
6101 * gdb.arch/aarch64-fp.exp: Likewise.
6102 * gdb.base/float.exp: Likewise.
6103 * gdb.reverse/aarch64.exp: Likewise.
6104 * lib/gdb.exp (is_aarch64_target): New proc.
6105
6106 2015-07-07 Yao Qi <yao.qi@linaro.org>
6107
6108 * lib/gdb.exp (is_aarch32_target): New proc.
6109 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
6110 instead of "istarget "arm*-*-*"".
6111 * gdb.arch/arm-disp-step.exp: Likewise.
6112 * gdb.arch/thumb-bx-pc.exp: Likewise.
6113 * gdb.arch/thumb-prologue.exp: Likewise.
6114 * gdb.arch/thumb-singlestep.exp: Likewise.
6115 * gdb.base/disp-step-syscall.exp: Likewise.
6116 * gdb.base/float.exp: Likewise.
6117
6118 2015-07-07 Yao Qi <yao.qi@linaro.org>
6119
6120 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
6121 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
6122
6123 2015-07-07 Yao Qi <yao.qi@linaro.org>
6124
6125 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
6126 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
6127 if it exists.
6128 * gdb.multi/multi-arch.exp: Likewise.
6129
6130 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
6131
6132 * gdb.python/py-lazy-string.exp: Add missing parentheses to
6133 print.
6134
6135 2015-07-07 Yao Qi <yao.qi@linaro.org>
6136
6137 * gdb.arch/thumb-singlestep.exp: Do one more single step.
6138
6139 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
6140
6141 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
6142 '[' and ']' characters.
6143
6144 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
6145
6146 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6147
6148 2015-06-29 Pedro Alves <palves@redhat.com>
6149
6150 PR threads/18127
6151 * gdb.threads/hand-call-new-thread.c: New file.
6152 * gdb.threads/hand-call-new-thread.c: New file.
6153
6154 2015-06-26 Keith Seitz <keiths@redhat.com>
6155 Doug Evans <dje@google.com>
6156
6157 PR 16253
6158 * gdb.cp/var-tag-2.cc: New file.
6159 * gdb.cp/var-tag-3.cc: New file.
6160 * gdb.cp/var-tag-4.cc: New file.
6161 * gdb.cp/var-tag.cc: New file.
6162 * gdb.cp/var-tag.exp: New file.
6163
6164 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6165
6166 * gdb.base/history-duplicates.exp: New test.
6167
6168 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6169
6170 * gdb.base/completion.exp: Test the completion of the "focus"
6171 command.
6172
6173 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6174
6175 * gdb.arch/amd64-prologue-skip.S: New file.
6176 * gdb.arch/amd64-prologue-skip.exp: New file.
6177
6178 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
6179
6180 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
6181 is_address_zero_readable check.
6182
6183 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
6184
6185 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
6186 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
6187
6188 2015-06-24 Yao Qi <yao.qi@linaro.org>
6189
6190 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
6191 linux targets.
6192
6193 2015-06-24 Yao Qi <yao.qi@linaro.org>
6194
6195 * lib/gdb.exp (supports_get_siginfo_type): New proc.
6196 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
6197 * gdb.base/siginfo-thread.exp: Likewise.
6198
6199 2015-06-22 Yao Qi <yao.qi@linaro.org>
6200
6201 * boards/remote-gdbserver-on-localhost.exp: Add comments.
6202
6203 2015-06-22 Yao Qi <yao.qi@linaro.org>
6204
6205 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
6206 aarch64*-*-*.
6207 (skip_hw_watchpoint_tests): Likewise.
6208
6209 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
6210
6211 * gdb.base/gdbinit-history.exp: Test the interaction between
6212 setting GDBHISTSIZE and setting the history size via .gdbinit.
6213
6214 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6215
6216 PR gdb/16999
6217 * gdb.base/gdbhistsize-history.exp: New test.
6218
6219 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6220
6221 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
6222 with GDBHISTSIZE.
6223 * gdb.base/readline.exp: Likewise.
6224
6225 2015-06-17 Yao Qi <yao.qi@linaro.org>
6226
6227 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
6228 line.
6229
6230 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6231
6232 * gdb.base/gdbinit-history.exp: Add test case to check that
6233 an unlimited history file does not get truncated on exit.
6234
6235 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6236
6237 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
6238 (VECTOR): New macro. Use it...
6239 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6240 ...for these typedefs.
6241 (int8, char1, int1, double1): New typedefs.
6242 (struct just_int2, struct two_int2): New structures.
6243 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
6244 (add_structvecs, add_singlevecs): New functions.
6245 (main): Call add_some_intvecs twice.
6246 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
6247 the compile and exit upon failure. Try compiling for the "native"
6248 architecture. Test inferior function calls with vector arguments
6249 and vector return value handling with "finish" and "return".
6250
6251 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
6252
6253 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
6254 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
6255 PE file.
6256 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
6257
6258 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6259
6260 PR breakpoints/16465
6261 * gdb.mi/mi-dprintf-pending.c: New file.
6262 * gdb.mi/mi-dprintf-pending.exp: New test.
6263 * gdb.mi/mi-dprintf-pendshr.c: New file.
6264
6265 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6266 Mircea Gherzan <mircea.gherzan@intel.com>
6267
6268 * gdb.arch/i386-mpx-map.c: New file.
6269 * gdb.arch/i386-mpx-map.exp: New File.
6270
6271 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6272
6273 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
6274 * gdb.arch/i386-mpx.exp: Indentation fixed.
6275
6276 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6277
6278 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
6279 function and improved indentation.
6280 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
6281 gdb_test_multiple. Added additional tests to skip the test.
6282
6283 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6284
6285 * gdb.arch/i386-avx512.c: Change path in include file.
6286 * gdb.arch/i386-avx512.exp: Change include dir path
6287 compilation flag.
6288 * gdb.arch/i386-mpx.c: Change path in include file.
6289 * gdb.arch/i386-mpx.exp: Change include dir path compilation
6290 flag.
6291
6292 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6293
6294 * gdb.compile/compile-print.exp (compile print *vararray@3)
6295 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
6296
6297 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6298
6299 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
6300 (do not keep jit in memory): ... this.
6301 (expect 5): Change it to ...
6302 (expect no 5): ... this.
6303
6304 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
6305
6306 PR gdb/15564
6307 * gdb.mi/mi-detach.exp: New file.
6308
6309 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6310
6311 PR symtab/18392
6312 * gdb.arch/amd64-tailcall-self.S: New file.
6313 * gdb.arch/amd64-tailcall-self.c: New file.
6314 * gdb.arch/amd64-tailcall-self.exp: New file.
6315
6316 2015-05-28 Don Breazeal <donb@codesourcery.com>
6317
6318 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6319 tests for remote targets by checking is_target_gdbserver.
6320
6321 2015-05-27 Doug Evans <dje@google.com>
6322
6323 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6324 * gdb.dwarf2/opaque-type-lookup.c: New file.
6325 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6326
6327 2015-05-26 Doug Evans <dje@google.com>
6328
6329 * gdb.cp/iostream.cc: New file.
6330 * gdb.cp/iostream.exp: New file.
6331
6332 2015-05-26 Doug Evans <dje@google.com>
6333
6334 * gdb.dwarf2/dw2-op-call.exp: Update.
6335 * gdb.dwarf2/dw4-sig-types.exp: Update.
6336 * gdb.dwarf2/implptr.exp: Update.
6337 * gdb.mi/mi-cmd-param-changed.exp: Update.
6338
6339 2015-05-26 Doug Evans <dje@google.com>
6340
6341 * gdb.python/py-lazy-string.c: New file.
6342 * gdb.python/py-lazy-string.exp: New file.
6343 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6344 (main): Update. Add estring3.
6345 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6346 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6347
6348 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6349 Yao Qi <yao.qi@linaro.org>
6350
6351 * gdb.reverse/aarch64.c: New.
6352 * gdb.reverse/aarch64.exp: New.
6353
6354 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6355
6356 * lib/gdb.exp (supports_process_record): Return true for
6357 aarch64*-linux*.
6358 (supports_reverse): Likewise.
6359
6360 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6361
6362 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6363 Use with_test_prefix.
6364
6365 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6366
6367 * gdb.base/completion.exp: Add test for completion of layout
6368 names.
6369
6370 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6371
6372 * lib/gdb.exp (skip_tui_tests): New proc.
6373 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6374
6375 2015-05-19 Pedro Alves <palves@redhat.com>
6376
6377 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6378 Save the whole env array instead of just HOME. Unset HISTSIZE in
6379 the environment while testing. Restore whole environment
6380 afterwards.
6381
6382 2015-05-16 Doug Evans <xdje42@gmail.com>
6383
6384 * gdb.guile/scm-ports.c: New file.
6385 * gdb.guile/scm-ports.exp: Add memory port tests.
6386
6387 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6388
6389 * gdb.compile/compile-print.c: New file.
6390 * gdb.compile/compile-print.exp: New file.
6391
6392 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6393
6394 * gdb.compile/compile-ops.exp: Cast param to void.
6395 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6396 (compile code struct_object.selffield = &struct_object): Add xfail.
6397
6398 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6399
6400 * gdb.ada/arr_enum_with_gap: New testcase.
6401
6402 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6403
6404 * gdb.ada/byte_packed_arr: New testcase.
6405
6406 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6407
6408 * gdb.ada/pckd_neg: New testcase.
6409
6410 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
6411
6412 PR gdb/17820
6413 * gdb.base/gdbinit-history.exp: New test.
6414 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
6415 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
6416
6417 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
6418
6419 * gdb.python/py-xmethods.cc: Enhance test case.
6420 * gdb.python/py-xmethods.exp: New tests.
6421 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
6422 function.
6423 (B_indexoper): Likewise.
6424 (global_dm_list) : Add new xmethod worker functions.
6425
6426 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
6427
6428 * gdb.base/coredump-filter.exp: Correctly unset
6429 "coredump_var_addr" array.
6430
6431 2015-05-08 Pedro Alves <palves@redhat.com>
6432
6433 * gdb.server/non-existing-program.exp: Unset spawn_id.
6434
6435 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
6436
6437 PR python/18291
6438 * gdb.python/py-xmethods.exp: Add tests.
6439
6440 2015-05-08 Yao Qi <yao.qi@linaro.org>
6441
6442 PR gdb/18208
6443 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
6444 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
6445 function set_coredump_filter, and remove remote_exec call.
6446 Remove argument ipid. Callers update.
6447 (top level): Don't get inferior's PID.
6448
6449 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
6450
6451 * gdb.base/watch_thread_num.exp: Skip test on targets without
6452 access watchpoints.
6453
6454 2015-05-06 Pedro Alves <palves@redhat.com>
6455
6456 PR server/18081
6457 * gdb.server/non-existing-program.exp: New file.
6458
6459 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6460
6461 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
6462
6463 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6464
6465 * gdb.ada/out_of_line_in_inlined: New testcase.
6466
6467 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6468
6469 * gdb.ada/var_rec_arr: New testcase.
6470
6471 2015-04-30 Yao Qi <yao.qi@linaro.org>
6472
6473 * gdb.base/break-idempotent.exp: If
6474 skip_hw_watchpoint_multi_tests returns true, skip the tests
6475 on "rwatch" and "awatch".
6476
6477 2015-04-30 Yao Qi <yao.qi@linaro.org>
6478
6479 * gdb.base/relativedebug.exp: Invoke gdb command
6480 "info sharedlibrary", and if libc.so doesn't have debug info,
6481 skip the test.
6482
6483 2015-04-29 Doug Evans <dje@google.com>
6484
6485 * gdb.python/py-xmethods.exp: Add ptype tests.
6486 * gdb.python/py-xmethods.py (E_method_char_worker): Add
6487 get_result_type method.
6488
6489 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6490
6491 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
6492 the target does not support hardware watchpoints.
6493
6494 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6495
6496 * gdb.base/break-always.exp: Abort testing if writing to memory
6497 causes an error.
6498
6499 2015-04-28 Doug Evans <dje@google.com>
6500
6501 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
6502 * gdb.python/py-pp-registration.exp: ... here. New file.
6503 * gdb.python/py-pp-registration.c: New file.
6504 * gdb.python/py-pp-registration.py: New file.
6505
6506 2015-04-28 Doug Evans <dje@google.com>
6507
6508 * gdb.python/py-bad-printers.c: New file.
6509 * gdb.python/py-bad-printers.py: New file.
6510 * gdb.python/py-bad-printers.exp: New file.
6511
6512 2015-04-28 Sasha Smundak <asmundak@google.com>
6513
6514 * gdb.python/py-type.exp: New test.
6515
6516 2015-04-28 Andy Wingo <wingo@igalia.com>
6517
6518 * gdb.python/py-parameter.exp:
6519 * gdb.guile/scm-parameter.exp: Escape the path that we are
6520 matching against, as it might contain characters that are special
6521 to regular expressions.
6522
6523 2015-04-27 Joel Brobecker <brobecker@adacore.com>
6524
6525 * gdb.ada/rec_comp: New testcase.
6526
6527 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
6528
6529 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
6530 before using it.
6531
6532 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
6533
6534 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
6535 new tests for verilog output.
6536
6537 2015-04-24 Yao Qi <yao.qi@linaro.org>
6538
6539 * boards/remote-gdbserver-on-localhost.exp: New file.
6540
6541 2015-04-23 Pedro Alves <palves@redhat.com>
6542
6543 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
6544 $inferior_spawn_id instead of $inferior_spawn_id directly. On
6545 "end of file", remove $inferior_spawn_id from the indirect list.
6546
6547 2015-04-23 Pedro Alves <palves@redhat.com>
6548
6549 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
6550
6551 2015-04-23 Pedro Alves <palves@redhat.com>
6552
6553 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
6554 on $any_spawn_id instead of only on $gdb_spawn_id.
6555
6556 2015-04-21 Pierre Muller <muller@sourceware.org>
6557
6558 PR pascal/17815
6559 * lib/pascal.exp (gpc_compile): Add new option "class".
6560 (fpc_compile): Likewise.
6561 * gdb.pascal/case-insensitive-symbols.pas: New file.
6562 * gdb.pascal/case-insensitive-symbols.exp: New file.
6563
6564 2015-04-20 Gary Benson <gbenson@redhat.com>
6565
6566 * gdb.base/attach.exp: Fix three extended remote failures.
6567
6568 2015-04-17 Gary Benson <gbenson@redhat.com>
6569
6570 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
6571 the main executable over the remote protocol.
6572
6573 2015-04-16 Pedro Alves <palves@redhat.com>
6574
6575 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
6576 a new gdbserver if gdbserver_reconnect_p is set.
6577
6578 2015-04-16 Pedro Alves <palves@redhat.com>
6579
6580 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
6581 is set, don't exit gdbserver.
6582
6583 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6584
6585 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
6586 appropriate .insn, such that an older assembler can be used.
6587 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
6588 the z/Architecture instruction set on 31-bit targets as well.
6589
6590 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6591
6592 * gdb.go/handcall.exp: Remove all logic related to the first
6593 breakpoint and rely on go_runto_main instead.
6594 * gdb.go/strings.exp: Likewise.
6595 * gdb.go/unsafe.exp: Likewise.
6596 * gdb.go/hello.exp: Likewise. Also rename the remaining
6597 breakpoint marker to "breakpoint 1".
6598 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
6599 * gdb.go/strings.go: Likewise.
6600 * gdb.go/unsafe.go: Likewise.
6601 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
6602 "set breakpoint 2 here" and rename the remaining breakpoint marker
6603 to "breakpoint 1".
6604
6605 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
6606
6607 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
6608 if itertools.imap is not present.
6609 * gdb.python/py-objfile.exp: Add parentheses.
6610 * gdb.python/py-type.exp: Same.
6611 * gdb.python/py-unwind-maint.py: Same.
6612
6613 2015-04-15 Yao Qi <yao.qi@linaro.org>
6614
6615 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
6616 of ":$ptr_size" and set its form explicitly.
6617
6618 2015-04-15 Pedro Alves <palves@redhat.com>
6619 Yao Qi <yao.qi@linaro.org>
6620
6621 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
6622 timeout by factor of 4.
6623 (test_regular_watch): Likewise.
6624 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
6625 * gdb.reverse/sigall-reverse.exp: Likewise.
6626 * gdb.reverse/until-precsave.exp: Likewise.
6627 * lib/gdb.exp (with_timeout_factor): New proc.
6628 (gdb_expect): Move some code to ...
6629 (get_largest_timeout): ... here. New procedure.
6630
6631 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
6632
6633 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
6634
6635 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6636
6637 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
6638 to write to the .text section.
6639
6640 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6641
6642 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
6643 Handle the case of targets that do not provide PID information.
6644
6645 2015-04-13 Yao Qi <yao.qi@linaro.org>
6646
6647 * lib/gdbserver-support.exp (gdb_exit): Catch exception
6648 and use expect instead of gdb_expect.
6649
6650 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
6651
6652 * gdb.base/coredump-filter.exp: Rename variable "addr" to
6653 "coredump_var_addr" to avoid naming conflict with other testcases.
6654
6655 2015-04-10 Pedro Alves <palves@redhat.com>
6656
6657 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
6658 gdb_test_sequence and gdb_assert.
6659
6660 2015-04-10 Pedro Alves <palves@redhat.com>
6661
6662 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
6663 test messages that don't include the breakpoint address.
6664
6665 2015-04-10 Yao Qi <yao.qi@linaro.org>
6666
6667 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
6668 false for some offset and width combinations which aren't
6669 supported by linux kernel.
6670
6671 2015-04-10 Pedro Alves <palves@redhat.com>
6672
6673 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
6674 procedure, factored out from ...
6675 (top level): ... here. Add "set displaced-stepping" testing axis.
6676 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
6677 parameter "displaced". Use it.
6678 (top level): Use foreach and add "set displaced-stepping" testing
6679 axis.
6680
6681 2015-04-10 Pedro Alves <palves@redhat.com>
6682
6683 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
6684 Remove comment.
6685 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
6686 both the address of the instruction that triggers the watchpoint
6687 and the address of the instruction immediately after, and use
6688 those addresses for the test. Fix comment.
6689
6690 2015-04-10 Pedro Alves <palves@redhat.com>
6691
6692 * gdb.base/sigstep.exp (breakpoint_to_handler)
6693 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
6694 Test "backtrace" in handler.
6695 (breakpoint_over_handler): New parameter 'displaced'. Use it.
6696 (top level): Add new "displaced" test axis to
6697 breakpoint_to_handler, breakpoint_to_handler_entry and
6698 breakpoint_over_handler.
6699
6700 2015-04-10 Pedro Alves <palves@redhat.com>
6701
6702 PR gdb/18216
6703 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
6704
6705 2015-04-10 Yao Qi <yao.qi@linaro.org>
6706
6707 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
6708 (test_add_rn_pc): New function.
6709 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
6710 (top level): Invoke test_add_rn_pc.
6711
6712 2015-04-10 Pedro Alves <palves@redhat.com>
6713
6714 PR gdb/13858
6715 * gdb.base/step-over-no-symbols.exp: New file.
6716
6717 2015-04-09 Andy Wingo <wingo@igalia.com>
6718
6719 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
6720 after the Python tests.
6721
6722 2015-04-08 Keith Seitz <keiths@redhat.com>
6723
6724 PR python/16699
6725 * gdb.python/py-completion.exp: New tests for completion.
6726 * gdb.python/py-completion.py (CompleteLimit1): New class.
6727 (CompleteLimit2): Likewise.
6728 (CompleteLimit3): Likewise.
6729 (CompleteLimit4): Likewise.
6730 (CompleteLimit5): Likewise.
6731 (CompleteLimit6): Likewise.
6732 (CompleteLimit7): Likewise.
6733
6734 2015-04-08 Pedro Alves <palves@redhat.com>
6735
6736 PR gdb/18214
6737 PR gdb/18216
6738 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
6739 function.
6740 (main): Install it as SIGUSR1 handler.
6741 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
6742 parameter. Always use "setup" as prefix. Toggle "set
6743 displaced-stepping" off/on depending on global. Don't switch to
6744 thread 1 here.
6745 (top level): Add displaced stepping "off/on" test axis. Update
6746 "setup" calls. Wrap each subtest with with_test_prefix. Test
6747 continuing with a queued signal in each thread.
6748
6749 2015-04-08 Pedro Alves <palves@redhat.com>
6750
6751 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
6752 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
6753 gdb_breakpoint instead of gdb_test that doesn't expect anything.
6754 Return early if running to main fails.
6755 * gdb.trace/while-stepping.exp: Likewise.
6756
6757 2015-04-07 Pedro Alves <palves@redhat.com>
6758
6759 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
6760 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
6761 interact with inferior program.
6762
6763 2015-04-07 Pedro Alves <palves@redhat.com>
6764
6765 * lib/gdb.exp (inferior_spawn_id): New global.
6766 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
6767 spawn id after processing the user code.
6768 (default_gdb_start): Set inferior_spawn_id.
6769 (send_inferior): New procedure.
6770 * lib/gdbserver-support.exp (gdbserver_start): Set
6771 inferior_spawn_id.
6772 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
6773
6774 2015-04-07 Pedro Alves <palves@redhat.com>
6775
6776 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
6777 * lib/gdbserver-support.exp (gdbserver_start): Make
6778 $server_spawn_id global.
6779 (gdbserver_start): Don't wait for gdbserver's spawn id with
6780 expect_background.
6781 (close_gdbserver): New procedure.
6782 (gdb_exit): Rename the default version and reimplement.
6783
6784 2015-04-07 Pedro Alves <palves@redhat.com>
6785
6786 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
6787 append the substituted item, not the original item.
6788
6789 2015-04-07 Pedro Alves <palves@redhat.com>
6790
6791 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
6792 gdb_expect.
6793
6794 2015-04-07 Pedro Alves <palves@redhat.com>
6795
6796 * gdb.base/interrupt.exp: Don't handle the case of the inferior
6797 output appearing once only.
6798
6799 2015-04-07 Pedro Alves <palves@redhat.com>
6800
6801 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
6802 that doesn't expect anything. Return early if running to main
6803 fails.
6804
6805 2015-04-07 Yao Qi <yao.qi@linaro.org>
6806
6807 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
6808 (child_function): Call alarm.
6809 (main): Move call to alarm into the loop.
6810 * gdb.threads/non-stop-fair-events.exp: Build program with
6811 -DTIMEOUT=$timeout.
6812
6813 2015-04-06 Doug Evans <xdje42@gmail.com>
6814
6815 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
6816 Fix dest parameter to board_info.
6817 (fpc_compile): Ditto.
6818 (gdb_compile_pascal): Rename dest arg to destfile.
6819
6820 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
6821
6822 * gdb.ada/funcall_ref.exp: New file.
6823 * gdb.ada/funcall_ref/foo.adb: New file.
6824
6825 2015-04-02 Yao Qi <yao.qi@linaro.org>
6826
6827 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
6828 is remote.
6829
6830 2015-04-02 Gary Benson <gbenson@redhat.com>
6831
6832 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
6833
6834 2015-04-01 Sasha Smundak <asmundak@google.com>
6835
6836 * gdb.python/py-unwind-maint.c: New file.
6837 * gdb.python/py-unwind-maint.exp: New test.
6838 * gdb.python/py-unwind-maint.py: New file.
6839 * gdb.python/py-unwind.c: New file.
6840 * gdb.python/py-unwind.exp: New test.
6841 * gdb.python/py-unwind.py: New test.
6842
6843 2015-04-01 Pedro Alves <palves@redhat.com>
6844
6845 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
6846 to fail instead of non-existent $test.
6847
6848 2015-04-01 Pedro Alves <palves@redhat.com>
6849
6850 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
6851 GDBFLAGS if not empty.
6852
6853 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
6854
6855 * gdb.ada/complete.exp: Remove "multi_line".
6856 * gdb.ada/info_exc.exp: Remove "multi_line".
6857 * gdb.ada/packed_tagged.exp: Remove "multi_line".
6858 * gdb.ada/ptype_field.exp: Remove "multi_line".
6859 * gdb.ada/sym_print_name.exp: Remove "multi_line".
6860 * gdb.ada/tagged.exp: Remove "multi_line".
6861 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
6862 [multi_line ...]
6863 * gdb.btrace/delta.exp: Likewise.
6864 * gdb.btrace/exception.exp: Likewise.
6865 * gdb.btrace/function_call_history.exp: Likewise.
6866 * gdb.btrace/instruction_history.exp: Likewise.
6867 * gdb.btrace/nohist.exp: Likewise.
6868 * gdb.btrace/record_goto.exp: Likewise.
6869 * gdb.btrace/segv.exp: Likewise.
6870 * gdb.btrace/stepi.exp: Likewise.
6871 * gdb.btrace/tailcall.exp: Likewise.
6872 * gdb.btrace/unknown_functions.exp: Likewise.
6873 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
6874 * lib/gdb.exp: Add the "multi_line" helper.
6875
6876 2015-04-01 Pedro Alves <palves@redhat.com>
6877
6878 * gdb.threads/tid-reuse.c: New file.
6879 * gdb.threads/tid-reuse.exp: New file.
6880
6881 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
6882
6883 PR corefiles/16092
6884 * gdb.base/coredump-filter.c: New file.
6885 * gdb.base/coredump-filter.exp: Likewise.
6886
6887 2015-03-27 Petr Machata <pmachata@redhat.com>
6888
6889 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
6890 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
6891 (Dwarf::assemble): Initialize them.
6892 (Dwarf::lines): New function.
6893
6894 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
6895
6896 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
6897 SYMBOL_PREFIX for x86_64-*-cygwin.
6898
6899 2015-03-26 Andy Wingo <wingo@igalia.com>
6900
6901 PR symtab/18148
6902 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
6903 const_value but not a location.
6904 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
6905 location defined in non-main CUs are visible.
6906
6907 2015-03-26 Yao Qi <yao.qi@linaro.org>
6908
6909 PR testsuite/18139
6910 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
6911 Add a line number entry for the same line.
6912 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
6913 Add a line number entry for the same line.
6914
6915 2015-03-26 Yao Qi <yao.qi@linaro.org>
6916
6917 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
6918 .int 0.
6919 (func): Likewise. Add .Lfunc_1 label.
6920 Use .Lfunc_1 label.
6921 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
6922 .int 0.
6923 (func): Likewise.
6924 Use .Lfunc_1 label.
6925
6926 2015-03-26 Yao Qi <yao.qi@linaro.org>
6927
6928 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
6929 Call gdb_compile instead to compile each .s files without debug
6930 information.
6931
6932 2015-03-26 Yao Qi <yao.qi@linaro.org>
6933
6934 * gdb.base/savedregs.exp (process_saved_regs): Make
6935 "Saved registers:" optional in the pattern.
6936
6937 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6938
6939 * gdb.btrace/next.exp: Merged into step.exp.
6940 * gdb.btrace/finish.exp: Merged into step.exp.
6941 * gdb.btrace/nexti.exp: Merged into stepi.exp.
6942 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
6943 "record goto" and checking the exact replay position.
6944 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
6945 check for "Recording format" in "info record" output.
6946 * gdb.btrace/record_goto.exp: Choose test file based on target.
6947 * gdb.btrace/x86-record_goto.S: Renamed into ...
6948 * gdb.btrace/x86_64-record_goto.S: ... this.
6949 * gdb.btrace/i686-record_goto.S: New.
6950 * gdb.btrace/x86-tailcall.S: Renamed into ...
6951 * gdb.btrace/x86_64-tailcall.S: ... this.
6952 * gdb.btrace/i686-tailcall.S: New.
6953 * gdb.btrace/x86-tailcall.c: Renamed into ...
6954 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
6955 separate statements. Update test.
6956 * gdb.btrace/delta.exp: Use record_goto.c as test file.
6957 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
6958 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
6959 * gdb.btrace/tailcall.exp: Choose test file based on target.
6960 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
6961
6962 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6963
6964 * gdb.btrace/exception.exp: Increase BTS buffer size.
6965
6966 2015-03-24 Pedro Alves <palves@redhat.com>
6967
6968 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
6969
6970 2015-03-24 Pedro Alves <palves@redhat.com>
6971
6972 * gdb.threads/schedlock.exp (test_step): No longer expect that
6973 "set scheduler-locking step" with "next" over a function call runs
6974 threads unlocked.
6975
6976 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6977
6978 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
6979
6980 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
6981
6982 PR breakpoints/16466
6983 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
6984 * gdb.mi/mi-pending.c (thread_func): New function.
6985 (int main): Add threading support required.
6986 * gdb.mi/mi-pending.exp: Add tests for this issue.
6987 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
6988 (pendfunc2): Remove stdio dependency.
6989 * gdb.mi/mi-pendshr2.c: New file.
6990
6991 2015-03-23 Keith Seitz <keiths@redhat.com>
6992
6993 * gdb.linespec/keywords.c: New file.
6994 * gdb.linespec/keywords.exp: New file.
6995
6996 2015-03-23 Keith Seitz <keiths@redhat.com>
6997
6998 PR gdb/18021
6999 * gdb.dwarf2/staticvirtual.exp: New test.
7000
7001 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7002
7003 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
7004 * README: Remove HP-UX and gdb.hp.
7005 (configuration):
7006 * configure: Regenerate.
7007 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
7008 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
7009 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
7010 gdb.hp/gdb.defects/Makefile.
7011 * gdb.hp/Makefile.in: File deleted.
7012 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
7013 * gdb.hp/gdb.aCC/optimize.c: File deleted.
7014 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
7015 * gdb.hp/gdb.aCC/run.c: File deleted.
7016 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
7017 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
7018 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
7019 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
7020 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
7021 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
7022 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
7023 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
7024 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
7025 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
7026 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
7027 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
7028 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
7029 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
7030 * gdb.hp/gdb.base-hp/reg.s: File deleted.
7031 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
7032 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
7033 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
7034 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
7035 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
7036 * gdb.hp/gdb.compat/Makefile.in: File deleted.
7037 * gdb.hp/gdb.compat/average.c: File deleted.
7038 * gdb.hp/gdb.compat/sum.c: File deleted.
7039 * gdb.hp/gdb.compat/xdb.c: File deleted.
7040 * gdb.hp/gdb.compat/xdb0.c: File deleted.
7041 * gdb.hp/gdb.compat/xdb0.h: File deleted.
7042 * gdb.hp/gdb.compat/xdb1.c: File deleted.
7043 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
7044 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
7045 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
7046 * gdb.hp/gdb.defects/Makefile.in: File deleted.
7047 * gdb.hp/gdb.defects/bs14602.c: File deleted.
7048 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
7049 * gdb.hp/gdb.defects/solib-d.c: File deleted.
7050 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
7051 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
7052 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
7053 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
7054 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
7055 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
7056 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
7057 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
7058 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
7059 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
7060 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
7061 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
7062 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
7063 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
7064 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
7065 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
7066 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
7067 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
7068 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
7069 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
7070 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
7071 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
7072 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
7073 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
7074 * gdb.hp/tools/odump: File deleted.
7075
7076 2015-03-19 Pedro Alves <palves@redhat.com>
7077
7078 * gdb.threads/continue-pending-status.exp (saw_thread_2)
7079 (saw_thread_3): New globals.
7080 (top level): Increment them when an event for the corresponding
7081 thread is seen.
7082 (no thread starvation): New test.
7083
7084 2015-03-19 Pedro Alves <palves@redhat.com>
7085
7086 * gdb.threads/continue-pending-status.c: New file.
7087 * gdb.threads/continue-pending-status.exp: New file.
7088
7089 2015-03-18 Pedro Alves <palves@redhat.com>
7090
7091 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7092 Use gdb_is_target_remote instead of is_remote. Use
7093 gdb_test_multiple instead of gdb_expect. Exit early if
7094 gdb_test_multiple hits its internal matches. Tighten stepi tests
7095 expected output. Fail on exit with any signal, instead of just
7096 SIGILL.
7097
7098 2015-03-18 Yao Qi <yao.qi@linaro.org>
7099
7100 PR tdep/18107
7101 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
7102 variable.
7103 * gdb.base/catch-syscall.exp: Don't skip it on
7104 aarch64*-*-linux* target. Remove elements in all_syscalls.
7105 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
7106 target.
7107 (setup_all_syscalls): New proc.
7108
7109 2015-03-16 Yao Qi <yao.qi@linaro.org>
7110
7111 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
7112 (top level): Skip tests if valid_addr_p returns false for
7113 $cmd1 or $cmd2.
7114
7115 2015-03-11 Andy Wingo <wingo@igalia.com>
7116
7117 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
7118
7119 2015-03-11 Yao Qi <yao.qi@linaro.org>
7120
7121 * gdb.base/catch-syscall.exp: Fix typo in comments.
7122
7123 2015-03-11 Yao Qi <yao.qi@linaro.org>
7124
7125 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
7126
7127 2015-03-09 Pedro Alves <palves@redhat.com>
7128
7129 * dg-extract-results.py: Delete.
7130
7131 2015-03-09 Pedro Alves <palves@redhat.com>
7132
7133 Merge dg-extract-results.sh from GCC upstream (r218843).
7134
7135 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
7136 * dg-extract-results.sh: Use --text with grep to avoid issues with
7137 binary files. Fall back to cat -v, if that doesn't work.
7138
7139 2015-03-05 Pedro Alves <palves@redhat.com>
7140
7141 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
7142
7143 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
7144
7145 * lib/mi-support.exp (mi_expect_interrupt): Accept
7146 alternative event for when in all-stop mode.
7147
7148 2015-03-04 Pedro Alves <palves@redhat.com>
7149
7150 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
7151
7152 2015-03-04 Mark Kettenis <kettenis@gnu.org>
7153
7154 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
7155
7156 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7157
7158 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
7159 regexps for GDB's current line display, accept a hex address
7160 preceding the line number.
7161
7162 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7163
7164 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
7165 the 'arch1' variable for "s390*-linux*" targets.
7166
7167 2015-03-04 Pedro Alves <palves@redhat.com>
7168
7169 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
7170 (main): Pass missing retval argument to pthread_join call.
7171
7172 2015-03-02 Pedro Alves <palves@redhat.com>
7173
7174 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
7175 (top level): Call do_test with non-stop as well.
7176
7177 2015-03-02 Pedro Alves <palves@redhat.com>
7178
7179 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
7180 -1.
7181
7182 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7183
7184 * gdb.arch/s390-vregs.exp: New test.
7185 * gdb.arch/s390-vregs.S: New file.
7186
7187 2015-02-27 Pedro Alves <palves@redhat.com>
7188
7189 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
7190 call to catch_command_errors.
7191 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
7192 catch_command_errors.
7193
7194 2015-02-27 Pedro Alves <palves@redhat.com>
7195
7196 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
7197 "true" for boolean result.
7198 * gdb.gdb/selftest.exp (test_with_self): Also accept full
7199 prototype of main.
7200
7201 2015-02-27 Pedro Alves <palves@redhat.com>
7202
7203 * lib/unbuffer_output.c: New file.
7204 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
7205 (main): Call gdb_unbuffer_output.
7206
7207 2015-02-27 Yao Qi <yao.qi@linaro.org>
7208
7209 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
7210 target.
7211
7212 2015-02-26 Doug Evans <dje@google.com>
7213
7214 * gdb.cp/class2.cc (Dbase, D): New classes.
7215 (main): New local delta.
7216 * gdb.cp/class2.exp: Test printing delta.
7217 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
7218 (dynbar): New global.
7219 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
7220
7221 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7222
7223 * gdb.compile/compile-ifunc.c: New file.
7224 * gdb.compile/compile-ifunc.exp: New file.
7225
7226 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
7227
7228 * gdb.base/structs.exp: Check for correct struct on finish.
7229
7230 2015-02-26 Yao Qi <yao.qi@linaro.org>
7231
7232 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
7233 is zero.
7234
7235 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7236
7237 * gdb.arch/cordic.ko.bz2: New file.
7238 * gdb.arch/cordic.ko.debug.bz2: New file.
7239 * gdb.arch/ppc64-symtab-cordic.exp: New file.
7240
7241 2015-02-25 Yao Qi <yao.qi@linaro.org>
7242
7243 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
7244 aarch64*-*-* target.
7245
7246 2015-02-23 Pedro Alves <palves@redhat.com>
7247
7248 * lib/gdb.exp (delete_breakpoints): Rewrite using
7249 gdb_test_multiple.
7250
7251 2015-02-23 Pedro Alves <palves@redhat.com>
7252
7253 * gdb.base/info-os.c: Include stdlib.h.
7254
7255 2015-02-22 Doug Evans <xdje42@gmail.com>
7256
7257 PR symtab/17855
7258 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
7259 is read after symbols have been re-read.
7260 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
7261 * gdb.ada/exec_changed/second.adb (Second): Ditto.
7262
7263 2015-02-21 Doug Evans <dje@google.com>
7264
7265 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
7266
7267 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7268
7269 PR corefiles/17808
7270 * gdb.arch/i386-biarch-core.core.bz2: New file.
7271 * gdb.arch/i386-biarch-core.exp: New file.
7272
7273 2015-02-21 Pedro Alves <palves@redhat.com>
7274
7275 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
7276 runto_main fails.
7277
7278 2015-02-20 Pedro Alves <palves@redhat.com>
7279
7280 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
7281 info probes.
7282
7283 2015-02-20 Pedro Alves <palves@redhat.com>
7284
7285 * gdb.threads/multi-create-ns-info-thr.exp: New file.
7286
7287 2015-02-20 Pedro Alves <palves@redhat.com>
7288
7289 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
7290 clean_restart before gdb_target_supports_trace.
7291
7292 2015-02-20 Pedro Alves <palves@redhat.com>
7293
7294 PR threads/18006
7295 * gdb.threads/clone-thread_db.c: New file.
7296 * gdb.threads/clone-thread_db.exp: New file.
7297
7298 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
7299
7300 PR breakpoints/16812
7301 * gdb.base/catch-gdb-caused-signals.c: New file.
7302 * gdb.base/catch-gdb-caused-signals.exp: New file.
7303
7304 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
7305
7306 * configure: Regenerated.
7307 * configure.ac: Use GDB_AC_TRANSFORM.
7308 * aclocal.m4: sinclude ../transform.m4.
7309
7310 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7311
7312 * lib/dtrace.exp: New file.
7313 * gdb.base/dtrace-probe.exp: Likewise.
7314 * gdb.base/dtrace-probe.d: Likewise.
7315 * gdb.base/dtrace-probe.c: Likewise.
7316 * lib/pdtrace.in: Likewise.
7317 * configure.ac: Output variables with the transformed names of
7318 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7319 * configure: Regenerated.
7320
7321 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7322
7323 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7324 expected message when trying to access $_probe_* convenience
7325 variables while not on a probe.
7326
7327 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7328
7329 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7330
7331 2015-02-11 Pedro Alves <pedro@codesourcery.com>
7332
7333 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7334 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7335
7336 2015-02-10 Doug Evans <xdje42@gmail.com>
7337
7338 * lib/gdb.exp (gdb_load): Always return a result.
7339
7340 2015-02-10 Pedro Alves <palves@redhat.com>
7341
7342 * gdb.threads/signal-sigtrap.c: New file.
7343 * gdb.threads/signal-sigtrap.exp: New file.
7344
7345 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7346
7347 * gdb.trace/no-attach-trace.c: New file.
7348 * gdb.trace/no-attach-trace.exp: New file.
7349
7350 2015-02-09 Mark Wielaard <mjw@redhat.com>
7351
7352 * gdb.dwarf2/atomic.c: New file.
7353 * gdb.dwarf2/atomic-type.exp: Likewise.
7354
7355 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7356
7357 * gdb.btrace/buffer-size.exp: Update "info record" output.
7358 * gdb.btrace/delta.exp: Update "info record" output.
7359 * gdb.btrace/enable.exp: Update "info record" output.
7360 * gdb.btrace/finish.exp: Update "info record" output.
7361 * gdb.btrace/instruction_history.exp: Update "info record" output.
7362 * gdb.btrace/next.exp: Update "info record" output.
7363 * gdb.btrace/nexti.exp: Update "info record" output.
7364 * gdb.btrace/step.exp: Update "info record" output.
7365 * gdb.btrace/stepi.exp: Update "info record" output.
7366 * gdb.btrace/nohist.exp: Update "info record" output.
7367
7368 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7369
7370 * gdb.btrace/buffer-size: New.
7371
7372 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7373
7374 * gdb.btrace/delta.exp: Update "info record" output.
7375 * gdb.btrace/enable.exp: Update "info record" output.
7376 * gdb.btrace/finish.exp: Update "info record" output.
7377 * gdb.btrace/instruction_history.exp: Update "info record" output.
7378 * gdb.btrace/next.exp: Update "info record" output.
7379 * gdb.btrace/nexti.exp: Update "info record" output.
7380 * gdb.btrace/step.exp: Update "info record" output.
7381 * gdb.btrace/stepi.exp: Update "info record" output.
7382 * gdb.btrace/nohist.exp: Update "info record" output.
7383
7384 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7385
7386 PR gdb/15678
7387 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7388
7389 2015-02-06 Pedro Alves <palves@redhat.com>
7390
7391 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7392 macro.
7393 (seconds_left, again): New globals.
7394 (main): Wait seconds_left in a 1-second sleep loop instead of
7395 sleeping 180 seconds. If 'again' is set, reset the seconds
7396 counter.
7397 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7398 'again' in the inferior before detaching. Print the seconds left.
7399 (options): New global.
7400 (top level): Build program with -DTIMEOUT=$timeout.
7401
7402 2015-02-06 Pedro Alves <palves@redhat.com>
7403
7404 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
7405 determine how many seconds to pass to 'alarm'.
7406 * gdb.base/gdb-sigterm.exp (top level): Build program with
7407 -DTIMEOUT=$timeout.
7408 (do_test): Return success/failure indication. Add more verbose
7409 logging. Don't fail if 200 single steps are seen. Instead, fail
7410 when the test times out.
7411 (passes): New global.
7412 (top level): Break the testing loop if testing fails on any
7413 iteration. Use gdb_assert.
7414
7415 2015-02-04 Don Breazeal <donb@codesourcery.com>
7416
7417 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
7418 and initialize them.
7419 (ipc_cleanup): New function.
7420 (main): Don't declare shmid, semid, and msqid. Add a call to
7421 atexit so that we call ipc_cleanup on exit.
7422
7423 2015-02-04 Pedro Alves <palves@redhat.com>
7424
7425 * boards/native-extended-gdbserver.exp: Remove any target variant
7426 specifications from the board name before clearing the isremote
7427 flag from board_info.
7428
7429 2015-01-31 Doug Evans <xdje42@gmail.com>
7430
7431 * gdb.base/maint.exp <maint print type argc>: Update expected output.
7432
7433 2015-01-31 Gary Benson <gbenson@redhat.com>
7434
7435 * gdb.base/completion.exp: Disable completion limiting for
7436 existing tests. Add new tests to check completion limiting.
7437 * gdb.linespec/ls-errs.exp: Disable completion limiting.
7438
7439 2015-01-31 Doug Evans <xdje42@gmail.com>
7440
7441 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
7442
7443 2015-01-31 Doug Evans <xdje42@gmail.com>
7444
7445 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
7446 entries. Duplicate file section script entries.
7447 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
7448 inlined entries. Add test for safe-path rejection.
7449 * gdb.python/py-section-script.c: Add duplicate inlined section script
7450 entries. Duplicate file section script entries.
7451 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
7452 inlined entries. Add test for safe-path rejection.
7453
7454 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7455
7456 * gdb.ada/disc_arr_bound: New testcase.
7457
7458 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7459
7460 * gdb.ada/mi_var_array: New testcase.
7461
7462 2015-01-27 Doug Evans <dje@google.com>
7463
7464 * gdb.python/py-objfile.exp: Add tests for objfile.username.
7465 Add test for objfile.filename, objfile.username after objfile
7466 has been unloaded.
7467
7468 2015-01-26 Joel Brobecker <brobecker@adacore.com>
7469
7470 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
7471 the second test to print the name attribute of value
7472 returned by the call to gdb.lookup_type, and adjust
7473 the expected output accordingly.
7474
7475 2015-01-25 Mark Wielaard <mjw@redhat.com>
7476
7477 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
7478 * gdb.base/disp-step-fork.c: Include unistd.h.
7479 * gdb.base/siginfo-obj.c: Include stdio.h.
7480 * gdb.base/siginfo-thread.c: Likewise.
7481 * gdb.mi/non-stop.c: Include unistd.h.
7482 * gdb.mi/nsthrexec.c: Include stdio.h.
7483 * gdb.mi/pthreads.c: Include unistd.h.
7484 * gdb.modula2/unbounded1.c (main): Declare returns int.
7485 * gdb.reverse/consecutive-reverse.c: Likewise.
7486 * gdb.threads/create-fail.c: Include unistd.h.
7487 * gdb.threads/killed.c: Likewise.
7488 * gdb.threads/linux-dp.c: Likewise.
7489 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
7490 * gdb.threads/non-ldr-exc-2.c: Likewise.
7491 * gdb.threads/non-ldr-exc-3.c: Likewise.
7492 * gdb.threads/non-ldr-exc-4.c: Likewise.
7493 * gdb.threads/pthreads.c: Include unistd.h.
7494 (main): Declare returns int.
7495 * gdb.threads/tls-main.c (foo): New declaration.
7496 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
7497
7498 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
7499
7500 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
7501 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
7502
7503 2015-01-15 Mark Wielaard <mjw@redhat.com>
7504
7505 * gdb.base/noreturn-return.c: New file.
7506 * gdb.base/noreturn-return.exp: New file.
7507 * gdb.base/noreturn-finish.c: New file.
7508 * gdb.base/noreturn-finish.exp: New file.
7509
7510 2015-01-23 Pedro Alves <palves@redhat.com>
7511
7512 * gdb.threads/continue-pending-after-query.c: New file.
7513 * gdb.threads/continue-pending-after-query.exp: New file.
7514
7515 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
7516 Simon Marchi <simon.marchi@ericsson.com>
7517
7518 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
7519 * gdb.base/valgrind-db-attach.exp: Same.
7520 * gdb.base/valgrind-infcall.exp: Same.
7521 * lib/mi-support.exp (default_mi_gdb_start): Same.
7522 * lib/prompt.exp (default_prompt_gdb_start): Same.
7523 * lib/gdb.exp (default_gdb_spawn): Same.
7524 (gdb_interact): New.
7525
7526
7527 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7528
7529 * gdb.compile/compile.exp (pointer to jit function): New test.
7530
7531 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
7532
7533 * lib/gdb.exp (supports_process_record): Return true for
7534 powerpc*-*-linux*.
7535 (supports_reverse): Likewise.
7536
7537 2015-01-15 Don Breazeal <donb@codesourcery.com>
7538
7539 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
7540 instead of checking whether the target board is remote and
7541 use spawn_wait_for_attach instead of exec/sleep.
7542 * gdb.base/attach-twice.exp: Likewise.
7543
7544 2015-01-15 Joel Brobecker <brobecker@adacore.com>
7545
7546 * gdb.ada/var_arr_attrs: New testcase.
7547
7548 2015-01-14 Pedro Alves <palves@redhat.com>
7549 Joel Brobecker <brobecker@adacore.com>
7550
7551 PR gdb/17525
7552 * gdb.base/bp-cmds-execution-x-script.c: New file.
7553 * gdb.base/bp-cmds-execution-x-script.exp: New file.
7554 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
7555
7556 2015-01-14 Pedro Alves <palves@redhat.com>
7557
7558 PR cli/17828
7559 * gdb.base/batch-preserve-term-settings.c: New file.
7560 * gdb.base/batch-preserve-term-settings.exp: New file.
7561
7562 2015-01-13 Doug Evans <dje@google.com>
7563
7564 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
7565 binary.
7566
7567 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7568
7569 * Makefile.in (clean mostlyclean): Do not delete *.py.
7570
7571 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7572
7573 * gdb.python/py-lookup-type.exp: New file.
7574
7575 2015-01-12 Pedro Alves <palves@redhat.com>
7576
7577 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
7578 restore GDBFLAGS before returning.
7579
7580 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7581
7582 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
7583 is_amd64_regs_target and is_x86_like_target.
7584
7585 2015-01-11 Doug Evans <xdje42@gmail.com>
7586
7587 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
7588 is given without an explicit form.
7589 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
7590 attributes.
7591 * gdb.dwarf/corrupt.exp: Ditto.
7592 * gdb.dwarf2/enum-type.exp: Ditto.
7593 * gdb.trace/entry-values.exp: Ditto.
7594 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
7595
7596 2015-01-11 Doug Evans <xdje42@gmail.com>
7597
7598 PR gdb/15830
7599 * gdb.base/maint.exp: Remove references to "maint demangle".
7600 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
7601 Add tests for explicitly specifying language to demangle.
7602 * gdb.dlang/demangle.exp: Ditto.
7603
7604 2015-01-09 Pedro Alves <palves@redhat.com>
7605
7606 * gdb.threads/non-stop-fair-events.c: New file.
7607 * gdb.threads/non-stop-fair-events.exp: New file.
7608
7609 2015-01-09 Pedro Alves <palves@redhat.com>
7610
7611 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
7612 the global scope. Set a breakpoint after all threads are started
7613 rather than stepping over two source lines. Expect the prompt.
7614 * gdb.base/watch_thread_num.c (threads_started_barrier): New
7615 global.
7616 (NUM): Now 15.
7617 (main): Use threads_started_barrier to wait for all threads to
7618 start. Main thread no longer calls thread_function. Exit after
7619 180 seconds.
7620 (loop): New function.
7621 (thread_function): Wait on threads_started_barrier barrier. Call
7622 'loop' at each iteration.
7623 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
7624 threads have started, instead of hardcoding number of "next"
7625 steps. Use an access watchpoint instead of a write watchpoint.
7626
7627 2015-01-09 Pedro Alves <palves@redhat.com>
7628
7629 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
7630 (thread_func): Wait on barrier.
7631 (main): Wait for all threads to start before stopping GDB.
7632 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
7633 global.
7634 (thread1_func, thread2_func): Wait on barrier.
7635 (main): Wait for all threads to start before stopping GDB.
7636 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
7637 New global.
7638 (thread1_func, thread2_func): Wait on barrier.
7639 (main): Wait for all threads to start before stopping GDB.
7640
7641 2015-01-09 Pedro Alves <palves@redhat.com>
7642
7643 * gdb.threads/attach-many-short-lived-threads.c: New file.
7644 * gdb.threads/attach-many-short-lived-threads.exp: New file.
7645
7646 2014-01-09 Pedro Alves <palves@redhat.com>
7647
7648 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
7649 instead of to thread 2.
7650 * gdb.threads/signal-command-multiple-signals-pending.c (main):
7651 Add barrier around each pthread_create call instead of around all
7652 calls.
7653 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
7654 Set a break on thread_function and have the child threads hit it
7655 one at at a time.
7656
7657 2015-01-09 Pedro Alves <palves@redhat.com>
7658
7659 * lib/gdb.exp (can_spawn_for_attach): New procedure.
7660 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
7661 false.
7662 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
7663 checking whether the target board is remote.
7664 * gdb.multi/multi-attach.exp: Likewise.
7665 * gdb.python/py-sync-interp.exp: Likewise.
7666 * gdb.server/ext-attach.exp: Likewise.
7667 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
7668 tests that need to attach, instead of checking whether the target
7669 board is remote at the top of the file.
7670
7671 2015-01-08 Yao Qi <yao@codesourcery.com>
7672
7673 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
7674
7675 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7676
7677 Fix testcase compilation.
7678 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
7679
7680 2015-01-06 Joel Brobecker <brobecker@adacore.com>
7681
7682 * gdb.python/py-type.exp: Add a couple test about empty
7683 array creation, and negative-length array creation.
7684
7685 2015-01-02 Doug Evans <xdje42@gmail.com>
7686
7687 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
7688
7689 2015-01-02 Doug Evans <dje@google.com>
7690
7691 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
7692
7693 2014-12-29 Yao Qi <yao@codesourcery.com>
7694
7695 * gdb.trace/entry-values.exp: Update comments. Rename variable
7696 bar_call_foo to returned_from_foo.
7697
7698 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
7699
7700 PR gdb/17394
7701 * gdb.linespec/break-asm-file.c: New file.
7702 * gdb.linespec/break-asm-file.exp: New file.
7703 * gdb.linespec/break-asm-file0.s: New file.
7704 * gdb.linespec/break-asm-file1.s: New file.
7705
7706 2014-12-18 Nigel Stephens <nigel@mips.com>
7707 Maciej W. Rozycki <macro@codesourcery.com>
7708
7709 * gdb.base/float.exp: Handle the new output from "info float" on
7710 MIPS targets.
7711
7712 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7713
7714 Fix MinGW compilation.
7715 * gdb.compile/compile-ops.exp: Update untested message if
7716 !skip_compile_feature_tests.
7717 * gdb.compile/compile-setjmp.exp: Likewise.
7718 * gdb.compile/compile-tls.exp: Likewise.
7719 * gdb.compile/compile.exp: Likewise.
7720 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
7721 supported on this host".
7722
7723 2014-12-16 Doug Evans <xdje42@gmail.com>
7724
7725 * boards/stabs.exp: New file.
7726
7727 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
7728
7729 * gdb.base/completion.exp: Adjust to format changes of "maint
7730 print user-registers".
7731
7732 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
7733
7734 PR server/17457
7735 * gdb.arch/aarch64-fp.c: New file.
7736 * gdb.arch/aarch64-fp.exp: New file.
7737
7738 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7739
7740 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
7741 r210637, r210913, r211666, r215400, r215817).
7742
7743 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
7744 * dg-extract-results.py: New file.
7745 * dg-extract-results.sh: Use it if the environment seems
7746 suitable.
7747
7748 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
7749
7750 * dg-extract-results.py (parse_run): Handle warnings that
7751 are printed before a test harness is run.
7752
7753 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
7754
7755 * dg-extract-results.py (Named): Remove __cmp__ method.
7756 (output_variation): Use a key to sort variation.harnesses.
7757
7758 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
7759
7760 * dg-extract-results.py: For Python 3, force sys.stdout to
7761 handle surrogate escape sequences.
7762 (safe_open): New function.
7763 (output_segment, main): Use it.
7764
7765 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
7766
7767 * dg-extract-results.py (Prog.result_re): Include options
7768 in test name.
7769
7770 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
7771
7772 * dg-extract-results.py (output_variation): Always sort if
7773 do_sum.
7774
7775 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
7776
7777 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
7778 as long as we get pagination notifications.
7779
7780 2014-12-15 Jason Merrill <jason@redhat.com>
7781
7782 * Makefile.in (check-gdb.%): Restore.
7783 * README: Mention it.
7784
7785 2014-12-13 Joel Brobecker <brobecker@adacore.com>
7786
7787 * gdb.ada/str_uninit: New testcase.
7788
7789 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7790
7791 PR symtab/17642
7792 * gdb.base/vla-stub-define.c: New file.
7793 * gdb.base/vla-stub.c: New file.
7794 * gdb.base/vla-stub.exp: New file.
7795
7796 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
7797 Jan Kratochvil <jan.kratochvil@redhat.com>
7798 Tom Tromey <tromey@redhat.com>
7799
7800 * configure.ac: Add gdb.compile/.
7801 * configure: Regenerate.
7802 * gdb.compile/Makefile.in: New file.
7803 * gdb.compile/compile-ops.exp: New file.
7804 * gdb.compile/compile-ops.c: New file.
7805 * gdb.compile/compile-tls.c: New file.
7806 * gdb.compile/compile-tls.exp: New file.
7807 * gdb.compile/compile-constvar.S: New file.
7808 * gdb.compile/compile-constvar.c: New file.
7809 * gdb.compile/compile-mod.c: New file.
7810 * gdb.compile/compile-nodebug.c: New file.
7811 * gdb.compile/compile-setjmp-mod.c: New file.
7812 * gdb.compile/compile-setjmp.c: New file.
7813 * gdb.compile/compile-setjmp.exp: New file.
7814 * gdb.compile/compile-shlib.c: New file.
7815 * gdb.compile/compile.c: New file.
7816 * gdb.compile/compile.exp: New file.
7817 * lib/gdb.exp (skip_compile_feature_tests): New proc.
7818
7819 2014-12-12 Tom Tromey <tromey@redhat.com>
7820
7821 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
7822 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
7823
7824 2014-12-12 Doug Evans <dje@google.com>
7825
7826 * lib/gdb-python.exp (get_python_valueof): New function.
7827 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
7828
7829 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7830
7831 * gdb.base/completion.exp: Add test for completion of "info
7832 registers ".
7833
7834 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
7835
7836 * gdb.base/func-ptrs.c: New file.
7837 * gdb.base/func-ptrs.exp: New file.
7838
7839 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7840
7841 PR breakpoints/17012
7842 * gdb.base/dprintf-detach.c: New file.
7843 * gdb.base/dprintf-detach.exp: New file.
7844
7845 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7846
7847 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
7848 * lib/gdb.exp (target_is_gdbserver): New procedure.
7849
7850 2014-12-08 Doug Evans <dje@google.com>
7851
7852 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
7853
7854 2014-12-05 Yao Qi <yao@codesourcery.com>
7855
7856 * gdb.guile/scm-error.exp: Remove the third argument to
7857 gdb_remote_download.
7858 * gdb.guile/scm-frame-args.exp: Likewise.
7859 * gdb.guile/scm-section-script.exp: Likewise.
7860
7861 2014-12-05 Yao Qi <yao@codesourcery.com>
7862
7863 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
7864
7865 2014-12-04 Doug Evans <dje@google.com>
7866
7867 * gdb.python/py-objfile.exp: Add tests for
7868 objfile.add_separate_debug_file.
7869
7870 2014-12-04 Doug Evans <dje@google.com>
7871
7872 * lib/gdb.exp (get_build_id): New function.
7873 (build_id_debug_filename_get): Rewrite to use it.
7874 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
7875
7876 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
7877
7878 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
7879 `method(long)', not just 0x0.
7880 * gdb.cp/nsalias.exp: Align code labels to 4.
7881 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
7882 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
7883 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
7884 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
7885 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
7886 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
7887
7888 2014-12-02 Doug Evans <dje@google.com>
7889
7890 PR symtab/17602
7891 * gdb.cp/anon-ns.cc: Move guts of this file to ...
7892 * gdb.cp/anon-ns2.cc: ... here. New file.
7893 * gdb.cp/anon-ns.exp: Update.
7894
7895 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
7896
7897 * gdb.python/py-events.py (inferior_call_handler): New.
7898 (register_changed_handler, memory_changed_handler): New.
7899 (test_events.invoke): Register new handlers.
7900 * gdb.python/py-events.exp: Add tests for inferior call,
7901 memory_changed and register_changed events.
7902
7903 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7904
7905 * gdb.base/execl-update-breakpoints.exp: Specify the link address
7906 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
7907 if the linker doesn't understand this.
7908
7909 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
7910
7911 * gdb.python/python.exp: Change expected reply to help().
7912
7913 2014-12-01 Yao Qi <yao@codesourcery.com>
7914
7915 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
7916 AC_CONFIG_SUBDIRS(gdb.gdbtk).
7917 * configure: Re-generated.
7918
7919 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
7920
7921 * gdb.cp/chained-calls.cc: New file.
7922 * gdb.cp/chained-calls.exp: New file.
7923 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
7924
7925 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
7926
7927 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
7928 * gdb.dwarf2/symtab-producer.exp: Same.
7929 * gdb.gdb/python-interrupts.exp: Same.
7930 * gdb.gdb/python-selftest.exp: Same.
7931 * gdb.python/py-linetable.exp: Same.
7932 * gdb.python/py-type.exp: Same.
7933 * gdb.python/py-value-cc.exp: Same.
7934 * gdb.python/py-value.exp: Same.
7935
7936 2014-11-28 Yao Qi <yao@codesourcery.com>
7937
7938 * gdb.base/break-probes.exp: Match library name prefixed with
7939 sysroot.
7940
7941 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
7942
7943 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
7944 test expected output. Add parentheses for the call to print.
7945 Remove L suffix from integers.
7946
7947 2014-11-26 Doug Evans <dje@google.com>
7948
7949 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
7950
7951 2014-11-22 Yao Qi <yao@codesourcery.com>
7952
7953 * gdb.trace/entry-values.c: Remove asms.
7954 (foo): Add foo_label.
7955 (bar): Add bar_label.
7956 * gdb.trace/entry-values.exp: Remove code computing foo's
7957 length and bar's length.
7958 (Dwarf::assemble): Invoke function_range for bar and use
7959 MACRO_AT_func for foo.
7960
7961 2014-11-22 Yao Qi <yao@codesourcery.com>
7962
7963 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
7964 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
7965 Use .Lgcc43_procstart instead of gcc43.
7966
7967 2014-11-21 Joel Brobecker <brobecker@adacore.com>
7968
7969 * gdb.ada/n_arr_bound: New testcase.
7970
7971 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
7972
7973 PR breakpoints/10737
7974 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
7975 test_catch_syscall_multi_arch.
7976 (test_catch_syscall_multi_arch): New function.
7977
7978 2014-11-20 Doug Evans <xdje42@gmail.com>
7979
7980 * gdb.base/maint.exp: Update expected output.
7981
7982 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
7983
7984 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
7985 4-byte instruction on S390.
7986
7987 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7988
7989 * gdb.ada/arr_arr: New testcase.
7990
7991 2014-11-19 Joel Brobecker <brobecker@adacore.com>
7992
7993 * gdb.ada/pkd_arr_elem: New Testcase.
7994
7995 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
7996
7997 * gdb.reverse/break-precsave: Expect completion message for
7998 core file reads.
7999 * gdb.reverse/consecutive-precsave.exp: Likewise.
8000 * gdb.reverse/finish-precsave.exp: Likewise.
8001 * gdb.reverse/i386-precsave.exp: Likewise.
8002 * gdb.reverse/machinestate-precsave.exp: Likewise.
8003 * gdb.reverse/sigall-precsave.exp: Likewise.
8004 * gdb.reverse/solib-precsave.exp: Likewise.
8005 * gdb.reverse/step-precsave.exp: Likewise.
8006 * gdb.reverse/until-precsave.exp: Likewise.
8007 * gdb.reverse/watch-precsave.exp: Likewise.
8008
8009 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8010
8011 * gdb.base/bp-permanent.c: Include unistd.h.
8012 * gdb.python/py-framefilter-mi.c (main): Add return type.
8013 * gdb.python/py-framefilter.c (main): Likewise.
8014 * gdb.trace/actions-changed.c (main): Likewise.
8015
8016 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8017
8018 * gdb.mi/until.c: Add eye-catchers.
8019 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
8020 line numbers.
8021
8022 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8023
8024 * gdb.base/condbreak.exp: Drop references to removed non-prototype
8025 function header variants in break1.c.
8026 * gdb.base/ena-dis-br.exp: Likewise.
8027 * gdb.base/hbreak2.exp: Likewise.
8028 * gdb.reverse/until-precsave.exp: Drop references to removed
8029 non-prototype function header variants in ur1.c.
8030 * gdb.reverse/until-reverse.exp: Likewise.
8031
8032 2014-11-17 Petr Machata <pmachata@redhat.com>
8033
8034 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
8035 ${_cu_offset_size} bytes abbrev offset.
8036
8037 2014-11-15 Doug Evans <xdje42@gmail.com>
8038
8039 PR symtab/17559
8040 * gdb.base/line-symtabs.exp: New file.
8041 * gdb.base/line-symtabs.c: New file.
8042 * gdb.base/line-symtabs.h: New file.
8043
8044 2014-11-14 Yao Qi <yao@codesourcery.com>
8045
8046 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
8047 (func): Add label func_label.
8048 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
8049 Replace low_pc and high_pc with MACRO_AT_range.
8050 Replace name, low_pc and high_pc with MACRO_AT_func.
8051
8052 2014-11-14 Yao Qi <yao@codesourcery.com>
8053
8054 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
8055 Replace name, low_pc and high_pc with MACRO_AT_func.
8056
8057 2014-11-14 Yao Qi <yao@codesourcery.com>
8058
8059 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
8060 produce debug information.
8061 * gdb.dwarf2/implptr-optimized-out.S: Removed.
8062
8063 2014-11-14 Yao Qi <yao@codesourcery.com>
8064
8065 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
8066 object and get function length.
8067 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
8068 with MACRO_AT_func.
8069 (top-level): Replace gdb_compile and clean_restart with
8070 prepare_for_testing.
8071 * gdb.dwarf2/main.c (main): Add label main_label.
8072
8073 2014-11-14 Yao Qi <yao@codesourcery.com>
8074
8075 * lib/dwarf.exp (function_range): New procedure.
8076 (Dwarf::_handle_macro_at_func): New procedure.
8077 (Dwarf::_handle_macro_at_range): New procedure.
8078 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
8079
8080 2014-11-14 Yao Qi <yao@codesourcery.com>
8081
8082 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
8083 (_handle_attribute): New procedure.
8084
8085 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8086
8087 * gdb.ada/cond_lang/foo.c (callme): Add return type.
8088 * gdb.base/call-sc.c (zed): Likewise.
8089 * gdb.base/checkpoint.c (main): Likewise.
8090 * gdb.base/dump.c (main): Likewise.
8091 * gdb.base/gcore.c (main): Likewise.
8092 * gdb.base/huge.c (main): Likewise.
8093 * gdb.base/multi-forks.c (main): Likewise.
8094 * gdb.base/pr10179-a.c (main): Likewise.
8095 * gdb.base/savedregs.c (main): Likewise.
8096 * gdb.base/sigaltstack.c (main): Likewise.
8097 * gdb.base/siginfo.c (main): Likewise.
8098 * gdb.base/structs.c (zed): Likewise.
8099 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
8100 * gdb.mi/mi-syn-frame.c (main): Likewise.
8101 * gdb.mi/until.c (foo, main): Likewise.
8102 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
8103 * gdb.base/solib-weak.c (foo): Declare.
8104 * gdb.base/attach-twice.c: Include stdio.h.
8105 * gdb.base/weaklib1.c: Likewise.
8106 * gdb.base/weaklib2.c: Likewise.
8107 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
8108 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
8109 unistd.h.
8110 * gdb.base/attach-pie-misread.c: Include stdlib.h.
8111 * gdb.mi/mi-exit-code.c: Likewise.
8112 * gdb.base/break-interp-lib.c: Include string.h.
8113 * gdb.base/coremaker.c: Likewise.
8114 * gdb.base/testenv.c: Likewise.
8115 * gdb.python/py-finish-breakpoint.c: Likewise.
8116 * gdb.base/inferior-died.c: Include sys/wait.h.
8117 * gdb.base/fileio.c: Include time.h.
8118 * gdb.base/async-shell.c: Include unistd.h.
8119 * gdb.base/dprintf-non-stop.c: Likewise.
8120 * gdb.base/info-os.c: Likewise.
8121 * gdb.mi/mi-console.c: Likewise.
8122 * gdb.mi/watch-nonstop.c: Likewise.
8123 * gdb.python/py-events.c: Likewise.
8124 * gdb.base/async.c (baz): Move up before its invocation.
8125 * gdb.base/code_elim2.c (my_global_func): Likewise.
8126 * gdb.base/skip-solib-lib.c (multiply): Likewise.
8127 * gdb.base/advance.c (func2): Likewise.
8128
8129 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8130
8131 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
8132 variant.
8133 * gdb.base/annota3.c: Likewise.
8134 * gdb.base/async.c: Likewise.
8135 * gdb.base/average.c: Likewise.
8136 * gdb.base/call-ar-st.c: Likewise.
8137 * gdb.base/call-rt-st.c: Likewise.
8138 * gdb.base/call-sc.c: Likewise.
8139 * gdb.base/call-strs.c: Likewise.
8140 * gdb.base/ending-run.c: Likewise.
8141 * gdb.base/execd-prog.c: Likewise.
8142 * gdb.base/exprs.c: Likewise.
8143 * gdb.base/foll-exec.c: Likewise.
8144 * gdb.base/foll-fork.c: Likewise.
8145 * gdb.base/foll-vfork.c: Likewise.
8146 * gdb.base/funcargs.c: Likewise.
8147 * gdb.base/gcore.c: Likewise.
8148 * gdb.base/jump.c: Likewise.
8149 * gdb.base/langs0.c: Likewise.
8150 * gdb.base/langs1.c: Likewise.
8151 * gdb.base/langs2.c: Likewise.
8152 * gdb.base/mips_pro.c: Likewise.
8153 * gdb.base/nodebug.c: Likewise.
8154 * gdb.base/opaque0.c: Likewise.
8155 * gdb.base/opaque1.c: Likewise.
8156 * gdb.base/recurse.c: Likewise.
8157 * gdb.base/run.c: Likewise.
8158 * gdb.base/scope0.c: Likewise.
8159 * gdb.base/scope1.c: Likewise.
8160 * gdb.base/setshow.c: Likewise.
8161 * gdb.base/setvar.c: Likewise.
8162 * gdb.base/shmain.c: Likewise.
8163 * gdb.base/shr1.c: Likewise.
8164 * gdb.base/shr2.c: Likewise.
8165 * gdb.base/sigall.c: Likewise.
8166 * gdb.base/signals.c: Likewise.
8167 * gdb.base/so-indr-cl.c: Likewise.
8168 * gdb.base/solib2.c: Likewise.
8169 * gdb.base/structs.c: Likewise.
8170 * gdb.base/sum.c: Likewise.
8171 * gdb.base/vforked-prog.c: Likewise.
8172 * gdb.base/watchpoint.c: Likewise.
8173 * gdb.reverse/shr2.c: Likewise.
8174 * gdb.reverse/until-reverse.c: Likewise.
8175 * gdb.reverse/ur1.c: Likewise.
8176 * gdb.reverse/watch-reverse.c: Likewise.
8177
8178 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8179
8180 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
8181 variant.
8182 * gdb.base/sepdebug.exp: Drop references to removed code.
8183
8184 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8185
8186 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
8187 variant. Preserve original line numbering.
8188 * gdb.base/list1.c: Likewise.
8189
8190 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8191
8192 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
8193 variant.
8194 * gdb.base/break1.c: Likewise.
8195 * gdb.base/break.exp: Drop references to removed code.
8196
8197 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8198
8199 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
8200 variant.
8201
8202 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8203
8204 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
8205
8206 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8207
8208 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
8209 logic into perform_all_tests() and invoke it with and without
8210 function header prototypes.
8211 (do_function_calls): Remove conditional XFAIL for PR 5318.
8212 (rerun_and_prepare): Remove duplicate code.
8213 (perform_all_tests): New. Main logic moved here.
8214
8215 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8216
8217 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
8218 code guarded by #ifdef NO_PROTOTYPES.
8219 (t_double_many_args): Likewise.
8220 (DEF_FUNC_MANY_ARGS_1): Likewise.
8221 (DEF_FUNC_VALUES_1): Likewise.
8222 (t_structs_ldc): Renamed from t_structs_fc in conditional code
8223 guarded by #ifdef PROTOTYPES.
8224
8225 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8226
8227 * gdb.mi/mi-console.c: Add eye-catcher.
8228 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
8229 instead of literal line number.
8230
8231 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8232
8233 * gdb.base/shr2.c: Add eye-catcher.
8234 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
8235 line number.
8236
8237 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8238
8239 * gdb.base/jump.c: Add eye-catchers.
8240 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
8241 numbers.
8242
8243 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8244
8245 * gdb.base/execd-prog.c: Add eye-catchers.
8246 * gdb.base/foll-exec.c: Likewise.
8247 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
8248 line numbers.
8249
8250 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8251
8252 * gdb.base/ending-run.c: Add eye-catchers.
8253 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
8254 literal line numbers.
8255
8256 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8257
8258 * gdb.base/call-rt-st.c: Add eye-catchers.
8259 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
8260 literal line numbers.
8261
8262 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8263
8264 * gdb.base/call-ar-st.c: Add eye-catchers.
8265 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
8266 literal line numbers.
8267
8268 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8269
8270 * gdb.base/average.c: Add eye-catchers.
8271 * gdb.base/sum.c: Likewise.
8272 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
8273 regexps dynamically.
8274
8275 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8276
8277 * gdb.base/solib1.c: Add eye-catchers.
8278 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
8279 literal line numbers.
8280
8281 2014-11-12 Pedro Alves <palves@redhat.com>
8282
8283 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
8284 leader has exited.
8285
8286 2014-11-12 Pedro Alves <palves@redhat.com>
8287
8288 * gdb.arch/i386-bp_permanent.c: New file.
8289 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
8290 (srcfile): Set to i386-bp_permanent.c.
8291 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
8292 that stepi does not execute the 'leave' instruction, instead of
8293 testing it does execute.
8294 * gdb.base/bp-permanent.c: New file.
8295 * gdb.base/bp-permanent.exp: New file.
8296
8297 2014-11-10 Doug Evans <xdje42@gmail.com>
8298
8299 PR symtab/17564
8300 * gdb.base/symtab-search-order.exp: New file.
8301 * gdb.base/symtab-search-order.c: New file.
8302 * gdb.base/symtab-search-order-1.c: New file.
8303 * gdb.base/symtab-search-order-shlib-1.c: New file.
8304
8305 2014-11-07 Pedro Alves <palves@redhat.com>
8306
8307 PR gdb/17511
8308 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8309 i?86-*-linux*.
8310
8311 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8312
8313 PR c++/17494
8314 * gdb.cp/pr17494.cc: New file.
8315 * gdb.cp/pr17494.exp: New file.
8316
8317 2014-11-02 Yao Qi <yao@codesourcery.com>
8318
8319 * gdb.python/python.exp: Get working directory and match the
8320 output of "set extended-prompt \\w " with it.
8321
8322 2014-10-30 Doug Evans <dje@google.com>
8323
8324 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8325 in objfiles.
8326 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8327 in progspaces.
8328
8329 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
8330
8331 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8332 * gdb.base/realname-expand.exp: Likewise.
8333 * gdb.linespec/macro-relative.exp: Likewise.
8334
8335 2014-10-29 Pedro Alves <palves@redhat.com>
8336
8337 PR gdb/17408
8338 * gdb.threads/schedlock.c (some_function): New function.
8339 (call_function): New global.
8340 (MAYBE_CALL_SOME_FUNCTION): New macro.
8341 (thread_function): Call it.
8342 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8343 and use it instead of a global counter. Adjust all callers.
8344 (get_current_thread): Use "find current thread" for test message
8345 here rather than having all callers pass down the same string.
8346 (goto_loop): New procedure, factored out from ...
8347 (my_continue): ... this.
8348 (step_ten_loops): Change parameter from test message to command to
8349 use. Adjust.
8350 (list_count): Delete global.
8351 (check_result): New procedure, factored out from duplicate top
8352 level code.
8353 (continue tests): Wrap in with_test_prefix.
8354 (test_step): New procedure, factored out from duplicate top level
8355 code.
8356 (top level): Test "step" in combination with all scheduler-locking
8357 modes. Test "next" in combination with all scheduler-locking
8358 modes, and in combination with stepping over a function call or
8359 not.
8360 * gdb.threads/next-bp-other-thread.c: New file.
8361 * gdb.threads/next-bp-other-thread.exp: New file.
8362
8363 2014-10-29 Pedro Alves <palves@redhat.com>
8364
8365 PR python/17372
8366 * gdb.python/python.exp: Test a multi-line command that spawns
8367 interactive Python.
8368 * gdb.base/multi-line-starts-subshell.exp: New file.
8369
8370 2014-10-29 Yao Qi <yao@codesourcery.com>
8371
8372 * gdb.base/fileio.exp: Make directories on host.
8373
8374 2014-10-29 Yao Qi <yao@codesourcery.com>
8375
8376 * gdb.base/fileio.c (test_write): Close the file.
8377
8378 2014-10-28 Pedro Alves <palves@redhat.com>
8379
8380 PR gdb/12623
8381 * gdb.base/sigstep.c (no_handler): New global.
8382 (main): If 'no_handler is true, set the signal handlers to
8383 SIG_IGN.
8384 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8385 with_sw_watch and no_handler parameters. Handle them.
8386 (top level) <stepping over handler when stopped at a breakpoint
8387 test>: Add a test axis for testing with a software watchpoint, and
8388 another for testing with the signal handler set to SIG_IGN.
8389 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8390 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8391
8392 2014-10-28 Pedro Alves <palves@redhat.com>
8393
8394 PR gdb/17511
8395 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8396 * gdb.base/sigstep.exp (other_handler_location): New global.
8397 (advance): Support stepping into the signal handler, and running
8398 commands while in the handler.
8399 (in_handler_map): New global.
8400 (top level): In the advance test, add combinations for getting
8401 into the handler with stepping commands, and for running commands
8402 in the handler. Add comment descripting the advancei tests.
8403
8404 2014-10-28 Pedro Alves <palves@redhat.com>
8405
8406 * gdb.base/sigstep.exp: Use build_executable instead of
8407 prepare_for_testing.
8408 (top level): Move code that starts GDB, runs to main and creates a
8409 display to ...
8410 (restart): ... this new procedure.
8411 (top level): Move backtrace from signal handler test to ...
8412 (validate_backtrace): ... this new procedure.
8413 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
8414 with_test_prefix. Always restart GDB.
8415 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
8416 with_test_prefix. Always restart GDB. No need to delete
8417 breakpoints after the test.
8418 (test_skip_handler): Remove prefix parameter.
8419 (skip_over_handler, breakpoint_to_handler)
8420 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
8421 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
8422 restart GDB. No need to delete breakpoints after the test.
8423 (top level): Use foreach to call the test procedures with
8424 different commands.
8425
8426 2014-10-28 Pedro Alves <palves@redhat.com>
8427
8428 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
8429 instead of GNATS numbers.
8430 * gdb.base/sigbpt.exp: Likewise.
8431 * gdb.base/siginfo.exp: Likewise.
8432 * gdb.base/sigstep.exp: Likewise.
8433
8434 2014-10-27 Pedro Alves <palves@redhat.com>
8435
8436 * gdb.base/sigstep.c (dummy): New global.
8437 (main): Issue a couple writes to the new global.
8438 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
8439 procedures.
8440 (skip_over_handler): Use test_skip_handler.
8441 (top level): Call skip_over_handler for stepi and nexti too.
8442 (breakpoint_over_handler): Use test_skip_handler.
8443 (top level): Call breakpoint_over_handler for stepi and nexti too.
8444
8445 2014-10-27 Yao Qi <yao@codesourcery.com>
8446
8447 * gdb.trace/tfile.c (adjust_function_address)
8448 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
8449 function descriptor.
8450
8451 2014-10-24 Don Breazeal <donb@codesourcery.com>
8452
8453 * gdb.base/foll-fork.exp (test_follow_fork,
8454 catch_fork_child_follow): Check for updated fork messages emitted
8455 from infrun.c.
8456 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
8457 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
8458 vfork_and_exec_child_follow_through_step): Check for updated vfork
8459 messages emitted from infrun.c.
8460
8461 2014-10-24 Pedro Alves <palves@redhat.com>
8462
8463 * gdb.base/corefile.exp: Remove references to ultrix.
8464 * gdb.base/interrupt.exp: Likewise.
8465 * gdb.base/whatis.exp: Likewise.
8466 * gdb.gdb/selftest.exp: Likewise.
8467 * gdb.threads/manythreads.exp: Likewise.
8468 * gdb.threads/print-threads.exp: Likewise.
8469 * gdb.threads/pthreads.exp:: Likewise.
8470 * gdb.threads/schedlock.exp: Likewise.
8471
8472 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
8473
8474 * gdb.cp/non-trivial-retval.cc: Add a test case.
8475 * gdb.cp/non-trivial-retval.exp: Add a test.
8476
8477 2014-10-20 Yao Qi <yao@codesourcery.com>
8478
8479 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
8480 * gdb.python/py-objfile-script-gdb.py: New file.
8481 * gdb.python/py-objfile-script.exp: Update reference to
8482 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
8483 of remote_download. Remove the dest file.
8484
8485 2014-10-20 Yao Qi <yao@codesourcery.com>
8486
8487 * gdb.base/checkpoint.exp: Don't remove file copied on host.
8488 * gdb.base/step-line.exp: Likewise.
8489 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8490 * gdb.dwarf2/dw2-basic.exp: Likewise.
8491 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8492 * gdb.dwarf2/dw2-filename.exp: Likewise.
8493 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8494 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8495 * gdb.dwarf2/dw2-producer.exp: Likewise.
8496 * gdb.dwarf2/mac-fileno.exp: Likewise.
8497 * gdb.python/py-frame-args.exp: Likewise.
8498 * gdb.python/py-framefilter.exp: Likewise.
8499 * gdb.python/py-mi.exp: Likewise.
8500 * gdb.python/py-objfile-script.exp: Likewise
8501 * gdb.python/py-pp-integral.exp: Likewise.
8502 * gdb.python/py-pp-re-notag.exp: Likewise.
8503 * gdb.python/py-prettyprint.exp: Likewise.
8504 * gdb.python/py-section-script.exp: Likewise.
8505 * gdb.python/py-typeprint.exp: Likewise.
8506 * gdb.python/py-xmethods.exp: Likewise.
8507 * gdb.stabs/weird.exp: Likewise.
8508 * gdb.xml/tdesc-regs.exp: Likewise.
8509
8510 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
8511
8512 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
8513 (out_cu): Use addr_len for the size of addresses.
8514 (out_line): Likewise. Size DW_LNE_set_address instruction
8515 according to addr_len.
8516 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
8517 (FUNC): Add START_INSNS to definition.
8518
8519 2014-10-18 Yao Qi <yao@codesourcery.com>
8520
8521 * gdb.base/argv0-symlink.exp: Check argv[0] value if
8522 gdb_has_argv0 return true.
8523 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
8524 check [target_info exists noargs], check [gdb_has_argv0]
8525 instead.
8526 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8527 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
8528 procedures.
8529
8530 2014-10-17 Doug Evans <dje@google.com>
8531
8532 * gdb.python/py-events.exp: Update expected output for clear_objfiles
8533 event.
8534 * gdb.python/py-events.py: Add clear_objfiles event.
8535
8536 2014-10-17 Doug Evans <dje@google.com>
8537
8538 * gdb.python/py-objfile.exp: Test progspace attribute.
8539
8540 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
8541
8542 * gdb.guile/scm-breakpoint.exp: Do not assume any
8543 directory separators when matching source file paths.
8544 * gdb.python/py-breakpoint.exp: Likewise.
8545 * gdb.reverse/break-precsave.exp: Likewise.
8546 * gdb.reverse/break-reverse.exp: Likewise.
8547 * gdb.reverse/consecutive-precsave.exp: Likewise.
8548 * gdb.reverse/finish-precsave.exp: Likewise.
8549 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8550 * gdb.reverse/finish-reverse.exp: Likewise.
8551 * gdb.reverse/i386-precsave.exp: Likewise.
8552 * gdb.reverse/i387-env-reverse.exp: Likewise.
8553 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8554 * gdb.reverse/machinestate-precsave.exp: Likewise.
8555 * gdb.reverse/machinestate.exp: Likewise.
8556 * gdb.reverse/sigall-precsave.exp: Likewise.
8557 * gdb.reverse/solib-precsave.exp: Likewise.
8558 * gdb.reverse/step-precsave.exp: Likewise.
8559 * gdb.reverse/until-precsave.exp: Likewise.
8560 * gdb.reverse/watch-precsave.exp: Likewise.
8561 * gdb.reverse/watch-reverse.exp: Likewise.
8562
8563 2014-10-17 Yao Qi <yao@codesourcery.com>
8564
8565 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
8566 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
8567
8568 2014-10-17 Pedro Alves <palves@redhat.com>
8569
8570 PR gdb/17471
8571 * gdb.base/bg-execution-repeat.c: New file.
8572 * gdb.base/bg-execution-repeat.exp: New file.
8573
8574 2014-10-17 Pedro Alves <palves@redhat.com>
8575
8576 PR gdb/17300
8577 * gdb.base/continue-all-already-running.c: New file.
8578 * gdb.base/continue-all-already-running.exp: New file.
8579
8580 2014-10-17 Pedro Alves <palves@redhat.com>
8581
8582 PR gdb/17472
8583 * gdb.base/annota-input-while-running.c: New file.
8584 * gdb.base/annota-input-while-running.exp: New file.
8585
8586 2014-10-17 Pedro Alves <palves@redhat.com>
8587
8588 * gdb.base/callfuncs.exp: emove references to osf.
8589 * gdb.base/sigall.exp: Likewise.
8590 * gdb.gdb/selftest.exp: Likewise.
8591 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
8592 * gdb.mi/non-stop.c: Likewise.
8593 * gdb.mi/pthreads.c: Likewise.
8594 * gdb.reverse/sigall-precsave.exp: Likewise.
8595 * gdb.reverse/sigall-reverse.exp: Likewise.
8596 * gdb.threads/pthreads.c: Likewise.
8597 * gdb.threads/pthreads.exp: Likewise.
8598
8599 2014-10-17 Yao Qi <yao@codesourcery.com>
8600
8601 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
8602 check 'target_info exists noargs'.
8603 (test_command_prompt_position): Likewise.
8604 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
8605 Remove "set args".
8606 (progvar_simple_while_test): Likewise.
8607 (progvar_complex_if_while_test): Likewise.
8608 (if_while_breakpoint_command_test): Likewise.
8609 (infrun_breakpoint_command_test): Likewise.
8610 (breakpoint_command_test): Likewise.
8611 (watchpoint_command_test): Likewise.
8612 (bp_deleted_in_command_test): Likewise.
8613 (temporary_breakpoint_commands): Likewise.
8614
8615 2014-10-16 Yao Qi <yao@codesourcery.com>
8616
8617 * gdb.base/remotetimeout.exp: Remove noargs checking.
8618
8619 2014-10-15 Pedro Alves <palves@redhat.com>
8620
8621 PR breakpoints/9649
8622 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
8623 * gdb.base/breakpoint-in-ro-region.exp
8624 (probe_target_hardware_step): New procedure.
8625 (top level): Probe hardware stepping and hardware breakpoint
8626 support. Test stepping through a read-only region, with both
8627 "breakpoint auto-hw" on and off and both "always-inserted" on and
8628 off.
8629
8630 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
8631
8632 * gdb.dlang/demangle.exp: Update for demangling changes.
8633
8634 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8635
8636 * gdb.cp/non-trivial-retval.cc: Add new test cases.
8637 * gdb.cp/non-trivial-retval.exp: Add new tests.
8638
8639 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8640
8641 PR c++/13403
8642 PR c++/15154
8643 * gdb.cp/non-trivial-retval.cc: New file.
8644 * gdb.cp/non-trivial-retval.exp: New file.
8645
8646 2014-10-15 Yao Qi <yao@codesourcery.com>
8647
8648 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
8649 remote host.
8650
8651 2014-10-15 Yao Qi <yao@codesourcery.com>
8652
8653 * gdb.python/py-symbol.exp: Match file base name if host is
8654 remote, otherwise match file name with dir name.
8655 * gdb.python/py-symtab.exp: Likewise.
8656 * gdb.python/python.exp: Likewise.
8657
8658 2014-10-15 Yao Qi <yao@codesourcery.com>
8659
8660 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
8661 pattern.
8662 * gdb.python/py-symtab.exp: Likewise.
8663 * gdb.python/python.exp: Remove trailing ".*". Fix typo
8664 locationn.
8665
8666 2014-10-14 Joel Brobecker <brobecker@adacore.com>
8667
8668 * gdb.ada/addr_arith: New testcase.
8669
8670 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
8671
8672 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
8673 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
8674 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
8675 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
8676
8677 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
8678
8679 * gdb.arch/stap-eval-lang-ada.S: Likewise.
8680 * gdb.arch/stap-eval-lang-ada.c: Likewise.
8681 * gdb.arch/stap-eval-lang-ada.exp: New file.
8682
8683 2014-10-14 Yao Qi <yao@codesourcery.com>
8684
8685 * gdb.mi/mi-var-child.c (nothing1): New function.
8686 (nothing2): New function.
8687 (do_children_tests): Set function pointers by nothing1 and
8688 nothing2.
8689 * gdb.mi/mi-var-child.exp: Step over new added statements.
8690 Update test to match the new output.
8691 * gdb.mi/var-cmd.c (nothing1): New function.
8692 (nothing2): New function.
8693 (do_children_tests): Set function pointers by nothing1 and
8694 nothing2.
8695 * gdb.mi/mi-var-display.exp: Update test to match output.
8696 Step to the line specified by $line_dct_nothing.
8697 Increase the number of lines to step.
8698
8699 2014-10-14 Yao Qi <yao@codesourcery.com>
8700
8701 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
8702 tests.
8703 * gdb.mi/mi2-var-child.exp: Likewise.
8704
8705 2014-10-13 Doug Evans <dje@google.com>
8706
8707 * gdb.python/py-objfile.exp: Change name of file name test.
8708
8709 2014-10-13 Doug Evans <dje@google.com>
8710
8711 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
8712 from the start of the CU.
8713
8714 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8715 Yao Qi <yao@codesourcery.com>
8716
8717 Fix "save breakpoints" for "catch" command.
8718 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
8719 Remove -nonewline. Match also the added "main" line.
8720
8721 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8722
8723 Fix "save breakpoints" for "disable $bpnum" command.
8724 * gdb.base/save-bp.c (main): Add label.
8725 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
8726
8727 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8728
8729 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
8730
8731 2014-10-11 Yao Qi <yao@codesourcery.com>
8732
8733 * gdb.server/server-kill.exp: Execute command
8734 "set remote trace-status-packet on" before "tstatus".
8735
8736 2014-10-11 Yao Qi <yao@codesourcery.com>
8737
8738 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
8739 (main): Call getppid.
8740 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
8741 and continue to it. Read variable "server_pid".
8742
8743 2014-10-11 Yao Qi <yao@codesourcery.com>
8744
8745 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
8746
8747 2014-10-11 Yao Qi <yao@codesourcery.com>
8748
8749 * gdb.threads/thread-find.exp: Don't execute command
8750 "info threads".
8751 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
8752 * gdb.threads/linux-dp.exp: Don't check the condition
8753 $threads_created equals to zero.
8754
8755 2014-10-10 Pedro Alves <palves@redhat.com>
8756
8757 * gdb.base/bigcore.exp: Remove references to IRIX.
8758 * gdb.base/funcargs.exp: Likewise.
8759 * gdb.base/interrupt.exp: Likewise.
8760 * gdb.base/mips_pro.exp: Likewise.
8761 * gdb.base/nodebug.exp: Likewise.
8762 * gdb.base/setvar.exp: Likewise.
8763 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
8764
8765 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8766 Pedro Alves <palves@redhat.com>
8767
8768 PR symtab/14466
8769 * gdb.base/vdso-warning.c: New file.
8770 * gdb.base/vdso-warning.exp: New file.
8771
8772 2014-10-02 Doug Evans <dje@google.com>
8773
8774 * gdb.base/structs.c (main): Don't run forever.
8775
8776 2014-10-02 Pedro Alves <palves@redhat.com>
8777
8778 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
8779 (top level) <stop threads 1, stop threads 2>: Use it.
8780
8781 2014-10-02 Pedro Alves <palves@redhat.com>
8782
8783 * gdb.threads/break-while-running.exp (test): Add new
8784 'update_thread_list' argument. Skip "info threads" if false.
8785 (top level): Add new 'update_thread_list' axis.
8786
8787 2014-10-02 Pedro Alves <palves@redhat.com>
8788
8789 PR breakpoints/17431
8790 * gdb.base/execl-update-breakpoints.c: New file.
8791 * gdb.base/execl-update-breakpoints.exp: New file.
8792
8793 2014-10-01 Pedro Alves <palves@redhat.com>
8794
8795 * gdb.base/breakpoint-in-ro-region.c: New file.
8796 * gdb.base/breakpoint-in-ro-region.exp: New file.
8797
8798 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
8799
8800 * gdb.mi/mi-exit-code.exp: New file.
8801 * gdb.mi/mi-exit-code.c: New file.
8802
8803 2014-09-30 Yao Qi <yao@codesourcery.com>
8804
8805 * lib/prelink-support.exp (build_executable_own_libs): Error if
8806 the target isn't native.
8807
8808 2014-09-30 Yao Qi <yao@codesourcery.com>
8809
8810 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
8811 false.
8812
8813 2014-09-22 Pedro Alves <palves@redhat.com>
8814
8815 * gdb.threads/break-while-running.exp: New file.
8816 * gdb.threads/break-while-running.c: New file.
8817
8818 2014-09-19 Yao Qi <yao@codesourcery.com>
8819
8820 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
8821 Invoke test. Restart GDB with --readnow and invoke test again.
8822
8823 2014-09-19 Yao Qi <yao@codesourcery.com>
8824
8825 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
8826 proc set_breakpoint_on_gcd_function. Invoke
8827 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
8828 invoke set_breakpoint_on_gcd_function again.
8829
8830 2014-09-18 Doug Evans <dje@google.com>
8831
8832 * gdb.dwarf2/symtab-producer.exp: New file.
8833
8834 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8835
8836 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
8837 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
8838 * gdb.base/global-var-nested-by-dso.c: Likewise.
8839 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8840
8841 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8842 Pedro Alves <palves@redhat.com>
8843
8844 * gdb.base/watch-bitfields.exp: Pass string other than test file
8845 name to prepare_for_testing.
8846 (watch): New procedure.
8847 (expect_watchpoint): Use with_test_prefix.
8848 (top level): Factor out tests to ...
8849 (test_watch_location, test_regular_watch): ... these new
8850 procedures, and use with_test_prefix and gdb_continue_to_end.
8851
8852 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
8853
8854 PR breakpoints/12526
8855 * gdb.base/watch-bitfields.exp: New file.
8856 * gdb.base/watch-bitfields.c: New file.
8857
8858 2014-09-16 Pedro Alves <palves@redhat.com>
8859
8860 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
8861 software and hardware addresses, not software address against
8862 itself.
8863
8864 2014-09-16 Pedro Alves <palves@redhat.com>
8865
8866 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
8867 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
8868
8869 2014-09-16 Pedro Alves <palves@redhat.com>
8870
8871 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
8872 files.
8873 * gdb.base/a2-run.exp: Remove all code guarded by istarget
8874 "*-*-vxworks*" throughout.
8875 * gdb.base/break.exp: Likewise.
8876 * gdb.base/default.exp: Likewise.
8877 * gdb.base/scope.exp: Likewise.
8878 * gdb.base/sepdebug.exp: Likewise.
8879 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
8880 throughout.
8881 * gdb.base/run.c: Likewise.
8882 * gdb.base/sepdebug.c: Likewise.
8883 * gdb.hp/gdb.aCC/run.c: Likewise.
8884 * gdb.reverse/until-reverse.c: Likewise.
8885 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
8886
8887 2014-09-16 Yao Qi <yao@codesourcery.com>
8888
8889 * boards/local-remote-host-native.exp: New file.
8890
8891 2014-09-14 Doug Evans <xdje42@gmail.com>
8892
8893 * gdb.threads/queue-signal.c (thread_count): New variable.
8894 (thread_count_mutex, thread_count_condvar): New variables.
8895 (incr_thread_count, wait_all_threads_running): New functions.
8896 (main): Wait for all threads to be in their thread functions.
8897
8898 2014-09-13 Doug Evans <xdje42@gmail.com>
8899
8900 * gdb.threads/queue-signal.c: New file.
8901 * gdb.threads/queue-signal.exp: New file.
8902
8903 2014-09-13 Doug Evans <xdje42@gmail.com>
8904
8905 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
8906 be consistent with what default_gdb_init uses.
8907 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
8908 the plain text of the prompt. Add some logging printfs.
8909 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
8910
8911 2014-09-12 Pedro Alves <palves@redhat.com>
8912
8913 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
8914 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
8915 * gdb.arch/i386-size-overlap.exp: Likewise.
8916 * gdb.arch/i386-size.exp: Likewise.
8917 * gdb.arch/i386-unwind.exp: Likewise.
8918 * gdb.base/a2-run.exp: Likewise.
8919 * gdb.base/break.exp: Likewise.
8920 * gdb.base/charset.exp: Likewise.
8921 * gdb.base/chng-syms.exp: Likewise.
8922 * gdb.base/commands.exp: Likewise.
8923 * gdb.base/dbx.exp: Likewise.
8924 * gdb.base/find.exp: Likewise.
8925 * gdb.base/funcargs.exp: Likewise.
8926 * gdb.base/jit-simple.exp: Likewise.
8927 * gdb.base/reread.exp: Likewise.
8928 * gdb.base/sepdebug.exp: Likewise.
8929 * gdb.base/step-bt.exp: Likewise.
8930 * gdb.cp/mb-inline.exp: Likewise.
8931 * gdb.cp/mb-templates.exp: Likewise.
8932 * gdb.objc/basicclass.exp: Likewise.
8933 * gdb.threads/killed.exp: Likewise.
8934
8935 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8936
8937 PR tdep/17379
8938 * gdb.arch/powerpc-stackless.S: New file.
8939 * gdb.arch/powerpc-stackless.exp: New file.
8940
8941 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8942
8943 * gdb.base/attach.c: Include unistd.h.
8944 (main): Call alarm. Add label postloop.
8945 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
8946 gdb_breakpoint, gdb_continue_to_breakpoint.
8947 (test_command_line_attach_run): Kill ${testpid} in one exit path.
8948
8949 2014-09-11 Pedro Alves <palves@redhat.com>
8950
8951 PR gdb/17347
8952 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
8953 * gdb.base/attach.exp (test_command_line_attach_run): New
8954 procedure.
8955 (top level): Call it.
8956
8957 2014-09-11 Pedro Alves <palves@redhat.com>
8958
8959 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
8960 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
8961 (do_command_attach_tests): Use spawn_wait_for_attach.
8962 * gdb.base/solib-overlap.exp: Likewise.
8963 * gdb.multi/multi-attach.exp: Likewise.
8964 * gdb.python/py-prompt.exp: Likewise.
8965 * gdb.python/py-sync-interp.exp: Likewise.
8966 * gdb.server/ext-attach.exp: Likewise.
8967
8968 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
8969
8970 * gdb.fortran/array-element.exp: Remove unexpected "continue"
8971 command in testcase. Simplify testcase.
8972
8973 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8974
8975 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
8976
8977 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8978
8979 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
8980
8981 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8982
8983 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
8984
8985 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8986
8987 * gdb.dwarf2/dynarr-ptr.c: New file.
8988 * gdb.dwarf2/dynarr-ptr.exp: New file.
8989
8990 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8991
8992 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
8993 of 30 rather than hardcoding 120 for a slow test case. Take the
8994 `gdb,timeout' target setting into account for this calculation.
8995 Don't extend the timeout for the test cases that don't need it.
8996
8997 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
8998
8999 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
9000 a factor of 2 for a slow test case. Take the `gdb,timeout'
9001 target setting into account for this calculation.
9002 * gdb.reverse/until-precsave.exp: Increase the timeout by
9003 a factor of 15 and 3 respectively rather than adding 120
9004 for a pair of slow test cases. Take the `gdb,timeout'
9005 target setting into account for this calculation.
9006
9007 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9008
9009 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
9010 timeout, don't pass one down to gdb_expect.
9011 (gdb_expect): Rework timeout selection.
9012
9013 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9014
9015 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
9016 exception on timeout.
9017 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
9018 (gdbserver_start_extended): Catch any `gdbserver_start' error
9019 exceptions.
9020 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
9021 * lib/mi-support.exp (mi_gdb_target_load): Catch any
9022 `gdbserver_gdb_load' error exceptions.
9023
9024 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9025
9026 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
9027 120 on waiting for the TCP socket to open.
9028
9029 2014-09-09 Doug Evans <xdje42@gmail.com>
9030
9031 * gdb.base/default.exp (show_conv_list): Add _caller_is,
9032 _caller_matches, _any_caller_is, _any_caller_matches.
9033
9034 2014-09-09 Doug Evans <xdje42@gmail.com>
9035
9036 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
9037
9038 2014-09-09 Yao Qi <yao@codesourcery.com>
9039
9040 * gdb.mi/mi-var-display.exp: Set print symbol off.
9041
9042 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
9043
9044 PR gdb/17035
9045 * gdb.base/commands.exp: Add tests to verify user-defined
9046 commands with empty bodies.
9047 * gdb.python/py-cmd.exp: Test that we don't show user-defined
9048 python commands in `show user command`.
9049 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
9050 scheme commands in `show user command`.
9051
9052 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9053
9054 PR python/17355
9055 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
9056 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
9057 * gdb.python/py-framefilter-invalidarg.exp: New file.
9058 * gdb.python/py-framefilter-invalidarg.py: New file.
9059
9060 2014-09-06 Doug Evans <xdje42@gmail.com>
9061
9062 PR 15276
9063 * gdb.python/py-caller-is.c: New file.
9064 * gdb.python/py-caller-is.exp: New file.
9065
9066 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
9067
9068 PR gdb/17235
9069 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
9070 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
9071
9072 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
9073
9074 PR fortran/17237
9075 * gdb.fortran/print-formatted.exp: New file.
9076 * gdb.fortran/print-formatted.f90: Likewise.
9077
9078 2014-09-03 Sasha Smundak <asmundak@google.com>
9079
9080 * gdb.python/py-frame.exp: Test Frame.read_register.
9081
9082 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
9083
9084 PR python/16699
9085 * gdb.python/py-completion.exp: New file.
9086 * gdb.python/py-completion.py: Likewise.
9087
9088 2014-08-28 Doug Evans <dje@google.com>
9089
9090 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
9091 eax,etc. are live with values set by gdb and thus the compiler can't
9092 use them.
9093 * gdb.arch/i386-pseudo.c (main): Ditto.
9094
9095 2014-08-27 Doug Evans <dje@google.com>
9096
9097 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
9098
9099 2014-08-25 Doug Evans <dje@google.com>
9100
9101 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
9102 (main): Ditto.
9103
9104 2014-08-25 Doug Evans <dje@google.com>
9105
9106 * gdb.threads/thread-execl.exp: #include <stdio.h>.
9107
9108 2014-08-24 Yao Qi <yao@codesourcery.com>
9109
9110 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
9111 symbol off.
9112 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
9113
9114 2014-08-22 Doug Evans <dje@google.com>
9115
9116 PR 17276
9117 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
9118 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
9119 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
9120
9121 2014-08-22 Yao Qi <yao@codesourcery.com>
9122
9123 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
9124 * gdb.python/py-finish-breakpoint2.exp: Likewise.
9125 * gdb.python/python.exp: Likewise. Use .py file on the host
9126 instead of the build.
9127
9128 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9129
9130 * gdb.threads/gcore-stale-thread.c: New file.
9131 * gdb.threads/gcore-stale-thread.exp: New file.
9132
9133 2014-08-21 Pedro Alves <palves@redhat.com>
9134
9135 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
9136 * gdb.base/gcore-relro-pie.exp: Likewise.
9137 * gdb.base/gcore-relro.exp: Likewise.
9138 * gdb.base/gcore.exp: Likewise.
9139 * gdb.base/print-symbol-loading.exp: Likewise.
9140 * gdb.threads/gcore-thread.exp: Likewise.
9141 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
9142
9143 2014-08-20 Pedro Alves <palves@redhat.com>
9144 Jan Kratochvil <jan.kratochvil@redhat.com>
9145
9146 * Makefile.in (EXTRA_RULES, CC): New variables, get from
9147 configure.
9148 (EXPECT): Handle READ1 being set.
9149 (all): Depend on EXTRA_RULES.
9150 (check-read1, expect-read1, read1.so, read1): New rules.
9151 * README (Testsuite Parameters): Document the READ1 make variable.
9152 (Race detection): New section.
9153 * configure: Regenerate.
9154 * configure.ac: If build==host==target, and running under a
9155 GNU/glibc system, add read1 to the extra Makefile rules.
9156 (EXTRA_RULES): AC_SUBST it.
9157 * lib/read1.c: New file.
9158
9159 2014-08-20 Joel Brobecker <brobecker@adacore.com>
9160
9161 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
9162 the handling of variables declared as a typedef to an array
9163 which a DW_AT_data_location attribute.
9164
9165 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
9166 Pedro Alves <palves@redhat.com>
9167
9168 PR symtab/14604
9169 PR symtab/14605
9170 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
9171 gdb_test.
9172
9173 2014-08-19 Pedro Alves <palves@redhat.com>
9174
9175 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
9176
9177 2014-08-19 Yao Qi <yao@codesourcery.com>
9178
9179 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
9180 right line.
9181
9182 2014-08-18 David Blaikie <dblaikie@gmail.com>
9183
9184 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
9185
9186 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9187
9188 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
9189 attribute in array range.
9190
9191 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9192
9193 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
9194
9195 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9196
9197 PR c++/17132
9198 * gdb.cp/pr17132.cc: New file.
9199 * gdb.cp/pr17132.exp: New file.
9200
9201 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9202
9203 * gdb.python/py-xmethods.py (A_getarrayind)
9204 (E_method_char_worker.__call__, E_method_int_worker.__call__):
9205 Use 'print' with function call syntax.
9206 (E_method_matcher.match): Fix tab vs space indentation mixup.
9207
9208 2014-08-15 Yao Qi <yao@codesourcery.com>
9209
9210 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
9211 false.
9212
9213 2014-08-15 Yao Qi <yao@codesourcery.com>
9214
9215 * gdb.cp/casts.exp: Set print symbol off.
9216 * gdb.cp/class2.exp: Likewise.
9217 * gdb.cp/overload.exp: Likewise.
9218 * gdb.cp/templates.exp: Likewise.
9219
9220 2014-08-11 Doug Evans <dje@google.com>
9221
9222 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9223 (test_load_shlib): Update.
9224
9225 2014-08-09 Yao Qi <yao@codesourcery.com>
9226
9227 * gdb.base/display.exp: Invoke is_address_zero_readable.
9228 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
9229 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9230 * gdb.base/hbreak-unmapped.exp: Return if
9231 is_address_zero_readable returns true.
9232 * gdb.base/signest.exp: Likewise.
9233 * gdb.base/signull.exp: Likewise.
9234 * gdb.base/sigbpt.exp: Likewise.
9235 * gdb.guile/scm-disasm.exp: Do the test if
9236 is_address_zero_readable returns false.
9237 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
9238 * gdb.python/py-arch.exp: Likewise.
9239 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
9240 * lib/gdb.exp (is_address_zero_readable): New proc.
9241
9242 2014-08-09 Yao Qi <yao@codesourcery.com>
9243
9244 PR testsuite/13443
9245 * gdb.mi/mi-var-display.exp: Make test messages unique.
9246
9247 2014-08-04 Tom Tromey <tromey@redhat.com>
9248
9249 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
9250 target 0".
9251
9252 2014-08-04 Tom Tromey <tromey@redhat.com>
9253
9254 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
9255 "target_resume".
9256
9257 2014-08-01 Joel Brobecker <brobecker@adacore.com>
9258
9259 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9260 inner_vla_struct_object_size.
9261 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
9262 as xfail.
9263
9264 2014-07-30 Pedro Alves <palves@redhat.com>
9265
9266 * gdb.threads/signal-command-handle-nopass.exp (test): Add
9267 comment.
9268
9269 2014-07-29 Yao Qi <yao@codesourcery.com>
9270
9271 PR gdb/17206
9272 * gdb.base/until-nodebug.exp: New.
9273
9274 2014-07-28 Doug Evans <xdje42@gmail.com>
9275
9276 PR guile/17203
9277 * gdb.guile/scm-parameter.exp: Add tests for trying to create
9278 previously existing parameter, and previously ambiguously spelled
9279 parameter.
9280
9281 2014-07-28 Will Newton <will.newton@linaro.org>
9282
9283 * gdb.base/varargs.exp: Remove KFAILs for ARM.
9284
9285 2014-07-26 Ludovic Courtès <ludo@gnu.org>
9286 Doug Evans <xdje42@gmail.com>
9287
9288 PR guile/17146
9289 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
9290
9291 2014-07-25 Pedro Alves <palves@redhat.com>
9292
9293 * gdb.threads/signal-command-handle-nopass.c: New file.
9294 * gdb.threads/signal-command-handle-nopass.exp: New file.
9295 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
9296 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
9297 * gdb.threads/signal-delivered-right-thread.c: New file.
9298 * gdb.threads/signal-delivered-right-thread.exp: New file.
9299
9300 2014-07-25 Pedro Alves <palves@redhat.com>
9301
9302 * gdb.base/double-prompt-target-event-error.exp
9303 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
9304 match.
9305 (cancel_pagination_in_target_event): Rework double prompt
9306 detection.
9307 * gdb.base/paginate-after-ctrl-c-running.exp
9308 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
9309 <return>' match.
9310 * gdb.base/paginate-bg-execution.exp
9311 (test_bg_execution_pagination_return)
9312 (test_bg_execution_pagination_cancel): Remove '-notransfer
9313 <return>' matches.
9314 * gdb.base/paginate-execution-startup.exp
9315 (test_fg_execution_pagination_return)
9316 (test_fg_execution_pagination_cancel): Remove '-notransfer
9317 <return>' matches.
9318 * gdb.base/paginate-inferior-exit.exp
9319 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9320 match.
9321 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9322 * lib/gdb.exp (pagination_prompt): Run text through
9323 string_to_regexp.
9324 (gdb_test_multiple): Match $pagination_prompt instead of
9325 "<return>".
9326 (string_to_regexp): Move to lib/gdb-utils.exp.
9327
9328 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9329
9330 * gdb.arch/amd64-entry-value-paramref.S: New file.
9331 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9332 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9333 * gdb.arch/amd64-optimout-repeat.S: New file.
9334 * gdb.arch/amd64-optimout-repeat.c: New file.
9335 * gdb.arch/amd64-optimout-repeat.exp: New file.
9336
9337 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9338
9339 PR gdb/17170
9340 * gdb.base/statistics.exp: New file.
9341
9342 2014-07-17 Doug Evans <dje@google.com>
9343
9344 PR gdb/17170
9345 * gdb.base/maint.exp: Update testing of per-command stats.
9346
9347 2014-07-16 Pedro Alves <palves@redhat.com>
9348
9349 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9350 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9351 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9352 (tfile_write_buf): New functions.
9353 (add_memory_block): Rewrite using the above.
9354 (adjust_function_address): New function.
9355 (FUNCTION_ADDRESS): New macro.
9356 (write_basic_trace_file): Remove short_x local, and use
9357 tfile_write_16. Change type of func_addr local to unsigned long
9358 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9359 here. Cast argument of add_memory_block to char pointer.
9360 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9361 (main): Remove parameters.
9362 * gdb.trace/tfile.exp: Remove nowarnings.
9363
9364 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9365
9366 * gdb.base/debug-expr.exp: Test string evaluation with
9367 "debug expression" on.
9368
9369 2014-07-15 Pedro Alves <palves@redhat.com>
9370
9371 * gdb.base/reread.exp: Use clean_restart.
9372
9373 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9374
9375 * gdb.arch/avr-flash-qualifer.c: New.
9376 * gdb.arch/avr-flash-qualifer.exp: New.
9377
9378 2014-07-14 Pedro Alves <palves@redhat.com>
9379
9380 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9381 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9382
9383 2014-07-14 Pedro Alves <palves@redhat.com>
9384
9385 * gdb.base/double-prompt-target-event-error.c: New file.
9386 * gdb.base/double-prompt-target-event-error.exp: New file.
9387
9388 2014-07-14 Pedro Alves <palves@redhat.com>
9389
9390 PR gdb/17072
9391 * gdb.base/paginate-inferior-exit.c: New file.
9392 * gdb.base/paginate-inferior-exit.exp: New file.
9393
9394 2014-07-14 Pedro Alves <palves@redhat.com>
9395
9396 PR gdb/17072
9397 * gdb.base/paginate-bg-execution.c: New file.
9398 * gdb.base/paginate-bg-execution.exp: New file.
9399
9400 2014-07-14 Pedro Alves <palves@redhat.com>
9401
9402 PR gdb/17072
9403 * gdb.base/paginate-execution-startup.c: New file.
9404 * gdb.base/paginate-execution-startup.exp: New file.
9405 * lib/gdb.exp (pagination_prompt): New global.
9406 (default_gdb_spawn): New procedure, factored out from
9407 default_gdb_spawn.
9408 (default_gdb_start): Adjust to call default_gdb_spawn.
9409 (gdb_spawn): New procedure.
9410
9411 2014-07-14 Pedro Alves <palves@redhat.com>
9412
9413 * lib/gdb.exp (gdb_assert): New procedure.
9414 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
9415
9416 2014-07-14 Pedro Alves <palves@redhat.com>
9417
9418 * gdb.base/execution-termios.c: New file.
9419 * gdb.base/execution-termios.exp: New file.
9420
9421 2014-07-14 Tom Tromey <tromey@redhat.com>
9422
9423 * gdb.cp/vla-cxx.cc: New file.
9424 * gdb.cp/vla-cxx.exp: New file.
9425
9426 2014-07-14 Tom Tromey <tromey@redhat.com>
9427
9428 * gdb.reverse/rerun-prec.c: New file.
9429 * gdb.reverse/rerun-prec.exp: New file.
9430
9431 2014-07-12 Maciej W. Rozycki <macro@mips.com>
9432 Maciej W. Rozycki <macro@codesourcery.com>
9433
9434 * lib/gdb-utils.exp: New file.
9435 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
9436 inline `gdb_init_command' processing.
9437 (gdb_start_cmd): Likewise.
9438 * lib/mi-support.exp (mi_run_cmd): Likewise.
9439 * README: Document `gdb_init_command' and `gdb_init_commands'.
9440
9441 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9442
9443 Fix false FAIL running under a very long directory name.
9444 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
9445 and "set print elements 10000". Twice.
9446
9447 2014-07-11 Yao Qi <yao@codesourcery.com>
9448
9449 * gdb.base/exprs.exp: "set print symbol off".
9450
9451 2014-07-11 Pedro Alves <palves@redhat.com>
9452
9453 * gdb.threads/kill.c: New file.
9454 * gdb.threads/kill.exp: New file.
9455
9456 2014-07-10 Yao Qi <yao@codesourcery.com>
9457
9458 * gdb.trace/tfile.c (write_basic_trace_file)
9459 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
9460 address written to trace file.
9461
9462 2014-07-09 Pedro Alves <palves@redhat.com>
9463
9464 * gdb.base/attach-wait-input.exp: New file.
9465 * gdb.base/attach-wait-input.c: New file.
9466
9467 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9468
9469 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
9470 setting up test structures.
9471 (main): Call new test function.
9472 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
9473 test function, continue into test function and walk test
9474 structures.
9475
9476 2014-07-02 Yao Qi <yao@codesourcery.com>
9477
9478 * gdb.trace/entry-values.c: Define labels 'foo_start' and
9479 'bar_start' at the beginning of functions 'foo' and 'bar'
9480 respectively.
9481 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
9482 instead of 'foo' and 'bar'.
9483
9484 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
9485
9486 * gdb.btrace/segv.exp: New.
9487 * gdb.btrace/segv.c: New.
9488
9489 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
9490
9491 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
9492 instruction.
9493
9494 2014-06-30 Mark Wielaard <mjw@redhat.com>
9495
9496 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
9497 vulture, vilify, villar): New volatile array constants.
9498 (vindictive, vegetation): New const volatile array constants.
9499 * gdb.base/volatile.exp: Test volatile and const volatile array
9500 types.
9501
9502 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9503
9504 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
9505 target lacks support for awatch, rwatch, or hbreak.
9506
9507 2014-06-27 Yao Qi <yao@codesourcery.com>
9508
9509 * gdb.multi/dummy-frame-restore.exp: New.
9510 * gdb.multi/dummy-frame-restore.c: New.
9511
9512 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
9513
9514 * gdb.btrace/gcore.exp: New.
9515
9516 2014-06-23 Pedro Alves <palves@redhat.com>
9517
9518 * gdb.base/watchpoint-reuse-slot.c: New file.
9519 * gdb.base/watchpoint-reuse-slot.exp: New file.
9520
9521 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
9522
9523 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
9524 progspace's filename in 'info', 'enable' and 'disable' command
9525 tests.
9526
9527 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9528
9529 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
9530 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9531 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
9532
9533 2014-06-20 Gary Benson <gbenson@redhat.com>
9534
9535 * gdb.arch/i386-avx.exp: Fix include file location.
9536 * gdb.arch/i386-sse.exp: Likewise.
9537
9538 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
9539
9540 * gdb.dlang/expression.exp: New file.
9541
9542 2014-06-19 Pedro Alves <palves@redhat.com>
9543
9544 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
9545 out from ...
9546 (top level): ... here. Iterate running tests under different
9547 scheduler-locking settings.
9548
9549 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
9550
9551 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
9552 to DW_FORM_addr and use non-zero addresses.
9553
9554 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
9555
9556 PR gdb/17017
9557 * gdb.python/py-xmethods.cc: Add global function call counters and
9558 increment them in their respective functions. Remove "cout"
9559 statements.
9560 * gdb.python/py-xmethods.exp: Make tests check the global function
9561 call counters instead of depending on inferior IO.
9562
9563 2014-06-18 Don Breazeal <donb@codesourcery.com>
9564
9565 * gdb.base/foll-fork.exp (default_fork_parent_follow):
9566 Deleted procedure.
9567 (explicit_fork_parent_follow): Deleted procedure.
9568 (explicit_fork_child_follow): Deleted procedure.
9569 (test_follow_fork): New procedure.
9570 (do_fork_tests): Replace calls to deleted procedures with
9571 calls to test_follow_fork and reset GDB for subsequent
9572 procedure calls.
9573
9574 2014-06-17 Yao Qi <yao@codesourcery.com>
9575
9576 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
9577 CP1252.
9578
9579 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
9580
9581 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
9582 Initialize ptr and S explicitly.
9583 (skip_type_update_when_not_use_rtti_test): Likewise.
9584
9585 2014-06-16 Keith Seitz <keiths@redhat.com>
9586
9587 PR mi/15863
9588 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
9589 the inferior is started.
9590
9591 2014-06-16 Pedro Alves <palves@redhat.com>
9592
9593 * gdb.base/break-main-file-remove-fail.c: New file.
9594 * gdb.base/break-main-file-remove-fail.exp: New file.
9595 * gdb.base/break-unload-file.exp: Use build_executable instead of
9596 prepare_for_testing.
9597 (test_break): New parameter "initial_load". Handle it.
9598 (top level): Add initial_load cmdline/file axis.
9599
9600 2014-06-12 Tom Tromey <tromey@redhat.com>
9601
9602 * gdb.base/completion.exp: Don't use directory name in test.
9603
9604 2014-06-09 Gary Benson <gbenson@redhat.com>
9605
9606 * gdb.base/sigall.c [Functions to send signals]: Reorder to
9607 separate the always-available ANSI-standard signals from the
9608 signals that require checking.
9609 (main): Likewise.
9610 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
9611 Likewise.
9612 (main): Likewise.
9613
9614 2014-06-07 Keith Seitz <keiths@redhat.com>
9615
9616 Revert:
9617 PR c++/16253
9618 * gdb.cp/var-tag.cc: New file.
9619 * gdb.cp/var-tag.exp: New file.
9620 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9621 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9622 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9623 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9624
9625 2014-06-06 Doug Evans <xdje42@gmail.com>
9626
9627 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
9628
9629 2014-06-06 Pedro Alves <palves@redhat.com>
9630
9631 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
9632 in target debug output instead of looking at RSP packets,
9633 disabling the test on any target that uses hardware stepping.
9634 Update comments.
9635
9636 2014-06-06 Pedro Alves <palves@redhat.com>
9637
9638 * gdb.base/break-unload-file.exp: Fix typo.
9639
9640 2014-06-06 Yao Qi <yao@codesourcery.com>
9641
9642 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
9643 from "jit_function" to "^jit_function".
9644
9645 2014-06-06 Yao Qi <yao@codesourcery.com>
9646
9647 * gdb.base/async.c (foo): Add one statement.
9648 * gdb.base/async.exp: Get the next instruction address and
9649 match the output of "nexti" by instruction address. Match
9650 the hex address in the output of "finish".
9651
9652 2014-06-06 Gary Benson <gbenson@redhat.com>
9653
9654 * gdb.base/call-signals.c: Remove preprocessor conditionals
9655 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
9656 SIGSEGV and SIGTERM.
9657 * gdb.base/sigall.c: Likewise.
9658 * gdb.base/unwindonsignal.c: Likewise.
9659 * gdb.reverse/sigall-reverse.c: Likewise.
9660
9661 2014-06-06 Yao Qi <yao@codesourcery.com>
9662
9663 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
9664 readable, skip the test.
9665
9666 2014-06-06 Yao Qi <yao@codesourcery.com>
9667
9668 * gdb.threads/staticthreads.c (thread_function): Move the line
9669 setting breakpoint on forward.
9670 * gdb.threads/staticthreads.exp: Update comments.
9671
9672 2014-06-05 Ludovic Courtès <ludo@gnu.org>
9673
9674 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
9675 "history-append! type error".
9676
9677 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
9678
9679 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
9680 erroneous dprintf expected input.
9681
9682 2014-06-04 Doug Evans <xdje42@gmail.com>
9683
9684 * gdb.guile/scm-generics.exp: Delete.
9685
9686 2014-06-04 Doug Evans <xdje42@gmail.com>
9687
9688 * gdb.guile/scm-breakpoint.exp: Update.
9689 Add tests for breakpoint registration.
9690
9691 2014-06-04 Tom Tromey <tromey@redhat.com>
9692
9693 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
9694 VLA-in-union.
9695 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
9696 inner_vla_struct, vla_union types. Initialize objects of those
9697 types and compute their sizes.
9698
9699 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
9700 Hui Zhu <hui@codesourcery.com>
9701
9702 * gdb.base/fileio.exp: Add test for shell not available as well as
9703 available.
9704 * gdb.base/fileio.c (test_system): Check for shell twice.
9705
9706 2014-06-04 Yao Qi <yao@codesourcery.com>
9707
9708 * gdb.base/auto-connect-native-target.exp: Remove redundant
9709 space from the regexp pattern.
9710
9711 2014-06-04 Yao Qi <yao@codesourcery.com>
9712
9713 * gdb.base/default.exp: Replace "child" with "native" in
9714 regexp pattern.
9715
9716 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
9717
9718 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
9719 * gdb.python/py-xmethods.exp: New tests to test xmethods.
9720 * gdb.python/py-xmethods.py: Python script supporting the
9721 new testcase and tests.
9722
9723 2014-06-03 Joel Brobecker <brobecker@adacore.com>
9724 Pedro Alves <palves@redhat.com>
9725
9726 PR breakpoints/17000
9727 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
9728 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
9729
9730 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
9731
9732 * gdb.base/subst.exp: Add tests to verify partial path matching
9733 output.
9734
9735 2014-06-03 Pedro Alves <palves@redhat.com>
9736
9737 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
9738 target that doesn't use software single-stepping.
9739
9740 2014-06-03 Pedro Alves <palves@redhat.com>
9741
9742 PR breakpoints/17000
9743 * gdb.base/sss-bp-on-user-bp-2.c: New file.
9744 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
9745
9746 2014-06-02 Doug Evans <xdje42@gmail.com>
9747
9748 * gdb.guile/scm-parameter.exp: New file.
9749
9750 2014-06-02 Doug Evans <xdje42@gmail.com>
9751
9752 * gdb.guile/scm-cmd.c: New file.
9753 * gdb.guile/scm-cmd.exp: New file.
9754
9755 2014-06-02 Doug Evans <xdje42@gmail.com>
9756
9757 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
9758 pretty-printer lookup.
9759 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
9760 (make-pp_s-printer): Call it.
9761 (make-pretty-printer-from-dict): New function.
9762 (lookup-pretty-printer-maker-from-dict): New function.
9763 (*pretty-printer*): Simplify.
9764 (make-objfile-pp_s-printer): New function.
9765 (install-objfile-pretty-printers!): New function.
9766 (make-progspace-pp_s-printer): New function.
9767 (install-progspace-pretty-printers!): New function.
9768 * gdb.guile/scm-progspace.c: New file.
9769 * gdb.guile/scm-progspace.exp: New file.
9770
9771 2014-06-02 Pedro Alves <palves@redhat.com>
9772
9773 * gdb.base/dprintf-bp-same-addr.c: New file.
9774 * gdb.base/dprintf-bp-same-addr.exp: New file.
9775
9776 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9777
9778 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
9779 * gdb.arch/powerpc-power.s: Likewise.
9780
9781 2014-06-02 Joel Brobecker <brobecker@adacore.com>
9782
9783 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
9784
9785 2014-06-01 Yao Qi <yao@codesourcery.com>
9786
9787 * gdb.base/watchpoint.exp (test_watch_location): Check null
9788 pointer can be dereferenced. If not, do the test, otherwise
9789 skip it.
9790
9791 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9792
9793 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
9794 results.
9795 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
9796
9797 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9798
9799 * gdb.arch/amd64-invalid-stack-middle.S: New file.
9800 * gdb.arch/amd64-invalid-stack-middle.c: New file.
9801 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
9802 * gdb.arch/amd64-invalid-stack-top.c: New file.
9803 * gdb.arch/amd64-invalid-stack-top.exp: New file.
9804
9805 2014-05-30 Pedro Alves <palves@redhat.com>
9806
9807 PR breakpoints/17000
9808 * gdb.base/sss-bp-on-user-bp.c: New file.
9809 * gdb.base/sss-bp-on-user-bp.exp: New file.
9810
9811 2014-05-30 David Blaikie <dblaikie@gmail.com>
9812
9813 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
9814 gnu_inline semantics via attribute.
9815 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
9816 source explicitly specifies the required semantics.
9817
9818 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
9819
9820 * gdb.reverse/sigall-reverse.exp: Fix a typo.
9821
9822 2014-05-29 Pedro Alves <palves@redhat.com>
9823 Tom Tromey <tromey@redhat.com>
9824
9825 * gdb.base/async-shell.exp: Don't enable target-async.
9826 * gdb.base/async.exp
9827 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
9828 parameter. Adjust.
9829 (top level): Don't test with "target-async".
9830 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
9831 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
9832 * gdb.base/inferior-died.exp: Don't enable target-async.
9833 * gdb.base/interrupt-noterm.exp: Likewise.
9834 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
9835 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9836 * gdb.mi/mi-nonstop.exp: Likewise.
9837 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9838 * gdb.mi/mi-nsintrall.exp: Likewise.
9839 * gdb.mi/mi-nsmoribund.exp: Likewise.
9840 * gdb.mi/mi-nsthrexec.exp: Likewise.
9841 * gdb.mi/mi-watch-nonstop.exp: Likewise.
9842 * gdb.multi/watchpoint-multi.exp: Adjust comment.
9843 * gdb.python/py-evsignal.exp: Don't enable target-async.
9844 * gdb.python/py-evthreads.exp: Likewise.
9845 * gdb.python/py-prompt.exp: Likewise.
9846 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
9847 * gdb.server/solib-list.exp: Don't enable target-async.
9848 * gdb.threads/thread-specific-bp.exp: Likewise.
9849 * lib/mi-support.exp: Adjust to use mi-async.
9850
9851 2014-05-29 Pedro Alves <palves@redhat.com>
9852
9853 PR gdb/13860
9854 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
9855 reason, even in sync mode.
9856
9857 2014-05-29 Pedro Alves <palves@redhat.com>
9858 Hui Zhu <hui@codesourcery.com>
9859
9860 PR PR15693
9861 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
9862 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
9863 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
9864 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
9865
9866 2014-05-28 Joel Brobecker <brobecker@adacore.com>
9867
9868 * config/monitor.exp (gdb_target_monitor): Replace use of
9869 "set remotebaud" by "set serial baud".
9870
9871 2014-05-26 Andy Wingo <wingo@igalia.com>
9872
9873 * gdb.guile/scm-breakpoint.exp:
9874 * gdb.guile/scm-gsmob.exp: Update to use plain old object
9875 properties instead of gdb-object-properties.
9876
9877 2014-05-26 Yao Qi <yao@codesourcery.com>
9878
9879 * gdb.server/no-thread-db.exp: Specify source file name
9880 explicitly when setting a breakpoint.
9881
9882 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9883
9884 * gdb.btrace/vdso.c: New.
9885 * gdb.btrace/vdso.exp: New.
9886
9887 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9888
9889 * gdb.base/gcore.exp (capture_command_output): Move ...
9890 * lib/gdb.exp (capture_command_output): ... here.
9891
9892 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9893
9894 * gdb.btrace/data.exp: Test memory access during btrace replay.
9895
9896 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
9897
9898 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
9899
9900 2014-05-21 Pedro Alves <palves@redhat.com>
9901
9902 PR gdb/13860
9903 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
9904 (top level): Test that output related to execution commands is
9905 sent to the console with CLI commands, but not with MI commands.
9906 Test that breakpoint events are always mirrored to the console.
9907 Also expect the new source line to be output after a "next" in
9908 async mode too. Make it a pass/fail test.
9909 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
9910 output.
9911 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
9912
9913 2014-05-21 Pedro Alves <palves@redhat.com>
9914
9915 * gdb.base/list.exp (build_pattern, test_list): New procedures.
9916 Use them to test variations of "list" after reaching a breakpoint.
9917 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
9918 Test "list" with listsize 10 after reaching a breakpoint.
9919 * gdb.python/python.exp (decode_line current location line
9920 number): Adjust expected line number.
9921
9922 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
9923
9924 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
9925 behavior for $args, pass it directly to "run".
9926
9927 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
9928
9929 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
9930 30000 to 65536.
9931
9932 2014-05-21 Pedro Alves <palves@redhat.com>
9933
9934 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
9935 auto-connect-native-target off".
9936 * gdb.base/auto-connect-native-target.c: New file.
9937 * gdb.base/auto-connect-native-target.exp: New file.
9938
9939 2014-05-21 Pedro Alves <palves@redhat.com>
9940
9941 * gdb.base/default.exp: Test "target native" instead of "target
9942 child".
9943
9944 2014-05-21 Mark Wielaard <mjw@redhat.com>
9945
9946 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9947
9948 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9949
9950 Fix TLS access for -static -pthread.
9951 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
9952 <HAVE_TLS> (thread_function, main): Initialize it.
9953 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
9954 Add clean_restart.
9955 <$have_tls != "">: Check TLSVAR.
9956
9957 2014-05-21 Pedro Alves <palves@redhat.com>
9958
9959 * gdb.base/dcache-line-read-error.c: New.
9960 * gdb.base/dcache-line-read-error.exp: New.
9961
9962 2014-05-20 Pedro Alves <palves@redhat.com>
9963
9964 * gdb.base/compare-sections.c: New file.
9965 * gdb.base/compare-sections.exp: New file.
9966
9967 2014-05-20 Pedro Alves <palves@redhat.com>
9968
9969 * gdb.base/break-idempotent.c: New file.
9970 * gdb.base/break-idempotent.exp: New file.
9971
9972 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
9973
9974 * gdb.btrace/nohist.exp: New.
9975
9976 2014-05-20 Yao Qi <yao@codesourcery.com>
9977
9978 * lib/gdb.exp (gdb_init): Set timeout if test file is under
9979 gdb.reverse directory and gdb_reverse_timeout exists in board
9980 setting.
9981 * README: Document gdb_reverse_timeout.
9982
9983 2014-05-20 Yao Qi <yao@codesourcery.com>
9984
9985 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
9986 'test_file_name'. Treat args as a string instead of a list.
9987 (gdb_init): Rename argument 'args' by 'test_file_name'.
9988
9989 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9990
9991 * gdb.arch/powerpc-power.exp: New file.
9992 * gdb.arch/powerpc-power.s: New file.
9993
9994 2014-05-16 Doug Evans <dje@google.com>
9995
9996 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
9997 * gdb.base/completion.exp: Check that all expected files exist
9998 before doing file completion.
9999
10000 2014-05-16 Doug Evans <dje@google.com>
10001
10002 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
10003 Update.
10004 (do_syscall_tests_without_xml): Update.
10005
10006 2014-05-16 Pedro Alves <palves@redhat.com>
10007
10008 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
10009 instead of "unknown output after running".
10010
10011 2014-05-16 Yao Qi <yao@codesourcery.com>
10012
10013 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
10014 file1.txt from host at the end.
10015 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10016
10017 2014-05-15 Doug Evans <dje@google.com>
10018
10019 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
10020 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
10021 loading file. Add test for TU lookup.
10022
10023 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10024
10025 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
10026 calling "-exec-arguments" or "set args" before running the
10027 inferior.
10028
10029 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10030
10031 * lib/mi-support.exp (mi_expect_stop): Expect message for
10032 inferiors that exit with non-zero exit code.
10033
10034 2014-05-14 Yao Qi <yao@codesourcery.com>
10035
10036 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
10037 match absolute path on remote host.
10038 (test_file_list_exec_source_files): Remove "/" from the
10039 pattern.
10040
10041 2014-05-14 Yao Qi <yao@codesourcery.com>
10042
10043 * boards/local-remote-host-notty.exp (${board}_file): New
10044 proc.
10045
10046 2014-05-07 Kyle McMartin <kyle@redhat.com>
10047
10048 Pushed by Joel Brobecker <brobecker@adacore.com>.
10049 * gdb.arch/aarch64-atomic-inst.c: New file.
10050 * gdb.arch/aarch64-atomic-inst.exp: New file.
10051
10052 2014-05-07 Yao Qi <yao@codesourcery.com>
10053
10054 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
10055 in current context" too.
10056
10057 2014-05-05 Keith Seitz <keiths@redhat.com>
10058
10059 * gdb.linespec/ls-dollar.exp: Add test for linespec
10060 file:convenience_variable.
10061
10062 2014-05-05 Yao Qi <yao@codesourcery.com>
10063
10064 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
10065 traceframes into tfile and ctf trace files. Read data from
10066 trace file and test collected data.
10067 (gdb_collect_locals_test): Likewise.
10068 (gdb_unavailable_registers_test): Likewise.
10069 (gdb_unavailable_floats): Likewise.
10070 (gdb_collect_globals_test): Likewise.
10071 (top-level): Append "ctf" to trace_file_targets if GDB
10072 supports.
10073
10074 2014-05-05 Yao Qi <yao@codesourcery.com>
10075
10076 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
10077 code to ...
10078 (gdb_collect_args_test_1): ... it. New proc.
10079 (gdb_collect_locals_test): Move some code to ...
10080 (gdb_collect_locals_test_1): ... it. New proc.
10081 (gdb_unavailable_registers_test): Move some code to ...
10082 (gdb_unavailable_registers_test_1): ... it. New proc.
10083 (gdb_unavailable_floats): Move some code to ...
10084 (gdb_unavailable_floats_1): ... it. New proc.
10085
10086 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10087
10088 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
10089 probes to test for bitness recognition.
10090 * gdb.arch/amd64-stap-optional-prefix.exp
10091 (test_probe_value_without_reg): New procedure.
10092 Add code to test for different kinds of bitness.
10093
10094 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10095
10096 PR breakpoints/16889
10097 * gdb.arch/amd64-stap-optional-prefix.S: New file.
10098 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10099
10100 2014-05-01 Pedro Alves <palves@redhat.com>
10101
10102 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
10103 gdb_file_cmd if no file is specified.
10104 * boards/native-extended-gdbserver.exp (gdb_load): Use the
10105 last_loaded_file to set the remote exec-file.
10106
10107 2014-05-01 Pedro Alves <palves@redhat.com>
10108
10109 * boards/local-remote-host.exp: New file.
10110
10111 2014-05-01 Pedro Alves <palves@redhat.com>
10112
10113 * boards/local-remote-host.exp: Rename to ...
10114 * boards/local-remote-host-notty.exp: ... this.
10115
10116 2014-04-28 Joel Brobecker <brobecker@adacore.com>
10117
10118 * gdb.ada/dyn_arrayidx: New testcase.
10119
10120 2014-04-26 Yao Qi <yao@codesourcery.com>
10121
10122 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
10123 and compute the length of function main. Save it in
10124 $main_length.
10125 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
10126 (top-level): Use gdb_compile to compile objects into
10127 executable and restart GDB. Remove invocation to
10128 prepare_for_testing.
10129
10130 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
10131 Pedro Alves <palves@redhat.com>
10132
10133 PR server/16255
10134 * gdb.multi/multi-attach.c: New file.
10135 * gdb.multi/multi-attach.exp: New file.
10136
10137 2014-04-25 Pedro Alves <palves@redhat.com>
10138
10139 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
10140 user.
10141 (top level): Test that "set remote conditional-breakpoints-packet
10142 off" works as intended.
10143 * gdb.base/dprintf.exp: Test that "set remote
10144 breakpoint-commands-packet off" works as intended.
10145 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
10146 New function.
10147 (top level): Call it.
10148 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
10149 remote fast-tracepoints-packet off" works as intended.
10150 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
10151 * lib/gdb.exp (gdb_is_target_remote): ... here.
10152
10153 2014-04-24 David Blaikie <dblaikie@gmail.com>
10154
10155 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
10156 ensure clang would not discard them.
10157 * gdb.base/gdbvars.c: Ditto.
10158 * gdb.base/memattr.c: Ditto.
10159 * gdb.base/whatis.c: Ditto.
10160 * gdb.python/py-prettyprint.c: Ditto.
10161 * gdb.trace/actions.c: Ditto.
10162 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
10163 ensure clang would not discard it.
10164
10165 2014-04-24 David Blaikie <dblaikie@gmail.com>
10166
10167 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
10168 clang to emit the full definition of type required by the test
10169 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
10170
10171 2014-04-24 David Blaikie <dblaikie@gmail.com>
10172
10173 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
10174 coax Clang into emitting the definition of the type.
10175 * gdb.cp/pr10728-x.h (y): Ditto.
10176 * gdb.cp/pr10728-y.cc (y): Ditto.
10177
10178 2014-04-24 David Blaikie <dblaikie@gmail.com>
10179
10180 * gdb.base/label.exp: XFAIL label related tests under Clang.
10181 * gdb.cp/cplabel.exp: Ditto.
10182 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
10183 under Clang those using labels.
10184
10185 2014-04-25 Yao Qi <yao@codesourcery.com>
10186
10187 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
10188 double_label.
10189 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
10190 partial_label and double_label.
10191
10192 2014-04-24 David Blaikie <dblaikie@gmail.com>
10193
10194 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
10195
10196 2014-04-24 David Blaikie <dblaikie@gmail.com>
10197
10198 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
10199 of the function to work across GCC and Clang.
10200 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
10201 pointer types (const void ** const V void **).
10202
10203 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
10204 Walfred Tedeschi <walfred.tedeschi@intel.com>
10205
10206 * Makefile.in (EXECUTABLES): Added i386-avx512.
10207 * gdb.arch/i386-avx512.c: New file.
10208 * gdb.arch/i386-avx512.exp: Likewise.
10209
10210 2014-04-23 Keith Seitz <keiths@redhat.com>
10211
10212 * lib/mi-support.exp (mi_list_breakpoints): Delete.
10213 (mi_make_breakpoint_table): New procedure.
10214 (mi_create_breakpoint): Use mi_make_breakpoint
10215 and return the result.
10216 (mi_make_breakpoint): New procedure.
10217 (mi_build_kv_pairs): New procedure.
10218
10219 * gdb.mi/mi-break.exp: Remove unused globals,
10220 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
10221 All callers updated.
10222 * gdb.mi/mi-dprintf.exp: Use variable to track command
10223 number.
10224 Update all callers of mi_create_breakpoint and use
10225 mi_make_breakpoint_table.
10226 Remove any unused global variables.
10227 * gdb.mi/mi-nonstop.exp: Likewise.
10228 * gdb.mi/mi-nsintrall.exp: Likewise.
10229 * gdb.mi/mi-nsmoribund.exp: Likewise.
10230 * gdb.mi/mi-nsthrexec.exp: Likewise.
10231 * gdb.mi/mi-reverse.exp: Likewise.
10232 * gdb.mi/mi-simplerun.exp: Likewise.
10233 * gdb.mi/mi-stepn.exp: Likewise.
10234 * gdb.mi/mi-syn-frame.exp: Likewise.
10235 * gdb.mi/mi-until.exp: Likewise.
10236 * gdb.mi/mi-var-cp.exp: Likewise.
10237 * gdb.mi/mi-var-display.exp: Likewise.
10238 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
10239 * gdb.mi/mi2-var-child.exp: Likewise.
10240 * gdb.mi/mi-vla-c99.exp: Likewise.
10241 * lib/mi-support.exp: Likewise.
10242
10243 From Ian Lance Taylor <iant@cygnus.com>:
10244 * lib/gdb.exp (parse_args): New procedure.
10245
10246 2014-04-23 Pedro Alves <palves@redhat.com>
10247
10248 * gdb.base/break-unload-file.c: New file.
10249 * gdb.base/break-unload-file.exp: New file.
10250 * gdb.base/sym-file-lib.c (baz): New function.
10251 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
10252 field.
10253 (load): Store the segment's mapped size.
10254 (unload): New function.
10255 (unload_shlib): New function.
10256 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
10257 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
10258 set a breakpoint at baz, and call it.
10259 * gdb.base/sym-file.exp: New tests for stale breakpoint
10260 instructions.
10261
10262 2014-04-23 Pedro Alves <palves@redhat.com>
10263
10264 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
10265 * gdb.base/hbreak-in-shr-unsupported.c: New file.
10266 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
10267 * gdb.base/hbreak-unmapped.c: New file.
10268 * gdb.base/hbreak-unmapped.exp: New file.
10269 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
10270 * lib/gdb.exp (gdb_is_target_remote): ... here.
10271
10272 2014-04-22 Pedro Alves <palves@redhat.com>
10273
10274 * gdb.base/consecutive-step-over.c: New file.
10275 * gdb.base/consecutive-step-over.exp: New file.
10276
10277 2014-04-22 Pedro Alves <palves@redhat.com>
10278
10279 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
10280 instead of send_gdb/gdb_expect.
10281
10282 2014-04-22 Yao Qi <yao@codesourcery.com>
10283
10284 * lib/trace-support.exp (generate_tracefile): New procedure.
10285 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
10286 return 0.
10287 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
10288 if generate_tracefile returns 1.
10289
10290 2014-04-18 Tom Tromey <palves@redhat.com>
10291 Pedro alves <tromey@redhat.com>
10292
10293 PR backtrace/15558
10294 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
10295 with a backtrace limit.
10296 * gdb.python/py-frame-inline.exp: Test running to an inline
10297 function with a backtrace limit, and printing the newest frame.
10298 * gdb.python/py-frame-inline.c (main): Call f.
10299
10300 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10301
10302 * gdb.java/jnpe.exp: Drop srcdir from untested path.
10303
10304 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10305
10306 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
10307 Drop prefix from unsupported source file path.
10308
10309 2014-04-17 Yao Qi <yao@codesourcery.com>
10310
10311 * lib/gdb.exp (with_target_charset): New proc.
10312 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10313 with_target_charset.
10314 (test_print_strings): Likewise.
10315 (test_repeat_bytes): Likewise.
10316 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10317 for some tests.
10318
10319 2014-04-16 Keith Seitz <keiths@redhat.com>
10320
10321 PR gdb/15827
10322 * gdb.dwarf2/corrupt.c: New file.
10323 * gdb.dwarf2/corrupt.exp: New file.
10324
10325 2014-04-16 Keith Seitz <keiths@redhat.com>
10326
10327 PR c++/16597
10328 * gdb.cp/namelessclass.cc: New file.
10329 * gdb.cp/namelessclass.exp: New file.
10330 * gdb.cp/namelessclass.S: New file.
10331
10332 2014-04-16 Doug Evans <dje@google.com>
10333
10334 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10335 Add comment.
10336 (gdbserver_default_get_comm_port): New function.
10337 (gdbserver_start): Check if board file provided
10338 "gdbserver,get_comm_port" and use it if so.
10339 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10340 (gdb,socketport): Set to "stdio".
10341 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10342 (stdio_gdbserver_template): Delete.
10343 (${board}_get_remote_address): Update.
10344 (${board}_build_remote_cmd): Delete.
10345 (${board}_get_comm_port): New function.
10346 (${board}_spawn): Update.
10347 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10348 Delete.
10349 (${board}_get_remote_address): Update.
10350 (${board}_get_comm_port): New function.
10351
10352 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
10353
10354 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10355 appearing in any order.
10356
10357 2014-04-15 Doug Evans <dje@google.com>
10358
10359 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10360 uninitialized value of "description".
10361
10362 2014-04-15 Keith Seitz <keiths@redhat.com>
10363
10364 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10365 Remove unused globals.
10366 (test_running_the_program): Likewise.
10367 (test_controlled_execution): Likewise.
10368 (test_controlling_breakpoints): Likewise.
10369 (test_program_termination): Likewise.
10370
10371 2014-04-15 Keith Seitz <keiths@redhat.com>
10372
10373 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10374 unused globals.
10375 (test_rbreak_creation_and_listing): Likewise.
10376 (test_ignore_count): Likewise.
10377 (test_error): Likewise.
10378
10379 2014-04-15 Pedro Alves <palves@redhat.com>
10380
10381 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10382 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10383 sym-file-loader.c.
10384 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10385 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10386 to sym-file-loader.c.
10387 (struct library): Forward declare.
10388 (load_shlib, lookup_function): Change prototypes.
10389 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10390 (translate_offset): Remove declarations.
10391 (get_text_addr): New declaration.
10392 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10393 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10394 sym-file-loader.h.
10395 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10396 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10397 here from sym-file-loader.h.
10398 (struct library): New structure.
10399 (load_shlib, lookup_function): Change prototypes and adjust to
10400 work with a struct library.
10401 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10402 (translate_offset): Make static.
10403 (get_text_addr): New function.
10404 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
10405
10406 2014-04-15 Pedro Alves <palves@redhat.com>
10407
10408 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
10409
10410 2014-04-15 Pedro Alves <palves@redhat.com>
10411
10412 * gdb.base/sym-file-loader.c: Include <limits.h>.
10413 (SELF_LINK): New define.
10414 (get_origin): New function.
10415 (load_shlib): Use it.
10416 * gdb.base/sym-file.exp: Don't early return if the target is
10417 remote. Use runto_main, and issue fail is that fails. Use
10418 gdb_load_shlibs.
10419 (shlib_name): Delete.
10420 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
10421
10422 2014-04-15 Pedro Alves <palves@redhat.com>
10423
10424 * gdb.base/sym-file.exp: Remove regex characters from test
10425 message. Don't refer to breakpoint numbers in test messages.
10426
10427 2014-04-14 Keith Seitz <keiths@redhat.com>
10428
10429 PR c++/16253
10430 * gdb.cp/var-tag.cc: New file.
10431 * gdb.cp/var-tag.exp: New file.
10432 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10433 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10434 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10435 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10436
10437 2014-04-14 Tom Tromey <tromey@redhat.com>
10438
10439 * gdb.cp/classes.exp (test_enums): Handle underlying type.
10440 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
10441 type.
10442 * gdb.cp/enum-class.exp: New file.
10443 * gdb.cp/enum-class.cc: New file.
10444
10445 2014-04-14 Tom Tromey <tromey@redhat.com>
10446
10447 * gdb.dwarf2/enum-type.exp: New file.
10448
10449 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10450
10451 * gdb.mi/mi-vla-c99.exp: New file.
10452 * gdb.mi/vla.c: New file.
10453
10454 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10455
10456 * gdb.base/vla-datatypes.c: New file.
10457 * gdb.base/vla-datatypes.exp: New file.
10458
10459 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10460
10461 * gdb.base/vla-ptr.c: New file.
10462 * gdb.base/vla-ptr.exp: New file.
10463
10464 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10465
10466 * gdb.dwarf2/count.exp: New file.
10467
10468 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10469
10470 * gdb.base/vla-sideeffect.c: New file.
10471 * gdb.base/vla-sideeffect.exp: New file.
10472
10473 2014-04-14 David Blaikie <dblaikie@gmail.com>
10474
10475 * gdb.mi/non-stop.c: Add return value for non-void function return
10476 statement.
10477 * gdb.threads/staticthreads.c: Ditto.
10478
10479 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
10480 Doug Evans <xdje42@gmail.com>
10481
10482 * gdb.guile/scm-value.c: Improve test case.
10483 * gdb.guile/scm-value.exp: Add new test.
10484
10485 2014-04-11 David Blaikie <dblaikie@gmail.com>
10486
10487 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
10488 override Clang's default.
10489
10490 2014-04-11 Joel Brobecker <brobecker@adacore.com>
10491
10492 Revert the following changes (regressions):
10493
10494 * gdb.base/vla-sideeffect.c: New file.
10495 * gdb.base/vla-sideeffect.exp: New file.
10496
10497 * gdb.dwarf2/count.exp: New file.
10498
10499 * gdb.base/vla-multi.c: New file.
10500 * gdb.base/vla-multi.exp: New file.
10501
10502 * gdb.base/vla-ptr.c: New file.
10503 * gdb.base/vla-ptr.exp: New file.
10504
10505 * gdb.base/vla-datatypes.c: New file.
10506 * gdb.base/vla-datatypes.exp: New file.
10507
10508 * gdb.mi/mi-vla-c99.exp: New file.
10509 * gdb.mi/vla.c: New file.
10510
10511 2014-04-11 Keith Seitz <keiths@redhat.com>
10512
10513 PR c++/16675
10514 * gdb.cp/cpsizeof.exp: New file.
10515 * gdb.cp/cpsizeof.cc: New file.
10516
10517 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10518
10519 * gdb.mi/mi-vla-c99.exp: New file.
10520 * gdb.mi/vla.c: New file.
10521
10522 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10523
10524 * gdb.base/vla-datatypes.c: New file.
10525 * gdb.base/vla-datatypes.exp: New file.
10526
10527 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10528
10529 * gdb.base/vla-ptr.c: New file.
10530 * gdb.base/vla-ptr.exp: New file.
10531
10532 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10533
10534 * gdb.base/vla-multi.c: New file.
10535 * gdb.base/vla-multi.exp: New file.
10536
10537 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10538
10539 * gdb.dwarf2/count.exp: New file.
10540
10541 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10542
10543 * gdb.base/vla-sideeffect.c: New file.
10544 * gdb.base/vla-sideeffect.exp: New file.
10545
10546 2014-04-11 Yao Qi <yao@codesourcery.com>
10547
10548 * gdb.base/completion.exp: Check file exists before running tests
10549 on file completion.
10550
10551 2014-04-10 Pedro Alves <palves@redhat.com>
10552
10553 * gdb.base/cond-eval-mode.c: New file.
10554 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
10555 prepare_for_testing to build the new file. Check result of
10556 runto_main.
10557 (test_break, test_watch): New procedures.
10558 (top level): Use them.
10559
10560 2014-04-08 Pierre Muller <muller@sourceware.org>
10561
10562 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
10563 Ctrl-V use for mingw hosts.
10564
10565 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
10566
10567 * gdb.python/py-value.c: Improve test case.
10568 * gdb.python/py-value.exp: Add new test.
10569
10570 2014-04-07 David Blaikie <dblaikie@gmail.com>
10571
10572 * lib/compiler.c: Identify the clang compiler.
10573 * lib/compiler.cc: Ditto.
10574
10575 2014-04-03 Yao Qi <yao@codesourcery.com>
10576
10577 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
10578
10579 2014-04-01 Anton Blanchard <anton@samba.org>
10580
10581 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
10582 messages unique.
10583
10584 2014-04-01 Anton Blanchard <anton@samba.org>
10585
10586 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
10587 prepare_for_testing.
10588
10589 2014-04-01 Anton Blanchard <anton@samba.org>
10590
10591 * gdb.arch/ppc64-atomic-inst.c: Remove.
10592 * gdb.arch/ppc64-atomic-inst.S: New file.
10593 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
10594
10595 2014-03-31 Doug Evans <dje@google.com>
10596
10597 * gdb.base/print-symbol-loading-lib.c: New file.
10598 * gdb.base/print-symbol-loading-main.c: New file.
10599 * gdb.base/print-symbol-loading.exp: New file.
10600
10601 2014-03-31 Yao Qi <yao@codesourcery.com>
10602
10603 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
10604
10605 2014-03-28 Joel Brobecker <brobecker@adacore.com>
10606
10607 * gdb.ada/mi_dyn_arr: New testcase.
10608
10609 2014-03-27 Doug Evans <dje@google.com>
10610
10611 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
10612
10613 2014-03-27 Yao Qi <yao@codesourcery.com>
10614
10615 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
10616 if target is nios2-*-*.
10617
10618 2014-03-26 Yao Qi <yao@codesourcery.com>
10619
10620 * lib/gdb.exp (readline_is_used): New proc.
10621 * gdb.base/completion.exp: Move tests on command complete up.
10622 Skip the rest of tests if readline is not used.
10623 * gdb.ada/complete.exp: Skp the test if readline is not
10624 used.
10625 * gdb.base/filesym.exp: Likewise.
10626 * gdb.base/macscp.exp: Likewise.
10627 * gdb.base/readline-ask.exp: Likewise.
10628 * gdb.base/readline.exp: Likewise.
10629 * gdb.python/py-cmd.exp: Likewise.
10630 * gdb.trace/tfile.exp: Likewise.
10631
10632 2014-03-26 Yao Qi <yao@codesourcery.com>
10633
10634 * gdb.base/macscp.exp: Fix code format issues.
10635
10636 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
10637
10638 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
10639 * gdb.asm/powerpc64le.inc: New file.
10640
10641 2014-03-25 Pedro Alves <palves@redhat.com>
10642 Doug Evans <dje@google.com>
10643
10644 * gdb.base/source-execution.c: New file.
10645 * gdb.base/source-execution.exp: New file.
10646 * gdb.base/source-execution.gdb: New file.
10647
10648 2014-03-24 Doug Evans <dje@google.com>
10649
10650 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
10651 using fission.
10652
10653 2014-03-24 Hui Zhu <hui@codesourcery.com>
10654 Pedro Alves <palves@redhat.com>
10655
10656 PR breakpoints/16101
10657 * gdb.base/dprintf.exp: Use unsupported rather than changing the
10658 test pass/fail messages. Detect missing support for dprintf when
10659 breakpoints are actually inserted.
10660 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
10661 breakpoints are actually inserted.
10662 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
10663 fails.
10664
10665 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10666
10667 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
10668
10669 2014-03-22 Doug Evans <xdje42@gmail.com>
10670
10671 * gdb.python/python.exp (python not supported): Verify multi-line
10672 python command issues an error.
10673 * gdb.guile/guile.exp (guile not supported): Verify multi-line
10674 guile command issues an error.
10675
10676 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
10677
10678 * gdb.threads/thread-specific.exp: Handle the lack of usable
10679 $this_breakpoint and $this_thread.
10680
10681 2014-03-21 Hui Zhu <hui@codesourcery.com>
10682
10683 * gdb.base/attach.exp (do_command_attach_tests): New.
10684
10685 2014-03-20 Tom Tromey <tromey@redhat.com>
10686 Pedro Alves <palves@redhat.com>
10687
10688 PR cli/15718
10689 * gdb.base/condbreak-call-false.c: New file.
10690 * gdb.base/condbreak-call-false.exp: New file.
10691
10692 2014-03-20 Pedro Alves <palves@redhat.com>
10693
10694 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
10695 Delete.
10696 (block_signals, unblock_signals): Delete.
10697 (child_function_2, main): Remove references to deleted variable
10698 and functions.
10699
10700 2014-03-20 Pedro Alves <palves@redhat.com>
10701
10702 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
10703 Use pthread_kill to signal thread 2.
10704 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10705 Adjust to make the test send itself a signal rather than using the
10706 host's "kill" command.
10707
10708 2014-03-20 Pedro Alves <palves@redhat.com>
10709
10710 * gdb.threads/multiple-step-overs.c: New file.
10711 * gdb.threads/multiple-step-overs.exp: New file.
10712 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10713 Adjust expected infrun debug output.
10714
10715 2014-03-20 Pedro Alves <palves@redhat.com>
10716
10717 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
10718 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
10719
10720 2014-03-20 Pedro Alves <palves@redhat.com>
10721
10722 PR breakpoints/7143
10723 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
10724 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
10725 of gdb_test_multiple.
10726 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
10727 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
10728
10729 2014-03-20 Pedro Alves <palves@redhat.com>
10730
10731 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
10732 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
10733
10734 2014-03-19 Pedro Alves <palves@redhat.com>
10735
10736 * gdb.base/async.exp: Remove early return.
10737
10738 2014-03-19 Pedro Alves <palves@redhat.com>
10739
10740 * gdb.base/async.exp (step& tests): Pass explicit test messages.
10741
10742 2014-03-19 Pedro Alves <palves@redhat.com>
10743
10744 * gdb.base/async.exp (test_background): Expect \r\n after
10745 "completed." in the fail pattern.
10746
10747 2014-03-19 Pedro Alves <palves@redhat.com>
10748
10749 * gdb.base/async.exp (test_background): New procedure.
10750 Use it for all background execution command tests.
10751
10752 2014-03-19 Pedro Alves <palves@redhat.com>
10753
10754 * gdb.base/async.exp: Use prepare_for_testing.
10755
10756 2014-03-19 Pedro Alves <palves@redhat.com>
10757
10758 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
10759 the same line.
10760
10761 2014-03-19 Pedro Alves <palves@redhat.com>
10762
10763 * gdb.base/async.c (main): Add "jump here" and "until here" line
10764 marker comments.
10765 * gdb.base/async.exp (jump_here): New global.
10766 (jump& test): Use it.
10767 (until_here): New global.
10768 (until& test): Use it.
10769
10770 2014-03-19 Pedro Alves <palves@redhat.com>
10771
10772 * gdb.base/async.exp: Don't frob gdb_protocol.
10773
10774 2014-03-18 Doug Evans <xdje42@gmail.com>
10775
10776 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
10777 Fix spelling of exec-done-display.
10778
10779 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10780
10781 PR gdb/15358
10782 * gdb.base/gdb-sigterm.c: New file.
10783 * gdb.base/gdb-sigterm.exp: New file.
10784
10785 2014-03-18 Pedro Alves <palves@redhat.com>
10786
10787 PR gdb/13860
10788 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
10789 * lib/mi-support.exp (mi_expect_stop): Add special handling for
10790 solib-event.
10791
10792 2014-03-17 Joel Brobecker <brobecker@adacore.com>
10793
10794 * gdb.ada/pckd_arr_ren: New testcase.
10795
10796 2014-03-13 Doug Evans <xdje42@gmail.com>
10797
10798 PR guile/16612
10799 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
10800 collect after discarding symbols.
10801
10802 2014-03-13 Ludovic Courtès <ludo@gnu.org>
10803 Doug Evans <xdje42@gmail.com>
10804
10805 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
10806 to history survives a gc.
10807
10808 2014-03-13 Pedro Alves <palves@redhat.com>
10809
10810 * gdb.base/default.exp: Don't test "target procfs".
10811
10812 2014-03-13 Pedro Alves <palves@redhat.com>
10813
10814 * gdb.base/default.exp: Update "target child" and "target procfs"
10815 tests to not expect "Unix".
10816
10817 2014-03-12 Tom Tromey <tromey@redhat.com>
10818
10819 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
10820 New procs. Add target-async tests.
10821 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
10822 Add target-async tests.
10823
10824 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10825
10826 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
10827 'func_start' and 'func_end' for the beginning and end of the
10828 function code, respectively.
10829 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
10830 'func_end' instead of 'func' and 'main'.
10831
10832 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10833
10834 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
10835 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
10836 generate the debug info assembler source.
10837
10838 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10839
10840 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
10841 * gdb.dwarf2/arr-subrange.exp: Likewise.
10842 * gdb.dwarf2/dwz.exp: Likewise.
10843 * gdb.dwarf2/method-ptr.exp: Likewise.
10844 * gdb.dwarf2/missing-sig-type.exp: Likewise.
10845 * gdb.dwarf2/subrange.exp: Likewise.
10846 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
10847 * gdb.dwarf2/implptrpiece.exp: Likewise.
10848 * gdb.dwarf2/nostaticblock.exp: Likewise.
10849
10850 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10851
10852 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
10853 directory to absolute path name arguments.
10854
10855 2014-03-10 Joel Brobecker <brobecker@adacore.com>
10856
10857 * gdb.ada/tagged_access: New testcase.
10858
10859 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
10860
10861 * gdb.btrace/data.exp: Update expected output.
10862
10863 2014-03-06 Yao Qi <yao@codesourcery.com>
10864
10865 * gdb.trace/pr16508.exp: New file.
10866
10867 2014-03-05 Pedro Alves <palves@redhat.com>
10868
10869 PR gdb/16575
10870 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
10871 procedure.
10872 (top level): Adjust to use it. Add tests that exercise breakpoint
10873 interaction with the code-cache.
10874
10875 2014-02-26 Ludovic Courtès <ludo@gnu.org>
10876
10877 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
10878 test for 'history-append!'.
10879
10880 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10881
10882 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
10883 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
10884 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
10885 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
10886 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
10887 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
10888
10889 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10890
10891 * testsuite/gdb.python/py-pp-re-notag.c: New file.
10892 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
10893 * testsuite/gdb.python/py-pp-re-notag.p: New file.
10894
10895 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10896
10897 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
10898
10899 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10900
10901 * gdb.dwarf2/arr-stride.c: New file.
10902 * gdb.dwarf2/arr-stride.exp: New file.
10903
10904 2014-02-26 Pedro Alves <palves@redhat.com>
10905
10906 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
10907 that won't ever trigger. Make sure that GDB reports the correct
10908 breakpoint that caused the stop.
10909
10910 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10911
10912 PR gdb/16626
10913 * gdb.base/auto-load-script: New file.
10914 * gdb.base/auto-load.c: New file.
10915 * gdb.base/auto-load.exp: New file.
10916
10917 PR gdb/16626
10918 * gdb.base/auto-load.exp: Fix out-of-srctree run.
10919
10920 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10921
10922 Fix dw2-icycle.exp -fsanitize=address GDB crash.
10923 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
10924
10925 2014-02-24 Doug Evans <dje@google.com>
10926
10927 * lib/gdb.exp (run_on_host): Log error output if program fails.
10928
10929 2014-02-21 Pedro Alves <palves@redhat.com>
10930
10931 * gdb.threads/step-after-sr-lock.c: Rename to ...
10932 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
10933 * gdb.threads/step-after-sr-lock.exp: Rename to ...
10934 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10935 ... this.
10936
10937 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
10938
10939 PR tdep/16397
10940 * gdb.arch/amd64-stap-special-operands.exp: New file.
10941 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
10942 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
10943 * gdb.arch/amd64-stap-triplet.S: Likewise.
10944 * gdb.arch/amd64-stap-triplet.c: Likewise.
10945
10946 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10947
10948 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
10949 in .section pseudo-op.
10950
10951 2014-02-20 lin zuojian <manjian2006@gmail.com>
10952 Joel Brobecker <brobecker@adacore.com>
10953 Doug Evans <xdje42@gmail.com>
10954
10955 PR symtab/16581
10956 * gdb.dwarf2/dw2-icycle.S: New file.
10957 * gdb.dwarf2/dw2-icycle.c: New file.
10958 * gdb.dwarf2/dw2-icycle.exp: New file.
10959
10960 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
10961
10962 * gdb.python/py-value-cc.cc: Improve test case to enable testing
10963 operations on gdb.Value objects.
10964 * gdb.python/py-value-cc.exp: Add new test to test operations on
10965 gdb.Value objects.
10966
10967 2014-02-18 Doug Evans <dje@google.com>
10968
10969 * Makefile.in (TESTS): New variable.
10970 (expanded_tests, expanded_tests_or_none): New variables
10971 (check-single): Pass $(expanded_tests_or_none) to runtest.
10972 (check-parallel): Only run tests in $(TESTS) if non-empty.
10973 (check/no-matching-tests-found): New rule.
10974 * README: Document TESTS makefile variable.
10975
10976 2014-02-18 Doug Evans <dje@google.com>
10977
10978 * Makefile.in (check-parallel): rm -rf outputs temp.
10979
10980 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10981
10982 Fix "ERROR: no fileid for" in the testsuite.
10983 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
10984
10985 2014-02-12 Doug Evans <dje@google.com>
10986
10987 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
10988 (MISCELLANEOUS): New variable.
10989 (clean): rm -rf $(MISCELLANEOUS).
10990 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
10991 dwp live in the same directory as symlinks, with each symlink pointed
10992 to a differently named file in a different directory.
10993
10994 2014-02-11 Doug Evans <dje@google.com>
10995
10996 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
10997 of Tcl file commands.
10998
10999 2014-02-10 Mark Kettenis <kettenis@gnu.org>
11000
11001 * gdb.threads/step-after-sr-lock.exp: Avoid executing
11002 "kill -SIGUSR1 -1".
11003
11004 2014-02-10 Joel Brobecker <brobecker@adacore.com>
11005
11006 * gdb.ada/tick_length_array_enum_idx: New testcase.
11007
11008 2014-02-10 Doug Evans <xdje42@gmail.com>
11009
11010 * configure.ac (AC_OUTPUT): Add gdb.guile.
11011 * configure: Regenerate.
11012 * lib/gdb-guile.exp: New file.
11013 * lib/gdb.exp (get_target_charset): New function.
11014 * gdb.base/help.exp: Update expected output from "apropos apropos".
11015 * gdb.guile/Makefile.in: New file.
11016 * gdb.guile/guile.exp: New file.
11017 * gdb.guile/scm-arch.c: New file.
11018 * gdb.guile/scm-arch.exp: New file.
11019 * gdb.guile/scm-block.c: New file.
11020 * gdb.guile/scm-block.exp: New file.
11021 * gdb.guile/scm-breakpoint.c: New file.
11022 * gdb.guile/scm-breakpoint.exp: New file.
11023 * gdb.guile/scm-disasm.c: New file.
11024 * gdb.guile/scm-disasm.exp: New file.
11025 * gdb.guile/scm-equal.c: New file.
11026 * gdb.guile/scm-equal.exp: New file.
11027 * gdb.guile/scm-error.exp: New file.
11028 * gdb.guile/scm-error.scm: New file.
11029 * gdb.guile/scm-frame-args.c: New file.
11030 * gdb.guile/scm-frame-args.exp: New file.
11031 * gdb.guile/scm-frame-args.scm: New file.
11032 * gdb.guile/scm-frame-inline.c: New file.
11033 * gdb.guile/scm-frame-inline.exp: New file.
11034 * gdb.guile/scm-frame.c: New file.
11035 * gdb.guile/scm-frame.exp: New file.
11036 * gdb.guile/scm-generics.exp: New file.
11037 * gdb.guile/scm-gsmob.exp: New file.
11038 * gdb.guile/scm-iterator.c: New file.
11039 * gdb.guile/scm-iterator.exp: New file.
11040 * gdb.guile/scm-math.c: New file.
11041 * gdb.guile/scm-math.exp: New file.
11042 * gdb.guile/scm-objfile-script-gdb.in: New file.
11043 * gdb.guile/scm-objfile-script.c: New file.
11044 * gdb.guile/scm-objfile-script.exp: New file.
11045 * gdb.guile/scm-objfile.c: New file.
11046 * gdb.guile/scm-objfile.exp: New file.
11047 * gdb.guile/scm-ports.exp: New file.
11048 * gdb.guile/scm-pretty-print.c: New file.
11049 * gdb.guile/scm-pretty-print.exp: New file.
11050 * gdb.guile/scm-pretty-print.scm: New file.
11051 * gdb.guile/scm-section-script.c: New file.
11052 * gdb.guile/scm-section-script.exp: New file.
11053 * gdb.guile/scm-section-script.scm: New file.
11054 * gdb.guile/scm-symbol.c: New file.
11055 * gdb.guile/scm-symbol.exp: New file.
11056 * gdb.guile/scm-symtab-2.c: New file.
11057 * gdb.guile/scm-symtab.c: New file.
11058 * gdb.guile/scm-symtab.exp: New file.
11059 * gdb.guile/scm-type.c: New file.
11060 * gdb.guile/scm-type.exp: New file.
11061 * gdb.guile/scm-value-cc.cc: New file.
11062 * gdb.guile/scm-value-cc.exp: New file.
11063 * gdb.guile/scm-value.c: New file.
11064 * gdb.guile/scm-value.exp: New file.
11065 * gdb.guile/source2.scm: New file.
11066 * gdb.guile/types-module.cc: New file.
11067 * gdb.guile/types-module.exp: New file.
11068
11069 2014-02-10 Yao Qi <yao@codesourcery.com>
11070
11071 PR testsuite/16543
11072 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
11073 * configure: Regenerated.
11074 * Makefile.in: New file.
11075
11076 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11077
11078 * gdb.python/py-framefilter.exp: Fix typo.
11079
11080 2014-02-08 Yao Qi <yao@codesourcery.com>
11081
11082 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
11083 that no =breakpoint-modified is emitted when breakpoints are
11084 modified through MI commands.
11085
11086 2014-02-07 Pedro Alves <pedro@codesourcery.com>
11087 Pedro Alves <palves@redhat.com>
11088
11089 * gdb.threads/step-after-sr-lock.c: New file.
11090 * gdb.threads/step-after-sr-lock.exp: New file.
11091
11092 2014-02-07 Pedro Alves <palves@redhat.com>
11093
11094 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
11095
11096 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11097
11098 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
11099 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
11100
11101 2014-02-06 Doug Evans <xdje42@gmail.com>
11102
11103 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
11104 output.
11105
11106 * gdb.gdb/python-interrupts.exp: New file.
11107
11108 2014-02-05 Yao Qi <yao@codesourcery.com>
11109
11110 * gdb.trace/report.exp (use_collected_data): Test the output
11111 of "info threads" and "info inferiors".
11112
11113 2014-02-05 Yao Qi <yao@codesourcery.com>
11114
11115 Revert this patch:
11116
11117 2013-05-24 Yao Qi <yao@codesourcery.com>
11118
11119 * gdb.trace/tfile.exp: Test inferior and thread.
11120
11121 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11122
11123 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
11124 on a function.
11125 * gdb.base/step-bt.c: Call hello via function pointer to make
11126 sure its first instruction is executed on powerpc64le-linux.
11127
11128 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11129
11130 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
11131
11132 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11133
11134 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
11135 of the test patterns for use on little-endian systems.
11136
11137 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11138
11139 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
11140 (decimal_vector): Fix for little-endian.
11141
11142 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11143
11144 * gdb.arch/sparc-sysstep.exp: New file.
11145 * gdb.arch/sparc-sysstep.c: Likewise.
11146
11147 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
11148
11149 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11150
11151 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
11152
11153 2014-01-23 Tom Tromey <tromey@redhat.com>
11154
11155 * gdb.ada/array_char_idx: New testcase.
11156
11157 2014-01-23 Tom Tromey <tromey@redhat.com>
11158
11159 PR python/16487:
11160 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
11161 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
11162 classes.
11163
11164 2014-01-23 Tom Tromey <tromey@redhat.com>
11165
11166 PR python/16491:
11167 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
11168 string from an inferior frame.
11169 * gdb.python/py-framefilter-mi.exp: Update.
11170
11171 2014-01-22 Doug Evans <dje@google.com>
11172
11173 * gdb.server/server-mon.exp: Add tests for "set debug-format".
11174
11175 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11176
11177 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
11178
11179 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11180
11181 * gdb.trace/entry-values.exp: Remove excess space character from
11182 regex patterns. Handle s390 call instruction.
11183
11184 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11185
11186 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
11187 define "*_start" label. Make "name" static.
11188 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
11189 ${name} by references to ${name}_start.
11190
11191 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11192
11193 * gdb.base/info-macros.exp: Remove "debug" from the compile
11194 options.
11195
11196 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11197
11198 * gdb.dlang/demangle.exp: New file.
11199
11200 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11201
11202 * gdb.dlang/primitive-types.exp: New file.
11203
11204 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11205
11206 * configure.ac: Create gdb.dlang/Makefile.
11207 * configure: Regenerate.
11208 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
11209 * gdb.dlang/Makefile.in: New file.
11210 * lib/d-support.exp: New file.
11211 * lib/gdb.exp (skip_d_tests): New proc.
11212
11213 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11214
11215 * gdb.btrace/delta.exp: Check reverse stepi.
11216 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
11217 * gdb.btrace/finish.exp: New.
11218 * gdb.btrace/next.exp: New.
11219 * gdb.btrace/nexti.exp: New.
11220 * gdb.btrace/record_goto.c: Add comments.
11221 * gdb.btrace/step.exp: New.
11222 * gdb.btrace/stepi.exp: New.
11223 * gdb.btrace/multi-thread-step.c: New.
11224 * gdb.btrace/multi-thread-step.exp: New.
11225 * gdb.btrace/rn-dl-bind.c: New.
11226 * gdb.btrace/rn-dl-bind.exp: New.
11227 * gdb.btrace/data.c: New.
11228 * gdb.btrace/data.exp: New.
11229 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11230
11231 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11232
11233 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
11234 * gdb.btrace/exception.exp: Update.
11235 * gdb.btrace/instruction_history.exp: Update.
11236 * gdb.btrace/record_goto.exp: Update.
11237 * gdb.btrace/tailcall.exp: Update.
11238 * gdb.btrace/unknown_functions.exp: Update.
11239 * gdb.btrace/delta.exp: New.
11240
11241 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11242
11243 * gdb.btrace/record_goto.exp: Add backtrace test.
11244 * gdb.btrace/tailcall.exp: Add backtrace test.
11245
11246 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11247
11248 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
11249 * gdb.btrace/record_goto.c: New.
11250 * gdb.btrace/record_goto.exp: New.
11251 * gdb.btrace/x86-record_goto.S: New.
11252
11253 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11254
11255 * gdb.btrace/function_call_history.exp: Update tests.
11256 * gdb.btrace/instruction_history.exp: Update tests.
11257
11258 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11259
11260 * gdb.btrace/function_call_history.exp: Fix expected field
11261 order for "record function-call-history".
11262 Add new tests for "record function-call-history /c".
11263 * gdb.btrace/exception.cc: New.
11264 * gdb.btrace/exception.exp: New.
11265 * gdb.btrace/tailcall.exp: New.
11266 * gdb.btrace/x86-tailcall.S: New.
11267 * gdb.btrace/x86-tailcall.c: New.
11268 * gdb.btrace/unknown_functions.c: New.
11269 * gdb.btrace/unknown_functions.exp: New.
11270 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11271
11272 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11273
11274 * gdb.btrace/instruction_history.exp: Update.
11275 * gdb.btrace/function_call_history.exp: Update.
11276
11277 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11278
11279 * gdb.btrace/function_call_history.exp: Fix expected function
11280 trace.
11281 * gdb.btrace/instruction_history.exp: Initialize traced.
11282 Remove traced_functions.
11283
11284 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11285
11286 * gdb.btrace/function_call_history.exp: Update
11287 * gdb.btrace/instruction_history.exp: Update.
11288
11289 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11290
11291 * gdb.btrace/enable.exp: Update expected text.
11292
11293 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
11294
11295 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
11296 bytes.
11297
11298 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
11299
11300 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
11301
11302 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11303
11304 * lib/gdb.exp (supports_process_record): Return true for
11305 arm*-linux*. (supports_reverse): Likewise.
11306
11307 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11308
11309 PR python/15464
11310 PR python/16113
11311 * gdb.python/py-type.c: Enhance test case.
11312 * gdb.python/py-value-cc.cc: Likewise
11313 * gdb.python/py-type.exp: Add new tests.
11314 * gdb.python/py-value-cc.exp: Likewise
11315
11316 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11317 Pedro Alves <palves@redhat.com>
11318
11319 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11320 Make "name" extern.
11321 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11322 references to ${name}_start by references to ${name}.
11323
11324 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11325
11326 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11327
11328 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11329
11330 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11331
11332 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11333 Pedro Alves <palves@redhat.com>
11334
11335 * gdb.mi/mi-info-os.exp: Connect to the target with
11336 mi_gdb_target_load.
11337
11338 2014-01-08 Pedro Alves <palves@redhat.com>
11339
11340 * gdb.threads/reconnect-signal.c: New file.
11341 * gdb.threads/reconnect-signal.exp: New file.
11342
11343 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11344
11345 * gdb.base/source-dir.exp: New file.
11346
11347 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11348
11349 * gdb.ada/mi_interface: New testcase.
11350
11351 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11352
11353 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11354 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11355 gdb.ada/pp-rec-component/pck.ads: New files.
11356
11357 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11358
11359 * gdb.python/py-pp-integral.c: New file.
11360 * gdb.python/py-pp-integral.py: New file.
11361 * gdb.python/py-pp-integral.exp: New file.
11362
11363 For older changes see ChangeLog-1993-2013.
11364 \f
11365 ;; Local Variables:
11366 ;; mode: change-log
11367 ;; left-margin: 8
11368 ;; fill-column: 74
11369 ;; version-control: never
11370 ;; End:
11371
11372 Copyright 2014-2017 Free Software Foundation, Inc.
11373 Copying and distribution of this file, with or without modification,
11374 are permitted provided the copyright notice and this notice are preserved.