]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/ChangeLog
testsuite: Disable backslash_in_multi_line_command_test for old DejaGnus
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
2
3 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4 Skip for versions of DejaGnu < 1.5.
5
6 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
7
8 * lib/gdb.exp (dejagnu_version): New proc.
9 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
10 Use dejagnu_version.
11
12 2017-03-10 Keith Seitz <keiths@redhat.com>
13
14 PR c++/8128
15 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
16 type from destructor regexps.
17 Add a branch which actually passes the test.
18 Adjust "ptype t5i" test names.
19
20 2017-03-08 Pedro Alves <palves@redhat.com>
21
22 * gdb.base/step-over-exit.exp: Add explicit test message.
23
24 2017-03-08 Pedro Alves <palves@redhat.com>
25
26 PR gdb/18360
27 * gdb.threads/interrupt-while-step-over.c: New file.
28 * gdb.threads/interrupt-while-step-over.exp: New file.
29
30 2017-03-08 Pedro Alves <palves@redhat.com>
31
32 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
33 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
34
35 2017-03-08 Pedro Alves <palves@redhat.com>
36
37 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
38 PKRU as not supported as a PASS.
39
40 2017-03-08 Pedro Alves <palves@redhat.com>
41
42 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
43 prefix instead of $binfile1/$binfile2.
44 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
45 in test message.
46 * gdb.python/py-completion.exp: Use "load python file" as test
47 messages instead of unstable path names.
48
49 2017-03-08 Pedro Alves <palves@redhat.com>
50 Jan Kratochvil <jan.kratochvil@redhat.com>
51
52 PR cli/21218
53 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
54 New proc.
55 (top level): Call it.
56
57 2017-03-08 Pedro Alves <palves@redhat.com>
58
59 PR tui/21216
60 * gdb.tui/tui-nl-filtered-output.exp: New file.
61
62 2017-03-08 Pedro Alves <palves@redhat.com>
63
64 * gdb.base/completion.exp: Move TUI completion tests to ...
65 * gdb.tui/completion.exp: ... this new file.
66
67 2017-03-08 Pedro Alves <palves@redhat.com>
68
69 * gdb.base/tui-disasm-long-lines.c,
70 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
71 gdb.base/tui-layout.exp: Move to ...
72 * gdb.tui/: ... this new directory.
73
74 2017-03-07 Pedro Alves <palves@redhat.com>
75
76 * gdb.base/tui-layout.c: New file.
77 * gdb.base/tui-layout.exp: New file.
78
79 2017-03-07 Pedro Alves <palves@redhat.com>
80
81 * gdb.base/tui-layout.c: Rename to ...
82 * gdb.base/tui-disasm-long-lines.c: ... this.
83 * gdb.base/tui-layout.exp: Rename to ...
84 * gdb.base/tui-disasm-long-lines.exp: ... this.
85
86 2017-03-07 Pedro Alves <palves@redhat.com>
87
88 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
89
90 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
91
92 * i386-mpx-call.c: New file.
93 * i386-mpx-call.exp: New file.
94
95 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
96
97 * gdb.arch/powerpc-power.exp: Delete test.
98 * gdb.arch/powerpc-power.s: Likewise.
99 * gdb.disasm/disassembler-options.exp: New test.
100 * gdb.arch/powerpc-altivec.exp: Likewise.
101 * gdb.arch/powerpc-altivec.s: Likewise.
102 * gdb.arch/powerpc-altivec2.exp: Likewise.
103 * gdb.arch/powerpc-altivec2.s: Likewise.
104 * gdb.arch/powerpc-altivec3.exp: Likewise.
105 * gdb.arch/powerpc-altivec3.s: Likewise.
106 * gdb.arch/powerpc-power7.exp: Likewise.
107 * gdb.arch/powerpc-power7.s: Likewise.
108 * gdb.arch/powerpc-power8.exp: Likewise.
109 * gdb.arch/powerpc-power8.s: Likewise.
110 * gdb.arch/powerpc-power9.exp: Likewise.
111 * gdb.arch/powerpc-power9.s: Likewise.
112 * gdb.arch/powerpc-vsx.exp: Likewise.
113 * gdb.arch/powerpc-vsx.s: Likewise.
114 * gdb.arch/powerpc-vsx2.exp: Likewise.
115 * gdb.arch/powerpc-vsx2.s: Likewise.
116 * gdb.arch/powerpc-vsx3.exp: Likewise.
117 * gdb.arch/powerpc-vsx3.s: Likewise.
118 * gdb.arch/arm-disassembler-options.exp: Likewise.
119 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
120 * gdb.arch/s390-disassembler-options.exp: Likewise.
121
122 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
123
124 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
125 (check_supported_features): ... this. Changed return type to void.
126 (supports_rdseed): New static global.
127 (rdseed): Check supports_rdseed.
128 (initialize): Call check_supported_features.
129
130 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
131
132 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
133 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
134 and lqarx/stqcx.
135 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
136 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
137
138 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
139
140 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
141 uppercase.
142
143 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
144
145 * gdb.dwarf2/formdata16.c: New file.
146 * gdb.dwarf2/formdata16.exp: New file.
147 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
148
149 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
150
151 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
152 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
153 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
154 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
155 DW_AT_GNU_*.
156
157 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
158
159 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
160
161 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
162
163 PR gdb/21164
164 * gdb.base/maint.exp: Add testcases for when the commands do
165 not have arguments.
166
167 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
168
169 * gdb.cp/chained-calls.exp: Use p instead of P.
170
171 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
172
173 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
174 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
175
176 2017-02-14 Tom Tromey <tom@tromey.com>
177
178 PR python/13598:
179 * gdb.python/py-events.exp: Add before_prompt event tests.
180
181 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
182
183 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
184
185 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
186
187 * gdb.linespec/explicit.c (my_unique_function_name): New function.
188 (main): Call my_unique_function_name.
189 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
190 completion of patterns with a single match.
191 Add missing -re switches to gdb_test_multiple calls.
192
193 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
194
195 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
196 return if core file is not recognized.
197
198 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
199
200 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
201 and extra UIs.
202
203 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
204
205 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
206 proc_with_prefix.
207
208 2017-02-10 Tom Tromey <tom@tromey.com>
209
210 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
211
212 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
213
214 PR gdb/21122
215 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
216
217 2017-02-08 Jerome Guitton <guitton@adacore.com>
218
219 * gdb.base/define.exp: Add test for command abbreviations
220 in define.
221
222 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
223
224 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
225 * gdb.reverse/insn-reverse-x86.c: New file.
226
227 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
228
229 PR tdep/20936
230 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
231
232 2017-02-03 Tom Tromey <tom@tromey.com>
233
234 PR rust/21097:
235 * gdb.rust/simple.exp: Add new tests.
236
237 2017-02-02 Pedro Alves <palves@redhat.com>
238
239 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
240 tests.
241
242 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
243
244 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
245 taking a 2-byte value out of a 4-byte DWARF implicit value on
246 big-endian targets.
247 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
248 logic. Add test cases for DW_OP_implicit.
249
250 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
251
252 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
253
254 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
255
256 * gdb.btrace/enable.exp: Call gdb_exit before
257 skip_gdbserver_tests.
258
259 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
260
261 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
262 GDBFLAGS.
263
264 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
265
266 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
267 the test is skipped.
268 * gdb.btrace/data.exp: Likewise.
269 * gdb.btrace/delta.exp: Likewise.
270 * gdb.btrace/dlopen.exp: Likewise.
271 * gdb.btrace/enable-running.exp: Likewise.
272 * gdb.btrace/enable.exp: Likewise.
273 * gdb.btrace/exception.exp: Likewise.
274 * gdb.btrace/function_call_history.exp: Likewise.
275 * gdb.btrace/gcore.exp: Likewise.
276 * gdb.btrace/instruction_history.exp: Likewise.
277 * gdb.btrace/multi-thread-step.exp: Likewise.
278 * gdb.btrace/nohist.exp: Likewise.
279 * gdb.btrace/non-stop.exp: Likewise.
280 * gdb.btrace/reconnect.exp: Likewise.
281 * gdb.btrace/record_goto-step.exp: Likewise.
282 * gdb.btrace/record_goto.exp: Likewise.
283 * gdb.btrace/rn-dl-bind.exp: Likewise.
284 * gdb.btrace/segv.exp: Likewise.
285 * gdb.btrace/step.exp: Likewise.
286 * gdb.btrace/stepi.exp: Likewise.
287 * gdb.btrace/tailcall-only.exp: Likewise.
288 * gdb.btrace/tailcall.exp: Likewise.
289 * gdb.btrace/tsx.exp: Likewise.
290 * gdb.btrace/unknown_functions.exp: Likewise.
291 * gdb.btrace/vdso.exp: Likewise.
292
293 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
294
295 * gdb.btrace/enable-running.c: New.
296 * gdb.btrace/enable-running.exp: New.
297
298 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
299
300 * gdb.arch/amd64-gs_base.c: New file.
301 * gdb.arch/amd64-gs_base.exp: New file.
302
303 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
304
305 * lib/memory.exp: Remove spurious empty newlines.
306
307 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
308
309 * gdb.python/py-bad-printers.exp: Load python file using "source".
310 * gdb.python/py-events.exp: Likewise.
311 * gdb.python/py-evsignal.exp: Likewise.
312 * gdb.python/py-evthreads.exp: Likewise.
313 * gdb.python/py-frame-args.exp: Likewise.
314 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
315 * gdb.python/py-framefilter-mi.exp: Likewise.
316 * gdb.python/py-framefilter.exp: Likewise.
317 * gdb.python/py-mi.exp: Likewise.
318 * gdb.python/py-pp-maint.exp: Likewise.
319 * gdb.python/py-pp-registration.exp: Likewise.
320 * gdb.python/py-prettyprint.exp: Likewise.
321 (run_lang_tests): Likewise.
322 * gdb.python/py-typeprint.exp: Likewise.
323
324 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
325
326 * lib/memory.exp: New file.
327 * lib/gdb.exp: Load memory.exp.
328 * gdb.base/memattr.exp (delete_memory): Move proc to
329 lib/memory.exp and rename to delete_memory_regions.
330 Replace delete_memory with delete_memory_regions.
331 Cleanup memory regions before tests.
332 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
333 before tests.
334
335 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
336
337 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
338 files.
339 (initialize): New function conditionally defined.
340 (testcases): Move within conditional block.
341 (main): Call initialize.
342 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
343 of gdb.reverse/insn-reverse.c.
344 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
345 gdb.reverse/insn-reverse.c.
346
347 2017-01-26 Yao Qi <yao.qi@linaro.org>
348
349 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
350 disassemble on address 0.
351
352 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
353 Yao Qi <yao.qi@linaro.org>
354
355 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
356 * gdb.dwarf2/implptr-64bit.S: Remove.
357 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
358 variables in caller's context. Add DW_OP_implicit_value.
359
360 2017-01-25 Yao Qi <yao.qi@linaro.org>
361
362 * lib/dwarf.exp (Dwarf::_location): Handle
363 DW_OP_GNU_implicit_pointer with proper size.
364
365 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
366
367 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
368 and add untested calls.
369
370 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
371
372 * gdb.python/python.exp: Check line number against what GDB thinks
373 the line number is for func1.
374
375 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
376
377 * gdb.dlang/debug-expr.exp: New file.
378
379 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
380
381 Fix test names for the following files:
382
383 * gdb.ada/exec_changed.exp
384 * gdb.ada/info_types.exp
385 * gdb.arch/aarch64-atomic-inst.exp
386 * gdb.arch/aarch64-fp.exp
387 * gdb.arch/altivec-abi.exp
388 * gdb.arch/altivec-regs.exp
389 * gdb.arch/amd64-byte.exp
390 * gdb.arch/amd64-disp-step.exp
391 * gdb.arch/amd64-dword.exp
392 * gdb.arch/amd64-entry-value-inline.exp
393 * gdb.arch/amd64-entry-value-param.exp
394 * gdb.arch/amd64-entry-value-paramref.exp
395 * gdb.arch/amd64-entry-value.exp
396 * gdb.arch/amd64-i386-address.exp
397 * gdb.arch/amd64-invalid-stack-middle.exp
398 * gdb.arch/amd64-invalid-stack-top.exp
399 * gdb.arch/amd64-optimout-repeat.exp
400 * gdb.arch/amd64-prologue-skip.exp
401 * gdb.arch/amd64-prologue-xmm.exp
402 * gdb.arch/amd64-stap-special-operands.exp
403 * gdb.arch/amd64-stap-wrong-subexp.exp
404 * gdb.arch/amd64-tailcall-cxx.exp
405 * gdb.arch/amd64-tailcall-noret.exp
406 * gdb.arch/amd64-tailcall-ret.exp
407 * gdb.arch/amd64-tailcall-self.exp
408 * gdb.arch/amd64-word.exp
409 * gdb.arch/arm-bl-branch-dest.exp
410 * gdb.arch/arm-disp-step.exp
411 * gdb.arch/arm-neon.exp
412 * gdb.arch/arm-single-step-kernel-helper.exp
413 * gdb.arch/avr-flash-qualifier.exp
414 * gdb.arch/disp-step-insn-reloc.exp
415 * gdb.arch/e500-abi.exp
416 * gdb.arch/e500-regs.exp
417 * gdb.arch/ftrace-insn-reloc.exp
418 * gdb.arch/i386-avx512.exp
419 * gdb.arch/i386-bp_permanent.exp
420 * gdb.arch/i386-byte.exp
421 * gdb.arch/i386-cfi-notcurrent.exp
422 * gdb.arch/i386-disp-step.exp
423 * gdb.arch/i386-dr3-watch.exp
424 * gdb.arch/i386-float.exp
425 * gdb.arch/i386-gnu-cfi.exp
426 * gdb.arch/i386-mpx-map.exp
427 * gdb.arch/i386-mpx-sigsegv.exp
428 * gdb.arch/i386-mpx-simple_segv.exp
429 * gdb.arch/i386-mpx.exp
430 * gdb.arch/i386-permbkpt.exp
431 * gdb.arch/i386-prologue.exp
432 * gdb.arch/i386-signal.exp
433 * gdb.arch/i386-size-overlap.exp
434 * gdb.arch/i386-unwind.exp
435 * gdb.arch/i386-word.exp
436 * gdb.arch/mips-fcr.exp
437 * gdb.arch/powerpc-d128-regs.exp
438 * gdb.arch/powerpc-stackless.exp
439 * gdb.arch/ppc64-atomic-inst.exp
440 * gdb.arch/s390-stackless.exp
441 * gdb.arch/s390-tdbregs.exp
442 * gdb.arch/s390-vregs.exp
443 * gdb.arch/sparc-sysstep.exp
444 * gdb.arch/thumb-bx-pc.exp
445 * gdb.arch/thumb-singlestep.exp
446 * gdb.arch/thumb2-it.exp
447 * gdb.arch/vsx-regs.exp
448 * gdb.asm/asm-source.exp
449 * gdb.base/a2-run.exp
450 * gdb.base/advance.exp
451 * gdb.base/all-bin.exp
452 * gdb.base/anon.exp
453 * gdb.base/args.exp
454 * gdb.base/arithmet.exp
455 * gdb.base/async-shell.exp
456 * gdb.base/async.exp
457 * gdb.base/attach-pie-noexec.exp
458 * gdb.base/attach-twice.exp
459 * gdb.base/auto-load.exp
460 * gdb.base/bang.exp
461 * gdb.base/bitfields.exp
462 * gdb.base/break-always.exp
463 * gdb.base/break-caller-line.exp
464 * gdb.base/break-entry.exp
465 * gdb.base/break-inline.exp
466 * gdb.base/break-on-linker-gcd-function.exp
467 * gdb.base/break-probes.exp
468 * gdb.base/break.exp
469 * gdb.base/breakpoint-shadow.exp
470 * gdb.base/call-ar-st.exp
471 * gdb.base/call-sc.exp
472 * gdb.base/call-signal-resume.exp
473 * gdb.base/call-strs.exp
474 * gdb.base/callfuncs.exp
475 * gdb.base/catch-fork-static.exp
476 * gdb.base/catch-gdb-caused-signals.exp
477 * gdb.base/catch-load.exp
478 * gdb.base/catch-signal-fork.exp
479 * gdb.base/catch-signal.exp
480 * gdb.base/catch-syscall.exp
481 * gdb.base/charset.exp
482 * gdb.base/checkpoint.exp
483 * gdb.base/chng-syms.exp
484 * gdb.base/code-expr.exp
485 * gdb.base/code_elim.exp
486 * gdb.base/commands.exp
487 * gdb.base/completion.exp
488 * gdb.base/complex.exp
489 * gdb.base/cond-expr.exp
490 * gdb.base/condbreak.exp
491 * gdb.base/consecutive.exp
492 * gdb.base/continue-all-already-running.exp
493 * gdb.base/coredump-filter.exp
494 * gdb.base/corefile.exp
495 * gdb.base/dbx.exp
496 * gdb.base/debug-expr.exp
497 * gdb.base/define.exp
498 * gdb.base/del.exp
499 * gdb.base/disabled-location.exp
500 * gdb.base/disasm-end-cu.exp
501 * gdb.base/disasm-optim.exp
502 * gdb.base/display.exp
503 * gdb.base/duplicate-bp.exp
504 * gdb.base/ena-dis-br.exp
505 * gdb.base/ending-run.exp
506 * gdb.base/enumval.exp
507 * gdb.base/environ.exp
508 * gdb.base/eu-strip-infcall.exp
509 * gdb.base/eval-avoid-side-effects.exp
510 * gdb.base/eval-skip.exp
511 * gdb.base/exitsignal.exp
512 * gdb.base/expand-psymtabs.exp
513 * gdb.base/filesym.exp
514 * gdb.base/find-unmapped.exp
515 * gdb.base/finish.exp
516 * gdb.base/float.exp
517 * gdb.base/foll-exec-mode.exp
518 * gdb.base/foll-exec.exp
519 * gdb.base/foll-fork.exp
520 * gdb.base/fortran-sym-case.exp
521 * gdb.base/freebpcmd.exp
522 * gdb.base/func-ptr.exp
523 * gdb.base/func-ptrs.exp
524 * gdb.base/funcargs.exp
525 * gdb.base/gcore-buffer-overflow.exp
526 * gdb.base/gcore-relro-pie.exp
527 * gdb.base/gcore-relro.exp
528 * gdb.base/gcore.exp
529 * gdb.base/gdb1090.exp
530 * gdb.base/gdb11530.exp
531 * gdb.base/gdb11531.exp
532 * gdb.base/gdb1821.exp
533 * gdb.base/gdbindex-stabs.exp
534 * gdb.base/gdbvars.exp
535 * gdb.base/hbreak.exp
536 * gdb.base/hbreak2.exp
537 * gdb.base/included.exp
538 * gdb.base/infcall-input.exp
539 * gdb.base/inferior-died.exp
540 * gdb.base/infnan.exp
541 * gdb.base/info-macros.exp
542 * gdb.base/info-os.exp
543 * gdb.base/info-proc.exp
544 * gdb.base/info-shared.exp
545 * gdb.base/info-target.exp
546 * gdb.base/infoline.exp
547 * gdb.base/interp.exp
548 * gdb.base/interrupt.exp
549 * gdb.base/jit-reader.exp
550 * gdb.base/jit-simple.exp
551 * gdb.base/kill-after-signal.exp
552 * gdb.base/kill-detach-inferiors-cmd.exp
553 * gdb.base/label.exp
554 * gdb.base/langs.exp
555 * gdb.base/ldbl_e308.exp
556 * gdb.base/line-symtabs.exp
557 * gdb.base/linespecs.exp
558 * gdb.base/list.exp
559 * gdb.base/long_long.exp
560 * gdb.base/longest-types.exp
561 * gdb.base/maint.exp
562 * gdb.base/max-value-size.exp
563 * gdb.base/memattr.exp
564 * gdb.base/mips_pro.exp
565 * gdb.base/morestack.exp
566 * gdb.base/moribund-step.exp
567 * gdb.base/multi-forks.exp
568 * gdb.base/nested-addr.exp
569 * gdb.base/nextoverexit.exp
570 * gdb.base/noreturn-finish.exp
571 * gdb.base/noreturn-return.exp
572 * gdb.base/nostdlib.exp
573 * gdb.base/offsets.exp
574 * gdb.base/opaque.exp
575 * gdb.base/pc-fp.exp
576 * gdb.base/permissions.exp
577 * gdb.base/print-symbol-loading.exp
578 * gdb.base/prologue-include.exp
579 * gdb.base/psymtab.exp
580 * gdb.base/ptype.exp
581 * gdb.base/random-signal.exp
582 * gdb.base/randomize.exp
583 * gdb.base/range-stepping.exp
584 * gdb.base/readline-ask.exp
585 * gdb.base/recpar.exp
586 * gdb.base/recurse.exp
587 * gdb.base/relational.exp
588 * gdb.base/restore.exp
589 * gdb.base/return-nodebug.exp
590 * gdb.base/return.exp
591 * gdb.base/run-after-attach.exp
592 * gdb.base/save-bp.exp
593 * gdb.base/scope.exp
594 * gdb.base/sect-cmd.exp
595 * gdb.base/set-lang-auto.exp
596 * gdb.base/set-noassign.exp
597 * gdb.base/setvar.exp
598 * gdb.base/sigall.exp
599 * gdb.base/sigbpt.exp
600 * gdb.base/siginfo-addr.exp
601 * gdb.base/siginfo-infcall.exp
602 * gdb.base/siginfo-obj.exp
603 * gdb.base/siginfo.exp
604 * gdb.base/signals-state-child.exp
605 * gdb.base/signest.exp
606 * gdb.base/sigstep.exp
607 * gdb.base/sizeof.exp
608 * gdb.base/skip.exp
609 * gdb.base/solib-corrupted.exp
610 * gdb.base/solib-nodir.exp
611 * gdb.base/solib-search.exp
612 * gdb.base/stack-checking.exp
613 * gdb.base/stale-infcall.exp
614 * gdb.base/stap-probe.exp
615 * gdb.base/start.exp
616 * gdb.base/step-break.exp
617 * gdb.base/step-bt.exp
618 * gdb.base/step-line.exp
619 * gdb.base/step-over-exit.exp
620 * gdb.base/step-over-syscall.exp
621 * gdb.base/step-resume-infcall.exp
622 * gdb.base/step-test.exp
623 * gdb.base/store.exp
624 * gdb.base/structs3.exp
625 * gdb.base/sym-file.exp
626 * gdb.base/symbol-without-target_section.exp
627 * gdb.base/term.exp
628 * gdb.base/testenv.exp
629 * gdb.base/ui-redirect.exp
630 * gdb.base/until.exp
631 * gdb.base/unwindonsignal.exp
632 * gdb.base/value-double-free.exp
633 * gdb.base/vla-datatypes.exp
634 * gdb.base/vla-ptr.exp
635 * gdb.base/vla-sideeffect.exp
636 * gdb.base/volatile.exp
637 * gdb.base/watch-cond-infcall.exp
638 * gdb.base/watch-cond.exp
639 * gdb.base/watch-non-mem.exp
640 * gdb.base/watch-read.exp
641 * gdb.base/watch-vfork.exp
642 * gdb.base/watchpoint-cond-gone.exp
643 * gdb.base/watchpoint-delete.exp
644 * gdb.base/watchpoint-hw-hit-once.exp
645 * gdb.base/watchpoint-hw.exp
646 * gdb.base/watchpoint-stops-at-right-insn.exp
647 * gdb.base/watchpoints.exp
648 * gdb.base/wchar.exp
649 * gdb.base/whatis-exp.exp
650 * gdb.btrace/buffer-size.exp
651 * gdb.btrace/data.exp
652 * gdb.btrace/delta.exp
653 * gdb.btrace/dlopen.exp
654 * gdb.btrace/enable.exp
655 * gdb.btrace/exception.exp
656 * gdb.btrace/function_call_history.exp
657 * gdb.btrace/gcore.exp
658 * gdb.btrace/instruction_history.exp
659 * gdb.btrace/nohist.exp
660 * gdb.btrace/reconnect.exp
661 * gdb.btrace/record_goto-step.exp
662 * gdb.btrace/record_goto.exp
663 * gdb.btrace/rn-dl-bind.exp
664 * gdb.btrace/segv.exp
665 * gdb.btrace/step.exp
666 * gdb.btrace/stepi.exp
667 * gdb.btrace/tailcall-only.exp
668 * gdb.btrace/tailcall.exp
669 * gdb.btrace/tsx.exp
670 * gdb.btrace/unknown_functions.exp
671 * gdb.btrace/vdso.exp
672 * gdb.compile/compile-ifunc.exp
673 * gdb.compile/compile-ops.exp
674 * gdb.compile/compile-print.exp
675 * gdb.compile/compile-setjmp.exp
676 * gdb.cp/abstract-origin.exp
677 * gdb.cp/ambiguous.exp
678 * gdb.cp/annota2.exp
679 * gdb.cp/annota3.exp
680 * gdb.cp/anon-ns.exp
681 * gdb.cp/anon-struct.exp
682 * gdb.cp/anon-union.exp
683 * gdb.cp/arg-reference.exp
684 * gdb.cp/baseenum.exp
685 * gdb.cp/bool.exp
686 * gdb.cp/breakpoint.exp
687 * gdb.cp/bs15503.exp
688 * gdb.cp/call-c.exp
689 * gdb.cp/casts.exp
690 * gdb.cp/chained-calls.exp
691 * gdb.cp/class2.exp
692 * gdb.cp/classes.exp
693 * gdb.cp/cmpd-minsyms.exp
694 * gdb.cp/converts.exp
695 * gdb.cp/cp-relocate.exp
696 * gdb.cp/cpcompletion.exp
697 * gdb.cp/cpexprs.exp
698 * gdb.cp/cplabel.exp
699 * gdb.cp/cplusfuncs.exp
700 * gdb.cp/cpsizeof.exp
701 * gdb.cp/ctti.exp
702 * gdb.cp/derivation.exp
703 * gdb.cp/destrprint.exp
704 * gdb.cp/dispcxx.exp
705 * gdb.cp/enum-class.exp
706 * gdb.cp/exception.exp
707 * gdb.cp/exceptprint.exp
708 * gdb.cp/expand-psymtabs-cxx.exp
709 * gdb.cp/expand-sals.exp
710 * gdb.cp/extern-c.exp
711 * gdb.cp/filename.exp
712 * gdb.cp/formatted-ref.exp
713 * gdb.cp/fpointer.exp
714 * gdb.cp/gdb1355.exp
715 * gdb.cp/gdb2495.exp
716 * gdb.cp/hang.exp
717 * gdb.cp/impl-this.exp
718 * gdb.cp/infcall-dlopen.exp
719 * gdb.cp/inherit.exp
720 * gdb.cp/iostream.exp
721 * gdb.cp/koenig.exp
722 * gdb.cp/local.exp
723 * gdb.cp/m-data.exp
724 * gdb.cp/m-static.exp
725 * gdb.cp/mb-ctor.exp
726 * gdb.cp/mb-inline.exp
727 * gdb.cp/mb-templates.exp
728 * gdb.cp/member-name.exp
729 * gdb.cp/member-ptr.exp
730 * gdb.cp/meth-typedefs.exp
731 * gdb.cp/method.exp
732 * gdb.cp/method2.exp
733 * gdb.cp/minsym-fallback.exp
734 * gdb.cp/misc.exp
735 * gdb.cp/namelessclass.exp
736 * gdb.cp/namespace-enum.exp
737 * gdb.cp/namespace-nested-import.exp
738 * gdb.cp/namespace.exp
739 * gdb.cp/nextoverthrow.exp
740 * gdb.cp/no-dmgl-verbose.exp
741 * gdb.cp/non-trivial-retval.exp
742 * gdb.cp/noparam.exp
743 * gdb.cp/nsdecl.exp
744 * gdb.cp/nsimport.exp
745 * gdb.cp/nsnested.exp
746 * gdb.cp/nsnoimports.exp
747 * gdb.cp/nsrecurs.exp
748 * gdb.cp/nsstress.exp
749 * gdb.cp/nsusing.exp
750 * gdb.cp/operator.exp
751 * gdb.cp/oranking.exp
752 * gdb.cp/overload-const.exp
753 * gdb.cp/overload.exp
754 * gdb.cp/ovldbreak.exp
755 * gdb.cp/ovsrch.exp
756 * gdb.cp/paren-type.exp
757 * gdb.cp/parse-lang.exp
758 * gdb.cp/pass-by-ref.exp
759 * gdb.cp/pr-1023.exp
760 * gdb.cp/pr-1210.exp
761 * gdb.cp/pr-574.exp
762 * gdb.cp/pr10687.exp
763 * gdb.cp/pr12028.exp
764 * gdb.cp/pr17132.exp
765 * gdb.cp/pr17494.exp
766 * gdb.cp/pr9067.exp
767 * gdb.cp/pr9167.exp
768 * gdb.cp/pr9631.exp
769 * gdb.cp/printmethod.exp
770 * gdb.cp/psmang.exp
771 * gdb.cp/psymtab-parameter.exp
772 * gdb.cp/ptype-cv-cp.exp
773 * gdb.cp/ptype-flags.exp
774 * gdb.cp/re-set-overloaded.exp
775 * gdb.cp/ref-types.exp
776 * gdb.cp/rtti.exp
777 * gdb.cp/scope-err.exp
778 * gdb.cp/shadow.exp
779 * gdb.cp/smartp.exp
780 * gdb.cp/static-method.exp
781 * gdb.cp/static-print-quit.exp
782 * gdb.cp/temargs.exp
783 * gdb.cp/templates.exp
784 * gdb.cp/try_catch.exp
785 * gdb.cp/typedef-operator.exp
786 * gdb.cp/typeid.exp
787 * gdb.cp/userdef.exp
788 * gdb.cp/using-crash.exp
789 * gdb.cp/var-tag.exp
790 * gdb.cp/virtbase.exp
791 * gdb.cp/virtfunc.exp
792 * gdb.cp/virtfunc2.exp
793 * gdb.cp/vla-cxx.exp
794 * gdb.disasm/t01_mov.exp
795 * gdb.disasm/t02_mova.exp
796 * gdb.disasm/t03_add.exp
797 * gdb.disasm/t04_sub.exp
798 * gdb.disasm/t05_cmp.exp
799 * gdb.disasm/t06_ari2.exp
800 * gdb.disasm/t07_ari3.exp
801 * gdb.disasm/t08_or.exp
802 * gdb.disasm/t09_xor.exp
803 * gdb.disasm/t10_and.exp
804 * gdb.disasm/t11_logs.exp
805 * gdb.disasm/t12_bit.exp
806 * gdb.disasm/t13_otr.exp
807 * gdb.dlang/circular.exp
808 * gdb.dwarf2/arr-stride.exp
809 * gdb.dwarf2/arr-subrange.exp
810 * gdb.dwarf2/atomic-type.exp
811 * gdb.dwarf2/bad-regnum.exp
812 * gdb.dwarf2/bitfield-parent-optimized-out.exp
813 * gdb.dwarf2/callframecfa.exp
814 * gdb.dwarf2/clztest.exp
815 * gdb.dwarf2/corrupt.exp
816 * gdb.dwarf2/data-loc.exp
817 * gdb.dwarf2/dup-psym.exp
818 * gdb.dwarf2/dw2-anon-mptr.exp
819 * gdb.dwarf2/dw2-anonymous-func.exp
820 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
821 * gdb.dwarf2/dw2-bad-unresolved.exp
822 * gdb.dwarf2/dw2-basic.exp
823 * gdb.dwarf2/dw2-canonicalize-type.exp
824 * gdb.dwarf2/dw2-case-insensitive.exp
825 * gdb.dwarf2/dw2-common-block.exp
826 * gdb.dwarf2/dw2-compdir-oldgcc.exp
827 * gdb.dwarf2/dw2-compressed.exp
828 * gdb.dwarf2/dw2-const.exp
829 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
830 * gdb.dwarf2/dw2-cu-size.exp
831 * gdb.dwarf2/dw2-dup-frame.exp
832 * gdb.dwarf2/dw2-entry-value.exp
833 * gdb.dwarf2/dw2-icycle.exp
834 * gdb.dwarf2/dw2-ifort-parameter.exp
835 * gdb.dwarf2/dw2-inline-break.exp
836 * gdb.dwarf2/dw2-inline-param.exp
837 * gdb.dwarf2/dw2-intercu.exp
838 * gdb.dwarf2/dw2-intermix.exp
839 * gdb.dwarf2/dw2-lexical-block-bare.exp
840 * gdb.dwarf2/dw2-linkage-name-trust.exp
841 * gdb.dwarf2/dw2-minsym-in-cu.exp
842 * gdb.dwarf2/dw2-noloc.exp
843 * gdb.dwarf2/dw2-op-call.exp
844 * gdb.dwarf2/dw2-op-out-param.exp
845 * gdb.dwarf2/dw2-opt-structptr.exp
846 * gdb.dwarf2/dw2-param-error.exp
847 * gdb.dwarf2/dw2-producer.exp
848 * gdb.dwarf2/dw2-ranges-base.exp
849 * gdb.dwarf2/dw2-ref-missing-frame.exp
850 * gdb.dwarf2/dw2-reg-undefined.exp
851 * gdb.dwarf2/dw2-regno-invalid.exp
852 * gdb.dwarf2/dw2-restore.exp
853 * gdb.dwarf2/dw2-restrict.exp
854 * gdb.dwarf2/dw2-single-line-discriminators.exp
855 * gdb.dwarf2/dw2-strp.exp
856 * gdb.dwarf2/dw2-undefined-ret-addr.exp
857 * gdb.dwarf2/dw2-unresolved.exp
858 * gdb.dwarf2/dw2-var-zero-addr.exp
859 * gdb.dwarf2/dw4-sig-types.exp
860 * gdb.dwarf2/dwz.exp
861 * gdb.dwarf2/dynarr-ptr.exp
862 * gdb.dwarf2/enum-type.exp
863 * gdb.dwarf2/gdb-index.exp
864 * gdb.dwarf2/implptr-64bit.exp
865 * gdb.dwarf2/implptr-optimized-out.exp
866 * gdb.dwarf2/implptr.exp
867 * gdb.dwarf2/implref-array.exp
868 * gdb.dwarf2/implref-const.exp
869 * gdb.dwarf2/implref-global.exp
870 * gdb.dwarf2/implref-struct.exp
871 * gdb.dwarf2/mac-fileno.exp
872 * gdb.dwarf2/main-subprogram.exp
873 * gdb.dwarf2/member-ptr-forwardref.exp
874 * gdb.dwarf2/method-ptr.exp
875 * gdb.dwarf2/missing-sig-type.exp
876 * gdb.dwarf2/nonvar-access.exp
877 * gdb.dwarf2/opaque-type-lookup.exp
878 * gdb.dwarf2/pieces-optimized-out.exp
879 * gdb.dwarf2/pieces.exp
880 * gdb.dwarf2/pr10770.exp
881 * gdb.dwarf2/pr13961.exp
882 * gdb.dwarf2/staticvirtual.exp
883 * gdb.dwarf2/subrange.exp
884 * gdb.dwarf2/symtab-producer.exp
885 * gdb.dwarf2/trace-crash.exp
886 * gdb.dwarf2/typeddwarf.exp
887 * gdb.dwarf2/valop.exp
888 * gdb.dwarf2/watch-notconst.exp
889 * gdb.fortran/array-element.exp
890 * gdb.fortran/charset.exp
891 * gdb.fortran/common-block.exp
892 * gdb.fortran/complex.exp
893 * gdb.fortran/derived-type-function.exp
894 * gdb.fortran/derived-type.exp
895 * gdb.fortran/logical.exp
896 * gdb.fortran/module.exp
897 * gdb.fortran/multi-dim.exp
898 * gdb.fortran/nested-funcs.exp
899 * gdb.fortran/print-formatted.exp
900 * gdb.fortran/subarray.exp
901 * gdb.fortran/vla-alloc-assoc.exp
902 * gdb.fortran/vla-datatypes.exp
903 * gdb.fortran/vla-history.exp
904 * gdb.fortran/vla-ptr-info.exp
905 * gdb.fortran/vla-ptype-sub.exp
906 * gdb.fortran/vla-ptype.exp
907 * gdb.fortran/vla-sizeof.exp
908 * gdb.fortran/vla-type.exp
909 * gdb.fortran/vla-value-sub-arbitrary.exp
910 * gdb.fortran/vla-value-sub-finish.exp
911 * gdb.fortran/vla-value-sub.exp
912 * gdb.fortran/vla-value.exp
913 * gdb.fortran/whatis_type.exp
914 * gdb.go/chan.exp
915 * gdb.go/handcall.exp
916 * gdb.go/hello.exp
917 * gdb.go/integers.exp
918 * gdb.go/methods.exp
919 * gdb.go/package.exp
920 * gdb.go/strings.exp
921 * gdb.go/types.exp
922 * gdb.go/unsafe.exp
923 * gdb.guile/scm-arch.exp
924 * gdb.guile/scm-block.exp
925 * gdb.guile/scm-breakpoint.exp
926 * gdb.guile/scm-cmd.exp
927 * gdb.guile/scm-disasm.exp
928 * gdb.guile/scm-equal.exp
929 * gdb.guile/scm-frame-args.exp
930 * gdb.guile/scm-frame-inline.exp
931 * gdb.guile/scm-frame.exp
932 * gdb.guile/scm-iterator.exp
933 * gdb.guile/scm-math.exp
934 * gdb.guile/scm-objfile.exp
935 * gdb.guile/scm-ports.exp
936 * gdb.guile/scm-symbol.exp
937 * gdb.guile/scm-symtab.exp
938 * gdb.guile/scm-value-cc.exp
939 * gdb.guile/types-module.exp
940 * gdb.linespec/break-ask.exp
941 * gdb.linespec/cpexplicit.exp
942 * gdb.linespec/explicit.exp
943 * gdb.linespec/keywords.exp
944 * gdb.linespec/linespec.exp
945 * gdb.linespec/ls-dollar.exp
946 * gdb.linespec/ls-errs.exp
947 * gdb.linespec/skip-two.exp
948 * gdb.linespec/thread.exp
949 * gdb.mi/mi-async.exp
950 * gdb.mi/mi-basics.exp
951 * gdb.mi/mi-break.exp
952 * gdb.mi/mi-catch-load.exp
953 * gdb.mi/mi-cli.exp
954 * gdb.mi/mi-cmd-param-changed.exp
955 * gdb.mi/mi-console.exp
956 * gdb.mi/mi-detach.exp
957 * gdb.mi/mi-disassemble.exp
958 * gdb.mi/mi-eval.exp
959 * gdb.mi/mi-file-transfer.exp
960 * gdb.mi/mi-file.exp
961 * gdb.mi/mi-fill-memory.exp
962 * gdb.mi/mi-inheritance-syntax-error.exp
963 * gdb.mi/mi-linespec-err-cp.exp
964 * gdb.mi/mi-logging.exp
965 * gdb.mi/mi-memory-changed.exp
966 * gdb.mi/mi-read-memory.exp
967 * gdb.mi/mi-record-changed.exp
968 * gdb.mi/mi-reg-undefined.exp
969 * gdb.mi/mi-regs.exp
970 * gdb.mi/mi-return.exp
971 * gdb.mi/mi-reverse.exp
972 * gdb.mi/mi-simplerun.exp
973 * gdb.mi/mi-solib.exp
974 * gdb.mi/mi-stack.exp
975 * gdb.mi/mi-stepi.exp
976 * gdb.mi/mi-syn-frame.exp
977 * gdb.mi/mi-until.exp
978 * gdb.mi/mi-var-block.exp
979 * gdb.mi/mi-var-child.exp
980 * gdb.mi/mi-var-cmd.exp
981 * gdb.mi/mi-var-cp.exp
982 * gdb.mi/mi-var-display.exp
983 * gdb.mi/mi-var-invalidate.exp
984 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
985 * gdb.mi/mi-vla-fortran.exp
986 * gdb.mi/mi-watch.exp
987 * gdb.mi/mi2-var-child.exp
988 * gdb.mi/user-selected-context-sync.exp
989 * gdb.modula2/unbounded-array.exp
990 * gdb.multi/dummy-frame-restore.exp
991 * gdb.multi/multi-arch-exec.exp
992 * gdb.multi/multi-arch.exp
993 * gdb.multi/tids.exp
994 * gdb.multi/watchpoint-multi.exp
995 * gdb.opencl/callfuncs.exp
996 * gdb.opencl/convs_casts.exp
997 * gdb.opencl/datatypes.exp
998 * gdb.opencl/operators.exp
999 * gdb.opencl/vec_comps.exp
1000 * gdb.opt/clobbered-registers-O2.exp
1001 * gdb.opt/inline-break.exp
1002 * gdb.opt/inline-bt.exp
1003 * gdb.opt/inline-cmds.exp
1004 * gdb.opt/inline-locals.exp
1005 * gdb.pascal/case-insensitive-symbols.exp
1006 * gdb.pascal/floats.exp
1007 * gdb.pascal/gdb11492.exp
1008 * gdb.python/lib-types.exp
1009 * gdb.python/py-arch.exp
1010 * gdb.python/py-as-string.exp
1011 * gdb.python/py-bad-printers.exp
1012 * gdb.python/py-block.exp
1013 * gdb.python/py-breakpoint-create-fail.exp
1014 * gdb.python/py-breakpoint.exp
1015 * gdb.python/py-caller-is.exp
1016 * gdb.python/py-cmd.exp
1017 * gdb.python/py-explore-cc.exp
1018 * gdb.python/py-explore.exp
1019 * gdb.python/py-finish-breakpoint.exp
1020 * gdb.python/py-finish-breakpoint2.exp
1021 * gdb.python/py-frame-args.exp
1022 * gdb.python/py-frame-inline.exp
1023 * gdb.python/py-frame.exp
1024 * gdb.python/py-framefilter-mi.exp
1025 * gdb.python/py-infthread.exp
1026 * gdb.python/py-lazy-string.exp
1027 * gdb.python/py-linetable.exp
1028 * gdb.python/py-mi-events.exp
1029 * gdb.python/py-mi-objfile.exp
1030 * gdb.python/py-mi.exp
1031 * gdb.python/py-objfile.exp
1032 * gdb.python/py-pp-integral.exp
1033 * gdb.python/py-pp-maint.exp
1034 * gdb.python/py-pp-re-notag.exp
1035 * gdb.python/py-pp-registration.exp
1036 * gdb.python/py-recurse-unwind.exp
1037 * gdb.python/py-strfns.exp
1038 * gdb.python/py-symbol.exp
1039 * gdb.python/py-symtab.exp
1040 * gdb.python/py-sync-interp.exp
1041 * gdb.python/py-typeprint.exp
1042 * gdb.python/py-unwind-maint.exp
1043 * gdb.python/py-unwind.exp
1044 * gdb.python/py-value-cc.exp
1045 * gdb.python/py-xmethods.exp
1046 * gdb.reverse/amd64-tailcall-reverse.exp
1047 * gdb.reverse/break-precsave.exp
1048 * gdb.reverse/break-reverse.exp
1049 * gdb.reverse/consecutive-precsave.exp
1050 * gdb.reverse/consecutive-reverse.exp
1051 * gdb.reverse/finish-precsave.exp
1052 * gdb.reverse/finish-reverse-bkpt.exp
1053 * gdb.reverse/finish-reverse.exp
1054 * gdb.reverse/fstatat-reverse.exp
1055 * gdb.reverse/getresuid-reverse.exp
1056 * gdb.reverse/i386-precsave.exp
1057 * gdb.reverse/i386-reverse.exp
1058 * gdb.reverse/i386-sse-reverse.exp
1059 * gdb.reverse/i387-env-reverse.exp
1060 * gdb.reverse/i387-stack-reverse.exp
1061 * gdb.reverse/insn-reverse.exp
1062 * gdb.reverse/machinestate-precsave.exp
1063 * gdb.reverse/machinestate.exp
1064 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1065 * gdb.reverse/pipe-reverse.exp
1066 * gdb.reverse/readv-reverse.exp
1067 * gdb.reverse/recvmsg-reverse.exp
1068 * gdb.reverse/rerun-prec.exp
1069 * gdb.reverse/s390-mvcle.exp
1070 * gdb.reverse/step-precsave.exp
1071 * gdb.reverse/step-reverse.exp
1072 * gdb.reverse/time-reverse.exp
1073 * gdb.reverse/until-precsave.exp
1074 * gdb.reverse/until-reverse.exp
1075 * gdb.reverse/waitpid-reverse.exp
1076 * gdb.reverse/watch-precsave.exp
1077 * gdb.reverse/watch-reverse.exp
1078 * gdb.rust/generics.exp
1079 * gdb.rust/methods.exp
1080 * gdb.rust/modules.exp
1081 * gdb.rust/simple.exp
1082 * gdb.server/connect-with-no-symbol-file.exp
1083 * gdb.server/ext-attach.exp
1084 * gdb.server/ext-restart.exp
1085 * gdb.server/ext-wrapper.exp
1086 * gdb.server/file-transfer.exp
1087 * gdb.server/server-exec-info.exp
1088 * gdb.server/server-kill.exp
1089 * gdb.server/server-mon.exp
1090 * gdb.server/wrapper.exp
1091 * gdb.stabs/exclfwd.exp
1092 * gdb.stabs/gdb11479.exp
1093 * gdb.threads/clone-new-thread-event.exp
1094 * gdb.threads/corethreads.exp
1095 * gdb.threads/current-lwp-dead.exp
1096 * gdb.threads/dlopen-libpthread.exp
1097 * gdb.threads/gcore-thread.exp
1098 * gdb.threads/sigstep-threads.exp
1099 * gdb.threads/watchpoint-fork.exp
1100 * gdb.trace/actions-changed.exp
1101 * gdb.trace/backtrace.exp
1102 * gdb.trace/change-loc.exp
1103 * gdb.trace/circ.exp
1104 * gdb.trace/collection.exp
1105 * gdb.trace/disconnected-tracing.exp
1106 * gdb.trace/ftrace.exp
1107 * gdb.trace/mi-trace-frame-collected.exp
1108 * gdb.trace/mi-trace-unavailable.exp
1109 * gdb.trace/mi-traceframe-changed.exp
1110 * gdb.trace/mi-tsv-changed.exp
1111 * gdb.trace/no-attach-trace.exp
1112 * gdb.trace/passc-dyn.exp
1113 * gdb.trace/qtro.exp
1114 * gdb.trace/range-stepping.exp
1115 * gdb.trace/read-memory.exp
1116 * gdb.trace/save-trace.exp
1117 * gdb.trace/signal.exp
1118 * gdb.trace/status-stop.exp
1119 * gdb.trace/tfile.exp
1120 * gdb.trace/trace-break.exp
1121 * gdb.trace/trace-buffer-size.exp
1122 * gdb.trace/trace-condition.exp
1123 * gdb.trace/tracefile-pseudo-reg.exp
1124 * gdb.trace/tstatus.exp
1125 * gdb.trace/unavailable.exp
1126 * gdb.trace/while-dyn.exp
1127 * gdb.trace/while-stepping.exp
1128
1129 2016-12-22 Doug Evans <xdje42@gmail.com>
1130
1131 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
1132 and msymbols.
1133
1134 2016-12-19 Yao Qi <yao.qi@linaro.org>
1135
1136 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
1137 (test_with_self): Don't call do_steps_and_nexts, and remove
1138 code about stepping into xmalloc.
1139
1140 2016-12-09 Yao Qi <yao.qi@linaro.org>
1141
1142 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
1143
1144 2016-12-09 Yao Qi <yao.qi@linaro.org>
1145
1146 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
1147
1148 2016-12-09 Pedro Alves <palves@redhat.com>
1149
1150 * gdb.base/all-architectures-0.exp: New file.
1151 * gdb.base/all-architectures-1.exp: New file.
1152 * gdb.base/all-architectures-2.exp: New file.
1153 * gdb.base/all-architectures-3.exp: New file.
1154 * gdb.base/all-architectures-4.exp: New file.
1155 * gdb.base/all-architectures-5.exp: New file.
1156 * gdb.base/all-architectures-6.exp: New file.
1157 * gdb.base/all-architectures-7.exp: New file.
1158 * gdb.base/all-architectures.exp.in: New file.
1159
1160 2016-12-09 Yao Qi <yao.qi@linaro.org>
1161
1162 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
1163
1164 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1165
1166 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
1167 possible.
1168 Remove useless pattern-matching code.
1169
1170 2016-12-02 Pedro Alves <palves@redhat.com>
1171
1172 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
1173 procedure.
1174 (top level): Call it.
1175
1176 2016-12-02 Pedro Alves <palves@redhat.com>
1177
1178 * gdb.base/commands.exp (user_defined_command_args_stack_test):
1179 New procedure.
1180 (top level): Call it.
1181
1182 2016-12-02 Pedro Alves <palves@redhat.com>
1183
1184 PR cli/20559
1185 * gdb.base/commands.exp (user_defined_command_args_eval): New
1186 procedure.
1187 (top level): Call it.
1188
1189 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1190
1191 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
1192 timeout handling.
1193
1194 2016-12-02 Tom Tromey <tom@tromey.com>
1195
1196 * gdb.dwarf2/main-subprogram.c: New file.
1197 * gdb.dwarf2/main-subprogram.exp: New file.
1198
1199 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1200
1201 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
1202 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
1203 gdb_test_no_output for a couple of cases.
1204 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
1205
1206 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1207
1208 Fix test names and standardize compilation error messages throughout
1209 the following files:
1210
1211 * gdb.ada/start.exp
1212 * gdb.arch/alpha-step.exp
1213 * gdb.arch/e500-prologue.exp
1214 * gdb.arch/ftrace-insn-reloc.exp
1215 * gdb.arch/gdb1291.exp
1216 * gdb.arch/gdb1431.exp
1217 * gdb.arch/gdb1558.exp
1218 * gdb.arch/i386-dr3-watch.exp
1219 * gdb.arch/i386-sse-stack-align.exp
1220 * gdb.arch/ia64-breakpoint-shadow.exp
1221 * gdb.arch/pa-nullify.exp
1222 * gdb.arch/powerpc-aix-prologue.exp
1223 * gdb.arch/thumb-bx-pc.exp
1224 * gdb.base/annota1.exp
1225 * gdb.base/annota3.exp
1226 * gdb.base/arrayidx.exp
1227 * gdb.base/assign.exp
1228 * gdb.base/attach.exp
1229 * gdb.base/auxv.exp
1230 * gdb.base/bang.exp
1231 * gdb.base/bfp-test.exp
1232 * gdb.base/bigcore.exp
1233 * gdb.base/bitfields2.exp
1234 * gdb.base/break-fun-addr.exp
1235 * gdb.base/break-probes.exp
1236 * gdb.base/call-rt-st.exp
1237 * gdb.base/callexit.exp
1238 * gdb.base/catch-fork-kill.exp
1239 * gdb.base/charset.exp
1240 * gdb.base/checkpoint.exp
1241 * gdb.base/comprdebug.exp
1242 * gdb.base/constvars.exp
1243 * gdb.base/coredump-filter.exp
1244 * gdb.base/cursal.exp
1245 * gdb.base/cvexpr.exp
1246 * gdb.base/detach.exp
1247 * gdb.base/display.exp
1248 * gdb.base/dmsym.exp
1249 * gdb.base/dprintf-pending.exp
1250 * gdb.base/dso2dso.exp
1251 * gdb.base/dtrace-probe.exp
1252 * gdb.base/dump.exp
1253 * gdb.base/enum_cond.exp
1254 * gdb.base/exe-lock.exp
1255 * gdb.base/exec-invalid-sysroot.exp
1256 * gdb.base/execl-update-breakpoints.exp
1257 * gdb.base/exprs.exp
1258 * gdb.base/fileio.exp
1259 * gdb.base/find.exp
1260 * gdb.base/finish.exp
1261 * gdb.base/fixsection.exp
1262 * gdb.base/foll-vfork.exp
1263 * gdb.base/frame-args.exp
1264 * gdb.base/gcore.exp
1265 * gdb.base/gdb1250.exp
1266 * gdb.base/global-var-nested-by-dso.exp
1267 * gdb.base/gnu-ifunc.exp
1268 * gdb.base/hashline1.exp
1269 * gdb.base/hashline2.exp
1270 * gdb.base/hashline3.exp
1271 * gdb.base/hbreak-in-shr-unsupported.exp
1272 * gdb.base/huge.exp
1273 * gdb.base/infcall-input.exp
1274 * gdb.base/info-fun.exp
1275 * gdb.base/info-shared.exp
1276 * gdb.base/jit-simple.exp
1277 * gdb.base/jit-so.exp
1278 * gdb.base/jit.exp
1279 * gdb.base/jump.exp
1280 * gdb.base/label.exp
1281 * gdb.base/lineinc.exp
1282 * gdb.base/logical.exp
1283 * gdb.base/longjmp.exp
1284 * gdb.base/macscp.exp
1285 * gdb.base/miscexprs.exp
1286 * gdb.base/new-ui-echo.exp
1287 * gdb.base/new-ui-pending-input.exp
1288 * gdb.base/new-ui.exp
1289 * gdb.base/nodebug.exp
1290 * gdb.base/nofield.exp
1291 * gdb.base/offsets.exp
1292 * gdb.base/overlays.exp
1293 * gdb.base/pending.exp
1294 * gdb.base/pointers.exp
1295 * gdb.base/pr11022.exp
1296 * gdb.base/printcmds.exp
1297 * gdb.base/prologue.exp
1298 * gdb.base/ptr-typedef.exp
1299 * gdb.base/realname-expand.exp
1300 * gdb.base/relativedebug.exp
1301 * gdb.base/relocate.exp
1302 * gdb.base/remote.exp
1303 * gdb.base/reread.exp
1304 * gdb.base/return2.exp
1305 * gdb.base/savedregs.exp
1306 * gdb.base/sep.exp
1307 * gdb.base/sepdebug.exp
1308 * gdb.base/sepsymtab.exp
1309 * gdb.base/set-inferior-tty.exp
1310 * gdb.base/setshow.exp
1311 * gdb.base/shlib-call.exp
1312 * gdb.base/sigaltstack.exp
1313 * gdb.base/siginfo-addr.exp
1314 * gdb.base/signals.exp
1315 * gdb.base/signull.exp
1316 * gdb.base/sigrepeat.exp
1317 * gdb.base/so-impl-ld.exp
1318 * gdb.base/solib-display.exp
1319 * gdb.base/solib-overlap.exp
1320 * gdb.base/solib-search.exp
1321 * gdb.base/solib-symbol.exp
1322 * gdb.base/structs.exp
1323 * gdb.base/structs2.exp
1324 * gdb.base/symtab-search-order.exp
1325 * gdb.base/twice.exp
1326 * gdb.base/unload.exp
1327 * gdb.base/varargs.exp
1328 * gdb.base/watchpoint-solib.exp
1329 * gdb.base/watchpoint.exp
1330 * gdb.base/whatis.exp
1331 * gdb.base/wrong_frame_bt_full.exp
1332 * gdb.btrace/dlopen.exp
1333 * gdb.cell/ea-standalone.exp
1334 * gdb.cell/ea-test.exp
1335 * gdb.cp/dispcxx.exp
1336 * gdb.cp/gdb2384.exp
1337 * gdb.cp/method2.exp
1338 * gdb.cp/nextoverthrow.exp
1339 * gdb.cp/pr10728.exp
1340 * gdb.disasm/am33.exp
1341 * gdb.disasm/h8300s.exp
1342 * gdb.disasm/mn10300.exp
1343 * gdb.disasm/sh3.exp
1344 * gdb.dwarf2/dw2-dir-file-name.exp
1345 * gdb.fortran/complex.exp
1346 * gdb.fortran/library-module.exp
1347 * gdb.guile/scm-pretty-print.exp
1348 * gdb.guile/scm-symbol.exp
1349 * gdb.guile/scm-type.exp
1350 * gdb.guile/scm-value.exp
1351 * gdb.linespec/linespec.exp
1352 * gdb.mi/gdb701.exp
1353 * gdb.mi/gdb792.exp
1354 * gdb.mi/mi-breakpoint-changed.exp
1355 * gdb.mi/mi-dprintf-pending.exp
1356 * gdb.mi/mi-dprintf.exp
1357 * gdb.mi/mi-exit-code.exp
1358 * gdb.mi/mi-pending.exp
1359 * gdb.mi/mi-solib.exp
1360 * gdb.mi/new-ui-mi-sync.exp
1361 * gdb.mi/pr11022.exp
1362 * gdb.mi/user-selected-context-sync.exp
1363 * gdb.opt/solib-intra-step.exp
1364 * gdb.python/py-events.exp
1365 * gdb.python/py-finish-breakpoint.exp
1366 * gdb.python/py-mi.exp
1367 * gdb.python/py-prettyprint.exp
1368 * gdb.python/py-shared.exp
1369 * gdb.python/py-symbol.exp
1370 * gdb.python/py-template.exp
1371 * gdb.python/py-type.exp
1372 * gdb.python/py-value.exp
1373 * gdb.reverse/solib-precsave.exp
1374 * gdb.reverse/solib-reverse.exp
1375 * gdb.server/solib-list.exp
1376 * gdb.stabs/weird.exp
1377 * gdb.threads/reconnect-signal.exp
1378 * gdb.threads/stepi-random-signal.exp
1379 * gdb.trace/actions.exp
1380 * gdb.trace/ax.exp
1381 * gdb.trace/backtrace.exp
1382 * gdb.trace/change-loc.exp
1383 * gdb.trace/deltrace.exp
1384 * gdb.trace/ftrace-lock.exp
1385 * gdb.trace/ftrace.exp
1386 * gdb.trace/infotrace.exp
1387 * gdb.trace/mi-tracepoint-changed.exp
1388 * gdb.trace/packetlen.exp
1389 * gdb.trace/passcount.exp
1390 * gdb.trace/pending.exp
1391 * gdb.trace/range-stepping.exp
1392 * gdb.trace/report.exp
1393 * gdb.trace/stap-trace.exp
1394 * gdb.trace/tfind.exp
1395 * gdb.trace/trace-break.exp
1396 * gdb.trace/trace-condition.exp
1397 * gdb.trace/trace-enable-disable.exp
1398 * gdb.trace/trace-mt.exp
1399 * gdb.trace/tracecmd.exp
1400 * gdb.trace/tspeed.exp
1401 * gdb.trace/tsv.exp
1402 * lib/perftest.exp
1403
1404 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1405
1406 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1407 with gdb_test_no_output.
1408 Use command as test name.
1409
1410 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1411
1412 Fix test names starting with uppercase throughout the files.
1413
1414 * gdb.ada/assign_1.exp
1415 * gdb.ada/boolean_expr.exp
1416 * gdb.base/arrayidx.exp
1417 * gdb.base/del.exp
1418 * gdb.base/gcore-buffer-overflow.exp
1419 * gdb.base/testenv.exp
1420 * gdb.compile/compile.exp
1421 * gdb.python/py-framefilter-invalidarg.exp
1422 * gdb.python/py-framefilter.exp
1423
1424 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1425
1426 Fix test names starting with uppercase throughout the files.
1427
1428 * gdb.ada/array_return.exp
1429 * gdb.ada/expr_delims.exp
1430 * gdb.ada/mi_dyn_arr.exp
1431 * gdb.ada/mi_interface.exp
1432 * gdb.ada/mi_var_array.exp
1433 * gdb.ada/watch_arg.exp
1434 * gdb.arch/alpha-step.exp
1435 * gdb.arch/altivec-regs.exp
1436 * gdb.arch/e500-regs.exp
1437 * gdb.arch/powerpc-d128-regs.exp
1438 * gdb.base/arrayidx.exp
1439 * gdb.base/break.exp
1440 * gdb.base/checkpoint.exp
1441 * gdb.base/debug-expr.exp
1442 * gdb.base/dmsym.exp
1443 * gdb.base/radix.exp
1444 * gdb.base/sepdebug.exp
1445 * gdb.base/testenv.exp
1446 * gdb.base/watch_thread_num.exp
1447 * gdb.base/watchpoint-cond-gone.exp
1448 * gdb.cell/break.exp
1449 * gdb.cell/ea-cache.exp
1450 * gdb.compile/compile.exp
1451 * gdb.cp/gdb2495.exp
1452 * gdb.gdb/selftest.exp
1453 * gdb.gdb/xfullpath.exp
1454 * gdb.go/hello.exp
1455 * gdb.go/integers.exp
1456 * gdb.objc/basicclass.exp
1457 * gdb.pascal/hello.exp
1458 * gdb.pascal/integers.exp
1459 * gdb.python/py-breakpoint.exp
1460 * gdb.python/py-cmd.exp
1461 * gdb.python/py-linetable.exp
1462 * gdb.python/py-xmethods.exp
1463 * gdb.python/python.exp
1464 * gdb.reverse/consecutive-precsave.exp
1465 * gdb.reverse/finish-precsave.exp
1466 * gdb.reverse/i386-precsave.exp
1467 * gdb.reverse/machinestate-precsave.exp
1468 * gdb.reverse/sigall-precsave.exp
1469 * gdb.reverse/solib-precsave.exp
1470 * gdb.reverse/step-precsave.exp
1471 * gdb.reverse/until-precsave.exp
1472 * gdb.reverse/watch-precsave.exp
1473 * gdb.threads/leader-exit.exp
1474 * gdb.threads/pthreads.exp
1475 * gdb.threads/wp-replication.exp
1476 * gdb.trace/actions.exp
1477 * gdb.trace/mi-tsv-changed.exp
1478 * gdb.trace/tsv.exp
1479
1480 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1481
1482 Fix test names starting with uppercase throughout the files.
1483
1484 * gdb.arch/i386-bp_permanent.exp
1485 * gdb.arch/i386-gnu-cfi.exp
1486 * gdb.base/disasm-end-cu.exp
1487 * gdb.base/macscp.exp
1488 * gdb.base/pending.exp
1489 * gdb.base/watch_thread_num.exp
1490 * gdb.cp/exception.exp
1491 * gdb.cp/gdb2495.exp
1492 * gdb.cp/local.exp
1493 * gdb.python/py-evsignal.exp
1494 * gdb.python/python.exp
1495 * gdb.trace/tracecmd.exp
1496
1497 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1498
1499 Fix test names starting with uppercase throughout the files.
1500
1501 * gdb.base/charset.exp
1502 * gdb.base/eval.exp
1503 * gdb.base/multi-forks.exp
1504 * gdb.guile/scm-progspace.exp
1505 * gdb.opencl/datatypes.exp
1506 * gdb.python/py-block.exp
1507 * gdb.python/py-function.exp
1508 * gdb.python/py-symbol.exp
1509 * gdb.python/py-symtab.exp
1510 * gdb.python/py-xmethods.exp
1511 * gdb.reverse/break-precsave.exp
1512 * gdb.reverse/break-reverse.exp
1513 * gdb.reverse/consecutive-precsave.exp
1514 * gdb.reverse/consecutive-reverse.exp
1515 * gdb.reverse/finish-precsave.exp
1516 * gdb.reverse/finish-reverse-bkpt.exp
1517 * gdb.reverse/finish-reverse.exp
1518 * gdb.reverse/fstatat-reverse.exp
1519 * gdb.reverse/getresuid-reverse.exp
1520 * gdb.reverse/i386-precsave.exp
1521 * gdb.reverse/i386-reverse.exp
1522 * gdb.reverse/i386-sse-reverse.exp
1523 * gdb.reverse/i387-stack-reverse.exp
1524 * gdb.reverse/insn-reverse.exp
1525 * gdb.reverse/machinestate-precsave.exp
1526 * gdb.reverse/machinestate.exp
1527 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1528 * gdb.reverse/pipe-reverse.exp
1529 * gdb.reverse/readv-reverse.exp
1530 * gdb.reverse/recvmsg-reverse.exp
1531 * gdb.reverse/rerun-prec.exp
1532 * gdb.reverse/s390-mvcle.exp
1533 * gdb.reverse/sigall-precsave.exp
1534 * gdb.reverse/sigall-reverse.exp
1535 * gdb.reverse/solib-precsave.exp
1536 * gdb.reverse/solib-reverse.exp
1537 * gdb.reverse/step-precsave.exp
1538 * gdb.reverse/step-reverse.exp
1539 * gdb.reverse/time-reverse.exp
1540 * gdb.reverse/until-precsave.exp
1541 * gdb.reverse/until-reverse.exp
1542 * gdb.reverse/waitpid-reverse.exp
1543 * gdb.reverse/watch-precsave.exp
1544 * gdb.reverse/watch-reverse.exp
1545
1546 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1547
1548 Fix test names starting with uppercase throughout the files.
1549
1550 * gdb.arch/i386-mpx-simple_segv.exp
1551 * gdb.arch/i386-mpx.exp
1552 * gdb.arch/i386-permbkpt.exp
1553 * gdb.arch/pa-nullify.exp
1554 * gdb.arch/powerpc-d128-regs.exp
1555 * gdb.arch/vsx-regs.exp
1556 * gdb.base/bfp-test.exp
1557 * gdb.base/break.exp
1558 * gdb.base/breakpoint-shadow.exp
1559 * gdb.base/callfuncs.exp
1560 * gdb.base/charset.exp
1561 * gdb.base/commands.exp
1562 * gdb.base/completion.exp
1563 * gdb.base/dfp-test.exp
1564 * gdb.base/echo.exp
1565 * gdb.base/ending-run.exp
1566 * gdb.base/eval.exp
1567 * gdb.base/expand-psymtabs.exp
1568 * gdb.base/float128.exp
1569 * gdb.base/floatn.exp
1570 * gdb.base/foll-exec-mode.exp
1571 * gdb.base/gdb1056.exp
1572 * gdb.base/gdb11531.exp
1573 * gdb.base/kill-after-signal.exp
1574 * gdb.base/multi-forks.exp
1575 * gdb.base/overlays.exp
1576 * gdb.base/pending.exp
1577 * gdb.base/sepdebug.exp
1578 * gdb.base/testenv.exp
1579 * gdb.base/valgrind-db-attach.exp
1580 * gdb.base/watch_thread_num.exp
1581 * gdb.base/watchpoint-cond-gone.exp
1582 * gdb.base/watchpoint.exp
1583 * gdb.base/watchpoints.exp
1584 * gdb.cp/arg-reference.exp
1585 * gdb.cp/baseenum.exp
1586 * gdb.cp/operator.exp
1587 * gdb.cp/shadow.exp
1588 * gdb.dwarf2/dw2-op-out-param.exp
1589 * gdb.dwarf2/dw2-reg-undefined.exp
1590 * gdb.go/chan.exp
1591 * gdb.go/hello.exp
1592 * gdb.go/integers.exp
1593 * gdb.go/methods.exp
1594 * gdb.go/package.exp
1595 * gdb.guile/scm-parameter.exp
1596 * gdb.guile/scm-progspace.exp
1597 * gdb.guile/scm-value.exp
1598 * gdb.mi/mi-pending.exp
1599 * gdb.mi/user-selected-context-sync.exp
1600 * gdb.multi/multi-attach.exp
1601 * gdb.multi/tids.exp
1602 * gdb.opt/clobbered-registers-O2.exp
1603 * gdb.pascal/floats.exp
1604 * gdb.pascal/integers.exp
1605 * gdb.python/py-block.exp
1606 * gdb.python/py-events.exp
1607 * gdb.python/py-parameter.exp
1608 * gdb.python/py-symbol.exp
1609 * gdb.python/py-symtab.exp
1610 * gdb.python/py-type.exp
1611 * gdb.python/py-value.exp
1612 * gdb.python/py-xmethods.exp
1613 * gdb.python/python.exp
1614 * gdb.reverse/break-precsave.exp
1615 * gdb.reverse/consecutive-precsave.exp
1616 * gdb.reverse/finish-precsave.exp
1617 * gdb.reverse/i386-precsave.exp
1618 * gdb.reverse/machinestate-precsave.exp
1619 * gdb.reverse/sigall-precsave.exp
1620 * gdb.reverse/solib-precsave.exp
1621 * gdb.reverse/step-precsave.exp
1622 * gdb.reverse/until-precsave.exp
1623 * gdb.reverse/watch-precsave.exp
1624 * gdb.server/ext-attach.exp
1625 * gdb.server/ext-restart.exp
1626 * gdb.server/ext-run.exp
1627 * gdb.server/ext-wrapper.exp
1628 * gdb.stabs/gdb11479.exp
1629 * gdb.stabs/weird.exp
1630 * gdb.threads/attach-many-short-lived-threads.exp
1631 * gdb.threads/kill.exp
1632 * gdb.threads/watchpoint-fork.exp
1633
1634 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1635
1636 Fix test names starting with uppercase throughout all the files below.
1637
1638 * gdb.ada/array_return.exp
1639 * gdb.ada/catch_ex.exp
1640 * gdb.ada/info_exc.exp
1641 * gdb.ada/mi_catch_ex.exp
1642 * gdb.ada/mi_dyn_arr.exp
1643 * gdb.ada/mi_ex_cond.exp
1644 * gdb.ada/mi_exc_info.exp
1645 * gdb.ada/mi_interface.exp
1646 * gdb.ada/mi_task_arg.exp
1647 * gdb.ada/mi_task_info.exp
1648 * gdb.ada/mi_var_array.exp
1649 * gdb.arch/alpha-step.exp
1650 * gdb.arch/amd64-disp-step.exp
1651 * gdb.arch/arm-disp-step.exp
1652 * gdb.arch/disp-step-insn-reloc.exp
1653 * gdb.arch/e500-prologue.exp
1654 * gdb.arch/ftrace-insn-reloc.exp
1655 * gdb.arch/gdb1558.exp
1656 * gdb.arch/i386-bp_permanent.exp
1657 * gdb.arch/i386-disp-step.exp
1658 * gdb.arch/i386-float.exp
1659 * gdb.arch/i386-gnu-cfi.exp
1660 * gdb.arch/ia64-breakpoint-shadow.exp
1661 * gdb.arch/mips16-thunks.exp
1662 * gdb.arch/pa-nullify.exp
1663 * gdb.arch/powerpc-aix-prologue.exp
1664 * gdb.arch/powerpc-power.exp
1665 * gdb.arch/ppc-dfp.exp
1666 * gdb.arch/s390-tdbregs.exp
1667 * gdb.arch/spu-info.exp
1668 * gdb.arch/spu-ls.exp
1669 * gdb.arch/thumb-bx-pc.exp
1670 * gdb.base/advance.exp
1671 * gdb.base/annota-input-while-running.exp
1672 * gdb.base/arrayidx.exp
1673 * gdb.base/asmlabel.exp
1674 * gdb.base/async.exp
1675 * gdb.base/attach-wait-input.exp
1676 * gdb.base/auto-connect-native-target.exp
1677 * gdb.base/batch-preserve-term-settings.exp
1678 * gdb.base/bfp-test.exp
1679 * gdb.base/bigcore.exp
1680 * gdb.base/bp-permanent.exp
1681 * gdb.base/break-always.exp
1682 * gdb.base/break-fun-addr.exp
1683 * gdb.base/break-idempotent.exp
1684 * gdb.base/break-main-file-remove-fail.exp
1685 * gdb.base/break-probes.exp
1686 * gdb.base/break-unload-file.exp
1687 * gdb.base/break.exp
1688 * gdb.base/call-ar-st.exp
1689 * gdb.base/call-rt-st.exp
1690 * gdb.base/call-sc.exp
1691 * gdb.base/call-signal-resume.exp
1692 * gdb.base/call-strs.exp
1693 * gdb.base/callexit.exp
1694 * gdb.base/callfuncs.exp
1695 * gdb.base/catch-gdb-caused-signals.exp
1696 * gdb.base/catch-signal-siginfo-cond.exp
1697 * gdb.base/catch-syscall.exp
1698 * gdb.base/compare-sections.exp
1699 * gdb.base/cond-eval-mode.exp
1700 * gdb.base/condbreak-call-false.exp
1701 * gdb.base/consecutive-step-over.exp
1702 * gdb.base/cursal.exp
1703 * gdb.base/disabled-location.exp
1704 * gdb.base/disasm-end-cu.exp
1705 * gdb.base/display.exp
1706 * gdb.base/double-prompt-target-event-error.exp
1707 * gdb.base/dprintf-bp-same-addr.exp
1708 * gdb.base/dprintf-detach.exp
1709 * gdb.base/dprintf-next.exp
1710 * gdb.base/dprintf-non-stop.exp
1711 * gdb.base/dprintf-pending.exp
1712 * gdb.base/dso2dso.exp
1713 * gdb.base/ending-run.exp
1714 * gdb.base/enum_cond.exp
1715 * gdb.base/examine-backward.exp
1716 * gdb.base/exe-lock.exp
1717 * gdb.base/exec-invalid-sysroot.exp
1718 * gdb.base/execl-update-breakpoints.exp
1719 * gdb.base/execution-termios.exp
1720 * gdb.base/fileio.exp
1721 * gdb.base/fixsection.exp
1722 * gdb.base/foll-exec-mode.exp
1723 * gdb.base/foll-exec.exp
1724 * gdb.base/fork-running-state.exp
1725 * gdb.base/frame-args.exp
1726 * gdb.base/fullpath-expand.exp
1727 * gdb.base/func-ptr.exp
1728 * gdb.base/gcore-relro-pie.exp
1729 * gdb.base/gdb1090.exp
1730 * gdb.base/gdb1555.exp
1731 * gdb.base/global-var-nested-by-dso.exp
1732 * gdb.base/gnu-ifunc.exp
1733 * gdb.base/hbreak-in-shr-unsupported.exp
1734 * gdb.base/hbreak-unmapped.exp
1735 * gdb.base/hook-stop.exp
1736 * gdb.base/infcall-input.exp
1737 * gdb.base/info-fun.exp
1738 * gdb.base/info-shared.exp
1739 * gdb.base/interrupt-noterm.exp
1740 * gdb.base/jit-so.exp
1741 * gdb.base/jit.exp
1742 * gdb.base/line-symtabs.exp
1743 * gdb.base/list.exp
1744 * gdb.base/longjmp.exp
1745 * gdb.base/macscp.exp
1746 * gdb.base/max-value-size.exp
1747 * gdb.base/nodebug.exp
1748 * gdb.base/nofield.exp
1749 * gdb.base/overlays.exp
1750 * gdb.base/paginate-after-ctrl-c-running.exp
1751 * gdb.base/paginate-bg-execution.exp
1752 * gdb.base/paginate-inferior-exit.exp
1753 * gdb.base/pending.exp
1754 * gdb.base/pr11022.exp
1755 * gdb.base/printcmds.exp
1756 * gdb.base/ptr-typedef.exp
1757 * gdb.base/ptype.exp
1758 * gdb.base/randomize.exp
1759 * gdb.base/range-stepping.exp
1760 * gdb.base/realname-expand.exp
1761 * gdb.base/relativedebug.exp
1762 * gdb.base/remote.exp
1763 * gdb.base/savedregs.exp
1764 * gdb.base/sepdebug.exp
1765 * gdb.base/set-noassign.exp
1766 * gdb.base/shlib-call.exp
1767 * gdb.base/shreloc.exp
1768 * gdb.base/sigaltstack.exp
1769 * gdb.base/sigbpt.exp
1770 * gdb.base/siginfo-addr.exp
1771 * gdb.base/siginfo-obj.exp
1772 * gdb.base/siginfo-thread.exp
1773 * gdb.base/signest.exp
1774 * gdb.base/signull.exp
1775 * gdb.base/sigrepeat.exp
1776 * gdb.base/skip.exp
1777 * gdb.base/so-impl-ld.exp
1778 * gdb.base/solib-corrupted.exp
1779 * gdb.base/solib-disc.exp
1780 * gdb.base/solib-display.exp
1781 * gdb.base/solib-overlap.exp
1782 * gdb.base/solib-search.exp
1783 * gdb.base/solib-symbol.exp
1784 * gdb.base/source-execution.exp
1785 * gdb.base/sss-bp-on-user-bp-2.exp
1786 * gdb.base/sss-bp-on-user-bp.exp
1787 * gdb.base/stack-checking.exp
1788 * gdb.base/stale-infcall.exp
1789 * gdb.base/step-break.exp
1790 * gdb.base/step-line.exp
1791 * gdb.base/step-over-exit.exp
1792 * gdb.base/step-test.exp
1793 * gdb.base/structs.exp
1794 * gdb.base/sym-file.exp
1795 * gdb.base/symtab-search-order.exp
1796 * gdb.base/term.exp
1797 * gdb.base/type-opaque.exp
1798 * gdb.base/unload.exp
1799 * gdb.base/until-nodebug.exp
1800 * gdb.base/until.exp
1801 * gdb.base/unwindonsignal.exp
1802 * gdb.base/watch-cond.exp
1803 * gdb.base/watch-non-mem.exp
1804 * gdb.base/watch_thread_num.exp
1805 * gdb.base/watchpoint-reuse-slot.exp
1806 * gdb.base/watchpoint-solib.exp
1807 * gdb.base/watchpoint.exp
1808 * gdb.btrace/dlopen.exp
1809 * gdb.cell/arch.exp
1810 * gdb.cell/break.exp
1811 * gdb.cell/bt.exp
1812 * gdb.cell/core.exp
1813 * gdb.cell/data.exp
1814 * gdb.cell/dwarfaddr.exp
1815 * gdb.cell/ea-cache.exp
1816 * gdb.cell/ea-standalone.exp
1817 * gdb.cell/ea-test.exp
1818 * gdb.cell/f-regs.exp
1819 * gdb.cell/fork.exp
1820 * gdb.cell/gcore.exp
1821 * gdb.cell/mem-access.exp
1822 * gdb.cell/ptype.exp
1823 * gdb.cell/registers.exp
1824 * gdb.cell/sizeof.exp
1825 * gdb.cell/solib-symbol.exp
1826 * gdb.cell/solib.exp
1827 * gdb.compile/compile-tls.exp
1828 * gdb.cp/exception.exp
1829 * gdb.cp/gdb2495.exp
1830 * gdb.cp/local.exp
1831 * gdb.cp/mb-inline.exp
1832 * gdb.cp/mb-templates.exp
1833 * gdb.cp/pr10687.exp
1834 * gdb.cp/pr9167.exp
1835 * gdb.cp/scope-err.exp
1836 * gdb.cp/templates.exp
1837 * gdb.cp/virtfunc.exp
1838 * gdb.dwarf2/dw2-dir-file-name.exp
1839 * gdb.dwarf2/dw2-single-line-discriminators.exp
1840 * gdb.fortran/complex.exp
1841 * gdb.fortran/library-module.exp
1842 * gdb.guile/guile.exp
1843 * gdb.guile/scm-cmd.exp
1844 * gdb.guile/scm-frame-inline.exp
1845 * gdb.guile/scm-objfile.exp
1846 * gdb.guile/scm-pretty-print.exp
1847 * gdb.guile/scm-symbol.exp
1848 * gdb.guile/scm-type.exp
1849 * gdb.guile/scm-value.exp
1850 * gdb.linespec/keywords.exp
1851 * gdb.linespec/ls-errs.exp
1852 * gdb.linespec/macro-relative.exp
1853 * gdb.linespec/thread.exp
1854 * gdb.mi/mi-breakpoint-changed.exp
1855 * gdb.mi/mi-dprintf-pending.exp
1856 * gdb.mi/mi-fullname-deleted.exp
1857 * gdb.mi/mi-logging.exp
1858 * gdb.mi/mi-pending.exp
1859 * gdb.mi/mi-solib.exp
1860 * gdb.mi/new-ui-mi-sync.exp
1861 * gdb.mi/user-selected-context-sync.exp
1862 * gdb.multi/dummy-frame-restore.exp
1863 * gdb.multi/multi-arch-exec.exp
1864 * gdb.multi/remove-inferiors.exp
1865 * gdb.multi/watchpoint-multi-exit.exp
1866 * gdb.opt/solib-intra-step.exp
1867 * gdb.perf/backtrace.exp
1868 * gdb.perf/single-step.exp
1869 * gdb.perf/skip-command.exp
1870 * gdb.perf/skip-prologue.exp
1871 * gdb.perf/solib.exp
1872 * gdb.python/lib-types.exp
1873 * gdb.python/py-as-string.exp
1874 * gdb.python/py-bad-printers.exp
1875 * gdb.python/py-block.exp
1876 * gdb.python/py-breakpoint.exp
1877 * gdb.python/py-cmd.exp
1878 * gdb.python/py-events.exp
1879 * gdb.python/py-evthreads.exp
1880 * gdb.python/py-finish-breakpoint.exp
1881 * gdb.python/py-finish-breakpoint2.exp
1882 * gdb.python/py-frame-inline.exp
1883 * gdb.python/py-frame.exp
1884 * gdb.python/py-inferior.exp
1885 * gdb.python/py-infthread.exp
1886 * gdb.python/py-mi.exp
1887 * gdb.python/py-objfile.exp
1888 * gdb.python/py-pp-maint.exp
1889 * gdb.python/py-pp-registration.exp
1890 * gdb.python/py-prettyprint.exp
1891 * gdb.python/py-recurse-unwind.exp
1892 * gdb.python/py-shared.exp
1893 * gdb.python/py-symbol.exp
1894 * gdb.python/py-symtab.exp
1895 * gdb.python/py-template.exp
1896 * gdb.python/py-type.exp
1897 * gdb.python/py-unwind-maint.exp
1898 * gdb.python/py-unwind.exp
1899 * gdb.python/py-value.exp
1900 * gdb.python/python.exp
1901 * gdb.reverse/finish-reverse-bkpt.exp
1902 * gdb.reverse/insn-reverse.exp
1903 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1904 * gdb.reverse/solib-precsave.exp
1905 * gdb.reverse/solib-reverse.exp
1906 * gdb.stabs/gdb11479.exp
1907 * gdb.stabs/weird.exp
1908 * gdb.threads/fork-child-threads.exp
1909 * gdb.threads/fork-plus-threads.exp
1910 * gdb.threads/fork-thread-pending.exp
1911 * gdb.threads/forking-threads-plus-breakpoint.exp
1912 * gdb.threads/hand-call-in-threads.exp
1913 * gdb.threads/interrupted-hand-call.exp
1914 * gdb.threads/linux-dp.exp
1915 * gdb.threads/local-watch-wrong-thread.exp
1916 * gdb.threads/next-while-other-thread-longjmps.exp
1917 * gdb.threads/non-ldr-exit.exp
1918 * gdb.threads/pending-step.exp
1919 * gdb.threads/print-threads.exp
1920 * gdb.threads/process-dies-while-detaching.exp
1921 * gdb.threads/process-dies-while-handling-bp.exp
1922 * gdb.threads/pthreads.exp
1923 * gdb.threads/queue-signal.exp
1924 * gdb.threads/reconnect-signal.exp
1925 * gdb.threads/signal-command-handle-nopass.exp
1926 * gdb.threads/signal-command-multiple-signals-pending.exp
1927 * gdb.threads/signal-delivered-right-thread.exp
1928 * gdb.threads/signal-sigtrap.exp
1929 * gdb.threads/sigthread.exp
1930 * gdb.threads/staticthreads.exp
1931 * gdb.threads/stepi-random-signal.exp
1932 * gdb.threads/thread-unwindonsignal.exp
1933 * gdb.threads/thread_check.exp
1934 * gdb.threads/thread_events.exp
1935 * gdb.threads/tid-reuse.exp
1936 * gdb.threads/tls-nodebug.exp
1937 * gdb.threads/tls-shared.exp
1938 * gdb.threads/tls-so_extern.exp
1939 * gdb.threads/tls.exp
1940 * gdb.threads/wp-replication.exp
1941 * gdb.trace/actions-changed.exp
1942 * gdb.trace/actions.exp
1943 * gdb.trace/backtrace.exp
1944 * gdb.trace/change-loc.exp
1945 * gdb.trace/collection.exp
1946 * gdb.trace/deltrace.exp
1947 * gdb.trace/disconnected-tracing.exp
1948 * gdb.trace/entry-values.exp
1949 * gdb.trace/ftrace-lock.exp
1950 * gdb.trace/ftrace.exp
1951 * gdb.trace/infotrace.exp
1952 * gdb.trace/mi-trace-frame-collected.exp
1953 * gdb.trace/mi-trace-unavailable.exp
1954 * gdb.trace/mi-traceframe-changed.exp
1955 * gdb.trace/mi-tracepoint-changed.exp
1956 * gdb.trace/mi-tsv-changed.exp
1957 * gdb.trace/no-attach-trace.exp
1958 * gdb.trace/packetlen.exp
1959 * gdb.trace/passc-dyn.exp
1960 * gdb.trace/passcount.exp
1961 * gdb.trace/pending.exp
1962 * gdb.trace/pr16508.exp
1963 * gdb.trace/qtro.exp
1964 * gdb.trace/range-stepping.exp
1965 * gdb.trace/read-memory.exp
1966 * gdb.trace/report.exp
1967 * gdb.trace/save-trace.exp
1968 * gdb.trace/signal.exp
1969 * gdb.trace/stap-trace.exp
1970 * gdb.trace/status-stop.exp
1971 * gdb.trace/strace.exp
1972 * gdb.trace/tfile.exp
1973 * gdb.trace/tfind.exp
1974 * gdb.trace/trace-break.exp
1975 * gdb.trace/trace-condition.exp
1976 * gdb.trace/trace-enable-disable.exp
1977 * gdb.trace/trace-mt.exp
1978 * gdb.trace/tracecmd.exp
1979 * gdb.trace/tracefile-pseudo-reg.exp
1980 * gdb.trace/tspeed.exp
1981 * gdb.trace/tstatus.exp
1982 * gdb.trace/tsv.exp
1983 * gdb.trace/unavailable.exp
1984 * gdb.trace/while-dyn.exp
1985 * gdb.trace/while-stepping.exp
1986 * lib/gdb-guile.exp
1987 * lib/gdb.exp
1988 * lib/mi-support.exp
1989 * lib/pascal.exp
1990 * lib/perftest.exp
1991 * lib/prelink-support.exp
1992 * lib/selftest-support.exp
1993
1994 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
1995
1996 * Makefile.in: Include disable-implicit-rules.mk.
1997
1998 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1999
2000 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
2001 non-byte-aligned bit fields.
2002
2003 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2004
2005 PR gdb/12616
2006 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
2007 respects the DW_AT_data_bit_offset attribute.
2008
2009 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
2010
2011 * gdb.base/default.exp: Fix output of "set language".
2012
2013 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
2014
2015 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
2016 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
2017 make.
2018 * configure.ac: Remove checks for the make program.
2019 * configure: Re-generate.
2020
2021 2016-11-16 Kevin Buettner <kevinb@redhat.com>
2022
2023 * gdb.python/py-recurse-unwind.c (main): Add loop.
2024 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
2025 to read_register() and gdb.parse_and_eval(). Make each code
2026 call a separate case that can be individually tested.
2027 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
2028 proc. Call cont_and_backtrace for each of the code paths that
2029 we want to test in the unwinder.
2030
2031 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
2032
2033 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
2034 the definition of struct S.
2035
2036 2016-11-11 Catherine Moore <clm@codesourcery.com>
2037
2038 * gdb.base/dump.exp: Identify verilog format dump tests as such.
2039
2040 2016-11-09 Pedro Alves <palves@redhat.com>
2041
2042 * gdb.base/commands.exp (runto_or_return): New procedure.
2043 (gdbvar_simple_if_test, gdbvar_simple_while_test)
2044 (gdbvar_complex_if_while_test, progvar_simple_if_test)
2045 (progvar_simple_while_test, progvar_complex_if_while_test)
2046 (if_while_breakpoint_command_test)
2047 (infrun_breakpoint_command_test, breakpoint_command_test)
2048 (user_defined_command_test, watchpoint_command_test)
2049 (test_command_prompt_position, redefine_hook_test)
2050 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
2051 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
2052 multi_line_input and multi_line. Remove gdb_expect and
2053 gdb_stop_suppressing_tests uses.
2054 * lib/gdb.exp (valnum_re): New global.
2055 (multi_line_input): New procedure.
2056
2057 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
2058
2059 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
2060 Remove.
2061 (test_setup): Define with proc_with_prefix.
2062 (test_cli_inferior): Likewise.
2063 (test_cli_thread): Likewise.
2064 (test_cli_frame): Likewise.
2065 (test_cli_select_frame): Likewise.
2066 (test_cli_up_down): Likewise.
2067 (test_mi_thread_select): Likewise.
2068 (test_mi_stack_select_frame): Likewise.
2069 (test_cli_in_mi_inferior): Likewise.
2070 (test_cli_in_mi_thread): Likewise.
2071 (test_cli_in_mi_frame): Likewise.
2072 (top level): Do not use with_test_prefix_procname.
2073
2074 2016-11-09 Pedro Alves <palves@redhat.com>
2075
2076 * gdb.base/commands.exp (gdbvar_simple_if_test)
2077 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
2078 (progvar_simple_if_test, progvar_simple_while_test)
2079 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
2080 (infrun_breakpoint_command_test, breakpoint_command_test)
2081 (user_defined_command_test, watchpoint_command_test)
2082 (test_command_prompt_position, deprecated_command_test)
2083 (bp_deleted_in_command, temporary_breakpoint_commands)
2084 (stray_arg0_test, source_file_with_indented_comment)
2085 (recursive_source_test, if_commands_test)
2086 (error_clears_commands_left, redefine_hook_test)
2087 (redefine_backtrace_test): Use proc_with_prefix.
2088 * lib/gdb.exp (proc_with_prefix): New proc.
2089
2090 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2091
2092 * gdb.base/tui-layout.c: New file.
2093 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
2094 disassembly window contains very long lines.
2095
2096 2016-11-08 Tom Tromey <tom@tromey.com>
2097
2098 * gdb.python/py-value.exp (test_value_creation): Make "long" test
2099 depend on Python 2.
2100
2101 2016-11-08 Tom Tromey <tom@tromey.com>
2102
2103 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
2104 New method.
2105
2106 2016-10-29 Manish Goregaokar <manish@mozilla.com>
2107
2108 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
2109
2110 2016-10-27 Manish Goregaokar <manish@mozilla.com>
2111
2112 * gdb.rust/simple.rs: Add test for univariant enums without
2113 discriminants and for encoded struct-like enums.
2114
2115 2016-10-28 Pedro Alves <palves@redhat.com>
2116
2117 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
2118 gdb_test_multiple, tighten regexps and match symtabs and line
2119 tables incrementally.
2120
2121 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
2122
2123 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
2124 general.
2125
2126 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
2127
2128 * gdb.base/exec-invalid-sysroot.exp: New file.
2129
2130 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2131
2132 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
2133
2134 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2135
2136 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
2137
2138 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
2139
2140 * gdb.base/killed-outside.exp: Remove $options from a call to
2141 `prepare_for_testing'.
2142
2143 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2144
2145 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2146 Change test message.
2147
2148 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2149
2150 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2151 Update comment.
2152
2153 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2154
2155 * gdb.trace/mi-trace-save.exp: New file.
2156
2157 2016-10-13 Yao Qi <yao.qi@linaro.org>
2158
2159 * gdb.base/code_elim.exp (get_var_address): Remove.
2160 * gdb.base/relocate.exp: Likewise.
2161 * gdb.base/shreloc.exp: Likewise.
2162 * lib/gdb.exp (get_var_address): New.
2163
2164 2016-10-13 Yao Qi <yao.qi@linaro.org>
2165
2166 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
2167 floating point tests if $skip_float_test is false.
2168
2169 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
2170
2171 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
2172 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
2173 argc values.
2174 Add 1 to argc so we guarantee distinct initial/modified argc values.
2175
2176 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2177
2178 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
2179
2180 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2181
2182 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
2183 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2184 * gdb.arch/vsx-regs.exp: Likewise.
2185
2186 2016-10-07 Yao Qi <yao.qi@linaro.org>
2187
2188 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
2189
2190 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
2191
2192 * gdb.python/python.exp: Test decode_line("*0").
2193
2194 2016-10-06 Doug Evans <dje@google.com>
2195
2196 * gdb.python/py-value.exp (test_value_creation): Add test for large
2197 unsigned 64-bit value.
2198
2199 2016-10-06 Tom Tromey <tom@tromey.com>
2200
2201 * gdb.compile/compile.exp: Change java tests to rust.
2202 * gdb.base/setshow.exp: Change java tests to rust.
2203 * gdb.base/default.exp: Remove java from language list.
2204 * README (Examples): Update language example.
2205 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
2206 test.
2207 * lib/gdb.exp (skip_java_tests): Remove.
2208 * lib/java.exp: Remove.
2209 * gdb.java: Remove.
2210
2211 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2212
2213 * gdb.arch/mips-fcr.exp: New test.
2214 * gdb.arch/mips-fcr.c: Source for the new test.
2215
2216 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2217
2218 * gdb.base/solib-disc.exp: Use `standard_output_file'
2219 throughout.
2220
2221 2016-10-06 Pedro Alves <palves@redhat.com>
2222
2223 * gdb.base/jit-simple-dl.c: New file.
2224 * gdb.base/jit-simple-jit.c: New file, factored out from ...
2225 * gdb.base/jit-simple.c: ... this.
2226 * gdb.base/jit-simple.exp (jit_run): Delete.
2227 (build_jit): New proc.
2228 (jit_test_reread): Recompile either the main program or the shared
2229 library, depending on what is being tested. Skip changing address
2230 if caller wants to. Compare before/after addresses. If testing
2231 standalone, explicitly load the binary. Test "maint info
2232 breakpoints".
2233 (top level): Add "standalone vs shared lib" and "change address"
2234 vs "same address" axes.
2235
2236 2016-10-06 Pedro Alves <palves@redhat.com>
2237
2238 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
2239 call.
2240 (jit_run): Delete.
2241 (jit_test_reread): Use with_test_prefix. Reload the main binary
2242 explicitly. Compare the before/after addresses of the JIT
2243 descriptor.
2244
2245 2016-08-15 Doug Evans <dje@google.com>
2246
2247 * gdb.xml/extra-regs.xml: Update, end field now required, default type
2248 for single bitfields is bool.
2249 * gdb.xml/tdesc-regs.exp: Ditto.
2250
2251 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2252
2253 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
2254
2255 2016-10-05 Yao Qi <yao.qi@linaro.org>
2256
2257 * lib/gdb.exp (support_complex_tests): Return zero if
2258 gdb_skip_float_test return true.
2259
2260 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2261 Simon Marchi <simon.marchi@ericsson.com>
2262
2263 PR gdb/20487
2264 * gdb.mi/user-selected-context-sync.exp: New file.
2265 * gdb.mi/user-selected-context-sync.c: New file.
2266
2267 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2268 Simon Marchi <simon.marchi@ericsson.com>
2269
2270 PR gdb/20487
2271 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
2272 =thread-select-event check.
2273
2274 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2275
2276 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
2277 the compulsory L operand changes.
2278 * gdb.arch/powerpc-power.s: Likewise.
2279
2280 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2281
2282 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
2283 * gdb.base/jit-attach-pie.c: New file.
2284 * gdb.base/jit-attach-pie.exp: New file.
2285
2286 2016-09-28 Pedro Alves <palves@redhat.com>
2287
2288 * gdb.base/infcall-input.c: New file.
2289 * gdb.base/infcall-input.exp: New file.
2290
2291 2016-09-22 Yao Qi <yao.qi@linaro.org>
2292
2293 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
2294 (gdb_exit): Rename it to ...
2295 (gdbserver_gdb_exit): ... Close GDBserver.
2296 (gdb_exit): New proc, call gdbserver_gdb_exit.
2297 (mi_gdb_exit): Likewise.
2298
2299 2016-09-22 Yao Qi <yao.qi@linaro.org>
2300
2301 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
2302 path.
2303 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
2304 Remove duplication.
2305
2306 2016-09-22 Yao Qi <yao.qi@linaro.org>
2307
2308 * lib/gdbserver-support.exp: Check the existence of
2309 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
2310
2311 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2312
2313 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
2314
2315 2016-09-21 Tom Tromey <tom@tromey.com>
2316
2317 PR gdb/20604:
2318 * gdb.base/quit.exp: New file.
2319
2320 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
2321
2322 * .gitignore: New file.
2323
2324 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
2325
2326 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
2327 throughout.
2328
2329 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2330
2331 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
2332
2333 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2334
2335 * gdb.cp/casts.cc (decltype): Move it ...
2336 (main): ... with its call to ...
2337 * gdb.cp/casts03.cc: ... a new file.
2338 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2339
2340 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2341
2342 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2343
2344 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2345
2346 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2347 and sync up the test with tests in gas/testsuite/gas/ppc.
2348 * gdb.arch/powerpc-power.exp: Likewise.
2349
2350 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2351
2352 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2353
2354 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2355 Jan Kratochvil <jan.kratochvil@redhat.com>
2356
2357 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2358 make m1's definition to be different from m2's. Use 'dummy' as an
2359 argument for probe 'two'.
2360
2361 2016-09-10 Jon Beniston <jon@beniston.com>
2362
2363 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2364 for sim target.
2365
2366 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2367
2368 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2369 variable declaration.
2370 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2371 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2372 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2373 received HWCAP as its argument.
2374
2375 2016-09-06 Pedro Alves <palves@redhat.com>
2376
2377 * gdb.base/new-ui-pending-input.c: New file.
2378 * gdb.base/new-ui-pending-input.exp: New file.
2379 * gdb.exp (clear_gdb_spawn_id): New procedure.
2380 (with_spawn_id): Check whether gdb_spawn_id exists before
2381 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2382 on exit.
2383
2384 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2385
2386 * gdb.base/float128.c: New file.
2387 * gdb.base/float128.exp: Likewise.
2388 * gdb.base/floatn.c: Likewise.
2389 * gdb.base/floatn.exp: Likewise.
2390
2391 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2392
2393 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2394
2395 2016-09-05 Pedro Alves <palves@redhat.com>
2396
2397 PR backtrace/19927
2398 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2399 unwinders are immediately called as side effect of "source" or
2400 "disable unwinder" commands.
2401 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2402
2403 2016-09-02 Yao Qi <yao.qi@linaro.org>
2404
2405 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2406 is true and $type is "float" or "double".
2407
2408 2016-09-02 Yao Qi <yao.qi@linaro.org>
2409
2410 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2411 true.
2412 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2413 * gdb.base/call-rt-st.exp: Likewise.
2414 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2415 return value instead of gdb,skip_float_test.
2416 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2417 (do_function_calls): Use its return value instead of
2418 gdb,skip_float_test.
2419 * gdb.base/finish.exp: Likewise.
2420 * gdb.base/funcargs.exp: Likewise.
2421 * gdb.base/return.exp: Likewise.
2422 * gdb.base/return2.exp: Likewise.
2423 * gdb.base/varargs.exp: Likewise.
2424 * lib/gdb.exp (gdb_skip_float_test): Change it to
2425 gdb_caching_proc. Detect the broken ptrace on arm-linux.
2426
2427 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2428
2429 * gdb.multi/tids.exp: Test "thread apply all".
2430
2431 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2432
2433 * gdb.base/default.exp (tty): Remove.
2434
2435 2016-08-24 Kevin Buettner <kevinb@redhat.com>
2436
2437 * gdb.python/py-recurse-unwind.c: New file.
2438 * gdb.python/py-recurse-unwind.py: New file.
2439 * gdb.python/py-recurse-unwind.exp: New file.
2440
2441 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
2442
2443 * gdb.base/set-inferior-tty.exp: New file.
2444 * gdb.base/set-inferior-tty.c: New file.
2445
2446 2016-08-23 Pedro Alves <palves@redhat.com>
2447
2448 PR gdb/20494
2449 * gdb.base/new-ui-echo.c: New file.
2450 * gdb.base/new-ui-echo.exp: New file.
2451
2452 2016-08-23 Yao Qi <yao.qi@linaro.org>
2453
2454 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
2455 gdbserver_spawn.
2456 * gdb.server/connect-without-multi-process.exp (do_test):
2457 Likewise.
2458
2459 2016-08-23 Yao Qi <yao.qi@linaro.org>
2460
2461 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
2462 standalone_txt. Delete gdb_txt and standalone_txt on host
2463 and target. Spawn the binary on target. Copy files from
2464 target to host.
2465
2466 2016-08-22 Pedro Alves <palves@redhat.com>
2467
2468 PR gdb/20505
2469 * gdb.base/vdso-warning.exp: Test core dumps too. Use
2470 with_test_prefix. Factor out bits to ...
2471 (test_no_vdso): ... this new procedure.
2472
2473 2016-08-19 Carl Love <cel@us.ibm.com>
2474
2475 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
2476 maintaining separate logic for constructing the output path.
2477 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2478 * gdb.arch/ppc-dfp.exp: Likewise.
2479 * gdb.arch/ppc-fp.exp: Likewise.
2480 * gdb.arch/vsx-regs.exp: Likewise.
2481 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
2482 binprefix for generating the additional binary files.
2483
2484 2016-08-19 Pedro Alves <palves@redhat.com>
2485
2486 * gdb.trace/mi-trace-frame-collected.exp
2487 (test_trace_frame_collected): On x32, expect two registers.
2488
2489 2016-08-18 Carl Love <cel@us.ibm.com>
2490
2491 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
2492 and sync up the test with tests in gas/testsuite/gas/ppc.
2493 * gdb.arch/powerpc-power.exp: Likewise.
2494
2495 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2496
2497 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
2498 expected error message.
2499
2500 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2501
2502 * gdb.multi/remove-inferiors.exp: New file.
2503 * gdb.multi/remove-inferiors.c: New file.
2504
2505 2016-08-12 Yao Qi <yao.qi@linaro.org>
2506
2507 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
2508 argument list.
2509
2510 2016-08-10 Pedro Alves <palves@redhat.com>
2511
2512 PR gdb/19187
2513 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
2514 setup_kfails.
2515
2516 2016-08-09 Pedro Alves <palves@redhat.com>
2517 Simon Marchi <simon.marchi@ericsson.com>
2518
2519 PR gdb/20418
2520 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
2521 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
2522
2523 2016-08-09 Pedro Alves <palves@redhat.com>
2524
2525 PR mi/20431
2526 * gdb.mi/mi-cmd-error.exp: New file.
2527
2528 2016-08-09 Pedro Alves <palves@redhat.com>
2529
2530 PR gdb/18653
2531 * gdb.base/signals-state-child.c: New file.
2532 * gdb.base/signals-state-child.exp: New file.
2533 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
2534
2535 2016-08-09 Pedro Alves <palves@redhat.com>
2536
2537 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
2538
2539 2016-08-03 Tom Tromey <tom@tromey.com>
2540
2541 PR python/18565:
2542 * gdb.python/py-frame-inline.exp: Add Frame.function test.
2543
2544 2016-08-01 Yao Qi <yao.qi@linaro.org>
2545
2546 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
2547 variable mode to "multi-process" if $multi_process is 1, otherwise
2548 set it to "single-process".
2549
2550 2016-08-01 Yao Qi <yao.qi@linaro.org>
2551
2552 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
2553 * gdb.cp/cpexprs.exp: Likewise.
2554 * gdb.cp/m-static.exp: Likewise.
2555
2556 2016-07-26 Tom Tromey <tom@tromey.com>
2557
2558 PR python/20190:
2559 * gdb.threads/tls.exp (check_thread_local): Add python symbol
2560 test.
2561
2562 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
2563
2564 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
2565 selecting assembly source files.
2566 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
2567 assembly source files.
2568 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
2569 assembly source files.
2570 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
2571 selecting assembly source files.
2572
2573 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
2574
2575 * gdb.base/new-ui.exp (do_test_invalid_args): New
2576 procedure.
2577
2578 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
2579
2580 * gdb.btrace/reconnect.c: New file.
2581 * gdb.btrace/reconnect.exp: New file.
2582
2583 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
2584
2585 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
2586 to test_catch_syscall_group.
2587 (test_catch_syscall_group): New.
2588
2589 2016-07-21 Tom Tromey <tom@tromey.com>
2590
2591 * gdb.rust/simple.rs (main): Use empty struct expression.
2592 * gdb.rust/simple.exp: Add tests for empty struct expression.
2593
2594 2016-07-21 Yao Qi <yao.qi@linaro.org>
2595
2596 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
2597 if gdb_skip_xml_test is true on some targets.
2598
2599 2016-07-21 Yao Qi <yao.qi@linaro.org>
2600
2601 * gdb.server/solib-list.exp: Unset last_loaded_file.
2602
2603 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2604
2605 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
2606 "step into captured_main (args)".
2607
2608 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2609
2610 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
2611
2612 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2613
2614 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
2615
2616 2016-07-19 Pedro Alves <palves@redhat.com>
2617
2618 * gdb.opt/inline-break.exp: Remove optimize=-O2.
2619 * gdb.opt/inline-bt.exp: Likewise.
2620 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
2621 additional_flags=-Winline.
2622 * gdb.opt/inline-locals.exp: Likewise.
2623 * gdb.opt/inline-markers.c (ATTR): Define.
2624 (inlined_fn): Use it.
2625
2626 2016-07-19 Yao Qi <yao.qi@linaro.org>
2627
2628 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
2629 (test_with_self): Remove some code. Remove argument executable.
2630 (top-level): Use do_self_tests.
2631
2632 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
2633 Don Breazeal <donb@codesourcery.com>
2634
2635 * gdb.base/maint.exp: Escape paths used in regular expressions.
2636 * gdb.stabs/weird.exp: Likewise.
2637
2638 2016-07-13 Tom Tromey <tom@tromey.com>
2639
2640 PR python/15620, PR python/18620:
2641 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
2642 (test_bkpt_events): New procs.
2643
2644 2016-07-13 Tom Tromey <tom@tromey.com>
2645
2646 PR python/17698:
2647 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
2648 test.
2649 (test_watchpoints): Likewise.
2650 (test_bkpt_pending): New proc.
2651
2652 2016-07-13 Tom Tromey <tom@tromey.com>
2653
2654 PR cli/18053:
2655 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
2656 completion test.
2657
2658 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2659
2660 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
2661 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
2662 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
2663 f_label.
2664 (g): Rename g_end_lbl to g_label.
2665 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
2666 low_pc and high_pc.
2667 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
2668
2669 2016-07-12 Tom Tromey <tom@tromey.com>
2670
2671 PR python/19293:
2672 * gdb.python/py-unwind-maint.exp: Update tests.
2673
2674 2016-07-12 Yao Qi <yao.qi@linaro.org>
2675
2676 * lib/selftest-support.exp (selftest_setup): Match the output
2677 when captured_main is inlined.
2678
2679 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2680
2681 * gdb.fortran/derived-types.exp (result_line, result_line_2):
2682 New variables.
2683 (print this%a, print this%b, print this): New tests.
2684 * gdb.fortran/derived-types.f90 (this): New object and
2685 initialization.
2686
2687 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2688
2689 * gdb.ada/arraydim.exp: Remove extra directory level in build
2690 directory.
2691
2692 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2693
2694 * lib/ada.exp: Remove extra directory level in build directory.
2695 * gdb.ada/cond_lang.exp: Likewise.
2696 * gdb.ada/exec_changed.exp: Likewise.
2697 * gdb.ada/lang_switch.exp: Likewise.
2698
2699 2016-07-06 Manish Goregaokar <manish@mozilla.com>
2700
2701 * simple.rs: Add test for raw pointer subscripting.
2702 * simple.exp: Add test expectations.
2703
2704 2016-07-05 Yao Qi <yao.qi@linaro.org>
2705
2706 * gdb.mi/mi-reverse.exp: Match =record-started output.
2707
2708 2016-07-01 Pedro Alves <palves@redhat.com>
2709
2710 * gdb.base/jit-reader.exp (info_registers_current_frame): New
2711 procedure.
2712 (jit_reader_test): Test the jit reader's unwinder.
2713 * gdb.base/jithost.c (jit_function_00_code): New global.
2714 (main): Use memcpy to fill in the mmapped code, instead of poking
2715 bytes manually here.
2716 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
2717 value.
2718 (read_debug_info): Save the function's range.
2719 (read_sp): New function.
2720 (unwind_frame): Use it. Also unwind RBP.
2721 (get_frame_id): Use read_sp.
2722 (gdb_init_reader): Use calloc instead of malloc.
2723 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
2724 parameter. Use gdb_test_multiple.
2725
2726 2016-07-01 Pedro Alves <palves@redhat.com>
2727 Antoine Tremblay <antoine.tremblay@ericsson.com>
2728
2729 * gdb.threads/process-dies-while-detaching.c: New file.
2730 * gdb.threads/process-dies-while-detaching.exp: New file.
2731
2732 2016-07-01 Pedro Alves <palves@redhat.com>
2733
2734 * gdb.multi/watchpoint-multi-exit.c: New file.
2735 * gdb.multi/watchpoint-multi-exit.exp: New file.
2736
2737 2016-06-30 Pedro Alves <palves@redhat.com>
2738
2739 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
2740 unset inferior_spawn_id.
2741
2742 2016-06-30 Pedro Alves <palves@redhat.com>
2743
2744 * lib/mi-support.exp (default_mi_gdb_start): Declare global
2745 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
2746
2747 2016-06-29 Yao Qi <yao.qi@linaro.org>
2748
2749 * gdb.base/return.c: Add copyright header.
2750
2751 2016-06-29 Tom Tromey <tom@tromey.com>
2752
2753 PR python/20129:
2754 * gdb.python/py-framefilter.exp: Add tests for setting priority
2755 and disabling of non-existent frame filter.
2756
2757 2016-06-29 Yao Qi <yao.qi@linaro.org>
2758
2759 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
2760 0x0f07ff.
2761
2762 2016-06-28 Yao Qi <yao.qi@linaro.org>
2763
2764 * gdb.base/catch-syscall.exp: Remove check on isnative and target
2765 triplets. Start gdb, execute catch syscall, and continue. Check
2766 gdb's output to determine catch syscall is supported.
2767
2768 2016-06-27 Manish Goregaokar <manish@mozilla.com>
2769
2770 * gdb.rust/simple.rs: Add test for returning unit in a function.
2771 * gdb.rust/simple.exp: Add expectation for functions returning
2772 unit.
2773
2774 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
2775
2776 * gdb.python/py-breakpoint-create-fail.c,
2777 gdb.python/py-breakpoint-create-fail.exp,
2778 gdb.python/py-breakpoint-create-fail.py: New testcase.
2779
2780 2016-06-25 Manish Goregaokar <manish@mozilla.com>
2781
2782 PR gdb/20239
2783 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
2784 * gdb.rust/simple.exp: Add test expectations for new NonZero
2785 tests.
2786
2787 2016-06-24 David Taylor <dtaylor@emc.com>
2788
2789 * gdb.base/offsets.exp: New file.
2790 * gdb.base/offsets.c: New file.
2791
2792 2016-06-23 Tom Tromey <tom@tromey.com>
2793
2794 PR gdb/16483:
2795 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
2796 before any filters are loaded.
2797
2798 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
2799
2800 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
2801 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
2802 structs.
2803 * gdb.fortran/derived-type-function.exp: New file.
2804 * gdb.fortran/derived-type-function.f90: New file.
2805
2806
2807 2016-06-21 Pedro Alves <palves@redhat.com>
2808
2809 * gdb.base/new-ui.exp: New file.
2810 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
2811 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
2812 (with_spawn_id): New procedure.
2813
2814 2016-06-21 Pedro Alves <palves@redhat.com>
2815
2816 * gdb.mi/mi-exec-run.exp: New file.
2817
2818 2016-06-21 Pedro Alves <palves@redhat.com>
2819
2820 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
2821 breakpoint command's output on the main UI.
2822 (test_break): New procedure, factored out from calls in the top
2823 level.
2824 (top level): Use foreach_with_prefix to test MI as main UI and as
2825 separate UI.
2826
2827 2016-06-21 Pedro Alves <palves@redhat.com>
2828
2829 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
2830 (test_awatch_creation_and_listing)
2831 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
2832 Remove 'type' parameter.
2833 (test_watchpoint_all): New parameter mi_mode. Remove
2834 with_test_prefix.
2835 (top level): Use foreach_with_prefix, and add main/separate UI MI
2836 testing axis.
2837
2838 2016-06-21 Pedro Alves <palves@redhat.com>
2839
2840 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
2841 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
2842 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
2843 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
2844 (gdb_main_spawn_id, mi_spawn_id): Declare and
2845 comment.
2846 (mi_create_inferior_pty): New procedure,
2847 factored out from default_mi_gdb_start.
2848 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
2849 procedures.
2850 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
2851 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
2852 Use mi_create_inferior_pty.
2853 (mi_gdb_start): Use eval to pass down args list.
2854
2855 2016-06-21 Pedro Alves <palves@redhat.com>
2856
2857 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
2858 * gdb.opt/inline-cmds.exp: Add MI tests.
2859
2860 2016-06-21 Pedro Alves <palves@redhat.com>
2861
2862 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
2863
2864 2016-06-21 Pedro Alves <palves@redhat.com>
2865
2866 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
2867 (top level): Use it instead of mi_execute_to.
2868
2869 2016-06-21 Pedro Alves <palves@redhat.com>
2870
2871 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
2872 (cont_handler_str): New.
2873 (signal_stop_handler): Set stop_handler_str instead of printing to
2874 stdout.
2875 (continue_handler): Set cont_handler_str instead of printing to
2876 stdout.
2877 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
2878 mi_send_resuming_command. Print stop_handler_str and
2879 cont_handler_str instead of expecting the python events print
2880 directly.
2881
2882 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2883
2884 * gdb.base/jit-reader.exp: New file.
2885 * gdb.base/jithost.c: New file.
2886 * gdb.base/jithost.h: New file.
2887 * gdb.base/jitreader.c : New file.
2888 * gdb.base/jit-protocol.h: New file.
2889
2890 2016-06-17 Yao Qi <yao.qi@linaro.org>
2891
2892 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
2893 parameters follow_fork and detach_on_fork. Set follow-fork-mode
2894 and detach-on-fork. Adjust tests.
2895 (top level): Invoke break_cond_on_syscall with combinations of
2896 syscall, follow-fork-mode and detach-on-fork.
2897
2898 2016-06-17 Yao Qi <yao.qi@linaro.org>
2899
2900 * gdb.base/step-over-exit.c: New.
2901 * gdb.base/step-over-exit.exp: New.
2902
2903 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
2904
2905 * gdb.base/float.exp: Add target check for nds32*-*-*.
2906 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
2907
2908 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
2909
2910 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
2911 for unsupported target features.
2912 * gdb.base/call-rt-st.exp: Likewise.
2913 * gdb.base/call-sc.exp: Likewise.
2914 * gdb.base/call-signal-resume.exp: Likewise.
2915 * gdb.base/call-strs.exp: Likewise.
2916 * gdb.base/callexit.exp: Likewise.
2917 * gdb.base/callfuncs.exp: Likewise.
2918 * gdb.base/nodebug.exp: Likewise.
2919 * gdb.base/printcmds.exp: Likewise.
2920 * gdb.base/ptype.exp: Likewise.
2921 * gdb.base/structs.exp: Likewise.
2922 * gdb.base/unwindonsignal.exp: Likewise.
2923 * gdb.cp/gdb2495.exp: Likewise.
2924 * gdb.cp/templates.exp: Likewise.
2925 * gdb.cp/virtfunc.exp: Likewise.
2926 * gdb.threads/hand-call-in-threads.exp: Likewise.
2927 * gdb.threads/interrupted-hand-call.exp: Likewise.
2928 * gdb.threads/thread-unwindonsignal.exp: Likewise.
2929
2930 2016-06-10 Tom Tromey <tom@tromey.com>
2931
2932 PR rust/20110:
2933 * gdb.rust/expr.exp: Add test for integer constant larger than
2934 i32.
2935
2936 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
2937
2938 * gdb.fortran/nested-funcs.exp: New.
2939 * gdb.fortran/nested-funcs.f90: New.
2940
2941 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
2942
2943 * gdb.base/examine-backward.c: New file.
2944 * gdb.base/examine-backward.exp: New file.
2945
2946 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
2947
2948 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
2949 matching.
2950
2951 2016-06-02 Tom Tromey <tom@tromey.com>
2952
2953 PR python/18984:
2954 * gdb.python/py-shared.exp: Add solib_name test.
2955
2956 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
2957
2958 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
2959
2960 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
2961
2962 PR c++/19893
2963 * gdb.dwarf2/implref.exp: Rename to...
2964 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
2965 * gdb.dwarf2/implref-array.c: New file.
2966 * gdb.dwarf2/implref-array.exp: Likewise.
2967 * gdb.dwarf2/implref-global.c: Likewise.
2968 * gdb.dwarf2/implref-global.exp: Likewise.
2969 * gdb.dwarf2/implref-struct.c: Likewise.
2970 * gdb.dwarf2/implref-struct.exp: Likewise.
2971
2972 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2973
2974 * gdb.trace/trace-condition.exp: Add 64bit tests.
2975
2976 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2977
2978 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
2979 bits types.
2980 (main): Adapt to 8 to 64 bits types.
2981 * gdb.trace/trace-condition.exp: Add new tests.
2982
2983 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2984
2985 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
2986
2987 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2988
2989 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
2990 Move condition tests...
2991 * gdb.trace/trace-condition.exp: Here.
2992
2993 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
2994
2995 * gdb.trace/trace-condition.exp: Add counter-case tests.
2996
2997 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2998
2999 PR c++/15231
3000 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
3001 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
3002
3003 2016-05-27 Pedro Alves <palves@redhat.com>
3004
3005 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3006 New procedure.
3007 (top level): Call it, and bail out of DejaGnu is known to be bad.
3008
3009 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
3010
3011 * gdb.base/whatis.c: Extend the test case.
3012 * gdb.base/whatis.exp: Add additional tests.
3013
3014 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3015
3016 * gdb.fortran/type.f90: Add pointer variable.
3017 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
3018
3019 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3020
3021 * gdb.fortran/vla-type.exp: Fix testcase name.
3022
3023 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3024
3025 * gdb.fortran/vla-type.exp: Access elements in nested structs.
3026
3027 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3028
3029 * gdb.fortran/type.f90: Add nested structures.
3030 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
3031 * gdb.fortran/derived-type.exp: Adapt expected output.
3032 * gdb.fortran/vla-type.exp: Adapt expected output.
3033
3034 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3035
3036 * gdb.fortran/whatis_type.exp: Adapt expected output.
3037
3038 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3039
3040 * gdb.fortran/print_type.exp: Fix expected output.
3041 * gdb.fortran/whatis_type.exp: Fix expected output.
3042
3043 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3044
3045 * gdb.fortran/whatis_type.exp: Use multi_line.
3046
3047 2016-05-24 Tom Tromey <tom@tromey.com>
3048
3049 PR python/17386:
3050 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
3051 use value as an index.
3052
3053 2016-05-23 Tom Tromey <tom@tromey.com>
3054
3055 PR python/17981:
3056 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
3057 no-breakpoint case.
3058
3059 2016-05-24 Pedro Alves <palves@redhat.com>
3060
3061 PR gdb/19828
3062 * gdb.threads/clone-attach-detach.c: New file.
3063 * gdb.threads/clone-attach-detach.exp: New file.
3064
3065 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
3066
3067 * gdb.base/annota-input-while-running.exp: Fix syntax error.
3068
3069 2016-05-23 Tom Tromey <tom@tromey.com>
3070
3071 PR python/19438, PR python/18393:
3072 * gdb.python/py-progspace.exp: Add "dir" test.
3073 * gdb.python/py-objfile.exp: Add "dir" test.
3074
3075 2016-05-23 Yao Qi <yao.qi@linaro.org>
3076
3077 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
3078 * gdb.arch/thumb2-it.exp: Likewise.
3079
3080 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
3081
3082 * gdb.mi/mi-threads-interrupt.c: New file.
3083 * gdb.mi/mi-threads-interrupt.exp: New file.
3084
3085 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
3086
3087 PR gdb/18077
3088 * gdb.mi/mi-async-run.exp: New file.
3089 * gdb.mi/mi-async-run.c: New file.
3090
3091 2016-05-17 Tom Tromey <tom@tromey.com>
3092 Manish Goregaokar <manishsmail@gmail.com>
3093
3094 * lib/rust-support.exp: New file.
3095 * lib/gdb.exp (skip_rust_tests): New proc.
3096 (build_executable_from_specs): Handle rust.
3097 * lib/future.exp (gdb_find_rustc): New proc.
3098 (gdb_default_target_compile): Handle rust.
3099 * gdb.rust/expr.exp: New file.
3100 * gdb.rust/generics.exp: New file.
3101 * gdb.rust/generics.rs: New file.
3102 * gdb.rust/methods.exp: New file.
3103 * gdb.rust/methods.rs: New file.
3104 * gdb.rust/modules.exp: New file.
3105 * gdb.rust/modules.rs: New file.
3106 * gdb.rust/simple.exp: New file.
3107 * gdb.rust/simple.rs: New file.
3108
3109 2016-05-17 Tom Tromey <tom@tromey.com>
3110
3111 * gdb.base/default.exp (set language): Add rust.
3112
3113 2016-05-17 Tom Tromey <tom@tromey.com>
3114
3115 * gdb.gdb/unittest.exp: New file.
3116
3117 2016-05-16 Yao Qi <yao.qi@linaro.org>
3118
3119 * gdb.base/batch-preserve-term-settings.exp: Remove variable
3120 shell_prompt. Update shell_prompt_re.
3121
3122 2016-05-12 Doug Evans <dje@google.com>
3123
3124 PR symtab/19999
3125 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
3126 $options when building executable.
3127 * gdb.dwarf2/fission-loclists-pie.S: New file.
3128 * gdb.dwarf2/fission-loclists-pie.exp: New file.
3129
3130 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3131
3132 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
3133 of [is_remote target],
3134
3135 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3136
3137 * lib/gdb.exp (use_gdb_stub): New procedure.
3138
3139 2016-05-03 Yunlian Jiang <yunlian@google.com>
3140 Doug Evans <dje@google.com>
3141
3142 PR symtab/19914
3143 * gdb.dwarf2/dwp-sepdebug.c: New file.
3144 * gdb.dwarf2/dwp-sepdebug.exp: New file.
3145
3146 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3147
3148 * gdb.base/detach.exp: Remove is_remote check.
3149
3150 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3151
3152 * gdb.base/annota-input-while-running.exp: Don't check for
3153 [is_remote target]. Enable annotations after running to main.
3154 Remove unused "set test..." line.
3155
3156 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3157
3158 * gdb.trace/trace-enable-disable.exp: New file.
3159 * gdb.trace/trace-enable-disable.c: New file.
3160
3161 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3162
3163 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
3164 use it in info sharedlibrary test.
3165 * gdb.trace/ftrace-lock.exp: Likewise.
3166 * gdb.trace/ftrace.exp: Likewise.
3167 * gdb.trace/range-stepping.exp: Likewise.
3168 * gdb.trace/trace-break.exp: Likewise.
3169 * gdb.trace/trace-condition.exp: Likewise.
3170 * gdb.trace/trace-mt.exp: Likewise.
3171
3172 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3173
3174 * lib/gdb.exp (gdb_load_shlibs): Rename to...
3175 (gdb_load_shlib): ... this.
3176 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
3177 gdb_load_shlib.
3178 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3179 * gdb.base/ctxobj.exp: Likewise.
3180 * gdb.base/dprintf-pending.exp: Likewise.
3181 * gdb.base/dso2dso.exp: Likewise.
3182 * gdb.base/fixsection.exp: Likewise.
3183 * gdb.base/gcore-relro.exp: Likewise.
3184 * gdb.base/gdb1555.exp: Likewise.
3185 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3186 * gdb.base/gnu-ifunc.exp: Likewise.
3187 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
3188 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3189 * gdb.base/pending.exp: Likewise.
3190 * gdb.base/print-file-var.exp: Likewise.
3191 * gdb.base/print-symbol-loading.exp: Likewise.
3192 * gdb.base/shlib-call.exp: Likewise.
3193 * gdb.base/shreloc.exp: Likewise.
3194 * gdb.base/so-impl-ld.exp: Likewise.
3195 * gdb.base/solib-disc.exp: Likewise.
3196 * gdb.base/solib-nodir.exp: Likewise.
3197 * gdb.base/solib-overlap.exp: Likewise.
3198 * gdb.base/solib-symbol.exp: Likewise.
3199 * gdb.base/solib-weak.exp (do_test): Likewise.
3200 * gdb.base/sym-file.exp: Likewise.
3201 * gdb.base/symtab-search-order.exp: Likewise.
3202 * gdb.base/type-opaque.exp: Likewise.
3203 * gdb.base/unload.exp: Likewise.
3204 * gdb.base/watchpoint-solib.exp: Likewise.
3205 * gdb.compile/compile.exp: Likewise.
3206 * gdb.cp/gdb2384.exp: Likewise.
3207 * gdb.cp/infcall-dlopen.exp: Likewise.
3208 * gdb.cp/re-set-overloaded.exp: Likewise.
3209 * gdb.fortran/library-module.exp: Likewise.
3210 * gdb.opt/solib-intra-step.exp: Likewise.
3211 * gdb.python/py-finish-breakpoint.exp: Likewise.
3212 * gdb.python/py-shared.exp: Likewise.
3213 * gdb.reverse/solib-precsave.exp: Likewise.
3214 * gdb.reverse/solib-reverse.exp: Likewise.
3215 * gdb.server/solib-list.exp: Likewise.
3216 * gdb.threads/dlopen-libpthread.exp: Likewise.
3217 * gdb.threads/tls-shared.exp: Likewise.
3218 * gdb.threads/tls-so_extern.exp: Likewise.
3219 * gdb.trace/change-loc.exp: Likewise.
3220 * gdb.trace/ftrace-lock.exp: Likewise.
3221 * gdb.trace/ftrace.exp: Likewise.
3222 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
3223 * gdb.trace/pending.exp: Likewise.
3224 * gdb.trace/range-stepping.exp: Likewise.
3225 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
3226 (strace_info_marker): Likewise.
3227 (strace_probe_marker): Likewise.
3228 (strace_trace_on_same_addr): Likewise.
3229 (strace_trace_on_diff_addr): Likewise.
3230 * gdb.trace/trace-break.exp: Likewise.
3231 * gdb.trace/trace-condition.exp: Likewise.
3232 * gdb.trace/trace-mt.exp: Likewise.
3233
3234 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3235
3236 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
3237 result of gdb_remote_download.
3238 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
3239 * gdb.base/dso2dso.exp: Likewise.
3240 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3241 * gdb.base/print-file-var.exp: Likewise.
3242 * gdb.base/shlib-call.exp: Likewise.
3243 * gdb.base/shreloc.exp: Likewise.
3244 * gdb.base/solib-overlap.exp: Likewise.
3245 * gdb.base/solib-weak.exp (do_test): Likewise.
3246 * gdb.base/unload.exp: Likewise.
3247
3248 2016-04-27 Yao Qi <yao.qi@linaro.org>
3249
3250 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
3251 exists.
3252
3253 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3254
3255 * vla-type.exp: Print structure from toplevel.
3256
3257 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3258
3259 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
3260 of dynamic types.
3261 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
3262 of dynamic types.
3263
3264 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3265
3266 * gdb.fortran/vla-type.f90: New file.
3267 * gdb.fortran/vla-type.exp: New file.
3268
3269 2016-04-25 Yao Qi <yao.qi@linaro.org>
3270
3271 * gdb.base/branch-to-self.c: New file.
3272 * gdb.base/branch-to-self.exp: New file.
3273
3274 2016-04-22 Yao Qi <yao.qi@linaro.org>
3275
3276 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
3277 more after $hex.
3278
3279 2016-04-22 Yao Qi <yao.qi@linaro.org>
3280
3281 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
3282 * gdb.base/annota3.exp: Likewise.
3283
3284 2016-04-22 Yao Qi <yao.qi@linaro.org>
3285
3286 * gdb.reverse/step-precsave.exp: Do one step and test program
3287 stops in "callee" and do multiple steps until program goes out
3288 of "callee".
3289 * gdb.reverse/step-reverse.exp: Likewise.
3290
3291 2016-04-22 Yao Qi <yao.qi@linaro.org>
3292
3293 * gdb.trace/signal.exp: Also pass if
3294 $tracepoint_hits($i) > $iterations.
3295
3296 2016-04-22 Yao Qi <yao.qi@linaro.org>
3297
3298 * gdb.trace/signal.c: New file.
3299 * gdb.trace/signal.exp: New file.
3300
3301 2016-04-19 Doug Evans <xdje42@gmail.com>
3302
3303 * gdb.base/bad-file.exp: New file.
3304
3305 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3306
3307 * gdb.dwarf2/implref.exp: New file.
3308
3309 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3310
3311 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
3312 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
3313 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
3314 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
3315 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
3316 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
3317 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
3318 * lib/fortran.exp (fortran_int4): New procedure.
3319 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
3320 (fortran_logical4): Likewise.
3321
3322 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
3323
3324 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
3325
3326 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3327
3328 * lib/compiler.c: Add Intel specific preprocessor macros.
3329 * lib/compiler.cc: Likewise.
3330
3331 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
3332
3333 * gdb.server/connect-with-no-symbol-file.c: New file.
3334 * gdb.server/connect-with-no-symbol-file.exp: New file.
3335
3336 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3337
3338 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3339
3340 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3341
3342 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3343 standard output directory.
3344
3345 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3346
3347 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3348
3349 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3350
3351 * gdb.btrace/instruction_history.c (loop): Add declaration.
3352
3353 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3354
3355 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3356
3357 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3358
3359 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3360 parentheses to print.
3361 (continue_handler): Likewise.
3362
3363 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3364
3365 * gdb.server/solib-list.exp: Remove is_remote check.
3366 Pass shlib= to gdb_compile. Don't link shared library with
3367 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3368 Run binary filename through "readlink -f" on the target.
3369
3370 2016-04-08 Pedro Alves <palves@redhat.com>
3371
3372 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3373 interpreter filename as argument to gdbserver_spawn.
3374 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3375 Return empty if $last_loaded_file does not exist.
3376
3377 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3378
3379 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3380 * gdb.base/jit-main.c: Use exit after usage.
3381
3382 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3383
3384 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3385 GDBHISTSIZE prior to the tests.
3386 * gdb.base/gdbinit-history.exp: Likewise.
3387
3388 2016-04-07 Pedro Alves <palves@redhat.com>
3389
3390 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3391 instead of build_executable. Use gdb_load_shlibs.
3392
3393 2016-04-07 Yao Qi <yao.qi@linaro.org>
3394
3395 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3396 Execute "si" command.
3397
3398 2016-04-07 Yao Qi <yao.qi@linaro.org>
3399
3400 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3401 number instead of the comments on some line.
3402
3403 2016-04-06 Don Breazeal <donb@codesourcery.com>
3404
3405 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3406 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3407
3408 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3409
3410 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3411 standard_output_file. Remove unused binfile variable.
3412
3413 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
3414
3415 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3416 * gdb.python/py-mi-objfile.exp: Match "list main" output
3417 in console format.
3418
3419 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3420
3421 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3422 absolute.
3423
3424 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3425
3426 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
3427 absolute.
3428 * gdb.trace/ftrace.exp: Likewise.
3429 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
3430 targets as well.
3431 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
3432 (gdb_load_shlibs): Copy libraries to test directory when testing
3433 natively. Only set solib-search-path if testing remotely.
3434 * lib/mi-support.exp (mi_load_shlibs): Likewise.
3435
3436 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3437
3438 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
3439 gdb_download. Use it even if the target is not remote.
3440 * gdb.base/jit.exp (compile_jit_test): Likewise.
3441 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
3442 output directory if the destination board is local, otherwise use
3443 the standard remote_download from DejaGnu.
3444 (gdb_download): Remove.
3445 (gdb_load_shlibs): Use gdb_remote_download instead of
3446 gdb_download.
3447 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3448 Use gdb_remote_download instead of gdb_download. Use it even if
3449 the target is not remote.
3450 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
3451 instead of gdb_download.
3452
3453 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
3454
3455 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
3456 (test_insert_delete_modify): Call mi_load_shlibs before trying to
3457 run.
3458
3459 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
3460
3461 PR gdb/19820
3462 * gdb.base/printcmds.exp: Add artificial arrays tests.
3463
3464 2016-03-31 Pedro Alves <palves@redhat.com>
3465
3466 PR gdb/19858
3467 * gdb.base/jit-main.c: Include unistd.h.
3468 (ATTACH): Define to 0 if not already defined.
3469 (wait_for_gdb, mypid): New globals.
3470 (WAIT_FOR_GDB): New macro.
3471 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
3472 some breakpoint locations.
3473 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
3474 New procedures.
3475 (one_jit_test): Add REATTACH parameter, and handle it. Use
3476 continue_to_test_location.
3477 (top level): Test attach, and adjusts calls to one_jit_test.
3478
3479 2016-03-31 Pedro Alves <palves@redhat.com>
3480
3481 PR gdb/19858
3482 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
3483 BINSUFFIX parameter, and handle it.
3484 (top level): Adjust calls compile_jit_test.
3485
3486 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
3487
3488 PR python/19743
3489 * gdb.python/py-mi-events-gdb.py: New file.
3490 * gdb.python/py-mi-events.c: New file.
3491 * gdb.python/py-mi-events.exp: New file.
3492
3493 2016-03-30 Yao Qi <yao.qi@linaro.org>
3494
3495 * gdb.reverse/until-precsave.exp: Match function name only.
3496 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
3497 Move malloc to a condition block.
3498 * gdb.reverse/until-reverse.exp: Match function name only.
3499
3500 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
3501
3502 * gdb.trace/ftrace.exp: Set arg0exp for s390.
3503 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
3504 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
3505 variable for GPR 0 instead of assuming it is register 0.
3506 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
3507 * lib/trace-support.exp: Add s390 registers.
3508
3509 2016-03-29 Yao Qi <yao.qi@linaro.org>
3510
3511 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
3512
3513 2016-03-24 Yao Qi <yao.qi@linaro.org>
3514
3515 * gdb.reverse/break-reverse.exp: Add quotation mark in the
3516 test message.
3517
3518 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3519
3520 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
3521 maintaining separate logic for constructing the output path.
3522
3523 2016-03-16 Don Breazeal <donb@codesourcery.com>
3524
3525 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3526 Retry fork and waitpid on interrupted system call errors.
3527 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3528 Use with_timeout_factor to increase timeout by factor of 10.
3529
3530 2016-03-15 Don Breazeal <donb@codesourcery.com>
3531
3532 * gdb.cp/scope-err.cc: New test program.
3533 * gdb.cp/scope-err.exp: New test script.
3534 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
3535 lines and "set breakpoint here" comment.
3536 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
3537 Fixed some whitespace and format issues.
3538 * gdb.mi/mi-linespec-err-cp.cc: New test program.
3539 * gdb.mi/mi-linespec-err-cp.exp: New test script.
3540
3541 2016-03-15 Doug Evans <dje@google.com>
3542
3543 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
3544 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
3545 All callers updated. Add tests for enums, mixed flags register.
3546
3547 2016-03-15 Doug Evans <dje@google.com>
3548
3549 * gdb.base/skip.c (main): Call test_skip_file_and_function.
3550 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
3551
3552 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
3553
3554 * gdb.base/default.exp: Add $_as_string to the list of expected
3555 convenience functions.
3556
3557 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
3558
3559 * gdb.base/maint.exp: New tests for 'maint info line-table'.
3560
3561 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
3562
3563 * gdb.python/py-as-string.exp: New file.
3564 * gdb.python/py-as-string.c: New file.
3565
3566 2016-03-09 Pedro Alves <palves@redhat.com>
3567
3568 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
3569 signal" -> "Thread NN received signal" output change.
3570 * gdb.threads/ia64-sigill.exp: Likewise.
3571 * gdb.threads/linux-dp.exp: Likewise.
3572 * gdb.threads/manythreads.exp: Likewise.
3573 * gdb.threads/pending-step.exp: Likewise.
3574 * gdb.threads/print-threads.exp: Likewise.
3575 * gdb.threads/sigstep-threads.exp: Likewise.
3576 * gdb.threads/staticthreads.exp: Likewise.
3577 * gdb.threads/tls.exp: Likewise.
3578
3579 2016-03-09 Pedro Alves <palves@redhat.com>
3580
3581 * gdb.base/command-line-input.exp: New file.
3582
3583 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3584
3585 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
3586 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
3587 * gdb.trace/pending.exp: Accept leading dot before function name.
3588 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
3589 * lib/trace-support.exp: Set registers for ppc.
3590
3591 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3592
3593 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
3594 use it for disassembly; accept .main in addition to main in backtrace.
3595
3596 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
3597 Marcin Kościelnicki <koriakin@0x04.net>
3598
3599 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
3600 (gdb_recursion_test_ptr): New global variable.
3601 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
3602 gdb_recursion_test.
3603 (gdb_c_test): Ditto.
3604
3605 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3606
3607 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
3608 ordering.
3609
3610 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3611
3612 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
3613 (bar): Add bar_start_lbl label.
3614 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
3615 of foo/bar for emitting DWARF and tracing.
3616
3617 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
3618
3619 * analyze-racy-logs.py: Set executable bit.
3620
3621 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
3622
3623 * Makefile.in (DEFAULT_RACY_ITER): New variable.
3624 (CHECK_TARGET_TMP): Likewise.
3625 (check-single-racy): New rule.
3626 (check-parallel-racy): Likewise.
3627 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
3628 (do-check-parallel-racy): New rule.
3629 (check-racy/%.exp): Likewise.
3630 * README (Racy testcases): New section.
3631 * analyze-racy-logs.py: New file.
3632
3633 2016-03-03 Doug Evans <dje@google.com>
3634
3635 * gdb.base/skip.exp: Use with_test_prefix.
3636
3637 2016-03-03 Yao Qi <yao.qi@linaro.org>
3638
3639 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
3640 Invoke step_over_syscall "clone" and break_cond_on_syscall
3641 "clone".
3642 * gdb.base/step-over-clone.c: New file.
3643
3644 2016-03-03 Yao Qi <yao.qi@linaro.org>
3645
3646 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
3647 code format.
3648
3649 2016-03-03 Yao Qi <yao.qi@linaro.org>
3650
3651 * gdb.base/disp-step-fork.c: Rename to ...
3652 * gdb.base/step-over-fork.c: ... it. New file.
3653 * gdb.base/disp-step-vfork.c: Rename to ...
3654 * gdb.base/step-over-vfork.c: ... it. New file.
3655 * gdb.base/disp-step-syscall.exp: Rename to ...
3656 * gdb.base/step-over-syscall.exp: ... it. New file.
3657 (disp_step_cross_syscall): Rename to ...
3658 (step_over_syscall): ... it.
3659
3660 2016-03-03 Yao Qi <yao.qi@linaro.org>
3661
3662 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
3663 If target supports condition evaluation on target, invoke
3664 break_cond_on_syscall for fork and vfork.
3665
3666 2016-03-03 Yao Qi <yao.qi@linaro.org>
3667
3668 * gdb.base/disp-step-syscall.exp: Don't invoke
3669 support_displaced_stepping.
3670 (disp_step_cross_syscall): Test with displaced stepping off and
3671 on if supported.
3672
3673 2016-03-03 Yao Qi <yao.qi@linaro.org>
3674
3675 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
3676 proc.
3677 (setup): New proc.
3678 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
3679 and setup.
3680
3681 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3682
3683 * gdb.fortran/vla-history.exp: Remove breakpoint.
3684
3685 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3686
3687 * gdb.fortran/vla-history.exp: Lookup array elements and printing
3688 exceeds timeout.
3689
3690 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3691
3692 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
3693 breakpoint.
3694
3695 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3696
3697 * gdb.mi/vla.f90: Nullify pointer after declaration.
3698
3699 2016-03-01 Pedro Alves <palves@redhat.com>
3700
3701 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
3702
3703 2016-03-01 Pedro Alves <palves@redhat.com>
3704
3705 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
3706 before anything else.
3707 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
3708 _GNU_SOURCE here.
3709 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
3710 before anything else.
3711 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
3712
3713 2016-03-01 Pedro Alves <palves@redhat.com>
3714
3715 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
3716
3717 2016-03-01 Yao Qi <yao.qi@linaro.org>
3718
3719 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
3720 prepare_for_testing.
3721
3722 2016-03-01 Yao Qi <yao.qi@linaro.org>
3723
3724 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
3725
3726 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3727
3728 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
3729 manually constructing the output path.
3730
3731 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3732
3733 * gdb.arch/s390-stackless.S: New.
3734 * gdb.arch/s390-stackless.exp: New.
3735
3736 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
3737
3738 * gdb.dlang/circular.c: New file.
3739 * gdb.dlang/circular.exp: New file.
3740
3741 2016-02-26 Yao Qi <yao.qi@linaro.org>
3742
3743 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
3744 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
3745 (testcases): Update.
3746
3747 2016-02-26 Yao Qi <yao.qi@linaro.org>
3748
3749 * gdb.reverse/aarch64.c: Rename to ...
3750 * gdb.reverse/insn-reverse.c: ... it.
3751 * gdb.reverse/aarch64.exp: Rename to ...
3752 * gdb.reverse/insn-reverse.exp: ... it.
3753
3754 2016-02-26 Yao Qi <yao.qi@linaro.org>
3755
3756 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
3757 (testcase_ftype): New.
3758 (testcases): New array.
3759 (n_testcases): New.
3760 (main): Call each element in testcases.
3761 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
3762 (read_testcase): New.
3763 Do the tests in a loop.
3764
3765 2016-02-25 Yao Qi <yao.qi@linaro.org>
3766
3767 * gdb.base/branches.c: Remove.
3768
3769 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3770
3771 PR gdb/13808
3772 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
3773
3774 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3775
3776 * gdb.trace/ftrace.exp: Remove unnecessary target check.
3777
3778 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3779
3780 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
3781 change x86_64 call_insn to 'callq'.
3782
3783 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3784
3785 * gdb.trace/tfile-avx.c: Move to...
3786 * gdb.trace/tracefile-pseudo-reg.c: Here.
3787 * gdb.trace/tfile-avx.exp: Move to...
3788 * gdb.trace/tracefile-pseudo-reg.exp: Here.
3789
3790 2016-02-24 Gary Benson <gbenson@redhat.com>
3791
3792 * gdb.base/attach-pie-noexec.exp: Do not expect an error
3793 message on attach.
3794
3795 2016-02-23 Doug Evans <dje@google.com>
3796
3797 * gdb.base/skip.c (test_skip): New function.
3798 (end_test_skip_file_and_function): New function.
3799 (test_skip_file_and_function): New function.
3800 * gdb.base/skip1.c (test_skip): New function.
3801 (skip1_test_skip_file_and_function): New function.
3802 * gdb.base/skip.exp: Add tests for new skip options.
3803 * gdb.base/skip-solib.exp: Update expected output.
3804 * gdb.perf/skip-command.cc: New file.
3805 * gdb.perf/skip-command.exp: New file.
3806 * gdb.perf/skip-command.py: New file.
3807
3808 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
3809
3810 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
3811 info registers pattern.
3812
3813 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
3814
3815 * lib/future.exp: Add D support.
3816 (gdb_find_gdc): New proc.
3817 (gdb_default_target_compile): Add D support.
3818
3819 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
3820
3821 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
3822 user+system time.
3823 (trace_speed_test): Determine the iteration count for a time
3824 between 15..30 seconds.
3825
3826 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
3827
3828 * gdb.arch/i386-mpx-sigsegv.c: New file.
3829 * gdb.arch/i386-mpx-sigsegv.exp: New file.
3830 * gdb.arch/i386-mpx-simple_segv.c: New file.
3831 * gdb.arch/i386-mpx-simple_segv.exp: New file.
3832
3833 2016-02-18 Yao Qi <yao.qi@linaro.org>
3834
3835 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3836 Don't call setup_kfail.
3837
3838 2016-02-18 Yao Qi <yao.qi@linaro.org>
3839
3840 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3841 Set "set breakpoint condition-evaluation" per $cond_bp_target.
3842
3843 2016-02-16 Doug Evans <dje@google.com>
3844
3845 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
3846 * gdb.base/skip1.c: Ditto.
3847 * gdb.base/skip.exp: Whitespace cleanup.
3848
3849 2016-02-16 Don Breazeal <donb@codesourcery.com>
3850
3851 PR remote/19496
3852 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3853 Remove kfail for PR remote/19496.
3854
3855 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3856
3857 * lib/gdb.exp (standard_temp_file): Return a path specific to
3858 the runtest invocation.
3859
3860 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3861
3862 * gdb.trace/save-trace.exp: Change relative path to be in the
3863 standard output directory.
3864
3865 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3866
3867 * gdb.arch/i386-prologue.c: Add missing prototypes.
3868
3869 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3870
3871 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
3872 * gdb.arch/i386-prologue.exp: Likewise.
3873 * gdb.arch/i386-size.exp: Likewise.
3874
3875 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
3876
3877 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
3878 define object file path.
3879 * gdb.btrace/gcore.exp: Use standard_output_file to define core
3880 file path.
3881 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
3882 standard_output_file to define binfile.
3883
3884 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3885
3886 Fix compatibility with recent gfortran-5.3.1.
3887 * gdb.fortran/vla-history.exp (print vla1 allocated)
3888 (print vla2 allocated, print $2, print $3): Remove
3889 (print $4): Rename to ...
3890 (print $2): ... here.
3891 (print $9): Rename to ...
3892 (print $5): ... here.
3893 (print $10): Rename to ...
3894 (print $6): ... here.
3895 * gdb.fortran/vla.f90: Add pvla initialization.
3896
3897 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3898
3899 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
3900 New test.
3901 * gdb.fortran/vla-value-sub.exp: Likewise.
3902
3903 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
3904
3905 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
3906
3907 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
3908
3909 * i386-biarch-core.exp: Define corefile using
3910 standard_output_file.
3911
3912 2016-02-12 Yao Qi <yao.qi@linaro.org>
3913
3914 * gdb.arch/arm-single-step-kernel-helper.c: New.
3915 * gdb.arch/arm-single-step-kernel-helper.exp: New.
3916
3917 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
3918
3919 * gdb.btrace/tailcall-only.exp: New.
3920 * gdb.btrace/tailcall-only.c: New.
3921 * gdb.btrace/x86_64-tailcall-only.S: New.
3922 * gdb.btrace/i686-tailcall-only.S: New.
3923
3924 2016-02-11 Pedro Alves <palves@redhat.com>
3925
3926 * README (Parallel testing): Add missing double quotes.
3927
3928 2016-02-11 Pedro Alves <palves@redhat.com>
3929
3930 * README (Parallel testing): New section.
3931 (GDB_PARALLEL): Rewrite.
3932 (FORCE_PARALLEL): Document.
3933
3934 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
3935
3936 * gdb.trace/tfile-avx.c: New test.
3937 * gdb.trace/tfile-avx.exp: New test.
3938
3939 2016-02-09 Keith Seitz <keiths@redhat.com>
3940
3941 PR breakpoints/19546
3942 * gdb.base/infcall-exec.c: New file.
3943 * gdb.base/infcall-exec2.c: New file.
3944 * gdb.base/infcall-exec.exp: New file.
3945
3946 2016-02-09 Keith Seitz <keiths@redhat.com>
3947
3948 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
3949 (toplevel): Call test_bkpt_address.
3950
3951 2016-02-09 Keith Seitz <keiths@redhat.com>
3952
3953 PR python/19506
3954 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
3955 (toplevel): Call test_bkpt_address.
3956
3957 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
3958
3959 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
3960 to AC_OUTPUT.
3961 * configure: Regenerate.
3962
3963 2016-02-09 Pedro Alves <palves@redhat.com>
3964
3965 PR breakpoints/19548
3966 * gdb.base/execl-update-breakpoints.c (some_function): New
3967 function.
3968 (main): Call it.
3969 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
3970 Tighten expected GDB output.
3971
3972 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
3973
3974 * Makefile.in (ALL_SUBDIRS): Remove.
3975 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
3976 (distclean maintainer-clean realclean): Likewise.
3977 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
3978 * configure: Regenerate.
3979 * gdb.ada/Makefile.in: Delete.
3980 * gdb.arch/Makefile.in: Likewise.
3981 * gdb.asm/Makefile.in: Likewise.
3982 * gdb.base/Makefile.in: Likewise.
3983 * gdb.btrace/Makefile.in: Likewise.
3984 * gdb.cell/Makefile.in: Likewise.
3985 * gdb.compile/Makefile.in: Likewise.
3986 * gdb.cp/Makefile.in: Likewise.
3987 * gdb.disasm/Makefile.in: Likewise.
3988 * gdb.dlang/Makefile.in: Likewise.
3989 * gdb.dwarf2/Makefile.in: Likewise.
3990 * gdb.fortran/Makefile.in: Likewise.
3991 * gdb.gdb/Makefile.in: Likewise.
3992 * gdb.go/Makefile.in: Likewise.
3993 * gdb.guile/Makefile.in: Likewise.
3994 * gdb.java/Makefile.in: Likewise.
3995 * gdb.linespec/Makefile.in: Likewise.
3996 * gdb.mi/Makefile.in: Likewise.
3997 * gdb.modula2/Makefile.in: Likewise.
3998 * gdb.multi/Makefile.in: Likewise.
3999 * gdb.objc/Makefile.in: Likewise.
4000 * gdb.opencl/Makefile.in: Likewise.
4001 * gdb.opt/Makefile.in: Likewise.
4002 * gdb.pascal/Makefile.in: Likewise.
4003 * gdb.perf/Makefile.in: Likewise.
4004 * gdb.python/Makefile.in: Likewise.
4005 * gdb.reverse/Makefile.in: Likewise.
4006 * gdb.server/Makefile.in: Likewise.
4007 * gdb.stabs/Makefile.in: Likewise.
4008 * gdb.threads/Makefile.in: Likewise.
4009 * gdb.trace/Makefile.in: Likewise.
4010 * gdb.xml/Makefile.in: Likewise.
4011 * lib/gdb.exp (make_gdb_parallel_path): Add check for
4012 GDB_PARALLEL.
4013 (standard_output_file): Remove check for GDB_PARALLEL, always
4014 return path in outputs/$subdir/$testname.
4015
4016 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4017
4018 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
4019 (site.exp): Assign abs_srcdir to tcl's srcdir.
4020
4021 2016-02-04 Yao Qi <yao.qi@linaro.org>
4022
4023 * gdb.base/foll-exec-mode.c: Include limits.h.
4024 (main): Add parameters argc and argv. Get directory from
4025 argv[0].
4026 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
4027 compilation.
4028 * gdb.base/foll-exec.c: Include limits.h.
4029 (main): Add parameters argc and argv.
4030 Get directory from argv[0].
4031 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
4032 Adjust tests on the number of lines as source code changed.
4033 * gdb.base/foll-vfork-exit.c: Include limits.h.
4034 (main): Add one line of statement before vfork.
4035 * gdb.base/foll-vfork.c: Include limits.h and string.h.
4036 (main): Add parameters argc and argv. Get directory from
4037 argv[0].
4038 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
4039 (setup_gdb): Set tbreak to skip some source lines.
4040 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
4041 (main): Add parameters argc and argv. Get directory from
4042 argv[0].
4043 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
4044 compilation.
4045 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
4046 (main): Add parameters argc and argv. Get directory from
4047 argv[0].
4048 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
4049 compilation.
4050
4051 2016-02-01 Doug Evans <dje@google.com>
4052
4053 * gdb.base/skip.exp: Clean up multiple references to same test name.
4054
4055 2016-02-01 Pedro Alves <palves@redhat.com>
4056
4057 PR remote/19496
4058 * gdb.threads/forking-threads-plus-breakpoint.exp
4059 (displaced_stepping_supported): New global.
4060 (probe_displaced_stepping_support): New procedure.
4061 (do_test): Add 'displaced' parameter, and use it.
4062 (top level): Check for displaced stepping support. Add displaced
4063 stepping on/off testing axis.
4064
4065 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4066
4067 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
4068 pointer. Don't perform further tests on the unassociated pointer
4069 if the first test fails.
4070
4071 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4072
4073 * gdb.base/max-value-size.c: New file.
4074 * gdb.base/max-value-size.exp: New file.
4075 * gdb.base/huge.exp: Disable max-value-size for this test.
4076
4077 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
4078
4079 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4080
4081 2016-01-28 Yao Qi <yao.qi@linaro.org>
4082
4083 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
4084
4085 2016-01-25 Pedro Alves <palves@redhat.com>
4086
4087 PR threads/19461
4088 * gdb.base/fork-running-state.c: New file.
4089 * gdb.base/fork-running-state.exp: New file.
4090
4091 2016-01-25 Pedro Alves <palves@redhat.com>
4092
4093 PR gdb/19494
4094 * gdb.base/catch-fork-kill.c: New file.
4095 * gdb.base/catch-fork-kill.exp: New file.
4096
4097 2016-01-25 Pedro Alves <palves@redhat.com>
4098
4099 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
4100 Delete, moved to lib/gdb.exp.
4101 * gdb.threads/forking-threads-plus-breakpoint.exp
4102 (foreach_with_prefix): Likewise.
4103 * gdb.threads/process-dies-while-handling-bp.exp
4104 (foreach_with_prefix): Likewise.
4105 * lib/gdb.exp (foreach_with_prefix): New procedure.
4106
4107 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
4108
4109 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
4110 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
4111
4112 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
4113
4114 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
4115 endian targets.
4116
4117 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4118 Pedro Alves <palves@redhat.com>
4119
4120 Fix testsuite compatibility with Guile.
4121 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
4122 number.
4123
4124 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4125
4126 Fix testsuite compatibility with Guile.
4127 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
4128 (thread 1): New test for backtrace through signal handler.
4129
4130 2016-01-22 Yao Qi <yao.qi@linaro.org>
4131
4132 PR testsuite/19491
4133 * gdb.base/multi-forks.c: Include
4134 ../lib/unbuffer_output.c
4135 (main): Call gdb_unbuffer_output.
4136
4137 2016-01-21 Doug Evans <dje@google.com>
4138
4139 * lib/ada.exp (gdb_compile_ada): Fix typo.
4140
4141 2016-01-21 Joel Brobecker <brobecker@adacore.com>
4142
4143 * gdb.base/break-fun-addr.exp: New file.
4144 * gdb.base/break-fun-addr1.c: New file.
4145 * gdb.base/break-fun-addr2.c: New file.
4146
4147 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
4148
4149 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
4150 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
4151 enum flag values.
4152
4153 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4154
4155 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
4156 when GDB can not set the vector return value. Add more comments
4157 for clarification.
4158
4159 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
4160
4161 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
4162 command.
4163
4164 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4165
4166 * Makefile.in (DO_RUNTEST): Add --status and update usages.
4167
4168 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4169
4170 * Makefile.in (check-single): Pass --status to runtest.
4171 (check/%.exp): Likewise.
4172
4173 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4174
4175 * Makefile.in (check-parallel): Propagate return code from make
4176 do-check-parallel.
4177
4178 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
4179
4180 * gdb.trace/ftrace.exp: Fix expected message on continue.
4181 * gdb.trace/pending.exp: Fix expected message on continue.
4182 * gdb.trace/trace-break.exp: Fix expected message on continue.
4183
4184 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
4185
4186 * lib/gdb.exp (gdb_test): Remove unused global references.
4187
4188 2016-01-18 Pedro Alves <palves@redhat.com>
4189
4190 * gdb.base/async-shell.exp: Adjust expected output.
4191 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
4192 * gdb.base/siginfo-thread.exp: Adjust expected output.
4193 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
4194 * gdb.java/jnpe.exp: Adjust expected output.
4195 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
4196 * gdb.threads/continue-pending-status.exp: Adjust expected output.
4197 * gdb.threads/leader-exit.exp: Adjust expected output.
4198 * gdb.threads/manythreads.exp: Adjust expected output.
4199 * gdb.threads/pthreads.exp: Adjust expected output.
4200 * gdb.threads/schedlock.exp: Adjust expected output.
4201 * gdb.threads/siginfo-threads.exp: Adjust expected output.
4202 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
4203 expected output.
4204 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
4205 output.
4206 * gdb.threads/sigthread.exp: Adjust expected output.
4207 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
4208
4209 2016-01-18 Yao Qi <yao.qi@linaro.org>
4210
4211 * gdb.guile/scm-section-script.c: Replace @progbits with
4212 %progbits.
4213 * gdb.python/py-section-script.c: Likewise.
4214
4215 2016-01-15 Pedro Alves <palves@redhat.com>
4216
4217 * gdb.multi/tids.exp: Test star wildcard ranges.
4218
4219 2016-01-15 Pedro Alves <palves@redhat.com>
4220
4221 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4222 command from "thread apply" invocation.
4223 (thr_apply_info_thr_invalid): Default the expected output to the
4224 input tid list.
4225 (top level): Add tests that use convenience variables. Add tests
4226 for "thread apply" with a valid TID list, but missing the command.
4227
4228 2016-01-13 Pedro Alves <palves@redhat.com>
4229
4230 * gdb.base/default.exp: Expect $_gthread as well.
4231 * gdb.multi/tids.exp: Test $_gthread.
4232 * gdb.threads/thread-specific.exp: Test $_gthread.
4233
4234 2016-01-13 Pedro Alves <palves@redhat.com>
4235
4236 * gdb.multi/tids.exp: Test "info threads -gid".
4237
4238 2016-01-13 Pedro Alves <palves@redhat.com>
4239
4240 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4241 Breakpoint.thread.
4242 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
4243
4244 2016-01-07 Pedro Alves <palves@redhat.com>
4245
4246 * gdb.base/break.exp: Adjust to output changes.
4247 * gdb.base/hbreak2.exp: Likewise.
4248 * gdb.base/sepdebug.exp: Likewise.
4249 * gdb.base/watch_thread_num.exp: Likewise.
4250 * gdb.linespec/keywords.exp: Likewise.
4251 * gdb.multi/info-threads.exp: Likewise.
4252 * gdb.threads/thread-find.exp: Likewise.
4253 * gdb.multi/tids.c: New file.
4254 * gdb.multi/tids.exp: New file.
4255
4256 2016-01-13 Pedro Alves <palves@redhat.com>
4257
4258 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
4259
4260 2016-01-13 Pedro Alves <palves@redhat.com>
4261
4262 * gdb.base/default.exp: Expect $_inferior as well.
4263 * gdb.multi/base.exp: Test $_inferior.
4264
4265 2016-01-13 Pedro Alves <palves@redhat.com>
4266
4267 PR breakpoints/19388
4268 * gdb.base/catch-signal-siginfo-cond.c: New file.
4269 * gdb.base/catch-signal-siginfo-cond.exp: New file.
4270
4271 2016-01-12 Josh Stone <jistone@redhat.com>
4272 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4273
4274 * gdb.base/catch-syscall.c (do_execve): New variable.
4275 (main): Conditionally trigger an execve.
4276 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
4277 (test_catch_syscall_execve): New, check entry/return across execve.
4278 (do_syscall_tests): Call test_catch_syscall_execve.
4279
4280 2016-01-12 Pedro Alves <palves@redhat.com>
4281
4282 * gdb.base/random-signal.exp (do_test): New procedure, with body
4283 of testcase moved in.
4284
4285 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4286 Pedro Alves <palves@redhat.com>
4287
4288 * gdb.base/funcargs.exp (finish from indirectly called function):
4289 Reintroduce the case for 'First'.
4290
4291 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4292 Pedro Alves <palves@redhat.com>
4293
4294 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4295 (tcatch_vfork_then_child_follow_exec)
4296 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
4297 identification.
4298
4299 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4300
4301 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
4302 and repeats to unlimited.
4303 * gdb.python/py-value.exp: Likewise.
4304 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
4305 and repeats to unlimited.
4306
4307 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4308
4309 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
4310 and reordering the functions.
4311 * gdb.multi/hangout.c: Likewise.
4312 * gdb.multi/hello.c: Likewise.
4313
4314 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
4315
4316 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
4317 absolute.
4318 (SingleStatisticTestResult.report): Use dict.keys instead of
4319 dict.iterkeys.
4320
4321 2016-01-06 Pedro Alves <palves@redhat.com>
4322
4323 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
4324
4325 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
4326
4327 * gdb.btrace/dlopen.exp: New.
4328 * gdb.btrace/dlopen.c: New.
4329 * gdb.btrace/dlopen-dso.c: New.
4330
4331 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
4332
4333 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4334 PATTERN argument is optional.
4335
4336 2015-12-24 Joel Brobecker <brobecker@adacore.com>
4337
4338 * lib/ada.exp (target_compile_ada_from_dir): New function.
4339 (gdb_compile_ada): Reimplement avoiding the use of project files.
4340 * gdb.ada/gnat_ada.gpr: Delete.
4341 * gdb.ada/cond_lang.exp: Adjust test to make path before
4342 filename optional.
4343 * gdb.ada/small_reg_param.exp: Likewise.
4344
4345 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4346
4347 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4348
4349 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4350
4351 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4352 case.
4353
4354 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4355
4356 * gdb.base/break.exp: Remove dead code.
4357 * gdb.base/sepdebug.exp: Likewise.
4358
4359 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4360
4361 * gdb.asm/asm-source.exp: Remove HP-UX references.
4362 * gdb.base/annota1.exp: Likewise.
4363 * gdb.base/annota3.exp: Likewise.
4364 * gdb.base/attach.exp: Likewise.
4365 * gdb.base/bigcore.exp: Likewise.
4366 * gdb.base/break.exp: Likewise.
4367 * gdb.base/call-ar-st.exp: Likewise.
4368 * gdb.base/callfuncs.exp: Likewise.
4369 * gdb.base/catch-fork-static.exp: Likewise.
4370 * gdb.base/display.exp: Likewise.
4371 * gdb.base/foll-exec-mode.exp: Likewise.
4372 * gdb.base/foll-exec.exp: Likewise.
4373 * gdb.base/foll-fork.exp: Likewise.
4374 * gdb.base/foll-vfork.exp: Likewise.
4375 * gdb.base/funcargs.exp: Likewise.
4376 * gdb.base/hbreak2.exp: Likewise.
4377 * gdb.base/inferior-died.exp: Likewise.
4378 * gdb.base/interrupt.exp: Likewise.
4379 * gdb.base/multi-forks.exp: Likewise.
4380 * gdb.base/nodebug.exp: Likewise.
4381 * gdb.base/sepdebug.exp: Likewise.
4382 * gdb.base/solib1.c: Likewise.
4383 * gdb.base/step-test.exp: Likewise.
4384 * gdb.mi/non-stop.c: Likewise.
4385 * gdb.mi/pthreads.c: Likewise.
4386 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4387 * gdb.threads/pthreads.c: Likewise.
4388 * gdb.threads/staticthreads.exp: Likewise.
4389 * lib/future.exp: Likewise.
4390 * lib/gdb.exp: Likewise.
4391 * gdb.base/so-indr-cl.c: Remove.
4392 * gdb.base/so-indr-cl.exp: Likewise.
4393 * gdb.base/solib.c: Likewise.
4394 * gdb.base/solib.exp: Likewise.
4395 * gdb.base/solib2.c: Likewise.
4396
4397 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4398
4399 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4400 * gdb.base/call-ar-st.exp: Likewise.
4401 * gdb.base/callfuncs.exp: Likewise.
4402 * gdb.base/condbreak.exp: Likewise.
4403 * gdb.base/constvars.exp: Likewise.
4404 * gdb.base/hbreak2.exp: Likewise.
4405 * gdb.base/langs.exp: Likewise.
4406 * gdb.base/list.exp: Likewise.
4407 * gdb.base/long_long.exp: Likewise.
4408 * gdb.base/ptype.exp: Likewise.
4409 * gdb.base/scope.exp: Likewise.
4410 * gdb.base/signals.exp: Likewise.
4411 * gdb.base/so-impl-ld.exp: Likewise.
4412 * gdb.base/varargs.exp: Likewise.
4413 * gdb.base/volatile.exp: Likewise.
4414 * gdb.base/whatis.exp: Likewise.
4415 * gdb.cp/cplusfuncs.exp: Likewise.
4416 * gdb.cp/inherit.exp: Likewise.
4417 * gdb.cp/local.exp: Likewise.
4418 * gdb.cp/member-ptr.exp: Likewise.
4419 * gdb.cp/method.exp: Likewise.
4420 * gdb.cp/overload.exp: Likewise.
4421 * gdb.cp/templates.exp: Likewise.
4422 * gdb.stabs/weird.exp: Likewise.
4423 * lib/compiler.c: Likewise.
4424 * lib/compiler.cc: Likewise.
4425 * lib/cp-support.exp: Likewise.
4426 * lib/gdb.exp: Likewise.
4427
4428 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
4429
4430 * configure.ac: Remove HP-UX case.
4431 * configure: Regenerate.
4432
4433 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
4434
4435 * lib/gdb.exp (gdb_compile): Add function doc.
4436
4437 2015-12-17 Pedro Alves <palves@redhat.com>
4438
4439 PR threads/19354
4440 * gdb.multi/info-threads.exp: New file.
4441
4442 2015-12-15 Yao Qi <yao.qi@linaro.org>
4443
4444 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
4445 is aarch64*-*-*.
4446
4447 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4448
4449 * gdb.base/history-duplicates.exp: Skip if no readline support.
4450
4451 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4452
4453 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
4454
4455 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4456
4457 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
4458
4459 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4460
4461 * gdb.base/completion.exp: Skip tests that interrupt GDB with
4462 ctrl-C if nointerrupts target property is set.
4463 * gdb.base/double-prompt-target-event-error.exp: Likewise.
4464 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
4465 * gdb.base/paginate-bg-execution.exp: Likewise.
4466 * gdb.base/paginate-execution-startup.exp: Likewise.
4467 * gdb.base/random-signal.exp: Likewise.
4468 * gdb.base/range-stepping.exp: Likewise.
4469 * gdb.cp/annota2.exp: Likewise.
4470 * gdb.cp/annota3.exp: Likewise.
4471 * gdb.gdb/selftest.exp: Likewise.
4472 * gdb.threads/continue-pending-status.exp: Likewise.
4473 * gdb.threads/leader-exit.exp: Likewise.
4474 * gdb.threads/manythreads.exp: Likewise.
4475 * gdb.threads/pthreads.exp: Likewise.
4476 * gdb.threads/schedlock.exp: Likewise.
4477 * gdb.threads/sigthread.exp: Likewise.
4478
4479 2015-12-11 Don Breazeal <donb@codesourcery.com>
4480
4481 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
4482 remote.
4483 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
4484 * gdb.base/foll-exec.exp (main): Enable for target remote.
4485 * gdb.base/foll-fork.exp (main): Likewise.
4486 * gdb.base/foll-vfork.exp (main): Likewise.
4487 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
4488 (proc continue_to_exit_bp_loc): Use clean_restart.
4489 * gdb.base/pie-execl.exp (main): Disable for target remote.
4490 * gdb.base/watch-vfork.exp (main): Enable for target remote.
4491 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
4492 * gdb.threads/execl.exp (main): Likewise.
4493 * gdb.threads/fork-child-threads.exp (main): Likewise.
4494 * gdb.threads/fork-plus-threads.exp (main): Disable for target
4495 remote.
4496 * gdb.threads/fork-thread-pending.exp (main): Enable for target
4497 remote.
4498 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
4499 pid.tid style ptids, instead of just tid.
4500 * gdb.threads/thread-execl.exp (main): Enable for target remote.
4501 * gdb.threads/watchpoint-fork.exp (main): Likewise.
4502 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
4503 ptids, instead of just tid.
4504
4505 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4506
4507 * gdb.base/list.exp (test_list_forward): Add end of file error
4508 test.
4509 (test_repeat_list_command): Add end of file error test.
4510 (test_list_backwards): Add beginning of file error test.
4511
4512 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4513
4514 * gdb.base/list.exp (test_list_invalid_args): New function,
4515 defined, and called.
4516
4517 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4518
4519 * gdb.base/list.exp (test_list): Make test names unique.
4520
4521 2015-12-11 Yao Qi <yao.qi@linaro.org>
4522
4523 * gdb.base/coremaker2.c: Remove.
4524
4525 2015-12-10 Pedro Alves <palves@redhat.com>
4526
4527 * gdb.multi/base.exp: Remove stale "spaces" references.
4528
4529 2015-12-10 Pedro Alves <palves@redhat.com>
4530
4531 * gdb.multi/base.exp: Don't use nowarnings.
4532 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
4533 * gdb.multi/hangout.c: Include stdio.h.
4534 * gdb.multi/hello.c: Include stdlib.h.
4535 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
4536 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
4537 * gdb.multi/multi-arch.exp: Don't use nowarnings.
4538
4539 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
4540
4541 * gdb.dwarf2/dw2-ranges-base.c: New file.
4542 * gdb.dwarf2/dw2-ranges-base.exp: New file.
4543 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
4544 support additional line table, and debug ranges generation.
4545 (Dwarf::ranges): New function, generate .debug_ranges.
4546 (Dwarf::lines): Support generating simple line table programs.
4547 (Dwarf::assemble): Initialise new namespace variables.
4548
4549 2015-12-09 Kevin Buettner <kevinb@redhat.com>
4550
4551 * gdb.base/async.exp (proc test_background): Add case for
4552 asynchronous execution not supported.
4553
4554 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
4555
4556 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
4557 format and change test names to make them unique.
4558
4559 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
4560 Pedro Alves <pedro@redhat.com>
4561
4562 PR gdb/18702
4563 Add checking of floatformats setup on x86_64 hosts.
4564 * gdb.arch/i386-float.S (main): Load bigval and smallval.
4565 (smallval, bigval): New labels/constants.
4566 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
4567 float" after loading bigval and smallval.
4568
4569 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
4570
4571 * gdb.ada/fun_overload_menu.exp: New testcase.
4572 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
4573
4574 2015-12-04 Josh Stone <jistone@redhat.com>
4575
4576 * gdb.base/catch-fork-static.exp: New.
4577
4578 2015-12-03 Yao Qi <yao.qi@linaro.org>
4579
4580 * gdb.base/sizeof.c: Don't include stdio.h and
4581 ../lib/unbuffer_output.c.
4582 (main): New variable 'size' and 'value'. Remove printf and
4583 gdb_unbuffer_output. Assign return value to size and value.
4584 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
4585 at the beginning.
4586 (check_sizeof): Check the result by printing variable 'size'.
4587 (check_valueof): Check the result by printing variable 'value'.
4588
4589 2015-12-01 Yao Qi <yao.qi@linaro.org>
4590
4591 * gdb.base/disp-step-syscall.exp: Define syscall instruction
4592 for aarch64*-*-linux* target.
4593
4594 2015-11-30 Pedro Alves <palves@redhat.com>
4595
4596 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
4597
4598 2015-11-30 Pedro Alves <palves@redhat.com>
4599
4600 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
4601 Handle non-stop mode vCont replies.
4602
4603 2015-11-30 Pedro Alves <palves@redhat.com>
4604
4605 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
4606 prepare_for_testing. Start gdb with "set non-stop on" appended to
4607 GDBFLAGS. Lax expected stop output.
4608
4609 2015-11-27 Yao Qi <yao.qi@linaro.org>
4610
4611 * gdb.arch/arm-neon.exp: New.
4612 * gdb.arch/arm-neon.c: New.
4613
4614 2015-11-27 Yao Qi <yao.qi@linaro.org>
4615
4616 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
4617
4618 2015-11-27 Yao Qi <yao.qi@linaro.org>
4619
4620 * gdb.cp/annota2.exp: Allow multiple occurrences of the
4621 frames-invalid annotation.
4622
4623 2015-11-27 Yao Qi <yao.qi@linaro.org>
4624
4625 * gdb.cp/annota2.exp: Use ${frames_invalid}.
4626
4627 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
4628
4629 * gdb.threads/names.exp: New file.
4630 * gdb.threads/names.c: New file.
4631 * README: Mention gdb,no_thread_names.
4632
4633 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
4634
4635 PR 19297
4636 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
4637 support" error.
4638
4639 2015-11-24 Pedro Alves <palves@redhat.com>
4640
4641 PR 17539
4642 * gdb.base/display.exp: Expect displays to be sorted in ascending
4643 order. Use multi_line.
4644 * gdb.base/solib-display.exp: Likewise.
4645
4646 2015-11-24 Pedro Alves <palves@redhat.com>
4647
4648 PR 17539
4649 * gdb.base/display.exp: Expect displays to be sorted in ascending
4650 order. Use multi_line.
4651 * gdb.base/solib-display.exp: Likewise.
4652
4653 2015-11-24 Pedro Alves <palves@redhat.com>
4654
4655 PR 17539
4656 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
4657 threads in ascending order.
4658 * gdb.base/foll-fork.exp: Likewise.
4659 * gdb.base/foll-vfork.exp: Likewise.
4660 * gdb.base/multi-forks.exp: Likewise.
4661 * gdb.mi/mi-nonstop.exp: Likewise.
4662 * gdb.mi/mi-nsintrall.exp: Likewise.
4663 * gdb.multi/base.exp: Likewise.
4664 * gdb.multi/multi-arch.exp: Likewise.
4665 * gdb.python/py-inferior.exp: Likewise.
4666 * gdb.threads/break-while-running.exp: Likewise.
4667 * gdb.threads/execl.exp: Likewise.
4668 * gdb.threads/gcore-thread.exp: Likewise.
4669 * gdb.threads/info-threads-cur-sal.exp: Likewise.
4670 * gdb.threads/kill.exp: Likewise.
4671 * gdb.threads/linux-dp.exp: Likewise.
4672 * gdb.threads/multiple-step-overs.exp: Likewise.
4673 * gdb.threads/next-bp-other-thread.exp: Likewise.
4674 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
4675 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
4676 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
4677 * gdb.threads/thread-find.exp: Likewise.
4678 * gdb.threads/tls.exp: Likewise.
4679 * lib/mi-support.exp (mi_reverse_list): Delete.
4680 (mi_check_thread_states): No longer reverse list.
4681
4682 2015-11-24 Pedro Alves <palves@redhat.com>
4683
4684 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
4685 use lowercase.
4686
4687 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4688
4689 * gdb.trace/actions.c: Include trace-common.h.
4690 (main): Add a location for a fast tracepoint.
4691 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
4692 the normal tracepoints.
4693 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
4694
4695 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4696
4697 * save-trace.exp: Factor out code to these...
4698 (gdb_save_tracepoints): New.
4699 (gdb_load_tracepoints): New.
4700 (do_save_load_test): New.
4701
4702 2015-11-23 Kevin Buettner <kevinb@redhat.com>
4703
4704 * gdb.base/asmlabel.exp: New test.
4705 * gdb.base/asmlabel.c: New test case.
4706
4707 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4708
4709 * gdb.base/wrong_frame_bt_full-main.c: New file.
4710 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
4711 * gdb.base/wrong_frame_bt_full.exp: New file.
4712
4713 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4714
4715 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
4716
4717 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4718
4719 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
4720 pstate register when comparing registers values in
4721 sparc64-*-linux-gnu targets to avoid spurious differences.
4722
4723 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4724
4725 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
4726
4727 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
4728
4729 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
4730 as type argument to gdb_compile.
4731 * gdb.base/nested-subp2.exp: Likewise.
4732 * gdb.base/nested-subp3.exp: Likewise.
4733
4734 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
4735
4736 * lib/dwarf.exp (_note): Fix left shift of negative value.
4737 * gdb.trace/trace-condition.exp: Likewise.
4738
4739 2015-11-13 Yao Qi <yao.qi@linaro.org>
4740
4741 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
4742 comments about d10v.
4743 (test_scalar_returns): Likewise.
4744 * gdb.base/d10v.ld: Remove.
4745 * gdb.base/overlays.exp: Remove the target triplet checking for
4746 d10v-*-*.
4747 * gdb.base/structs.exp (test_struct_returns): Remove the
4748 comments about d10v.
4749 (test_struct_calls): Likewise.
4750
4751 2015-11-13 Yao Qi <yao.qi@linaro.org>
4752
4753 * gdb.base/gnu_vector.exp: Check the return value by "p res".
4754 * gdb.base/gnu_vector.c: Don't include stdio.h.
4755 (main): Don't print res and call add_some_intvecs.
4756
4757 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
4758
4759 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
4760 macro.
4761 (func5): Removed.
4762 (func4): Use FAST_TRACEPOINT_LABEL.
4763 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
4764 macro.
4765 (func): Removed.
4766 (thread_function): Use FAST_TRACEPOINT_LABEL.
4767 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
4768 (func): Remove.
4769 (marker): Use FAST_TRACEPOINT_LABEL.
4770 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
4771 (pendfunc1): Remove.
4772 (pendfunc): Use FAST_TRACEPOINT_LABEL.
4773 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
4774 (foo): Remove.
4775 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
4776 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
4777 macro.
4778 (func): Remove.
4779 (marker): Use FAST_TRACEPOINT_LABEL.
4780 * gdb.trace/trace-common.h: New header.
4781 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
4782 macro.
4783 (func): Remove.
4784 (marker): Use FAST_TRACEPOINT_LABEL.
4785 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
4786 (func): Remove.
4787 (thread_function): Use FAST_TRACEPOINT_LABEL.
4788
4789 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
4790
4791 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
4792 in front.
4793 * gdb.trace/change-loc.exp: Use global pcreg definition.
4794 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
4795 * gdb.trace/entry-values.exp: Use global spreg definition, add $
4796 in front.
4797 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
4798 * gdb.trace/pending.exp: Likewise.
4799 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
4800 * gdb.trace/trace-break.exp: Likewise.
4801 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
4802 in front.
4803 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
4804 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
4805 in front.
4806 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
4807
4808 2015-11-09 Joel Brobecker <brobecker@adacore.com>
4809
4810 * gdb.ada/fin_fun_out: New testcase.
4811
4812 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4813
4814 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
4815 value associated with DW_AT_byte_size.
4816 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
4817 constants for DW_AT_byte_size, DW_AT_lower_bound, and
4818 DW_AT_upper_bound.
4819
4820 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4821
4822 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
4823 (gdb_target_symbol_prefix_flags): Define in terms of _asm
4824 version.
4825 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
4826 gdb.dwarf2/dw2-canonicalize-type.exp,
4827 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
4828 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
4829 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
4830 provided by gdb_target_symbol_prefix_flags_asm.
4831 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
4832 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
4833 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
4834 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
4835 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
4836 macros where needed). Use this macro for symbols which require
4837 the prefix provided by SYMBOL_PREFIX.
4838
4839 2015-11-05 Kevin Buettner <kevinb@redhat.com>
4840
4841 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
4842 New procs.
4843 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
4844 representing expressions, of more than one list element.
4845 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
4846 to prepend linker symbol prefix to f.
4847 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
4848 table_1 and table_2.
4849 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
4850 Likewise, for f and g.
4851 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
4852 for ptr.
4853 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
4854 for main.
4855 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
4856 table_1_ptr and table_2_ptr.
4857
4858 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4859 Joel Brobecker <brobecker@adacore.com>
4860
4861 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
4862
4863 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
4864
4865 * gdb.reverse/s390-mvcle.c: New test.
4866 * gdb.reverse/s390-mvcle.exp: New file.
4867 * lib/gdb.exp: Enable reverse tests on s390*-linux.
4868
4869 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4870
4871 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
4872
4873 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4874
4875 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
4876 reaching marker2.
4877 * gdb.reverse/getresuid-reverse.exp: Likewise.
4878 * gdb.reverse/pipe-reverse.exp: Likewise.
4879 * gdb.reverse/readv-reverse.exp: Likewise.
4880 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4881 * gdb.reverse/time-reverse.exp: Likewise.
4882 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
4883
4884 2015-10-30 Yao Qi <yao.qi@linaro.org>
4885
4886 * gdb.threads/wp-replication.c (watch_count_done): Remove.
4887 (empty_cycle): Remove.
4888 (main): Don't call empty_cycle. Don't use watch_count_done.
4889 * gdb.threads/wp-replication.exp: Don't set breakpoint on
4890 empty_cycle. Rewrite the code counting HW watchpoints.
4891
4892 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
4893
4894 * gdb.reverse/fstatat-reverse.c: New test.
4895 * gdb.reverse/fstatat-reverse.exp: New file.
4896 * gdb.reverse/getresuid-reverse.c: New test.
4897 * gdb.reverse/getresuid-reverse.exp: New file.
4898 * gdb.reverse/pipe-reverse.c: New test.
4899 * gdb.reverse/pipe-reverse.exp: New file.
4900 * gdb.reverse/readv-reverse.c: New test.
4901 * gdb.reverse/readv-reverse.exp: New file.
4902 * gdb.reverse/recvmsg-reverse.c: New test.
4903 * gdb.reverse/recvmsg-reverse.exp: New file.
4904 * gdb.reverse/time-reverse.c: New test.
4905 * gdb.reverse/time-reverse.exp: New file.
4906 * gdb.reverse/waitpid-reverse.c: New test.
4907 * gdb.reverse/waitpid-reverse.exp: New file.
4908
4909 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4910
4911 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
4912
4913 2015-10-26 Doug Evans <dje@google.com>
4914
4915 PR symtab/17391
4916 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
4917 * gdb.dwarf2/bad-regnum.c: New file.
4918 * gdb.dwarf2/bad-regnum.exp: New file.
4919
4920 2015-10-26 Doug Evans <dje@google.com>
4921
4922 PR python/18938
4923 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
4924 file.
4925
4926 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4927
4928 * gdb.compile/compile.exp (compile code globalvar): Update expectation
4929 for a change by "Mention language in compile error message".
4930
4931 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
4932
4933 PR python/18073
4934 * gdb.python/py-type.c (C::a_method): New.
4935 (C::a_const_method): New.
4936 (C::a_static_method): New.
4937 (a_function): New.
4938 * gdb.python/py-type.exp (test_fields): Test getting fields
4939 from function and method.
4940
4941 2015-10-21 Keven Boell <keven.boell@intel.com>
4942
4943 * gdb.fortran/vla-alloc-assoc.exp: New file.
4944 * gdb.fortran/vla-datatypes.exp: New file.
4945 * gdb.fortran/vla-datatypes.f90: New file.
4946 * gdb.fortran/vla-history.exp: New file.
4947 * gdb.fortran/vla-ptype-sub.exp: New file.
4948 * gdb.fortran/vla-ptype.exp: New file.
4949 * gdb.fortran/vla-sizeof.exp: New file.
4950 * gdb.fortran/vla-sub.f90: New file.
4951 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
4952 * gdb.fortran/vla-value-sub-finish.exp: New file.
4953 * gdb.fortran/vla-value-sub.exp: New file.
4954 * gdb.fortran/vla-value.exp: New file.
4955 * gdb.fortran/vla-ptr-info.exp: New file.
4956 * gdb.mi/mi-vla-fortran.exp: New file.
4957 * gdb.mi/vla.f90: New file.
4958
4959 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
4960
4961 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
4962 of hardwired timeout value.
4963
4964 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4965 Pedro Alves <palves@redhat.com>
4966
4967 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
4968 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
4969
4970 2015-10-19 Josh Stone <jistone@redhat.com>
4971
4972 * gdb.base/catch-syscall.c: Include <sched.h>.
4973 (unknown_syscall): New variable.
4974 (main): Trigger a vfork and an unknown syscall.
4975 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
4976 (unknown_syscall_number): Likewise.
4977 (check_call_to_syscall): Accept an optional syscall pattern.
4978 (check_return_from_syscall): Likewise.
4979 (check_continue): Likewise.
4980 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
4981 (test_catch_syscall_skipping_return): New test toggling off 'catch
4982 syscall' to step over the syscall return, then toggling back on.
4983 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
4984 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
4985 (do_syscall_tests): Call test_catch_syscall_without_args and
4986 test_catch_syscall_mid_vfork.
4987 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
4988 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
4989
4990 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
4991
4992 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
4993 print g_vE): Add new pass patterns.
4994 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
4995 print various symbol names for vptr fields.
4996
4997 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
4998
4999 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
5000 results.
5001
5002 2015-10-12 Yao Qi <yao.qi@linaro.org>
5003
5004 * gdb.arch/disp-step-insn-reloc.exp: New test case.
5005
5006 2015-10-12 Yao Qi <yao.qi@linaro.org>
5007
5008 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
5009 is aarch64*-*-linux*.
5010
5011 2015-10-12 Yao Qi <yao.qi@linaro.org>
5012
5013 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
5014 (can_relocate_bcond_true): ... it.
5015 (can_relocate_bcond_false): New function.
5016 (foo): Likewise.
5017 (can_relocate_bl): Likewise.
5018 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
5019 can_relocate_bl.
5020
5021 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
5022
5023 * gdb.base/nested-addr.c: New file.
5024 * gdb.base/nested-addr.exp: New testcase.
5025
5026 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
5027
5028 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
5029 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
5030 its output. Ignore the output of "record goto begin" and instead
5031 check that GDB is replaying.
5032
5033 2015-10-09 Pedro Alves <palves@redhat.com>
5034
5035 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
5036 (top level): Use it in the run with no args test.
5037
5038 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
5039
5040 * gdb.dlang/properties.exp: New file.
5041
5042 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
5043
5044 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
5045 whether or not address 0x1000 is mapped on the target.
5046
5047 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
5048
5049 * gdb.python/py-type.exp: Do not run tests if binaries fail to
5050 build.
5051
5052 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
5053
5054 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
5055 instruction-history test.
5056
5057 2015-09-28 Doug Evans <dje@google.com>
5058
5059 * gdb.base/gcore.c (array_func): Add reference to static_array.
5060
5061 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
5062
5063 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
5064 source line.
5065
5066 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
5067
5068 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
5069 short or char as base type.
5070
5071 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
5072
5073 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
5074 to allow any size enum.
5075
5076 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
5077
5078 * gdb.ada/array_ptr_renaming.exp: New testcase.
5079 * gdb.ada/array_ptr_renaming/foo.adb: New file.
5080 * gdb.ada/array_ptr_renaming/pack.ads: New file.
5081
5082 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5083
5084 * gdb.trace/ftrace-lock.c: New file.
5085 * gdb.trace/ftrace-lock.exp: New file.
5086
5087 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5088
5089 * gdb.arch/insn-reloc.c: New file.
5090 * gdb.arch/ftrace-insn-reloc.exp: New file.
5091
5092 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5093
5094 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
5095 instruction.
5096 * gdb.trace/pendshr1.c (pendfunc): Likewise.
5097 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
5098 * gdb.trace/range-stepping.c: Likewise.
5099 * gdb.trace/trace-break.c: Likewise.
5100 * gdb.trace/trace-mt.c (thread_function): Likewise.
5101 * gdb.trace/ftrace.c (marker): Likewise.
5102 * gdb.trace/trace-condition.c (marker): Likewise.
5103 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
5104 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
5105 is_aarch64_target.
5106
5107 2015-09-18 Doug Evans <xdje42@gmail.com>
5108
5109 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
5110 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
5111
5112 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5113
5114 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
5115 the breakpoint.
5116
5117 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5118
5119 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
5120 the pending breakpoint. Remove timeout override for "Run till
5121 MI pending breakpoint on pendfunc3 on thread 2" test.
5122
5123 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5124
5125 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
5126 filename pattern.
5127
5128 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5129
5130 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
5131 in breakpoint filename pattern.
5132
5133 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5134
5135 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
5136
5137 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5138
5139 * gdb.linespec/explicit.exp: Check for readline support for
5140 tab-completion tests. Fix obvious typo.
5141
5142 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5143
5144 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
5145 and replay.
5146
5147 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5148
5149 * gdb.btrace/non-stop.c: New.
5150 * gdb.btrace/non-stop.exp: New.
5151
5152 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
5153 Yao Qi <yao.qi@linaro.org>
5154
5155 * gdb.trace/trace-condition.c: New file.
5156 * gdb.trace/trace-condition.exp: New file.
5157
5158 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
5159
5160 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
5161 for testing bytecode compilation.
5162
5163 2015-09-16 Pedro Alves <palves@redhat.com>
5164 Sandra Loosemore <sandra@codesourcery.com>
5165
5166 * gdb.threads/non-stop-fair-events.c (timeout): New global.
5167 (SECONDS): Redefine.
5168 (main): Call pthread_kill and alarm early.
5169 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
5170 support.
5171 (test): If the target can't hardware step and doesn't support
5172 displaced stepping, increase the timeout.
5173
5174 2015-09-16 Pedro Alves <palves@redhat.com>
5175
5176 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
5177 (enable_debug): New procedures.
5178 (test): Use them. Bail out if waiting for threads fails.
5179 (top level): Bail out if a test fails.
5180
5181 2015-09-16 Yao Qi <yao.qi@linaro.org>
5182
5183 * gdb.asm/asm-source.exp: Set asm-arch for
5184 aarch64*-*-* target.
5185 * gdb.asm/aarch64.inc: New file.
5186
5187 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
5188
5189 * gdb.ada/array_of_variable_length.exp: New testcase.
5190 * gdb.ada/array_of_variable_length/foo.adb: New file.
5191 * gdb.ada/array_of_variable_length/pck.adb: New file.
5192 * gdb.ada/array_of_variable_length/pck.ads: New file.
5193
5194 2015-09-15 Doug Evans <dje@google.com>
5195
5196 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
5197 of function static local variable.
5198
5199 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5200
5201 * gdb.threads/tls-so_extern.exp: New test file.
5202 * gdb.threads/tls-so_extern.c: New test file.
5203 * gdb.threads/tls-so_extern_main.c: New test file.
5204
5205 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5206
5207 * gdb.opt/solib-intra-step-lib.c: New file.
5208 * gdb.opt/solib-intra-step-main.c: New file.
5209 * gdb.opt/solib-intra-step.exp: New file.
5210
5211 2015-09-15 Pedro Alves <palves@redhat.com>
5212
5213 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
5214 gdb_continue_to_breakpoint instead of gdb_test_multiple.
5215
5216 2015-09-14 Pedro Alves <palves@redhat.com>
5217
5218 * gdb.base/hook-stop-continue.c: Delete.
5219 * gdb.base/hook-stop-continue.exp: Delete.
5220 * gdb.base/hook-stop-frame.c: Delete.
5221 * gdb.base/hook-stop-frame.exp: Delete.
5222 * gdb.base/hook-stop.c: New file.
5223 * gdb.base/hook-stop.exp: New file.
5224
5225 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
5226
5227 * gdb.ada/access_to_packed_array.exp: New testcase.
5228 * gdb.ada/access_to_packed_array/foo.adb: New file.
5229 * gdb.ada/access_to_packed_array/pack.adb: New file.
5230 * gdb.ada/access_to_packed_array/pack.ads: New file.
5231
5232 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
5233
5234 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
5235 buffer size test.
5236
5237 2015-09-11 Don Breazeal <donb@codesourcery.com>
5238
5239 * gdb.base/foll-exec.c: Add copyright header. Fix
5240 formatting issues.
5241 * gdb.base/foll-exec.exp (zap_session): Delete proc.
5242 (do_exec_tests): Use clean_restart in place of zap_session,
5243 and for test initialization. Fix formatting issues. Use
5244 fail in place of perror.
5245 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
5246 an expect statement to match an expression with output from
5247 the program under debug.
5248 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
5249 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
5250 * gdb.threads/non-ldr-exc-2.exp: Likewise.
5251 * gdb.threads/non-ldr-exc-3.exp: Likewise.
5252 * gdb.threads/non-ldr-exc-4.exp: Likewise.
5253
5254 2015-09-09 Doug Evans <dje@google.com>
5255
5256 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
5257
5258 2015-09-09 Doug Evans <dje@google.com>
5259
5260 * gdb.base/pie-execl.exp: Fix result test of build_executable.
5261
5262 2015-09-09 Doug Evans <dje@google.com>
5263
5264 * gdb.base/savedregs.exp: Fix typo.
5265
5266 2015-09-09 Pedro Alves <palves@redhat.com>
5267
5268 * gdb.mi/mi-cli.exp: Add CLI finish tests.
5269
5270 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
5271
5272 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
5273 command actually switches threads. Give up on remaining
5274 tests if target fails to stop at breakpoint.
5275
5276 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
5277
5278 * gdb.ada/funcall_char.exp: New testcase.
5279 * gdb.ada/funcall_char/foo.adb: New file.
5280
5281 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
5282
5283 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
5284 expected outputs. Add two testcases for completing ambiguous
5285 functions.
5286 * gdb.ada/complete/aux_pck.adb: New file.
5287 * gdb.ada/complete/aux_pck.ads: New file.
5288 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
5289 Ambiguous_Func functions.
5290 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
5291 * gdb.ada/complete/pck.adb: Likewise.
5292
5293 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
5294
5295 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
5296 failures to run the test program under GDB.
5297
5298 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
5299
5300 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
5301 to C.
5302
5303 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
5304
5305 * gdb.base/run-after-attach.exp: New test file.
5306 * gdb.base/run-after-attach.c: New test file.
5307
5308 2015-08-26 Don Breazeal <donb@codesourcery.com>
5309
5310 * gdb.base/foll-exec-2.c: New test program.
5311 * gdb.base/foll-exec-2.exp: New test.
5312
5313 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
5314
5315 * gdb.base/nested-subp1.exp: New file.
5316 * gdb.base/nested-subp1.c: New file.
5317 * gdb.base/nested-subp2.exp: New file.
5318 * gdb.base/nested-subp2.c: New file.
5319 * gdb.base/nested-subp3.exp: New file.
5320 * gdb.base/nested-subp3.c: New file.
5321
5322 2015-08-24 Pedro Alves <palves@redhat.com>
5323
5324 * gdb.server/connect-without-multi-process.c: New file.
5325 * gdb.server/connect-without-multi-process.exp: New file.
5326
5327 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5328
5329 * gdb.opt/inline-markers.c: Make z int.
5330
5331 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5332
5333 * gdb.opt/inline-markers.c: Make z volatile.
5334
5335 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5336
5337 * gdb.opt/inline-bt.c: New volatile global z.
5338 * gdb.opt/inline-cmds.c: Likewise.
5339 * gdb.opt/inline-locals.c: Likewise.
5340 * gdb.opt/inline-markers.c: New extern global z.
5341 (marker): Use z.
5342 (inline_fn): Likewise.
5343
5344 2015-08-24 Pedro Alves <palves@redhat.com>
5345
5346 * config/m32r-stub.exp: Remove file.
5347 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5348 * gdb.base/call-rt-st.exp: Likewise.
5349 * gdb.base/call-strs.exp: Likewise.
5350 * gdb.base/default.exp: Remove references to h8300-*-hms and
5351 *-*-udi*.
5352 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5353
5354 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5355
5356 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5357 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5358 and "return" use KFAIL when GDB can not read/write the vector
5359 return value.
5360
5361 2015-08-21 Gary Benson <gbenson@redhat.com>
5362
5363 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5364
5365 2015-08-20 Pedro Alves <palves@redhat.com>
5366
5367 * gdb.server/solib-list.exp: No longer expect an interior stop in
5368 non-stop mode.
5369
5370 2015-08-20 Pedro Alves <palves@redhat.com>
5371
5372 * gdb.server/connect-stopped-target.c: New file.
5373 * gdb.server/connect-stopped-target.exp: New file.
5374
5375 2015-08-20 Pedro Alves <palves@redhat.com>
5376
5377 * gdb.dwarf2/comp-unit-lang.exp: New file.
5378 * gdb.dwarf2/comp-unit-lang.c: New file.
5379
5380 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5381
5382 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5383 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5384
5385 2015-08-19 Kevin Buettner <kevinb@redhat.com>
5386
5387 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5388 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5389
5390 2015-08-18 Doug Evans <dje@google.com>
5391 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5392
5393 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5394 skip_python_tests. New arg prompt_regexp.
5395 (skip_python_tests): New function.
5396 * lib/mi-support.exp (mi_skip_python_tests): New function.
5397 * gdb.python/py-mi-objfile-gdb.py: New file.
5398 * gdb.python/py-mi-objfile.c: New file.
5399 * gdb.python/py-mi-objfile.exp: New file.
5400
5401 2015-08-17 Keith Seitz <keiths@redhat.com>
5402
5403 * gdb.linespec/explicit.exp: Move strace test from here ...
5404 * gdb.trace/strace.exp: ... to here.
5405
5406 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5407
5408 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5409 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5410
5411 2015-08-14 Doug Evans <xdje42@gmail.com>
5412
5413 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5414 inferior before selecting a new file.
5415
5416 2015-08-14 Doug Evans <xdje42@gmail.com>
5417
5418 * gdb.mi/mi-disassemble.exp: Update.
5419 * gdb.base/disasm-optim.S: New file.
5420 * gdb.base/disasm-optim.c: New file.
5421 * gdb.base/disasm-optim.h: New file.
5422 * gdb.base/disasm-optim.exp: New file.
5423
5424 2015-08-14 Keith Seitz <keiths@redhat.com>
5425
5426 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
5427 "evaluated-by".
5428
5429 2015-08-13 Joel Brobecker <brobecker@adacore.com>
5430
5431 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
5432
5433 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
5434
5435 * gdb.ada/fun_renaming.exp: New testcase.
5436 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
5437 * gdb.ada/fun_renaming/pack.adb: New file.
5438 * gdb.ada/fun_renaming/pack.ads: New file.
5439
5440 2015-08-12 Keith Seitz <keiths@redhat.com>
5441
5442 * gdb.base/dso2dso.exp: Pass basename of source file in call to
5443 gdb_get_line_number.
5444
5445 2015-08-12 Joel Brobecker <brobecker@adacore.com>
5446
5447 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
5448 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
5449 gdb.base/dso2dso.exp: New files.
5450
5451 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
5452 Pedro Alves <palves@redhat.com>
5453 Keith Seitz <keiths@redhat.com>
5454
5455 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
5456 GDBFLAGS.
5457
5458 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5459
5460 * gdb.base/gdbhistsize-history.exp
5461 (test_histsize_history_setting): Use save_vars.
5462 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5463 Use save_vars.
5464 (test_no_truncation_of_unlimited_history_file): Use save_vars.
5465 * gdb.base/readline.exp: Use save_vars.
5466
5467 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5468
5469 * lib/gdb.exp (save_vars): New proc.
5470
5471 2015-08-11 Keith Seitz <keiths@redhat.com>
5472
5473 * gdb.base/help.exp: Update help_breakpoint_text.
5474
5475 2015-08-11 Keith Seitz <keiths@redhat.com>
5476
5477 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
5478 (at toplevel): Call test_explicit_breakpoints.
5479 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
5480 breakpoints.
5481 * lib/mi-support.exp (mi_make_breakpoint): Add support for
5482 breakpoint conditions, "-cond".
5483
5484 2015-08-11 Keith Seitz <keiths@redhat.com>
5485
5486 * gdb.linespec/3explicit.c: New file.
5487 * gdb.linespec/cpexplicit.cc: New file.
5488 * gdb.linespec/cpexplicit.exp: New file.
5489 * gdb.linespec/explicit.c: New file.
5490 * gdb.linespec/explicit.exp: New file.
5491 * gdb.linespec/explicit2.c: New file.
5492 * gdb.linespec/ls-errs.exp: Add explicit location tests.
5493 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
5494 before using in the matching pattern.
5495 Clarify that `prefix' is a regular expression.
5496
5497 2015-08-11 Keith Seitz <keiths@redhat.com>
5498
5499 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
5500 test.
5501 Add tests for missing ",FMT" and ",".
5502
5503 2015-08-10 Doug Evans <dje@google.com>
5504 Keith Seitz <keiths@redhat.com>
5505
5506 PR gdb/17960
5507 * gdb.base/completion.exp: Add location completer tests.
5508
5509 2015-08-07 Pedro Alves <palves@redhat.com>
5510
5511 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
5512 tests here.
5513 (top level): Run do_test with and without displaced stepping.
5514
5515 2015-08-07 Pedro Alves <palves@redhat.com>
5516
5517 * gdb.base/valgrind-disp-step.c: New file.
5518 * gdb.base/valgrind-disp-step.exp: New file.
5519
5520 2015-08-07 Pedro Alves <palves@redhat.com>
5521
5522 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
5523 Delete function.
5524 (main): Add alarm. Run an infinite loop instead of calling
5525 wait_threads.
5526 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
5527 comment.
5528 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
5529 Delete function.
5530 (main): Add alarm. Run an infinite loop instead of calling
5531 wait_threads.
5532 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
5533 comment.
5534
5535 2015-08-07 Pedro Alves <palves@redhat.com>
5536
5537 * gdb.base/checkpoint-ns.exp: New file.
5538 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
5539 standard_testfile.
5540
5541 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
5542
5543 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
5544 * gdb.btrace/instruction_history.exp: Update.
5545 * gdb.btrace/tsx.exp: New.
5546 * gdb.btrace/tsx.c: New.
5547
5548 2015-08-06 Pedro Alves <palves@redhat.com>
5549
5550 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
5551 increase timeout.
5552 * gdb.reverse/until-precsave.exp: Bump timeouts.
5553
5554 2015-08-06 Pedro Alves <palves@redhat.com>
5555
5556 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
5557
5558 2015-08-06 Pedro Alves <palves@redhat.com>
5559
5560 PR gdb/18749
5561 * gdb.threads/process-dies-while-handling-bp.c: New file.
5562 * gdb.threads/process-dies-while-handling-bp.exp: New file.
5563
5564 2015-08-06 Pedro Alves <palves@redhat.com>
5565
5566 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
5567 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
5568
5569 2015-08-05 Pedro Alves <palves@redhat.com>
5570
5571 * gdb.threads/next-while-other-thread-longjmps.c: New file.
5572 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
5573
5574 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
5575
5576 * gdb.base/bp-permanent.exp: Report test as unsupported if
5577 the target cannot stop at the permanent breakpoint.
5578
5579 2015-08-03 Doug Evans <dje@google.com>
5580
5581 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
5582 10000.
5583
5584 2015-08-03 Doug Evans <dje@google.com>
5585
5586 * Makefile.in (workers/%.worker, build-perf): New rule.
5587 (GDB_PERFTEST_MODE): New variable.
5588 (check-perf): Use it.
5589 (clean): Clean up gdb.perf parallel build subdirs.
5590 * lib/build-piece.exp: New file.
5591 * lib/gdb.exp (make_gdb_parallel_path): New function
5592 (standard_output_file, standard_temp_file): Call it.
5593 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5594 of $GDB_PARALLEL.
5595 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
5596
5597 2015-08-03 Doug Evans <dje@google.com>
5598
5599 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
5600 (LOG_FILE_NAME): New global.
5601 (TextReporter.__init__): Initialize self.txt_sum.
5602 (TextReporter.report): Add support for multiple data-points.
5603 Move report to perftest.sum, put raw data in perftest.log.
5604 (TextReporter.start): Open sum and log files.
5605 (TextReporter.end): Close sum and log files.
5606 * gdb.perf/lib/perftest/testresult.py
5607 (SingleStatisticTestResult.record): Handle multiple data-points.
5608
5609 2015-07-31 Pedro Alves <palves@redhat.com>
5610
5611 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
5612 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5613 kill_wait_spawned_process instead of explicit "kill -9".
5614 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
5615 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5616 kill_wait_spawned_process.
5617 * gdb.base/attach-twice.exp: Likewise.
5618 * gdb.base/attach.exp: Likewise.
5619 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
5620 gdb_test_multiple.
5621 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
5622 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5623 kill_wait_spawned_process.
5624 * gdb.base/valgrind-infcall.exp: Likewise.
5625 * gdb.multi/multi-attach.exp: Likewise.
5626 * gdb.python/py-prompt.exp: Likewise.
5627 * gdb.python/py-sync-interp.exp: Likewise.
5628 * gdb.server/ext-attach.exp: Likewise.
5629 * gdb.threads/attach-into-signal.exp (corefunc): Use
5630 spawn_wait_for_attach, spawn_id_get_pid and
5631 kill_wait_spawned_process.
5632 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
5633 spawn_wait_for_attach returning a spawn id instead of a pid. Use
5634 spawn_id_get_pid and kill_wait_spawned_process.
5635 * gdb.threads/attach-stopped.exp (corefunc): Use
5636 spawn_wait_for_attach, spawn_id_get_pid and
5637 kill_wait_spawned_process.
5638 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
5639 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5640 kill_wait_spawned_process instead of explicit "kill -9".
5641 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
5642 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
5643 (spawn_wait_for_attach): Use spawn instead of exec to spawn
5644 processes. Don't map cygwin/windows pids here. Now returns a
5645 spawn id list.
5646
5647 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5648
5649 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
5650 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
5651 correct patch.
5652
5653 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5654
5655 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
5656
5657 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5658
5659 Reapply:
5660 2014-05-21 Mark Wielaard <mjw@redhat.com>
5661
5662 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5663
5664 2015-07-30 Pedro Alves <palves@redhat.com>
5665
5666 * linux-low.c (handle_extended_wait): Set the child's last
5667 reported status to TARGET_WAITKIND_STOPPED.
5668
5669 2015-07-30 Pedro Alves <palves@redhat.com>
5670
5671 PR threads/18600
5672 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
5673 only shows inferior 1.
5674
5675 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
5676 Pedro Alves <palves@redhat.com>
5677
5678 PR threads/18600
5679 * gdb.threads/fork-plus-threads.c: New file.
5680 * gdb.threads/fork-plus-threads.exp: New file.
5681
5682 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5683
5684 * gdb.base/batch-preserve-term-settings.exp
5685 (test_terminal_settings_preserved_after_cli_exit): Use
5686 send_quit_command.
5687
5688 2015-07-29 Pedro Alves <palves@redhat.com>
5689 Don Breazeal <donb@codesourcery.com>
5690
5691 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
5692 output from both inferior_spawn_id and gdb_spawn_id.
5693
5694 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5695
5696 * gdb.threads/attach-into-signal.exp (corefunc): Use
5697 with_test_prefix on nested loops, uniquefying the test messages.
5698
5699 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5700
5701 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
5702 commit.
5703
5704 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5705
5706 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
5707 New proc.
5708 (test_terminal_settings_preserved_after_sigterm): New test.
5709
5710 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5711
5712 * gdb.base/batch-preserve-term-settings.exp
5713 (test_terminal_settings_preserved_after_cli_exit): New test.
5714
5715 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5716
5717 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
5718 manipulation of saved_gdbflags.
5719 (test_terminal_settings_preserved): Remove global declaration of
5720 the unused variable pagination_prompt. Remove manipulation of
5721 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
5722 GDBFLAGS.
5723
5724 2015-07-29 Pedro Alves <palves@redhat.com>
5725
5726 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
5727
5728 2015-07-29 Pedro Alves <palves@redhat.com>
5729
5730 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
5731 at the top.
5732
5733 2015-07-29 Pedro Alves <palves@redhat.com>
5734
5735 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
5736 (main): Call gdb_unbuffer_output.
5737 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
5738 (main): Call gdb_unbuffer_output.
5739 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
5740 (main): Call gdb_unbuffer_output.
5741 * gdb.base/call-strs.exp: Adjust to step over the
5742 gdb_unbuffer_output call.
5743 * gdb.base/catch-gdb-caused-signals.c: Include
5744 "../lib/unbuffer_output.c".
5745 (main): Call gdb_unbuffer_output.
5746 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
5747 (main): Call gdb_unbuffer_output.
5748 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
5749 (main): Call gdb_unbuffer_output.
5750 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
5751 (main): Call gdb_unbuffer_output.
5752 * gdb.base/shlib-call.exp: Adjust to step over the
5753 gdb_unbuffer_output call.
5754 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
5755 (main): Call gdb_unbuffer_output.
5756 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
5757 (main): Call gdb_unbuffer_output.
5758 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
5759 (main): Rename to ...
5760 (test): ... this.
5761 (main): Reimplement.
5762 * gdb.base/varargs.exp: Run to test instead of to main.
5763 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5764 (main): Call gdb_unbuffer_output.
5765
5766 2015-07-29 Pedro Alves <palves@redhat.com>
5767
5768 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
5769 factore out from mi_continue_dprintf. For call-style dprintfs,
5770 expect dprintf output out of $inferior_spawn_id.
5771 (mi_continue_dprintf): Use mi_expect_dprintf.
5772 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5773 (main): Call gdb_unbuffer_output.
5774
5775 2015-07-29 Pedro Alves <palves@redhat.com>
5776
5777 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
5778 (default_mi_gdb_start): Set inferior_spawn_id instead of
5779 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
5780 gdb_spawn_id.
5781 (mi_gdb_test): Always expect inferior output from both
5782 $inferior_spawn_id and $gdb_spawn_id.
5783
5784 2015-07-29 Pedro Alves <palves@redhat.com>
5785
5786 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
5787 send_inferior and $inferior_spawn_id.
5788
5789 2015-07-29 Pedro Alves <palves@redhat.com>
5790
5791 * gdb.gdb/complaints.exp (test_initial_complaints)
5792 (test_serial_complaints, test_short_complaints): Use
5793 gdb_test_stdio.
5794 (test_empty_complaint): Handle $inferior_spawn_id !=
5795 $gdb_spawn_id.
5796
5797 2015-07-29 Pedro Alves <palves@redhat.com>
5798
5799 * gdb.base/varargs.exp: Use gdb_test_stdio.
5800
5801 2015-07-29 Pedro Alves <palves@redhat.com>
5802
5803 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
5804
5805 2015-07-29 Pedro Alves <palves@redhat.com>
5806
5807 * gdb.base/ending-run.exp: Use gdb_test_stdio.
5808
5809 2015-07-29 Pedro Alves <palves@redhat.com>
5810
5811 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
5812 parameter into two new parameters, "inf_result" and "gdb_result".
5813 Expect inferior output and gdb output from $inferior_spawn_id and
5814 $gdb_spawn_id, respectively. Adjust all callers.
5815
5816 2015-07-29 Pedro Alves <palves@redhat.com>
5817
5818 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
5819 of gdb_test_sequence.
5820
5821 2015-07-29 Pedro Alves <palves@redhat.com>
5822
5823 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
5824 (saw_spurious_output): Expect inferior output from
5825 $inferior_spawn_id. Use gdb_test_stdio.
5826
5827 2015-07-29 Pedro Alves <palves@redhat.com>
5828
5829 * gdb.base/dprintf.exp: Use standard_testfile. Change
5830 prepare_for_testing call.
5831 (srcfile): Don't set.
5832 (restart): New procedure.
5833 (test_dprintf): New procecure, use to continue over dprintfs.
5834 (test_call, test_agent): New procedures, tests moved here.
5835 Restart gdb and recreate dprintfs. Adjust expected output.
5836
5837 2015-07-29 Pedro Alves <palves@redhat.com>
5838
5839 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
5840
5841 2015-07-29 Pedro Alves <palves@redhat.com>
5842
5843 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
5844
5845 2015-07-29 Pedro Alves <palves@redhat.com>
5846
5847 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
5848 gdb_test_stdio.
5849
5850 2015-07-29 Pedro Alves <palves@redhat.com>
5851
5852 * lib/gdb.exp (gdb_test_stdio): New procedure.
5853
5854 2015-07-29 Pedro Alves <palves@redhat.com>
5855
5856 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
5857
5858 2015-07-29 Pedro Alves <palves@redhat.com>
5859
5860 * gdb.base/call-signal-resume.exp: Remove check for
5861 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
5862 * gdb.base/unwindonsignal.exp: Likewise.
5863 * gdb.base/call-signals.c (gen_signal): Remove printf call.
5864 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
5865
5866 2015-07-29 Pedro Alves <palves@redhat.com>
5867
5868 * gdb.base/siginfo-addr.c (pass): New function.
5869 (handler): Call it iff si_addr is correct.
5870 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
5871 Set a breakpoint at "pass" and continue to it.
5872
5873 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
5874
5875 * gdb.python/py-objfile.exp: Make some tests have unique names.
5876 * gdb.python/py-pp-registration.exp: Likewise.
5877
5878 2015-07-28 Pedro Alves <palves@redhat.com>
5879
5880 * gdb.server/server-exec-info.exp: Issue a "disconnect".
5881
5882 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5883
5884 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
5885
5886 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5887
5888 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
5889
5890 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
5891
5892 * gdb.base/gdb-sigterm-2.exp: New test.
5893
5894 2015-07-25 Doug Evans <xdje42@gmail.com>
5895
5896 Revert:
5897 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5898 (workers/%.worker, build-perf): New rule.
5899 (GDB_PERFTEST_MODE): New variable.
5900 (check-perf): Use it.
5901 (clean): Clean up gdb.perf parallel build subdirs.
5902 * lib/build-piece.exp: New file.
5903 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5904 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5905 name.
5906 (standard_temp_file): Ditto.
5907 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5908 of $GDB_PARALLEL.
5909
5910 2015-07-24 Doug Evans <dje@google.com>
5911
5912 * gdb.perf/lib/perftest/utils.py: New file.
5913 * gdb.perf/gm-hello.cc: New file.
5914 * gdb.perf/gm-pervasive-typedef.cc: New file.
5915 * gdb.perf/gm-pervasive-typedef.h: New file.
5916 * gdb.perf/gm-std.cc: New file.
5917 * gdb.perf/gm-std.h: New file.
5918 * gdb.perf/gm-use-cerr.cc: New file.
5919 * gdb.perf/gm-utils.h: New file.
5920 * gdb.perf/gmonster-null-lookup.py: New file.
5921 * gdb.perf/gmonster-pervasive-typedef.py: New file.
5922 * gdb.perf/gmonster-print-cerr.py: New file.
5923 * gdb.perf/gmonster-ptype-string.py: New file.
5924 * gdb.perf/gmonster-runto-main.py: New file.
5925 * gdb.perf/gmonster-select-file.py: New file.
5926 * gdb.perf/gmonster1-null-lookup.exp: New file.
5927 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
5928 * gdb.perf/gmonster1-print-cerr.exp: New file.
5929 * gdb.perf/gmonster1-ptype-string.exp: New file.
5930 * gdb.perf/gmonster1-runto-main.exp: New file.
5931 * gdb.perf/gmonster1-select-file.exp: New file.
5932 * gdb.perf/gmonster1.cc: New file.
5933 * gdb.perf/gmonster1.exp: New file.
5934 * gdb.perf/gmonster2-null-lookup.exp: New file.
5935 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
5936 * gdb.perf/gmonster2-print-cerr.exp: New file.
5937 * gdb.perf/gmonster2-ptype-string.exp: New file.
5938 * gdb.perf/gmonster2-runto-main.exp: New file.
5939 * gdb.perf/gmonster2-select-file.exp: New file.
5940 * gdb.perf/gmonster2.cc: New file.
5941 * gdb.perf/gmonster2.exp: New file.
5942
5943 2015-07-24 Doug Evans <dje@google.com>
5944
5945 * gdb.perf/README: New file.
5946 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
5947 * lib/gen-perf-test.exp: New file.
5948
5949 2015-07-24 Doug Evans <dje@google.com>
5950
5951 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
5952 (PerfTest::startup): New function.
5953 (PerfTest::run): Return result of calling body.
5954 (PerfTest::assemble): Rewrite.
5955 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
5956 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
5957 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
5958 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
5959 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
5960
5961 2015-07-24 Doug Evans <dje@google.com>
5962
5963 * lib/gdb.exp (clean_restart): Make executable optional.
5964
5965 2015-07-24 Doug Evans <dje@google.com>
5966
5967 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
5968 compiler_info references.
5969 * gdb.cp/temargs.exp: Ditto.
5970 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
5971 (get_compiler_info): Early exit if already computed. Set compiler_info
5972 to "unknown" if there was a problem.
5973 (test_compiler_info): Add function comment. Call get_compiler_info.
5974
5975 2015-07-24 Doug Evans <dje@google.com>
5976
5977 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5978 (workers/%.worker, build-perf): New rule.
5979 (GDB_PERFTEST_MODE): New variable.
5980 (check-perf): Use it.
5981 (clean): Clean up gdb.perf parallel build subdirs.
5982 * lib/build-piece.exp: New file.
5983 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5984 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5985 name.
5986 (standard_temp_file): Ditto.
5987 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5988 of $GDB_PARALLEL.
5989
5990 2015-07-24 Doug Evans <dje@google.com>
5991
5992 * lib/future.exp (gdb_default_target_compile): New option
5993 "early_flags".
5994 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
5995 --as-needed.
5996
5997 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
5998
5999 * gdb.base/catch-syscall.exp: Call gdb_exit before
6000 gdb_skip_xml_test.
6001
6002 2015-07-24 Pedro Alves <palves@redhat.com>
6003
6004 * gdb.python/py-events.exp: Accept output between the stop event
6005 and the prompt.
6006 * gdb.python/py-evsignal.exp: Likewise.
6007 * gdb.python/py-evthreads.exp: Likewise.
6008
6009 2015-07-24 Pedro Alves <palves@redhat.com>
6010
6011 PR gdb/18717
6012 * gdb.threads/non-ldr-exit.c: New file.
6013 * gdb.threads/non-ldr-exit.exp: New file.
6014
6015 2015-07-24 Yao Qi <yao.qi@linaro.org>
6016
6017 * gdb.server/ext-wrapper.exp: Test --wrapper option when
6018 restarting process.
6019
6020 2015-07-24 Yao Qi <yao.qi@linaro.org>
6021
6022 * gdb.server/ext-restart.exp: New file.
6023
6024 2015-07-24 Yao Qi <yao.qi@linaro.org>
6025
6026 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
6027 argument options.
6028 * gdb.server/ext-wrapper.exp: New file.
6029
6030 2015-07-23 Doug Evans <dje@google.com>
6031
6032 * gdb.dwarf2/dw2-dummy-cu.S: New file.
6033 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
6034
6035 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
6036
6037 * gdb.ada/var_arr_typedef.exp: New testcase.
6038 * gdb.ada/var_arr_typedef/pack.adb: New file.
6039 * gdb.ada/var_arr_typedef/pack.ads: New file.
6040 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
6041
6042 2015-07-20 Joel Brobecker <brobecker@adacore.com>
6043
6044 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
6045
6046 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6047
6048 * gdb.arch/i386-biarch-core.exp: Replace istarget
6049 by "complete set gnutarget". Remove expectation for the "core-file"
6050 command.
6051
6052 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6053
6054 Revert the previous commit:
6055 Tests for validate symbol file using build-id.
6056
6057 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
6058
6059 Tests for validate symbol file using build-id.
6060 * gdb.base/solib-mismatch-lib.c: New file.
6061 * gdb.base/solib-mismatch-libmod.c: New file.
6062 * gdb.base/solib-mismatch.c: New file.
6063 * gdb.base/solib-mismatch.exp: New file.
6064
6065 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
6066
6067 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
6068 nios2-*-linux*.
6069 * gdb.base/sigbpt.exp (stepi_out): Likewise.
6070 * gdb.base/siginfo.exp: Likewise.
6071 * gdb.base/sigstep.exp (advance, advancei): Likewise.
6072
6073 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
6074
6075 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
6076 Move it to ...
6077 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
6078 ... here.
6079 * gdb.trace/range-stepping.exp: Check that the target supports
6080 range stepping.
6081
6082 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6083
6084 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
6085
6086 2015-07-14 Pedro Alves <palves@redhat.com>
6087
6088 * gdb.base/killed-outside.exp: New file.
6089 * gdb.base/killed-outside.c: New file.
6090
6091 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6092
6093 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
6094 (n at main): New.
6095 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
6096
6097 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6098
6099 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
6100 infcall tests instead of setting up for KFAIL.
6101
6102 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
6103
6104 * gdb.btrace/record_goto-step.exp: New.
6105
6106 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6107
6108 PR compile/18484
6109 * gdb.compile/compile.c (struct struct_type): Add volatile to
6110 selffield's type.
6111 * gdb.compile/compile.exp
6112 (compile code struct_object.selffield = &struct_object): Skip further
6113 struct_object tests if this one xfails.
6114
6115 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
6116
6117 PR exp/18617
6118 * gdb.trace/ax.exp: Add test.
6119
6120 2015-07-07 Yao Qi <yao.qi@linaro.org>
6121
6122 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
6123 instead of istarget "aarch64*-*-*".
6124 * gdb.arch/aarch64-fp.exp: Likewise.
6125 * gdb.base/float.exp: Likewise.
6126 * gdb.reverse/aarch64.exp: Likewise.
6127 * lib/gdb.exp (is_aarch64_target): New proc.
6128
6129 2015-07-07 Yao Qi <yao.qi@linaro.org>
6130
6131 * lib/gdb.exp (is_aarch32_target): New proc.
6132 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
6133 instead of "istarget "arm*-*-*"".
6134 * gdb.arch/arm-disp-step.exp: Likewise.
6135 * gdb.arch/thumb-bx-pc.exp: Likewise.
6136 * gdb.arch/thumb-prologue.exp: Likewise.
6137 * gdb.arch/thumb-singlestep.exp: Likewise.
6138 * gdb.base/disp-step-syscall.exp: Likewise.
6139 * gdb.base/float.exp: Likewise.
6140
6141 2015-07-07 Yao Qi <yao.qi@linaro.org>
6142
6143 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
6144 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
6145
6146 2015-07-07 Yao Qi <yao.qi@linaro.org>
6147
6148 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
6149 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
6150 if it exists.
6151 * gdb.multi/multi-arch.exp: Likewise.
6152
6153 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
6154
6155 * gdb.python/py-lazy-string.exp: Add missing parentheses to
6156 print.
6157
6158 2015-07-07 Yao Qi <yao.qi@linaro.org>
6159
6160 * gdb.arch/thumb-singlestep.exp: Do one more single step.
6161
6162 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
6163
6164 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
6165 '[' and ']' characters.
6166
6167 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
6168
6169 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6170
6171 2015-06-29 Pedro Alves <palves@redhat.com>
6172
6173 PR threads/18127
6174 * gdb.threads/hand-call-new-thread.c: New file.
6175 * gdb.threads/hand-call-new-thread.c: New file.
6176
6177 2015-06-26 Keith Seitz <keiths@redhat.com>
6178 Doug Evans <dje@google.com>
6179
6180 PR 16253
6181 * gdb.cp/var-tag-2.cc: New file.
6182 * gdb.cp/var-tag-3.cc: New file.
6183 * gdb.cp/var-tag-4.cc: New file.
6184 * gdb.cp/var-tag.cc: New file.
6185 * gdb.cp/var-tag.exp: New file.
6186
6187 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6188
6189 * gdb.base/history-duplicates.exp: New test.
6190
6191 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6192
6193 * gdb.base/completion.exp: Test the completion of the "focus"
6194 command.
6195
6196 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6197
6198 * gdb.arch/amd64-prologue-skip.S: New file.
6199 * gdb.arch/amd64-prologue-skip.exp: New file.
6200
6201 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
6202
6203 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
6204 is_address_zero_readable check.
6205
6206 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
6207
6208 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
6209 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
6210
6211 2015-06-24 Yao Qi <yao.qi@linaro.org>
6212
6213 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
6214 linux targets.
6215
6216 2015-06-24 Yao Qi <yao.qi@linaro.org>
6217
6218 * lib/gdb.exp (supports_get_siginfo_type): New proc.
6219 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
6220 * gdb.base/siginfo-thread.exp: Likewise.
6221
6222 2015-06-22 Yao Qi <yao.qi@linaro.org>
6223
6224 * boards/remote-gdbserver-on-localhost.exp: Add comments.
6225
6226 2015-06-22 Yao Qi <yao.qi@linaro.org>
6227
6228 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
6229 aarch64*-*-*.
6230 (skip_hw_watchpoint_tests): Likewise.
6231
6232 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
6233
6234 * gdb.base/gdbinit-history.exp: Test the interaction between
6235 setting GDBHISTSIZE and setting the history size via .gdbinit.
6236
6237 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6238
6239 PR gdb/16999
6240 * gdb.base/gdbhistsize-history.exp: New test.
6241
6242 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6243
6244 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
6245 with GDBHISTSIZE.
6246 * gdb.base/readline.exp: Likewise.
6247
6248 2015-06-17 Yao Qi <yao.qi@linaro.org>
6249
6250 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
6251 line.
6252
6253 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6254
6255 * gdb.base/gdbinit-history.exp: Add test case to check that
6256 an unlimited history file does not get truncated on exit.
6257
6258 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6259
6260 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
6261 (VECTOR): New macro. Use it...
6262 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6263 ...for these typedefs.
6264 (int8, char1, int1, double1): New typedefs.
6265 (struct just_int2, struct two_int2): New structures.
6266 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
6267 (add_structvecs, add_singlevecs): New functions.
6268 (main): Call add_some_intvecs twice.
6269 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
6270 the compile and exit upon failure. Try compiling for the "native"
6271 architecture. Test inferior function calls with vector arguments
6272 and vector return value handling with "finish" and "return".
6273
6274 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
6275
6276 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
6277 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
6278 PE file.
6279 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
6280
6281 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6282
6283 PR breakpoints/16465
6284 * gdb.mi/mi-dprintf-pending.c: New file.
6285 * gdb.mi/mi-dprintf-pending.exp: New test.
6286 * gdb.mi/mi-dprintf-pendshr.c: New file.
6287
6288 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6289 Mircea Gherzan <mircea.gherzan@intel.com>
6290
6291 * gdb.arch/i386-mpx-map.c: New file.
6292 * gdb.arch/i386-mpx-map.exp: New File.
6293
6294 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6295
6296 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
6297 * gdb.arch/i386-mpx.exp: Indentation fixed.
6298
6299 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6300
6301 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
6302 function and improved indentation.
6303 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
6304 gdb_test_multiple. Added additional tests to skip the test.
6305
6306 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6307
6308 * gdb.arch/i386-avx512.c: Change path in include file.
6309 * gdb.arch/i386-avx512.exp: Change include dir path
6310 compilation flag.
6311 * gdb.arch/i386-mpx.c: Change path in include file.
6312 * gdb.arch/i386-mpx.exp: Change include dir path compilation
6313 flag.
6314
6315 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6316
6317 * gdb.compile/compile-print.exp (compile print *vararray@3)
6318 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
6319
6320 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6321
6322 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
6323 (do not keep jit in memory): ... this.
6324 (expect 5): Change it to ...
6325 (expect no 5): ... this.
6326
6327 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
6328
6329 PR gdb/15564
6330 * gdb.mi/mi-detach.exp: New file.
6331
6332 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6333
6334 PR symtab/18392
6335 * gdb.arch/amd64-tailcall-self.S: New file.
6336 * gdb.arch/amd64-tailcall-self.c: New file.
6337 * gdb.arch/amd64-tailcall-self.exp: New file.
6338
6339 2015-05-28 Don Breazeal <donb@codesourcery.com>
6340
6341 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6342 tests for remote targets by checking is_target_gdbserver.
6343
6344 2015-05-27 Doug Evans <dje@google.com>
6345
6346 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6347 * gdb.dwarf2/opaque-type-lookup.c: New file.
6348 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6349
6350 2015-05-26 Doug Evans <dje@google.com>
6351
6352 * gdb.cp/iostream.cc: New file.
6353 * gdb.cp/iostream.exp: New file.
6354
6355 2015-05-26 Doug Evans <dje@google.com>
6356
6357 * gdb.dwarf2/dw2-op-call.exp: Update.
6358 * gdb.dwarf2/dw4-sig-types.exp: Update.
6359 * gdb.dwarf2/implptr.exp: Update.
6360 * gdb.mi/mi-cmd-param-changed.exp: Update.
6361
6362 2015-05-26 Doug Evans <dje@google.com>
6363
6364 * gdb.python/py-lazy-string.c: New file.
6365 * gdb.python/py-lazy-string.exp: New file.
6366 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6367 (main): Update. Add estring3.
6368 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6369 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6370
6371 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6372 Yao Qi <yao.qi@linaro.org>
6373
6374 * gdb.reverse/aarch64.c: New.
6375 * gdb.reverse/aarch64.exp: New.
6376
6377 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6378
6379 * lib/gdb.exp (supports_process_record): Return true for
6380 aarch64*-linux*.
6381 (supports_reverse): Likewise.
6382
6383 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6384
6385 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6386 Use with_test_prefix.
6387
6388 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6389
6390 * gdb.base/completion.exp: Add test for completion of layout
6391 names.
6392
6393 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6394
6395 * lib/gdb.exp (skip_tui_tests): New proc.
6396 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6397
6398 2015-05-19 Pedro Alves <palves@redhat.com>
6399
6400 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6401 Save the whole env array instead of just HOME. Unset HISTSIZE in
6402 the environment while testing. Restore whole environment
6403 afterwards.
6404
6405 2015-05-16 Doug Evans <xdje42@gmail.com>
6406
6407 * gdb.guile/scm-ports.c: New file.
6408 * gdb.guile/scm-ports.exp: Add memory port tests.
6409
6410 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6411
6412 * gdb.compile/compile-print.c: New file.
6413 * gdb.compile/compile-print.exp: New file.
6414
6415 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6416
6417 * gdb.compile/compile-ops.exp: Cast param to void.
6418 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6419 (compile code struct_object.selffield = &struct_object): Add xfail.
6420
6421 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6422
6423 * gdb.ada/arr_enum_with_gap: New testcase.
6424
6425 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6426
6427 * gdb.ada/byte_packed_arr: New testcase.
6428
6429 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6430
6431 * gdb.ada/pckd_neg: New testcase.
6432
6433 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
6434
6435 PR gdb/17820
6436 * gdb.base/gdbinit-history.exp: New test.
6437 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
6438 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
6439
6440 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
6441
6442 * gdb.python/py-xmethods.cc: Enhance test case.
6443 * gdb.python/py-xmethods.exp: New tests.
6444 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
6445 function.
6446 (B_indexoper): Likewise.
6447 (global_dm_list) : Add new xmethod worker functions.
6448
6449 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
6450
6451 * gdb.base/coredump-filter.exp: Correctly unset
6452 "coredump_var_addr" array.
6453
6454 2015-05-08 Pedro Alves <palves@redhat.com>
6455
6456 * gdb.server/non-existing-program.exp: Unset spawn_id.
6457
6458 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
6459
6460 PR python/18291
6461 * gdb.python/py-xmethods.exp: Add tests.
6462
6463 2015-05-08 Yao Qi <yao.qi@linaro.org>
6464
6465 PR gdb/18208
6466 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
6467 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
6468 function set_coredump_filter, and remove remote_exec call.
6469 Remove argument ipid. Callers update.
6470 (top level): Don't get inferior's PID.
6471
6472 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
6473
6474 * gdb.base/watch_thread_num.exp: Skip test on targets without
6475 access watchpoints.
6476
6477 2015-05-06 Pedro Alves <palves@redhat.com>
6478
6479 PR server/18081
6480 * gdb.server/non-existing-program.exp: New file.
6481
6482 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6483
6484 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
6485
6486 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6487
6488 * gdb.ada/out_of_line_in_inlined: New testcase.
6489
6490 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6491
6492 * gdb.ada/var_rec_arr: New testcase.
6493
6494 2015-04-30 Yao Qi <yao.qi@linaro.org>
6495
6496 * gdb.base/break-idempotent.exp: If
6497 skip_hw_watchpoint_multi_tests returns true, skip the tests
6498 on "rwatch" and "awatch".
6499
6500 2015-04-30 Yao Qi <yao.qi@linaro.org>
6501
6502 * gdb.base/relativedebug.exp: Invoke gdb command
6503 "info sharedlibrary", and if libc.so doesn't have debug info,
6504 skip the test.
6505
6506 2015-04-29 Doug Evans <dje@google.com>
6507
6508 * gdb.python/py-xmethods.exp: Add ptype tests.
6509 * gdb.python/py-xmethods.py (E_method_char_worker): Add
6510 get_result_type method.
6511
6512 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6513
6514 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
6515 the target does not support hardware watchpoints.
6516
6517 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6518
6519 * gdb.base/break-always.exp: Abort testing if writing to memory
6520 causes an error.
6521
6522 2015-04-28 Doug Evans <dje@google.com>
6523
6524 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
6525 * gdb.python/py-pp-registration.exp: ... here. New file.
6526 * gdb.python/py-pp-registration.c: New file.
6527 * gdb.python/py-pp-registration.py: New file.
6528
6529 2015-04-28 Doug Evans <dje@google.com>
6530
6531 * gdb.python/py-bad-printers.c: New file.
6532 * gdb.python/py-bad-printers.py: New file.
6533 * gdb.python/py-bad-printers.exp: New file.
6534
6535 2015-04-28 Sasha Smundak <asmundak@google.com>
6536
6537 * gdb.python/py-type.exp: New test.
6538
6539 2015-04-28 Andy Wingo <wingo@igalia.com>
6540
6541 * gdb.python/py-parameter.exp:
6542 * gdb.guile/scm-parameter.exp: Escape the path that we are
6543 matching against, as it might contain characters that are special
6544 to regular expressions.
6545
6546 2015-04-27 Joel Brobecker <brobecker@adacore.com>
6547
6548 * gdb.ada/rec_comp: New testcase.
6549
6550 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
6551
6552 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
6553 before using it.
6554
6555 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
6556
6557 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
6558 new tests for verilog output.
6559
6560 2015-04-24 Yao Qi <yao.qi@linaro.org>
6561
6562 * boards/remote-gdbserver-on-localhost.exp: New file.
6563
6564 2015-04-23 Pedro Alves <palves@redhat.com>
6565
6566 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
6567 $inferior_spawn_id instead of $inferior_spawn_id directly. On
6568 "end of file", remove $inferior_spawn_id from the indirect list.
6569
6570 2015-04-23 Pedro Alves <palves@redhat.com>
6571
6572 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
6573
6574 2015-04-23 Pedro Alves <palves@redhat.com>
6575
6576 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
6577 on $any_spawn_id instead of only on $gdb_spawn_id.
6578
6579 2015-04-21 Pierre Muller <muller@sourceware.org>
6580
6581 PR pascal/17815
6582 * lib/pascal.exp (gpc_compile): Add new option "class".
6583 (fpc_compile): Likewise.
6584 * gdb.pascal/case-insensitive-symbols.pas: New file.
6585 * gdb.pascal/case-insensitive-symbols.exp: New file.
6586
6587 2015-04-20 Gary Benson <gbenson@redhat.com>
6588
6589 * gdb.base/attach.exp: Fix three extended remote failures.
6590
6591 2015-04-17 Gary Benson <gbenson@redhat.com>
6592
6593 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
6594 the main executable over the remote protocol.
6595
6596 2015-04-16 Pedro Alves <palves@redhat.com>
6597
6598 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
6599 a new gdbserver if gdbserver_reconnect_p is set.
6600
6601 2015-04-16 Pedro Alves <palves@redhat.com>
6602
6603 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
6604 is set, don't exit gdbserver.
6605
6606 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6607
6608 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
6609 appropriate .insn, such that an older assembler can be used.
6610 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
6611 the z/Architecture instruction set on 31-bit targets as well.
6612
6613 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6614
6615 * gdb.go/handcall.exp: Remove all logic related to the first
6616 breakpoint and rely on go_runto_main instead.
6617 * gdb.go/strings.exp: Likewise.
6618 * gdb.go/unsafe.exp: Likewise.
6619 * gdb.go/hello.exp: Likewise. Also rename the remaining
6620 breakpoint marker to "breakpoint 1".
6621 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
6622 * gdb.go/strings.go: Likewise.
6623 * gdb.go/unsafe.go: Likewise.
6624 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
6625 "set breakpoint 2 here" and rename the remaining breakpoint marker
6626 to "breakpoint 1".
6627
6628 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
6629
6630 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
6631 if itertools.imap is not present.
6632 * gdb.python/py-objfile.exp: Add parentheses.
6633 * gdb.python/py-type.exp: Same.
6634 * gdb.python/py-unwind-maint.py: Same.
6635
6636 2015-04-15 Yao Qi <yao.qi@linaro.org>
6637
6638 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
6639 of ":$ptr_size" and set its form explicitly.
6640
6641 2015-04-15 Pedro Alves <palves@redhat.com>
6642 Yao Qi <yao.qi@linaro.org>
6643
6644 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
6645 timeout by factor of 4.
6646 (test_regular_watch): Likewise.
6647 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
6648 * gdb.reverse/sigall-reverse.exp: Likewise.
6649 * gdb.reverse/until-precsave.exp: Likewise.
6650 * lib/gdb.exp (with_timeout_factor): New proc.
6651 (gdb_expect): Move some code to ...
6652 (get_largest_timeout): ... here. New procedure.
6653
6654 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
6655
6656 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
6657
6658 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6659
6660 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
6661 to write to the .text section.
6662
6663 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6664
6665 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
6666 Handle the case of targets that do not provide PID information.
6667
6668 2015-04-13 Yao Qi <yao.qi@linaro.org>
6669
6670 * lib/gdbserver-support.exp (gdb_exit): Catch exception
6671 and use expect instead of gdb_expect.
6672
6673 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
6674
6675 * gdb.base/coredump-filter.exp: Rename variable "addr" to
6676 "coredump_var_addr" to avoid naming conflict with other testcases.
6677
6678 2015-04-10 Pedro Alves <palves@redhat.com>
6679
6680 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
6681 gdb_test_sequence and gdb_assert.
6682
6683 2015-04-10 Pedro Alves <palves@redhat.com>
6684
6685 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
6686 test messages that don't include the breakpoint address.
6687
6688 2015-04-10 Yao Qi <yao.qi@linaro.org>
6689
6690 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
6691 false for some offset and width combinations which aren't
6692 supported by linux kernel.
6693
6694 2015-04-10 Pedro Alves <palves@redhat.com>
6695
6696 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
6697 procedure, factored out from ...
6698 (top level): ... here. Add "set displaced-stepping" testing axis.
6699 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
6700 parameter "displaced". Use it.
6701 (top level): Use foreach and add "set displaced-stepping" testing
6702 axis.
6703
6704 2015-04-10 Pedro Alves <palves@redhat.com>
6705
6706 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
6707 Remove comment.
6708 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
6709 both the address of the instruction that triggers the watchpoint
6710 and the address of the instruction immediately after, and use
6711 those addresses for the test. Fix comment.
6712
6713 2015-04-10 Pedro Alves <palves@redhat.com>
6714
6715 * gdb.base/sigstep.exp (breakpoint_to_handler)
6716 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
6717 Test "backtrace" in handler.
6718 (breakpoint_over_handler): New parameter 'displaced'. Use it.
6719 (top level): Add new "displaced" test axis to
6720 breakpoint_to_handler, breakpoint_to_handler_entry and
6721 breakpoint_over_handler.
6722
6723 2015-04-10 Pedro Alves <palves@redhat.com>
6724
6725 PR gdb/18216
6726 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
6727
6728 2015-04-10 Yao Qi <yao.qi@linaro.org>
6729
6730 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
6731 (test_add_rn_pc): New function.
6732 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
6733 (top level): Invoke test_add_rn_pc.
6734
6735 2015-04-10 Pedro Alves <palves@redhat.com>
6736
6737 PR gdb/13858
6738 * gdb.base/step-over-no-symbols.exp: New file.
6739
6740 2015-04-09 Andy Wingo <wingo@igalia.com>
6741
6742 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
6743 after the Python tests.
6744
6745 2015-04-08 Keith Seitz <keiths@redhat.com>
6746
6747 PR python/16699
6748 * gdb.python/py-completion.exp: New tests for completion.
6749 * gdb.python/py-completion.py (CompleteLimit1): New class.
6750 (CompleteLimit2): Likewise.
6751 (CompleteLimit3): Likewise.
6752 (CompleteLimit4): Likewise.
6753 (CompleteLimit5): Likewise.
6754 (CompleteLimit6): Likewise.
6755 (CompleteLimit7): Likewise.
6756
6757 2015-04-08 Pedro Alves <palves@redhat.com>
6758
6759 PR gdb/18214
6760 PR gdb/18216
6761 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
6762 function.
6763 (main): Install it as SIGUSR1 handler.
6764 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
6765 parameter. Always use "setup" as prefix. Toggle "set
6766 displaced-stepping" off/on depending on global. Don't switch to
6767 thread 1 here.
6768 (top level): Add displaced stepping "off/on" test axis. Update
6769 "setup" calls. Wrap each subtest with with_test_prefix. Test
6770 continuing with a queued signal in each thread.
6771
6772 2015-04-08 Pedro Alves <palves@redhat.com>
6773
6774 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
6775 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
6776 gdb_breakpoint instead of gdb_test that doesn't expect anything.
6777 Return early if running to main fails.
6778 * gdb.trace/while-stepping.exp: Likewise.
6779
6780 2015-04-07 Pedro Alves <palves@redhat.com>
6781
6782 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
6783 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
6784 interact with inferior program.
6785
6786 2015-04-07 Pedro Alves <palves@redhat.com>
6787
6788 * lib/gdb.exp (inferior_spawn_id): New global.
6789 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
6790 spawn id after processing the user code.
6791 (default_gdb_start): Set inferior_spawn_id.
6792 (send_inferior): New procedure.
6793 * lib/gdbserver-support.exp (gdbserver_start): Set
6794 inferior_spawn_id.
6795 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
6796
6797 2015-04-07 Pedro Alves <palves@redhat.com>
6798
6799 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
6800 * lib/gdbserver-support.exp (gdbserver_start): Make
6801 $server_spawn_id global.
6802 (gdbserver_start): Don't wait for gdbserver's spawn id with
6803 expect_background.
6804 (close_gdbserver): New procedure.
6805 (gdb_exit): Rename the default version and reimplement.
6806
6807 2015-04-07 Pedro Alves <palves@redhat.com>
6808
6809 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
6810 append the substituted item, not the original item.
6811
6812 2015-04-07 Pedro Alves <palves@redhat.com>
6813
6814 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
6815 gdb_expect.
6816
6817 2015-04-07 Pedro Alves <palves@redhat.com>
6818
6819 * gdb.base/interrupt.exp: Don't handle the case of the inferior
6820 output appearing once only.
6821
6822 2015-04-07 Pedro Alves <palves@redhat.com>
6823
6824 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
6825 that doesn't expect anything. Return early if running to main
6826 fails.
6827
6828 2015-04-07 Yao Qi <yao.qi@linaro.org>
6829
6830 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
6831 (child_function): Call alarm.
6832 (main): Move call to alarm into the loop.
6833 * gdb.threads/non-stop-fair-events.exp: Build program with
6834 -DTIMEOUT=$timeout.
6835
6836 2015-04-06 Doug Evans <xdje42@gmail.com>
6837
6838 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
6839 Fix dest parameter to board_info.
6840 (fpc_compile): Ditto.
6841 (gdb_compile_pascal): Rename dest arg to destfile.
6842
6843 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
6844
6845 * gdb.ada/funcall_ref.exp: New file.
6846 * gdb.ada/funcall_ref/foo.adb: New file.
6847
6848 2015-04-02 Yao Qi <yao.qi@linaro.org>
6849
6850 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
6851 is remote.
6852
6853 2015-04-02 Gary Benson <gbenson@redhat.com>
6854
6855 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
6856
6857 2015-04-01 Sasha Smundak <asmundak@google.com>
6858
6859 * gdb.python/py-unwind-maint.c: New file.
6860 * gdb.python/py-unwind-maint.exp: New test.
6861 * gdb.python/py-unwind-maint.py: New file.
6862 * gdb.python/py-unwind.c: New file.
6863 * gdb.python/py-unwind.exp: New test.
6864 * gdb.python/py-unwind.py: New test.
6865
6866 2015-04-01 Pedro Alves <palves@redhat.com>
6867
6868 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
6869 to fail instead of non-existent $test.
6870
6871 2015-04-01 Pedro Alves <palves@redhat.com>
6872
6873 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
6874 GDBFLAGS if not empty.
6875
6876 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
6877
6878 * gdb.ada/complete.exp: Remove "multi_line".
6879 * gdb.ada/info_exc.exp: Remove "multi_line".
6880 * gdb.ada/packed_tagged.exp: Remove "multi_line".
6881 * gdb.ada/ptype_field.exp: Remove "multi_line".
6882 * gdb.ada/sym_print_name.exp: Remove "multi_line".
6883 * gdb.ada/tagged.exp: Remove "multi_line".
6884 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
6885 [multi_line ...]
6886 * gdb.btrace/delta.exp: Likewise.
6887 * gdb.btrace/exception.exp: Likewise.
6888 * gdb.btrace/function_call_history.exp: Likewise.
6889 * gdb.btrace/instruction_history.exp: Likewise.
6890 * gdb.btrace/nohist.exp: Likewise.
6891 * gdb.btrace/record_goto.exp: Likewise.
6892 * gdb.btrace/segv.exp: Likewise.
6893 * gdb.btrace/stepi.exp: Likewise.
6894 * gdb.btrace/tailcall.exp: Likewise.
6895 * gdb.btrace/unknown_functions.exp: Likewise.
6896 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
6897 * lib/gdb.exp: Add the "multi_line" helper.
6898
6899 2015-04-01 Pedro Alves <palves@redhat.com>
6900
6901 * gdb.threads/tid-reuse.c: New file.
6902 * gdb.threads/tid-reuse.exp: New file.
6903
6904 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
6905
6906 PR corefiles/16092
6907 * gdb.base/coredump-filter.c: New file.
6908 * gdb.base/coredump-filter.exp: Likewise.
6909
6910 2015-03-27 Petr Machata <pmachata@redhat.com>
6911
6912 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
6913 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
6914 (Dwarf::assemble): Initialize them.
6915 (Dwarf::lines): New function.
6916
6917 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
6918
6919 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
6920 SYMBOL_PREFIX for x86_64-*-cygwin.
6921
6922 2015-03-26 Andy Wingo <wingo@igalia.com>
6923
6924 PR symtab/18148
6925 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
6926 const_value but not a location.
6927 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
6928 location defined in non-main CUs are visible.
6929
6930 2015-03-26 Yao Qi <yao.qi@linaro.org>
6931
6932 PR testsuite/18139
6933 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
6934 Add a line number entry for the same line.
6935 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
6936 Add a line number entry for the same line.
6937
6938 2015-03-26 Yao Qi <yao.qi@linaro.org>
6939
6940 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
6941 .int 0.
6942 (func): Likewise. Add .Lfunc_1 label.
6943 Use .Lfunc_1 label.
6944 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
6945 .int 0.
6946 (func): Likewise.
6947 Use .Lfunc_1 label.
6948
6949 2015-03-26 Yao Qi <yao.qi@linaro.org>
6950
6951 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
6952 Call gdb_compile instead to compile each .s files without debug
6953 information.
6954
6955 2015-03-26 Yao Qi <yao.qi@linaro.org>
6956
6957 * gdb.base/savedregs.exp (process_saved_regs): Make
6958 "Saved registers:" optional in the pattern.
6959
6960 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6961
6962 * gdb.btrace/next.exp: Merged into step.exp.
6963 * gdb.btrace/finish.exp: Merged into step.exp.
6964 * gdb.btrace/nexti.exp: Merged into stepi.exp.
6965 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
6966 "record goto" and checking the exact replay position.
6967 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
6968 check for "Recording format" in "info record" output.
6969 * gdb.btrace/record_goto.exp: Choose test file based on target.
6970 * gdb.btrace/x86-record_goto.S: Renamed into ...
6971 * gdb.btrace/x86_64-record_goto.S: ... this.
6972 * gdb.btrace/i686-record_goto.S: New.
6973 * gdb.btrace/x86-tailcall.S: Renamed into ...
6974 * gdb.btrace/x86_64-tailcall.S: ... this.
6975 * gdb.btrace/i686-tailcall.S: New.
6976 * gdb.btrace/x86-tailcall.c: Renamed into ...
6977 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
6978 separate statements. Update test.
6979 * gdb.btrace/delta.exp: Use record_goto.c as test file.
6980 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
6981 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
6982 * gdb.btrace/tailcall.exp: Choose test file based on target.
6983 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
6984
6985 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
6986
6987 * gdb.btrace/exception.exp: Increase BTS buffer size.
6988
6989 2015-03-24 Pedro Alves <palves@redhat.com>
6990
6991 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
6992
6993 2015-03-24 Pedro Alves <palves@redhat.com>
6994
6995 * gdb.threads/schedlock.exp (test_step): No longer expect that
6996 "set scheduler-locking step" with "next" over a function call runs
6997 threads unlocked.
6998
6999 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7000
7001 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
7002
7003 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7004
7005 PR breakpoints/16466
7006 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
7007 * gdb.mi/mi-pending.c (thread_func): New function.
7008 (int main): Add threading support required.
7009 * gdb.mi/mi-pending.exp: Add tests for this issue.
7010 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
7011 (pendfunc2): Remove stdio dependency.
7012 * gdb.mi/mi-pendshr2.c: New file.
7013
7014 2015-03-23 Keith Seitz <keiths@redhat.com>
7015
7016 * gdb.linespec/keywords.c: New file.
7017 * gdb.linespec/keywords.exp: New file.
7018
7019 2015-03-23 Keith Seitz <keiths@redhat.com>
7020
7021 PR gdb/18021
7022 * gdb.dwarf2/staticvirtual.exp: New test.
7023
7024 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7025
7026 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
7027 * README: Remove HP-UX and gdb.hp.
7028 (configuration):
7029 * configure: Regenerate.
7030 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
7031 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
7032 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
7033 gdb.hp/gdb.defects/Makefile.
7034 * gdb.hp/Makefile.in: File deleted.
7035 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
7036 * gdb.hp/gdb.aCC/optimize.c: File deleted.
7037 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
7038 * gdb.hp/gdb.aCC/run.c: File deleted.
7039 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
7040 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
7041 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
7042 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
7043 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
7044 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
7045 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
7046 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
7047 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
7048 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
7049 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
7050 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
7051 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
7052 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
7053 * gdb.hp/gdb.base-hp/reg.s: File deleted.
7054 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
7055 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
7056 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
7057 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
7058 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
7059 * gdb.hp/gdb.compat/Makefile.in: File deleted.
7060 * gdb.hp/gdb.compat/average.c: File deleted.
7061 * gdb.hp/gdb.compat/sum.c: File deleted.
7062 * gdb.hp/gdb.compat/xdb.c: File deleted.
7063 * gdb.hp/gdb.compat/xdb0.c: File deleted.
7064 * gdb.hp/gdb.compat/xdb0.h: File deleted.
7065 * gdb.hp/gdb.compat/xdb1.c: File deleted.
7066 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
7067 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
7068 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
7069 * gdb.hp/gdb.defects/Makefile.in: File deleted.
7070 * gdb.hp/gdb.defects/bs14602.c: File deleted.
7071 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
7072 * gdb.hp/gdb.defects/solib-d.c: File deleted.
7073 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
7074 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
7075 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
7076 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
7077 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
7078 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
7079 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
7080 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
7081 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
7082 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
7083 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
7084 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
7085 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
7086 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
7087 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
7088 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
7089 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
7090 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
7091 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
7092 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
7093 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
7094 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
7095 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
7096 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
7097 * gdb.hp/tools/odump: File deleted.
7098
7099 2015-03-19 Pedro Alves <palves@redhat.com>
7100
7101 * gdb.threads/continue-pending-status.exp (saw_thread_2)
7102 (saw_thread_3): New globals.
7103 (top level): Increment them when an event for the corresponding
7104 thread is seen.
7105 (no thread starvation): New test.
7106
7107 2015-03-19 Pedro Alves <palves@redhat.com>
7108
7109 * gdb.threads/continue-pending-status.c: New file.
7110 * gdb.threads/continue-pending-status.exp: New file.
7111
7112 2015-03-18 Pedro Alves <palves@redhat.com>
7113
7114 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7115 Use gdb_is_target_remote instead of is_remote. Use
7116 gdb_test_multiple instead of gdb_expect. Exit early if
7117 gdb_test_multiple hits its internal matches. Tighten stepi tests
7118 expected output. Fail on exit with any signal, instead of just
7119 SIGILL.
7120
7121 2015-03-18 Yao Qi <yao.qi@linaro.org>
7122
7123 PR tdep/18107
7124 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
7125 variable.
7126 * gdb.base/catch-syscall.exp: Don't skip it on
7127 aarch64*-*-linux* target. Remove elements in all_syscalls.
7128 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
7129 target.
7130 (setup_all_syscalls): New proc.
7131
7132 2015-03-16 Yao Qi <yao.qi@linaro.org>
7133
7134 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
7135 (top level): Skip tests if valid_addr_p returns false for
7136 $cmd1 or $cmd2.
7137
7138 2015-03-11 Andy Wingo <wingo@igalia.com>
7139
7140 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
7141
7142 2015-03-11 Yao Qi <yao.qi@linaro.org>
7143
7144 * gdb.base/catch-syscall.exp: Fix typo in comments.
7145
7146 2015-03-11 Yao Qi <yao.qi@linaro.org>
7147
7148 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
7149
7150 2015-03-09 Pedro Alves <palves@redhat.com>
7151
7152 * dg-extract-results.py: Delete.
7153
7154 2015-03-09 Pedro Alves <palves@redhat.com>
7155
7156 Merge dg-extract-results.sh from GCC upstream (r218843).
7157
7158 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
7159 * dg-extract-results.sh: Use --text with grep to avoid issues with
7160 binary files. Fall back to cat -v, if that doesn't work.
7161
7162 2015-03-05 Pedro Alves <palves@redhat.com>
7163
7164 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
7165
7166 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
7167
7168 * lib/mi-support.exp (mi_expect_interrupt): Accept
7169 alternative event for when in all-stop mode.
7170
7171 2015-03-04 Pedro Alves <palves@redhat.com>
7172
7173 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
7174
7175 2015-03-04 Mark Kettenis <kettenis@gnu.org>
7176
7177 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
7178
7179 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7180
7181 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
7182 regexps for GDB's current line display, accept a hex address
7183 preceding the line number.
7184
7185 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7186
7187 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
7188 the 'arch1' variable for "s390*-linux*" targets.
7189
7190 2015-03-04 Pedro Alves <palves@redhat.com>
7191
7192 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
7193 (main): Pass missing retval argument to pthread_join call.
7194
7195 2015-03-02 Pedro Alves <palves@redhat.com>
7196
7197 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
7198 (top level): Call do_test with non-stop as well.
7199
7200 2015-03-02 Pedro Alves <palves@redhat.com>
7201
7202 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
7203 -1.
7204
7205 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7206
7207 * gdb.arch/s390-vregs.exp: New test.
7208 * gdb.arch/s390-vregs.S: New file.
7209
7210 2015-02-27 Pedro Alves <palves@redhat.com>
7211
7212 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
7213 call to catch_command_errors.
7214 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
7215 catch_command_errors.
7216
7217 2015-02-27 Pedro Alves <palves@redhat.com>
7218
7219 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
7220 "true" for boolean result.
7221 * gdb.gdb/selftest.exp (test_with_self): Also accept full
7222 prototype of main.
7223
7224 2015-02-27 Pedro Alves <palves@redhat.com>
7225
7226 * lib/unbuffer_output.c: New file.
7227 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
7228 (main): Call gdb_unbuffer_output.
7229
7230 2015-02-27 Yao Qi <yao.qi@linaro.org>
7231
7232 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
7233 target.
7234
7235 2015-02-26 Doug Evans <dje@google.com>
7236
7237 * gdb.cp/class2.cc (Dbase, D): New classes.
7238 (main): New local delta.
7239 * gdb.cp/class2.exp: Test printing delta.
7240 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
7241 (dynbar): New global.
7242 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
7243
7244 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7245
7246 * gdb.compile/compile-ifunc.c: New file.
7247 * gdb.compile/compile-ifunc.exp: New file.
7248
7249 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
7250
7251 * gdb.base/structs.exp: Check for correct struct on finish.
7252
7253 2015-02-26 Yao Qi <yao.qi@linaro.org>
7254
7255 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
7256 is zero.
7257
7258 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7259
7260 * gdb.arch/cordic.ko.bz2: New file.
7261 * gdb.arch/cordic.ko.debug.bz2: New file.
7262 * gdb.arch/ppc64-symtab-cordic.exp: New file.
7263
7264 2015-02-25 Yao Qi <yao.qi@linaro.org>
7265
7266 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
7267 aarch64*-*-* target.
7268
7269 2015-02-23 Pedro Alves <palves@redhat.com>
7270
7271 * lib/gdb.exp (delete_breakpoints): Rewrite using
7272 gdb_test_multiple.
7273
7274 2015-02-23 Pedro Alves <palves@redhat.com>
7275
7276 * gdb.base/info-os.c: Include stdlib.h.
7277
7278 2015-02-22 Doug Evans <xdje42@gmail.com>
7279
7280 PR symtab/17855
7281 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
7282 is read after symbols have been re-read.
7283 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
7284 * gdb.ada/exec_changed/second.adb (Second): Ditto.
7285
7286 2015-02-21 Doug Evans <dje@google.com>
7287
7288 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
7289
7290 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7291
7292 PR corefiles/17808
7293 * gdb.arch/i386-biarch-core.core.bz2: New file.
7294 * gdb.arch/i386-biarch-core.exp: New file.
7295
7296 2015-02-21 Pedro Alves <palves@redhat.com>
7297
7298 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
7299 runto_main fails.
7300
7301 2015-02-20 Pedro Alves <palves@redhat.com>
7302
7303 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
7304 info probes.
7305
7306 2015-02-20 Pedro Alves <palves@redhat.com>
7307
7308 * gdb.threads/multi-create-ns-info-thr.exp: New file.
7309
7310 2015-02-20 Pedro Alves <palves@redhat.com>
7311
7312 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
7313 clean_restart before gdb_target_supports_trace.
7314
7315 2015-02-20 Pedro Alves <palves@redhat.com>
7316
7317 PR threads/18006
7318 * gdb.threads/clone-thread_db.c: New file.
7319 * gdb.threads/clone-thread_db.exp: New file.
7320
7321 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
7322
7323 PR breakpoints/16812
7324 * gdb.base/catch-gdb-caused-signals.c: New file.
7325 * gdb.base/catch-gdb-caused-signals.exp: New file.
7326
7327 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
7328
7329 * configure: Regenerated.
7330 * configure.ac: Use GDB_AC_TRANSFORM.
7331 * aclocal.m4: sinclude ../transform.m4.
7332
7333 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7334
7335 * lib/dtrace.exp: New file.
7336 * gdb.base/dtrace-probe.exp: Likewise.
7337 * gdb.base/dtrace-probe.d: Likewise.
7338 * gdb.base/dtrace-probe.c: Likewise.
7339 * lib/pdtrace.in: Likewise.
7340 * configure.ac: Output variables with the transformed names of
7341 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7342 * configure: Regenerated.
7343
7344 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7345
7346 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7347 expected message when trying to access $_probe_* convenience
7348 variables while not on a probe.
7349
7350 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7351
7352 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7353
7354 2015-02-11 Pedro Alves <pedro@codesourcery.com>
7355
7356 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7357 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7358
7359 2015-02-10 Doug Evans <xdje42@gmail.com>
7360
7361 * lib/gdb.exp (gdb_load): Always return a result.
7362
7363 2015-02-10 Pedro Alves <palves@redhat.com>
7364
7365 * gdb.threads/signal-sigtrap.c: New file.
7366 * gdb.threads/signal-sigtrap.exp: New file.
7367
7368 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7369
7370 * gdb.trace/no-attach-trace.c: New file.
7371 * gdb.trace/no-attach-trace.exp: New file.
7372
7373 2015-02-09 Mark Wielaard <mjw@redhat.com>
7374
7375 * gdb.dwarf2/atomic.c: New file.
7376 * gdb.dwarf2/atomic-type.exp: Likewise.
7377
7378 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7379
7380 * gdb.btrace/buffer-size.exp: Update "info record" output.
7381 * gdb.btrace/delta.exp: Update "info record" output.
7382 * gdb.btrace/enable.exp: Update "info record" output.
7383 * gdb.btrace/finish.exp: Update "info record" output.
7384 * gdb.btrace/instruction_history.exp: Update "info record" output.
7385 * gdb.btrace/next.exp: Update "info record" output.
7386 * gdb.btrace/nexti.exp: Update "info record" output.
7387 * gdb.btrace/step.exp: Update "info record" output.
7388 * gdb.btrace/stepi.exp: Update "info record" output.
7389 * gdb.btrace/nohist.exp: Update "info record" output.
7390
7391 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7392
7393 * gdb.btrace/buffer-size: New.
7394
7395 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7396
7397 * gdb.btrace/delta.exp: Update "info record" output.
7398 * gdb.btrace/enable.exp: Update "info record" output.
7399 * gdb.btrace/finish.exp: Update "info record" output.
7400 * gdb.btrace/instruction_history.exp: Update "info record" output.
7401 * gdb.btrace/next.exp: Update "info record" output.
7402 * gdb.btrace/nexti.exp: Update "info record" output.
7403 * gdb.btrace/step.exp: Update "info record" output.
7404 * gdb.btrace/stepi.exp: Update "info record" output.
7405 * gdb.btrace/nohist.exp: Update "info record" output.
7406
7407 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7408
7409 PR gdb/15678
7410 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7411
7412 2015-02-06 Pedro Alves <palves@redhat.com>
7413
7414 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7415 macro.
7416 (seconds_left, again): New globals.
7417 (main): Wait seconds_left in a 1-second sleep loop instead of
7418 sleeping 180 seconds. If 'again' is set, reset the seconds
7419 counter.
7420 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7421 'again' in the inferior before detaching. Print the seconds left.
7422 (options): New global.
7423 (top level): Build program with -DTIMEOUT=$timeout.
7424
7425 2015-02-06 Pedro Alves <palves@redhat.com>
7426
7427 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
7428 determine how many seconds to pass to 'alarm'.
7429 * gdb.base/gdb-sigterm.exp (top level): Build program with
7430 -DTIMEOUT=$timeout.
7431 (do_test): Return success/failure indication. Add more verbose
7432 logging. Don't fail if 200 single steps are seen. Instead, fail
7433 when the test times out.
7434 (passes): New global.
7435 (top level): Break the testing loop if testing fails on any
7436 iteration. Use gdb_assert.
7437
7438 2015-02-04 Don Breazeal <donb@codesourcery.com>
7439
7440 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
7441 and initialize them.
7442 (ipc_cleanup): New function.
7443 (main): Don't declare shmid, semid, and msqid. Add a call to
7444 atexit so that we call ipc_cleanup on exit.
7445
7446 2015-02-04 Pedro Alves <palves@redhat.com>
7447
7448 * boards/native-extended-gdbserver.exp: Remove any target variant
7449 specifications from the board name before clearing the isremote
7450 flag from board_info.
7451
7452 2015-01-31 Doug Evans <xdje42@gmail.com>
7453
7454 * gdb.base/maint.exp <maint print type argc>: Update expected output.
7455
7456 2015-01-31 Gary Benson <gbenson@redhat.com>
7457
7458 * gdb.base/completion.exp: Disable completion limiting for
7459 existing tests. Add new tests to check completion limiting.
7460 * gdb.linespec/ls-errs.exp: Disable completion limiting.
7461
7462 2015-01-31 Doug Evans <xdje42@gmail.com>
7463
7464 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
7465
7466 2015-01-31 Doug Evans <xdje42@gmail.com>
7467
7468 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
7469 entries. Duplicate file section script entries.
7470 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
7471 inlined entries. Add test for safe-path rejection.
7472 * gdb.python/py-section-script.c: Add duplicate inlined section script
7473 entries. Duplicate file section script entries.
7474 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
7475 inlined entries. Add test for safe-path rejection.
7476
7477 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7478
7479 * gdb.ada/disc_arr_bound: New testcase.
7480
7481 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7482
7483 * gdb.ada/mi_var_array: New testcase.
7484
7485 2015-01-27 Doug Evans <dje@google.com>
7486
7487 * gdb.python/py-objfile.exp: Add tests for objfile.username.
7488 Add test for objfile.filename, objfile.username after objfile
7489 has been unloaded.
7490
7491 2015-01-26 Joel Brobecker <brobecker@adacore.com>
7492
7493 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
7494 the second test to print the name attribute of value
7495 returned by the call to gdb.lookup_type, and adjust
7496 the expected output accordingly.
7497
7498 2015-01-25 Mark Wielaard <mjw@redhat.com>
7499
7500 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
7501 * gdb.base/disp-step-fork.c: Include unistd.h.
7502 * gdb.base/siginfo-obj.c: Include stdio.h.
7503 * gdb.base/siginfo-thread.c: Likewise.
7504 * gdb.mi/non-stop.c: Include unistd.h.
7505 * gdb.mi/nsthrexec.c: Include stdio.h.
7506 * gdb.mi/pthreads.c: Include unistd.h.
7507 * gdb.modula2/unbounded1.c (main): Declare returns int.
7508 * gdb.reverse/consecutive-reverse.c: Likewise.
7509 * gdb.threads/create-fail.c: Include unistd.h.
7510 * gdb.threads/killed.c: Likewise.
7511 * gdb.threads/linux-dp.c: Likewise.
7512 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
7513 * gdb.threads/non-ldr-exc-2.c: Likewise.
7514 * gdb.threads/non-ldr-exc-3.c: Likewise.
7515 * gdb.threads/non-ldr-exc-4.c: Likewise.
7516 * gdb.threads/pthreads.c: Include unistd.h.
7517 (main): Declare returns int.
7518 * gdb.threads/tls-main.c (foo): New declaration.
7519 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
7520
7521 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
7522
7523 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
7524 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
7525
7526 2015-01-15 Mark Wielaard <mjw@redhat.com>
7527
7528 * gdb.base/noreturn-return.c: New file.
7529 * gdb.base/noreturn-return.exp: New file.
7530 * gdb.base/noreturn-finish.c: New file.
7531 * gdb.base/noreturn-finish.exp: New file.
7532
7533 2015-01-23 Pedro Alves <palves@redhat.com>
7534
7535 * gdb.threads/continue-pending-after-query.c: New file.
7536 * gdb.threads/continue-pending-after-query.exp: New file.
7537
7538 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
7539 Simon Marchi <simon.marchi@ericsson.com>
7540
7541 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
7542 * gdb.base/valgrind-db-attach.exp: Same.
7543 * gdb.base/valgrind-infcall.exp: Same.
7544 * lib/mi-support.exp (default_mi_gdb_start): Same.
7545 * lib/prompt.exp (default_prompt_gdb_start): Same.
7546 * lib/gdb.exp (default_gdb_spawn): Same.
7547 (gdb_interact): New.
7548
7549
7550 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7551
7552 * gdb.compile/compile.exp (pointer to jit function): New test.
7553
7554 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
7555
7556 * lib/gdb.exp (supports_process_record): Return true for
7557 powerpc*-*-linux*.
7558 (supports_reverse): Likewise.
7559
7560 2015-01-15 Don Breazeal <donb@codesourcery.com>
7561
7562 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
7563 instead of checking whether the target board is remote and
7564 use spawn_wait_for_attach instead of exec/sleep.
7565 * gdb.base/attach-twice.exp: Likewise.
7566
7567 2015-01-15 Joel Brobecker <brobecker@adacore.com>
7568
7569 * gdb.ada/var_arr_attrs: New testcase.
7570
7571 2015-01-14 Pedro Alves <palves@redhat.com>
7572 Joel Brobecker <brobecker@adacore.com>
7573
7574 PR gdb/17525
7575 * gdb.base/bp-cmds-execution-x-script.c: New file.
7576 * gdb.base/bp-cmds-execution-x-script.exp: New file.
7577 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
7578
7579 2015-01-14 Pedro Alves <palves@redhat.com>
7580
7581 PR cli/17828
7582 * gdb.base/batch-preserve-term-settings.c: New file.
7583 * gdb.base/batch-preserve-term-settings.exp: New file.
7584
7585 2015-01-13 Doug Evans <dje@google.com>
7586
7587 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
7588 binary.
7589
7590 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7591
7592 * Makefile.in (clean mostlyclean): Do not delete *.py.
7593
7594 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7595
7596 * gdb.python/py-lookup-type.exp: New file.
7597
7598 2015-01-12 Pedro Alves <palves@redhat.com>
7599
7600 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
7601 restore GDBFLAGS before returning.
7602
7603 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7604
7605 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
7606 is_amd64_regs_target and is_x86_like_target.
7607
7608 2015-01-11 Doug Evans <xdje42@gmail.com>
7609
7610 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
7611 is given without an explicit form.
7612 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
7613 attributes.
7614 * gdb.dwarf/corrupt.exp: Ditto.
7615 * gdb.dwarf2/enum-type.exp: Ditto.
7616 * gdb.trace/entry-values.exp: Ditto.
7617 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
7618
7619 2015-01-11 Doug Evans <xdje42@gmail.com>
7620
7621 PR gdb/15830
7622 * gdb.base/maint.exp: Remove references to "maint demangle".
7623 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
7624 Add tests for explicitly specifying language to demangle.
7625 * gdb.dlang/demangle.exp: Ditto.
7626
7627 2015-01-09 Pedro Alves <palves@redhat.com>
7628
7629 * gdb.threads/non-stop-fair-events.c: New file.
7630 * gdb.threads/non-stop-fair-events.exp: New file.
7631
7632 2015-01-09 Pedro Alves <palves@redhat.com>
7633
7634 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
7635 the global scope. Set a breakpoint after all threads are started
7636 rather than stepping over two source lines. Expect the prompt.
7637 * gdb.base/watch_thread_num.c (threads_started_barrier): New
7638 global.
7639 (NUM): Now 15.
7640 (main): Use threads_started_barrier to wait for all threads to
7641 start. Main thread no longer calls thread_function. Exit after
7642 180 seconds.
7643 (loop): New function.
7644 (thread_function): Wait on threads_started_barrier barrier. Call
7645 'loop' at each iteration.
7646 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
7647 threads have started, instead of hardcoding number of "next"
7648 steps. Use an access watchpoint instead of a write watchpoint.
7649
7650 2015-01-09 Pedro Alves <palves@redhat.com>
7651
7652 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
7653 (thread_func): Wait on barrier.
7654 (main): Wait for all threads to start before stopping GDB.
7655 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
7656 global.
7657 (thread1_func, thread2_func): Wait on barrier.
7658 (main): Wait for all threads to start before stopping GDB.
7659 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
7660 New global.
7661 (thread1_func, thread2_func): Wait on barrier.
7662 (main): Wait for all threads to start before stopping GDB.
7663
7664 2015-01-09 Pedro Alves <palves@redhat.com>
7665
7666 * gdb.threads/attach-many-short-lived-threads.c: New file.
7667 * gdb.threads/attach-many-short-lived-threads.exp: New file.
7668
7669 2014-01-09 Pedro Alves <palves@redhat.com>
7670
7671 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
7672 instead of to thread 2.
7673 * gdb.threads/signal-command-multiple-signals-pending.c (main):
7674 Add barrier around each pthread_create call instead of around all
7675 calls.
7676 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
7677 Set a break on thread_function and have the child threads hit it
7678 one at at a time.
7679
7680 2015-01-09 Pedro Alves <palves@redhat.com>
7681
7682 * lib/gdb.exp (can_spawn_for_attach): New procedure.
7683 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
7684 false.
7685 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
7686 checking whether the target board is remote.
7687 * gdb.multi/multi-attach.exp: Likewise.
7688 * gdb.python/py-sync-interp.exp: Likewise.
7689 * gdb.server/ext-attach.exp: Likewise.
7690 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
7691 tests that need to attach, instead of checking whether the target
7692 board is remote at the top of the file.
7693
7694 2015-01-08 Yao Qi <yao@codesourcery.com>
7695
7696 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
7697
7698 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7699
7700 Fix testcase compilation.
7701 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
7702
7703 2015-01-06 Joel Brobecker <brobecker@adacore.com>
7704
7705 * gdb.python/py-type.exp: Add a couple test about empty
7706 array creation, and negative-length array creation.
7707
7708 2015-01-02 Doug Evans <xdje42@gmail.com>
7709
7710 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
7711
7712 2015-01-02 Doug Evans <dje@google.com>
7713
7714 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
7715
7716 2014-12-29 Yao Qi <yao@codesourcery.com>
7717
7718 * gdb.trace/entry-values.exp: Update comments. Rename variable
7719 bar_call_foo to returned_from_foo.
7720
7721 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
7722
7723 PR gdb/17394
7724 * gdb.linespec/break-asm-file.c: New file.
7725 * gdb.linespec/break-asm-file.exp: New file.
7726 * gdb.linespec/break-asm-file0.s: New file.
7727 * gdb.linespec/break-asm-file1.s: New file.
7728
7729 2014-12-18 Nigel Stephens <nigel@mips.com>
7730 Maciej W. Rozycki <macro@codesourcery.com>
7731
7732 * gdb.base/float.exp: Handle the new output from "info float" on
7733 MIPS targets.
7734
7735 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7736
7737 Fix MinGW compilation.
7738 * gdb.compile/compile-ops.exp: Update untested message if
7739 !skip_compile_feature_tests.
7740 * gdb.compile/compile-setjmp.exp: Likewise.
7741 * gdb.compile/compile-tls.exp: Likewise.
7742 * gdb.compile/compile.exp: Likewise.
7743 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
7744 supported on this host".
7745
7746 2014-12-16 Doug Evans <xdje42@gmail.com>
7747
7748 * boards/stabs.exp: New file.
7749
7750 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
7751
7752 * gdb.base/completion.exp: Adjust to format changes of "maint
7753 print user-registers".
7754
7755 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
7756
7757 PR server/17457
7758 * gdb.arch/aarch64-fp.c: New file.
7759 * gdb.arch/aarch64-fp.exp: New file.
7760
7761 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7762
7763 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
7764 r210637, r210913, r211666, r215400, r215817).
7765
7766 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
7767 * dg-extract-results.py: New file.
7768 * dg-extract-results.sh: Use it if the environment seems
7769 suitable.
7770
7771 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
7772
7773 * dg-extract-results.py (parse_run): Handle warnings that
7774 are printed before a test harness is run.
7775
7776 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
7777
7778 * dg-extract-results.py (Named): Remove __cmp__ method.
7779 (output_variation): Use a key to sort variation.harnesses.
7780
7781 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
7782
7783 * dg-extract-results.py: For Python 3, force sys.stdout to
7784 handle surrogate escape sequences.
7785 (safe_open): New function.
7786 (output_segment, main): Use it.
7787
7788 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
7789
7790 * dg-extract-results.py (Prog.result_re): Include options
7791 in test name.
7792
7793 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
7794
7795 * dg-extract-results.py (output_variation): Always sort if
7796 do_sum.
7797
7798 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
7799
7800 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
7801 as long as we get pagination notifications.
7802
7803 2014-12-15 Jason Merrill <jason@redhat.com>
7804
7805 * Makefile.in (check-gdb.%): Restore.
7806 * README: Mention it.
7807
7808 2014-12-13 Joel Brobecker <brobecker@adacore.com>
7809
7810 * gdb.ada/str_uninit: New testcase.
7811
7812 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7813
7814 PR symtab/17642
7815 * gdb.base/vla-stub-define.c: New file.
7816 * gdb.base/vla-stub.c: New file.
7817 * gdb.base/vla-stub.exp: New file.
7818
7819 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
7820 Jan Kratochvil <jan.kratochvil@redhat.com>
7821 Tom Tromey <tromey@redhat.com>
7822
7823 * configure.ac: Add gdb.compile/.
7824 * configure: Regenerate.
7825 * gdb.compile/Makefile.in: New file.
7826 * gdb.compile/compile-ops.exp: New file.
7827 * gdb.compile/compile-ops.c: New file.
7828 * gdb.compile/compile-tls.c: New file.
7829 * gdb.compile/compile-tls.exp: New file.
7830 * gdb.compile/compile-constvar.S: New file.
7831 * gdb.compile/compile-constvar.c: New file.
7832 * gdb.compile/compile-mod.c: New file.
7833 * gdb.compile/compile-nodebug.c: New file.
7834 * gdb.compile/compile-setjmp-mod.c: New file.
7835 * gdb.compile/compile-setjmp.c: New file.
7836 * gdb.compile/compile-setjmp.exp: New file.
7837 * gdb.compile/compile-shlib.c: New file.
7838 * gdb.compile/compile.c: New file.
7839 * gdb.compile/compile.exp: New file.
7840 * lib/gdb.exp (skip_compile_feature_tests): New proc.
7841
7842 2014-12-12 Tom Tromey <tromey@redhat.com>
7843
7844 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
7845 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
7846
7847 2014-12-12 Doug Evans <dje@google.com>
7848
7849 * lib/gdb-python.exp (get_python_valueof): New function.
7850 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
7851
7852 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7853
7854 * gdb.base/completion.exp: Add test for completion of "info
7855 registers ".
7856
7857 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
7858
7859 * gdb.base/func-ptrs.c: New file.
7860 * gdb.base/func-ptrs.exp: New file.
7861
7862 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7863
7864 PR breakpoints/17012
7865 * gdb.base/dprintf-detach.c: New file.
7866 * gdb.base/dprintf-detach.exp: New file.
7867
7868 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7869
7870 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
7871 * lib/gdb.exp (target_is_gdbserver): New procedure.
7872
7873 2014-12-08 Doug Evans <dje@google.com>
7874
7875 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
7876
7877 2014-12-05 Yao Qi <yao@codesourcery.com>
7878
7879 * gdb.guile/scm-error.exp: Remove the third argument to
7880 gdb_remote_download.
7881 * gdb.guile/scm-frame-args.exp: Likewise.
7882 * gdb.guile/scm-section-script.exp: Likewise.
7883
7884 2014-12-05 Yao Qi <yao@codesourcery.com>
7885
7886 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
7887
7888 2014-12-04 Doug Evans <dje@google.com>
7889
7890 * gdb.python/py-objfile.exp: Add tests for
7891 objfile.add_separate_debug_file.
7892
7893 2014-12-04 Doug Evans <dje@google.com>
7894
7895 * lib/gdb.exp (get_build_id): New function.
7896 (build_id_debug_filename_get): Rewrite to use it.
7897 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
7898
7899 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
7900
7901 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
7902 `method(long)', not just 0x0.
7903 * gdb.cp/nsalias.exp: Align code labels to 4.
7904 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
7905 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
7906 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
7907 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
7908 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
7909 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
7910
7911 2014-12-02 Doug Evans <dje@google.com>
7912
7913 PR symtab/17602
7914 * gdb.cp/anon-ns.cc: Move guts of this file to ...
7915 * gdb.cp/anon-ns2.cc: ... here. New file.
7916 * gdb.cp/anon-ns.exp: Update.
7917
7918 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
7919
7920 * gdb.python/py-events.py (inferior_call_handler): New.
7921 (register_changed_handler, memory_changed_handler): New.
7922 (test_events.invoke): Register new handlers.
7923 * gdb.python/py-events.exp: Add tests for inferior call,
7924 memory_changed and register_changed events.
7925
7926 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7927
7928 * gdb.base/execl-update-breakpoints.exp: Specify the link address
7929 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
7930 if the linker doesn't understand this.
7931
7932 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
7933
7934 * gdb.python/python.exp: Change expected reply to help().
7935
7936 2014-12-01 Yao Qi <yao@codesourcery.com>
7937
7938 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
7939 AC_CONFIG_SUBDIRS(gdb.gdbtk).
7940 * configure: Re-generated.
7941
7942 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
7943
7944 * gdb.cp/chained-calls.cc: New file.
7945 * gdb.cp/chained-calls.exp: New file.
7946 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
7947
7948 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
7949
7950 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
7951 * gdb.dwarf2/symtab-producer.exp: Same.
7952 * gdb.gdb/python-interrupts.exp: Same.
7953 * gdb.gdb/python-selftest.exp: Same.
7954 * gdb.python/py-linetable.exp: Same.
7955 * gdb.python/py-type.exp: Same.
7956 * gdb.python/py-value-cc.exp: Same.
7957 * gdb.python/py-value.exp: Same.
7958
7959 2014-11-28 Yao Qi <yao@codesourcery.com>
7960
7961 * gdb.base/break-probes.exp: Match library name prefixed with
7962 sysroot.
7963
7964 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
7965
7966 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
7967 test expected output. Add parentheses for the call to print.
7968 Remove L suffix from integers.
7969
7970 2014-11-26 Doug Evans <dje@google.com>
7971
7972 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
7973
7974 2014-11-22 Yao Qi <yao@codesourcery.com>
7975
7976 * gdb.trace/entry-values.c: Remove asms.
7977 (foo): Add foo_label.
7978 (bar): Add bar_label.
7979 * gdb.trace/entry-values.exp: Remove code computing foo's
7980 length and bar's length.
7981 (Dwarf::assemble): Invoke function_range for bar and use
7982 MACRO_AT_func for foo.
7983
7984 2014-11-22 Yao Qi <yao@codesourcery.com>
7985
7986 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
7987 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
7988 Use .Lgcc43_procstart instead of gcc43.
7989
7990 2014-11-21 Joel Brobecker <brobecker@adacore.com>
7991
7992 * gdb.ada/n_arr_bound: New testcase.
7993
7994 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
7995
7996 PR breakpoints/10737
7997 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
7998 test_catch_syscall_multi_arch.
7999 (test_catch_syscall_multi_arch): New function.
8000
8001 2014-11-20 Doug Evans <xdje42@gmail.com>
8002
8003 * gdb.base/maint.exp: Update expected output.
8004
8005 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8006
8007 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
8008 4-byte instruction on S390.
8009
8010 2014-11-19 Joel Brobecker <brobecker@adacore.com>
8011
8012 * gdb.ada/arr_arr: New testcase.
8013
8014 2014-11-19 Joel Brobecker <brobecker@adacore.com>
8015
8016 * gdb.ada/pkd_arr_elem: New Testcase.
8017
8018 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
8019
8020 * gdb.reverse/break-precsave: Expect completion message for
8021 core file reads.
8022 * gdb.reverse/consecutive-precsave.exp: Likewise.
8023 * gdb.reverse/finish-precsave.exp: Likewise.
8024 * gdb.reverse/i386-precsave.exp: Likewise.
8025 * gdb.reverse/machinestate-precsave.exp: Likewise.
8026 * gdb.reverse/sigall-precsave.exp: Likewise.
8027 * gdb.reverse/solib-precsave.exp: Likewise.
8028 * gdb.reverse/step-precsave.exp: Likewise.
8029 * gdb.reverse/until-precsave.exp: Likewise.
8030 * gdb.reverse/watch-precsave.exp: Likewise.
8031
8032 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8033
8034 * gdb.base/bp-permanent.c: Include unistd.h.
8035 * gdb.python/py-framefilter-mi.c (main): Add return type.
8036 * gdb.python/py-framefilter.c (main): Likewise.
8037 * gdb.trace/actions-changed.c (main): Likewise.
8038
8039 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8040
8041 * gdb.mi/until.c: Add eye-catchers.
8042 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
8043 line numbers.
8044
8045 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8046
8047 * gdb.base/condbreak.exp: Drop references to removed non-prototype
8048 function header variants in break1.c.
8049 * gdb.base/ena-dis-br.exp: Likewise.
8050 * gdb.base/hbreak2.exp: Likewise.
8051 * gdb.reverse/until-precsave.exp: Drop references to removed
8052 non-prototype function header variants in ur1.c.
8053 * gdb.reverse/until-reverse.exp: Likewise.
8054
8055 2014-11-17 Petr Machata <pmachata@redhat.com>
8056
8057 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
8058 ${_cu_offset_size} bytes abbrev offset.
8059
8060 2014-11-15 Doug Evans <xdje42@gmail.com>
8061
8062 PR symtab/17559
8063 * gdb.base/line-symtabs.exp: New file.
8064 * gdb.base/line-symtabs.c: New file.
8065 * gdb.base/line-symtabs.h: New file.
8066
8067 2014-11-14 Yao Qi <yao@codesourcery.com>
8068
8069 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
8070 (func): Add label func_label.
8071 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
8072 Replace low_pc and high_pc with MACRO_AT_range.
8073 Replace name, low_pc and high_pc with MACRO_AT_func.
8074
8075 2014-11-14 Yao Qi <yao@codesourcery.com>
8076
8077 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
8078 Replace name, low_pc and high_pc with MACRO_AT_func.
8079
8080 2014-11-14 Yao Qi <yao@codesourcery.com>
8081
8082 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
8083 produce debug information.
8084 * gdb.dwarf2/implptr-optimized-out.S: Removed.
8085
8086 2014-11-14 Yao Qi <yao@codesourcery.com>
8087
8088 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
8089 object and get function length.
8090 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
8091 with MACRO_AT_func.
8092 (top-level): Replace gdb_compile and clean_restart with
8093 prepare_for_testing.
8094 * gdb.dwarf2/main.c (main): Add label main_label.
8095
8096 2014-11-14 Yao Qi <yao@codesourcery.com>
8097
8098 * lib/dwarf.exp (function_range): New procedure.
8099 (Dwarf::_handle_macro_at_func): New procedure.
8100 (Dwarf::_handle_macro_at_range): New procedure.
8101 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
8102
8103 2014-11-14 Yao Qi <yao@codesourcery.com>
8104
8105 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
8106 (_handle_attribute): New procedure.
8107
8108 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8109
8110 * gdb.ada/cond_lang/foo.c (callme): Add return type.
8111 * gdb.base/call-sc.c (zed): Likewise.
8112 * gdb.base/checkpoint.c (main): Likewise.
8113 * gdb.base/dump.c (main): Likewise.
8114 * gdb.base/gcore.c (main): Likewise.
8115 * gdb.base/huge.c (main): Likewise.
8116 * gdb.base/multi-forks.c (main): Likewise.
8117 * gdb.base/pr10179-a.c (main): Likewise.
8118 * gdb.base/savedregs.c (main): Likewise.
8119 * gdb.base/sigaltstack.c (main): Likewise.
8120 * gdb.base/siginfo.c (main): Likewise.
8121 * gdb.base/structs.c (zed): Likewise.
8122 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
8123 * gdb.mi/mi-syn-frame.c (main): Likewise.
8124 * gdb.mi/until.c (foo, main): Likewise.
8125 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
8126 * gdb.base/solib-weak.c (foo): Declare.
8127 * gdb.base/attach-twice.c: Include stdio.h.
8128 * gdb.base/weaklib1.c: Likewise.
8129 * gdb.base/weaklib2.c: Likewise.
8130 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
8131 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
8132 unistd.h.
8133 * gdb.base/attach-pie-misread.c: Include stdlib.h.
8134 * gdb.mi/mi-exit-code.c: Likewise.
8135 * gdb.base/break-interp-lib.c: Include string.h.
8136 * gdb.base/coremaker.c: Likewise.
8137 * gdb.base/testenv.c: Likewise.
8138 * gdb.python/py-finish-breakpoint.c: Likewise.
8139 * gdb.base/inferior-died.c: Include sys/wait.h.
8140 * gdb.base/fileio.c: Include time.h.
8141 * gdb.base/async-shell.c: Include unistd.h.
8142 * gdb.base/dprintf-non-stop.c: Likewise.
8143 * gdb.base/info-os.c: Likewise.
8144 * gdb.mi/mi-console.c: Likewise.
8145 * gdb.mi/watch-nonstop.c: Likewise.
8146 * gdb.python/py-events.c: Likewise.
8147 * gdb.base/async.c (baz): Move up before its invocation.
8148 * gdb.base/code_elim2.c (my_global_func): Likewise.
8149 * gdb.base/skip-solib-lib.c (multiply): Likewise.
8150 * gdb.base/advance.c (func2): Likewise.
8151
8152 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8153
8154 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
8155 variant.
8156 * gdb.base/annota3.c: Likewise.
8157 * gdb.base/async.c: Likewise.
8158 * gdb.base/average.c: Likewise.
8159 * gdb.base/call-ar-st.c: Likewise.
8160 * gdb.base/call-rt-st.c: Likewise.
8161 * gdb.base/call-sc.c: Likewise.
8162 * gdb.base/call-strs.c: Likewise.
8163 * gdb.base/ending-run.c: Likewise.
8164 * gdb.base/execd-prog.c: Likewise.
8165 * gdb.base/exprs.c: Likewise.
8166 * gdb.base/foll-exec.c: Likewise.
8167 * gdb.base/foll-fork.c: Likewise.
8168 * gdb.base/foll-vfork.c: Likewise.
8169 * gdb.base/funcargs.c: Likewise.
8170 * gdb.base/gcore.c: Likewise.
8171 * gdb.base/jump.c: Likewise.
8172 * gdb.base/langs0.c: Likewise.
8173 * gdb.base/langs1.c: Likewise.
8174 * gdb.base/langs2.c: Likewise.
8175 * gdb.base/mips_pro.c: Likewise.
8176 * gdb.base/nodebug.c: Likewise.
8177 * gdb.base/opaque0.c: Likewise.
8178 * gdb.base/opaque1.c: Likewise.
8179 * gdb.base/recurse.c: Likewise.
8180 * gdb.base/run.c: Likewise.
8181 * gdb.base/scope0.c: Likewise.
8182 * gdb.base/scope1.c: Likewise.
8183 * gdb.base/setshow.c: Likewise.
8184 * gdb.base/setvar.c: Likewise.
8185 * gdb.base/shmain.c: Likewise.
8186 * gdb.base/shr1.c: Likewise.
8187 * gdb.base/shr2.c: Likewise.
8188 * gdb.base/sigall.c: Likewise.
8189 * gdb.base/signals.c: Likewise.
8190 * gdb.base/so-indr-cl.c: Likewise.
8191 * gdb.base/solib2.c: Likewise.
8192 * gdb.base/structs.c: Likewise.
8193 * gdb.base/sum.c: Likewise.
8194 * gdb.base/vforked-prog.c: Likewise.
8195 * gdb.base/watchpoint.c: Likewise.
8196 * gdb.reverse/shr2.c: Likewise.
8197 * gdb.reverse/until-reverse.c: Likewise.
8198 * gdb.reverse/ur1.c: Likewise.
8199 * gdb.reverse/watch-reverse.c: Likewise.
8200
8201 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8202
8203 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
8204 variant.
8205 * gdb.base/sepdebug.exp: Drop references to removed code.
8206
8207 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8208
8209 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
8210 variant. Preserve original line numbering.
8211 * gdb.base/list1.c: Likewise.
8212
8213 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8214
8215 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
8216 variant.
8217 * gdb.base/break1.c: Likewise.
8218 * gdb.base/break.exp: Drop references to removed code.
8219
8220 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8221
8222 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
8223 variant.
8224
8225 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8226
8227 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
8228
8229 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8230
8231 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
8232 logic into perform_all_tests() and invoke it with and without
8233 function header prototypes.
8234 (do_function_calls): Remove conditional XFAIL for PR 5318.
8235 (rerun_and_prepare): Remove duplicate code.
8236 (perform_all_tests): New. Main logic moved here.
8237
8238 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8239
8240 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
8241 code guarded by #ifdef NO_PROTOTYPES.
8242 (t_double_many_args): Likewise.
8243 (DEF_FUNC_MANY_ARGS_1): Likewise.
8244 (DEF_FUNC_VALUES_1): Likewise.
8245 (t_structs_ldc): Renamed from t_structs_fc in conditional code
8246 guarded by #ifdef PROTOTYPES.
8247
8248 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8249
8250 * gdb.mi/mi-console.c: Add eye-catcher.
8251 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
8252 instead of literal line number.
8253
8254 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8255
8256 * gdb.base/shr2.c: Add eye-catcher.
8257 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
8258 line number.
8259
8260 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8261
8262 * gdb.base/jump.c: Add eye-catchers.
8263 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
8264 numbers.
8265
8266 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8267
8268 * gdb.base/execd-prog.c: Add eye-catchers.
8269 * gdb.base/foll-exec.c: Likewise.
8270 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
8271 line numbers.
8272
8273 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8274
8275 * gdb.base/ending-run.c: Add eye-catchers.
8276 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
8277 literal line numbers.
8278
8279 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8280
8281 * gdb.base/call-rt-st.c: Add eye-catchers.
8282 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
8283 literal line numbers.
8284
8285 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8286
8287 * gdb.base/call-ar-st.c: Add eye-catchers.
8288 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
8289 literal line numbers.
8290
8291 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8292
8293 * gdb.base/average.c: Add eye-catchers.
8294 * gdb.base/sum.c: Likewise.
8295 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
8296 regexps dynamically.
8297
8298 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8299
8300 * gdb.base/solib1.c: Add eye-catchers.
8301 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
8302 literal line numbers.
8303
8304 2014-11-12 Pedro Alves <palves@redhat.com>
8305
8306 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
8307 leader has exited.
8308
8309 2014-11-12 Pedro Alves <palves@redhat.com>
8310
8311 * gdb.arch/i386-bp_permanent.c: New file.
8312 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
8313 (srcfile): Set to i386-bp_permanent.c.
8314 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
8315 that stepi does not execute the 'leave' instruction, instead of
8316 testing it does execute.
8317 * gdb.base/bp-permanent.c: New file.
8318 * gdb.base/bp-permanent.exp: New file.
8319
8320 2014-11-10 Doug Evans <xdje42@gmail.com>
8321
8322 PR symtab/17564
8323 * gdb.base/symtab-search-order.exp: New file.
8324 * gdb.base/symtab-search-order.c: New file.
8325 * gdb.base/symtab-search-order-1.c: New file.
8326 * gdb.base/symtab-search-order-shlib-1.c: New file.
8327
8328 2014-11-07 Pedro Alves <palves@redhat.com>
8329
8330 PR gdb/17511
8331 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8332 i?86-*-linux*.
8333
8334 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8335
8336 PR c++/17494
8337 * gdb.cp/pr17494.cc: New file.
8338 * gdb.cp/pr17494.exp: New file.
8339
8340 2014-11-02 Yao Qi <yao@codesourcery.com>
8341
8342 * gdb.python/python.exp: Get working directory and match the
8343 output of "set extended-prompt \\w " with it.
8344
8345 2014-10-30 Doug Evans <dje@google.com>
8346
8347 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8348 in objfiles.
8349 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8350 in progspaces.
8351
8352 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
8353
8354 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8355 * gdb.base/realname-expand.exp: Likewise.
8356 * gdb.linespec/macro-relative.exp: Likewise.
8357
8358 2014-10-29 Pedro Alves <palves@redhat.com>
8359
8360 PR gdb/17408
8361 * gdb.threads/schedlock.c (some_function): New function.
8362 (call_function): New global.
8363 (MAYBE_CALL_SOME_FUNCTION): New macro.
8364 (thread_function): Call it.
8365 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8366 and use it instead of a global counter. Adjust all callers.
8367 (get_current_thread): Use "find current thread" for test message
8368 here rather than having all callers pass down the same string.
8369 (goto_loop): New procedure, factored out from ...
8370 (my_continue): ... this.
8371 (step_ten_loops): Change parameter from test message to command to
8372 use. Adjust.
8373 (list_count): Delete global.
8374 (check_result): New procedure, factored out from duplicate top
8375 level code.
8376 (continue tests): Wrap in with_test_prefix.
8377 (test_step): New procedure, factored out from duplicate top level
8378 code.
8379 (top level): Test "step" in combination with all scheduler-locking
8380 modes. Test "next" in combination with all scheduler-locking
8381 modes, and in combination with stepping over a function call or
8382 not.
8383 * gdb.threads/next-bp-other-thread.c: New file.
8384 * gdb.threads/next-bp-other-thread.exp: New file.
8385
8386 2014-10-29 Pedro Alves <palves@redhat.com>
8387
8388 PR python/17372
8389 * gdb.python/python.exp: Test a multi-line command that spawns
8390 interactive Python.
8391 * gdb.base/multi-line-starts-subshell.exp: New file.
8392
8393 2014-10-29 Yao Qi <yao@codesourcery.com>
8394
8395 * gdb.base/fileio.exp: Make directories on host.
8396
8397 2014-10-29 Yao Qi <yao@codesourcery.com>
8398
8399 * gdb.base/fileio.c (test_write): Close the file.
8400
8401 2014-10-28 Pedro Alves <palves@redhat.com>
8402
8403 PR gdb/12623
8404 * gdb.base/sigstep.c (no_handler): New global.
8405 (main): If 'no_handler is true, set the signal handlers to
8406 SIG_IGN.
8407 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8408 with_sw_watch and no_handler parameters. Handle them.
8409 (top level) <stepping over handler when stopped at a breakpoint
8410 test>: Add a test axis for testing with a software watchpoint, and
8411 another for testing with the signal handler set to SIG_IGN.
8412 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8413 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8414
8415 2014-10-28 Pedro Alves <palves@redhat.com>
8416
8417 PR gdb/17511
8418 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8419 * gdb.base/sigstep.exp (other_handler_location): New global.
8420 (advance): Support stepping into the signal handler, and running
8421 commands while in the handler.
8422 (in_handler_map): New global.
8423 (top level): In the advance test, add combinations for getting
8424 into the handler with stepping commands, and for running commands
8425 in the handler. Add comment descripting the advancei tests.
8426
8427 2014-10-28 Pedro Alves <palves@redhat.com>
8428
8429 * gdb.base/sigstep.exp: Use build_executable instead of
8430 prepare_for_testing.
8431 (top level): Move code that starts GDB, runs to main and creates a
8432 display to ...
8433 (restart): ... this new procedure.
8434 (top level): Move backtrace from signal handler test to ...
8435 (validate_backtrace): ... this new procedure.
8436 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
8437 with_test_prefix. Always restart GDB.
8438 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
8439 with_test_prefix. Always restart GDB. No need to delete
8440 breakpoints after the test.
8441 (test_skip_handler): Remove prefix parameter.
8442 (skip_over_handler, breakpoint_to_handler)
8443 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
8444 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
8445 restart GDB. No need to delete breakpoints after the test.
8446 (top level): Use foreach to call the test procedures with
8447 different commands.
8448
8449 2014-10-28 Pedro Alves <palves@redhat.com>
8450
8451 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
8452 instead of GNATS numbers.
8453 * gdb.base/sigbpt.exp: Likewise.
8454 * gdb.base/siginfo.exp: Likewise.
8455 * gdb.base/sigstep.exp: Likewise.
8456
8457 2014-10-27 Pedro Alves <palves@redhat.com>
8458
8459 * gdb.base/sigstep.c (dummy): New global.
8460 (main): Issue a couple writes to the new global.
8461 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
8462 procedures.
8463 (skip_over_handler): Use test_skip_handler.
8464 (top level): Call skip_over_handler for stepi and nexti too.
8465 (breakpoint_over_handler): Use test_skip_handler.
8466 (top level): Call breakpoint_over_handler for stepi and nexti too.
8467
8468 2014-10-27 Yao Qi <yao@codesourcery.com>
8469
8470 * gdb.trace/tfile.c (adjust_function_address)
8471 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
8472 function descriptor.
8473
8474 2014-10-24 Don Breazeal <donb@codesourcery.com>
8475
8476 * gdb.base/foll-fork.exp (test_follow_fork,
8477 catch_fork_child_follow): Check for updated fork messages emitted
8478 from infrun.c.
8479 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
8480 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
8481 vfork_and_exec_child_follow_through_step): Check for updated vfork
8482 messages emitted from infrun.c.
8483
8484 2014-10-24 Pedro Alves <palves@redhat.com>
8485
8486 * gdb.base/corefile.exp: Remove references to ultrix.
8487 * gdb.base/interrupt.exp: Likewise.
8488 * gdb.base/whatis.exp: Likewise.
8489 * gdb.gdb/selftest.exp: Likewise.
8490 * gdb.threads/manythreads.exp: Likewise.
8491 * gdb.threads/print-threads.exp: Likewise.
8492 * gdb.threads/pthreads.exp:: Likewise.
8493 * gdb.threads/schedlock.exp: Likewise.
8494
8495 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
8496
8497 * gdb.cp/non-trivial-retval.cc: Add a test case.
8498 * gdb.cp/non-trivial-retval.exp: Add a test.
8499
8500 2014-10-20 Yao Qi <yao@codesourcery.com>
8501
8502 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
8503 * gdb.python/py-objfile-script-gdb.py: New file.
8504 * gdb.python/py-objfile-script.exp: Update reference to
8505 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
8506 of remote_download. Remove the dest file.
8507
8508 2014-10-20 Yao Qi <yao@codesourcery.com>
8509
8510 * gdb.base/checkpoint.exp: Don't remove file copied on host.
8511 * gdb.base/step-line.exp: Likewise.
8512 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8513 * gdb.dwarf2/dw2-basic.exp: Likewise.
8514 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8515 * gdb.dwarf2/dw2-filename.exp: Likewise.
8516 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8517 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8518 * gdb.dwarf2/dw2-producer.exp: Likewise.
8519 * gdb.dwarf2/mac-fileno.exp: Likewise.
8520 * gdb.python/py-frame-args.exp: Likewise.
8521 * gdb.python/py-framefilter.exp: Likewise.
8522 * gdb.python/py-mi.exp: Likewise.
8523 * gdb.python/py-objfile-script.exp: Likewise
8524 * gdb.python/py-pp-integral.exp: Likewise.
8525 * gdb.python/py-pp-re-notag.exp: Likewise.
8526 * gdb.python/py-prettyprint.exp: Likewise.
8527 * gdb.python/py-section-script.exp: Likewise.
8528 * gdb.python/py-typeprint.exp: Likewise.
8529 * gdb.python/py-xmethods.exp: Likewise.
8530 * gdb.stabs/weird.exp: Likewise.
8531 * gdb.xml/tdesc-regs.exp: Likewise.
8532
8533 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
8534
8535 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
8536 (out_cu): Use addr_len for the size of addresses.
8537 (out_line): Likewise. Size DW_LNE_set_address instruction
8538 according to addr_len.
8539 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
8540 (FUNC): Add START_INSNS to definition.
8541
8542 2014-10-18 Yao Qi <yao@codesourcery.com>
8543
8544 * gdb.base/argv0-symlink.exp: Check argv[0] value if
8545 gdb_has_argv0 return true.
8546 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
8547 check [target_info exists noargs], check [gdb_has_argv0]
8548 instead.
8549 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8550 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
8551 procedures.
8552
8553 2014-10-17 Doug Evans <dje@google.com>
8554
8555 * gdb.python/py-events.exp: Update expected output for clear_objfiles
8556 event.
8557 * gdb.python/py-events.py: Add clear_objfiles event.
8558
8559 2014-10-17 Doug Evans <dje@google.com>
8560
8561 * gdb.python/py-objfile.exp: Test progspace attribute.
8562
8563 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
8564
8565 * gdb.guile/scm-breakpoint.exp: Do not assume any
8566 directory separators when matching source file paths.
8567 * gdb.python/py-breakpoint.exp: Likewise.
8568 * gdb.reverse/break-precsave.exp: Likewise.
8569 * gdb.reverse/break-reverse.exp: Likewise.
8570 * gdb.reverse/consecutive-precsave.exp: Likewise.
8571 * gdb.reverse/finish-precsave.exp: Likewise.
8572 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8573 * gdb.reverse/finish-reverse.exp: Likewise.
8574 * gdb.reverse/i386-precsave.exp: Likewise.
8575 * gdb.reverse/i387-env-reverse.exp: Likewise.
8576 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8577 * gdb.reverse/machinestate-precsave.exp: Likewise.
8578 * gdb.reverse/machinestate.exp: Likewise.
8579 * gdb.reverse/sigall-precsave.exp: Likewise.
8580 * gdb.reverse/solib-precsave.exp: Likewise.
8581 * gdb.reverse/step-precsave.exp: Likewise.
8582 * gdb.reverse/until-precsave.exp: Likewise.
8583 * gdb.reverse/watch-precsave.exp: Likewise.
8584 * gdb.reverse/watch-reverse.exp: Likewise.
8585
8586 2014-10-17 Yao Qi <yao@codesourcery.com>
8587
8588 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
8589 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
8590
8591 2014-10-17 Pedro Alves <palves@redhat.com>
8592
8593 PR gdb/17471
8594 * gdb.base/bg-execution-repeat.c: New file.
8595 * gdb.base/bg-execution-repeat.exp: New file.
8596
8597 2014-10-17 Pedro Alves <palves@redhat.com>
8598
8599 PR gdb/17300
8600 * gdb.base/continue-all-already-running.c: New file.
8601 * gdb.base/continue-all-already-running.exp: New file.
8602
8603 2014-10-17 Pedro Alves <palves@redhat.com>
8604
8605 PR gdb/17472
8606 * gdb.base/annota-input-while-running.c: New file.
8607 * gdb.base/annota-input-while-running.exp: New file.
8608
8609 2014-10-17 Pedro Alves <palves@redhat.com>
8610
8611 * gdb.base/callfuncs.exp: emove references to osf.
8612 * gdb.base/sigall.exp: Likewise.
8613 * gdb.gdb/selftest.exp: Likewise.
8614 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
8615 * gdb.mi/non-stop.c: Likewise.
8616 * gdb.mi/pthreads.c: Likewise.
8617 * gdb.reverse/sigall-precsave.exp: Likewise.
8618 * gdb.reverse/sigall-reverse.exp: Likewise.
8619 * gdb.threads/pthreads.c: Likewise.
8620 * gdb.threads/pthreads.exp: Likewise.
8621
8622 2014-10-17 Yao Qi <yao@codesourcery.com>
8623
8624 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
8625 check 'target_info exists noargs'.
8626 (test_command_prompt_position): Likewise.
8627 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
8628 Remove "set args".
8629 (progvar_simple_while_test): Likewise.
8630 (progvar_complex_if_while_test): Likewise.
8631 (if_while_breakpoint_command_test): Likewise.
8632 (infrun_breakpoint_command_test): Likewise.
8633 (breakpoint_command_test): Likewise.
8634 (watchpoint_command_test): Likewise.
8635 (bp_deleted_in_command_test): Likewise.
8636 (temporary_breakpoint_commands): Likewise.
8637
8638 2014-10-16 Yao Qi <yao@codesourcery.com>
8639
8640 * gdb.base/remotetimeout.exp: Remove noargs checking.
8641
8642 2014-10-15 Pedro Alves <palves@redhat.com>
8643
8644 PR breakpoints/9649
8645 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
8646 * gdb.base/breakpoint-in-ro-region.exp
8647 (probe_target_hardware_step): New procedure.
8648 (top level): Probe hardware stepping and hardware breakpoint
8649 support. Test stepping through a read-only region, with both
8650 "breakpoint auto-hw" on and off and both "always-inserted" on and
8651 off.
8652
8653 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
8654
8655 * gdb.dlang/demangle.exp: Update for demangling changes.
8656
8657 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8658
8659 * gdb.cp/non-trivial-retval.cc: Add new test cases.
8660 * gdb.cp/non-trivial-retval.exp: Add new tests.
8661
8662 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8663
8664 PR c++/13403
8665 PR c++/15154
8666 * gdb.cp/non-trivial-retval.cc: New file.
8667 * gdb.cp/non-trivial-retval.exp: New file.
8668
8669 2014-10-15 Yao Qi <yao@codesourcery.com>
8670
8671 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
8672 remote host.
8673
8674 2014-10-15 Yao Qi <yao@codesourcery.com>
8675
8676 * gdb.python/py-symbol.exp: Match file base name if host is
8677 remote, otherwise match file name with dir name.
8678 * gdb.python/py-symtab.exp: Likewise.
8679 * gdb.python/python.exp: Likewise.
8680
8681 2014-10-15 Yao Qi <yao@codesourcery.com>
8682
8683 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
8684 pattern.
8685 * gdb.python/py-symtab.exp: Likewise.
8686 * gdb.python/python.exp: Remove trailing ".*". Fix typo
8687 locationn.
8688
8689 2014-10-14 Joel Brobecker <brobecker@adacore.com>
8690
8691 * gdb.ada/addr_arith: New testcase.
8692
8693 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
8694
8695 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
8696 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
8697 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
8698 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
8699
8700 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
8701
8702 * gdb.arch/stap-eval-lang-ada.S: Likewise.
8703 * gdb.arch/stap-eval-lang-ada.c: Likewise.
8704 * gdb.arch/stap-eval-lang-ada.exp: New file.
8705
8706 2014-10-14 Yao Qi <yao@codesourcery.com>
8707
8708 * gdb.mi/mi-var-child.c (nothing1): New function.
8709 (nothing2): New function.
8710 (do_children_tests): Set function pointers by nothing1 and
8711 nothing2.
8712 * gdb.mi/mi-var-child.exp: Step over new added statements.
8713 Update test to match the new output.
8714 * gdb.mi/var-cmd.c (nothing1): New function.
8715 (nothing2): New function.
8716 (do_children_tests): Set function pointers by nothing1 and
8717 nothing2.
8718 * gdb.mi/mi-var-display.exp: Update test to match output.
8719 Step to the line specified by $line_dct_nothing.
8720 Increase the number of lines to step.
8721
8722 2014-10-14 Yao Qi <yao@codesourcery.com>
8723
8724 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
8725 tests.
8726 * gdb.mi/mi2-var-child.exp: Likewise.
8727
8728 2014-10-13 Doug Evans <dje@google.com>
8729
8730 * gdb.python/py-objfile.exp: Change name of file name test.
8731
8732 2014-10-13 Doug Evans <dje@google.com>
8733
8734 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
8735 from the start of the CU.
8736
8737 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8738 Yao Qi <yao@codesourcery.com>
8739
8740 Fix "save breakpoints" for "catch" command.
8741 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
8742 Remove -nonewline. Match also the added "main" line.
8743
8744 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8745
8746 Fix "save breakpoints" for "disable $bpnum" command.
8747 * gdb.base/save-bp.c (main): Add label.
8748 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
8749
8750 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8751
8752 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
8753
8754 2014-10-11 Yao Qi <yao@codesourcery.com>
8755
8756 * gdb.server/server-kill.exp: Execute command
8757 "set remote trace-status-packet on" before "tstatus".
8758
8759 2014-10-11 Yao Qi <yao@codesourcery.com>
8760
8761 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
8762 (main): Call getppid.
8763 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
8764 and continue to it. Read variable "server_pid".
8765
8766 2014-10-11 Yao Qi <yao@codesourcery.com>
8767
8768 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
8769
8770 2014-10-11 Yao Qi <yao@codesourcery.com>
8771
8772 * gdb.threads/thread-find.exp: Don't execute command
8773 "info threads".
8774 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
8775 * gdb.threads/linux-dp.exp: Don't check the condition
8776 $threads_created equals to zero.
8777
8778 2014-10-10 Pedro Alves <palves@redhat.com>
8779
8780 * gdb.base/bigcore.exp: Remove references to IRIX.
8781 * gdb.base/funcargs.exp: Likewise.
8782 * gdb.base/interrupt.exp: Likewise.
8783 * gdb.base/mips_pro.exp: Likewise.
8784 * gdb.base/nodebug.exp: Likewise.
8785 * gdb.base/setvar.exp: Likewise.
8786 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
8787
8788 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8789 Pedro Alves <palves@redhat.com>
8790
8791 PR symtab/14466
8792 * gdb.base/vdso-warning.c: New file.
8793 * gdb.base/vdso-warning.exp: New file.
8794
8795 2014-10-02 Doug Evans <dje@google.com>
8796
8797 * gdb.base/structs.c (main): Don't run forever.
8798
8799 2014-10-02 Pedro Alves <palves@redhat.com>
8800
8801 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
8802 (top level) <stop threads 1, stop threads 2>: Use it.
8803
8804 2014-10-02 Pedro Alves <palves@redhat.com>
8805
8806 * gdb.threads/break-while-running.exp (test): Add new
8807 'update_thread_list' argument. Skip "info threads" if false.
8808 (top level): Add new 'update_thread_list' axis.
8809
8810 2014-10-02 Pedro Alves <palves@redhat.com>
8811
8812 PR breakpoints/17431
8813 * gdb.base/execl-update-breakpoints.c: New file.
8814 * gdb.base/execl-update-breakpoints.exp: New file.
8815
8816 2014-10-01 Pedro Alves <palves@redhat.com>
8817
8818 * gdb.base/breakpoint-in-ro-region.c: New file.
8819 * gdb.base/breakpoint-in-ro-region.exp: New file.
8820
8821 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
8822
8823 * gdb.mi/mi-exit-code.exp: New file.
8824 * gdb.mi/mi-exit-code.c: New file.
8825
8826 2014-09-30 Yao Qi <yao@codesourcery.com>
8827
8828 * lib/prelink-support.exp (build_executable_own_libs): Error if
8829 the target isn't native.
8830
8831 2014-09-30 Yao Qi <yao@codesourcery.com>
8832
8833 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
8834 false.
8835
8836 2014-09-22 Pedro Alves <palves@redhat.com>
8837
8838 * gdb.threads/break-while-running.exp: New file.
8839 * gdb.threads/break-while-running.c: New file.
8840
8841 2014-09-19 Yao Qi <yao@codesourcery.com>
8842
8843 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
8844 Invoke test. Restart GDB with --readnow and invoke test again.
8845
8846 2014-09-19 Yao Qi <yao@codesourcery.com>
8847
8848 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
8849 proc set_breakpoint_on_gcd_function. Invoke
8850 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
8851 invoke set_breakpoint_on_gcd_function again.
8852
8853 2014-09-18 Doug Evans <dje@google.com>
8854
8855 * gdb.dwarf2/symtab-producer.exp: New file.
8856
8857 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8858
8859 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
8860 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
8861 * gdb.base/global-var-nested-by-dso.c: Likewise.
8862 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8863
8864 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8865 Pedro Alves <palves@redhat.com>
8866
8867 * gdb.base/watch-bitfields.exp: Pass string other than test file
8868 name to prepare_for_testing.
8869 (watch): New procedure.
8870 (expect_watchpoint): Use with_test_prefix.
8871 (top level): Factor out tests to ...
8872 (test_watch_location, test_regular_watch): ... these new
8873 procedures, and use with_test_prefix and gdb_continue_to_end.
8874
8875 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
8876
8877 PR breakpoints/12526
8878 * gdb.base/watch-bitfields.exp: New file.
8879 * gdb.base/watch-bitfields.c: New file.
8880
8881 2014-09-16 Pedro Alves <palves@redhat.com>
8882
8883 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
8884 software and hardware addresses, not software address against
8885 itself.
8886
8887 2014-09-16 Pedro Alves <palves@redhat.com>
8888
8889 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
8890 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
8891
8892 2014-09-16 Pedro Alves <palves@redhat.com>
8893
8894 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
8895 files.
8896 * gdb.base/a2-run.exp: Remove all code guarded by istarget
8897 "*-*-vxworks*" throughout.
8898 * gdb.base/break.exp: Likewise.
8899 * gdb.base/default.exp: Likewise.
8900 * gdb.base/scope.exp: Likewise.
8901 * gdb.base/sepdebug.exp: Likewise.
8902 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
8903 throughout.
8904 * gdb.base/run.c: Likewise.
8905 * gdb.base/sepdebug.c: Likewise.
8906 * gdb.hp/gdb.aCC/run.c: Likewise.
8907 * gdb.reverse/until-reverse.c: Likewise.
8908 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
8909
8910 2014-09-16 Yao Qi <yao@codesourcery.com>
8911
8912 * boards/local-remote-host-native.exp: New file.
8913
8914 2014-09-14 Doug Evans <xdje42@gmail.com>
8915
8916 * gdb.threads/queue-signal.c (thread_count): New variable.
8917 (thread_count_mutex, thread_count_condvar): New variables.
8918 (incr_thread_count, wait_all_threads_running): New functions.
8919 (main): Wait for all threads to be in their thread functions.
8920
8921 2014-09-13 Doug Evans <xdje42@gmail.com>
8922
8923 * gdb.threads/queue-signal.c: New file.
8924 * gdb.threads/queue-signal.exp: New file.
8925
8926 2014-09-13 Doug Evans <xdje42@gmail.com>
8927
8928 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
8929 be consistent with what default_gdb_init uses.
8930 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
8931 the plain text of the prompt. Add some logging printfs.
8932 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
8933
8934 2014-09-12 Pedro Alves <palves@redhat.com>
8935
8936 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
8937 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
8938 * gdb.arch/i386-size-overlap.exp: Likewise.
8939 * gdb.arch/i386-size.exp: Likewise.
8940 * gdb.arch/i386-unwind.exp: Likewise.
8941 * gdb.base/a2-run.exp: Likewise.
8942 * gdb.base/break.exp: Likewise.
8943 * gdb.base/charset.exp: Likewise.
8944 * gdb.base/chng-syms.exp: Likewise.
8945 * gdb.base/commands.exp: Likewise.
8946 * gdb.base/dbx.exp: Likewise.
8947 * gdb.base/find.exp: Likewise.
8948 * gdb.base/funcargs.exp: Likewise.
8949 * gdb.base/jit-simple.exp: Likewise.
8950 * gdb.base/reread.exp: Likewise.
8951 * gdb.base/sepdebug.exp: Likewise.
8952 * gdb.base/step-bt.exp: Likewise.
8953 * gdb.cp/mb-inline.exp: Likewise.
8954 * gdb.cp/mb-templates.exp: Likewise.
8955 * gdb.objc/basicclass.exp: Likewise.
8956 * gdb.threads/killed.exp: Likewise.
8957
8958 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8959
8960 PR tdep/17379
8961 * gdb.arch/powerpc-stackless.S: New file.
8962 * gdb.arch/powerpc-stackless.exp: New file.
8963
8964 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8965
8966 * gdb.base/attach.c: Include unistd.h.
8967 (main): Call alarm. Add label postloop.
8968 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
8969 gdb_breakpoint, gdb_continue_to_breakpoint.
8970 (test_command_line_attach_run): Kill ${testpid} in one exit path.
8971
8972 2014-09-11 Pedro Alves <palves@redhat.com>
8973
8974 PR gdb/17347
8975 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
8976 * gdb.base/attach.exp (test_command_line_attach_run): New
8977 procedure.
8978 (top level): Call it.
8979
8980 2014-09-11 Pedro Alves <palves@redhat.com>
8981
8982 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
8983 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
8984 (do_command_attach_tests): Use spawn_wait_for_attach.
8985 * gdb.base/solib-overlap.exp: Likewise.
8986 * gdb.multi/multi-attach.exp: Likewise.
8987 * gdb.python/py-prompt.exp: Likewise.
8988 * gdb.python/py-sync-interp.exp: Likewise.
8989 * gdb.server/ext-attach.exp: Likewise.
8990
8991 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
8992
8993 * gdb.fortran/array-element.exp: Remove unexpected "continue"
8994 command in testcase. Simplify testcase.
8995
8996 2014-09-10 Joel Brobecker <brobecker@adacore.com>
8997
8998 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
8999
9000 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9001
9002 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
9003
9004 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9005
9006 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
9007
9008 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9009
9010 * gdb.dwarf2/dynarr-ptr.c: New file.
9011 * gdb.dwarf2/dynarr-ptr.exp: New file.
9012
9013 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9014
9015 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
9016 of 30 rather than hardcoding 120 for a slow test case. Take the
9017 `gdb,timeout' target setting into account for this calculation.
9018 Don't extend the timeout for the test cases that don't need it.
9019
9020 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9021
9022 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
9023 a factor of 2 for a slow test case. Take the `gdb,timeout'
9024 target setting into account for this calculation.
9025 * gdb.reverse/until-precsave.exp: Increase the timeout by
9026 a factor of 15 and 3 respectively rather than adding 120
9027 for a pair of slow test cases. Take the `gdb,timeout'
9028 target setting into account for this calculation.
9029
9030 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9031
9032 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
9033 timeout, don't pass one down to gdb_expect.
9034 (gdb_expect): Rework timeout selection.
9035
9036 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9037
9038 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
9039 exception on timeout.
9040 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
9041 (gdbserver_start_extended): Catch any `gdbserver_start' error
9042 exceptions.
9043 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
9044 * lib/mi-support.exp (mi_gdb_target_load): Catch any
9045 `gdbserver_gdb_load' error exceptions.
9046
9047 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9048
9049 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
9050 120 on waiting for the TCP socket to open.
9051
9052 2014-09-09 Doug Evans <xdje42@gmail.com>
9053
9054 * gdb.base/default.exp (show_conv_list): Add _caller_is,
9055 _caller_matches, _any_caller_is, _any_caller_matches.
9056
9057 2014-09-09 Doug Evans <xdje42@gmail.com>
9058
9059 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
9060
9061 2014-09-09 Yao Qi <yao@codesourcery.com>
9062
9063 * gdb.mi/mi-var-display.exp: Set print symbol off.
9064
9065 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
9066
9067 PR gdb/17035
9068 * gdb.base/commands.exp: Add tests to verify user-defined
9069 commands with empty bodies.
9070 * gdb.python/py-cmd.exp: Test that we don't show user-defined
9071 python commands in `show user command`.
9072 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
9073 scheme commands in `show user command`.
9074
9075 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9076
9077 PR python/17355
9078 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
9079 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
9080 * gdb.python/py-framefilter-invalidarg.exp: New file.
9081 * gdb.python/py-framefilter-invalidarg.py: New file.
9082
9083 2014-09-06 Doug Evans <xdje42@gmail.com>
9084
9085 PR 15276
9086 * gdb.python/py-caller-is.c: New file.
9087 * gdb.python/py-caller-is.exp: New file.
9088
9089 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
9090
9091 PR gdb/17235
9092 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
9093 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
9094
9095 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
9096
9097 PR fortran/17237
9098 * gdb.fortran/print-formatted.exp: New file.
9099 * gdb.fortran/print-formatted.f90: Likewise.
9100
9101 2014-09-03 Sasha Smundak <asmundak@google.com>
9102
9103 * gdb.python/py-frame.exp: Test Frame.read_register.
9104
9105 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
9106
9107 PR python/16699
9108 * gdb.python/py-completion.exp: New file.
9109 * gdb.python/py-completion.py: Likewise.
9110
9111 2014-08-28 Doug Evans <dje@google.com>
9112
9113 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
9114 eax,etc. are live with values set by gdb and thus the compiler can't
9115 use them.
9116 * gdb.arch/i386-pseudo.c (main): Ditto.
9117
9118 2014-08-27 Doug Evans <dje@google.com>
9119
9120 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
9121
9122 2014-08-25 Doug Evans <dje@google.com>
9123
9124 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
9125 (main): Ditto.
9126
9127 2014-08-25 Doug Evans <dje@google.com>
9128
9129 * gdb.threads/thread-execl.exp: #include <stdio.h>.
9130
9131 2014-08-24 Yao Qi <yao@codesourcery.com>
9132
9133 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
9134 symbol off.
9135 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
9136
9137 2014-08-22 Doug Evans <dje@google.com>
9138
9139 PR 17276
9140 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
9141 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
9142 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
9143
9144 2014-08-22 Yao Qi <yao@codesourcery.com>
9145
9146 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
9147 * gdb.python/py-finish-breakpoint2.exp: Likewise.
9148 * gdb.python/python.exp: Likewise. Use .py file on the host
9149 instead of the build.
9150
9151 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9152
9153 * gdb.threads/gcore-stale-thread.c: New file.
9154 * gdb.threads/gcore-stale-thread.exp: New file.
9155
9156 2014-08-21 Pedro Alves <palves@redhat.com>
9157
9158 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
9159 * gdb.base/gcore-relro-pie.exp: Likewise.
9160 * gdb.base/gcore-relro.exp: Likewise.
9161 * gdb.base/gcore.exp: Likewise.
9162 * gdb.base/print-symbol-loading.exp: Likewise.
9163 * gdb.threads/gcore-thread.exp: Likewise.
9164 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
9165
9166 2014-08-20 Pedro Alves <palves@redhat.com>
9167 Jan Kratochvil <jan.kratochvil@redhat.com>
9168
9169 * Makefile.in (EXTRA_RULES, CC): New variables, get from
9170 configure.
9171 (EXPECT): Handle READ1 being set.
9172 (all): Depend on EXTRA_RULES.
9173 (check-read1, expect-read1, read1.so, read1): New rules.
9174 * README (Testsuite Parameters): Document the READ1 make variable.
9175 (Race detection): New section.
9176 * configure: Regenerate.
9177 * configure.ac: If build==host==target, and running under a
9178 GNU/glibc system, add read1 to the extra Makefile rules.
9179 (EXTRA_RULES): AC_SUBST it.
9180 * lib/read1.c: New file.
9181
9182 2014-08-20 Joel Brobecker <brobecker@adacore.com>
9183
9184 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
9185 the handling of variables declared as a typedef to an array
9186 which a DW_AT_data_location attribute.
9187
9188 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
9189 Pedro Alves <palves@redhat.com>
9190
9191 PR symtab/14604
9192 PR symtab/14605
9193 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
9194 gdb_test.
9195
9196 2014-08-19 Pedro Alves <palves@redhat.com>
9197
9198 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
9199
9200 2014-08-19 Yao Qi <yao@codesourcery.com>
9201
9202 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
9203 right line.
9204
9205 2014-08-18 David Blaikie <dblaikie@gmail.com>
9206
9207 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
9208
9209 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9210
9211 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
9212 attribute in array range.
9213
9214 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9215
9216 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
9217
9218 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9219
9220 PR c++/17132
9221 * gdb.cp/pr17132.cc: New file.
9222 * gdb.cp/pr17132.exp: New file.
9223
9224 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9225
9226 * gdb.python/py-xmethods.py (A_getarrayind)
9227 (E_method_char_worker.__call__, E_method_int_worker.__call__):
9228 Use 'print' with function call syntax.
9229 (E_method_matcher.match): Fix tab vs space indentation mixup.
9230
9231 2014-08-15 Yao Qi <yao@codesourcery.com>
9232
9233 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
9234 false.
9235
9236 2014-08-15 Yao Qi <yao@codesourcery.com>
9237
9238 * gdb.cp/casts.exp: Set print symbol off.
9239 * gdb.cp/class2.exp: Likewise.
9240 * gdb.cp/overload.exp: Likewise.
9241 * gdb.cp/templates.exp: Likewise.
9242
9243 2014-08-11 Doug Evans <dje@google.com>
9244
9245 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9246 (test_load_shlib): Update.
9247
9248 2014-08-09 Yao Qi <yao@codesourcery.com>
9249
9250 * gdb.base/display.exp: Invoke is_address_zero_readable.
9251 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
9252 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9253 * gdb.base/hbreak-unmapped.exp: Return if
9254 is_address_zero_readable returns true.
9255 * gdb.base/signest.exp: Likewise.
9256 * gdb.base/signull.exp: Likewise.
9257 * gdb.base/sigbpt.exp: Likewise.
9258 * gdb.guile/scm-disasm.exp: Do the test if
9259 is_address_zero_readable returns false.
9260 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
9261 * gdb.python/py-arch.exp: Likewise.
9262 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
9263 * lib/gdb.exp (is_address_zero_readable): New proc.
9264
9265 2014-08-09 Yao Qi <yao@codesourcery.com>
9266
9267 PR testsuite/13443
9268 * gdb.mi/mi-var-display.exp: Make test messages unique.
9269
9270 2014-08-04 Tom Tromey <tromey@redhat.com>
9271
9272 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
9273 target 0".
9274
9275 2014-08-04 Tom Tromey <tromey@redhat.com>
9276
9277 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
9278 "target_resume".
9279
9280 2014-08-01 Joel Brobecker <brobecker@adacore.com>
9281
9282 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9283 inner_vla_struct_object_size.
9284 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
9285 as xfail.
9286
9287 2014-07-30 Pedro Alves <palves@redhat.com>
9288
9289 * gdb.threads/signal-command-handle-nopass.exp (test): Add
9290 comment.
9291
9292 2014-07-29 Yao Qi <yao@codesourcery.com>
9293
9294 PR gdb/17206
9295 * gdb.base/until-nodebug.exp: New.
9296
9297 2014-07-28 Doug Evans <xdje42@gmail.com>
9298
9299 PR guile/17203
9300 * gdb.guile/scm-parameter.exp: Add tests for trying to create
9301 previously existing parameter, and previously ambiguously spelled
9302 parameter.
9303
9304 2014-07-28 Will Newton <will.newton@linaro.org>
9305
9306 * gdb.base/varargs.exp: Remove KFAILs for ARM.
9307
9308 2014-07-26 Ludovic Courtès <ludo@gnu.org>
9309 Doug Evans <xdje42@gmail.com>
9310
9311 PR guile/17146
9312 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
9313
9314 2014-07-25 Pedro Alves <palves@redhat.com>
9315
9316 * gdb.threads/signal-command-handle-nopass.c: New file.
9317 * gdb.threads/signal-command-handle-nopass.exp: New file.
9318 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
9319 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
9320 * gdb.threads/signal-delivered-right-thread.c: New file.
9321 * gdb.threads/signal-delivered-right-thread.exp: New file.
9322
9323 2014-07-25 Pedro Alves <palves@redhat.com>
9324
9325 * gdb.base/double-prompt-target-event-error.exp
9326 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
9327 match.
9328 (cancel_pagination_in_target_event): Rework double prompt
9329 detection.
9330 * gdb.base/paginate-after-ctrl-c-running.exp
9331 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
9332 <return>' match.
9333 * gdb.base/paginate-bg-execution.exp
9334 (test_bg_execution_pagination_return)
9335 (test_bg_execution_pagination_cancel): Remove '-notransfer
9336 <return>' matches.
9337 * gdb.base/paginate-execution-startup.exp
9338 (test_fg_execution_pagination_return)
9339 (test_fg_execution_pagination_cancel): Remove '-notransfer
9340 <return>' matches.
9341 * gdb.base/paginate-inferior-exit.exp
9342 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9343 match.
9344 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9345 * lib/gdb.exp (pagination_prompt): Run text through
9346 string_to_regexp.
9347 (gdb_test_multiple): Match $pagination_prompt instead of
9348 "<return>".
9349 (string_to_regexp): Move to lib/gdb-utils.exp.
9350
9351 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9352
9353 * gdb.arch/amd64-entry-value-paramref.S: New file.
9354 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9355 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9356 * gdb.arch/amd64-optimout-repeat.S: New file.
9357 * gdb.arch/amd64-optimout-repeat.c: New file.
9358 * gdb.arch/amd64-optimout-repeat.exp: New file.
9359
9360 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9361
9362 PR gdb/17170
9363 * gdb.base/statistics.exp: New file.
9364
9365 2014-07-17 Doug Evans <dje@google.com>
9366
9367 PR gdb/17170
9368 * gdb.base/maint.exp: Update testing of per-command stats.
9369
9370 2014-07-16 Pedro Alves <palves@redhat.com>
9371
9372 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9373 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9374 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9375 (tfile_write_buf): New functions.
9376 (add_memory_block): Rewrite using the above.
9377 (adjust_function_address): New function.
9378 (FUNCTION_ADDRESS): New macro.
9379 (write_basic_trace_file): Remove short_x local, and use
9380 tfile_write_16. Change type of func_addr local to unsigned long
9381 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9382 here. Cast argument of add_memory_block to char pointer.
9383 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9384 (main): Remove parameters.
9385 * gdb.trace/tfile.exp: Remove nowarnings.
9386
9387 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9388
9389 * gdb.base/debug-expr.exp: Test string evaluation with
9390 "debug expression" on.
9391
9392 2014-07-15 Pedro Alves <palves@redhat.com>
9393
9394 * gdb.base/reread.exp: Use clean_restart.
9395
9396 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9397
9398 * gdb.arch/avr-flash-qualifer.c: New.
9399 * gdb.arch/avr-flash-qualifer.exp: New.
9400
9401 2014-07-14 Pedro Alves <palves@redhat.com>
9402
9403 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9404 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9405
9406 2014-07-14 Pedro Alves <palves@redhat.com>
9407
9408 * gdb.base/double-prompt-target-event-error.c: New file.
9409 * gdb.base/double-prompt-target-event-error.exp: New file.
9410
9411 2014-07-14 Pedro Alves <palves@redhat.com>
9412
9413 PR gdb/17072
9414 * gdb.base/paginate-inferior-exit.c: New file.
9415 * gdb.base/paginate-inferior-exit.exp: New file.
9416
9417 2014-07-14 Pedro Alves <palves@redhat.com>
9418
9419 PR gdb/17072
9420 * gdb.base/paginate-bg-execution.c: New file.
9421 * gdb.base/paginate-bg-execution.exp: New file.
9422
9423 2014-07-14 Pedro Alves <palves@redhat.com>
9424
9425 PR gdb/17072
9426 * gdb.base/paginate-execution-startup.c: New file.
9427 * gdb.base/paginate-execution-startup.exp: New file.
9428 * lib/gdb.exp (pagination_prompt): New global.
9429 (default_gdb_spawn): New procedure, factored out from
9430 default_gdb_spawn.
9431 (default_gdb_start): Adjust to call default_gdb_spawn.
9432 (gdb_spawn): New procedure.
9433
9434 2014-07-14 Pedro Alves <palves@redhat.com>
9435
9436 * lib/gdb.exp (gdb_assert): New procedure.
9437 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
9438
9439 2014-07-14 Pedro Alves <palves@redhat.com>
9440
9441 * gdb.base/execution-termios.c: New file.
9442 * gdb.base/execution-termios.exp: New file.
9443
9444 2014-07-14 Tom Tromey <tromey@redhat.com>
9445
9446 * gdb.cp/vla-cxx.cc: New file.
9447 * gdb.cp/vla-cxx.exp: New file.
9448
9449 2014-07-14 Tom Tromey <tromey@redhat.com>
9450
9451 * gdb.reverse/rerun-prec.c: New file.
9452 * gdb.reverse/rerun-prec.exp: New file.
9453
9454 2014-07-12 Maciej W. Rozycki <macro@mips.com>
9455 Maciej W. Rozycki <macro@codesourcery.com>
9456
9457 * lib/gdb-utils.exp: New file.
9458 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
9459 inline `gdb_init_command' processing.
9460 (gdb_start_cmd): Likewise.
9461 * lib/mi-support.exp (mi_run_cmd): Likewise.
9462 * README: Document `gdb_init_command' and `gdb_init_commands'.
9463
9464 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9465
9466 Fix false FAIL running under a very long directory name.
9467 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
9468 and "set print elements 10000". Twice.
9469
9470 2014-07-11 Yao Qi <yao@codesourcery.com>
9471
9472 * gdb.base/exprs.exp: "set print symbol off".
9473
9474 2014-07-11 Pedro Alves <palves@redhat.com>
9475
9476 * gdb.threads/kill.c: New file.
9477 * gdb.threads/kill.exp: New file.
9478
9479 2014-07-10 Yao Qi <yao@codesourcery.com>
9480
9481 * gdb.trace/tfile.c (write_basic_trace_file)
9482 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
9483 address written to trace file.
9484
9485 2014-07-09 Pedro Alves <palves@redhat.com>
9486
9487 * gdb.base/attach-wait-input.exp: New file.
9488 * gdb.base/attach-wait-input.c: New file.
9489
9490 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9491
9492 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
9493 setting up test structures.
9494 (main): Call new test function.
9495 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
9496 test function, continue into test function and walk test
9497 structures.
9498
9499 2014-07-02 Yao Qi <yao@codesourcery.com>
9500
9501 * gdb.trace/entry-values.c: Define labels 'foo_start' and
9502 'bar_start' at the beginning of functions 'foo' and 'bar'
9503 respectively.
9504 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
9505 instead of 'foo' and 'bar'.
9506
9507 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
9508
9509 * gdb.btrace/segv.exp: New.
9510 * gdb.btrace/segv.c: New.
9511
9512 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
9513
9514 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
9515 instruction.
9516
9517 2014-06-30 Mark Wielaard <mjw@redhat.com>
9518
9519 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
9520 vulture, vilify, villar): New volatile array constants.
9521 (vindictive, vegetation): New const volatile array constants.
9522 * gdb.base/volatile.exp: Test volatile and const volatile array
9523 types.
9524
9525 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9526
9527 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
9528 target lacks support for awatch, rwatch, or hbreak.
9529
9530 2014-06-27 Yao Qi <yao@codesourcery.com>
9531
9532 * gdb.multi/dummy-frame-restore.exp: New.
9533 * gdb.multi/dummy-frame-restore.c: New.
9534
9535 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
9536
9537 * gdb.btrace/gcore.exp: New.
9538
9539 2014-06-23 Pedro Alves <palves@redhat.com>
9540
9541 * gdb.base/watchpoint-reuse-slot.c: New file.
9542 * gdb.base/watchpoint-reuse-slot.exp: New file.
9543
9544 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
9545
9546 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
9547 progspace's filename in 'info', 'enable' and 'disable' command
9548 tests.
9549
9550 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9551
9552 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
9553 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9554 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
9555
9556 2014-06-20 Gary Benson <gbenson@redhat.com>
9557
9558 * gdb.arch/i386-avx.exp: Fix include file location.
9559 * gdb.arch/i386-sse.exp: Likewise.
9560
9561 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
9562
9563 * gdb.dlang/expression.exp: New file.
9564
9565 2014-06-19 Pedro Alves <palves@redhat.com>
9566
9567 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
9568 out from ...
9569 (top level): ... here. Iterate running tests under different
9570 scheduler-locking settings.
9571
9572 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
9573
9574 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
9575 to DW_FORM_addr and use non-zero addresses.
9576
9577 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
9578
9579 PR gdb/17017
9580 * gdb.python/py-xmethods.cc: Add global function call counters and
9581 increment them in their respective functions. Remove "cout"
9582 statements.
9583 * gdb.python/py-xmethods.exp: Make tests check the global function
9584 call counters instead of depending on inferior IO.
9585
9586 2014-06-18 Don Breazeal <donb@codesourcery.com>
9587
9588 * gdb.base/foll-fork.exp (default_fork_parent_follow):
9589 Deleted procedure.
9590 (explicit_fork_parent_follow): Deleted procedure.
9591 (explicit_fork_child_follow): Deleted procedure.
9592 (test_follow_fork): New procedure.
9593 (do_fork_tests): Replace calls to deleted procedures with
9594 calls to test_follow_fork and reset GDB for subsequent
9595 procedure calls.
9596
9597 2014-06-17 Yao Qi <yao@codesourcery.com>
9598
9599 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
9600 CP1252.
9601
9602 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
9603
9604 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
9605 Initialize ptr and S explicitly.
9606 (skip_type_update_when_not_use_rtti_test): Likewise.
9607
9608 2014-06-16 Keith Seitz <keiths@redhat.com>
9609
9610 PR mi/15863
9611 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
9612 the inferior is started.
9613
9614 2014-06-16 Pedro Alves <palves@redhat.com>
9615
9616 * gdb.base/break-main-file-remove-fail.c: New file.
9617 * gdb.base/break-main-file-remove-fail.exp: New file.
9618 * gdb.base/break-unload-file.exp: Use build_executable instead of
9619 prepare_for_testing.
9620 (test_break): New parameter "initial_load". Handle it.
9621 (top level): Add initial_load cmdline/file axis.
9622
9623 2014-06-12 Tom Tromey <tromey@redhat.com>
9624
9625 * gdb.base/completion.exp: Don't use directory name in test.
9626
9627 2014-06-09 Gary Benson <gbenson@redhat.com>
9628
9629 * gdb.base/sigall.c [Functions to send signals]: Reorder to
9630 separate the always-available ANSI-standard signals from the
9631 signals that require checking.
9632 (main): Likewise.
9633 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
9634 Likewise.
9635 (main): Likewise.
9636
9637 2014-06-07 Keith Seitz <keiths@redhat.com>
9638
9639 Revert:
9640 PR c++/16253
9641 * gdb.cp/var-tag.cc: New file.
9642 * gdb.cp/var-tag.exp: New file.
9643 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9644 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9645 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9646 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9647
9648 2014-06-06 Doug Evans <xdje42@gmail.com>
9649
9650 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
9651
9652 2014-06-06 Pedro Alves <palves@redhat.com>
9653
9654 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
9655 in target debug output instead of looking at RSP packets,
9656 disabling the test on any target that uses hardware stepping.
9657 Update comments.
9658
9659 2014-06-06 Pedro Alves <palves@redhat.com>
9660
9661 * gdb.base/break-unload-file.exp: Fix typo.
9662
9663 2014-06-06 Yao Qi <yao@codesourcery.com>
9664
9665 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
9666 from "jit_function" to "^jit_function".
9667
9668 2014-06-06 Yao Qi <yao@codesourcery.com>
9669
9670 * gdb.base/async.c (foo): Add one statement.
9671 * gdb.base/async.exp: Get the next instruction address and
9672 match the output of "nexti" by instruction address. Match
9673 the hex address in the output of "finish".
9674
9675 2014-06-06 Gary Benson <gbenson@redhat.com>
9676
9677 * gdb.base/call-signals.c: Remove preprocessor conditionals
9678 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
9679 SIGSEGV and SIGTERM.
9680 * gdb.base/sigall.c: Likewise.
9681 * gdb.base/unwindonsignal.c: Likewise.
9682 * gdb.reverse/sigall-reverse.c: Likewise.
9683
9684 2014-06-06 Yao Qi <yao@codesourcery.com>
9685
9686 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
9687 readable, skip the test.
9688
9689 2014-06-06 Yao Qi <yao@codesourcery.com>
9690
9691 * gdb.threads/staticthreads.c (thread_function): Move the line
9692 setting breakpoint on forward.
9693 * gdb.threads/staticthreads.exp: Update comments.
9694
9695 2014-06-05 Ludovic Courtès <ludo@gnu.org>
9696
9697 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
9698 "history-append! type error".
9699
9700 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
9701
9702 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
9703 erroneous dprintf expected input.
9704
9705 2014-06-04 Doug Evans <xdje42@gmail.com>
9706
9707 * gdb.guile/scm-generics.exp: Delete.
9708
9709 2014-06-04 Doug Evans <xdje42@gmail.com>
9710
9711 * gdb.guile/scm-breakpoint.exp: Update.
9712 Add tests for breakpoint registration.
9713
9714 2014-06-04 Tom Tromey <tromey@redhat.com>
9715
9716 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
9717 VLA-in-union.
9718 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
9719 inner_vla_struct, vla_union types. Initialize objects of those
9720 types and compute their sizes.
9721
9722 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
9723 Hui Zhu <hui@codesourcery.com>
9724
9725 * gdb.base/fileio.exp: Add test for shell not available as well as
9726 available.
9727 * gdb.base/fileio.c (test_system): Check for shell twice.
9728
9729 2014-06-04 Yao Qi <yao@codesourcery.com>
9730
9731 * gdb.base/auto-connect-native-target.exp: Remove redundant
9732 space from the regexp pattern.
9733
9734 2014-06-04 Yao Qi <yao@codesourcery.com>
9735
9736 * gdb.base/default.exp: Replace "child" with "native" in
9737 regexp pattern.
9738
9739 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
9740
9741 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
9742 * gdb.python/py-xmethods.exp: New tests to test xmethods.
9743 * gdb.python/py-xmethods.py: Python script supporting the
9744 new testcase and tests.
9745
9746 2014-06-03 Joel Brobecker <brobecker@adacore.com>
9747 Pedro Alves <palves@redhat.com>
9748
9749 PR breakpoints/17000
9750 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
9751 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
9752
9753 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
9754
9755 * gdb.base/subst.exp: Add tests to verify partial path matching
9756 output.
9757
9758 2014-06-03 Pedro Alves <palves@redhat.com>
9759
9760 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
9761 target that doesn't use software single-stepping.
9762
9763 2014-06-03 Pedro Alves <palves@redhat.com>
9764
9765 PR breakpoints/17000
9766 * gdb.base/sss-bp-on-user-bp-2.c: New file.
9767 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
9768
9769 2014-06-02 Doug Evans <xdje42@gmail.com>
9770
9771 * gdb.guile/scm-parameter.exp: New file.
9772
9773 2014-06-02 Doug Evans <xdje42@gmail.com>
9774
9775 * gdb.guile/scm-cmd.c: New file.
9776 * gdb.guile/scm-cmd.exp: New file.
9777
9778 2014-06-02 Doug Evans <xdje42@gmail.com>
9779
9780 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
9781 pretty-printer lookup.
9782 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
9783 (make-pp_s-printer): Call it.
9784 (make-pretty-printer-from-dict): New function.
9785 (lookup-pretty-printer-maker-from-dict): New function.
9786 (*pretty-printer*): Simplify.
9787 (make-objfile-pp_s-printer): New function.
9788 (install-objfile-pretty-printers!): New function.
9789 (make-progspace-pp_s-printer): New function.
9790 (install-progspace-pretty-printers!): New function.
9791 * gdb.guile/scm-progspace.c: New file.
9792 * gdb.guile/scm-progspace.exp: New file.
9793
9794 2014-06-02 Pedro Alves <palves@redhat.com>
9795
9796 * gdb.base/dprintf-bp-same-addr.c: New file.
9797 * gdb.base/dprintf-bp-same-addr.exp: New file.
9798
9799 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9800
9801 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
9802 * gdb.arch/powerpc-power.s: Likewise.
9803
9804 2014-06-02 Joel Brobecker <brobecker@adacore.com>
9805
9806 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
9807
9808 2014-06-01 Yao Qi <yao@codesourcery.com>
9809
9810 * gdb.base/watchpoint.exp (test_watch_location): Check null
9811 pointer can be dereferenced. If not, do the test, otherwise
9812 skip it.
9813
9814 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9815
9816 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
9817 results.
9818 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
9819
9820 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9821
9822 * gdb.arch/amd64-invalid-stack-middle.S: New file.
9823 * gdb.arch/amd64-invalid-stack-middle.c: New file.
9824 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
9825 * gdb.arch/amd64-invalid-stack-top.c: New file.
9826 * gdb.arch/amd64-invalid-stack-top.exp: New file.
9827
9828 2014-05-30 Pedro Alves <palves@redhat.com>
9829
9830 PR breakpoints/17000
9831 * gdb.base/sss-bp-on-user-bp.c: New file.
9832 * gdb.base/sss-bp-on-user-bp.exp: New file.
9833
9834 2014-05-30 David Blaikie <dblaikie@gmail.com>
9835
9836 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
9837 gnu_inline semantics via attribute.
9838 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
9839 source explicitly specifies the required semantics.
9840
9841 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
9842
9843 * gdb.reverse/sigall-reverse.exp: Fix a typo.
9844
9845 2014-05-29 Pedro Alves <palves@redhat.com>
9846 Tom Tromey <tromey@redhat.com>
9847
9848 * gdb.base/async-shell.exp: Don't enable target-async.
9849 * gdb.base/async.exp
9850 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
9851 parameter. Adjust.
9852 (top level): Don't test with "target-async".
9853 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
9854 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
9855 * gdb.base/inferior-died.exp: Don't enable target-async.
9856 * gdb.base/interrupt-noterm.exp: Likewise.
9857 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
9858 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9859 * gdb.mi/mi-nonstop.exp: Likewise.
9860 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9861 * gdb.mi/mi-nsintrall.exp: Likewise.
9862 * gdb.mi/mi-nsmoribund.exp: Likewise.
9863 * gdb.mi/mi-nsthrexec.exp: Likewise.
9864 * gdb.mi/mi-watch-nonstop.exp: Likewise.
9865 * gdb.multi/watchpoint-multi.exp: Adjust comment.
9866 * gdb.python/py-evsignal.exp: Don't enable target-async.
9867 * gdb.python/py-evthreads.exp: Likewise.
9868 * gdb.python/py-prompt.exp: Likewise.
9869 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
9870 * gdb.server/solib-list.exp: Don't enable target-async.
9871 * gdb.threads/thread-specific-bp.exp: Likewise.
9872 * lib/mi-support.exp: Adjust to use mi-async.
9873
9874 2014-05-29 Pedro Alves <palves@redhat.com>
9875
9876 PR gdb/13860
9877 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
9878 reason, even in sync mode.
9879
9880 2014-05-29 Pedro Alves <palves@redhat.com>
9881 Hui Zhu <hui@codesourcery.com>
9882
9883 PR PR15693
9884 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
9885 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
9886 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
9887 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
9888
9889 2014-05-28 Joel Brobecker <brobecker@adacore.com>
9890
9891 * config/monitor.exp (gdb_target_monitor): Replace use of
9892 "set remotebaud" by "set serial baud".
9893
9894 2014-05-26 Andy Wingo <wingo@igalia.com>
9895
9896 * gdb.guile/scm-breakpoint.exp:
9897 * gdb.guile/scm-gsmob.exp: Update to use plain old object
9898 properties instead of gdb-object-properties.
9899
9900 2014-05-26 Yao Qi <yao@codesourcery.com>
9901
9902 * gdb.server/no-thread-db.exp: Specify source file name
9903 explicitly when setting a breakpoint.
9904
9905 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9906
9907 * gdb.btrace/vdso.c: New.
9908 * gdb.btrace/vdso.exp: New.
9909
9910 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9911
9912 * gdb.base/gcore.exp (capture_command_output): Move ...
9913 * lib/gdb.exp (capture_command_output): ... here.
9914
9915 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9916
9917 * gdb.btrace/data.exp: Test memory access during btrace replay.
9918
9919 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
9920
9921 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
9922
9923 2014-05-21 Pedro Alves <palves@redhat.com>
9924
9925 PR gdb/13860
9926 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
9927 (top level): Test that output related to execution commands is
9928 sent to the console with CLI commands, but not with MI commands.
9929 Test that breakpoint events are always mirrored to the console.
9930 Also expect the new source line to be output after a "next" in
9931 async mode too. Make it a pass/fail test.
9932 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
9933 output.
9934 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
9935
9936 2014-05-21 Pedro Alves <palves@redhat.com>
9937
9938 * gdb.base/list.exp (build_pattern, test_list): New procedures.
9939 Use them to test variations of "list" after reaching a breakpoint.
9940 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
9941 Test "list" with listsize 10 after reaching a breakpoint.
9942 * gdb.python/python.exp (decode_line current location line
9943 number): Adjust expected line number.
9944
9945 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
9946
9947 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
9948 behavior for $args, pass it directly to "run".
9949
9950 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
9951
9952 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
9953 30000 to 65536.
9954
9955 2014-05-21 Pedro Alves <palves@redhat.com>
9956
9957 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
9958 auto-connect-native-target off".
9959 * gdb.base/auto-connect-native-target.c: New file.
9960 * gdb.base/auto-connect-native-target.exp: New file.
9961
9962 2014-05-21 Pedro Alves <palves@redhat.com>
9963
9964 * gdb.base/default.exp: Test "target native" instead of "target
9965 child".
9966
9967 2014-05-21 Mark Wielaard <mjw@redhat.com>
9968
9969 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9970
9971 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9972
9973 Fix TLS access for -static -pthread.
9974 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
9975 <HAVE_TLS> (thread_function, main): Initialize it.
9976 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
9977 Add clean_restart.
9978 <$have_tls != "">: Check TLSVAR.
9979
9980 2014-05-21 Pedro Alves <palves@redhat.com>
9981
9982 * gdb.base/dcache-line-read-error.c: New.
9983 * gdb.base/dcache-line-read-error.exp: New.
9984
9985 2014-05-20 Pedro Alves <palves@redhat.com>
9986
9987 * gdb.base/compare-sections.c: New file.
9988 * gdb.base/compare-sections.exp: New file.
9989
9990 2014-05-20 Pedro Alves <palves@redhat.com>
9991
9992 * gdb.base/break-idempotent.c: New file.
9993 * gdb.base/break-idempotent.exp: New file.
9994
9995 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
9996
9997 * gdb.btrace/nohist.exp: New.
9998
9999 2014-05-20 Yao Qi <yao@codesourcery.com>
10000
10001 * lib/gdb.exp (gdb_init): Set timeout if test file is under
10002 gdb.reverse directory and gdb_reverse_timeout exists in board
10003 setting.
10004 * README: Document gdb_reverse_timeout.
10005
10006 2014-05-20 Yao Qi <yao@codesourcery.com>
10007
10008 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
10009 'test_file_name'. Treat args as a string instead of a list.
10010 (gdb_init): Rename argument 'args' by 'test_file_name'.
10011
10012 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10013
10014 * gdb.arch/powerpc-power.exp: New file.
10015 * gdb.arch/powerpc-power.s: New file.
10016
10017 2014-05-16 Doug Evans <dje@google.com>
10018
10019 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
10020 * gdb.base/completion.exp: Check that all expected files exist
10021 before doing file completion.
10022
10023 2014-05-16 Doug Evans <dje@google.com>
10024
10025 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
10026 Update.
10027 (do_syscall_tests_without_xml): Update.
10028
10029 2014-05-16 Pedro Alves <palves@redhat.com>
10030
10031 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
10032 instead of "unknown output after running".
10033
10034 2014-05-16 Yao Qi <yao@codesourcery.com>
10035
10036 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
10037 file1.txt from host at the end.
10038 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10039
10040 2014-05-15 Doug Evans <dje@google.com>
10041
10042 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
10043 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
10044 loading file. Add test for TU lookup.
10045
10046 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10047
10048 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
10049 calling "-exec-arguments" or "set args" before running the
10050 inferior.
10051
10052 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10053
10054 * lib/mi-support.exp (mi_expect_stop): Expect message for
10055 inferiors that exit with non-zero exit code.
10056
10057 2014-05-14 Yao Qi <yao@codesourcery.com>
10058
10059 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
10060 match absolute path on remote host.
10061 (test_file_list_exec_source_files): Remove "/" from the
10062 pattern.
10063
10064 2014-05-14 Yao Qi <yao@codesourcery.com>
10065
10066 * boards/local-remote-host-notty.exp (${board}_file): New
10067 proc.
10068
10069 2014-05-07 Kyle McMartin <kyle@redhat.com>
10070
10071 Pushed by Joel Brobecker <brobecker@adacore.com>.
10072 * gdb.arch/aarch64-atomic-inst.c: New file.
10073 * gdb.arch/aarch64-atomic-inst.exp: New file.
10074
10075 2014-05-07 Yao Qi <yao@codesourcery.com>
10076
10077 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
10078 in current context" too.
10079
10080 2014-05-05 Keith Seitz <keiths@redhat.com>
10081
10082 * gdb.linespec/ls-dollar.exp: Add test for linespec
10083 file:convenience_variable.
10084
10085 2014-05-05 Yao Qi <yao@codesourcery.com>
10086
10087 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
10088 traceframes into tfile and ctf trace files. Read data from
10089 trace file and test collected data.
10090 (gdb_collect_locals_test): Likewise.
10091 (gdb_unavailable_registers_test): Likewise.
10092 (gdb_unavailable_floats): Likewise.
10093 (gdb_collect_globals_test): Likewise.
10094 (top-level): Append "ctf" to trace_file_targets if GDB
10095 supports.
10096
10097 2014-05-05 Yao Qi <yao@codesourcery.com>
10098
10099 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
10100 code to ...
10101 (gdb_collect_args_test_1): ... it. New proc.
10102 (gdb_collect_locals_test): Move some code to ...
10103 (gdb_collect_locals_test_1): ... it. New proc.
10104 (gdb_unavailable_registers_test): Move some code to ...
10105 (gdb_unavailable_registers_test_1): ... it. New proc.
10106 (gdb_unavailable_floats): Move some code to ...
10107 (gdb_unavailable_floats_1): ... it. New proc.
10108
10109 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10110
10111 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
10112 probes to test for bitness recognition.
10113 * gdb.arch/amd64-stap-optional-prefix.exp
10114 (test_probe_value_without_reg): New procedure.
10115 Add code to test for different kinds of bitness.
10116
10117 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10118
10119 PR breakpoints/16889
10120 * gdb.arch/amd64-stap-optional-prefix.S: New file.
10121 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10122
10123 2014-05-01 Pedro Alves <palves@redhat.com>
10124
10125 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
10126 gdb_file_cmd if no file is specified.
10127 * boards/native-extended-gdbserver.exp (gdb_load): Use the
10128 last_loaded_file to set the remote exec-file.
10129
10130 2014-05-01 Pedro Alves <palves@redhat.com>
10131
10132 * boards/local-remote-host.exp: New file.
10133
10134 2014-05-01 Pedro Alves <palves@redhat.com>
10135
10136 * boards/local-remote-host.exp: Rename to ...
10137 * boards/local-remote-host-notty.exp: ... this.
10138
10139 2014-04-28 Joel Brobecker <brobecker@adacore.com>
10140
10141 * gdb.ada/dyn_arrayidx: New testcase.
10142
10143 2014-04-26 Yao Qi <yao@codesourcery.com>
10144
10145 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
10146 and compute the length of function main. Save it in
10147 $main_length.
10148 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
10149 (top-level): Use gdb_compile to compile objects into
10150 executable and restart GDB. Remove invocation to
10151 prepare_for_testing.
10152
10153 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
10154 Pedro Alves <palves@redhat.com>
10155
10156 PR server/16255
10157 * gdb.multi/multi-attach.c: New file.
10158 * gdb.multi/multi-attach.exp: New file.
10159
10160 2014-04-25 Pedro Alves <palves@redhat.com>
10161
10162 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
10163 user.
10164 (top level): Test that "set remote conditional-breakpoints-packet
10165 off" works as intended.
10166 * gdb.base/dprintf.exp: Test that "set remote
10167 breakpoint-commands-packet off" works as intended.
10168 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
10169 New function.
10170 (top level): Call it.
10171 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
10172 remote fast-tracepoints-packet off" works as intended.
10173 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
10174 * lib/gdb.exp (gdb_is_target_remote): ... here.
10175
10176 2014-04-24 David Blaikie <dblaikie@gmail.com>
10177
10178 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
10179 ensure clang would not discard them.
10180 * gdb.base/gdbvars.c: Ditto.
10181 * gdb.base/memattr.c: Ditto.
10182 * gdb.base/whatis.c: Ditto.
10183 * gdb.python/py-prettyprint.c: Ditto.
10184 * gdb.trace/actions.c: Ditto.
10185 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
10186 ensure clang would not discard it.
10187
10188 2014-04-24 David Blaikie <dblaikie@gmail.com>
10189
10190 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
10191 clang to emit the full definition of type required by the test
10192 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
10193
10194 2014-04-24 David Blaikie <dblaikie@gmail.com>
10195
10196 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
10197 coax Clang into emitting the definition of the type.
10198 * gdb.cp/pr10728-x.h (y): Ditto.
10199 * gdb.cp/pr10728-y.cc (y): Ditto.
10200
10201 2014-04-24 David Blaikie <dblaikie@gmail.com>
10202
10203 * gdb.base/label.exp: XFAIL label related tests under Clang.
10204 * gdb.cp/cplabel.exp: Ditto.
10205 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
10206 under Clang those using labels.
10207
10208 2014-04-25 Yao Qi <yao@codesourcery.com>
10209
10210 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
10211 double_label.
10212 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
10213 partial_label and double_label.
10214
10215 2014-04-24 David Blaikie <dblaikie@gmail.com>
10216
10217 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
10218
10219 2014-04-24 David Blaikie <dblaikie@gmail.com>
10220
10221 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
10222 of the function to work across GCC and Clang.
10223 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
10224 pointer types (const void ** const V void **).
10225
10226 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
10227 Walfred Tedeschi <walfred.tedeschi@intel.com>
10228
10229 * Makefile.in (EXECUTABLES): Added i386-avx512.
10230 * gdb.arch/i386-avx512.c: New file.
10231 * gdb.arch/i386-avx512.exp: Likewise.
10232
10233 2014-04-23 Keith Seitz <keiths@redhat.com>
10234
10235 * lib/mi-support.exp (mi_list_breakpoints): Delete.
10236 (mi_make_breakpoint_table): New procedure.
10237 (mi_create_breakpoint): Use mi_make_breakpoint
10238 and return the result.
10239 (mi_make_breakpoint): New procedure.
10240 (mi_build_kv_pairs): New procedure.
10241
10242 * gdb.mi/mi-break.exp: Remove unused globals,
10243 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
10244 All callers updated.
10245 * gdb.mi/mi-dprintf.exp: Use variable to track command
10246 number.
10247 Update all callers of mi_create_breakpoint and use
10248 mi_make_breakpoint_table.
10249 Remove any unused global variables.
10250 * gdb.mi/mi-nonstop.exp: Likewise.
10251 * gdb.mi/mi-nsintrall.exp: Likewise.
10252 * gdb.mi/mi-nsmoribund.exp: Likewise.
10253 * gdb.mi/mi-nsthrexec.exp: Likewise.
10254 * gdb.mi/mi-reverse.exp: Likewise.
10255 * gdb.mi/mi-simplerun.exp: Likewise.
10256 * gdb.mi/mi-stepn.exp: Likewise.
10257 * gdb.mi/mi-syn-frame.exp: Likewise.
10258 * gdb.mi/mi-until.exp: Likewise.
10259 * gdb.mi/mi-var-cp.exp: Likewise.
10260 * gdb.mi/mi-var-display.exp: Likewise.
10261 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
10262 * gdb.mi/mi2-var-child.exp: Likewise.
10263 * gdb.mi/mi-vla-c99.exp: Likewise.
10264 * lib/mi-support.exp: Likewise.
10265
10266 From Ian Lance Taylor <iant@cygnus.com>:
10267 * lib/gdb.exp (parse_args): New procedure.
10268
10269 2014-04-23 Pedro Alves <palves@redhat.com>
10270
10271 * gdb.base/break-unload-file.c: New file.
10272 * gdb.base/break-unload-file.exp: New file.
10273 * gdb.base/sym-file-lib.c (baz): New function.
10274 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
10275 field.
10276 (load): Store the segment's mapped size.
10277 (unload): New function.
10278 (unload_shlib): New function.
10279 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
10280 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
10281 set a breakpoint at baz, and call it.
10282 * gdb.base/sym-file.exp: New tests for stale breakpoint
10283 instructions.
10284
10285 2014-04-23 Pedro Alves <palves@redhat.com>
10286
10287 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
10288 * gdb.base/hbreak-in-shr-unsupported.c: New file.
10289 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
10290 * gdb.base/hbreak-unmapped.c: New file.
10291 * gdb.base/hbreak-unmapped.exp: New file.
10292 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
10293 * lib/gdb.exp (gdb_is_target_remote): ... here.
10294
10295 2014-04-22 Pedro Alves <palves@redhat.com>
10296
10297 * gdb.base/consecutive-step-over.c: New file.
10298 * gdb.base/consecutive-step-over.exp: New file.
10299
10300 2014-04-22 Pedro Alves <palves@redhat.com>
10301
10302 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
10303 instead of send_gdb/gdb_expect.
10304
10305 2014-04-22 Yao Qi <yao@codesourcery.com>
10306
10307 * lib/trace-support.exp (generate_tracefile): New procedure.
10308 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
10309 return 0.
10310 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
10311 if generate_tracefile returns 1.
10312
10313 2014-04-18 Tom Tromey <palves@redhat.com>
10314 Pedro alves <tromey@redhat.com>
10315
10316 PR backtrace/15558
10317 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
10318 with a backtrace limit.
10319 * gdb.python/py-frame-inline.exp: Test running to an inline
10320 function with a backtrace limit, and printing the newest frame.
10321 * gdb.python/py-frame-inline.c (main): Call f.
10322
10323 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10324
10325 * gdb.java/jnpe.exp: Drop srcdir from untested path.
10326
10327 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10328
10329 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
10330 Drop prefix from unsupported source file path.
10331
10332 2014-04-17 Yao Qi <yao@codesourcery.com>
10333
10334 * lib/gdb.exp (with_target_charset): New proc.
10335 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10336 with_target_charset.
10337 (test_print_strings): Likewise.
10338 (test_repeat_bytes): Likewise.
10339 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10340 for some tests.
10341
10342 2014-04-16 Keith Seitz <keiths@redhat.com>
10343
10344 PR gdb/15827
10345 * gdb.dwarf2/corrupt.c: New file.
10346 * gdb.dwarf2/corrupt.exp: New file.
10347
10348 2014-04-16 Keith Seitz <keiths@redhat.com>
10349
10350 PR c++/16597
10351 * gdb.cp/namelessclass.cc: New file.
10352 * gdb.cp/namelessclass.exp: New file.
10353 * gdb.cp/namelessclass.S: New file.
10354
10355 2014-04-16 Doug Evans <dje@google.com>
10356
10357 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10358 Add comment.
10359 (gdbserver_default_get_comm_port): New function.
10360 (gdbserver_start): Check if board file provided
10361 "gdbserver,get_comm_port" and use it if so.
10362 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10363 (gdb,socketport): Set to "stdio".
10364 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10365 (stdio_gdbserver_template): Delete.
10366 (${board}_get_remote_address): Update.
10367 (${board}_build_remote_cmd): Delete.
10368 (${board}_get_comm_port): New function.
10369 (${board}_spawn): Update.
10370 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10371 Delete.
10372 (${board}_get_remote_address): Update.
10373 (${board}_get_comm_port): New function.
10374
10375 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
10376
10377 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10378 appearing in any order.
10379
10380 2014-04-15 Doug Evans <dje@google.com>
10381
10382 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10383 uninitialized value of "description".
10384
10385 2014-04-15 Keith Seitz <keiths@redhat.com>
10386
10387 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10388 Remove unused globals.
10389 (test_running_the_program): Likewise.
10390 (test_controlled_execution): Likewise.
10391 (test_controlling_breakpoints): Likewise.
10392 (test_program_termination): Likewise.
10393
10394 2014-04-15 Keith Seitz <keiths@redhat.com>
10395
10396 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10397 unused globals.
10398 (test_rbreak_creation_and_listing): Likewise.
10399 (test_ignore_count): Likewise.
10400 (test_error): Likewise.
10401
10402 2014-04-15 Pedro Alves <palves@redhat.com>
10403
10404 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10405 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10406 sym-file-loader.c.
10407 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10408 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10409 to sym-file-loader.c.
10410 (struct library): Forward declare.
10411 (load_shlib, lookup_function): Change prototypes.
10412 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10413 (translate_offset): Remove declarations.
10414 (get_text_addr): New declaration.
10415 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10416 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10417 sym-file-loader.h.
10418 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10419 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10420 here from sym-file-loader.h.
10421 (struct library): New structure.
10422 (load_shlib, lookup_function): Change prototypes and adjust to
10423 work with a struct library.
10424 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10425 (translate_offset): Make static.
10426 (get_text_addr): New function.
10427 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
10428
10429 2014-04-15 Pedro Alves <palves@redhat.com>
10430
10431 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
10432
10433 2014-04-15 Pedro Alves <palves@redhat.com>
10434
10435 * gdb.base/sym-file-loader.c: Include <limits.h>.
10436 (SELF_LINK): New define.
10437 (get_origin): New function.
10438 (load_shlib): Use it.
10439 * gdb.base/sym-file.exp: Don't early return if the target is
10440 remote. Use runto_main, and issue fail is that fails. Use
10441 gdb_load_shlibs.
10442 (shlib_name): Delete.
10443 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
10444
10445 2014-04-15 Pedro Alves <palves@redhat.com>
10446
10447 * gdb.base/sym-file.exp: Remove regex characters from test
10448 message. Don't refer to breakpoint numbers in test messages.
10449
10450 2014-04-14 Keith Seitz <keiths@redhat.com>
10451
10452 PR c++/16253
10453 * gdb.cp/var-tag.cc: New file.
10454 * gdb.cp/var-tag.exp: New file.
10455 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10456 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10457 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10458 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10459
10460 2014-04-14 Tom Tromey <tromey@redhat.com>
10461
10462 * gdb.cp/classes.exp (test_enums): Handle underlying type.
10463 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
10464 type.
10465 * gdb.cp/enum-class.exp: New file.
10466 * gdb.cp/enum-class.cc: New file.
10467
10468 2014-04-14 Tom Tromey <tromey@redhat.com>
10469
10470 * gdb.dwarf2/enum-type.exp: New file.
10471
10472 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10473
10474 * gdb.mi/mi-vla-c99.exp: New file.
10475 * gdb.mi/vla.c: New file.
10476
10477 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10478
10479 * gdb.base/vla-datatypes.c: New file.
10480 * gdb.base/vla-datatypes.exp: New file.
10481
10482 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10483
10484 * gdb.base/vla-ptr.c: New file.
10485 * gdb.base/vla-ptr.exp: New file.
10486
10487 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10488
10489 * gdb.dwarf2/count.exp: New file.
10490
10491 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10492
10493 * gdb.base/vla-sideeffect.c: New file.
10494 * gdb.base/vla-sideeffect.exp: New file.
10495
10496 2014-04-14 David Blaikie <dblaikie@gmail.com>
10497
10498 * gdb.mi/non-stop.c: Add return value for non-void function return
10499 statement.
10500 * gdb.threads/staticthreads.c: Ditto.
10501
10502 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
10503 Doug Evans <xdje42@gmail.com>
10504
10505 * gdb.guile/scm-value.c: Improve test case.
10506 * gdb.guile/scm-value.exp: Add new test.
10507
10508 2014-04-11 David Blaikie <dblaikie@gmail.com>
10509
10510 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
10511 override Clang's default.
10512
10513 2014-04-11 Joel Brobecker <brobecker@adacore.com>
10514
10515 Revert the following changes (regressions):
10516
10517 * gdb.base/vla-sideeffect.c: New file.
10518 * gdb.base/vla-sideeffect.exp: New file.
10519
10520 * gdb.dwarf2/count.exp: New file.
10521
10522 * gdb.base/vla-multi.c: New file.
10523 * gdb.base/vla-multi.exp: New file.
10524
10525 * gdb.base/vla-ptr.c: New file.
10526 * gdb.base/vla-ptr.exp: New file.
10527
10528 * gdb.base/vla-datatypes.c: New file.
10529 * gdb.base/vla-datatypes.exp: New file.
10530
10531 * gdb.mi/mi-vla-c99.exp: New file.
10532 * gdb.mi/vla.c: New file.
10533
10534 2014-04-11 Keith Seitz <keiths@redhat.com>
10535
10536 PR c++/16675
10537 * gdb.cp/cpsizeof.exp: New file.
10538 * gdb.cp/cpsizeof.cc: New file.
10539
10540 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10541
10542 * gdb.mi/mi-vla-c99.exp: New file.
10543 * gdb.mi/vla.c: New file.
10544
10545 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10546
10547 * gdb.base/vla-datatypes.c: New file.
10548 * gdb.base/vla-datatypes.exp: New file.
10549
10550 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10551
10552 * gdb.base/vla-ptr.c: New file.
10553 * gdb.base/vla-ptr.exp: New file.
10554
10555 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10556
10557 * gdb.base/vla-multi.c: New file.
10558 * gdb.base/vla-multi.exp: New file.
10559
10560 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10561
10562 * gdb.dwarf2/count.exp: New file.
10563
10564 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10565
10566 * gdb.base/vla-sideeffect.c: New file.
10567 * gdb.base/vla-sideeffect.exp: New file.
10568
10569 2014-04-11 Yao Qi <yao@codesourcery.com>
10570
10571 * gdb.base/completion.exp: Check file exists before running tests
10572 on file completion.
10573
10574 2014-04-10 Pedro Alves <palves@redhat.com>
10575
10576 * gdb.base/cond-eval-mode.c: New file.
10577 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
10578 prepare_for_testing to build the new file. Check result of
10579 runto_main.
10580 (test_break, test_watch): New procedures.
10581 (top level): Use them.
10582
10583 2014-04-08 Pierre Muller <muller@sourceware.org>
10584
10585 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
10586 Ctrl-V use for mingw hosts.
10587
10588 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
10589
10590 * gdb.python/py-value.c: Improve test case.
10591 * gdb.python/py-value.exp: Add new test.
10592
10593 2014-04-07 David Blaikie <dblaikie@gmail.com>
10594
10595 * lib/compiler.c: Identify the clang compiler.
10596 * lib/compiler.cc: Ditto.
10597
10598 2014-04-03 Yao Qi <yao@codesourcery.com>
10599
10600 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
10601
10602 2014-04-01 Anton Blanchard <anton@samba.org>
10603
10604 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
10605 messages unique.
10606
10607 2014-04-01 Anton Blanchard <anton@samba.org>
10608
10609 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
10610 prepare_for_testing.
10611
10612 2014-04-01 Anton Blanchard <anton@samba.org>
10613
10614 * gdb.arch/ppc64-atomic-inst.c: Remove.
10615 * gdb.arch/ppc64-atomic-inst.S: New file.
10616 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
10617
10618 2014-03-31 Doug Evans <dje@google.com>
10619
10620 * gdb.base/print-symbol-loading-lib.c: New file.
10621 * gdb.base/print-symbol-loading-main.c: New file.
10622 * gdb.base/print-symbol-loading.exp: New file.
10623
10624 2014-03-31 Yao Qi <yao@codesourcery.com>
10625
10626 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
10627
10628 2014-03-28 Joel Brobecker <brobecker@adacore.com>
10629
10630 * gdb.ada/mi_dyn_arr: New testcase.
10631
10632 2014-03-27 Doug Evans <dje@google.com>
10633
10634 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
10635
10636 2014-03-27 Yao Qi <yao@codesourcery.com>
10637
10638 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
10639 if target is nios2-*-*.
10640
10641 2014-03-26 Yao Qi <yao@codesourcery.com>
10642
10643 * lib/gdb.exp (readline_is_used): New proc.
10644 * gdb.base/completion.exp: Move tests on command complete up.
10645 Skip the rest of tests if readline is not used.
10646 * gdb.ada/complete.exp: Skp the test if readline is not
10647 used.
10648 * gdb.base/filesym.exp: Likewise.
10649 * gdb.base/macscp.exp: Likewise.
10650 * gdb.base/readline-ask.exp: Likewise.
10651 * gdb.base/readline.exp: Likewise.
10652 * gdb.python/py-cmd.exp: Likewise.
10653 * gdb.trace/tfile.exp: Likewise.
10654
10655 2014-03-26 Yao Qi <yao@codesourcery.com>
10656
10657 * gdb.base/macscp.exp: Fix code format issues.
10658
10659 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
10660
10661 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
10662 * gdb.asm/powerpc64le.inc: New file.
10663
10664 2014-03-25 Pedro Alves <palves@redhat.com>
10665 Doug Evans <dje@google.com>
10666
10667 * gdb.base/source-execution.c: New file.
10668 * gdb.base/source-execution.exp: New file.
10669 * gdb.base/source-execution.gdb: New file.
10670
10671 2014-03-24 Doug Evans <dje@google.com>
10672
10673 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
10674 using fission.
10675
10676 2014-03-24 Hui Zhu <hui@codesourcery.com>
10677 Pedro Alves <palves@redhat.com>
10678
10679 PR breakpoints/16101
10680 * gdb.base/dprintf.exp: Use unsupported rather than changing the
10681 test pass/fail messages. Detect missing support for dprintf when
10682 breakpoints are actually inserted.
10683 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
10684 breakpoints are actually inserted.
10685 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
10686 fails.
10687
10688 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10689
10690 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
10691
10692 2014-03-22 Doug Evans <xdje42@gmail.com>
10693
10694 * gdb.python/python.exp (python not supported): Verify multi-line
10695 python command issues an error.
10696 * gdb.guile/guile.exp (guile not supported): Verify multi-line
10697 guile command issues an error.
10698
10699 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
10700
10701 * gdb.threads/thread-specific.exp: Handle the lack of usable
10702 $this_breakpoint and $this_thread.
10703
10704 2014-03-21 Hui Zhu <hui@codesourcery.com>
10705
10706 * gdb.base/attach.exp (do_command_attach_tests): New.
10707
10708 2014-03-20 Tom Tromey <tromey@redhat.com>
10709 Pedro Alves <palves@redhat.com>
10710
10711 PR cli/15718
10712 * gdb.base/condbreak-call-false.c: New file.
10713 * gdb.base/condbreak-call-false.exp: New file.
10714
10715 2014-03-20 Pedro Alves <palves@redhat.com>
10716
10717 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
10718 Delete.
10719 (block_signals, unblock_signals): Delete.
10720 (child_function_2, main): Remove references to deleted variable
10721 and functions.
10722
10723 2014-03-20 Pedro Alves <palves@redhat.com>
10724
10725 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
10726 Use pthread_kill to signal thread 2.
10727 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10728 Adjust to make the test send itself a signal rather than using the
10729 host's "kill" command.
10730
10731 2014-03-20 Pedro Alves <palves@redhat.com>
10732
10733 * gdb.threads/multiple-step-overs.c: New file.
10734 * gdb.threads/multiple-step-overs.exp: New file.
10735 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10736 Adjust expected infrun debug output.
10737
10738 2014-03-20 Pedro Alves <palves@redhat.com>
10739
10740 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
10741 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
10742
10743 2014-03-20 Pedro Alves <palves@redhat.com>
10744
10745 PR breakpoints/7143
10746 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
10747 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
10748 of gdb_test_multiple.
10749 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
10750 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
10751
10752 2014-03-20 Pedro Alves <palves@redhat.com>
10753
10754 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
10755 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
10756
10757 2014-03-19 Pedro Alves <palves@redhat.com>
10758
10759 * gdb.base/async.exp: Remove early return.
10760
10761 2014-03-19 Pedro Alves <palves@redhat.com>
10762
10763 * gdb.base/async.exp (step& tests): Pass explicit test messages.
10764
10765 2014-03-19 Pedro Alves <palves@redhat.com>
10766
10767 * gdb.base/async.exp (test_background): Expect \r\n after
10768 "completed." in the fail pattern.
10769
10770 2014-03-19 Pedro Alves <palves@redhat.com>
10771
10772 * gdb.base/async.exp (test_background): New procedure.
10773 Use it for all background execution command tests.
10774
10775 2014-03-19 Pedro Alves <palves@redhat.com>
10776
10777 * gdb.base/async.exp: Use prepare_for_testing.
10778
10779 2014-03-19 Pedro Alves <palves@redhat.com>
10780
10781 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
10782 the same line.
10783
10784 2014-03-19 Pedro Alves <palves@redhat.com>
10785
10786 * gdb.base/async.c (main): Add "jump here" and "until here" line
10787 marker comments.
10788 * gdb.base/async.exp (jump_here): New global.
10789 (jump& test): Use it.
10790 (until_here): New global.
10791 (until& test): Use it.
10792
10793 2014-03-19 Pedro Alves <palves@redhat.com>
10794
10795 * gdb.base/async.exp: Don't frob gdb_protocol.
10796
10797 2014-03-18 Doug Evans <xdje42@gmail.com>
10798
10799 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
10800 Fix spelling of exec-done-display.
10801
10802 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10803
10804 PR gdb/15358
10805 * gdb.base/gdb-sigterm.c: New file.
10806 * gdb.base/gdb-sigterm.exp: New file.
10807
10808 2014-03-18 Pedro Alves <palves@redhat.com>
10809
10810 PR gdb/13860
10811 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
10812 * lib/mi-support.exp (mi_expect_stop): Add special handling for
10813 solib-event.
10814
10815 2014-03-17 Joel Brobecker <brobecker@adacore.com>
10816
10817 * gdb.ada/pckd_arr_ren: New testcase.
10818
10819 2014-03-13 Doug Evans <xdje42@gmail.com>
10820
10821 PR guile/16612
10822 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
10823 collect after discarding symbols.
10824
10825 2014-03-13 Ludovic Courtès <ludo@gnu.org>
10826 Doug Evans <xdje42@gmail.com>
10827
10828 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
10829 to history survives a gc.
10830
10831 2014-03-13 Pedro Alves <palves@redhat.com>
10832
10833 * gdb.base/default.exp: Don't test "target procfs".
10834
10835 2014-03-13 Pedro Alves <palves@redhat.com>
10836
10837 * gdb.base/default.exp: Update "target child" and "target procfs"
10838 tests to not expect "Unix".
10839
10840 2014-03-12 Tom Tromey <tromey@redhat.com>
10841
10842 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
10843 New procs. Add target-async tests.
10844 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
10845 Add target-async tests.
10846
10847 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10848
10849 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
10850 'func_start' and 'func_end' for the beginning and end of the
10851 function code, respectively.
10852 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
10853 'func_end' instead of 'func' and 'main'.
10854
10855 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10856
10857 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
10858 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
10859 generate the debug info assembler source.
10860
10861 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10862
10863 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
10864 * gdb.dwarf2/arr-subrange.exp: Likewise.
10865 * gdb.dwarf2/dwz.exp: Likewise.
10866 * gdb.dwarf2/method-ptr.exp: Likewise.
10867 * gdb.dwarf2/missing-sig-type.exp: Likewise.
10868 * gdb.dwarf2/subrange.exp: Likewise.
10869 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
10870 * gdb.dwarf2/implptrpiece.exp: Likewise.
10871 * gdb.dwarf2/nostaticblock.exp: Likewise.
10872
10873 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10874
10875 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
10876 directory to absolute path name arguments.
10877
10878 2014-03-10 Joel Brobecker <brobecker@adacore.com>
10879
10880 * gdb.ada/tagged_access: New testcase.
10881
10882 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
10883
10884 * gdb.btrace/data.exp: Update expected output.
10885
10886 2014-03-06 Yao Qi <yao@codesourcery.com>
10887
10888 * gdb.trace/pr16508.exp: New file.
10889
10890 2014-03-05 Pedro Alves <palves@redhat.com>
10891
10892 PR gdb/16575
10893 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
10894 procedure.
10895 (top level): Adjust to use it. Add tests that exercise breakpoint
10896 interaction with the code-cache.
10897
10898 2014-02-26 Ludovic Courtès <ludo@gnu.org>
10899
10900 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
10901 test for 'history-append!'.
10902
10903 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10904
10905 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
10906 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
10907 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
10908 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
10909 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
10910 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
10911
10912 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10913
10914 * testsuite/gdb.python/py-pp-re-notag.c: New file.
10915 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
10916 * testsuite/gdb.python/py-pp-re-notag.p: New file.
10917
10918 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10919
10920 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
10921
10922 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10923
10924 * gdb.dwarf2/arr-stride.c: New file.
10925 * gdb.dwarf2/arr-stride.exp: New file.
10926
10927 2014-02-26 Pedro Alves <palves@redhat.com>
10928
10929 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
10930 that won't ever trigger. Make sure that GDB reports the correct
10931 breakpoint that caused the stop.
10932
10933 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10934
10935 PR gdb/16626
10936 * gdb.base/auto-load-script: New file.
10937 * gdb.base/auto-load.c: New file.
10938 * gdb.base/auto-load.exp: New file.
10939
10940 PR gdb/16626
10941 * gdb.base/auto-load.exp: Fix out-of-srctree run.
10942
10943 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10944
10945 Fix dw2-icycle.exp -fsanitize=address GDB crash.
10946 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
10947
10948 2014-02-24 Doug Evans <dje@google.com>
10949
10950 * lib/gdb.exp (run_on_host): Log error output if program fails.
10951
10952 2014-02-21 Pedro Alves <palves@redhat.com>
10953
10954 * gdb.threads/step-after-sr-lock.c: Rename to ...
10955 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
10956 * gdb.threads/step-after-sr-lock.exp: Rename to ...
10957 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10958 ... this.
10959
10960 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
10961
10962 PR tdep/16397
10963 * gdb.arch/amd64-stap-special-operands.exp: New file.
10964 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
10965 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
10966 * gdb.arch/amd64-stap-triplet.S: Likewise.
10967 * gdb.arch/amd64-stap-triplet.c: Likewise.
10968
10969 2014-02-20 Joel Brobecker <brobecker@adacore.com>
10970
10971 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
10972 in .section pseudo-op.
10973
10974 2014-02-20 lin zuojian <manjian2006@gmail.com>
10975 Joel Brobecker <brobecker@adacore.com>
10976 Doug Evans <xdje42@gmail.com>
10977
10978 PR symtab/16581
10979 * gdb.dwarf2/dw2-icycle.S: New file.
10980 * gdb.dwarf2/dw2-icycle.c: New file.
10981 * gdb.dwarf2/dw2-icycle.exp: New file.
10982
10983 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
10984
10985 * gdb.python/py-value-cc.cc: Improve test case to enable testing
10986 operations on gdb.Value objects.
10987 * gdb.python/py-value-cc.exp: Add new test to test operations on
10988 gdb.Value objects.
10989
10990 2014-02-18 Doug Evans <dje@google.com>
10991
10992 * Makefile.in (TESTS): New variable.
10993 (expanded_tests, expanded_tests_or_none): New variables
10994 (check-single): Pass $(expanded_tests_or_none) to runtest.
10995 (check-parallel): Only run tests in $(TESTS) if non-empty.
10996 (check/no-matching-tests-found): New rule.
10997 * README: Document TESTS makefile variable.
10998
10999 2014-02-18 Doug Evans <dje@google.com>
11000
11001 * Makefile.in (check-parallel): rm -rf outputs temp.
11002
11003 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11004
11005 Fix "ERROR: no fileid for" in the testsuite.
11006 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
11007
11008 2014-02-12 Doug Evans <dje@google.com>
11009
11010 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
11011 (MISCELLANEOUS): New variable.
11012 (clean): rm -rf $(MISCELLANEOUS).
11013 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
11014 dwp live in the same directory as symlinks, with each symlink pointed
11015 to a differently named file in a different directory.
11016
11017 2014-02-11 Doug Evans <dje@google.com>
11018
11019 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
11020 of Tcl file commands.
11021
11022 2014-02-10 Mark Kettenis <kettenis@gnu.org>
11023
11024 * gdb.threads/step-after-sr-lock.exp: Avoid executing
11025 "kill -SIGUSR1 -1".
11026
11027 2014-02-10 Joel Brobecker <brobecker@adacore.com>
11028
11029 * gdb.ada/tick_length_array_enum_idx: New testcase.
11030
11031 2014-02-10 Doug Evans <xdje42@gmail.com>
11032
11033 * configure.ac (AC_OUTPUT): Add gdb.guile.
11034 * configure: Regenerate.
11035 * lib/gdb-guile.exp: New file.
11036 * lib/gdb.exp (get_target_charset): New function.
11037 * gdb.base/help.exp: Update expected output from "apropos apropos".
11038 * gdb.guile/Makefile.in: New file.
11039 * gdb.guile/guile.exp: New file.
11040 * gdb.guile/scm-arch.c: New file.
11041 * gdb.guile/scm-arch.exp: New file.
11042 * gdb.guile/scm-block.c: New file.
11043 * gdb.guile/scm-block.exp: New file.
11044 * gdb.guile/scm-breakpoint.c: New file.
11045 * gdb.guile/scm-breakpoint.exp: New file.
11046 * gdb.guile/scm-disasm.c: New file.
11047 * gdb.guile/scm-disasm.exp: New file.
11048 * gdb.guile/scm-equal.c: New file.
11049 * gdb.guile/scm-equal.exp: New file.
11050 * gdb.guile/scm-error.exp: New file.
11051 * gdb.guile/scm-error.scm: New file.
11052 * gdb.guile/scm-frame-args.c: New file.
11053 * gdb.guile/scm-frame-args.exp: New file.
11054 * gdb.guile/scm-frame-args.scm: New file.
11055 * gdb.guile/scm-frame-inline.c: New file.
11056 * gdb.guile/scm-frame-inline.exp: New file.
11057 * gdb.guile/scm-frame.c: New file.
11058 * gdb.guile/scm-frame.exp: New file.
11059 * gdb.guile/scm-generics.exp: New file.
11060 * gdb.guile/scm-gsmob.exp: New file.
11061 * gdb.guile/scm-iterator.c: New file.
11062 * gdb.guile/scm-iterator.exp: New file.
11063 * gdb.guile/scm-math.c: New file.
11064 * gdb.guile/scm-math.exp: New file.
11065 * gdb.guile/scm-objfile-script-gdb.in: New file.
11066 * gdb.guile/scm-objfile-script.c: New file.
11067 * gdb.guile/scm-objfile-script.exp: New file.
11068 * gdb.guile/scm-objfile.c: New file.
11069 * gdb.guile/scm-objfile.exp: New file.
11070 * gdb.guile/scm-ports.exp: New file.
11071 * gdb.guile/scm-pretty-print.c: New file.
11072 * gdb.guile/scm-pretty-print.exp: New file.
11073 * gdb.guile/scm-pretty-print.scm: New file.
11074 * gdb.guile/scm-section-script.c: New file.
11075 * gdb.guile/scm-section-script.exp: New file.
11076 * gdb.guile/scm-section-script.scm: New file.
11077 * gdb.guile/scm-symbol.c: New file.
11078 * gdb.guile/scm-symbol.exp: New file.
11079 * gdb.guile/scm-symtab-2.c: New file.
11080 * gdb.guile/scm-symtab.c: New file.
11081 * gdb.guile/scm-symtab.exp: New file.
11082 * gdb.guile/scm-type.c: New file.
11083 * gdb.guile/scm-type.exp: New file.
11084 * gdb.guile/scm-value-cc.cc: New file.
11085 * gdb.guile/scm-value-cc.exp: New file.
11086 * gdb.guile/scm-value.c: New file.
11087 * gdb.guile/scm-value.exp: New file.
11088 * gdb.guile/source2.scm: New file.
11089 * gdb.guile/types-module.cc: New file.
11090 * gdb.guile/types-module.exp: New file.
11091
11092 2014-02-10 Yao Qi <yao@codesourcery.com>
11093
11094 PR testsuite/16543
11095 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
11096 * configure: Regenerated.
11097 * Makefile.in: New file.
11098
11099 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11100
11101 * gdb.python/py-framefilter.exp: Fix typo.
11102
11103 2014-02-08 Yao Qi <yao@codesourcery.com>
11104
11105 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
11106 that no =breakpoint-modified is emitted when breakpoints are
11107 modified through MI commands.
11108
11109 2014-02-07 Pedro Alves <pedro@codesourcery.com>
11110 Pedro Alves <palves@redhat.com>
11111
11112 * gdb.threads/step-after-sr-lock.c: New file.
11113 * gdb.threads/step-after-sr-lock.exp: New file.
11114
11115 2014-02-07 Pedro Alves <palves@redhat.com>
11116
11117 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
11118
11119 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11120
11121 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
11122 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
11123
11124 2014-02-06 Doug Evans <xdje42@gmail.com>
11125
11126 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
11127 output.
11128
11129 * gdb.gdb/python-interrupts.exp: New file.
11130
11131 2014-02-05 Yao Qi <yao@codesourcery.com>
11132
11133 * gdb.trace/report.exp (use_collected_data): Test the output
11134 of "info threads" and "info inferiors".
11135
11136 2014-02-05 Yao Qi <yao@codesourcery.com>
11137
11138 Revert this patch:
11139
11140 2013-05-24 Yao Qi <yao@codesourcery.com>
11141
11142 * gdb.trace/tfile.exp: Test inferior and thread.
11143
11144 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11145
11146 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
11147 on a function.
11148 * gdb.base/step-bt.c: Call hello via function pointer to make
11149 sure its first instruction is executed on powerpc64le-linux.
11150
11151 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11152
11153 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
11154
11155 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11156
11157 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
11158 of the test patterns for use on little-endian systems.
11159
11160 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11161
11162 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
11163 (decimal_vector): Fix for little-endian.
11164
11165 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11166
11167 * gdb.arch/sparc-sysstep.exp: New file.
11168 * gdb.arch/sparc-sysstep.c: Likewise.
11169
11170 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
11171
11172 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11173
11174 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
11175
11176 2014-01-23 Tom Tromey <tromey@redhat.com>
11177
11178 * gdb.ada/array_char_idx: New testcase.
11179
11180 2014-01-23 Tom Tromey <tromey@redhat.com>
11181
11182 PR python/16487:
11183 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
11184 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
11185 classes.
11186
11187 2014-01-23 Tom Tromey <tromey@redhat.com>
11188
11189 PR python/16491:
11190 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
11191 string from an inferior frame.
11192 * gdb.python/py-framefilter-mi.exp: Update.
11193
11194 2014-01-22 Doug Evans <dje@google.com>
11195
11196 * gdb.server/server-mon.exp: Add tests for "set debug-format".
11197
11198 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11199
11200 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
11201
11202 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11203
11204 * gdb.trace/entry-values.exp: Remove excess space character from
11205 regex patterns. Handle s390 call instruction.
11206
11207 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11208
11209 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
11210 define "*_start" label. Make "name" static.
11211 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
11212 ${name} by references to ${name}_start.
11213
11214 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11215
11216 * gdb.base/info-macros.exp: Remove "debug" from the compile
11217 options.
11218
11219 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11220
11221 * gdb.dlang/demangle.exp: New file.
11222
11223 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11224
11225 * gdb.dlang/primitive-types.exp: New file.
11226
11227 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11228
11229 * configure.ac: Create gdb.dlang/Makefile.
11230 * configure: Regenerate.
11231 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
11232 * gdb.dlang/Makefile.in: New file.
11233 * lib/d-support.exp: New file.
11234 * lib/gdb.exp (skip_d_tests): New proc.
11235
11236 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11237
11238 * gdb.btrace/delta.exp: Check reverse stepi.
11239 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
11240 * gdb.btrace/finish.exp: New.
11241 * gdb.btrace/next.exp: New.
11242 * gdb.btrace/nexti.exp: New.
11243 * gdb.btrace/record_goto.c: Add comments.
11244 * gdb.btrace/step.exp: New.
11245 * gdb.btrace/stepi.exp: New.
11246 * gdb.btrace/multi-thread-step.c: New.
11247 * gdb.btrace/multi-thread-step.exp: New.
11248 * gdb.btrace/rn-dl-bind.c: New.
11249 * gdb.btrace/rn-dl-bind.exp: New.
11250 * gdb.btrace/data.c: New.
11251 * gdb.btrace/data.exp: New.
11252 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11253
11254 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11255
11256 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
11257 * gdb.btrace/exception.exp: Update.
11258 * gdb.btrace/instruction_history.exp: Update.
11259 * gdb.btrace/record_goto.exp: Update.
11260 * gdb.btrace/tailcall.exp: Update.
11261 * gdb.btrace/unknown_functions.exp: Update.
11262 * gdb.btrace/delta.exp: New.
11263
11264 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11265
11266 * gdb.btrace/record_goto.exp: Add backtrace test.
11267 * gdb.btrace/tailcall.exp: Add backtrace test.
11268
11269 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11270
11271 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
11272 * gdb.btrace/record_goto.c: New.
11273 * gdb.btrace/record_goto.exp: New.
11274 * gdb.btrace/x86-record_goto.S: New.
11275
11276 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11277
11278 * gdb.btrace/function_call_history.exp: Update tests.
11279 * gdb.btrace/instruction_history.exp: Update tests.
11280
11281 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11282
11283 * gdb.btrace/function_call_history.exp: Fix expected field
11284 order for "record function-call-history".
11285 Add new tests for "record function-call-history /c".
11286 * gdb.btrace/exception.cc: New.
11287 * gdb.btrace/exception.exp: New.
11288 * gdb.btrace/tailcall.exp: New.
11289 * gdb.btrace/x86-tailcall.S: New.
11290 * gdb.btrace/x86-tailcall.c: New.
11291 * gdb.btrace/unknown_functions.c: New.
11292 * gdb.btrace/unknown_functions.exp: New.
11293 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11294
11295 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11296
11297 * gdb.btrace/instruction_history.exp: Update.
11298 * gdb.btrace/function_call_history.exp: Update.
11299
11300 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11301
11302 * gdb.btrace/function_call_history.exp: Fix expected function
11303 trace.
11304 * gdb.btrace/instruction_history.exp: Initialize traced.
11305 Remove traced_functions.
11306
11307 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11308
11309 * gdb.btrace/function_call_history.exp: Update
11310 * gdb.btrace/instruction_history.exp: Update.
11311
11312 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11313
11314 * gdb.btrace/enable.exp: Update expected text.
11315
11316 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
11317
11318 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
11319 bytes.
11320
11321 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
11322
11323 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
11324
11325 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11326
11327 * lib/gdb.exp (supports_process_record): Return true for
11328 arm*-linux*. (supports_reverse): Likewise.
11329
11330 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11331
11332 PR python/15464
11333 PR python/16113
11334 * gdb.python/py-type.c: Enhance test case.
11335 * gdb.python/py-value-cc.cc: Likewise
11336 * gdb.python/py-type.exp: Add new tests.
11337 * gdb.python/py-value-cc.exp: Likewise
11338
11339 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11340 Pedro Alves <palves@redhat.com>
11341
11342 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11343 Make "name" extern.
11344 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11345 references to ${name}_start by references to ${name}.
11346
11347 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11348
11349 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11350
11351 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11352
11353 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11354
11355 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11356 Pedro Alves <palves@redhat.com>
11357
11358 * gdb.mi/mi-info-os.exp: Connect to the target with
11359 mi_gdb_target_load.
11360
11361 2014-01-08 Pedro Alves <palves@redhat.com>
11362
11363 * gdb.threads/reconnect-signal.c: New file.
11364 * gdb.threads/reconnect-signal.exp: New file.
11365
11366 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11367
11368 * gdb.base/source-dir.exp: New file.
11369
11370 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11371
11372 * gdb.ada/mi_interface: New testcase.
11373
11374 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11375
11376 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11377 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11378 gdb.ada/pp-rec-component/pck.ads: New files.
11379
11380 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11381
11382 * gdb.python/py-pp-integral.c: New file.
11383 * gdb.python/py-pp-integral.py: New file.
11384 * gdb.python/py-pp-integral.exp: New file.
11385
11386 For older changes see ChangeLog-1993-2013.
11387 \f
11388 ;; Local Variables:
11389 ;; mode: change-log
11390 ;; left-margin: 8
11391 ;; fill-column: 74
11392 ;; version-control: never
11393 ;; End:
11394
11395 Copyright 2014-2017 Free Software Foundation, Inc.
11396 Copying and distribution of this file, with or without modification,
11397 are permitted provided the copyright notice and this notice are preserved.