f29225119bb3d06a951487b50a4d75ba0f298d3e
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2
3 * lib/mi-support.exp (mi_gdb_test): Add additional message
4 for unexpected output.
5
6 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7
8 * gdb.base/examine-backward.c (Barrier): New character array
9 constant, to ensure that TestStrings is preceded by a string
10 terminator.
11
12 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13
14 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
15 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
16 and implicit pointer into such a location.
17
18 2017-03-16 Doug Evans <dje@google.com>
19
20 * gdb.python/py-lazy-string (pointer): Really add new typedef.
21
22 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
23
24 * gdb.cp/m-static.exp: Fix expectation for prototype of
25 test5.single_constructor and single_constructor::single_constructor.
26
27 2017-03-16 Doug Evans <dje@google.com>
28
29 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
30 * gdb.guile/scm-lazy-string.c: New file.
31 * gdb.guile/scm-value.exp: Move lazy string tests to ...
32 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
33 for pointer, array, typedef lazy strings.
34
35 2017-03-16 Doug Evans <dje@google.com>
36
37 PR python/17728, python/18439, python/18779
38 * gdb.python/py-value.c (main) Delete locals sptr, sn.
39 * gdb.python/py-lazy-string.c (pointer): New typedef.
40 (main): New locals ptr, array, typedef_ptr.
41 * gdb.python/py-value.exp: Move lazy string tests to ...
42 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
43 array, typedef lazy strings.
44
45 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
46
47 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
48 Add optional 'test' parameter.
49
50 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
51
52 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
53 Skip for versions of DejaGnu < 1.5.
54
55 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
56
57 * lib/gdb.exp (dejagnu_version): New proc.
58 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
59 Use dejagnu_version.
60
61 2017-03-10 Keith Seitz <keiths@redhat.com>
62
63 PR c++/8128
64 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
65 type from destructor regexps.
66 Add a branch which actually passes the test.
67 Adjust "ptype t5i" test names.
68
69 2017-03-08 Pedro Alves <palves@redhat.com>
70
71 * gdb.base/step-over-exit.exp: Add explicit test message.
72
73 2017-03-08 Pedro Alves <palves@redhat.com>
74
75 PR gdb/18360
76 * gdb.threads/interrupt-while-step-over.c: New file.
77 * gdb.threads/interrupt-while-step-over.exp: New file.
78
79 2017-03-08 Pedro Alves <palves@redhat.com>
80
81 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
82 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
83
84 2017-03-08 Pedro Alves <palves@redhat.com>
85
86 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
87 PKRU as not supported as a PASS.
88
89 2017-03-08 Pedro Alves <palves@redhat.com>
90
91 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
92 prefix instead of $binfile1/$binfile2.
93 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
94 in test message.
95 * gdb.python/py-completion.exp: Use "load python file" as test
96 messages instead of unstable path names.
97
98 2017-03-08 Pedro Alves <palves@redhat.com>
99 Jan Kratochvil <jan.kratochvil@redhat.com>
100
101 PR cli/21218
102 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
103 New proc.
104 (top level): Call it.
105
106 2017-03-08 Pedro Alves <palves@redhat.com>
107
108 PR tui/21216
109 * gdb.tui/tui-nl-filtered-output.exp: New file.
110
111 2017-03-08 Pedro Alves <palves@redhat.com>
112
113 * gdb.base/completion.exp: Move TUI completion tests to ...
114 * gdb.tui/completion.exp: ... this new file.
115
116 2017-03-08 Pedro Alves <palves@redhat.com>
117
118 * gdb.base/tui-disasm-long-lines.c,
119 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
120 gdb.base/tui-layout.exp: Move to ...
121 * gdb.tui/: ... this new directory.
122
123 2017-03-07 Pedro Alves <palves@redhat.com>
124
125 * gdb.base/tui-layout.c: New file.
126 * gdb.base/tui-layout.exp: New file.
127
128 2017-03-07 Pedro Alves <palves@redhat.com>
129
130 * gdb.base/tui-layout.c: Rename to ...
131 * gdb.base/tui-disasm-long-lines.c: ... this.
132 * gdb.base/tui-layout.exp: Rename to ...
133 * gdb.base/tui-disasm-long-lines.exp: ... this.
134
135 2017-03-07 Pedro Alves <palves@redhat.com>
136
137 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
138
139 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
140
141 * i386-mpx-call.c: New file.
142 * i386-mpx-call.exp: New file.
143
144 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
145
146 * gdb.arch/powerpc-power.exp: Delete test.
147 * gdb.arch/powerpc-power.s: Likewise.
148 * gdb.disasm/disassembler-options.exp: New test.
149 * gdb.arch/powerpc-altivec.exp: Likewise.
150 * gdb.arch/powerpc-altivec.s: Likewise.
151 * gdb.arch/powerpc-altivec2.exp: Likewise.
152 * gdb.arch/powerpc-altivec2.s: Likewise.
153 * gdb.arch/powerpc-altivec3.exp: Likewise.
154 * gdb.arch/powerpc-altivec3.s: Likewise.
155 * gdb.arch/powerpc-power7.exp: Likewise.
156 * gdb.arch/powerpc-power7.s: Likewise.
157 * gdb.arch/powerpc-power8.exp: Likewise.
158 * gdb.arch/powerpc-power8.s: Likewise.
159 * gdb.arch/powerpc-power9.exp: Likewise.
160 * gdb.arch/powerpc-power9.s: Likewise.
161 * gdb.arch/powerpc-vsx.exp: Likewise.
162 * gdb.arch/powerpc-vsx.s: Likewise.
163 * gdb.arch/powerpc-vsx2.exp: Likewise.
164 * gdb.arch/powerpc-vsx2.s: Likewise.
165 * gdb.arch/powerpc-vsx3.exp: Likewise.
166 * gdb.arch/powerpc-vsx3.s: Likewise.
167 * gdb.arch/arm-disassembler-options.exp: Likewise.
168 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
169 * gdb.arch/s390-disassembler-options.exp: Likewise.
170
171 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
172
173 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
174 (check_supported_features): ... this. Changed return type to void.
175 (supports_rdseed): New static global.
176 (rdseed): Check supports_rdseed.
177 (initialize): Call check_supported_features.
178
179 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
180
181 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
182 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
183 and lqarx/stqcx.
184 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
185 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
186
187 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
188
189 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
190 uppercase.
191
192 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
193
194 * gdb.dwarf2/formdata16.c: New file.
195 * gdb.dwarf2/formdata16.exp: New file.
196 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
197
198 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
199
200 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
201 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
202 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
203 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
204 DW_AT_GNU_*.
205
206 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
207
208 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
209
210 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
211
212 PR gdb/21164
213 * gdb.base/maint.exp: Add testcases for when the commands do
214 not have arguments.
215
216 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
217
218 * gdb.cp/chained-calls.exp: Use p instead of P.
219
220 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
221
222 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
223 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
224
225 2017-02-14 Tom Tromey <tom@tromey.com>
226
227 PR python/13598:
228 * gdb.python/py-events.exp: Add before_prompt event tests.
229
230 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
231
232 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
233
234 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
235
236 * gdb.linespec/explicit.c (my_unique_function_name): New function.
237 (main): Call my_unique_function_name.
238 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
239 completion of patterns with a single match.
240 Add missing -re switches to gdb_test_multiple calls.
241
242 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
243
244 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
245 return if core file is not recognized.
246
247 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
248
249 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
250 and extra UIs.
251
252 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
253
254 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
255 proc_with_prefix.
256
257 2017-02-10 Tom Tromey <tom@tromey.com>
258
259 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
260
261 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
262
263 PR gdb/21122
264 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
265
266 2017-02-08 Jerome Guitton <guitton@adacore.com>
267
268 * gdb.base/define.exp: Add test for command abbreviations
269 in define.
270
271 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
272
273 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
274 * gdb.reverse/insn-reverse-x86.c: New file.
275
276 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
277
278 PR tdep/20936
279 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
280
281 2017-02-03 Tom Tromey <tom@tromey.com>
282
283 PR rust/21097:
284 * gdb.rust/simple.exp: Add new tests.
285
286 2017-02-02 Pedro Alves <palves@redhat.com>
287
288 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
289 tests.
290
291 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
292
293 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
294 taking a 2-byte value out of a 4-byte DWARF implicit value on
295 big-endian targets.
296 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
297 logic. Add test cases for DW_OP_implicit.
298
299 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
300
301 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
302
303 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
304
305 * gdb.btrace/enable.exp: Call gdb_exit before
306 skip_gdbserver_tests.
307
308 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
309
310 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
311 GDBFLAGS.
312
313 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
314
315 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
316 the test is skipped.
317 * gdb.btrace/data.exp: Likewise.
318 * gdb.btrace/delta.exp: Likewise.
319 * gdb.btrace/dlopen.exp: Likewise.
320 * gdb.btrace/enable-running.exp: Likewise.
321 * gdb.btrace/enable.exp: Likewise.
322 * gdb.btrace/exception.exp: Likewise.
323 * gdb.btrace/function_call_history.exp: Likewise.
324 * gdb.btrace/gcore.exp: Likewise.
325 * gdb.btrace/instruction_history.exp: Likewise.
326 * gdb.btrace/multi-thread-step.exp: Likewise.
327 * gdb.btrace/nohist.exp: Likewise.
328 * gdb.btrace/non-stop.exp: Likewise.
329 * gdb.btrace/reconnect.exp: Likewise.
330 * gdb.btrace/record_goto-step.exp: Likewise.
331 * gdb.btrace/record_goto.exp: Likewise.
332 * gdb.btrace/rn-dl-bind.exp: Likewise.
333 * gdb.btrace/segv.exp: Likewise.
334 * gdb.btrace/step.exp: Likewise.
335 * gdb.btrace/stepi.exp: Likewise.
336 * gdb.btrace/tailcall-only.exp: Likewise.
337 * gdb.btrace/tailcall.exp: Likewise.
338 * gdb.btrace/tsx.exp: Likewise.
339 * gdb.btrace/unknown_functions.exp: Likewise.
340 * gdb.btrace/vdso.exp: Likewise.
341
342 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
343
344 * gdb.btrace/enable-running.c: New.
345 * gdb.btrace/enable-running.exp: New.
346
347 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
348
349 * gdb.arch/amd64-gs_base.c: New file.
350 * gdb.arch/amd64-gs_base.exp: New file.
351
352 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
353
354 * lib/memory.exp: Remove spurious empty newlines.
355
356 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
357
358 * gdb.python/py-bad-printers.exp: Load python file using "source".
359 * gdb.python/py-events.exp: Likewise.
360 * gdb.python/py-evsignal.exp: Likewise.
361 * gdb.python/py-evthreads.exp: Likewise.
362 * gdb.python/py-frame-args.exp: Likewise.
363 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
364 * gdb.python/py-framefilter-mi.exp: Likewise.
365 * gdb.python/py-framefilter.exp: Likewise.
366 * gdb.python/py-mi.exp: Likewise.
367 * gdb.python/py-pp-maint.exp: Likewise.
368 * gdb.python/py-pp-registration.exp: Likewise.
369 * gdb.python/py-prettyprint.exp: Likewise.
370 (run_lang_tests): Likewise.
371 * gdb.python/py-typeprint.exp: Likewise.
372
373 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
374
375 * lib/memory.exp: New file.
376 * lib/gdb.exp: Load memory.exp.
377 * gdb.base/memattr.exp (delete_memory): Move proc to
378 lib/memory.exp and rename to delete_memory_regions.
379 Replace delete_memory with delete_memory_regions.
380 Cleanup memory regions before tests.
381 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
382 before tests.
383
384 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
385
386 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
387 files.
388 (initialize): New function conditionally defined.
389 (testcases): Move within conditional block.
390 (main): Call initialize.
391 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
392 of gdb.reverse/insn-reverse.c.
393 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
394 gdb.reverse/insn-reverse.c.
395
396 2017-01-26 Yao Qi <yao.qi@linaro.org>
397
398 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
399 disassemble on address 0.
400
401 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
402 Yao Qi <yao.qi@linaro.org>
403
404 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
405 * gdb.dwarf2/implptr-64bit.S: Remove.
406 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
407 variables in caller's context. Add DW_OP_implicit_value.
408
409 2017-01-25 Yao Qi <yao.qi@linaro.org>
410
411 * lib/dwarf.exp (Dwarf::_location): Handle
412 DW_OP_GNU_implicit_pointer with proper size.
413
414 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
415
416 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
417 and add untested calls.
418
419 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
420
421 * gdb.python/python.exp: Check line number against what GDB thinks
422 the line number is for func1.
423
424 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
425
426 * gdb.dlang/debug-expr.exp: New file.
427
428 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
429
430 Fix test names for the following files:
431
432 * gdb.ada/exec_changed.exp
433 * gdb.ada/info_types.exp
434 * gdb.arch/aarch64-atomic-inst.exp
435 * gdb.arch/aarch64-fp.exp
436 * gdb.arch/altivec-abi.exp
437 * gdb.arch/altivec-regs.exp
438 * gdb.arch/amd64-byte.exp
439 * gdb.arch/amd64-disp-step.exp
440 * gdb.arch/amd64-dword.exp
441 * gdb.arch/amd64-entry-value-inline.exp
442 * gdb.arch/amd64-entry-value-param.exp
443 * gdb.arch/amd64-entry-value-paramref.exp
444 * gdb.arch/amd64-entry-value.exp
445 * gdb.arch/amd64-i386-address.exp
446 * gdb.arch/amd64-invalid-stack-middle.exp
447 * gdb.arch/amd64-invalid-stack-top.exp
448 * gdb.arch/amd64-optimout-repeat.exp
449 * gdb.arch/amd64-prologue-skip.exp
450 * gdb.arch/amd64-prologue-xmm.exp
451 * gdb.arch/amd64-stap-special-operands.exp
452 * gdb.arch/amd64-stap-wrong-subexp.exp
453 * gdb.arch/amd64-tailcall-cxx.exp
454 * gdb.arch/amd64-tailcall-noret.exp
455 * gdb.arch/amd64-tailcall-ret.exp
456 * gdb.arch/amd64-tailcall-self.exp
457 * gdb.arch/amd64-word.exp
458 * gdb.arch/arm-bl-branch-dest.exp
459 * gdb.arch/arm-disp-step.exp
460 * gdb.arch/arm-neon.exp
461 * gdb.arch/arm-single-step-kernel-helper.exp
462 * gdb.arch/avr-flash-qualifier.exp
463 * gdb.arch/disp-step-insn-reloc.exp
464 * gdb.arch/e500-abi.exp
465 * gdb.arch/e500-regs.exp
466 * gdb.arch/ftrace-insn-reloc.exp
467 * gdb.arch/i386-avx512.exp
468 * gdb.arch/i386-bp_permanent.exp
469 * gdb.arch/i386-byte.exp
470 * gdb.arch/i386-cfi-notcurrent.exp
471 * gdb.arch/i386-disp-step.exp
472 * gdb.arch/i386-dr3-watch.exp
473 * gdb.arch/i386-float.exp
474 * gdb.arch/i386-gnu-cfi.exp
475 * gdb.arch/i386-mpx-map.exp
476 * gdb.arch/i386-mpx-sigsegv.exp
477 * gdb.arch/i386-mpx-simple_segv.exp
478 * gdb.arch/i386-mpx.exp
479 * gdb.arch/i386-permbkpt.exp
480 * gdb.arch/i386-prologue.exp
481 * gdb.arch/i386-signal.exp
482 * gdb.arch/i386-size-overlap.exp
483 * gdb.arch/i386-unwind.exp
484 * gdb.arch/i386-word.exp
485 * gdb.arch/mips-fcr.exp
486 * gdb.arch/powerpc-d128-regs.exp
487 * gdb.arch/powerpc-stackless.exp
488 * gdb.arch/ppc64-atomic-inst.exp
489 * gdb.arch/s390-stackless.exp
490 * gdb.arch/s390-tdbregs.exp
491 * gdb.arch/s390-vregs.exp
492 * gdb.arch/sparc-sysstep.exp
493 * gdb.arch/thumb-bx-pc.exp
494 * gdb.arch/thumb-singlestep.exp
495 * gdb.arch/thumb2-it.exp
496 * gdb.arch/vsx-regs.exp
497 * gdb.asm/asm-source.exp
498 * gdb.base/a2-run.exp
499 * gdb.base/advance.exp
500 * gdb.base/all-bin.exp
501 * gdb.base/anon.exp
502 * gdb.base/args.exp
503 * gdb.base/arithmet.exp
504 * gdb.base/async-shell.exp
505 * gdb.base/async.exp
506 * gdb.base/attach-pie-noexec.exp
507 * gdb.base/attach-twice.exp
508 * gdb.base/auto-load.exp
509 * gdb.base/bang.exp
510 * gdb.base/bitfields.exp
511 * gdb.base/break-always.exp
512 * gdb.base/break-caller-line.exp
513 * gdb.base/break-entry.exp
514 * gdb.base/break-inline.exp
515 * gdb.base/break-on-linker-gcd-function.exp
516 * gdb.base/break-probes.exp
517 * gdb.base/break.exp
518 * gdb.base/breakpoint-shadow.exp
519 * gdb.base/call-ar-st.exp
520 * gdb.base/call-sc.exp
521 * gdb.base/call-signal-resume.exp
522 * gdb.base/call-strs.exp
523 * gdb.base/callfuncs.exp
524 * gdb.base/catch-fork-static.exp
525 * gdb.base/catch-gdb-caused-signals.exp
526 * gdb.base/catch-load.exp
527 * gdb.base/catch-signal-fork.exp
528 * gdb.base/catch-signal.exp
529 * gdb.base/catch-syscall.exp
530 * gdb.base/charset.exp
531 * gdb.base/checkpoint.exp
532 * gdb.base/chng-syms.exp
533 * gdb.base/code-expr.exp
534 * gdb.base/code_elim.exp
535 * gdb.base/commands.exp
536 * gdb.base/completion.exp
537 * gdb.base/complex.exp
538 * gdb.base/cond-expr.exp
539 * gdb.base/condbreak.exp
540 * gdb.base/consecutive.exp
541 * gdb.base/continue-all-already-running.exp
542 * gdb.base/coredump-filter.exp
543 * gdb.base/corefile.exp
544 * gdb.base/dbx.exp
545 * gdb.base/debug-expr.exp
546 * gdb.base/define.exp
547 * gdb.base/del.exp
548 * gdb.base/disabled-location.exp
549 * gdb.base/disasm-end-cu.exp
550 * gdb.base/disasm-optim.exp
551 * gdb.base/display.exp
552 * gdb.base/duplicate-bp.exp
553 * gdb.base/ena-dis-br.exp
554 * gdb.base/ending-run.exp
555 * gdb.base/enumval.exp
556 * gdb.base/environ.exp
557 * gdb.base/eu-strip-infcall.exp
558 * gdb.base/eval-avoid-side-effects.exp
559 * gdb.base/eval-skip.exp
560 * gdb.base/exitsignal.exp
561 * gdb.base/expand-psymtabs.exp
562 * gdb.base/filesym.exp
563 * gdb.base/find-unmapped.exp
564 * gdb.base/finish.exp
565 * gdb.base/float.exp
566 * gdb.base/foll-exec-mode.exp
567 * gdb.base/foll-exec.exp
568 * gdb.base/foll-fork.exp
569 * gdb.base/fortran-sym-case.exp
570 * gdb.base/freebpcmd.exp
571 * gdb.base/func-ptr.exp
572 * gdb.base/func-ptrs.exp
573 * gdb.base/funcargs.exp
574 * gdb.base/gcore-buffer-overflow.exp
575 * gdb.base/gcore-relro-pie.exp
576 * gdb.base/gcore-relro.exp
577 * gdb.base/gcore.exp
578 * gdb.base/gdb1090.exp
579 * gdb.base/gdb11530.exp
580 * gdb.base/gdb11531.exp
581 * gdb.base/gdb1821.exp
582 * gdb.base/gdbindex-stabs.exp
583 * gdb.base/gdbvars.exp
584 * gdb.base/hbreak.exp
585 * gdb.base/hbreak2.exp
586 * gdb.base/included.exp
587 * gdb.base/infcall-input.exp
588 * gdb.base/inferior-died.exp
589 * gdb.base/infnan.exp
590 * gdb.base/info-macros.exp
591 * gdb.base/info-os.exp
592 * gdb.base/info-proc.exp
593 * gdb.base/info-shared.exp
594 * gdb.base/info-target.exp
595 * gdb.base/infoline.exp
596 * gdb.base/interp.exp
597 * gdb.base/interrupt.exp
598 * gdb.base/jit-reader.exp
599 * gdb.base/jit-simple.exp
600 * gdb.base/kill-after-signal.exp
601 * gdb.base/kill-detach-inferiors-cmd.exp
602 * gdb.base/label.exp
603 * gdb.base/langs.exp
604 * gdb.base/ldbl_e308.exp
605 * gdb.base/line-symtabs.exp
606 * gdb.base/linespecs.exp
607 * gdb.base/list.exp
608 * gdb.base/long_long.exp
609 * gdb.base/longest-types.exp
610 * gdb.base/maint.exp
611 * gdb.base/max-value-size.exp
612 * gdb.base/memattr.exp
613 * gdb.base/mips_pro.exp
614 * gdb.base/morestack.exp
615 * gdb.base/moribund-step.exp
616 * gdb.base/multi-forks.exp
617 * gdb.base/nested-addr.exp
618 * gdb.base/nextoverexit.exp
619 * gdb.base/noreturn-finish.exp
620 * gdb.base/noreturn-return.exp
621 * gdb.base/nostdlib.exp
622 * gdb.base/offsets.exp
623 * gdb.base/opaque.exp
624 * gdb.base/pc-fp.exp
625 * gdb.base/permissions.exp
626 * gdb.base/print-symbol-loading.exp
627 * gdb.base/prologue-include.exp
628 * gdb.base/psymtab.exp
629 * gdb.base/ptype.exp
630 * gdb.base/random-signal.exp
631 * gdb.base/randomize.exp
632 * gdb.base/range-stepping.exp
633 * gdb.base/readline-ask.exp
634 * gdb.base/recpar.exp
635 * gdb.base/recurse.exp
636 * gdb.base/relational.exp
637 * gdb.base/restore.exp
638 * gdb.base/return-nodebug.exp
639 * gdb.base/return.exp
640 * gdb.base/run-after-attach.exp
641 * gdb.base/save-bp.exp
642 * gdb.base/scope.exp
643 * gdb.base/sect-cmd.exp
644 * gdb.base/set-lang-auto.exp
645 * gdb.base/set-noassign.exp
646 * gdb.base/setvar.exp
647 * gdb.base/sigall.exp
648 * gdb.base/sigbpt.exp
649 * gdb.base/siginfo-addr.exp
650 * gdb.base/siginfo-infcall.exp
651 * gdb.base/siginfo-obj.exp
652 * gdb.base/siginfo.exp
653 * gdb.base/signals-state-child.exp
654 * gdb.base/signest.exp
655 * gdb.base/sigstep.exp
656 * gdb.base/sizeof.exp
657 * gdb.base/skip.exp
658 * gdb.base/solib-corrupted.exp
659 * gdb.base/solib-nodir.exp
660 * gdb.base/solib-search.exp
661 * gdb.base/stack-checking.exp
662 * gdb.base/stale-infcall.exp
663 * gdb.base/stap-probe.exp
664 * gdb.base/start.exp
665 * gdb.base/step-break.exp
666 * gdb.base/step-bt.exp
667 * gdb.base/step-line.exp
668 * gdb.base/step-over-exit.exp
669 * gdb.base/step-over-syscall.exp
670 * gdb.base/step-resume-infcall.exp
671 * gdb.base/step-test.exp
672 * gdb.base/store.exp
673 * gdb.base/structs3.exp
674 * gdb.base/sym-file.exp
675 * gdb.base/symbol-without-target_section.exp
676 * gdb.base/term.exp
677 * gdb.base/testenv.exp
678 * gdb.base/ui-redirect.exp
679 * gdb.base/until.exp
680 * gdb.base/unwindonsignal.exp
681 * gdb.base/value-double-free.exp
682 * gdb.base/vla-datatypes.exp
683 * gdb.base/vla-ptr.exp
684 * gdb.base/vla-sideeffect.exp
685 * gdb.base/volatile.exp
686 * gdb.base/watch-cond-infcall.exp
687 * gdb.base/watch-cond.exp
688 * gdb.base/watch-non-mem.exp
689 * gdb.base/watch-read.exp
690 * gdb.base/watch-vfork.exp
691 * gdb.base/watchpoint-cond-gone.exp
692 * gdb.base/watchpoint-delete.exp
693 * gdb.base/watchpoint-hw-hit-once.exp
694 * gdb.base/watchpoint-hw.exp
695 * gdb.base/watchpoint-stops-at-right-insn.exp
696 * gdb.base/watchpoints.exp
697 * gdb.base/wchar.exp
698 * gdb.base/whatis-exp.exp
699 * gdb.btrace/buffer-size.exp
700 * gdb.btrace/data.exp
701 * gdb.btrace/delta.exp
702 * gdb.btrace/dlopen.exp
703 * gdb.btrace/enable.exp
704 * gdb.btrace/exception.exp
705 * gdb.btrace/function_call_history.exp
706 * gdb.btrace/gcore.exp
707 * gdb.btrace/instruction_history.exp
708 * gdb.btrace/nohist.exp
709 * gdb.btrace/reconnect.exp
710 * gdb.btrace/record_goto-step.exp
711 * gdb.btrace/record_goto.exp
712 * gdb.btrace/rn-dl-bind.exp
713 * gdb.btrace/segv.exp
714 * gdb.btrace/step.exp
715 * gdb.btrace/stepi.exp
716 * gdb.btrace/tailcall-only.exp
717 * gdb.btrace/tailcall.exp
718 * gdb.btrace/tsx.exp
719 * gdb.btrace/unknown_functions.exp
720 * gdb.btrace/vdso.exp
721 * gdb.compile/compile-ifunc.exp
722 * gdb.compile/compile-ops.exp
723 * gdb.compile/compile-print.exp
724 * gdb.compile/compile-setjmp.exp
725 * gdb.cp/abstract-origin.exp
726 * gdb.cp/ambiguous.exp
727 * gdb.cp/annota2.exp
728 * gdb.cp/annota3.exp
729 * gdb.cp/anon-ns.exp
730 * gdb.cp/anon-struct.exp
731 * gdb.cp/anon-union.exp
732 * gdb.cp/arg-reference.exp
733 * gdb.cp/baseenum.exp
734 * gdb.cp/bool.exp
735 * gdb.cp/breakpoint.exp
736 * gdb.cp/bs15503.exp
737 * gdb.cp/call-c.exp
738 * gdb.cp/casts.exp
739 * gdb.cp/chained-calls.exp
740 * gdb.cp/class2.exp
741 * gdb.cp/classes.exp
742 * gdb.cp/cmpd-minsyms.exp
743 * gdb.cp/converts.exp
744 * gdb.cp/cp-relocate.exp
745 * gdb.cp/cpcompletion.exp
746 * gdb.cp/cpexprs.exp
747 * gdb.cp/cplabel.exp
748 * gdb.cp/cplusfuncs.exp
749 * gdb.cp/cpsizeof.exp
750 * gdb.cp/ctti.exp
751 * gdb.cp/derivation.exp
752 * gdb.cp/destrprint.exp
753 * gdb.cp/dispcxx.exp
754 * gdb.cp/enum-class.exp
755 * gdb.cp/exception.exp
756 * gdb.cp/exceptprint.exp
757 * gdb.cp/expand-psymtabs-cxx.exp
758 * gdb.cp/expand-sals.exp
759 * gdb.cp/extern-c.exp
760 * gdb.cp/filename.exp
761 * gdb.cp/formatted-ref.exp
762 * gdb.cp/fpointer.exp
763 * gdb.cp/gdb1355.exp
764 * gdb.cp/gdb2495.exp
765 * gdb.cp/hang.exp
766 * gdb.cp/impl-this.exp
767 * gdb.cp/infcall-dlopen.exp
768 * gdb.cp/inherit.exp
769 * gdb.cp/iostream.exp
770 * gdb.cp/koenig.exp
771 * gdb.cp/local.exp
772 * gdb.cp/m-data.exp
773 * gdb.cp/m-static.exp
774 * gdb.cp/mb-ctor.exp
775 * gdb.cp/mb-inline.exp
776 * gdb.cp/mb-templates.exp
777 * gdb.cp/member-name.exp
778 * gdb.cp/member-ptr.exp
779 * gdb.cp/meth-typedefs.exp
780 * gdb.cp/method.exp
781 * gdb.cp/method2.exp
782 * gdb.cp/minsym-fallback.exp
783 * gdb.cp/misc.exp
784 * gdb.cp/namelessclass.exp
785 * gdb.cp/namespace-enum.exp
786 * gdb.cp/namespace-nested-import.exp
787 * gdb.cp/namespace.exp
788 * gdb.cp/nextoverthrow.exp
789 * gdb.cp/no-dmgl-verbose.exp
790 * gdb.cp/non-trivial-retval.exp
791 * gdb.cp/noparam.exp
792 * gdb.cp/nsdecl.exp
793 * gdb.cp/nsimport.exp
794 * gdb.cp/nsnested.exp
795 * gdb.cp/nsnoimports.exp
796 * gdb.cp/nsrecurs.exp
797 * gdb.cp/nsstress.exp
798 * gdb.cp/nsusing.exp
799 * gdb.cp/operator.exp
800 * gdb.cp/oranking.exp
801 * gdb.cp/overload-const.exp
802 * gdb.cp/overload.exp
803 * gdb.cp/ovldbreak.exp
804 * gdb.cp/ovsrch.exp
805 * gdb.cp/paren-type.exp
806 * gdb.cp/parse-lang.exp
807 * gdb.cp/pass-by-ref.exp
808 * gdb.cp/pr-1023.exp
809 * gdb.cp/pr-1210.exp
810 * gdb.cp/pr-574.exp
811 * gdb.cp/pr10687.exp
812 * gdb.cp/pr12028.exp
813 * gdb.cp/pr17132.exp
814 * gdb.cp/pr17494.exp
815 * gdb.cp/pr9067.exp
816 * gdb.cp/pr9167.exp
817 * gdb.cp/pr9631.exp
818 * gdb.cp/printmethod.exp
819 * gdb.cp/psmang.exp
820 * gdb.cp/psymtab-parameter.exp
821 * gdb.cp/ptype-cv-cp.exp
822 * gdb.cp/ptype-flags.exp
823 * gdb.cp/re-set-overloaded.exp
824 * gdb.cp/ref-types.exp
825 * gdb.cp/rtti.exp
826 * gdb.cp/scope-err.exp
827 * gdb.cp/shadow.exp
828 * gdb.cp/smartp.exp
829 * gdb.cp/static-method.exp
830 * gdb.cp/static-print-quit.exp
831 * gdb.cp/temargs.exp
832 * gdb.cp/templates.exp
833 * gdb.cp/try_catch.exp
834 * gdb.cp/typedef-operator.exp
835 * gdb.cp/typeid.exp
836 * gdb.cp/userdef.exp
837 * gdb.cp/using-crash.exp
838 * gdb.cp/var-tag.exp
839 * gdb.cp/virtbase.exp
840 * gdb.cp/virtfunc.exp
841 * gdb.cp/virtfunc2.exp
842 * gdb.cp/vla-cxx.exp
843 * gdb.disasm/t01_mov.exp
844 * gdb.disasm/t02_mova.exp
845 * gdb.disasm/t03_add.exp
846 * gdb.disasm/t04_sub.exp
847 * gdb.disasm/t05_cmp.exp
848 * gdb.disasm/t06_ari2.exp
849 * gdb.disasm/t07_ari3.exp
850 * gdb.disasm/t08_or.exp
851 * gdb.disasm/t09_xor.exp
852 * gdb.disasm/t10_and.exp
853 * gdb.disasm/t11_logs.exp
854 * gdb.disasm/t12_bit.exp
855 * gdb.disasm/t13_otr.exp
856 * gdb.dlang/circular.exp
857 * gdb.dwarf2/arr-stride.exp
858 * gdb.dwarf2/arr-subrange.exp
859 * gdb.dwarf2/atomic-type.exp
860 * gdb.dwarf2/bad-regnum.exp
861 * gdb.dwarf2/bitfield-parent-optimized-out.exp
862 * gdb.dwarf2/callframecfa.exp
863 * gdb.dwarf2/clztest.exp
864 * gdb.dwarf2/corrupt.exp
865 * gdb.dwarf2/data-loc.exp
866 * gdb.dwarf2/dup-psym.exp
867 * gdb.dwarf2/dw2-anon-mptr.exp
868 * gdb.dwarf2/dw2-anonymous-func.exp
869 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
870 * gdb.dwarf2/dw2-bad-unresolved.exp
871 * gdb.dwarf2/dw2-basic.exp
872 * gdb.dwarf2/dw2-canonicalize-type.exp
873 * gdb.dwarf2/dw2-case-insensitive.exp
874 * gdb.dwarf2/dw2-common-block.exp
875 * gdb.dwarf2/dw2-compdir-oldgcc.exp
876 * gdb.dwarf2/dw2-compressed.exp
877 * gdb.dwarf2/dw2-const.exp
878 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
879 * gdb.dwarf2/dw2-cu-size.exp
880 * gdb.dwarf2/dw2-dup-frame.exp
881 * gdb.dwarf2/dw2-entry-value.exp
882 * gdb.dwarf2/dw2-icycle.exp
883 * gdb.dwarf2/dw2-ifort-parameter.exp
884 * gdb.dwarf2/dw2-inline-break.exp
885 * gdb.dwarf2/dw2-inline-param.exp
886 * gdb.dwarf2/dw2-intercu.exp
887 * gdb.dwarf2/dw2-intermix.exp
888 * gdb.dwarf2/dw2-lexical-block-bare.exp
889 * gdb.dwarf2/dw2-linkage-name-trust.exp
890 * gdb.dwarf2/dw2-minsym-in-cu.exp
891 * gdb.dwarf2/dw2-noloc.exp
892 * gdb.dwarf2/dw2-op-call.exp
893 * gdb.dwarf2/dw2-op-out-param.exp
894 * gdb.dwarf2/dw2-opt-structptr.exp
895 * gdb.dwarf2/dw2-param-error.exp
896 * gdb.dwarf2/dw2-producer.exp
897 * gdb.dwarf2/dw2-ranges-base.exp
898 * gdb.dwarf2/dw2-ref-missing-frame.exp
899 * gdb.dwarf2/dw2-reg-undefined.exp
900 * gdb.dwarf2/dw2-regno-invalid.exp
901 * gdb.dwarf2/dw2-restore.exp
902 * gdb.dwarf2/dw2-restrict.exp
903 * gdb.dwarf2/dw2-single-line-discriminators.exp
904 * gdb.dwarf2/dw2-strp.exp
905 * gdb.dwarf2/dw2-undefined-ret-addr.exp
906 * gdb.dwarf2/dw2-unresolved.exp
907 * gdb.dwarf2/dw2-var-zero-addr.exp
908 * gdb.dwarf2/dw4-sig-types.exp
909 * gdb.dwarf2/dwz.exp
910 * gdb.dwarf2/dynarr-ptr.exp
911 * gdb.dwarf2/enum-type.exp
912 * gdb.dwarf2/gdb-index.exp
913 * gdb.dwarf2/implptr-64bit.exp
914 * gdb.dwarf2/implptr-optimized-out.exp
915 * gdb.dwarf2/implptr.exp
916 * gdb.dwarf2/implref-array.exp
917 * gdb.dwarf2/implref-const.exp
918 * gdb.dwarf2/implref-global.exp
919 * gdb.dwarf2/implref-struct.exp
920 * gdb.dwarf2/mac-fileno.exp
921 * gdb.dwarf2/main-subprogram.exp
922 * gdb.dwarf2/member-ptr-forwardref.exp
923 * gdb.dwarf2/method-ptr.exp
924 * gdb.dwarf2/missing-sig-type.exp
925 * gdb.dwarf2/nonvar-access.exp
926 * gdb.dwarf2/opaque-type-lookup.exp
927 * gdb.dwarf2/pieces-optimized-out.exp
928 * gdb.dwarf2/pieces.exp
929 * gdb.dwarf2/pr10770.exp
930 * gdb.dwarf2/pr13961.exp
931 * gdb.dwarf2/staticvirtual.exp
932 * gdb.dwarf2/subrange.exp
933 * gdb.dwarf2/symtab-producer.exp
934 * gdb.dwarf2/trace-crash.exp
935 * gdb.dwarf2/typeddwarf.exp
936 * gdb.dwarf2/valop.exp
937 * gdb.dwarf2/watch-notconst.exp
938 * gdb.fortran/array-element.exp
939 * gdb.fortran/charset.exp
940 * gdb.fortran/common-block.exp
941 * gdb.fortran/complex.exp
942 * gdb.fortran/derived-type-function.exp
943 * gdb.fortran/derived-type.exp
944 * gdb.fortran/logical.exp
945 * gdb.fortran/module.exp
946 * gdb.fortran/multi-dim.exp
947 * gdb.fortran/nested-funcs.exp
948 * gdb.fortran/print-formatted.exp
949 * gdb.fortran/subarray.exp
950 * gdb.fortran/vla-alloc-assoc.exp
951 * gdb.fortran/vla-datatypes.exp
952 * gdb.fortran/vla-history.exp
953 * gdb.fortran/vla-ptr-info.exp
954 * gdb.fortran/vla-ptype-sub.exp
955 * gdb.fortran/vla-ptype.exp
956 * gdb.fortran/vla-sizeof.exp
957 * gdb.fortran/vla-type.exp
958 * gdb.fortran/vla-value-sub-arbitrary.exp
959 * gdb.fortran/vla-value-sub-finish.exp
960 * gdb.fortran/vla-value-sub.exp
961 * gdb.fortran/vla-value.exp
962 * gdb.fortran/whatis_type.exp
963 * gdb.go/chan.exp
964 * gdb.go/handcall.exp
965 * gdb.go/hello.exp
966 * gdb.go/integers.exp
967 * gdb.go/methods.exp
968 * gdb.go/package.exp
969 * gdb.go/strings.exp
970 * gdb.go/types.exp
971 * gdb.go/unsafe.exp
972 * gdb.guile/scm-arch.exp
973 * gdb.guile/scm-block.exp
974 * gdb.guile/scm-breakpoint.exp
975 * gdb.guile/scm-cmd.exp
976 * gdb.guile/scm-disasm.exp
977 * gdb.guile/scm-equal.exp
978 * gdb.guile/scm-frame-args.exp
979 * gdb.guile/scm-frame-inline.exp
980 * gdb.guile/scm-frame.exp
981 * gdb.guile/scm-iterator.exp
982 * gdb.guile/scm-math.exp
983 * gdb.guile/scm-objfile.exp
984 * gdb.guile/scm-ports.exp
985 * gdb.guile/scm-symbol.exp
986 * gdb.guile/scm-symtab.exp
987 * gdb.guile/scm-value-cc.exp
988 * gdb.guile/types-module.exp
989 * gdb.linespec/break-ask.exp
990 * gdb.linespec/cpexplicit.exp
991 * gdb.linespec/explicit.exp
992 * gdb.linespec/keywords.exp
993 * gdb.linespec/linespec.exp
994 * gdb.linespec/ls-dollar.exp
995 * gdb.linespec/ls-errs.exp
996 * gdb.linespec/skip-two.exp
997 * gdb.linespec/thread.exp
998 * gdb.mi/mi-async.exp
999 * gdb.mi/mi-basics.exp
1000 * gdb.mi/mi-break.exp
1001 * gdb.mi/mi-catch-load.exp
1002 * gdb.mi/mi-cli.exp
1003 * gdb.mi/mi-cmd-param-changed.exp
1004 * gdb.mi/mi-console.exp
1005 * gdb.mi/mi-detach.exp
1006 * gdb.mi/mi-disassemble.exp
1007 * gdb.mi/mi-eval.exp
1008 * gdb.mi/mi-file-transfer.exp
1009 * gdb.mi/mi-file.exp
1010 * gdb.mi/mi-fill-memory.exp
1011 * gdb.mi/mi-inheritance-syntax-error.exp
1012 * gdb.mi/mi-linespec-err-cp.exp
1013 * gdb.mi/mi-logging.exp
1014 * gdb.mi/mi-memory-changed.exp
1015 * gdb.mi/mi-read-memory.exp
1016 * gdb.mi/mi-record-changed.exp
1017 * gdb.mi/mi-reg-undefined.exp
1018 * gdb.mi/mi-regs.exp
1019 * gdb.mi/mi-return.exp
1020 * gdb.mi/mi-reverse.exp
1021 * gdb.mi/mi-simplerun.exp
1022 * gdb.mi/mi-solib.exp
1023 * gdb.mi/mi-stack.exp
1024 * gdb.mi/mi-stepi.exp
1025 * gdb.mi/mi-syn-frame.exp
1026 * gdb.mi/mi-until.exp
1027 * gdb.mi/mi-var-block.exp
1028 * gdb.mi/mi-var-child.exp
1029 * gdb.mi/mi-var-cmd.exp
1030 * gdb.mi/mi-var-cp.exp
1031 * gdb.mi/mi-var-display.exp
1032 * gdb.mi/mi-var-invalidate.exp
1033 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
1034 * gdb.mi/mi-vla-fortran.exp
1035 * gdb.mi/mi-watch.exp
1036 * gdb.mi/mi2-var-child.exp
1037 * gdb.mi/user-selected-context-sync.exp
1038 * gdb.modula2/unbounded-array.exp
1039 * gdb.multi/dummy-frame-restore.exp
1040 * gdb.multi/multi-arch-exec.exp
1041 * gdb.multi/multi-arch.exp
1042 * gdb.multi/tids.exp
1043 * gdb.multi/watchpoint-multi.exp
1044 * gdb.opencl/callfuncs.exp
1045 * gdb.opencl/convs_casts.exp
1046 * gdb.opencl/datatypes.exp
1047 * gdb.opencl/operators.exp
1048 * gdb.opencl/vec_comps.exp
1049 * gdb.opt/clobbered-registers-O2.exp
1050 * gdb.opt/inline-break.exp
1051 * gdb.opt/inline-bt.exp
1052 * gdb.opt/inline-cmds.exp
1053 * gdb.opt/inline-locals.exp
1054 * gdb.pascal/case-insensitive-symbols.exp
1055 * gdb.pascal/floats.exp
1056 * gdb.pascal/gdb11492.exp
1057 * gdb.python/lib-types.exp
1058 * gdb.python/py-arch.exp
1059 * gdb.python/py-as-string.exp
1060 * gdb.python/py-bad-printers.exp
1061 * gdb.python/py-block.exp
1062 * gdb.python/py-breakpoint-create-fail.exp
1063 * gdb.python/py-breakpoint.exp
1064 * gdb.python/py-caller-is.exp
1065 * gdb.python/py-cmd.exp
1066 * gdb.python/py-explore-cc.exp
1067 * gdb.python/py-explore.exp
1068 * gdb.python/py-finish-breakpoint.exp
1069 * gdb.python/py-finish-breakpoint2.exp
1070 * gdb.python/py-frame-args.exp
1071 * gdb.python/py-frame-inline.exp
1072 * gdb.python/py-frame.exp
1073 * gdb.python/py-framefilter-mi.exp
1074 * gdb.python/py-infthread.exp
1075 * gdb.python/py-lazy-string.exp
1076 * gdb.python/py-linetable.exp
1077 * gdb.python/py-mi-events.exp
1078 * gdb.python/py-mi-objfile.exp
1079 * gdb.python/py-mi.exp
1080 * gdb.python/py-objfile.exp
1081 * gdb.python/py-pp-integral.exp
1082 * gdb.python/py-pp-maint.exp
1083 * gdb.python/py-pp-re-notag.exp
1084 * gdb.python/py-pp-registration.exp
1085 * gdb.python/py-recurse-unwind.exp
1086 * gdb.python/py-strfns.exp
1087 * gdb.python/py-symbol.exp
1088 * gdb.python/py-symtab.exp
1089 * gdb.python/py-sync-interp.exp
1090 * gdb.python/py-typeprint.exp
1091 * gdb.python/py-unwind-maint.exp
1092 * gdb.python/py-unwind.exp
1093 * gdb.python/py-value-cc.exp
1094 * gdb.python/py-xmethods.exp
1095 * gdb.reverse/amd64-tailcall-reverse.exp
1096 * gdb.reverse/break-precsave.exp
1097 * gdb.reverse/break-reverse.exp
1098 * gdb.reverse/consecutive-precsave.exp
1099 * gdb.reverse/consecutive-reverse.exp
1100 * gdb.reverse/finish-precsave.exp
1101 * gdb.reverse/finish-reverse-bkpt.exp
1102 * gdb.reverse/finish-reverse.exp
1103 * gdb.reverse/fstatat-reverse.exp
1104 * gdb.reverse/getresuid-reverse.exp
1105 * gdb.reverse/i386-precsave.exp
1106 * gdb.reverse/i386-reverse.exp
1107 * gdb.reverse/i386-sse-reverse.exp
1108 * gdb.reverse/i387-env-reverse.exp
1109 * gdb.reverse/i387-stack-reverse.exp
1110 * gdb.reverse/insn-reverse.exp
1111 * gdb.reverse/machinestate-precsave.exp
1112 * gdb.reverse/machinestate.exp
1113 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1114 * gdb.reverse/pipe-reverse.exp
1115 * gdb.reverse/readv-reverse.exp
1116 * gdb.reverse/recvmsg-reverse.exp
1117 * gdb.reverse/rerun-prec.exp
1118 * gdb.reverse/s390-mvcle.exp
1119 * gdb.reverse/step-precsave.exp
1120 * gdb.reverse/step-reverse.exp
1121 * gdb.reverse/time-reverse.exp
1122 * gdb.reverse/until-precsave.exp
1123 * gdb.reverse/until-reverse.exp
1124 * gdb.reverse/waitpid-reverse.exp
1125 * gdb.reverse/watch-precsave.exp
1126 * gdb.reverse/watch-reverse.exp
1127 * gdb.rust/generics.exp
1128 * gdb.rust/methods.exp
1129 * gdb.rust/modules.exp
1130 * gdb.rust/simple.exp
1131 * gdb.server/connect-with-no-symbol-file.exp
1132 * gdb.server/ext-attach.exp
1133 * gdb.server/ext-restart.exp
1134 * gdb.server/ext-wrapper.exp
1135 * gdb.server/file-transfer.exp
1136 * gdb.server/server-exec-info.exp
1137 * gdb.server/server-kill.exp
1138 * gdb.server/server-mon.exp
1139 * gdb.server/wrapper.exp
1140 * gdb.stabs/exclfwd.exp
1141 * gdb.stabs/gdb11479.exp
1142 * gdb.threads/clone-new-thread-event.exp
1143 * gdb.threads/corethreads.exp
1144 * gdb.threads/current-lwp-dead.exp
1145 * gdb.threads/dlopen-libpthread.exp
1146 * gdb.threads/gcore-thread.exp
1147 * gdb.threads/sigstep-threads.exp
1148 * gdb.threads/watchpoint-fork.exp
1149 * gdb.trace/actions-changed.exp
1150 * gdb.trace/backtrace.exp
1151 * gdb.trace/change-loc.exp
1152 * gdb.trace/circ.exp
1153 * gdb.trace/collection.exp
1154 * gdb.trace/disconnected-tracing.exp
1155 * gdb.trace/ftrace.exp
1156 * gdb.trace/mi-trace-frame-collected.exp
1157 * gdb.trace/mi-trace-unavailable.exp
1158 * gdb.trace/mi-traceframe-changed.exp
1159 * gdb.trace/mi-tsv-changed.exp
1160 * gdb.trace/no-attach-trace.exp
1161 * gdb.trace/passc-dyn.exp
1162 * gdb.trace/qtro.exp
1163 * gdb.trace/range-stepping.exp
1164 * gdb.trace/read-memory.exp
1165 * gdb.trace/save-trace.exp
1166 * gdb.trace/signal.exp
1167 * gdb.trace/status-stop.exp
1168 * gdb.trace/tfile.exp
1169 * gdb.trace/trace-break.exp
1170 * gdb.trace/trace-buffer-size.exp
1171 * gdb.trace/trace-condition.exp
1172 * gdb.trace/tracefile-pseudo-reg.exp
1173 * gdb.trace/tstatus.exp
1174 * gdb.trace/unavailable.exp
1175 * gdb.trace/while-dyn.exp
1176 * gdb.trace/while-stepping.exp
1177
1178 2016-12-22 Doug Evans <xdje42@gmail.com>
1179
1180 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
1181 and msymbols.
1182
1183 2016-12-19 Yao Qi <yao.qi@linaro.org>
1184
1185 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
1186 (test_with_self): Don't call do_steps_and_nexts, and remove
1187 code about stepping into xmalloc.
1188
1189 2016-12-09 Yao Qi <yao.qi@linaro.org>
1190
1191 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
1192
1193 2016-12-09 Yao Qi <yao.qi@linaro.org>
1194
1195 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
1196
1197 2016-12-09 Pedro Alves <palves@redhat.com>
1198
1199 * gdb.base/all-architectures-0.exp: New file.
1200 * gdb.base/all-architectures-1.exp: New file.
1201 * gdb.base/all-architectures-2.exp: New file.
1202 * gdb.base/all-architectures-3.exp: New file.
1203 * gdb.base/all-architectures-4.exp: New file.
1204 * gdb.base/all-architectures-5.exp: New file.
1205 * gdb.base/all-architectures-6.exp: New file.
1206 * gdb.base/all-architectures-7.exp: New file.
1207 * gdb.base/all-architectures.exp.in: New file.
1208
1209 2016-12-09 Yao Qi <yao.qi@linaro.org>
1210
1211 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
1212
1213 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1214
1215 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
1216 possible.
1217 Remove useless pattern-matching code.
1218
1219 2016-12-02 Pedro Alves <palves@redhat.com>
1220
1221 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
1222 procedure.
1223 (top level): Call it.
1224
1225 2016-12-02 Pedro Alves <palves@redhat.com>
1226
1227 * gdb.base/commands.exp (user_defined_command_args_stack_test):
1228 New procedure.
1229 (top level): Call it.
1230
1231 2016-12-02 Pedro Alves <palves@redhat.com>
1232
1233 PR cli/20559
1234 * gdb.base/commands.exp (user_defined_command_args_eval): New
1235 procedure.
1236 (top level): Call it.
1237
1238 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1239
1240 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
1241 timeout handling.
1242
1243 2016-12-02 Tom Tromey <tom@tromey.com>
1244
1245 * gdb.dwarf2/main-subprogram.c: New file.
1246 * gdb.dwarf2/main-subprogram.exp: New file.
1247
1248 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1249
1250 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
1251 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
1252 gdb_test_no_output for a couple of cases.
1253 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
1254
1255 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1256
1257 Fix test names and standardize compilation error messages throughout
1258 the following files:
1259
1260 * gdb.ada/start.exp
1261 * gdb.arch/alpha-step.exp
1262 * gdb.arch/e500-prologue.exp
1263 * gdb.arch/ftrace-insn-reloc.exp
1264 * gdb.arch/gdb1291.exp
1265 * gdb.arch/gdb1431.exp
1266 * gdb.arch/gdb1558.exp
1267 * gdb.arch/i386-dr3-watch.exp
1268 * gdb.arch/i386-sse-stack-align.exp
1269 * gdb.arch/ia64-breakpoint-shadow.exp
1270 * gdb.arch/pa-nullify.exp
1271 * gdb.arch/powerpc-aix-prologue.exp
1272 * gdb.arch/thumb-bx-pc.exp
1273 * gdb.base/annota1.exp
1274 * gdb.base/annota3.exp
1275 * gdb.base/arrayidx.exp
1276 * gdb.base/assign.exp
1277 * gdb.base/attach.exp
1278 * gdb.base/auxv.exp
1279 * gdb.base/bang.exp
1280 * gdb.base/bfp-test.exp
1281 * gdb.base/bigcore.exp
1282 * gdb.base/bitfields2.exp
1283 * gdb.base/break-fun-addr.exp
1284 * gdb.base/break-probes.exp
1285 * gdb.base/call-rt-st.exp
1286 * gdb.base/callexit.exp
1287 * gdb.base/catch-fork-kill.exp
1288 * gdb.base/charset.exp
1289 * gdb.base/checkpoint.exp
1290 * gdb.base/comprdebug.exp
1291 * gdb.base/constvars.exp
1292 * gdb.base/coredump-filter.exp
1293 * gdb.base/cursal.exp
1294 * gdb.base/cvexpr.exp
1295 * gdb.base/detach.exp
1296 * gdb.base/display.exp
1297 * gdb.base/dmsym.exp
1298 * gdb.base/dprintf-pending.exp
1299 * gdb.base/dso2dso.exp
1300 * gdb.base/dtrace-probe.exp
1301 * gdb.base/dump.exp
1302 * gdb.base/enum_cond.exp
1303 * gdb.base/exe-lock.exp
1304 * gdb.base/exec-invalid-sysroot.exp
1305 * gdb.base/execl-update-breakpoints.exp
1306 * gdb.base/exprs.exp
1307 * gdb.base/fileio.exp
1308 * gdb.base/find.exp
1309 * gdb.base/finish.exp
1310 * gdb.base/fixsection.exp
1311 * gdb.base/foll-vfork.exp
1312 * gdb.base/frame-args.exp
1313 * gdb.base/gcore.exp
1314 * gdb.base/gdb1250.exp
1315 * gdb.base/global-var-nested-by-dso.exp
1316 * gdb.base/gnu-ifunc.exp
1317 * gdb.base/hashline1.exp
1318 * gdb.base/hashline2.exp
1319 * gdb.base/hashline3.exp
1320 * gdb.base/hbreak-in-shr-unsupported.exp
1321 * gdb.base/huge.exp
1322 * gdb.base/infcall-input.exp
1323 * gdb.base/info-fun.exp
1324 * gdb.base/info-shared.exp
1325 * gdb.base/jit-simple.exp
1326 * gdb.base/jit-so.exp
1327 * gdb.base/jit.exp
1328 * gdb.base/jump.exp
1329 * gdb.base/label.exp
1330 * gdb.base/lineinc.exp
1331 * gdb.base/logical.exp
1332 * gdb.base/longjmp.exp
1333 * gdb.base/macscp.exp
1334 * gdb.base/miscexprs.exp
1335 * gdb.base/new-ui-echo.exp
1336 * gdb.base/new-ui-pending-input.exp
1337 * gdb.base/new-ui.exp
1338 * gdb.base/nodebug.exp
1339 * gdb.base/nofield.exp
1340 * gdb.base/offsets.exp
1341 * gdb.base/overlays.exp
1342 * gdb.base/pending.exp
1343 * gdb.base/pointers.exp
1344 * gdb.base/pr11022.exp
1345 * gdb.base/printcmds.exp
1346 * gdb.base/prologue.exp
1347 * gdb.base/ptr-typedef.exp
1348 * gdb.base/realname-expand.exp
1349 * gdb.base/relativedebug.exp
1350 * gdb.base/relocate.exp
1351 * gdb.base/remote.exp
1352 * gdb.base/reread.exp
1353 * gdb.base/return2.exp
1354 * gdb.base/savedregs.exp
1355 * gdb.base/sep.exp
1356 * gdb.base/sepdebug.exp
1357 * gdb.base/sepsymtab.exp
1358 * gdb.base/set-inferior-tty.exp
1359 * gdb.base/setshow.exp
1360 * gdb.base/shlib-call.exp
1361 * gdb.base/sigaltstack.exp
1362 * gdb.base/siginfo-addr.exp
1363 * gdb.base/signals.exp
1364 * gdb.base/signull.exp
1365 * gdb.base/sigrepeat.exp
1366 * gdb.base/so-impl-ld.exp
1367 * gdb.base/solib-display.exp
1368 * gdb.base/solib-overlap.exp
1369 * gdb.base/solib-search.exp
1370 * gdb.base/solib-symbol.exp
1371 * gdb.base/structs.exp
1372 * gdb.base/structs2.exp
1373 * gdb.base/symtab-search-order.exp
1374 * gdb.base/twice.exp
1375 * gdb.base/unload.exp
1376 * gdb.base/varargs.exp
1377 * gdb.base/watchpoint-solib.exp
1378 * gdb.base/watchpoint.exp
1379 * gdb.base/whatis.exp
1380 * gdb.base/wrong_frame_bt_full.exp
1381 * gdb.btrace/dlopen.exp
1382 * gdb.cell/ea-standalone.exp
1383 * gdb.cell/ea-test.exp
1384 * gdb.cp/dispcxx.exp
1385 * gdb.cp/gdb2384.exp
1386 * gdb.cp/method2.exp
1387 * gdb.cp/nextoverthrow.exp
1388 * gdb.cp/pr10728.exp
1389 * gdb.disasm/am33.exp
1390 * gdb.disasm/h8300s.exp
1391 * gdb.disasm/mn10300.exp
1392 * gdb.disasm/sh3.exp
1393 * gdb.dwarf2/dw2-dir-file-name.exp
1394 * gdb.fortran/complex.exp
1395 * gdb.fortran/library-module.exp
1396 * gdb.guile/scm-pretty-print.exp
1397 * gdb.guile/scm-symbol.exp
1398 * gdb.guile/scm-type.exp
1399 * gdb.guile/scm-value.exp
1400 * gdb.linespec/linespec.exp
1401 * gdb.mi/gdb701.exp
1402 * gdb.mi/gdb792.exp
1403 * gdb.mi/mi-breakpoint-changed.exp
1404 * gdb.mi/mi-dprintf-pending.exp
1405 * gdb.mi/mi-dprintf.exp
1406 * gdb.mi/mi-exit-code.exp
1407 * gdb.mi/mi-pending.exp
1408 * gdb.mi/mi-solib.exp
1409 * gdb.mi/new-ui-mi-sync.exp
1410 * gdb.mi/pr11022.exp
1411 * gdb.mi/user-selected-context-sync.exp
1412 * gdb.opt/solib-intra-step.exp
1413 * gdb.python/py-events.exp
1414 * gdb.python/py-finish-breakpoint.exp
1415 * gdb.python/py-mi.exp
1416 * gdb.python/py-prettyprint.exp
1417 * gdb.python/py-shared.exp
1418 * gdb.python/py-symbol.exp
1419 * gdb.python/py-template.exp
1420 * gdb.python/py-type.exp
1421 * gdb.python/py-value.exp
1422 * gdb.reverse/solib-precsave.exp
1423 * gdb.reverse/solib-reverse.exp
1424 * gdb.server/solib-list.exp
1425 * gdb.stabs/weird.exp
1426 * gdb.threads/reconnect-signal.exp
1427 * gdb.threads/stepi-random-signal.exp
1428 * gdb.trace/actions.exp
1429 * gdb.trace/ax.exp
1430 * gdb.trace/backtrace.exp
1431 * gdb.trace/change-loc.exp
1432 * gdb.trace/deltrace.exp
1433 * gdb.trace/ftrace-lock.exp
1434 * gdb.trace/ftrace.exp
1435 * gdb.trace/infotrace.exp
1436 * gdb.trace/mi-tracepoint-changed.exp
1437 * gdb.trace/packetlen.exp
1438 * gdb.trace/passcount.exp
1439 * gdb.trace/pending.exp
1440 * gdb.trace/range-stepping.exp
1441 * gdb.trace/report.exp
1442 * gdb.trace/stap-trace.exp
1443 * gdb.trace/tfind.exp
1444 * gdb.trace/trace-break.exp
1445 * gdb.trace/trace-condition.exp
1446 * gdb.trace/trace-enable-disable.exp
1447 * gdb.trace/trace-mt.exp
1448 * gdb.trace/tracecmd.exp
1449 * gdb.trace/tspeed.exp
1450 * gdb.trace/tsv.exp
1451 * lib/perftest.exp
1452
1453 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1454
1455 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1456 with gdb_test_no_output.
1457 Use command as test name.
1458
1459 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1460
1461 Fix test names starting with uppercase throughout the files.
1462
1463 * gdb.ada/assign_1.exp
1464 * gdb.ada/boolean_expr.exp
1465 * gdb.base/arrayidx.exp
1466 * gdb.base/del.exp
1467 * gdb.base/gcore-buffer-overflow.exp
1468 * gdb.base/testenv.exp
1469 * gdb.compile/compile.exp
1470 * gdb.python/py-framefilter-invalidarg.exp
1471 * gdb.python/py-framefilter.exp
1472
1473 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1474
1475 Fix test names starting with uppercase throughout the files.
1476
1477 * gdb.ada/array_return.exp
1478 * gdb.ada/expr_delims.exp
1479 * gdb.ada/mi_dyn_arr.exp
1480 * gdb.ada/mi_interface.exp
1481 * gdb.ada/mi_var_array.exp
1482 * gdb.ada/watch_arg.exp
1483 * gdb.arch/alpha-step.exp
1484 * gdb.arch/altivec-regs.exp
1485 * gdb.arch/e500-regs.exp
1486 * gdb.arch/powerpc-d128-regs.exp
1487 * gdb.base/arrayidx.exp
1488 * gdb.base/break.exp
1489 * gdb.base/checkpoint.exp
1490 * gdb.base/debug-expr.exp
1491 * gdb.base/dmsym.exp
1492 * gdb.base/radix.exp
1493 * gdb.base/sepdebug.exp
1494 * gdb.base/testenv.exp
1495 * gdb.base/watch_thread_num.exp
1496 * gdb.base/watchpoint-cond-gone.exp
1497 * gdb.cell/break.exp
1498 * gdb.cell/ea-cache.exp
1499 * gdb.compile/compile.exp
1500 * gdb.cp/gdb2495.exp
1501 * gdb.gdb/selftest.exp
1502 * gdb.gdb/xfullpath.exp
1503 * gdb.go/hello.exp
1504 * gdb.go/integers.exp
1505 * gdb.objc/basicclass.exp
1506 * gdb.pascal/hello.exp
1507 * gdb.pascal/integers.exp
1508 * gdb.python/py-breakpoint.exp
1509 * gdb.python/py-cmd.exp
1510 * gdb.python/py-linetable.exp
1511 * gdb.python/py-xmethods.exp
1512 * gdb.python/python.exp
1513 * gdb.reverse/consecutive-precsave.exp
1514 * gdb.reverse/finish-precsave.exp
1515 * gdb.reverse/i386-precsave.exp
1516 * gdb.reverse/machinestate-precsave.exp
1517 * gdb.reverse/sigall-precsave.exp
1518 * gdb.reverse/solib-precsave.exp
1519 * gdb.reverse/step-precsave.exp
1520 * gdb.reverse/until-precsave.exp
1521 * gdb.reverse/watch-precsave.exp
1522 * gdb.threads/leader-exit.exp
1523 * gdb.threads/pthreads.exp
1524 * gdb.threads/wp-replication.exp
1525 * gdb.trace/actions.exp
1526 * gdb.trace/mi-tsv-changed.exp
1527 * gdb.trace/tsv.exp
1528
1529 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1530
1531 Fix test names starting with uppercase throughout the files.
1532
1533 * gdb.arch/i386-bp_permanent.exp
1534 * gdb.arch/i386-gnu-cfi.exp
1535 * gdb.base/disasm-end-cu.exp
1536 * gdb.base/macscp.exp
1537 * gdb.base/pending.exp
1538 * gdb.base/watch_thread_num.exp
1539 * gdb.cp/exception.exp
1540 * gdb.cp/gdb2495.exp
1541 * gdb.cp/local.exp
1542 * gdb.python/py-evsignal.exp
1543 * gdb.python/python.exp
1544 * gdb.trace/tracecmd.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.base/charset.exp
1551 * gdb.base/eval.exp
1552 * gdb.base/multi-forks.exp
1553 * gdb.guile/scm-progspace.exp
1554 * gdb.opencl/datatypes.exp
1555 * gdb.python/py-block.exp
1556 * gdb.python/py-function.exp
1557 * gdb.python/py-symbol.exp
1558 * gdb.python/py-symtab.exp
1559 * gdb.python/py-xmethods.exp
1560 * gdb.reverse/break-precsave.exp
1561 * gdb.reverse/break-reverse.exp
1562 * gdb.reverse/consecutive-precsave.exp
1563 * gdb.reverse/consecutive-reverse.exp
1564 * gdb.reverse/finish-precsave.exp
1565 * gdb.reverse/finish-reverse-bkpt.exp
1566 * gdb.reverse/finish-reverse.exp
1567 * gdb.reverse/fstatat-reverse.exp
1568 * gdb.reverse/getresuid-reverse.exp
1569 * gdb.reverse/i386-precsave.exp
1570 * gdb.reverse/i386-reverse.exp
1571 * gdb.reverse/i386-sse-reverse.exp
1572 * gdb.reverse/i387-stack-reverse.exp
1573 * gdb.reverse/insn-reverse.exp
1574 * gdb.reverse/machinestate-precsave.exp
1575 * gdb.reverse/machinestate.exp
1576 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1577 * gdb.reverse/pipe-reverse.exp
1578 * gdb.reverse/readv-reverse.exp
1579 * gdb.reverse/recvmsg-reverse.exp
1580 * gdb.reverse/rerun-prec.exp
1581 * gdb.reverse/s390-mvcle.exp
1582 * gdb.reverse/sigall-precsave.exp
1583 * gdb.reverse/sigall-reverse.exp
1584 * gdb.reverse/solib-precsave.exp
1585 * gdb.reverse/solib-reverse.exp
1586 * gdb.reverse/step-precsave.exp
1587 * gdb.reverse/step-reverse.exp
1588 * gdb.reverse/time-reverse.exp
1589 * gdb.reverse/until-precsave.exp
1590 * gdb.reverse/until-reverse.exp
1591 * gdb.reverse/waitpid-reverse.exp
1592 * gdb.reverse/watch-precsave.exp
1593 * gdb.reverse/watch-reverse.exp
1594
1595 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1596
1597 Fix test names starting with uppercase throughout the files.
1598
1599 * gdb.arch/i386-mpx-simple_segv.exp
1600 * gdb.arch/i386-mpx.exp
1601 * gdb.arch/i386-permbkpt.exp
1602 * gdb.arch/pa-nullify.exp
1603 * gdb.arch/powerpc-d128-regs.exp
1604 * gdb.arch/vsx-regs.exp
1605 * gdb.base/bfp-test.exp
1606 * gdb.base/break.exp
1607 * gdb.base/breakpoint-shadow.exp
1608 * gdb.base/callfuncs.exp
1609 * gdb.base/charset.exp
1610 * gdb.base/commands.exp
1611 * gdb.base/completion.exp
1612 * gdb.base/dfp-test.exp
1613 * gdb.base/echo.exp
1614 * gdb.base/ending-run.exp
1615 * gdb.base/eval.exp
1616 * gdb.base/expand-psymtabs.exp
1617 * gdb.base/float128.exp
1618 * gdb.base/floatn.exp
1619 * gdb.base/foll-exec-mode.exp
1620 * gdb.base/gdb1056.exp
1621 * gdb.base/gdb11531.exp
1622 * gdb.base/kill-after-signal.exp
1623 * gdb.base/multi-forks.exp
1624 * gdb.base/overlays.exp
1625 * gdb.base/pending.exp
1626 * gdb.base/sepdebug.exp
1627 * gdb.base/testenv.exp
1628 * gdb.base/valgrind-db-attach.exp
1629 * gdb.base/watch_thread_num.exp
1630 * gdb.base/watchpoint-cond-gone.exp
1631 * gdb.base/watchpoint.exp
1632 * gdb.base/watchpoints.exp
1633 * gdb.cp/arg-reference.exp
1634 * gdb.cp/baseenum.exp
1635 * gdb.cp/operator.exp
1636 * gdb.cp/shadow.exp
1637 * gdb.dwarf2/dw2-op-out-param.exp
1638 * gdb.dwarf2/dw2-reg-undefined.exp
1639 * gdb.go/chan.exp
1640 * gdb.go/hello.exp
1641 * gdb.go/integers.exp
1642 * gdb.go/methods.exp
1643 * gdb.go/package.exp
1644 * gdb.guile/scm-parameter.exp
1645 * gdb.guile/scm-progspace.exp
1646 * gdb.guile/scm-value.exp
1647 * gdb.mi/mi-pending.exp
1648 * gdb.mi/user-selected-context-sync.exp
1649 * gdb.multi/multi-attach.exp
1650 * gdb.multi/tids.exp
1651 * gdb.opt/clobbered-registers-O2.exp
1652 * gdb.pascal/floats.exp
1653 * gdb.pascal/integers.exp
1654 * gdb.python/py-block.exp
1655 * gdb.python/py-events.exp
1656 * gdb.python/py-parameter.exp
1657 * gdb.python/py-symbol.exp
1658 * gdb.python/py-symtab.exp
1659 * gdb.python/py-type.exp
1660 * gdb.python/py-value.exp
1661 * gdb.python/py-xmethods.exp
1662 * gdb.python/python.exp
1663 * gdb.reverse/break-precsave.exp
1664 * gdb.reverse/consecutive-precsave.exp
1665 * gdb.reverse/finish-precsave.exp
1666 * gdb.reverse/i386-precsave.exp
1667 * gdb.reverse/machinestate-precsave.exp
1668 * gdb.reverse/sigall-precsave.exp
1669 * gdb.reverse/solib-precsave.exp
1670 * gdb.reverse/step-precsave.exp
1671 * gdb.reverse/until-precsave.exp
1672 * gdb.reverse/watch-precsave.exp
1673 * gdb.server/ext-attach.exp
1674 * gdb.server/ext-restart.exp
1675 * gdb.server/ext-run.exp
1676 * gdb.server/ext-wrapper.exp
1677 * gdb.stabs/gdb11479.exp
1678 * gdb.stabs/weird.exp
1679 * gdb.threads/attach-many-short-lived-threads.exp
1680 * gdb.threads/kill.exp
1681 * gdb.threads/watchpoint-fork.exp
1682
1683 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1684
1685 Fix test names starting with uppercase throughout all the files below.
1686
1687 * gdb.ada/array_return.exp
1688 * gdb.ada/catch_ex.exp
1689 * gdb.ada/info_exc.exp
1690 * gdb.ada/mi_catch_ex.exp
1691 * gdb.ada/mi_dyn_arr.exp
1692 * gdb.ada/mi_ex_cond.exp
1693 * gdb.ada/mi_exc_info.exp
1694 * gdb.ada/mi_interface.exp
1695 * gdb.ada/mi_task_arg.exp
1696 * gdb.ada/mi_task_info.exp
1697 * gdb.ada/mi_var_array.exp
1698 * gdb.arch/alpha-step.exp
1699 * gdb.arch/amd64-disp-step.exp
1700 * gdb.arch/arm-disp-step.exp
1701 * gdb.arch/disp-step-insn-reloc.exp
1702 * gdb.arch/e500-prologue.exp
1703 * gdb.arch/ftrace-insn-reloc.exp
1704 * gdb.arch/gdb1558.exp
1705 * gdb.arch/i386-bp_permanent.exp
1706 * gdb.arch/i386-disp-step.exp
1707 * gdb.arch/i386-float.exp
1708 * gdb.arch/i386-gnu-cfi.exp
1709 * gdb.arch/ia64-breakpoint-shadow.exp
1710 * gdb.arch/mips16-thunks.exp
1711 * gdb.arch/pa-nullify.exp
1712 * gdb.arch/powerpc-aix-prologue.exp
1713 * gdb.arch/powerpc-power.exp
1714 * gdb.arch/ppc-dfp.exp
1715 * gdb.arch/s390-tdbregs.exp
1716 * gdb.arch/spu-info.exp
1717 * gdb.arch/spu-ls.exp
1718 * gdb.arch/thumb-bx-pc.exp
1719 * gdb.base/advance.exp
1720 * gdb.base/annota-input-while-running.exp
1721 * gdb.base/arrayidx.exp
1722 * gdb.base/asmlabel.exp
1723 * gdb.base/async.exp
1724 * gdb.base/attach-wait-input.exp
1725 * gdb.base/auto-connect-native-target.exp
1726 * gdb.base/batch-preserve-term-settings.exp
1727 * gdb.base/bfp-test.exp
1728 * gdb.base/bigcore.exp
1729 * gdb.base/bp-permanent.exp
1730 * gdb.base/break-always.exp
1731 * gdb.base/break-fun-addr.exp
1732 * gdb.base/break-idempotent.exp
1733 * gdb.base/break-main-file-remove-fail.exp
1734 * gdb.base/break-probes.exp
1735 * gdb.base/break-unload-file.exp
1736 * gdb.base/break.exp
1737 * gdb.base/call-ar-st.exp
1738 * gdb.base/call-rt-st.exp
1739 * gdb.base/call-sc.exp
1740 * gdb.base/call-signal-resume.exp
1741 * gdb.base/call-strs.exp
1742 * gdb.base/callexit.exp
1743 * gdb.base/callfuncs.exp
1744 * gdb.base/catch-gdb-caused-signals.exp
1745 * gdb.base/catch-signal-siginfo-cond.exp
1746 * gdb.base/catch-syscall.exp
1747 * gdb.base/compare-sections.exp
1748 * gdb.base/cond-eval-mode.exp
1749 * gdb.base/condbreak-call-false.exp
1750 * gdb.base/consecutive-step-over.exp
1751 * gdb.base/cursal.exp
1752 * gdb.base/disabled-location.exp
1753 * gdb.base/disasm-end-cu.exp
1754 * gdb.base/display.exp
1755 * gdb.base/double-prompt-target-event-error.exp
1756 * gdb.base/dprintf-bp-same-addr.exp
1757 * gdb.base/dprintf-detach.exp
1758 * gdb.base/dprintf-next.exp
1759 * gdb.base/dprintf-non-stop.exp
1760 * gdb.base/dprintf-pending.exp
1761 * gdb.base/dso2dso.exp
1762 * gdb.base/ending-run.exp
1763 * gdb.base/enum_cond.exp
1764 * gdb.base/examine-backward.exp
1765 * gdb.base/exe-lock.exp
1766 * gdb.base/exec-invalid-sysroot.exp
1767 * gdb.base/execl-update-breakpoints.exp
1768 * gdb.base/execution-termios.exp
1769 * gdb.base/fileio.exp
1770 * gdb.base/fixsection.exp
1771 * gdb.base/foll-exec-mode.exp
1772 * gdb.base/foll-exec.exp
1773 * gdb.base/fork-running-state.exp
1774 * gdb.base/frame-args.exp
1775 * gdb.base/fullpath-expand.exp
1776 * gdb.base/func-ptr.exp
1777 * gdb.base/gcore-relro-pie.exp
1778 * gdb.base/gdb1090.exp
1779 * gdb.base/gdb1555.exp
1780 * gdb.base/global-var-nested-by-dso.exp
1781 * gdb.base/gnu-ifunc.exp
1782 * gdb.base/hbreak-in-shr-unsupported.exp
1783 * gdb.base/hbreak-unmapped.exp
1784 * gdb.base/hook-stop.exp
1785 * gdb.base/infcall-input.exp
1786 * gdb.base/info-fun.exp
1787 * gdb.base/info-shared.exp
1788 * gdb.base/interrupt-noterm.exp
1789 * gdb.base/jit-so.exp
1790 * gdb.base/jit.exp
1791 * gdb.base/line-symtabs.exp
1792 * gdb.base/list.exp
1793 * gdb.base/longjmp.exp
1794 * gdb.base/macscp.exp
1795 * gdb.base/max-value-size.exp
1796 * gdb.base/nodebug.exp
1797 * gdb.base/nofield.exp
1798 * gdb.base/overlays.exp
1799 * gdb.base/paginate-after-ctrl-c-running.exp
1800 * gdb.base/paginate-bg-execution.exp
1801 * gdb.base/paginate-inferior-exit.exp
1802 * gdb.base/pending.exp
1803 * gdb.base/pr11022.exp
1804 * gdb.base/printcmds.exp
1805 * gdb.base/ptr-typedef.exp
1806 * gdb.base/ptype.exp
1807 * gdb.base/randomize.exp
1808 * gdb.base/range-stepping.exp
1809 * gdb.base/realname-expand.exp
1810 * gdb.base/relativedebug.exp
1811 * gdb.base/remote.exp
1812 * gdb.base/savedregs.exp
1813 * gdb.base/sepdebug.exp
1814 * gdb.base/set-noassign.exp
1815 * gdb.base/shlib-call.exp
1816 * gdb.base/shreloc.exp
1817 * gdb.base/sigaltstack.exp
1818 * gdb.base/sigbpt.exp
1819 * gdb.base/siginfo-addr.exp
1820 * gdb.base/siginfo-obj.exp
1821 * gdb.base/siginfo-thread.exp
1822 * gdb.base/signest.exp
1823 * gdb.base/signull.exp
1824 * gdb.base/sigrepeat.exp
1825 * gdb.base/skip.exp
1826 * gdb.base/so-impl-ld.exp
1827 * gdb.base/solib-corrupted.exp
1828 * gdb.base/solib-disc.exp
1829 * gdb.base/solib-display.exp
1830 * gdb.base/solib-overlap.exp
1831 * gdb.base/solib-search.exp
1832 * gdb.base/solib-symbol.exp
1833 * gdb.base/source-execution.exp
1834 * gdb.base/sss-bp-on-user-bp-2.exp
1835 * gdb.base/sss-bp-on-user-bp.exp
1836 * gdb.base/stack-checking.exp
1837 * gdb.base/stale-infcall.exp
1838 * gdb.base/step-break.exp
1839 * gdb.base/step-line.exp
1840 * gdb.base/step-over-exit.exp
1841 * gdb.base/step-test.exp
1842 * gdb.base/structs.exp
1843 * gdb.base/sym-file.exp
1844 * gdb.base/symtab-search-order.exp
1845 * gdb.base/term.exp
1846 * gdb.base/type-opaque.exp
1847 * gdb.base/unload.exp
1848 * gdb.base/until-nodebug.exp
1849 * gdb.base/until.exp
1850 * gdb.base/unwindonsignal.exp
1851 * gdb.base/watch-cond.exp
1852 * gdb.base/watch-non-mem.exp
1853 * gdb.base/watch_thread_num.exp
1854 * gdb.base/watchpoint-reuse-slot.exp
1855 * gdb.base/watchpoint-solib.exp
1856 * gdb.base/watchpoint.exp
1857 * gdb.btrace/dlopen.exp
1858 * gdb.cell/arch.exp
1859 * gdb.cell/break.exp
1860 * gdb.cell/bt.exp
1861 * gdb.cell/core.exp
1862 * gdb.cell/data.exp
1863 * gdb.cell/dwarfaddr.exp
1864 * gdb.cell/ea-cache.exp
1865 * gdb.cell/ea-standalone.exp
1866 * gdb.cell/ea-test.exp
1867 * gdb.cell/f-regs.exp
1868 * gdb.cell/fork.exp
1869 * gdb.cell/gcore.exp
1870 * gdb.cell/mem-access.exp
1871 * gdb.cell/ptype.exp
1872 * gdb.cell/registers.exp
1873 * gdb.cell/sizeof.exp
1874 * gdb.cell/solib-symbol.exp
1875 * gdb.cell/solib.exp
1876 * gdb.compile/compile-tls.exp
1877 * gdb.cp/exception.exp
1878 * gdb.cp/gdb2495.exp
1879 * gdb.cp/local.exp
1880 * gdb.cp/mb-inline.exp
1881 * gdb.cp/mb-templates.exp
1882 * gdb.cp/pr10687.exp
1883 * gdb.cp/pr9167.exp
1884 * gdb.cp/scope-err.exp
1885 * gdb.cp/templates.exp
1886 * gdb.cp/virtfunc.exp
1887 * gdb.dwarf2/dw2-dir-file-name.exp
1888 * gdb.dwarf2/dw2-single-line-discriminators.exp
1889 * gdb.fortran/complex.exp
1890 * gdb.fortran/library-module.exp
1891 * gdb.guile/guile.exp
1892 * gdb.guile/scm-cmd.exp
1893 * gdb.guile/scm-frame-inline.exp
1894 * gdb.guile/scm-objfile.exp
1895 * gdb.guile/scm-pretty-print.exp
1896 * gdb.guile/scm-symbol.exp
1897 * gdb.guile/scm-type.exp
1898 * gdb.guile/scm-value.exp
1899 * gdb.linespec/keywords.exp
1900 * gdb.linespec/ls-errs.exp
1901 * gdb.linespec/macro-relative.exp
1902 * gdb.linespec/thread.exp
1903 * gdb.mi/mi-breakpoint-changed.exp
1904 * gdb.mi/mi-dprintf-pending.exp
1905 * gdb.mi/mi-fullname-deleted.exp
1906 * gdb.mi/mi-logging.exp
1907 * gdb.mi/mi-pending.exp
1908 * gdb.mi/mi-solib.exp
1909 * gdb.mi/new-ui-mi-sync.exp
1910 * gdb.mi/user-selected-context-sync.exp
1911 * gdb.multi/dummy-frame-restore.exp
1912 * gdb.multi/multi-arch-exec.exp
1913 * gdb.multi/remove-inferiors.exp
1914 * gdb.multi/watchpoint-multi-exit.exp
1915 * gdb.opt/solib-intra-step.exp
1916 * gdb.perf/backtrace.exp
1917 * gdb.perf/single-step.exp
1918 * gdb.perf/skip-command.exp
1919 * gdb.perf/skip-prologue.exp
1920 * gdb.perf/solib.exp
1921 * gdb.python/lib-types.exp
1922 * gdb.python/py-as-string.exp
1923 * gdb.python/py-bad-printers.exp
1924 * gdb.python/py-block.exp
1925 * gdb.python/py-breakpoint.exp
1926 * gdb.python/py-cmd.exp
1927 * gdb.python/py-events.exp
1928 * gdb.python/py-evthreads.exp
1929 * gdb.python/py-finish-breakpoint.exp
1930 * gdb.python/py-finish-breakpoint2.exp
1931 * gdb.python/py-frame-inline.exp
1932 * gdb.python/py-frame.exp
1933 * gdb.python/py-inferior.exp
1934 * gdb.python/py-infthread.exp
1935 * gdb.python/py-mi.exp
1936 * gdb.python/py-objfile.exp
1937 * gdb.python/py-pp-maint.exp
1938 * gdb.python/py-pp-registration.exp
1939 * gdb.python/py-prettyprint.exp
1940 * gdb.python/py-recurse-unwind.exp
1941 * gdb.python/py-shared.exp
1942 * gdb.python/py-symbol.exp
1943 * gdb.python/py-symtab.exp
1944 * gdb.python/py-template.exp
1945 * gdb.python/py-type.exp
1946 * gdb.python/py-unwind-maint.exp
1947 * gdb.python/py-unwind.exp
1948 * gdb.python/py-value.exp
1949 * gdb.python/python.exp
1950 * gdb.reverse/finish-reverse-bkpt.exp
1951 * gdb.reverse/insn-reverse.exp
1952 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1953 * gdb.reverse/solib-precsave.exp
1954 * gdb.reverse/solib-reverse.exp
1955 * gdb.stabs/gdb11479.exp
1956 * gdb.stabs/weird.exp
1957 * gdb.threads/fork-child-threads.exp
1958 * gdb.threads/fork-plus-threads.exp
1959 * gdb.threads/fork-thread-pending.exp
1960 * gdb.threads/forking-threads-plus-breakpoint.exp
1961 * gdb.threads/hand-call-in-threads.exp
1962 * gdb.threads/interrupted-hand-call.exp
1963 * gdb.threads/linux-dp.exp
1964 * gdb.threads/local-watch-wrong-thread.exp
1965 * gdb.threads/next-while-other-thread-longjmps.exp
1966 * gdb.threads/non-ldr-exit.exp
1967 * gdb.threads/pending-step.exp
1968 * gdb.threads/print-threads.exp
1969 * gdb.threads/process-dies-while-detaching.exp
1970 * gdb.threads/process-dies-while-handling-bp.exp
1971 * gdb.threads/pthreads.exp
1972 * gdb.threads/queue-signal.exp
1973 * gdb.threads/reconnect-signal.exp
1974 * gdb.threads/signal-command-handle-nopass.exp
1975 * gdb.threads/signal-command-multiple-signals-pending.exp
1976 * gdb.threads/signal-delivered-right-thread.exp
1977 * gdb.threads/signal-sigtrap.exp
1978 * gdb.threads/sigthread.exp
1979 * gdb.threads/staticthreads.exp
1980 * gdb.threads/stepi-random-signal.exp
1981 * gdb.threads/thread-unwindonsignal.exp
1982 * gdb.threads/thread_check.exp
1983 * gdb.threads/thread_events.exp
1984 * gdb.threads/tid-reuse.exp
1985 * gdb.threads/tls-nodebug.exp
1986 * gdb.threads/tls-shared.exp
1987 * gdb.threads/tls-so_extern.exp
1988 * gdb.threads/tls.exp
1989 * gdb.threads/wp-replication.exp
1990 * gdb.trace/actions-changed.exp
1991 * gdb.trace/actions.exp
1992 * gdb.trace/backtrace.exp
1993 * gdb.trace/change-loc.exp
1994 * gdb.trace/collection.exp
1995 * gdb.trace/deltrace.exp
1996 * gdb.trace/disconnected-tracing.exp
1997 * gdb.trace/entry-values.exp
1998 * gdb.trace/ftrace-lock.exp
1999 * gdb.trace/ftrace.exp
2000 * gdb.trace/infotrace.exp
2001 * gdb.trace/mi-trace-frame-collected.exp
2002 * gdb.trace/mi-trace-unavailable.exp
2003 * gdb.trace/mi-traceframe-changed.exp
2004 * gdb.trace/mi-tracepoint-changed.exp
2005 * gdb.trace/mi-tsv-changed.exp
2006 * gdb.trace/no-attach-trace.exp
2007 * gdb.trace/packetlen.exp
2008 * gdb.trace/passc-dyn.exp
2009 * gdb.trace/passcount.exp
2010 * gdb.trace/pending.exp
2011 * gdb.trace/pr16508.exp
2012 * gdb.trace/qtro.exp
2013 * gdb.trace/range-stepping.exp
2014 * gdb.trace/read-memory.exp
2015 * gdb.trace/report.exp
2016 * gdb.trace/save-trace.exp
2017 * gdb.trace/signal.exp
2018 * gdb.trace/stap-trace.exp
2019 * gdb.trace/status-stop.exp
2020 * gdb.trace/strace.exp
2021 * gdb.trace/tfile.exp
2022 * gdb.trace/tfind.exp
2023 * gdb.trace/trace-break.exp
2024 * gdb.trace/trace-condition.exp
2025 * gdb.trace/trace-enable-disable.exp
2026 * gdb.trace/trace-mt.exp
2027 * gdb.trace/tracecmd.exp
2028 * gdb.trace/tracefile-pseudo-reg.exp
2029 * gdb.trace/tspeed.exp
2030 * gdb.trace/tstatus.exp
2031 * gdb.trace/tsv.exp
2032 * gdb.trace/unavailable.exp
2033 * gdb.trace/while-dyn.exp
2034 * gdb.trace/while-stepping.exp
2035 * lib/gdb-guile.exp
2036 * lib/gdb.exp
2037 * lib/mi-support.exp
2038 * lib/pascal.exp
2039 * lib/perftest.exp
2040 * lib/prelink-support.exp
2041 * lib/selftest-support.exp
2042
2043 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
2044
2045 * Makefile.in: Include disable-implicit-rules.mk.
2046
2047 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2048
2049 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
2050 non-byte-aligned bit fields.
2051
2052 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2053
2054 PR gdb/12616
2055 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
2056 respects the DW_AT_data_bit_offset attribute.
2057
2058 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
2059
2060 * gdb.base/default.exp: Fix output of "set language".
2061
2062 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
2063
2064 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
2065 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
2066 make.
2067 * configure.ac: Remove checks for the make program.
2068 * configure: Re-generate.
2069
2070 2016-11-16 Kevin Buettner <kevinb@redhat.com>
2071
2072 * gdb.python/py-recurse-unwind.c (main): Add loop.
2073 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
2074 to read_register() and gdb.parse_and_eval(). Make each code
2075 call a separate case that can be individually tested.
2076 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
2077 proc. Call cont_and_backtrace for each of the code paths that
2078 we want to test in the unwinder.
2079
2080 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
2081
2082 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
2083 the definition of struct S.
2084
2085 2016-11-11 Catherine Moore <clm@codesourcery.com>
2086
2087 * gdb.base/dump.exp: Identify verilog format dump tests as such.
2088
2089 2016-11-09 Pedro Alves <palves@redhat.com>
2090
2091 * gdb.base/commands.exp (runto_or_return): New procedure.
2092 (gdbvar_simple_if_test, gdbvar_simple_while_test)
2093 (gdbvar_complex_if_while_test, progvar_simple_if_test)
2094 (progvar_simple_while_test, progvar_complex_if_while_test)
2095 (if_while_breakpoint_command_test)
2096 (infrun_breakpoint_command_test, breakpoint_command_test)
2097 (user_defined_command_test, watchpoint_command_test)
2098 (test_command_prompt_position, redefine_hook_test)
2099 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
2100 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
2101 multi_line_input and multi_line. Remove gdb_expect and
2102 gdb_stop_suppressing_tests uses.
2103 * lib/gdb.exp (valnum_re): New global.
2104 (multi_line_input): New procedure.
2105
2106 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
2107
2108 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
2109 Remove.
2110 (test_setup): Define with proc_with_prefix.
2111 (test_cli_inferior): Likewise.
2112 (test_cli_thread): Likewise.
2113 (test_cli_frame): Likewise.
2114 (test_cli_select_frame): Likewise.
2115 (test_cli_up_down): Likewise.
2116 (test_mi_thread_select): Likewise.
2117 (test_mi_stack_select_frame): Likewise.
2118 (test_cli_in_mi_inferior): Likewise.
2119 (test_cli_in_mi_thread): Likewise.
2120 (test_cli_in_mi_frame): Likewise.
2121 (top level): Do not use with_test_prefix_procname.
2122
2123 2016-11-09 Pedro Alves <palves@redhat.com>
2124
2125 * gdb.base/commands.exp (gdbvar_simple_if_test)
2126 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
2127 (progvar_simple_if_test, progvar_simple_while_test)
2128 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
2129 (infrun_breakpoint_command_test, breakpoint_command_test)
2130 (user_defined_command_test, watchpoint_command_test)
2131 (test_command_prompt_position, deprecated_command_test)
2132 (bp_deleted_in_command, temporary_breakpoint_commands)
2133 (stray_arg0_test, source_file_with_indented_comment)
2134 (recursive_source_test, if_commands_test)
2135 (error_clears_commands_left, redefine_hook_test)
2136 (redefine_backtrace_test): Use proc_with_prefix.
2137 * lib/gdb.exp (proc_with_prefix): New proc.
2138
2139 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2140
2141 * gdb.base/tui-layout.c: New file.
2142 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
2143 disassembly window contains very long lines.
2144
2145 2016-11-08 Tom Tromey <tom@tromey.com>
2146
2147 * gdb.python/py-value.exp (test_value_creation): Make "long" test
2148 depend on Python 2.
2149
2150 2016-11-08 Tom Tromey <tom@tromey.com>
2151
2152 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
2153 New method.
2154
2155 2016-10-29 Manish Goregaokar <manish@mozilla.com>
2156
2157 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
2158
2159 2016-10-27 Manish Goregaokar <manish@mozilla.com>
2160
2161 * gdb.rust/simple.rs: Add test for univariant enums without
2162 discriminants and for encoded struct-like enums.
2163
2164 2016-10-28 Pedro Alves <palves@redhat.com>
2165
2166 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
2167 gdb_test_multiple, tighten regexps and match symtabs and line
2168 tables incrementally.
2169
2170 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
2171
2172 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
2173 general.
2174
2175 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
2176
2177 * gdb.base/exec-invalid-sysroot.exp: New file.
2178
2179 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2180
2181 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
2182
2183 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2184
2185 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
2186
2187 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
2188
2189 * gdb.base/killed-outside.exp: Remove $options from a call to
2190 `prepare_for_testing'.
2191
2192 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2193
2194 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2195 Change test message.
2196
2197 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2198
2199 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2200 Update comment.
2201
2202 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2203
2204 * gdb.trace/mi-trace-save.exp: New file.
2205
2206 2016-10-13 Yao Qi <yao.qi@linaro.org>
2207
2208 * gdb.base/code_elim.exp (get_var_address): Remove.
2209 * gdb.base/relocate.exp: Likewise.
2210 * gdb.base/shreloc.exp: Likewise.
2211 * lib/gdb.exp (get_var_address): New.
2212
2213 2016-10-13 Yao Qi <yao.qi@linaro.org>
2214
2215 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
2216 floating point tests if $skip_float_test is false.
2217
2218 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
2219
2220 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
2221 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
2222 argc values.
2223 Add 1 to argc so we guarantee distinct initial/modified argc values.
2224
2225 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2226
2227 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
2228
2229 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2230
2231 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
2232 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2233 * gdb.arch/vsx-regs.exp: Likewise.
2234
2235 2016-10-07 Yao Qi <yao.qi@linaro.org>
2236
2237 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
2238
2239 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
2240
2241 * gdb.python/python.exp: Test decode_line("*0").
2242
2243 2016-10-06 Doug Evans <dje@google.com>
2244
2245 * gdb.python/py-value.exp (test_value_creation): Add test for large
2246 unsigned 64-bit value.
2247
2248 2016-10-06 Tom Tromey <tom@tromey.com>
2249
2250 * gdb.compile/compile.exp: Change java tests to rust.
2251 * gdb.base/setshow.exp: Change java tests to rust.
2252 * gdb.base/default.exp: Remove java from language list.
2253 * README (Examples): Update language example.
2254 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
2255 test.
2256 * lib/gdb.exp (skip_java_tests): Remove.
2257 * lib/java.exp: Remove.
2258 * gdb.java: Remove.
2259
2260 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2261
2262 * gdb.arch/mips-fcr.exp: New test.
2263 * gdb.arch/mips-fcr.c: Source for the new test.
2264
2265 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2266
2267 * gdb.base/solib-disc.exp: Use `standard_output_file'
2268 throughout.
2269
2270 2016-10-06 Pedro Alves <palves@redhat.com>
2271
2272 * gdb.base/jit-simple-dl.c: New file.
2273 * gdb.base/jit-simple-jit.c: New file, factored out from ...
2274 * gdb.base/jit-simple.c: ... this.
2275 * gdb.base/jit-simple.exp (jit_run): Delete.
2276 (build_jit): New proc.
2277 (jit_test_reread): Recompile either the main program or the shared
2278 library, depending on what is being tested. Skip changing address
2279 if caller wants to. Compare before/after addresses. If testing
2280 standalone, explicitly load the binary. Test "maint info
2281 breakpoints".
2282 (top level): Add "standalone vs shared lib" and "change address"
2283 vs "same address" axes.
2284
2285 2016-10-06 Pedro Alves <palves@redhat.com>
2286
2287 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
2288 call.
2289 (jit_run): Delete.
2290 (jit_test_reread): Use with_test_prefix. Reload the main binary
2291 explicitly. Compare the before/after addresses of the JIT
2292 descriptor.
2293
2294 2016-08-15 Doug Evans <dje@google.com>
2295
2296 * gdb.xml/extra-regs.xml: Update, end field now required, default type
2297 for single bitfields is bool.
2298 * gdb.xml/tdesc-regs.exp: Ditto.
2299
2300 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2301
2302 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
2303
2304 2016-10-05 Yao Qi <yao.qi@linaro.org>
2305
2306 * lib/gdb.exp (support_complex_tests): Return zero if
2307 gdb_skip_float_test return true.
2308
2309 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2310 Simon Marchi <simon.marchi@ericsson.com>
2311
2312 PR gdb/20487
2313 * gdb.mi/user-selected-context-sync.exp: New file.
2314 * gdb.mi/user-selected-context-sync.c: New file.
2315
2316 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2317 Simon Marchi <simon.marchi@ericsson.com>
2318
2319 PR gdb/20487
2320 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
2321 =thread-select-event check.
2322
2323 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2324
2325 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
2326 the compulsory L operand changes.
2327 * gdb.arch/powerpc-power.s: Likewise.
2328
2329 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2330
2331 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
2332 * gdb.base/jit-attach-pie.c: New file.
2333 * gdb.base/jit-attach-pie.exp: New file.
2334
2335 2016-09-28 Pedro Alves <palves@redhat.com>
2336
2337 * gdb.base/infcall-input.c: New file.
2338 * gdb.base/infcall-input.exp: New file.
2339
2340 2016-09-22 Yao Qi <yao.qi@linaro.org>
2341
2342 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
2343 (gdb_exit): Rename it to ...
2344 (gdbserver_gdb_exit): ... Close GDBserver.
2345 (gdb_exit): New proc, call gdbserver_gdb_exit.
2346 (mi_gdb_exit): Likewise.
2347
2348 2016-09-22 Yao Qi <yao.qi@linaro.org>
2349
2350 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
2351 path.
2352 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
2353 Remove duplication.
2354
2355 2016-09-22 Yao Qi <yao.qi@linaro.org>
2356
2357 * lib/gdbserver-support.exp: Check the existence of
2358 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
2359
2360 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2361
2362 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
2363
2364 2016-09-21 Tom Tromey <tom@tromey.com>
2365
2366 PR gdb/20604:
2367 * gdb.base/quit.exp: New file.
2368
2369 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
2370
2371 * .gitignore: New file.
2372
2373 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
2374
2375 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
2376 throughout.
2377
2378 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2379
2380 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
2381
2382 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2383
2384 * gdb.cp/casts.cc (decltype): Move it ...
2385 (main): ... with its call to ...
2386 * gdb.cp/casts03.cc: ... a new file.
2387 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2388
2389 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2390
2391 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2392
2393 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2394
2395 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2396 and sync up the test with tests in gas/testsuite/gas/ppc.
2397 * gdb.arch/powerpc-power.exp: Likewise.
2398
2399 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2400
2401 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2402
2403 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2404 Jan Kratochvil <jan.kratochvil@redhat.com>
2405
2406 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2407 make m1's definition to be different from m2's. Use 'dummy' as an
2408 argument for probe 'two'.
2409
2410 2016-09-10 Jon Beniston <jon@beniston.com>
2411
2412 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2413 for sim target.
2414
2415 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2416
2417 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2418 variable declaration.
2419 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2420 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2421 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2422 received HWCAP as its argument.
2423
2424 2016-09-06 Pedro Alves <palves@redhat.com>
2425
2426 * gdb.base/new-ui-pending-input.c: New file.
2427 * gdb.base/new-ui-pending-input.exp: New file.
2428 * gdb.exp (clear_gdb_spawn_id): New procedure.
2429 (with_spawn_id): Check whether gdb_spawn_id exists before
2430 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2431 on exit.
2432
2433 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2434
2435 * gdb.base/float128.c: New file.
2436 * gdb.base/float128.exp: Likewise.
2437 * gdb.base/floatn.c: Likewise.
2438 * gdb.base/floatn.exp: Likewise.
2439
2440 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2441
2442 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2443
2444 2016-09-05 Pedro Alves <palves@redhat.com>
2445
2446 PR backtrace/19927
2447 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2448 unwinders are immediately called as side effect of "source" or
2449 "disable unwinder" commands.
2450 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2451
2452 2016-09-02 Yao Qi <yao.qi@linaro.org>
2453
2454 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2455 is true and $type is "float" or "double".
2456
2457 2016-09-02 Yao Qi <yao.qi@linaro.org>
2458
2459 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2460 true.
2461 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2462 * gdb.base/call-rt-st.exp: Likewise.
2463 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2464 return value instead of gdb,skip_float_test.
2465 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2466 (do_function_calls): Use its return value instead of
2467 gdb,skip_float_test.
2468 * gdb.base/finish.exp: Likewise.
2469 * gdb.base/funcargs.exp: Likewise.
2470 * gdb.base/return.exp: Likewise.
2471 * gdb.base/return2.exp: Likewise.
2472 * gdb.base/varargs.exp: Likewise.
2473 * lib/gdb.exp (gdb_skip_float_test): Change it to
2474 gdb_caching_proc. Detect the broken ptrace on arm-linux.
2475
2476 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2477
2478 * gdb.multi/tids.exp: Test "thread apply all".
2479
2480 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2481
2482 * gdb.base/default.exp (tty): Remove.
2483
2484 2016-08-24 Kevin Buettner <kevinb@redhat.com>
2485
2486 * gdb.python/py-recurse-unwind.c: New file.
2487 * gdb.python/py-recurse-unwind.py: New file.
2488 * gdb.python/py-recurse-unwind.exp: New file.
2489
2490 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
2491
2492 * gdb.base/set-inferior-tty.exp: New file.
2493 * gdb.base/set-inferior-tty.c: New file.
2494
2495 2016-08-23 Pedro Alves <palves@redhat.com>
2496
2497 PR gdb/20494
2498 * gdb.base/new-ui-echo.c: New file.
2499 * gdb.base/new-ui-echo.exp: New file.
2500
2501 2016-08-23 Yao Qi <yao.qi@linaro.org>
2502
2503 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
2504 gdbserver_spawn.
2505 * gdb.server/connect-without-multi-process.exp (do_test):
2506 Likewise.
2507
2508 2016-08-23 Yao Qi <yao.qi@linaro.org>
2509
2510 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
2511 standalone_txt. Delete gdb_txt and standalone_txt on host
2512 and target. Spawn the binary on target. Copy files from
2513 target to host.
2514
2515 2016-08-22 Pedro Alves <palves@redhat.com>
2516
2517 PR gdb/20505
2518 * gdb.base/vdso-warning.exp: Test core dumps too. Use
2519 with_test_prefix. Factor out bits to ...
2520 (test_no_vdso): ... this new procedure.
2521
2522 2016-08-19 Carl Love <cel@us.ibm.com>
2523
2524 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
2525 maintaining separate logic for constructing the output path.
2526 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2527 * gdb.arch/ppc-dfp.exp: Likewise.
2528 * gdb.arch/ppc-fp.exp: Likewise.
2529 * gdb.arch/vsx-regs.exp: Likewise.
2530 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
2531 binprefix for generating the additional binary files.
2532
2533 2016-08-19 Pedro Alves <palves@redhat.com>
2534
2535 * gdb.trace/mi-trace-frame-collected.exp
2536 (test_trace_frame_collected): On x32, expect two registers.
2537
2538 2016-08-18 Carl Love <cel@us.ibm.com>
2539
2540 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
2541 and sync up the test with tests in gas/testsuite/gas/ppc.
2542 * gdb.arch/powerpc-power.exp: Likewise.
2543
2544 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2545
2546 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
2547 expected error message.
2548
2549 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2550
2551 * gdb.multi/remove-inferiors.exp: New file.
2552 * gdb.multi/remove-inferiors.c: New file.
2553
2554 2016-08-12 Yao Qi <yao.qi@linaro.org>
2555
2556 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
2557 argument list.
2558
2559 2016-08-10 Pedro Alves <palves@redhat.com>
2560
2561 PR gdb/19187
2562 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
2563 setup_kfails.
2564
2565 2016-08-09 Pedro Alves <palves@redhat.com>
2566 Simon Marchi <simon.marchi@ericsson.com>
2567
2568 PR gdb/20418
2569 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
2570 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
2571
2572 2016-08-09 Pedro Alves <palves@redhat.com>
2573
2574 PR mi/20431
2575 * gdb.mi/mi-cmd-error.exp: New file.
2576
2577 2016-08-09 Pedro Alves <palves@redhat.com>
2578
2579 PR gdb/18653
2580 * gdb.base/signals-state-child.c: New file.
2581 * gdb.base/signals-state-child.exp: New file.
2582 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
2583
2584 2016-08-09 Pedro Alves <palves@redhat.com>
2585
2586 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
2587
2588 2016-08-03 Tom Tromey <tom@tromey.com>
2589
2590 PR python/18565:
2591 * gdb.python/py-frame-inline.exp: Add Frame.function test.
2592
2593 2016-08-01 Yao Qi <yao.qi@linaro.org>
2594
2595 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
2596 variable mode to "multi-process" if $multi_process is 1, otherwise
2597 set it to "single-process".
2598
2599 2016-08-01 Yao Qi <yao.qi@linaro.org>
2600
2601 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
2602 * gdb.cp/cpexprs.exp: Likewise.
2603 * gdb.cp/m-static.exp: Likewise.
2604
2605 2016-07-26 Tom Tromey <tom@tromey.com>
2606
2607 PR python/20190:
2608 * gdb.threads/tls.exp (check_thread_local): Add python symbol
2609 test.
2610
2611 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
2612
2613 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
2614 selecting assembly source files.
2615 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
2616 assembly source files.
2617 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
2618 assembly source files.
2619 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
2620 selecting assembly source files.
2621
2622 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
2623
2624 * gdb.base/new-ui.exp (do_test_invalid_args): New
2625 procedure.
2626
2627 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
2628
2629 * gdb.btrace/reconnect.c: New file.
2630 * gdb.btrace/reconnect.exp: New file.
2631
2632 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
2633
2634 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
2635 to test_catch_syscall_group.
2636 (test_catch_syscall_group): New.
2637
2638 2016-07-21 Tom Tromey <tom@tromey.com>
2639
2640 * gdb.rust/simple.rs (main): Use empty struct expression.
2641 * gdb.rust/simple.exp: Add tests for empty struct expression.
2642
2643 2016-07-21 Yao Qi <yao.qi@linaro.org>
2644
2645 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
2646 if gdb_skip_xml_test is true on some targets.
2647
2648 2016-07-21 Yao Qi <yao.qi@linaro.org>
2649
2650 * gdb.server/solib-list.exp: Unset last_loaded_file.
2651
2652 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2653
2654 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
2655 "step into captured_main (args)".
2656
2657 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2658
2659 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
2660
2661 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2662
2663 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
2664
2665 2016-07-19 Pedro Alves <palves@redhat.com>
2666
2667 * gdb.opt/inline-break.exp: Remove optimize=-O2.
2668 * gdb.opt/inline-bt.exp: Likewise.
2669 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
2670 additional_flags=-Winline.
2671 * gdb.opt/inline-locals.exp: Likewise.
2672 * gdb.opt/inline-markers.c (ATTR): Define.
2673 (inlined_fn): Use it.
2674
2675 2016-07-19 Yao Qi <yao.qi@linaro.org>
2676
2677 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
2678 (test_with_self): Remove some code. Remove argument executable.
2679 (top-level): Use do_self_tests.
2680
2681 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
2682 Don Breazeal <donb@codesourcery.com>
2683
2684 * gdb.base/maint.exp: Escape paths used in regular expressions.
2685 * gdb.stabs/weird.exp: Likewise.
2686
2687 2016-07-13 Tom Tromey <tom@tromey.com>
2688
2689 PR python/15620, PR python/18620:
2690 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
2691 (test_bkpt_events): New procs.
2692
2693 2016-07-13 Tom Tromey <tom@tromey.com>
2694
2695 PR python/17698:
2696 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
2697 test.
2698 (test_watchpoints): Likewise.
2699 (test_bkpt_pending): New proc.
2700
2701 2016-07-13 Tom Tromey <tom@tromey.com>
2702
2703 PR cli/18053:
2704 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
2705 completion test.
2706
2707 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2708
2709 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
2710 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
2711 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
2712 f_label.
2713 (g): Rename g_end_lbl to g_label.
2714 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
2715 low_pc and high_pc.
2716 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
2717
2718 2016-07-12 Tom Tromey <tom@tromey.com>
2719
2720 PR python/19293:
2721 * gdb.python/py-unwind-maint.exp: Update tests.
2722
2723 2016-07-12 Yao Qi <yao.qi@linaro.org>
2724
2725 * lib/selftest-support.exp (selftest_setup): Match the output
2726 when captured_main is inlined.
2727
2728 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2729
2730 * gdb.fortran/derived-types.exp (result_line, result_line_2):
2731 New variables.
2732 (print this%a, print this%b, print this): New tests.
2733 * gdb.fortran/derived-types.f90 (this): New object and
2734 initialization.
2735
2736 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2737
2738 * gdb.ada/arraydim.exp: Remove extra directory level in build
2739 directory.
2740
2741 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2742
2743 * lib/ada.exp: Remove extra directory level in build directory.
2744 * gdb.ada/cond_lang.exp: Likewise.
2745 * gdb.ada/exec_changed.exp: Likewise.
2746 * gdb.ada/lang_switch.exp: Likewise.
2747
2748 2016-07-06 Manish Goregaokar <manish@mozilla.com>
2749
2750 * simple.rs: Add test for raw pointer subscripting.
2751 * simple.exp: Add test expectations.
2752
2753 2016-07-05 Yao Qi <yao.qi@linaro.org>
2754
2755 * gdb.mi/mi-reverse.exp: Match =record-started output.
2756
2757 2016-07-01 Pedro Alves <palves@redhat.com>
2758
2759 * gdb.base/jit-reader.exp (info_registers_current_frame): New
2760 procedure.
2761 (jit_reader_test): Test the jit reader's unwinder.
2762 * gdb.base/jithost.c (jit_function_00_code): New global.
2763 (main): Use memcpy to fill in the mmapped code, instead of poking
2764 bytes manually here.
2765 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
2766 value.
2767 (read_debug_info): Save the function's range.
2768 (read_sp): New function.
2769 (unwind_frame): Use it. Also unwind RBP.
2770 (get_frame_id): Use read_sp.
2771 (gdb_init_reader): Use calloc instead of malloc.
2772 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
2773 parameter. Use gdb_test_multiple.
2774
2775 2016-07-01 Pedro Alves <palves@redhat.com>
2776 Antoine Tremblay <antoine.tremblay@ericsson.com>
2777
2778 * gdb.threads/process-dies-while-detaching.c: New file.
2779 * gdb.threads/process-dies-while-detaching.exp: New file.
2780
2781 2016-07-01 Pedro Alves <palves@redhat.com>
2782
2783 * gdb.multi/watchpoint-multi-exit.c: New file.
2784 * gdb.multi/watchpoint-multi-exit.exp: New file.
2785
2786 2016-06-30 Pedro Alves <palves@redhat.com>
2787
2788 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
2789 unset inferior_spawn_id.
2790
2791 2016-06-30 Pedro Alves <palves@redhat.com>
2792
2793 * lib/mi-support.exp (default_mi_gdb_start): Declare global
2794 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
2795
2796 2016-06-29 Yao Qi <yao.qi@linaro.org>
2797
2798 * gdb.base/return.c: Add copyright header.
2799
2800 2016-06-29 Tom Tromey <tom@tromey.com>
2801
2802 PR python/20129:
2803 * gdb.python/py-framefilter.exp: Add tests for setting priority
2804 and disabling of non-existent frame filter.
2805
2806 2016-06-29 Yao Qi <yao.qi@linaro.org>
2807
2808 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
2809 0x0f07ff.
2810
2811 2016-06-28 Yao Qi <yao.qi@linaro.org>
2812
2813 * gdb.base/catch-syscall.exp: Remove check on isnative and target
2814 triplets. Start gdb, execute catch syscall, and continue. Check
2815 gdb's output to determine catch syscall is supported.
2816
2817 2016-06-27 Manish Goregaokar <manish@mozilla.com>
2818
2819 * gdb.rust/simple.rs: Add test for returning unit in a function.
2820 * gdb.rust/simple.exp: Add expectation for functions returning
2821 unit.
2822
2823 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
2824
2825 * gdb.python/py-breakpoint-create-fail.c,
2826 gdb.python/py-breakpoint-create-fail.exp,
2827 gdb.python/py-breakpoint-create-fail.py: New testcase.
2828
2829 2016-06-25 Manish Goregaokar <manish@mozilla.com>
2830
2831 PR gdb/20239
2832 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
2833 * gdb.rust/simple.exp: Add test expectations for new NonZero
2834 tests.
2835
2836 2016-06-24 David Taylor <dtaylor@emc.com>
2837
2838 * gdb.base/offsets.exp: New file.
2839 * gdb.base/offsets.c: New file.
2840
2841 2016-06-23 Tom Tromey <tom@tromey.com>
2842
2843 PR gdb/16483:
2844 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
2845 before any filters are loaded.
2846
2847 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
2848
2849 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
2850 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
2851 structs.
2852 * gdb.fortran/derived-type-function.exp: New file.
2853 * gdb.fortran/derived-type-function.f90: New file.
2854
2855
2856 2016-06-21 Pedro Alves <palves@redhat.com>
2857
2858 * gdb.base/new-ui.exp: New file.
2859 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
2860 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
2861 (with_spawn_id): New procedure.
2862
2863 2016-06-21 Pedro Alves <palves@redhat.com>
2864
2865 * gdb.mi/mi-exec-run.exp: New file.
2866
2867 2016-06-21 Pedro Alves <palves@redhat.com>
2868
2869 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
2870 breakpoint command's output on the main UI.
2871 (test_break): New procedure, factored out from calls in the top
2872 level.
2873 (top level): Use foreach_with_prefix to test MI as main UI and as
2874 separate UI.
2875
2876 2016-06-21 Pedro Alves <palves@redhat.com>
2877
2878 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
2879 (test_awatch_creation_and_listing)
2880 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
2881 Remove 'type' parameter.
2882 (test_watchpoint_all): New parameter mi_mode. Remove
2883 with_test_prefix.
2884 (top level): Use foreach_with_prefix, and add main/separate UI MI
2885 testing axis.
2886
2887 2016-06-21 Pedro Alves <palves@redhat.com>
2888
2889 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
2890 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
2891 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
2892 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
2893 (gdb_main_spawn_id, mi_spawn_id): Declare and
2894 comment.
2895 (mi_create_inferior_pty): New procedure,
2896 factored out from default_mi_gdb_start.
2897 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
2898 procedures.
2899 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
2900 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
2901 Use mi_create_inferior_pty.
2902 (mi_gdb_start): Use eval to pass down args list.
2903
2904 2016-06-21 Pedro Alves <palves@redhat.com>
2905
2906 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
2907 * gdb.opt/inline-cmds.exp: Add MI tests.
2908
2909 2016-06-21 Pedro Alves <palves@redhat.com>
2910
2911 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
2912
2913 2016-06-21 Pedro Alves <palves@redhat.com>
2914
2915 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
2916 (top level): Use it instead of mi_execute_to.
2917
2918 2016-06-21 Pedro Alves <palves@redhat.com>
2919
2920 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
2921 (cont_handler_str): New.
2922 (signal_stop_handler): Set stop_handler_str instead of printing to
2923 stdout.
2924 (continue_handler): Set cont_handler_str instead of printing to
2925 stdout.
2926 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
2927 mi_send_resuming_command. Print stop_handler_str and
2928 cont_handler_str instead of expecting the python events print
2929 directly.
2930
2931 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2932
2933 * gdb.base/jit-reader.exp: New file.
2934 * gdb.base/jithost.c: New file.
2935 * gdb.base/jithost.h: New file.
2936 * gdb.base/jitreader.c : New file.
2937 * gdb.base/jit-protocol.h: New file.
2938
2939 2016-06-17 Yao Qi <yao.qi@linaro.org>
2940
2941 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
2942 parameters follow_fork and detach_on_fork. Set follow-fork-mode
2943 and detach-on-fork. Adjust tests.
2944 (top level): Invoke break_cond_on_syscall with combinations of
2945 syscall, follow-fork-mode and detach-on-fork.
2946
2947 2016-06-17 Yao Qi <yao.qi@linaro.org>
2948
2949 * gdb.base/step-over-exit.c: New.
2950 * gdb.base/step-over-exit.exp: New.
2951
2952 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
2953
2954 * gdb.base/float.exp: Add target check for nds32*-*-*.
2955 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
2956
2957 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
2958
2959 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
2960 for unsupported target features.
2961 * gdb.base/call-rt-st.exp: Likewise.
2962 * gdb.base/call-sc.exp: Likewise.
2963 * gdb.base/call-signal-resume.exp: Likewise.
2964 * gdb.base/call-strs.exp: Likewise.
2965 * gdb.base/callexit.exp: Likewise.
2966 * gdb.base/callfuncs.exp: Likewise.
2967 * gdb.base/nodebug.exp: Likewise.
2968 * gdb.base/printcmds.exp: Likewise.
2969 * gdb.base/ptype.exp: Likewise.
2970 * gdb.base/structs.exp: Likewise.
2971 * gdb.base/unwindonsignal.exp: Likewise.
2972 * gdb.cp/gdb2495.exp: Likewise.
2973 * gdb.cp/templates.exp: Likewise.
2974 * gdb.cp/virtfunc.exp: Likewise.
2975 * gdb.threads/hand-call-in-threads.exp: Likewise.
2976 * gdb.threads/interrupted-hand-call.exp: Likewise.
2977 * gdb.threads/thread-unwindonsignal.exp: Likewise.
2978
2979 2016-06-10 Tom Tromey <tom@tromey.com>
2980
2981 PR rust/20110:
2982 * gdb.rust/expr.exp: Add test for integer constant larger than
2983 i32.
2984
2985 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
2986
2987 * gdb.fortran/nested-funcs.exp: New.
2988 * gdb.fortran/nested-funcs.f90: New.
2989
2990 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
2991
2992 * gdb.base/examine-backward.c: New file.
2993 * gdb.base/examine-backward.exp: New file.
2994
2995 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
2996
2997 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
2998 matching.
2999
3000 2016-06-02 Tom Tromey <tom@tromey.com>
3001
3002 PR python/18984:
3003 * gdb.python/py-shared.exp: Add solib_name test.
3004
3005 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
3006
3007 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
3008
3009 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
3010
3011 PR c++/19893
3012 * gdb.dwarf2/implref.exp: Rename to...
3013 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
3014 * gdb.dwarf2/implref-array.c: New file.
3015 * gdb.dwarf2/implref-array.exp: Likewise.
3016 * gdb.dwarf2/implref-global.c: Likewise.
3017 * gdb.dwarf2/implref-global.exp: Likewise.
3018 * gdb.dwarf2/implref-struct.c: Likewise.
3019 * gdb.dwarf2/implref-struct.exp: Likewise.
3020
3021 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3022
3023 * gdb.trace/trace-condition.exp: Add 64bit tests.
3024
3025 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3026
3027 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
3028 bits types.
3029 (main): Adapt to 8 to 64 bits types.
3030 * gdb.trace/trace-condition.exp: Add new tests.
3031
3032 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3033
3034 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
3035
3036 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3037
3038 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
3039 Move condition tests...
3040 * gdb.trace/trace-condition.exp: Here.
3041
3042 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3043
3044 * gdb.trace/trace-condition.exp: Add counter-case tests.
3045
3046 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3047
3048 PR c++/15231
3049 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
3050 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
3051
3052 2016-05-27 Pedro Alves <palves@redhat.com>
3053
3054 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3055 New procedure.
3056 (top level): Call it, and bail out of DejaGnu is known to be bad.
3057
3058 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
3059
3060 * gdb.base/whatis.c: Extend the test case.
3061 * gdb.base/whatis.exp: Add additional tests.
3062
3063 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3064
3065 * gdb.fortran/type.f90: Add pointer variable.
3066 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
3067
3068 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3069
3070 * gdb.fortran/vla-type.exp: Fix testcase name.
3071
3072 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3073
3074 * gdb.fortran/vla-type.exp: Access elements in nested structs.
3075
3076 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3077
3078 * gdb.fortran/type.f90: Add nested structures.
3079 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
3080 * gdb.fortran/derived-type.exp: Adapt expected output.
3081 * gdb.fortran/vla-type.exp: Adapt expected output.
3082
3083 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3084
3085 * gdb.fortran/whatis_type.exp: Adapt expected output.
3086
3087 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3088
3089 * gdb.fortran/print_type.exp: Fix expected output.
3090 * gdb.fortran/whatis_type.exp: Fix expected output.
3091
3092 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3093
3094 * gdb.fortran/whatis_type.exp: Use multi_line.
3095
3096 2016-05-24 Tom Tromey <tom@tromey.com>
3097
3098 PR python/17386:
3099 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
3100 use value as an index.
3101
3102 2016-05-23 Tom Tromey <tom@tromey.com>
3103
3104 PR python/17981:
3105 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
3106 no-breakpoint case.
3107
3108 2016-05-24 Pedro Alves <palves@redhat.com>
3109
3110 PR gdb/19828
3111 * gdb.threads/clone-attach-detach.c: New file.
3112 * gdb.threads/clone-attach-detach.exp: New file.
3113
3114 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
3115
3116 * gdb.base/annota-input-while-running.exp: Fix syntax error.
3117
3118 2016-05-23 Tom Tromey <tom@tromey.com>
3119
3120 PR python/19438, PR python/18393:
3121 * gdb.python/py-progspace.exp: Add "dir" test.
3122 * gdb.python/py-objfile.exp: Add "dir" test.
3123
3124 2016-05-23 Yao Qi <yao.qi@linaro.org>
3125
3126 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
3127 * gdb.arch/thumb2-it.exp: Likewise.
3128
3129 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
3130
3131 * gdb.mi/mi-threads-interrupt.c: New file.
3132 * gdb.mi/mi-threads-interrupt.exp: New file.
3133
3134 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
3135
3136 PR gdb/18077
3137 * gdb.mi/mi-async-run.exp: New file.
3138 * gdb.mi/mi-async-run.c: New file.
3139
3140 2016-05-17 Tom Tromey <tom@tromey.com>
3141 Manish Goregaokar <manishsmail@gmail.com>
3142
3143 * lib/rust-support.exp: New file.
3144 * lib/gdb.exp (skip_rust_tests): New proc.
3145 (build_executable_from_specs): Handle rust.
3146 * lib/future.exp (gdb_find_rustc): New proc.
3147 (gdb_default_target_compile): Handle rust.
3148 * gdb.rust/expr.exp: New file.
3149 * gdb.rust/generics.exp: New file.
3150 * gdb.rust/generics.rs: New file.
3151 * gdb.rust/methods.exp: New file.
3152 * gdb.rust/methods.rs: New file.
3153 * gdb.rust/modules.exp: New file.
3154 * gdb.rust/modules.rs: New file.
3155 * gdb.rust/simple.exp: New file.
3156 * gdb.rust/simple.rs: New file.
3157
3158 2016-05-17 Tom Tromey <tom@tromey.com>
3159
3160 * gdb.base/default.exp (set language): Add rust.
3161
3162 2016-05-17 Tom Tromey <tom@tromey.com>
3163
3164 * gdb.gdb/unittest.exp: New file.
3165
3166 2016-05-16 Yao Qi <yao.qi@linaro.org>
3167
3168 * gdb.base/batch-preserve-term-settings.exp: Remove variable
3169 shell_prompt. Update shell_prompt_re.
3170
3171 2016-05-12 Doug Evans <dje@google.com>
3172
3173 PR symtab/19999
3174 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
3175 $options when building executable.
3176 * gdb.dwarf2/fission-loclists-pie.S: New file.
3177 * gdb.dwarf2/fission-loclists-pie.exp: New file.
3178
3179 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3180
3181 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
3182 of [is_remote target],
3183
3184 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3185
3186 * lib/gdb.exp (use_gdb_stub): New procedure.
3187
3188 2016-05-03 Yunlian Jiang <yunlian@google.com>
3189 Doug Evans <dje@google.com>
3190
3191 PR symtab/19914
3192 * gdb.dwarf2/dwp-sepdebug.c: New file.
3193 * gdb.dwarf2/dwp-sepdebug.exp: New file.
3194
3195 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3196
3197 * gdb.base/detach.exp: Remove is_remote check.
3198
3199 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3200
3201 * gdb.base/annota-input-while-running.exp: Don't check for
3202 [is_remote target]. Enable annotations after running to main.
3203 Remove unused "set test..." line.
3204
3205 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3206
3207 * gdb.trace/trace-enable-disable.exp: New file.
3208 * gdb.trace/trace-enable-disable.c: New file.
3209
3210 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3211
3212 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
3213 use it in info sharedlibrary test.
3214 * gdb.trace/ftrace-lock.exp: Likewise.
3215 * gdb.trace/ftrace.exp: Likewise.
3216 * gdb.trace/range-stepping.exp: Likewise.
3217 * gdb.trace/trace-break.exp: Likewise.
3218 * gdb.trace/trace-condition.exp: Likewise.
3219 * gdb.trace/trace-mt.exp: Likewise.
3220
3221 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3222
3223 * lib/gdb.exp (gdb_load_shlibs): Rename to...
3224 (gdb_load_shlib): ... this.
3225 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
3226 gdb_load_shlib.
3227 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3228 * gdb.base/ctxobj.exp: Likewise.
3229 * gdb.base/dprintf-pending.exp: Likewise.
3230 * gdb.base/dso2dso.exp: Likewise.
3231 * gdb.base/fixsection.exp: Likewise.
3232 * gdb.base/gcore-relro.exp: Likewise.
3233 * gdb.base/gdb1555.exp: Likewise.
3234 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3235 * gdb.base/gnu-ifunc.exp: Likewise.
3236 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
3237 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3238 * gdb.base/pending.exp: Likewise.
3239 * gdb.base/print-file-var.exp: Likewise.
3240 * gdb.base/print-symbol-loading.exp: Likewise.
3241 * gdb.base/shlib-call.exp: Likewise.
3242 * gdb.base/shreloc.exp: Likewise.
3243 * gdb.base/so-impl-ld.exp: Likewise.
3244 * gdb.base/solib-disc.exp: Likewise.
3245 * gdb.base/solib-nodir.exp: Likewise.
3246 * gdb.base/solib-overlap.exp: Likewise.
3247 * gdb.base/solib-symbol.exp: Likewise.
3248 * gdb.base/solib-weak.exp (do_test): Likewise.
3249 * gdb.base/sym-file.exp: Likewise.
3250 * gdb.base/symtab-search-order.exp: Likewise.
3251 * gdb.base/type-opaque.exp: Likewise.
3252 * gdb.base/unload.exp: Likewise.
3253 * gdb.base/watchpoint-solib.exp: Likewise.
3254 * gdb.compile/compile.exp: Likewise.
3255 * gdb.cp/gdb2384.exp: Likewise.
3256 * gdb.cp/infcall-dlopen.exp: Likewise.
3257 * gdb.cp/re-set-overloaded.exp: Likewise.
3258 * gdb.fortran/library-module.exp: Likewise.
3259 * gdb.opt/solib-intra-step.exp: Likewise.
3260 * gdb.python/py-finish-breakpoint.exp: Likewise.
3261 * gdb.python/py-shared.exp: Likewise.
3262 * gdb.reverse/solib-precsave.exp: Likewise.
3263 * gdb.reverse/solib-reverse.exp: Likewise.
3264 * gdb.server/solib-list.exp: Likewise.
3265 * gdb.threads/dlopen-libpthread.exp: Likewise.
3266 * gdb.threads/tls-shared.exp: Likewise.
3267 * gdb.threads/tls-so_extern.exp: Likewise.
3268 * gdb.trace/change-loc.exp: Likewise.
3269 * gdb.trace/ftrace-lock.exp: Likewise.
3270 * gdb.trace/ftrace.exp: Likewise.
3271 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
3272 * gdb.trace/pending.exp: Likewise.
3273 * gdb.trace/range-stepping.exp: Likewise.
3274 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
3275 (strace_info_marker): Likewise.
3276 (strace_probe_marker): Likewise.
3277 (strace_trace_on_same_addr): Likewise.
3278 (strace_trace_on_diff_addr): Likewise.
3279 * gdb.trace/trace-break.exp: Likewise.
3280 * gdb.trace/trace-condition.exp: Likewise.
3281 * gdb.trace/trace-mt.exp: Likewise.
3282
3283 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3284
3285 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
3286 result of gdb_remote_download.
3287 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
3288 * gdb.base/dso2dso.exp: Likewise.
3289 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3290 * gdb.base/print-file-var.exp: Likewise.
3291 * gdb.base/shlib-call.exp: Likewise.
3292 * gdb.base/shreloc.exp: Likewise.
3293 * gdb.base/solib-overlap.exp: Likewise.
3294 * gdb.base/solib-weak.exp (do_test): Likewise.
3295 * gdb.base/unload.exp: Likewise.
3296
3297 2016-04-27 Yao Qi <yao.qi@linaro.org>
3298
3299 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
3300 exists.
3301
3302 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3303
3304 * vla-type.exp: Print structure from toplevel.
3305
3306 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3307
3308 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
3309 of dynamic types.
3310 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
3311 of dynamic types.
3312
3313 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3314
3315 * gdb.fortran/vla-type.f90: New file.
3316 * gdb.fortran/vla-type.exp: New file.
3317
3318 2016-04-25 Yao Qi <yao.qi@linaro.org>
3319
3320 * gdb.base/branch-to-self.c: New file.
3321 * gdb.base/branch-to-self.exp: New file.
3322
3323 2016-04-22 Yao Qi <yao.qi@linaro.org>
3324
3325 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
3326 more after $hex.
3327
3328 2016-04-22 Yao Qi <yao.qi@linaro.org>
3329
3330 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
3331 * gdb.base/annota3.exp: Likewise.
3332
3333 2016-04-22 Yao Qi <yao.qi@linaro.org>
3334
3335 * gdb.reverse/step-precsave.exp: Do one step and test program
3336 stops in "callee" and do multiple steps until program goes out
3337 of "callee".
3338 * gdb.reverse/step-reverse.exp: Likewise.
3339
3340 2016-04-22 Yao Qi <yao.qi@linaro.org>
3341
3342 * gdb.trace/signal.exp: Also pass if
3343 $tracepoint_hits($i) > $iterations.
3344
3345 2016-04-22 Yao Qi <yao.qi@linaro.org>
3346
3347 * gdb.trace/signal.c: New file.
3348 * gdb.trace/signal.exp: New file.
3349
3350 2016-04-19 Doug Evans <xdje42@gmail.com>
3351
3352 * gdb.base/bad-file.exp: New file.
3353
3354 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3355
3356 * gdb.dwarf2/implref.exp: New file.
3357
3358 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3359
3360 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
3361 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
3362 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
3363 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
3364 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
3365 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
3366 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
3367 * lib/fortran.exp (fortran_int4): New procedure.
3368 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
3369 (fortran_logical4): Likewise.
3370
3371 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
3372
3373 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
3374
3375 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3376
3377 * lib/compiler.c: Add Intel specific preprocessor macros.
3378 * lib/compiler.cc: Likewise.
3379
3380 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
3381
3382 * gdb.server/connect-with-no-symbol-file.c: New file.
3383 * gdb.server/connect-with-no-symbol-file.exp: New file.
3384
3385 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3386
3387 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3388
3389 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3390
3391 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3392 standard output directory.
3393
3394 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3395
3396 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3397
3398 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3399
3400 * gdb.btrace/instruction_history.c (loop): Add declaration.
3401
3402 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3403
3404 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3405
3406 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3407
3408 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3409 parentheses to print.
3410 (continue_handler): Likewise.
3411
3412 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3413
3414 * gdb.server/solib-list.exp: Remove is_remote check.
3415 Pass shlib= to gdb_compile. Don't link shared library with
3416 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3417 Run binary filename through "readlink -f" on the target.
3418
3419 2016-04-08 Pedro Alves <palves@redhat.com>
3420
3421 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3422 interpreter filename as argument to gdbserver_spawn.
3423 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3424 Return empty if $last_loaded_file does not exist.
3425
3426 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3427
3428 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3429 * gdb.base/jit-main.c: Use exit after usage.
3430
3431 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3432
3433 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3434 GDBHISTSIZE prior to the tests.
3435 * gdb.base/gdbinit-history.exp: Likewise.
3436
3437 2016-04-07 Pedro Alves <palves@redhat.com>
3438
3439 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3440 instead of build_executable. Use gdb_load_shlibs.
3441
3442 2016-04-07 Yao Qi <yao.qi@linaro.org>
3443
3444 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3445 Execute "si" command.
3446
3447 2016-04-07 Yao Qi <yao.qi@linaro.org>
3448
3449 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3450 number instead of the comments on some line.
3451
3452 2016-04-06 Don Breazeal <donb@codesourcery.com>
3453
3454 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3455 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3456
3457 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3458
3459 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3460 standard_output_file. Remove unused binfile variable.
3461
3462 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
3463
3464 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3465 * gdb.python/py-mi-objfile.exp: Match "list main" output
3466 in console format.
3467
3468 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3469
3470 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3471 absolute.
3472
3473 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3474
3475 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
3476 absolute.
3477 * gdb.trace/ftrace.exp: Likewise.
3478 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
3479 targets as well.
3480 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
3481 (gdb_load_shlibs): Copy libraries to test directory when testing
3482 natively. Only set solib-search-path if testing remotely.
3483 * lib/mi-support.exp (mi_load_shlibs): Likewise.
3484
3485 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3486
3487 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
3488 gdb_download. Use it even if the target is not remote.
3489 * gdb.base/jit.exp (compile_jit_test): Likewise.
3490 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
3491 output directory if the destination board is local, otherwise use
3492 the standard remote_download from DejaGnu.
3493 (gdb_download): Remove.
3494 (gdb_load_shlibs): Use gdb_remote_download instead of
3495 gdb_download.
3496 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3497 Use gdb_remote_download instead of gdb_download. Use it even if
3498 the target is not remote.
3499 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
3500 instead of gdb_download.
3501
3502 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
3503
3504 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
3505 (test_insert_delete_modify): Call mi_load_shlibs before trying to
3506 run.
3507
3508 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
3509
3510 PR gdb/19820
3511 * gdb.base/printcmds.exp: Add artificial arrays tests.
3512
3513 2016-03-31 Pedro Alves <palves@redhat.com>
3514
3515 PR gdb/19858
3516 * gdb.base/jit-main.c: Include unistd.h.
3517 (ATTACH): Define to 0 if not already defined.
3518 (wait_for_gdb, mypid): New globals.
3519 (WAIT_FOR_GDB): New macro.
3520 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
3521 some breakpoint locations.
3522 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
3523 New procedures.
3524 (one_jit_test): Add REATTACH parameter, and handle it. Use
3525 continue_to_test_location.
3526 (top level): Test attach, and adjusts calls to one_jit_test.
3527
3528 2016-03-31 Pedro Alves <palves@redhat.com>
3529
3530 PR gdb/19858
3531 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
3532 BINSUFFIX parameter, and handle it.
3533 (top level): Adjust calls compile_jit_test.
3534
3535 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
3536
3537 PR python/19743
3538 * gdb.python/py-mi-events-gdb.py: New file.
3539 * gdb.python/py-mi-events.c: New file.
3540 * gdb.python/py-mi-events.exp: New file.
3541
3542 2016-03-30 Yao Qi <yao.qi@linaro.org>
3543
3544 * gdb.reverse/until-precsave.exp: Match function name only.
3545 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
3546 Move malloc to a condition block.
3547 * gdb.reverse/until-reverse.exp: Match function name only.
3548
3549 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
3550
3551 * gdb.trace/ftrace.exp: Set arg0exp for s390.
3552 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
3553 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
3554 variable for GPR 0 instead of assuming it is register 0.
3555 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
3556 * lib/trace-support.exp: Add s390 registers.
3557
3558 2016-03-29 Yao Qi <yao.qi@linaro.org>
3559
3560 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
3561
3562 2016-03-24 Yao Qi <yao.qi@linaro.org>
3563
3564 * gdb.reverse/break-reverse.exp: Add quotation mark in the
3565 test message.
3566
3567 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3568
3569 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
3570 maintaining separate logic for constructing the output path.
3571
3572 2016-03-16 Don Breazeal <donb@codesourcery.com>
3573
3574 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3575 Retry fork and waitpid on interrupted system call errors.
3576 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3577 Use with_timeout_factor to increase timeout by factor of 10.
3578
3579 2016-03-15 Don Breazeal <donb@codesourcery.com>
3580
3581 * gdb.cp/scope-err.cc: New test program.
3582 * gdb.cp/scope-err.exp: New test script.
3583 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
3584 lines and "set breakpoint here" comment.
3585 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
3586 Fixed some whitespace and format issues.
3587 * gdb.mi/mi-linespec-err-cp.cc: New test program.
3588 * gdb.mi/mi-linespec-err-cp.exp: New test script.
3589
3590 2016-03-15 Doug Evans <dje@google.com>
3591
3592 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
3593 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
3594 All callers updated. Add tests for enums, mixed flags register.
3595
3596 2016-03-15 Doug Evans <dje@google.com>
3597
3598 * gdb.base/skip.c (main): Call test_skip_file_and_function.
3599 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
3600
3601 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
3602
3603 * gdb.base/default.exp: Add $_as_string to the list of expected
3604 convenience functions.
3605
3606 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
3607
3608 * gdb.base/maint.exp: New tests for 'maint info line-table'.
3609
3610 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
3611
3612 * gdb.python/py-as-string.exp: New file.
3613 * gdb.python/py-as-string.c: New file.
3614
3615 2016-03-09 Pedro Alves <palves@redhat.com>
3616
3617 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
3618 signal" -> "Thread NN received signal" output change.
3619 * gdb.threads/ia64-sigill.exp: Likewise.
3620 * gdb.threads/linux-dp.exp: Likewise.
3621 * gdb.threads/manythreads.exp: Likewise.
3622 * gdb.threads/pending-step.exp: Likewise.
3623 * gdb.threads/print-threads.exp: Likewise.
3624 * gdb.threads/sigstep-threads.exp: Likewise.
3625 * gdb.threads/staticthreads.exp: Likewise.
3626 * gdb.threads/tls.exp: Likewise.
3627
3628 2016-03-09 Pedro Alves <palves@redhat.com>
3629
3630 * gdb.base/command-line-input.exp: New file.
3631
3632 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3633
3634 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
3635 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
3636 * gdb.trace/pending.exp: Accept leading dot before function name.
3637 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
3638 * lib/trace-support.exp: Set registers for ppc.
3639
3640 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3641
3642 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
3643 use it for disassembly; accept .main in addition to main in backtrace.
3644
3645 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
3646 Marcin Kościelnicki <koriakin@0x04.net>
3647
3648 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
3649 (gdb_recursion_test_ptr): New global variable.
3650 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
3651 gdb_recursion_test.
3652 (gdb_c_test): Ditto.
3653
3654 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3655
3656 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
3657 ordering.
3658
3659 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3660
3661 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
3662 (bar): Add bar_start_lbl label.
3663 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
3664 of foo/bar for emitting DWARF and tracing.
3665
3666 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
3667
3668 * analyze-racy-logs.py: Set executable bit.
3669
3670 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
3671
3672 * Makefile.in (DEFAULT_RACY_ITER): New variable.
3673 (CHECK_TARGET_TMP): Likewise.
3674 (check-single-racy): New rule.
3675 (check-parallel-racy): Likewise.
3676 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
3677 (do-check-parallel-racy): New rule.
3678 (check-racy/%.exp): Likewise.
3679 * README (Racy testcases): New section.
3680 * analyze-racy-logs.py: New file.
3681
3682 2016-03-03 Doug Evans <dje@google.com>
3683
3684 * gdb.base/skip.exp: Use with_test_prefix.
3685
3686 2016-03-03 Yao Qi <yao.qi@linaro.org>
3687
3688 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
3689 Invoke step_over_syscall "clone" and break_cond_on_syscall
3690 "clone".
3691 * gdb.base/step-over-clone.c: New file.
3692
3693 2016-03-03 Yao Qi <yao.qi@linaro.org>
3694
3695 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
3696 code format.
3697
3698 2016-03-03 Yao Qi <yao.qi@linaro.org>
3699
3700 * gdb.base/disp-step-fork.c: Rename to ...
3701 * gdb.base/step-over-fork.c: ... it. New file.
3702 * gdb.base/disp-step-vfork.c: Rename to ...
3703 * gdb.base/step-over-vfork.c: ... it. New file.
3704 * gdb.base/disp-step-syscall.exp: Rename to ...
3705 * gdb.base/step-over-syscall.exp: ... it. New file.
3706 (disp_step_cross_syscall): Rename to ...
3707 (step_over_syscall): ... it.
3708
3709 2016-03-03 Yao Qi <yao.qi@linaro.org>
3710
3711 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
3712 If target supports condition evaluation on target, invoke
3713 break_cond_on_syscall for fork and vfork.
3714
3715 2016-03-03 Yao Qi <yao.qi@linaro.org>
3716
3717 * gdb.base/disp-step-syscall.exp: Don't invoke
3718 support_displaced_stepping.
3719 (disp_step_cross_syscall): Test with displaced stepping off and
3720 on if supported.
3721
3722 2016-03-03 Yao Qi <yao.qi@linaro.org>
3723
3724 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
3725 proc.
3726 (setup): New proc.
3727 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
3728 and setup.
3729
3730 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3731
3732 * gdb.fortran/vla-history.exp: Remove breakpoint.
3733
3734 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3735
3736 * gdb.fortran/vla-history.exp: Lookup array elements and printing
3737 exceeds timeout.
3738
3739 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3740
3741 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
3742 breakpoint.
3743
3744 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3745
3746 * gdb.mi/vla.f90: Nullify pointer after declaration.
3747
3748 2016-03-01 Pedro Alves <palves@redhat.com>
3749
3750 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
3751
3752 2016-03-01 Pedro Alves <palves@redhat.com>
3753
3754 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
3755 before anything else.
3756 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
3757 _GNU_SOURCE here.
3758 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
3759 before anything else.
3760 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
3761
3762 2016-03-01 Pedro Alves <palves@redhat.com>
3763
3764 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
3765
3766 2016-03-01 Yao Qi <yao.qi@linaro.org>
3767
3768 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
3769 prepare_for_testing.
3770
3771 2016-03-01 Yao Qi <yao.qi@linaro.org>
3772
3773 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
3774
3775 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3776
3777 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
3778 manually constructing the output path.
3779
3780 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3781
3782 * gdb.arch/s390-stackless.S: New.
3783 * gdb.arch/s390-stackless.exp: New.
3784
3785 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
3786
3787 * gdb.dlang/circular.c: New file.
3788 * gdb.dlang/circular.exp: New file.
3789
3790 2016-02-26 Yao Qi <yao.qi@linaro.org>
3791
3792 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
3793 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
3794 (testcases): Update.
3795
3796 2016-02-26 Yao Qi <yao.qi@linaro.org>
3797
3798 * gdb.reverse/aarch64.c: Rename to ...
3799 * gdb.reverse/insn-reverse.c: ... it.
3800 * gdb.reverse/aarch64.exp: Rename to ...
3801 * gdb.reverse/insn-reverse.exp: ... it.
3802
3803 2016-02-26 Yao Qi <yao.qi@linaro.org>
3804
3805 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
3806 (testcase_ftype): New.
3807 (testcases): New array.
3808 (n_testcases): New.
3809 (main): Call each element in testcases.
3810 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
3811 (read_testcase): New.
3812 Do the tests in a loop.
3813
3814 2016-02-25 Yao Qi <yao.qi@linaro.org>
3815
3816 * gdb.base/branches.c: Remove.
3817
3818 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3819
3820 PR gdb/13808
3821 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
3822
3823 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3824
3825 * gdb.trace/ftrace.exp: Remove unnecessary target check.
3826
3827 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3828
3829 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
3830 change x86_64 call_insn to 'callq'.
3831
3832 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3833
3834 * gdb.trace/tfile-avx.c: Move to...
3835 * gdb.trace/tracefile-pseudo-reg.c: Here.
3836 * gdb.trace/tfile-avx.exp: Move to...
3837 * gdb.trace/tracefile-pseudo-reg.exp: Here.
3838
3839 2016-02-24 Gary Benson <gbenson@redhat.com>
3840
3841 * gdb.base/attach-pie-noexec.exp: Do not expect an error
3842 message on attach.
3843
3844 2016-02-23 Doug Evans <dje@google.com>
3845
3846 * gdb.base/skip.c (test_skip): New function.
3847 (end_test_skip_file_and_function): New function.
3848 (test_skip_file_and_function): New function.
3849 * gdb.base/skip1.c (test_skip): New function.
3850 (skip1_test_skip_file_and_function): New function.
3851 * gdb.base/skip.exp: Add tests for new skip options.
3852 * gdb.base/skip-solib.exp: Update expected output.
3853 * gdb.perf/skip-command.cc: New file.
3854 * gdb.perf/skip-command.exp: New file.
3855 * gdb.perf/skip-command.py: New file.
3856
3857 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
3858
3859 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
3860 info registers pattern.
3861
3862 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
3863
3864 * lib/future.exp: Add D support.
3865 (gdb_find_gdc): New proc.
3866 (gdb_default_target_compile): Add D support.
3867
3868 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
3869
3870 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
3871 user+system time.
3872 (trace_speed_test): Determine the iteration count for a time
3873 between 15..30 seconds.
3874
3875 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
3876
3877 * gdb.arch/i386-mpx-sigsegv.c: New file.
3878 * gdb.arch/i386-mpx-sigsegv.exp: New file.
3879 * gdb.arch/i386-mpx-simple_segv.c: New file.
3880 * gdb.arch/i386-mpx-simple_segv.exp: New file.
3881
3882 2016-02-18 Yao Qi <yao.qi@linaro.org>
3883
3884 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3885 Don't call setup_kfail.
3886
3887 2016-02-18 Yao Qi <yao.qi@linaro.org>
3888
3889 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3890 Set "set breakpoint condition-evaluation" per $cond_bp_target.
3891
3892 2016-02-16 Doug Evans <dje@google.com>
3893
3894 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
3895 * gdb.base/skip1.c: Ditto.
3896 * gdb.base/skip.exp: Whitespace cleanup.
3897
3898 2016-02-16 Don Breazeal <donb@codesourcery.com>
3899
3900 PR remote/19496
3901 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3902 Remove kfail for PR remote/19496.
3903
3904 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3905
3906 * lib/gdb.exp (standard_temp_file): Return a path specific to
3907 the runtest invocation.
3908
3909 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
3910
3911 * gdb.trace/save-trace.exp: Change relative path to be in the
3912 standard output directory.
3913
3914 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3915
3916 * gdb.arch/i386-prologue.c: Add missing prototypes.
3917
3918 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3919
3920 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
3921 * gdb.arch/i386-prologue.exp: Likewise.
3922 * gdb.arch/i386-size.exp: Likewise.
3923
3924 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
3925
3926 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
3927 define object file path.
3928 * gdb.btrace/gcore.exp: Use standard_output_file to define core
3929 file path.
3930 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
3931 standard_output_file to define binfile.
3932
3933 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3934
3935 Fix compatibility with recent gfortran-5.3.1.
3936 * gdb.fortran/vla-history.exp (print vla1 allocated)
3937 (print vla2 allocated, print $2, print $3): Remove
3938 (print $4): Rename to ...
3939 (print $2): ... here.
3940 (print $9): Rename to ...
3941 (print $5): ... here.
3942 (print $10): Rename to ...
3943 (print $6): ... here.
3944 * gdb.fortran/vla.f90: Add pvla initialization.
3945
3946 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3947
3948 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
3949 New test.
3950 * gdb.fortran/vla-value-sub.exp: Likewise.
3951
3952 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
3953
3954 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
3955
3956 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
3957
3958 * i386-biarch-core.exp: Define corefile using
3959 standard_output_file.
3960
3961 2016-02-12 Yao Qi <yao.qi@linaro.org>
3962
3963 * gdb.arch/arm-single-step-kernel-helper.c: New.
3964 * gdb.arch/arm-single-step-kernel-helper.exp: New.
3965
3966 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
3967
3968 * gdb.btrace/tailcall-only.exp: New.
3969 * gdb.btrace/tailcall-only.c: New.
3970 * gdb.btrace/x86_64-tailcall-only.S: New.
3971 * gdb.btrace/i686-tailcall-only.S: New.
3972
3973 2016-02-11 Pedro Alves <palves@redhat.com>
3974
3975 * README (Parallel testing): Add missing double quotes.
3976
3977 2016-02-11 Pedro Alves <palves@redhat.com>
3978
3979 * README (Parallel testing): New section.
3980 (GDB_PARALLEL): Rewrite.
3981 (FORCE_PARALLEL): Document.
3982
3983 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
3984
3985 * gdb.trace/tfile-avx.c: New test.
3986 * gdb.trace/tfile-avx.exp: New test.
3987
3988 2016-02-09 Keith Seitz <keiths@redhat.com>
3989
3990 PR breakpoints/19546
3991 * gdb.base/infcall-exec.c: New file.
3992 * gdb.base/infcall-exec2.c: New file.
3993 * gdb.base/infcall-exec.exp: New file.
3994
3995 2016-02-09 Keith Seitz <keiths@redhat.com>
3996
3997 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
3998 (toplevel): Call test_bkpt_address.
3999
4000 2016-02-09 Keith Seitz <keiths@redhat.com>
4001
4002 PR python/19506
4003 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
4004 (toplevel): Call test_bkpt_address.
4005
4006 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
4007
4008 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
4009 to AC_OUTPUT.
4010 * configure: Regenerate.
4011
4012 2016-02-09 Pedro Alves <palves@redhat.com>
4013
4014 PR breakpoints/19548
4015 * gdb.base/execl-update-breakpoints.c (some_function): New
4016 function.
4017 (main): Call it.
4018 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
4019 Tighten expected GDB output.
4020
4021 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4022
4023 * Makefile.in (ALL_SUBDIRS): Remove.
4024 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
4025 (distclean maintainer-clean realclean): Likewise.
4026 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
4027 * configure: Regenerate.
4028 * gdb.ada/Makefile.in: Delete.
4029 * gdb.arch/Makefile.in: Likewise.
4030 * gdb.asm/Makefile.in: Likewise.
4031 * gdb.base/Makefile.in: Likewise.
4032 * gdb.btrace/Makefile.in: Likewise.
4033 * gdb.cell/Makefile.in: Likewise.
4034 * gdb.compile/Makefile.in: Likewise.
4035 * gdb.cp/Makefile.in: Likewise.
4036 * gdb.disasm/Makefile.in: Likewise.
4037 * gdb.dlang/Makefile.in: Likewise.
4038 * gdb.dwarf2/Makefile.in: Likewise.
4039 * gdb.fortran/Makefile.in: Likewise.
4040 * gdb.gdb/Makefile.in: Likewise.
4041 * gdb.go/Makefile.in: Likewise.
4042 * gdb.guile/Makefile.in: Likewise.
4043 * gdb.java/Makefile.in: Likewise.
4044 * gdb.linespec/Makefile.in: Likewise.
4045 * gdb.mi/Makefile.in: Likewise.
4046 * gdb.modula2/Makefile.in: Likewise.
4047 * gdb.multi/Makefile.in: Likewise.
4048 * gdb.objc/Makefile.in: Likewise.
4049 * gdb.opencl/Makefile.in: Likewise.
4050 * gdb.opt/Makefile.in: Likewise.
4051 * gdb.pascal/Makefile.in: Likewise.
4052 * gdb.perf/Makefile.in: Likewise.
4053 * gdb.python/Makefile.in: Likewise.
4054 * gdb.reverse/Makefile.in: Likewise.
4055 * gdb.server/Makefile.in: Likewise.
4056 * gdb.stabs/Makefile.in: Likewise.
4057 * gdb.threads/Makefile.in: Likewise.
4058 * gdb.trace/Makefile.in: Likewise.
4059 * gdb.xml/Makefile.in: Likewise.
4060 * lib/gdb.exp (make_gdb_parallel_path): Add check for
4061 GDB_PARALLEL.
4062 (standard_output_file): Remove check for GDB_PARALLEL, always
4063 return path in outputs/$subdir/$testname.
4064
4065 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4066
4067 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
4068 (site.exp): Assign abs_srcdir to tcl's srcdir.
4069
4070 2016-02-04 Yao Qi <yao.qi@linaro.org>
4071
4072 * gdb.base/foll-exec-mode.c: Include limits.h.
4073 (main): Add parameters argc and argv. Get directory from
4074 argv[0].
4075 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
4076 compilation.
4077 * gdb.base/foll-exec.c: Include limits.h.
4078 (main): Add parameters argc and argv.
4079 Get directory from argv[0].
4080 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
4081 Adjust tests on the number of lines as source code changed.
4082 * gdb.base/foll-vfork-exit.c: Include limits.h.
4083 (main): Add one line of statement before vfork.
4084 * gdb.base/foll-vfork.c: Include limits.h and string.h.
4085 (main): Add parameters argc and argv. Get directory from
4086 argv[0].
4087 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
4088 (setup_gdb): Set tbreak to skip some source lines.
4089 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
4090 (main): Add parameters argc and argv. Get directory from
4091 argv[0].
4092 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
4093 compilation.
4094 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
4095 (main): Add parameters argc and argv. Get directory from
4096 argv[0].
4097 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
4098 compilation.
4099
4100 2016-02-01 Doug Evans <dje@google.com>
4101
4102 * gdb.base/skip.exp: Clean up multiple references to same test name.
4103
4104 2016-02-01 Pedro Alves <palves@redhat.com>
4105
4106 PR remote/19496
4107 * gdb.threads/forking-threads-plus-breakpoint.exp
4108 (displaced_stepping_supported): New global.
4109 (probe_displaced_stepping_support): New procedure.
4110 (do_test): Add 'displaced' parameter, and use it.
4111 (top level): Check for displaced stepping support. Add displaced
4112 stepping on/off testing axis.
4113
4114 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4115
4116 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
4117 pointer. Don't perform further tests on the unassociated pointer
4118 if the first test fails.
4119
4120 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4121
4122 * gdb.base/max-value-size.c: New file.
4123 * gdb.base/max-value-size.exp: New file.
4124 * gdb.base/huge.exp: Disable max-value-size for this test.
4125
4126 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
4127
4128 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4129
4130 2016-01-28 Yao Qi <yao.qi@linaro.org>
4131
4132 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
4133
4134 2016-01-25 Pedro Alves <palves@redhat.com>
4135
4136 PR threads/19461
4137 * gdb.base/fork-running-state.c: New file.
4138 * gdb.base/fork-running-state.exp: New file.
4139
4140 2016-01-25 Pedro Alves <palves@redhat.com>
4141
4142 PR gdb/19494
4143 * gdb.base/catch-fork-kill.c: New file.
4144 * gdb.base/catch-fork-kill.exp: New file.
4145
4146 2016-01-25 Pedro Alves <palves@redhat.com>
4147
4148 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
4149 Delete, moved to lib/gdb.exp.
4150 * gdb.threads/forking-threads-plus-breakpoint.exp
4151 (foreach_with_prefix): Likewise.
4152 * gdb.threads/process-dies-while-handling-bp.exp
4153 (foreach_with_prefix): Likewise.
4154 * lib/gdb.exp (foreach_with_prefix): New procedure.
4155
4156 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
4157
4158 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
4159 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
4160
4161 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
4162
4163 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
4164 endian targets.
4165
4166 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4167 Pedro Alves <palves@redhat.com>
4168
4169 Fix testsuite compatibility with Guile.
4170 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
4171 number.
4172
4173 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4174
4175 Fix testsuite compatibility with Guile.
4176 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
4177 (thread 1): New test for backtrace through signal handler.
4178
4179 2016-01-22 Yao Qi <yao.qi@linaro.org>
4180
4181 PR testsuite/19491
4182 * gdb.base/multi-forks.c: Include
4183 ../lib/unbuffer_output.c
4184 (main): Call gdb_unbuffer_output.
4185
4186 2016-01-21 Doug Evans <dje@google.com>
4187
4188 * lib/ada.exp (gdb_compile_ada): Fix typo.
4189
4190 2016-01-21 Joel Brobecker <brobecker@adacore.com>
4191
4192 * gdb.base/break-fun-addr.exp: New file.
4193 * gdb.base/break-fun-addr1.c: New file.
4194 * gdb.base/break-fun-addr2.c: New file.
4195
4196 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
4197
4198 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
4199 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
4200 enum flag values.
4201
4202 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4203
4204 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
4205 when GDB can not set the vector return value. Add more comments
4206 for clarification.
4207
4208 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
4209
4210 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
4211 command.
4212
4213 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4214
4215 * Makefile.in (DO_RUNTEST): Add --status and update usages.
4216
4217 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4218
4219 * Makefile.in (check-single): Pass --status to runtest.
4220 (check/%.exp): Likewise.
4221
4222 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4223
4224 * Makefile.in (check-parallel): Propagate return code from make
4225 do-check-parallel.
4226
4227 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
4228
4229 * gdb.trace/ftrace.exp: Fix expected message on continue.
4230 * gdb.trace/pending.exp: Fix expected message on continue.
4231 * gdb.trace/trace-break.exp: Fix expected message on continue.
4232
4233 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
4234
4235 * lib/gdb.exp (gdb_test): Remove unused global references.
4236
4237 2016-01-18 Pedro Alves <palves@redhat.com>
4238
4239 * gdb.base/async-shell.exp: Adjust expected output.
4240 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
4241 * gdb.base/siginfo-thread.exp: Adjust expected output.
4242 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
4243 * gdb.java/jnpe.exp: Adjust expected output.
4244 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
4245 * gdb.threads/continue-pending-status.exp: Adjust expected output.
4246 * gdb.threads/leader-exit.exp: Adjust expected output.
4247 * gdb.threads/manythreads.exp: Adjust expected output.
4248 * gdb.threads/pthreads.exp: Adjust expected output.
4249 * gdb.threads/schedlock.exp: Adjust expected output.
4250 * gdb.threads/siginfo-threads.exp: Adjust expected output.
4251 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
4252 expected output.
4253 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
4254 output.
4255 * gdb.threads/sigthread.exp: Adjust expected output.
4256 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
4257
4258 2016-01-18 Yao Qi <yao.qi@linaro.org>
4259
4260 * gdb.guile/scm-section-script.c: Replace @progbits with
4261 %progbits.
4262 * gdb.python/py-section-script.c: Likewise.
4263
4264 2016-01-15 Pedro Alves <palves@redhat.com>
4265
4266 * gdb.multi/tids.exp: Test star wildcard ranges.
4267
4268 2016-01-15 Pedro Alves <palves@redhat.com>
4269
4270 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4271 command from "thread apply" invocation.
4272 (thr_apply_info_thr_invalid): Default the expected output to the
4273 input tid list.
4274 (top level): Add tests that use convenience variables. Add tests
4275 for "thread apply" with a valid TID list, but missing the command.
4276
4277 2016-01-13 Pedro Alves <palves@redhat.com>
4278
4279 * gdb.base/default.exp: Expect $_gthread as well.
4280 * gdb.multi/tids.exp: Test $_gthread.
4281 * gdb.threads/thread-specific.exp: Test $_gthread.
4282
4283 2016-01-13 Pedro Alves <palves@redhat.com>
4284
4285 * gdb.multi/tids.exp: Test "info threads -gid".
4286
4287 2016-01-13 Pedro Alves <palves@redhat.com>
4288
4289 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4290 Breakpoint.thread.
4291 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
4292
4293 2016-01-07 Pedro Alves <palves@redhat.com>
4294
4295 * gdb.base/break.exp: Adjust to output changes.
4296 * gdb.base/hbreak2.exp: Likewise.
4297 * gdb.base/sepdebug.exp: Likewise.
4298 * gdb.base/watch_thread_num.exp: Likewise.
4299 * gdb.linespec/keywords.exp: Likewise.
4300 * gdb.multi/info-threads.exp: Likewise.
4301 * gdb.threads/thread-find.exp: Likewise.
4302 * gdb.multi/tids.c: New file.
4303 * gdb.multi/tids.exp: New file.
4304
4305 2016-01-13 Pedro Alves <palves@redhat.com>
4306
4307 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
4308
4309 2016-01-13 Pedro Alves <palves@redhat.com>
4310
4311 * gdb.base/default.exp: Expect $_inferior as well.
4312 * gdb.multi/base.exp: Test $_inferior.
4313
4314 2016-01-13 Pedro Alves <palves@redhat.com>
4315
4316 PR breakpoints/19388
4317 * gdb.base/catch-signal-siginfo-cond.c: New file.
4318 * gdb.base/catch-signal-siginfo-cond.exp: New file.
4319
4320 2016-01-12 Josh Stone <jistone@redhat.com>
4321 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4322
4323 * gdb.base/catch-syscall.c (do_execve): New variable.
4324 (main): Conditionally trigger an execve.
4325 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
4326 (test_catch_syscall_execve): New, check entry/return across execve.
4327 (do_syscall_tests): Call test_catch_syscall_execve.
4328
4329 2016-01-12 Pedro Alves <palves@redhat.com>
4330
4331 * gdb.base/random-signal.exp (do_test): New procedure, with body
4332 of testcase moved in.
4333
4334 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4335 Pedro Alves <palves@redhat.com>
4336
4337 * gdb.base/funcargs.exp (finish from indirectly called function):
4338 Reintroduce the case for 'First'.
4339
4340 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4341 Pedro Alves <palves@redhat.com>
4342
4343 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4344 (tcatch_vfork_then_child_follow_exec)
4345 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
4346 identification.
4347
4348 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4349
4350 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
4351 and repeats to unlimited.
4352 * gdb.python/py-value.exp: Likewise.
4353 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
4354 and repeats to unlimited.
4355
4356 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4357
4358 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
4359 and reordering the functions.
4360 * gdb.multi/hangout.c: Likewise.
4361 * gdb.multi/hello.c: Likewise.
4362
4363 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
4364
4365 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
4366 absolute.
4367 (SingleStatisticTestResult.report): Use dict.keys instead of
4368 dict.iterkeys.
4369
4370 2016-01-06 Pedro Alves <palves@redhat.com>
4371
4372 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
4373
4374 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
4375
4376 * gdb.btrace/dlopen.exp: New.
4377 * gdb.btrace/dlopen.c: New.
4378 * gdb.btrace/dlopen-dso.c: New.
4379
4380 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
4381
4382 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4383 PATTERN argument is optional.
4384
4385 2015-12-24 Joel Brobecker <brobecker@adacore.com>
4386
4387 * lib/ada.exp (target_compile_ada_from_dir): New function.
4388 (gdb_compile_ada): Reimplement avoiding the use of project files.
4389 * gdb.ada/gnat_ada.gpr: Delete.
4390 * gdb.ada/cond_lang.exp: Adjust test to make path before
4391 filename optional.
4392 * gdb.ada/small_reg_param.exp: Likewise.
4393
4394 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4395
4396 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4397
4398 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4399
4400 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4401 case.
4402
4403 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4404
4405 * gdb.base/break.exp: Remove dead code.
4406 * gdb.base/sepdebug.exp: Likewise.
4407
4408 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4409
4410 * gdb.asm/asm-source.exp: Remove HP-UX references.
4411 * gdb.base/annota1.exp: Likewise.
4412 * gdb.base/annota3.exp: Likewise.
4413 * gdb.base/attach.exp: Likewise.
4414 * gdb.base/bigcore.exp: Likewise.
4415 * gdb.base/break.exp: Likewise.
4416 * gdb.base/call-ar-st.exp: Likewise.
4417 * gdb.base/callfuncs.exp: Likewise.
4418 * gdb.base/catch-fork-static.exp: Likewise.
4419 * gdb.base/display.exp: Likewise.
4420 * gdb.base/foll-exec-mode.exp: Likewise.
4421 * gdb.base/foll-exec.exp: Likewise.
4422 * gdb.base/foll-fork.exp: Likewise.
4423 * gdb.base/foll-vfork.exp: Likewise.
4424 * gdb.base/funcargs.exp: Likewise.
4425 * gdb.base/hbreak2.exp: Likewise.
4426 * gdb.base/inferior-died.exp: Likewise.
4427 * gdb.base/interrupt.exp: Likewise.
4428 * gdb.base/multi-forks.exp: Likewise.
4429 * gdb.base/nodebug.exp: Likewise.
4430 * gdb.base/sepdebug.exp: Likewise.
4431 * gdb.base/solib1.c: Likewise.
4432 * gdb.base/step-test.exp: Likewise.
4433 * gdb.mi/non-stop.c: Likewise.
4434 * gdb.mi/pthreads.c: Likewise.
4435 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4436 * gdb.threads/pthreads.c: Likewise.
4437 * gdb.threads/staticthreads.exp: Likewise.
4438 * lib/future.exp: Likewise.
4439 * lib/gdb.exp: Likewise.
4440 * gdb.base/so-indr-cl.c: Remove.
4441 * gdb.base/so-indr-cl.exp: Likewise.
4442 * gdb.base/solib.c: Likewise.
4443 * gdb.base/solib.exp: Likewise.
4444 * gdb.base/solib2.c: Likewise.
4445
4446 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4447
4448 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4449 * gdb.base/call-ar-st.exp: Likewise.
4450 * gdb.base/callfuncs.exp: Likewise.
4451 * gdb.base/condbreak.exp: Likewise.
4452 * gdb.base/constvars.exp: Likewise.
4453 * gdb.base/hbreak2.exp: Likewise.
4454 * gdb.base/langs.exp: Likewise.
4455 * gdb.base/list.exp: Likewise.
4456 * gdb.base/long_long.exp: Likewise.
4457 * gdb.base/ptype.exp: Likewise.
4458 * gdb.base/scope.exp: Likewise.
4459 * gdb.base/signals.exp: Likewise.
4460 * gdb.base/so-impl-ld.exp: Likewise.
4461 * gdb.base/varargs.exp: Likewise.
4462 * gdb.base/volatile.exp: Likewise.
4463 * gdb.base/whatis.exp: Likewise.
4464 * gdb.cp/cplusfuncs.exp: Likewise.
4465 * gdb.cp/inherit.exp: Likewise.
4466 * gdb.cp/local.exp: Likewise.
4467 * gdb.cp/member-ptr.exp: Likewise.
4468 * gdb.cp/method.exp: Likewise.
4469 * gdb.cp/overload.exp: Likewise.
4470 * gdb.cp/templates.exp: Likewise.
4471 * gdb.stabs/weird.exp: Likewise.
4472 * lib/compiler.c: Likewise.
4473 * lib/compiler.cc: Likewise.
4474 * lib/cp-support.exp: Likewise.
4475 * lib/gdb.exp: Likewise.
4476
4477 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
4478
4479 * configure.ac: Remove HP-UX case.
4480 * configure: Regenerate.
4481
4482 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
4483
4484 * lib/gdb.exp (gdb_compile): Add function doc.
4485
4486 2015-12-17 Pedro Alves <palves@redhat.com>
4487
4488 PR threads/19354
4489 * gdb.multi/info-threads.exp: New file.
4490
4491 2015-12-15 Yao Qi <yao.qi@linaro.org>
4492
4493 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
4494 is aarch64*-*-*.
4495
4496 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4497
4498 * gdb.base/history-duplicates.exp: Skip if no readline support.
4499
4500 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4501
4502 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
4503
4504 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4505
4506 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
4507
4508 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4509
4510 * gdb.base/completion.exp: Skip tests that interrupt GDB with
4511 ctrl-C if nointerrupts target property is set.
4512 * gdb.base/double-prompt-target-event-error.exp: Likewise.
4513 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
4514 * gdb.base/paginate-bg-execution.exp: Likewise.
4515 * gdb.base/paginate-execution-startup.exp: Likewise.
4516 * gdb.base/random-signal.exp: Likewise.
4517 * gdb.base/range-stepping.exp: Likewise.
4518 * gdb.cp/annota2.exp: Likewise.
4519 * gdb.cp/annota3.exp: Likewise.
4520 * gdb.gdb/selftest.exp: Likewise.
4521 * gdb.threads/continue-pending-status.exp: Likewise.
4522 * gdb.threads/leader-exit.exp: Likewise.
4523 * gdb.threads/manythreads.exp: Likewise.
4524 * gdb.threads/pthreads.exp: Likewise.
4525 * gdb.threads/schedlock.exp: Likewise.
4526 * gdb.threads/sigthread.exp: Likewise.
4527
4528 2015-12-11 Don Breazeal <donb@codesourcery.com>
4529
4530 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
4531 remote.
4532 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
4533 * gdb.base/foll-exec.exp (main): Enable for target remote.
4534 * gdb.base/foll-fork.exp (main): Likewise.
4535 * gdb.base/foll-vfork.exp (main): Likewise.
4536 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
4537 (proc continue_to_exit_bp_loc): Use clean_restart.
4538 * gdb.base/pie-execl.exp (main): Disable for target remote.
4539 * gdb.base/watch-vfork.exp (main): Enable for target remote.
4540 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
4541 * gdb.threads/execl.exp (main): Likewise.
4542 * gdb.threads/fork-child-threads.exp (main): Likewise.
4543 * gdb.threads/fork-plus-threads.exp (main): Disable for target
4544 remote.
4545 * gdb.threads/fork-thread-pending.exp (main): Enable for target
4546 remote.
4547 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
4548 pid.tid style ptids, instead of just tid.
4549 * gdb.threads/thread-execl.exp (main): Enable for target remote.
4550 * gdb.threads/watchpoint-fork.exp (main): Likewise.
4551 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
4552 ptids, instead of just tid.
4553
4554 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4555
4556 * gdb.base/list.exp (test_list_forward): Add end of file error
4557 test.
4558 (test_repeat_list_command): Add end of file error test.
4559 (test_list_backwards): Add beginning of file error test.
4560
4561 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4562
4563 * gdb.base/list.exp (test_list_invalid_args): New function,
4564 defined, and called.
4565
4566 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4567
4568 * gdb.base/list.exp (test_list): Make test names unique.
4569
4570 2015-12-11 Yao Qi <yao.qi@linaro.org>
4571
4572 * gdb.base/coremaker2.c: Remove.
4573
4574 2015-12-10 Pedro Alves <palves@redhat.com>
4575
4576 * gdb.multi/base.exp: Remove stale "spaces" references.
4577
4578 2015-12-10 Pedro Alves <palves@redhat.com>
4579
4580 * gdb.multi/base.exp: Don't use nowarnings.
4581 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
4582 * gdb.multi/hangout.c: Include stdio.h.
4583 * gdb.multi/hello.c: Include stdlib.h.
4584 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
4585 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
4586 * gdb.multi/multi-arch.exp: Don't use nowarnings.
4587
4588 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
4589
4590 * gdb.dwarf2/dw2-ranges-base.c: New file.
4591 * gdb.dwarf2/dw2-ranges-base.exp: New file.
4592 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
4593 support additional line table, and debug ranges generation.
4594 (Dwarf::ranges): New function, generate .debug_ranges.
4595 (Dwarf::lines): Support generating simple line table programs.
4596 (Dwarf::assemble): Initialise new namespace variables.
4597
4598 2015-12-09 Kevin Buettner <kevinb@redhat.com>
4599
4600 * gdb.base/async.exp (proc test_background): Add case for
4601 asynchronous execution not supported.
4602
4603 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
4604
4605 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
4606 format and change test names to make them unique.
4607
4608 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
4609 Pedro Alves <pedro@redhat.com>
4610
4611 PR gdb/18702
4612 Add checking of floatformats setup on x86_64 hosts.
4613 * gdb.arch/i386-float.S (main): Load bigval and smallval.
4614 (smallval, bigval): New labels/constants.
4615 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
4616 float" after loading bigval and smallval.
4617
4618 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
4619
4620 * gdb.ada/fun_overload_menu.exp: New testcase.
4621 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
4622
4623 2015-12-04 Josh Stone <jistone@redhat.com>
4624
4625 * gdb.base/catch-fork-static.exp: New.
4626
4627 2015-12-03 Yao Qi <yao.qi@linaro.org>
4628
4629 * gdb.base/sizeof.c: Don't include stdio.h and
4630 ../lib/unbuffer_output.c.
4631 (main): New variable 'size' and 'value'. Remove printf and
4632 gdb_unbuffer_output. Assign return value to size and value.
4633 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
4634 at the beginning.
4635 (check_sizeof): Check the result by printing variable 'size'.
4636 (check_valueof): Check the result by printing variable 'value'.
4637
4638 2015-12-01 Yao Qi <yao.qi@linaro.org>
4639
4640 * gdb.base/disp-step-syscall.exp: Define syscall instruction
4641 for aarch64*-*-linux* target.
4642
4643 2015-11-30 Pedro Alves <palves@redhat.com>
4644
4645 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
4646
4647 2015-11-30 Pedro Alves <palves@redhat.com>
4648
4649 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
4650 Handle non-stop mode vCont replies.
4651
4652 2015-11-30 Pedro Alves <palves@redhat.com>
4653
4654 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
4655 prepare_for_testing. Start gdb with "set non-stop on" appended to
4656 GDBFLAGS. Lax expected stop output.
4657
4658 2015-11-27 Yao Qi <yao.qi@linaro.org>
4659
4660 * gdb.arch/arm-neon.exp: New.
4661 * gdb.arch/arm-neon.c: New.
4662
4663 2015-11-27 Yao Qi <yao.qi@linaro.org>
4664
4665 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
4666
4667 2015-11-27 Yao Qi <yao.qi@linaro.org>
4668
4669 * gdb.cp/annota2.exp: Allow multiple occurrences of the
4670 frames-invalid annotation.
4671
4672 2015-11-27 Yao Qi <yao.qi@linaro.org>
4673
4674 * gdb.cp/annota2.exp: Use ${frames_invalid}.
4675
4676 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
4677
4678 * gdb.threads/names.exp: New file.
4679 * gdb.threads/names.c: New file.
4680 * README: Mention gdb,no_thread_names.
4681
4682 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
4683
4684 PR 19297
4685 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
4686 support" error.
4687
4688 2015-11-24 Pedro Alves <palves@redhat.com>
4689
4690 PR 17539
4691 * gdb.base/display.exp: Expect displays to be sorted in ascending
4692 order. Use multi_line.
4693 * gdb.base/solib-display.exp: Likewise.
4694
4695 2015-11-24 Pedro Alves <palves@redhat.com>
4696
4697 PR 17539
4698 * gdb.base/display.exp: Expect displays to be sorted in ascending
4699 order. Use multi_line.
4700 * gdb.base/solib-display.exp: Likewise.
4701
4702 2015-11-24 Pedro Alves <palves@redhat.com>
4703
4704 PR 17539
4705 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
4706 threads in ascending order.
4707 * gdb.base/foll-fork.exp: Likewise.
4708 * gdb.base/foll-vfork.exp: Likewise.
4709 * gdb.base/multi-forks.exp: Likewise.
4710 * gdb.mi/mi-nonstop.exp: Likewise.
4711 * gdb.mi/mi-nsintrall.exp: Likewise.
4712 * gdb.multi/base.exp: Likewise.
4713 * gdb.multi/multi-arch.exp: Likewise.
4714 * gdb.python/py-inferior.exp: Likewise.
4715 * gdb.threads/break-while-running.exp: Likewise.
4716 * gdb.threads/execl.exp: Likewise.
4717 * gdb.threads/gcore-thread.exp: Likewise.
4718 * gdb.threads/info-threads-cur-sal.exp: Likewise.
4719 * gdb.threads/kill.exp: Likewise.
4720 * gdb.threads/linux-dp.exp: Likewise.
4721 * gdb.threads/multiple-step-overs.exp: Likewise.
4722 * gdb.threads/next-bp-other-thread.exp: Likewise.
4723 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
4724 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
4725 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
4726 * gdb.threads/thread-find.exp: Likewise.
4727 * gdb.threads/tls.exp: Likewise.
4728 * lib/mi-support.exp (mi_reverse_list): Delete.
4729 (mi_check_thread_states): No longer reverse list.
4730
4731 2015-11-24 Pedro Alves <palves@redhat.com>
4732
4733 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
4734 use lowercase.
4735
4736 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4737
4738 * gdb.trace/actions.c: Include trace-common.h.
4739 (main): Add a location for a fast tracepoint.
4740 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
4741 the normal tracepoints.
4742 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
4743
4744 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4745
4746 * save-trace.exp: Factor out code to these...
4747 (gdb_save_tracepoints): New.
4748 (gdb_load_tracepoints): New.
4749 (do_save_load_test): New.
4750
4751 2015-11-23 Kevin Buettner <kevinb@redhat.com>
4752
4753 * gdb.base/asmlabel.exp: New test.
4754 * gdb.base/asmlabel.c: New test case.
4755
4756 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4757
4758 * gdb.base/wrong_frame_bt_full-main.c: New file.
4759 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
4760 * gdb.base/wrong_frame_bt_full.exp: New file.
4761
4762 2015-11-23 Joel Brobecker <brobecker@adacore.com>
4763
4764 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
4765
4766 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4767
4768 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
4769 pstate register when comparing registers values in
4770 sparc64-*-linux-gnu targets to avoid spurious differences.
4771
4772 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4773
4774 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
4775
4776 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
4777
4778 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
4779 as type argument to gdb_compile.
4780 * gdb.base/nested-subp2.exp: Likewise.
4781 * gdb.base/nested-subp3.exp: Likewise.
4782
4783 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
4784
4785 * lib/dwarf.exp (_note): Fix left shift of negative value.
4786 * gdb.trace/trace-condition.exp: Likewise.
4787
4788 2015-11-13 Yao Qi <yao.qi@linaro.org>
4789
4790 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
4791 comments about d10v.
4792 (test_scalar_returns): Likewise.
4793 * gdb.base/d10v.ld: Remove.
4794 * gdb.base/overlays.exp: Remove the target triplet checking for
4795 d10v-*-*.
4796 * gdb.base/structs.exp (test_struct_returns): Remove the
4797 comments about d10v.
4798 (test_struct_calls): Likewise.
4799
4800 2015-11-13 Yao Qi <yao.qi@linaro.org>
4801
4802 * gdb.base/gnu_vector.exp: Check the return value by "p res".
4803 * gdb.base/gnu_vector.c: Don't include stdio.h.
4804 (main): Don't print res and call add_some_intvecs.
4805
4806 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
4807
4808 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
4809 macro.
4810 (func5): Removed.
4811 (func4): Use FAST_TRACEPOINT_LABEL.
4812 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
4813 macro.
4814 (func): Removed.
4815 (thread_function): Use FAST_TRACEPOINT_LABEL.
4816 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
4817 (func): Remove.
4818 (marker): Use FAST_TRACEPOINT_LABEL.
4819 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
4820 (pendfunc1): Remove.
4821 (pendfunc): Use FAST_TRACEPOINT_LABEL.
4822 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
4823 (foo): Remove.
4824 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
4825 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
4826 macro.
4827 (func): Remove.
4828 (marker): Use FAST_TRACEPOINT_LABEL.
4829 * gdb.trace/trace-common.h: New header.
4830 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
4831 macro.
4832 (func): Remove.
4833 (marker): Use FAST_TRACEPOINT_LABEL.
4834 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
4835 (func): Remove.
4836 (thread_function): Use FAST_TRACEPOINT_LABEL.
4837
4838 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
4839
4840 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
4841 in front.
4842 * gdb.trace/change-loc.exp: Use global pcreg definition.
4843 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
4844 * gdb.trace/entry-values.exp: Use global spreg definition, add $
4845 in front.
4846 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
4847 * gdb.trace/pending.exp: Likewise.
4848 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
4849 * gdb.trace/trace-break.exp: Likewise.
4850 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
4851 in front.
4852 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
4853 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
4854 in front.
4855 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
4856
4857 2015-11-09 Joel Brobecker <brobecker@adacore.com>
4858
4859 * gdb.ada/fin_fun_out: New testcase.
4860
4861 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4862
4863 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
4864 value associated with DW_AT_byte_size.
4865 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
4866 constants for DW_AT_byte_size, DW_AT_lower_bound, and
4867 DW_AT_upper_bound.
4868
4869 2015-11-07 Kevin Buettner <kevinb@redhat.com>
4870
4871 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
4872 (gdb_target_symbol_prefix_flags): Define in terms of _asm
4873 version.
4874 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
4875 gdb.dwarf2/dw2-canonicalize-type.exp,
4876 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
4877 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
4878 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
4879 provided by gdb_target_symbol_prefix_flags_asm.
4880 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
4881 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
4882 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
4883 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
4884 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
4885 macros where needed). Use this macro for symbols which require
4886 the prefix provided by SYMBOL_PREFIX.
4887
4888 2015-11-05 Kevin Buettner <kevinb@redhat.com>
4889
4890 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
4891 New procs.
4892 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
4893 representing expressions, of more than one list element.
4894 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
4895 to prepend linker symbol prefix to f.
4896 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
4897 table_1 and table_2.
4898 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
4899 Likewise, for f and g.
4900 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
4901 for ptr.
4902 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
4903 for main.
4904 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
4905 table_1_ptr and table_2_ptr.
4906
4907 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4908 Joel Brobecker <brobecker@adacore.com>
4909
4910 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
4911
4912 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
4913
4914 * gdb.reverse/s390-mvcle.c: New test.
4915 * gdb.reverse/s390-mvcle.exp: New file.
4916 * lib/gdb.exp: Enable reverse tests on s390*-linux.
4917
4918 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4919
4920 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
4921
4922 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
4923
4924 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
4925 reaching marker2.
4926 * gdb.reverse/getresuid-reverse.exp: Likewise.
4927 * gdb.reverse/pipe-reverse.exp: Likewise.
4928 * gdb.reverse/readv-reverse.exp: Likewise.
4929 * gdb.reverse/recvmsg-reverse.exp: Likewise.
4930 * gdb.reverse/time-reverse.exp: Likewise.
4931 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
4932
4933 2015-10-30 Yao Qi <yao.qi@linaro.org>
4934
4935 * gdb.threads/wp-replication.c (watch_count_done): Remove.
4936 (empty_cycle): Remove.
4937 (main): Don't call empty_cycle. Don't use watch_count_done.
4938 * gdb.threads/wp-replication.exp: Don't set breakpoint on
4939 empty_cycle. Rewrite the code counting HW watchpoints.
4940
4941 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
4942
4943 * gdb.reverse/fstatat-reverse.c: New test.
4944 * gdb.reverse/fstatat-reverse.exp: New file.
4945 * gdb.reverse/getresuid-reverse.c: New test.
4946 * gdb.reverse/getresuid-reverse.exp: New file.
4947 * gdb.reverse/pipe-reverse.c: New test.
4948 * gdb.reverse/pipe-reverse.exp: New file.
4949 * gdb.reverse/readv-reverse.c: New test.
4950 * gdb.reverse/readv-reverse.exp: New file.
4951 * gdb.reverse/recvmsg-reverse.c: New test.
4952 * gdb.reverse/recvmsg-reverse.exp: New file.
4953 * gdb.reverse/time-reverse.c: New test.
4954 * gdb.reverse/time-reverse.exp: New file.
4955 * gdb.reverse/waitpid-reverse.c: New test.
4956 * gdb.reverse/waitpid-reverse.exp: New file.
4957
4958 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4959
4960 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
4961
4962 2015-10-26 Doug Evans <dje@google.com>
4963
4964 PR symtab/17391
4965 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
4966 * gdb.dwarf2/bad-regnum.c: New file.
4967 * gdb.dwarf2/bad-regnum.exp: New file.
4968
4969 2015-10-26 Doug Evans <dje@google.com>
4970
4971 PR python/18938
4972 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
4973 file.
4974
4975 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4976
4977 * gdb.compile/compile.exp (compile code globalvar): Update expectation
4978 for a change by "Mention language in compile error message".
4979
4980 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
4981
4982 PR python/18073
4983 * gdb.python/py-type.c (C::a_method): New.
4984 (C::a_const_method): New.
4985 (C::a_static_method): New.
4986 (a_function): New.
4987 * gdb.python/py-type.exp (test_fields): Test getting fields
4988 from function and method.
4989
4990 2015-10-21 Keven Boell <keven.boell@intel.com>
4991
4992 * gdb.fortran/vla-alloc-assoc.exp: New file.
4993 * gdb.fortran/vla-datatypes.exp: New file.
4994 * gdb.fortran/vla-datatypes.f90: New file.
4995 * gdb.fortran/vla-history.exp: New file.
4996 * gdb.fortran/vla-ptype-sub.exp: New file.
4997 * gdb.fortran/vla-ptype.exp: New file.
4998 * gdb.fortran/vla-sizeof.exp: New file.
4999 * gdb.fortran/vla-sub.f90: New file.
5000 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
5001 * gdb.fortran/vla-value-sub-finish.exp: New file.
5002 * gdb.fortran/vla-value-sub.exp: New file.
5003 * gdb.fortran/vla-value.exp: New file.
5004 * gdb.fortran/vla-ptr-info.exp: New file.
5005 * gdb.mi/mi-vla-fortran.exp: New file.
5006 * gdb.mi/vla.f90: New file.
5007
5008 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
5009
5010 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
5011 of hardwired timeout value.
5012
5013 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5014 Pedro Alves <palves@redhat.com>
5015
5016 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
5017 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
5018
5019 2015-10-19 Josh Stone <jistone@redhat.com>
5020
5021 * gdb.base/catch-syscall.c: Include <sched.h>.
5022 (unknown_syscall): New variable.
5023 (main): Trigger a vfork and an unknown syscall.
5024 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
5025 (unknown_syscall_number): Likewise.
5026 (check_call_to_syscall): Accept an optional syscall pattern.
5027 (check_return_from_syscall): Likewise.
5028 (check_continue): Likewise.
5029 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
5030 (test_catch_syscall_skipping_return): New test toggling off 'catch
5031 syscall' to step over the syscall return, then toggling back on.
5032 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
5033 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
5034 (do_syscall_tests): Call test_catch_syscall_without_args and
5035 test_catch_syscall_mid_vfork.
5036 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
5037 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
5038
5039 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
5040
5041 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
5042 print g_vE): Add new pass patterns.
5043 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
5044 print various symbol names for vptr fields.
5045
5046 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
5047
5048 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
5049 results.
5050
5051 2015-10-12 Yao Qi <yao.qi@linaro.org>
5052
5053 * gdb.arch/disp-step-insn-reloc.exp: New test case.
5054
5055 2015-10-12 Yao Qi <yao.qi@linaro.org>
5056
5057 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
5058 is aarch64*-*-linux*.
5059
5060 2015-10-12 Yao Qi <yao.qi@linaro.org>
5061
5062 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
5063 (can_relocate_bcond_true): ... it.
5064 (can_relocate_bcond_false): New function.
5065 (foo): Likewise.
5066 (can_relocate_bl): Likewise.
5067 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
5068 can_relocate_bl.
5069
5070 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
5071
5072 * gdb.base/nested-addr.c: New file.
5073 * gdb.base/nested-addr.exp: New testcase.
5074
5075 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
5076
5077 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
5078 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
5079 its output. Ignore the output of "record goto begin" and instead
5080 check that GDB is replaying.
5081
5082 2015-10-09 Pedro Alves <palves@redhat.com>
5083
5084 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
5085 (top level): Use it in the run with no args test.
5086
5087 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
5088
5089 * gdb.dlang/properties.exp: New file.
5090
5091 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
5092
5093 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
5094 whether or not address 0x1000 is mapped on the target.
5095
5096 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
5097
5098 * gdb.python/py-type.exp: Do not run tests if binaries fail to
5099 build.
5100
5101 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
5102
5103 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
5104 instruction-history test.
5105
5106 2015-09-28 Doug Evans <dje@google.com>
5107
5108 * gdb.base/gcore.c (array_func): Add reference to static_array.
5109
5110 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
5111
5112 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
5113 source line.
5114
5115 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
5116
5117 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
5118 short or char as base type.
5119
5120 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
5121
5122 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
5123 to allow any size enum.
5124
5125 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
5126
5127 * gdb.ada/array_ptr_renaming.exp: New testcase.
5128 * gdb.ada/array_ptr_renaming/foo.adb: New file.
5129 * gdb.ada/array_ptr_renaming/pack.ads: New file.
5130
5131 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5132
5133 * gdb.trace/ftrace-lock.c: New file.
5134 * gdb.trace/ftrace-lock.exp: New file.
5135
5136 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5137
5138 * gdb.arch/insn-reloc.c: New file.
5139 * gdb.arch/ftrace-insn-reloc.exp: New file.
5140
5141 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5142
5143 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
5144 instruction.
5145 * gdb.trace/pendshr1.c (pendfunc): Likewise.
5146 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
5147 * gdb.trace/range-stepping.c: Likewise.
5148 * gdb.trace/trace-break.c: Likewise.
5149 * gdb.trace/trace-mt.c (thread_function): Likewise.
5150 * gdb.trace/ftrace.c (marker): Likewise.
5151 * gdb.trace/trace-condition.c (marker): Likewise.
5152 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
5153 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
5154 is_aarch64_target.
5155
5156 2015-09-18 Doug Evans <xdje42@gmail.com>
5157
5158 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
5159 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
5160
5161 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5162
5163 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
5164 the breakpoint.
5165
5166 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5167
5168 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
5169 the pending breakpoint. Remove timeout override for "Run till
5170 MI pending breakpoint on pendfunc3 on thread 2" test.
5171
5172 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5173
5174 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
5175 filename pattern.
5176
5177 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5178
5179 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
5180 in breakpoint filename pattern.
5181
5182 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5183
5184 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
5185
5186 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5187
5188 * gdb.linespec/explicit.exp: Check for readline support for
5189 tab-completion tests. Fix obvious typo.
5190
5191 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5192
5193 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
5194 and replay.
5195
5196 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5197
5198 * gdb.btrace/non-stop.c: New.
5199 * gdb.btrace/non-stop.exp: New.
5200
5201 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
5202 Yao Qi <yao.qi@linaro.org>
5203
5204 * gdb.trace/trace-condition.c: New file.
5205 * gdb.trace/trace-condition.exp: New file.
5206
5207 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
5208
5209 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
5210 for testing bytecode compilation.
5211
5212 2015-09-16 Pedro Alves <palves@redhat.com>
5213 Sandra Loosemore <sandra@codesourcery.com>
5214
5215 * gdb.threads/non-stop-fair-events.c (timeout): New global.
5216 (SECONDS): Redefine.
5217 (main): Call pthread_kill and alarm early.
5218 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
5219 support.
5220 (test): If the target can't hardware step and doesn't support
5221 displaced stepping, increase the timeout.
5222
5223 2015-09-16 Pedro Alves <palves@redhat.com>
5224
5225 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
5226 (enable_debug): New procedures.
5227 (test): Use them. Bail out if waiting for threads fails.
5228 (top level): Bail out if a test fails.
5229
5230 2015-09-16 Yao Qi <yao.qi@linaro.org>
5231
5232 * gdb.asm/asm-source.exp: Set asm-arch for
5233 aarch64*-*-* target.
5234 * gdb.asm/aarch64.inc: New file.
5235
5236 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
5237
5238 * gdb.ada/array_of_variable_length.exp: New testcase.
5239 * gdb.ada/array_of_variable_length/foo.adb: New file.
5240 * gdb.ada/array_of_variable_length/pck.adb: New file.
5241 * gdb.ada/array_of_variable_length/pck.ads: New file.
5242
5243 2015-09-15 Doug Evans <dje@google.com>
5244
5245 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
5246 of function static local variable.
5247
5248 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5249
5250 * gdb.threads/tls-so_extern.exp: New test file.
5251 * gdb.threads/tls-so_extern.c: New test file.
5252 * gdb.threads/tls-so_extern_main.c: New test file.
5253
5254 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5255
5256 * gdb.opt/solib-intra-step-lib.c: New file.
5257 * gdb.opt/solib-intra-step-main.c: New file.
5258 * gdb.opt/solib-intra-step.exp: New file.
5259
5260 2015-09-15 Pedro Alves <palves@redhat.com>
5261
5262 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
5263 gdb_continue_to_breakpoint instead of gdb_test_multiple.
5264
5265 2015-09-14 Pedro Alves <palves@redhat.com>
5266
5267 * gdb.base/hook-stop-continue.c: Delete.
5268 * gdb.base/hook-stop-continue.exp: Delete.
5269 * gdb.base/hook-stop-frame.c: Delete.
5270 * gdb.base/hook-stop-frame.exp: Delete.
5271 * gdb.base/hook-stop.c: New file.
5272 * gdb.base/hook-stop.exp: New file.
5273
5274 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
5275
5276 * gdb.ada/access_to_packed_array.exp: New testcase.
5277 * gdb.ada/access_to_packed_array/foo.adb: New file.
5278 * gdb.ada/access_to_packed_array/pack.adb: New file.
5279 * gdb.ada/access_to_packed_array/pack.ads: New file.
5280
5281 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
5282
5283 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
5284 buffer size test.
5285
5286 2015-09-11 Don Breazeal <donb@codesourcery.com>
5287
5288 * gdb.base/foll-exec.c: Add copyright header. Fix
5289 formatting issues.
5290 * gdb.base/foll-exec.exp (zap_session): Delete proc.
5291 (do_exec_tests): Use clean_restart in place of zap_session,
5292 and for test initialization. Fix formatting issues. Use
5293 fail in place of perror.
5294 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
5295 an expect statement to match an expression with output from
5296 the program under debug.
5297 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
5298 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
5299 * gdb.threads/non-ldr-exc-2.exp: Likewise.
5300 * gdb.threads/non-ldr-exc-3.exp: Likewise.
5301 * gdb.threads/non-ldr-exc-4.exp: Likewise.
5302
5303 2015-09-09 Doug Evans <dje@google.com>
5304
5305 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
5306
5307 2015-09-09 Doug Evans <dje@google.com>
5308
5309 * gdb.base/pie-execl.exp: Fix result test of build_executable.
5310
5311 2015-09-09 Doug Evans <dje@google.com>
5312
5313 * gdb.base/savedregs.exp: Fix typo.
5314
5315 2015-09-09 Pedro Alves <palves@redhat.com>
5316
5317 * gdb.mi/mi-cli.exp: Add CLI finish tests.
5318
5319 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
5320
5321 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
5322 command actually switches threads. Give up on remaining
5323 tests if target fails to stop at breakpoint.
5324
5325 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
5326
5327 * gdb.ada/funcall_char.exp: New testcase.
5328 * gdb.ada/funcall_char/foo.adb: New file.
5329
5330 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
5331
5332 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
5333 expected outputs. Add two testcases for completing ambiguous
5334 functions.
5335 * gdb.ada/complete/aux_pck.adb: New file.
5336 * gdb.ada/complete/aux_pck.ads: New file.
5337 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
5338 Ambiguous_Func functions.
5339 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
5340 * gdb.ada/complete/pck.adb: Likewise.
5341
5342 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
5343
5344 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
5345 failures to run the test program under GDB.
5346
5347 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
5348
5349 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
5350 to C.
5351
5352 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
5353
5354 * gdb.base/run-after-attach.exp: New test file.
5355 * gdb.base/run-after-attach.c: New test file.
5356
5357 2015-08-26 Don Breazeal <donb@codesourcery.com>
5358
5359 * gdb.base/foll-exec-2.c: New test program.
5360 * gdb.base/foll-exec-2.exp: New test.
5361
5362 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
5363
5364 * gdb.base/nested-subp1.exp: New file.
5365 * gdb.base/nested-subp1.c: New file.
5366 * gdb.base/nested-subp2.exp: New file.
5367 * gdb.base/nested-subp2.c: New file.
5368 * gdb.base/nested-subp3.exp: New file.
5369 * gdb.base/nested-subp3.c: New file.
5370
5371 2015-08-24 Pedro Alves <palves@redhat.com>
5372
5373 * gdb.server/connect-without-multi-process.c: New file.
5374 * gdb.server/connect-without-multi-process.exp: New file.
5375
5376 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5377
5378 * gdb.opt/inline-markers.c: Make z int.
5379
5380 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5381
5382 * gdb.opt/inline-markers.c: Make z volatile.
5383
5384 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5385
5386 * gdb.opt/inline-bt.c: New volatile global z.
5387 * gdb.opt/inline-cmds.c: Likewise.
5388 * gdb.opt/inline-locals.c: Likewise.
5389 * gdb.opt/inline-markers.c: New extern global z.
5390 (marker): Use z.
5391 (inline_fn): Likewise.
5392
5393 2015-08-24 Pedro Alves <palves@redhat.com>
5394
5395 * config/m32r-stub.exp: Remove file.
5396 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5397 * gdb.base/call-rt-st.exp: Likewise.
5398 * gdb.base/call-strs.exp: Likewise.
5399 * gdb.base/default.exp: Remove references to h8300-*-hms and
5400 *-*-udi*.
5401 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5402
5403 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5404
5405 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5406 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5407 and "return" use KFAIL when GDB can not read/write the vector
5408 return value.
5409
5410 2015-08-21 Gary Benson <gbenson@redhat.com>
5411
5412 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5413
5414 2015-08-20 Pedro Alves <palves@redhat.com>
5415
5416 * gdb.server/solib-list.exp: No longer expect an interior stop in
5417 non-stop mode.
5418
5419 2015-08-20 Pedro Alves <palves@redhat.com>
5420
5421 * gdb.server/connect-stopped-target.c: New file.
5422 * gdb.server/connect-stopped-target.exp: New file.
5423
5424 2015-08-20 Pedro Alves <palves@redhat.com>
5425
5426 * gdb.dwarf2/comp-unit-lang.exp: New file.
5427 * gdb.dwarf2/comp-unit-lang.c: New file.
5428
5429 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5430
5431 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5432 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5433
5434 2015-08-19 Kevin Buettner <kevinb@redhat.com>
5435
5436 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5437 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5438
5439 2015-08-18 Doug Evans <dje@google.com>
5440 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5441
5442 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5443 skip_python_tests. New arg prompt_regexp.
5444 (skip_python_tests): New function.
5445 * lib/mi-support.exp (mi_skip_python_tests): New function.
5446 * gdb.python/py-mi-objfile-gdb.py: New file.
5447 * gdb.python/py-mi-objfile.c: New file.
5448 * gdb.python/py-mi-objfile.exp: New file.
5449
5450 2015-08-17 Keith Seitz <keiths@redhat.com>
5451
5452 * gdb.linespec/explicit.exp: Move strace test from here ...
5453 * gdb.trace/strace.exp: ... to here.
5454
5455 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5456
5457 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5458 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5459
5460 2015-08-14 Doug Evans <xdje42@gmail.com>
5461
5462 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5463 inferior before selecting a new file.
5464
5465 2015-08-14 Doug Evans <xdje42@gmail.com>
5466
5467 * gdb.mi/mi-disassemble.exp: Update.
5468 * gdb.base/disasm-optim.S: New file.
5469 * gdb.base/disasm-optim.c: New file.
5470 * gdb.base/disasm-optim.h: New file.
5471 * gdb.base/disasm-optim.exp: New file.
5472
5473 2015-08-14 Keith Seitz <keiths@redhat.com>
5474
5475 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
5476 "evaluated-by".
5477
5478 2015-08-13 Joel Brobecker <brobecker@adacore.com>
5479
5480 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
5481
5482 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
5483
5484 * gdb.ada/fun_renaming.exp: New testcase.
5485 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
5486 * gdb.ada/fun_renaming/pack.adb: New file.
5487 * gdb.ada/fun_renaming/pack.ads: New file.
5488
5489 2015-08-12 Keith Seitz <keiths@redhat.com>
5490
5491 * gdb.base/dso2dso.exp: Pass basename of source file in call to
5492 gdb_get_line_number.
5493
5494 2015-08-12 Joel Brobecker <brobecker@adacore.com>
5495
5496 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
5497 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
5498 gdb.base/dso2dso.exp: New files.
5499
5500 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
5501 Pedro Alves <palves@redhat.com>
5502 Keith Seitz <keiths@redhat.com>
5503
5504 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
5505 GDBFLAGS.
5506
5507 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5508
5509 * gdb.base/gdbhistsize-history.exp
5510 (test_histsize_history_setting): Use save_vars.
5511 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5512 Use save_vars.
5513 (test_no_truncation_of_unlimited_history_file): Use save_vars.
5514 * gdb.base/readline.exp: Use save_vars.
5515
5516 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5517
5518 * lib/gdb.exp (save_vars): New proc.
5519
5520 2015-08-11 Keith Seitz <keiths@redhat.com>
5521
5522 * gdb.base/help.exp: Update help_breakpoint_text.
5523
5524 2015-08-11 Keith Seitz <keiths@redhat.com>
5525
5526 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
5527 (at toplevel): Call test_explicit_breakpoints.
5528 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
5529 breakpoints.
5530 * lib/mi-support.exp (mi_make_breakpoint): Add support for
5531 breakpoint conditions, "-cond".
5532
5533 2015-08-11 Keith Seitz <keiths@redhat.com>
5534
5535 * gdb.linespec/3explicit.c: New file.
5536 * gdb.linespec/cpexplicit.cc: New file.
5537 * gdb.linespec/cpexplicit.exp: New file.
5538 * gdb.linespec/explicit.c: New file.
5539 * gdb.linespec/explicit.exp: New file.
5540 * gdb.linespec/explicit2.c: New file.
5541 * gdb.linespec/ls-errs.exp: Add explicit location tests.
5542 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
5543 before using in the matching pattern.
5544 Clarify that `prefix' is a regular expression.
5545
5546 2015-08-11 Keith Seitz <keiths@redhat.com>
5547
5548 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
5549 test.
5550 Add tests for missing ",FMT" and ",".
5551
5552 2015-08-10 Doug Evans <dje@google.com>
5553 Keith Seitz <keiths@redhat.com>
5554
5555 PR gdb/17960
5556 * gdb.base/completion.exp: Add location completer tests.
5557
5558 2015-08-07 Pedro Alves <palves@redhat.com>
5559
5560 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
5561 tests here.
5562 (top level): Run do_test with and without displaced stepping.
5563
5564 2015-08-07 Pedro Alves <palves@redhat.com>
5565
5566 * gdb.base/valgrind-disp-step.c: New file.
5567 * gdb.base/valgrind-disp-step.exp: New file.
5568
5569 2015-08-07 Pedro Alves <palves@redhat.com>
5570
5571 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
5572 Delete function.
5573 (main): Add alarm. Run an infinite loop instead of calling
5574 wait_threads.
5575 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
5576 comment.
5577 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
5578 Delete function.
5579 (main): Add alarm. Run an infinite loop instead of calling
5580 wait_threads.
5581 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
5582 comment.
5583
5584 2015-08-07 Pedro Alves <palves@redhat.com>
5585
5586 * gdb.base/checkpoint-ns.exp: New file.
5587 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
5588 standard_testfile.
5589
5590 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
5591
5592 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
5593 * gdb.btrace/instruction_history.exp: Update.
5594 * gdb.btrace/tsx.exp: New.
5595 * gdb.btrace/tsx.c: New.
5596
5597 2015-08-06 Pedro Alves <palves@redhat.com>
5598
5599 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
5600 increase timeout.
5601 * gdb.reverse/until-precsave.exp: Bump timeouts.
5602
5603 2015-08-06 Pedro Alves <palves@redhat.com>
5604
5605 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
5606
5607 2015-08-06 Pedro Alves <palves@redhat.com>
5608
5609 PR gdb/18749
5610 * gdb.threads/process-dies-while-handling-bp.c: New file.
5611 * gdb.threads/process-dies-while-handling-bp.exp: New file.
5612
5613 2015-08-06 Pedro Alves <palves@redhat.com>
5614
5615 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
5616 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
5617
5618 2015-08-05 Pedro Alves <palves@redhat.com>
5619
5620 * gdb.threads/next-while-other-thread-longjmps.c: New file.
5621 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
5622
5623 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
5624
5625 * gdb.base/bp-permanent.exp: Report test as unsupported if
5626 the target cannot stop at the permanent breakpoint.
5627
5628 2015-08-03 Doug Evans <dje@google.com>
5629
5630 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
5631 10000.
5632
5633 2015-08-03 Doug Evans <dje@google.com>
5634
5635 * Makefile.in (workers/%.worker, build-perf): New rule.
5636 (GDB_PERFTEST_MODE): New variable.
5637 (check-perf): Use it.
5638 (clean): Clean up gdb.perf parallel build subdirs.
5639 * lib/build-piece.exp: New file.
5640 * lib/gdb.exp (make_gdb_parallel_path): New function
5641 (standard_output_file, standard_temp_file): Call it.
5642 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5643 of $GDB_PARALLEL.
5644 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
5645
5646 2015-08-03 Doug Evans <dje@google.com>
5647
5648 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
5649 (LOG_FILE_NAME): New global.
5650 (TextReporter.__init__): Initialize self.txt_sum.
5651 (TextReporter.report): Add support for multiple data-points.
5652 Move report to perftest.sum, put raw data in perftest.log.
5653 (TextReporter.start): Open sum and log files.
5654 (TextReporter.end): Close sum and log files.
5655 * gdb.perf/lib/perftest/testresult.py
5656 (SingleStatisticTestResult.record): Handle multiple data-points.
5657
5658 2015-07-31 Pedro Alves <palves@redhat.com>
5659
5660 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
5661 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5662 kill_wait_spawned_process instead of explicit "kill -9".
5663 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
5664 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5665 kill_wait_spawned_process.
5666 * gdb.base/attach-twice.exp: Likewise.
5667 * gdb.base/attach.exp: Likewise.
5668 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
5669 gdb_test_multiple.
5670 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
5671 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5672 kill_wait_spawned_process.
5673 * gdb.base/valgrind-infcall.exp: Likewise.
5674 * gdb.multi/multi-attach.exp: Likewise.
5675 * gdb.python/py-prompt.exp: Likewise.
5676 * gdb.python/py-sync-interp.exp: Likewise.
5677 * gdb.server/ext-attach.exp: Likewise.
5678 * gdb.threads/attach-into-signal.exp (corefunc): Use
5679 spawn_wait_for_attach, spawn_id_get_pid and
5680 kill_wait_spawned_process.
5681 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
5682 spawn_wait_for_attach returning a spawn id instead of a pid. Use
5683 spawn_id_get_pid and kill_wait_spawned_process.
5684 * gdb.threads/attach-stopped.exp (corefunc): Use
5685 spawn_wait_for_attach, spawn_id_get_pid and
5686 kill_wait_spawned_process.
5687 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
5688 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5689 kill_wait_spawned_process instead of explicit "kill -9".
5690 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
5691 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
5692 (spawn_wait_for_attach): Use spawn instead of exec to spawn
5693 processes. Don't map cygwin/windows pids here. Now returns a
5694 spawn id list.
5695
5696 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5697
5698 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
5699 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
5700 correct patch.
5701
5702 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5703
5704 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
5705
5706 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5707
5708 Reapply:
5709 2014-05-21 Mark Wielaard <mjw@redhat.com>
5710
5711 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5712
5713 2015-07-30 Pedro Alves <palves@redhat.com>
5714
5715 * linux-low.c (handle_extended_wait): Set the child's last
5716 reported status to TARGET_WAITKIND_STOPPED.
5717
5718 2015-07-30 Pedro Alves <palves@redhat.com>
5719
5720 PR threads/18600
5721 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
5722 only shows inferior 1.
5723
5724 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
5725 Pedro Alves <palves@redhat.com>
5726
5727 PR threads/18600
5728 * gdb.threads/fork-plus-threads.c: New file.
5729 * gdb.threads/fork-plus-threads.exp: New file.
5730
5731 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5732
5733 * gdb.base/batch-preserve-term-settings.exp
5734 (test_terminal_settings_preserved_after_cli_exit): Use
5735 send_quit_command.
5736
5737 2015-07-29 Pedro Alves <palves@redhat.com>
5738 Don Breazeal <donb@codesourcery.com>
5739
5740 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
5741 output from both inferior_spawn_id and gdb_spawn_id.
5742
5743 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5744
5745 * gdb.threads/attach-into-signal.exp (corefunc): Use
5746 with_test_prefix on nested loops, uniquefying the test messages.
5747
5748 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5749
5750 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
5751 commit.
5752
5753 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5754
5755 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
5756 New proc.
5757 (test_terminal_settings_preserved_after_sigterm): New test.
5758
5759 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5760
5761 * gdb.base/batch-preserve-term-settings.exp
5762 (test_terminal_settings_preserved_after_cli_exit): New test.
5763
5764 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5765
5766 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
5767 manipulation of saved_gdbflags.
5768 (test_terminal_settings_preserved): Remove global declaration of
5769 the unused variable pagination_prompt. Remove manipulation of
5770 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
5771 GDBFLAGS.
5772
5773 2015-07-29 Pedro Alves <palves@redhat.com>
5774
5775 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
5776
5777 2015-07-29 Pedro Alves <palves@redhat.com>
5778
5779 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
5780 at the top.
5781
5782 2015-07-29 Pedro Alves <palves@redhat.com>
5783
5784 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
5785 (main): Call gdb_unbuffer_output.
5786 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
5787 (main): Call gdb_unbuffer_output.
5788 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
5789 (main): Call gdb_unbuffer_output.
5790 * gdb.base/call-strs.exp: Adjust to step over the
5791 gdb_unbuffer_output call.
5792 * gdb.base/catch-gdb-caused-signals.c: Include
5793 "../lib/unbuffer_output.c".
5794 (main): Call gdb_unbuffer_output.
5795 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
5796 (main): Call gdb_unbuffer_output.
5797 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
5798 (main): Call gdb_unbuffer_output.
5799 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
5800 (main): Call gdb_unbuffer_output.
5801 * gdb.base/shlib-call.exp: Adjust to step over the
5802 gdb_unbuffer_output call.
5803 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
5804 (main): Call gdb_unbuffer_output.
5805 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
5806 (main): Call gdb_unbuffer_output.
5807 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
5808 (main): Rename to ...
5809 (test): ... this.
5810 (main): Reimplement.
5811 * gdb.base/varargs.exp: Run to test instead of to main.
5812 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5813 (main): Call gdb_unbuffer_output.
5814
5815 2015-07-29 Pedro Alves <palves@redhat.com>
5816
5817 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
5818 factore out from mi_continue_dprintf. For call-style dprintfs,
5819 expect dprintf output out of $inferior_spawn_id.
5820 (mi_continue_dprintf): Use mi_expect_dprintf.
5821 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5822 (main): Call gdb_unbuffer_output.
5823
5824 2015-07-29 Pedro Alves <palves@redhat.com>
5825
5826 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
5827 (default_mi_gdb_start): Set inferior_spawn_id instead of
5828 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
5829 gdb_spawn_id.
5830 (mi_gdb_test): Always expect inferior output from both
5831 $inferior_spawn_id and $gdb_spawn_id.
5832
5833 2015-07-29 Pedro Alves <palves@redhat.com>
5834
5835 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
5836 send_inferior and $inferior_spawn_id.
5837
5838 2015-07-29 Pedro Alves <palves@redhat.com>
5839
5840 * gdb.gdb/complaints.exp (test_initial_complaints)
5841 (test_serial_complaints, test_short_complaints): Use
5842 gdb_test_stdio.
5843 (test_empty_complaint): Handle $inferior_spawn_id !=
5844 $gdb_spawn_id.
5845
5846 2015-07-29 Pedro Alves <palves@redhat.com>
5847
5848 * gdb.base/varargs.exp: Use gdb_test_stdio.
5849
5850 2015-07-29 Pedro Alves <palves@redhat.com>
5851
5852 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
5853
5854 2015-07-29 Pedro Alves <palves@redhat.com>
5855
5856 * gdb.base/ending-run.exp: Use gdb_test_stdio.
5857
5858 2015-07-29 Pedro Alves <palves@redhat.com>
5859
5860 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
5861 parameter into two new parameters, "inf_result" and "gdb_result".
5862 Expect inferior output and gdb output from $inferior_spawn_id and
5863 $gdb_spawn_id, respectively. Adjust all callers.
5864
5865 2015-07-29 Pedro Alves <palves@redhat.com>
5866
5867 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
5868 of gdb_test_sequence.
5869
5870 2015-07-29 Pedro Alves <palves@redhat.com>
5871
5872 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
5873 (saw_spurious_output): Expect inferior output from
5874 $inferior_spawn_id. Use gdb_test_stdio.
5875
5876 2015-07-29 Pedro Alves <palves@redhat.com>
5877
5878 * gdb.base/dprintf.exp: Use standard_testfile. Change
5879 prepare_for_testing call.
5880 (srcfile): Don't set.
5881 (restart): New procedure.
5882 (test_dprintf): New procecure, use to continue over dprintfs.
5883 (test_call, test_agent): New procedures, tests moved here.
5884 Restart gdb and recreate dprintfs. Adjust expected output.
5885
5886 2015-07-29 Pedro Alves <palves@redhat.com>
5887
5888 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
5889
5890 2015-07-29 Pedro Alves <palves@redhat.com>
5891
5892 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
5893
5894 2015-07-29 Pedro Alves <palves@redhat.com>
5895
5896 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
5897 gdb_test_stdio.
5898
5899 2015-07-29 Pedro Alves <palves@redhat.com>
5900
5901 * lib/gdb.exp (gdb_test_stdio): New procedure.
5902
5903 2015-07-29 Pedro Alves <palves@redhat.com>
5904
5905 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
5906
5907 2015-07-29 Pedro Alves <palves@redhat.com>
5908
5909 * gdb.base/call-signal-resume.exp: Remove check for
5910 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
5911 * gdb.base/unwindonsignal.exp: Likewise.
5912 * gdb.base/call-signals.c (gen_signal): Remove printf call.
5913 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
5914
5915 2015-07-29 Pedro Alves <palves@redhat.com>
5916
5917 * gdb.base/siginfo-addr.c (pass): New function.
5918 (handler): Call it iff si_addr is correct.
5919 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
5920 Set a breakpoint at "pass" and continue to it.
5921
5922 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
5923
5924 * gdb.python/py-objfile.exp: Make some tests have unique names.
5925 * gdb.python/py-pp-registration.exp: Likewise.
5926
5927 2015-07-28 Pedro Alves <palves@redhat.com>
5928
5929 * gdb.server/server-exec-info.exp: Issue a "disconnect".
5930
5931 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5932
5933 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
5934
5935 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
5936
5937 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
5938
5939 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
5940
5941 * gdb.base/gdb-sigterm-2.exp: New test.
5942
5943 2015-07-25 Doug Evans <xdje42@gmail.com>
5944
5945 Revert:
5946 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
5947 (workers/%.worker, build-perf): New rule.
5948 (GDB_PERFTEST_MODE): New variable.
5949 (check-perf): Use it.
5950 (clean): Clean up gdb.perf parallel build subdirs.
5951 * lib/build-piece.exp: New file.
5952 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
5953 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
5954 name.
5955 (standard_temp_file): Ditto.
5956 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5957 of $GDB_PARALLEL.
5958
5959 2015-07-24 Doug Evans <dje@google.com>
5960
5961 * gdb.perf/lib/perftest/utils.py: New file.
5962 * gdb.perf/gm-hello.cc: New file.
5963 * gdb.perf/gm-pervasive-typedef.cc: New file.
5964 * gdb.perf/gm-pervasive-typedef.h: New file.
5965 * gdb.perf/gm-std.cc: New file.
5966 * gdb.perf/gm-std.h: New file.
5967 * gdb.perf/gm-use-cerr.cc: New file.
5968 * gdb.perf/gm-utils.h: New file.
5969 * gdb.perf/gmonster-null-lookup.py: New file.
5970 * gdb.perf/gmonster-pervasive-typedef.py: New file.
5971 * gdb.perf/gmonster-print-cerr.py: New file.
5972 * gdb.perf/gmonster-ptype-string.py: New file.
5973 * gdb.perf/gmonster-runto-main.py: New file.
5974 * gdb.perf/gmonster-select-file.py: New file.
5975 * gdb.perf/gmonster1-null-lookup.exp: New file.
5976 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
5977 * gdb.perf/gmonster1-print-cerr.exp: New file.
5978 * gdb.perf/gmonster1-ptype-string.exp: New file.
5979 * gdb.perf/gmonster1-runto-main.exp: New file.
5980 * gdb.perf/gmonster1-select-file.exp: New file.
5981 * gdb.perf/gmonster1.cc: New file.
5982 * gdb.perf/gmonster1.exp: New file.
5983 * gdb.perf/gmonster2-null-lookup.exp: New file.
5984 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
5985 * gdb.perf/gmonster2-print-cerr.exp: New file.
5986 * gdb.perf/gmonster2-ptype-string.exp: New file.
5987 * gdb.perf/gmonster2-runto-main.exp: New file.
5988 * gdb.perf/gmonster2-select-file.exp: New file.
5989 * gdb.perf/gmonster2.cc: New file.
5990 * gdb.perf/gmonster2.exp: New file.
5991
5992 2015-07-24 Doug Evans <dje@google.com>
5993
5994 * gdb.perf/README: New file.
5995 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
5996 * lib/gen-perf-test.exp: New file.
5997
5998 2015-07-24 Doug Evans <dje@google.com>
5999
6000 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
6001 (PerfTest::startup): New function.
6002 (PerfTest::run): Return result of calling body.
6003 (PerfTest::assemble): Rewrite.
6004 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
6005 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
6006 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
6007 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
6008 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
6009
6010 2015-07-24 Doug Evans <dje@google.com>
6011
6012 * lib/gdb.exp (clean_restart): Make executable optional.
6013
6014 2015-07-24 Doug Evans <dje@google.com>
6015
6016 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
6017 compiler_info references.
6018 * gdb.cp/temargs.exp: Ditto.
6019 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
6020 (get_compiler_info): Early exit if already computed. Set compiler_info
6021 to "unknown" if there was a problem.
6022 (test_compiler_info): Add function comment. Call get_compiler_info.
6023
6024 2015-07-24 Doug Evans <dje@google.com>
6025
6026 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6027 (workers/%.worker, build-perf): New rule.
6028 (GDB_PERFTEST_MODE): New variable.
6029 (check-perf): Use it.
6030 (clean): Clean up gdb.perf parallel build subdirs.
6031 * lib/build-piece.exp: New file.
6032 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6033 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6034 name.
6035 (standard_temp_file): Ditto.
6036 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6037 of $GDB_PARALLEL.
6038
6039 2015-07-24 Doug Evans <dje@google.com>
6040
6041 * lib/future.exp (gdb_default_target_compile): New option
6042 "early_flags".
6043 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
6044 --as-needed.
6045
6046 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
6047
6048 * gdb.base/catch-syscall.exp: Call gdb_exit before
6049 gdb_skip_xml_test.
6050
6051 2015-07-24 Pedro Alves <palves@redhat.com>
6052
6053 * gdb.python/py-events.exp: Accept output between the stop event
6054 and the prompt.
6055 * gdb.python/py-evsignal.exp: Likewise.
6056 * gdb.python/py-evthreads.exp: Likewise.
6057
6058 2015-07-24 Pedro Alves <palves@redhat.com>
6059
6060 PR gdb/18717
6061 * gdb.threads/non-ldr-exit.c: New file.
6062 * gdb.threads/non-ldr-exit.exp: New file.
6063
6064 2015-07-24 Yao Qi <yao.qi@linaro.org>
6065
6066 * gdb.server/ext-wrapper.exp: Test --wrapper option when
6067 restarting process.
6068
6069 2015-07-24 Yao Qi <yao.qi@linaro.org>
6070
6071 * gdb.server/ext-restart.exp: New file.
6072
6073 2015-07-24 Yao Qi <yao.qi@linaro.org>
6074
6075 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
6076 argument options.
6077 * gdb.server/ext-wrapper.exp: New file.
6078
6079 2015-07-23 Doug Evans <dje@google.com>
6080
6081 * gdb.dwarf2/dw2-dummy-cu.S: New file.
6082 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
6083
6084 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
6085
6086 * gdb.ada/var_arr_typedef.exp: New testcase.
6087 * gdb.ada/var_arr_typedef/pack.adb: New file.
6088 * gdb.ada/var_arr_typedef/pack.ads: New file.
6089 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
6090
6091 2015-07-20 Joel Brobecker <brobecker@adacore.com>
6092
6093 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
6094
6095 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6096
6097 * gdb.arch/i386-biarch-core.exp: Replace istarget
6098 by "complete set gnutarget". Remove expectation for the "core-file"
6099 command.
6100
6101 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6102
6103 Revert the previous commit:
6104 Tests for validate symbol file using build-id.
6105
6106 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
6107
6108 Tests for validate symbol file using build-id.
6109 * gdb.base/solib-mismatch-lib.c: New file.
6110 * gdb.base/solib-mismatch-libmod.c: New file.
6111 * gdb.base/solib-mismatch.c: New file.
6112 * gdb.base/solib-mismatch.exp: New file.
6113
6114 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
6115
6116 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
6117 nios2-*-linux*.
6118 * gdb.base/sigbpt.exp (stepi_out): Likewise.
6119 * gdb.base/siginfo.exp: Likewise.
6120 * gdb.base/sigstep.exp (advance, advancei): Likewise.
6121
6122 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
6123
6124 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
6125 Move it to ...
6126 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
6127 ... here.
6128 * gdb.trace/range-stepping.exp: Check that the target supports
6129 range stepping.
6130
6131 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6132
6133 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
6134
6135 2015-07-14 Pedro Alves <palves@redhat.com>
6136
6137 * gdb.base/killed-outside.exp: New file.
6138 * gdb.base/killed-outside.c: New file.
6139
6140 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6141
6142 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
6143 (n at main): New.
6144 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
6145
6146 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6147
6148 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
6149 infcall tests instead of setting up for KFAIL.
6150
6151 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
6152
6153 * gdb.btrace/record_goto-step.exp: New.
6154
6155 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6156
6157 PR compile/18484
6158 * gdb.compile/compile.c (struct struct_type): Add volatile to
6159 selffield's type.
6160 * gdb.compile/compile.exp
6161 (compile code struct_object.selffield = &struct_object): Skip further
6162 struct_object tests if this one xfails.
6163
6164 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
6165
6166 PR exp/18617
6167 * gdb.trace/ax.exp: Add test.
6168
6169 2015-07-07 Yao Qi <yao.qi@linaro.org>
6170
6171 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
6172 instead of istarget "aarch64*-*-*".
6173 * gdb.arch/aarch64-fp.exp: Likewise.
6174 * gdb.base/float.exp: Likewise.
6175 * gdb.reverse/aarch64.exp: Likewise.
6176 * lib/gdb.exp (is_aarch64_target): New proc.
6177
6178 2015-07-07 Yao Qi <yao.qi@linaro.org>
6179
6180 * lib/gdb.exp (is_aarch32_target): New proc.
6181 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
6182 instead of "istarget "arm*-*-*"".
6183 * gdb.arch/arm-disp-step.exp: Likewise.
6184 * gdb.arch/thumb-bx-pc.exp: Likewise.
6185 * gdb.arch/thumb-prologue.exp: Likewise.
6186 * gdb.arch/thumb-singlestep.exp: Likewise.
6187 * gdb.base/disp-step-syscall.exp: Likewise.
6188 * gdb.base/float.exp: Likewise.
6189
6190 2015-07-07 Yao Qi <yao.qi@linaro.org>
6191
6192 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
6193 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
6194
6195 2015-07-07 Yao Qi <yao.qi@linaro.org>
6196
6197 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
6198 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
6199 if it exists.
6200 * gdb.multi/multi-arch.exp: Likewise.
6201
6202 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
6203
6204 * gdb.python/py-lazy-string.exp: Add missing parentheses to
6205 print.
6206
6207 2015-07-07 Yao Qi <yao.qi@linaro.org>
6208
6209 * gdb.arch/thumb-singlestep.exp: Do one more single step.
6210
6211 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
6212
6213 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
6214 '[' and ']' characters.
6215
6216 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
6217
6218 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6219
6220 2015-06-29 Pedro Alves <palves@redhat.com>
6221
6222 PR threads/18127
6223 * gdb.threads/hand-call-new-thread.c: New file.
6224 * gdb.threads/hand-call-new-thread.c: New file.
6225
6226 2015-06-26 Keith Seitz <keiths@redhat.com>
6227 Doug Evans <dje@google.com>
6228
6229 PR 16253
6230 * gdb.cp/var-tag-2.cc: New file.
6231 * gdb.cp/var-tag-3.cc: New file.
6232 * gdb.cp/var-tag-4.cc: New file.
6233 * gdb.cp/var-tag.cc: New file.
6234 * gdb.cp/var-tag.exp: New file.
6235
6236 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6237
6238 * gdb.base/history-duplicates.exp: New test.
6239
6240 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6241
6242 * gdb.base/completion.exp: Test the completion of the "focus"
6243 command.
6244
6245 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6246
6247 * gdb.arch/amd64-prologue-skip.S: New file.
6248 * gdb.arch/amd64-prologue-skip.exp: New file.
6249
6250 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
6251
6252 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
6253 is_address_zero_readable check.
6254
6255 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
6256
6257 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
6258 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
6259
6260 2015-06-24 Yao Qi <yao.qi@linaro.org>
6261
6262 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
6263 linux targets.
6264
6265 2015-06-24 Yao Qi <yao.qi@linaro.org>
6266
6267 * lib/gdb.exp (supports_get_siginfo_type): New proc.
6268 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
6269 * gdb.base/siginfo-thread.exp: Likewise.
6270
6271 2015-06-22 Yao Qi <yao.qi@linaro.org>
6272
6273 * boards/remote-gdbserver-on-localhost.exp: Add comments.
6274
6275 2015-06-22 Yao Qi <yao.qi@linaro.org>
6276
6277 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
6278 aarch64*-*-*.
6279 (skip_hw_watchpoint_tests): Likewise.
6280
6281 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
6282
6283 * gdb.base/gdbinit-history.exp: Test the interaction between
6284 setting GDBHISTSIZE and setting the history size via .gdbinit.
6285
6286 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6287
6288 PR gdb/16999
6289 * gdb.base/gdbhistsize-history.exp: New test.
6290
6291 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6292
6293 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
6294 with GDBHISTSIZE.
6295 * gdb.base/readline.exp: Likewise.
6296
6297 2015-06-17 Yao Qi <yao.qi@linaro.org>
6298
6299 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
6300 line.
6301
6302 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6303
6304 * gdb.base/gdbinit-history.exp: Add test case to check that
6305 an unlimited history file does not get truncated on exit.
6306
6307 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6308
6309 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
6310 (VECTOR): New macro. Use it...
6311 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6312 ...for these typedefs.
6313 (int8, char1, int1, double1): New typedefs.
6314 (struct just_int2, struct two_int2): New structures.
6315 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
6316 (add_structvecs, add_singlevecs): New functions.
6317 (main): Call add_some_intvecs twice.
6318 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
6319 the compile and exit upon failure. Try compiling for the "native"
6320 architecture. Test inferior function calls with vector arguments
6321 and vector return value handling with "finish" and "return".
6322
6323 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
6324
6325 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
6326 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
6327 PE file.
6328 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
6329
6330 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6331
6332 PR breakpoints/16465
6333 * gdb.mi/mi-dprintf-pending.c: New file.
6334 * gdb.mi/mi-dprintf-pending.exp: New test.
6335 * gdb.mi/mi-dprintf-pendshr.c: New file.
6336
6337 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6338 Mircea Gherzan <mircea.gherzan@intel.com>
6339
6340 * gdb.arch/i386-mpx-map.c: New file.
6341 * gdb.arch/i386-mpx-map.exp: New File.
6342
6343 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6344
6345 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
6346 * gdb.arch/i386-mpx.exp: Indentation fixed.
6347
6348 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6349
6350 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
6351 function and improved indentation.
6352 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
6353 gdb_test_multiple. Added additional tests to skip the test.
6354
6355 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6356
6357 * gdb.arch/i386-avx512.c: Change path in include file.
6358 * gdb.arch/i386-avx512.exp: Change include dir path
6359 compilation flag.
6360 * gdb.arch/i386-mpx.c: Change path in include file.
6361 * gdb.arch/i386-mpx.exp: Change include dir path compilation
6362 flag.
6363
6364 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6365
6366 * gdb.compile/compile-print.exp (compile print *vararray@3)
6367 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
6368
6369 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6370
6371 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
6372 (do not keep jit in memory): ... this.
6373 (expect 5): Change it to ...
6374 (expect no 5): ... this.
6375
6376 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
6377
6378 PR gdb/15564
6379 * gdb.mi/mi-detach.exp: New file.
6380
6381 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6382
6383 PR symtab/18392
6384 * gdb.arch/amd64-tailcall-self.S: New file.
6385 * gdb.arch/amd64-tailcall-self.c: New file.
6386 * gdb.arch/amd64-tailcall-self.exp: New file.
6387
6388 2015-05-28 Don Breazeal <donb@codesourcery.com>
6389
6390 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6391 tests for remote targets by checking is_target_gdbserver.
6392
6393 2015-05-27 Doug Evans <dje@google.com>
6394
6395 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6396 * gdb.dwarf2/opaque-type-lookup.c: New file.
6397 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6398
6399 2015-05-26 Doug Evans <dje@google.com>
6400
6401 * gdb.cp/iostream.cc: New file.
6402 * gdb.cp/iostream.exp: New file.
6403
6404 2015-05-26 Doug Evans <dje@google.com>
6405
6406 * gdb.dwarf2/dw2-op-call.exp: Update.
6407 * gdb.dwarf2/dw4-sig-types.exp: Update.
6408 * gdb.dwarf2/implptr.exp: Update.
6409 * gdb.mi/mi-cmd-param-changed.exp: Update.
6410
6411 2015-05-26 Doug Evans <dje@google.com>
6412
6413 * gdb.python/py-lazy-string.c: New file.
6414 * gdb.python/py-lazy-string.exp: New file.
6415 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6416 (main): Update. Add estring3.
6417 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6418 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6419
6420 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6421 Yao Qi <yao.qi@linaro.org>
6422
6423 * gdb.reverse/aarch64.c: New.
6424 * gdb.reverse/aarch64.exp: New.
6425
6426 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6427
6428 * lib/gdb.exp (supports_process_record): Return true for
6429 aarch64*-linux*.
6430 (supports_reverse): Likewise.
6431
6432 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6433
6434 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6435 Use with_test_prefix.
6436
6437 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6438
6439 * gdb.base/completion.exp: Add test for completion of layout
6440 names.
6441
6442 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6443
6444 * lib/gdb.exp (skip_tui_tests): New proc.
6445 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6446
6447 2015-05-19 Pedro Alves <palves@redhat.com>
6448
6449 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6450 Save the whole env array instead of just HOME. Unset HISTSIZE in
6451 the environment while testing. Restore whole environment
6452 afterwards.
6453
6454 2015-05-16 Doug Evans <xdje42@gmail.com>
6455
6456 * gdb.guile/scm-ports.c: New file.
6457 * gdb.guile/scm-ports.exp: Add memory port tests.
6458
6459 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6460
6461 * gdb.compile/compile-print.c: New file.
6462 * gdb.compile/compile-print.exp: New file.
6463
6464 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6465
6466 * gdb.compile/compile-ops.exp: Cast param to void.
6467 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6468 (compile code struct_object.selffield = &struct_object): Add xfail.
6469
6470 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6471
6472 * gdb.ada/arr_enum_with_gap: New testcase.
6473
6474 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6475
6476 * gdb.ada/byte_packed_arr: New testcase.
6477
6478 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6479
6480 * gdb.ada/pckd_neg: New testcase.
6481
6482 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
6483
6484 PR gdb/17820
6485 * gdb.base/gdbinit-history.exp: New test.
6486 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
6487 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
6488
6489 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
6490
6491 * gdb.python/py-xmethods.cc: Enhance test case.
6492 * gdb.python/py-xmethods.exp: New tests.
6493 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
6494 function.
6495 (B_indexoper): Likewise.
6496 (global_dm_list) : Add new xmethod worker functions.
6497
6498 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
6499
6500 * gdb.base/coredump-filter.exp: Correctly unset
6501 "coredump_var_addr" array.
6502
6503 2015-05-08 Pedro Alves <palves@redhat.com>
6504
6505 * gdb.server/non-existing-program.exp: Unset spawn_id.
6506
6507 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
6508
6509 PR python/18291
6510 * gdb.python/py-xmethods.exp: Add tests.
6511
6512 2015-05-08 Yao Qi <yao.qi@linaro.org>
6513
6514 PR gdb/18208
6515 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
6516 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
6517 function set_coredump_filter, and remove remote_exec call.
6518 Remove argument ipid. Callers update.
6519 (top level): Don't get inferior's PID.
6520
6521 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
6522
6523 * gdb.base/watch_thread_num.exp: Skip test on targets without
6524 access watchpoints.
6525
6526 2015-05-06 Pedro Alves <palves@redhat.com>
6527
6528 PR server/18081
6529 * gdb.server/non-existing-program.exp: New file.
6530
6531 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6532
6533 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
6534
6535 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6536
6537 * gdb.ada/out_of_line_in_inlined: New testcase.
6538
6539 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6540
6541 * gdb.ada/var_rec_arr: New testcase.
6542
6543 2015-04-30 Yao Qi <yao.qi@linaro.org>
6544
6545 * gdb.base/break-idempotent.exp: If
6546 skip_hw_watchpoint_multi_tests returns true, skip the tests
6547 on "rwatch" and "awatch".
6548
6549 2015-04-30 Yao Qi <yao.qi@linaro.org>
6550
6551 * gdb.base/relativedebug.exp: Invoke gdb command
6552 "info sharedlibrary", and if libc.so doesn't have debug info,
6553 skip the test.
6554
6555 2015-04-29 Doug Evans <dje@google.com>
6556
6557 * gdb.python/py-xmethods.exp: Add ptype tests.
6558 * gdb.python/py-xmethods.py (E_method_char_worker): Add
6559 get_result_type method.
6560
6561 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6562
6563 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
6564 the target does not support hardware watchpoints.
6565
6566 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6567
6568 * gdb.base/break-always.exp: Abort testing if writing to memory
6569 causes an error.
6570
6571 2015-04-28 Doug Evans <dje@google.com>
6572
6573 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
6574 * gdb.python/py-pp-registration.exp: ... here. New file.
6575 * gdb.python/py-pp-registration.c: New file.
6576 * gdb.python/py-pp-registration.py: New file.
6577
6578 2015-04-28 Doug Evans <dje@google.com>
6579
6580 * gdb.python/py-bad-printers.c: New file.
6581 * gdb.python/py-bad-printers.py: New file.
6582 * gdb.python/py-bad-printers.exp: New file.
6583
6584 2015-04-28 Sasha Smundak <asmundak@google.com>
6585
6586 * gdb.python/py-type.exp: New test.
6587
6588 2015-04-28 Andy Wingo <wingo@igalia.com>
6589
6590 * gdb.python/py-parameter.exp:
6591 * gdb.guile/scm-parameter.exp: Escape the path that we are
6592 matching against, as it might contain characters that are special
6593 to regular expressions.
6594
6595 2015-04-27 Joel Brobecker <brobecker@adacore.com>
6596
6597 * gdb.ada/rec_comp: New testcase.
6598
6599 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
6600
6601 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
6602 before using it.
6603
6604 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
6605
6606 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
6607 new tests for verilog output.
6608
6609 2015-04-24 Yao Qi <yao.qi@linaro.org>
6610
6611 * boards/remote-gdbserver-on-localhost.exp: New file.
6612
6613 2015-04-23 Pedro Alves <palves@redhat.com>
6614
6615 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
6616 $inferior_spawn_id instead of $inferior_spawn_id directly. On
6617 "end of file", remove $inferior_spawn_id from the indirect list.
6618
6619 2015-04-23 Pedro Alves <palves@redhat.com>
6620
6621 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
6622
6623 2015-04-23 Pedro Alves <palves@redhat.com>
6624
6625 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
6626 on $any_spawn_id instead of only on $gdb_spawn_id.
6627
6628 2015-04-21 Pierre Muller <muller@sourceware.org>
6629
6630 PR pascal/17815
6631 * lib/pascal.exp (gpc_compile): Add new option "class".
6632 (fpc_compile): Likewise.
6633 * gdb.pascal/case-insensitive-symbols.pas: New file.
6634 * gdb.pascal/case-insensitive-symbols.exp: New file.
6635
6636 2015-04-20 Gary Benson <gbenson@redhat.com>
6637
6638 * gdb.base/attach.exp: Fix three extended remote failures.
6639
6640 2015-04-17 Gary Benson <gbenson@redhat.com>
6641
6642 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
6643 the main executable over the remote protocol.
6644
6645 2015-04-16 Pedro Alves <palves@redhat.com>
6646
6647 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
6648 a new gdbserver if gdbserver_reconnect_p is set.
6649
6650 2015-04-16 Pedro Alves <palves@redhat.com>
6651
6652 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
6653 is set, don't exit gdbserver.
6654
6655 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6656
6657 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
6658 appropriate .insn, such that an older assembler can be used.
6659 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
6660 the z/Architecture instruction set on 31-bit targets as well.
6661
6662 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6663
6664 * gdb.go/handcall.exp: Remove all logic related to the first
6665 breakpoint and rely on go_runto_main instead.
6666 * gdb.go/strings.exp: Likewise.
6667 * gdb.go/unsafe.exp: Likewise.
6668 * gdb.go/hello.exp: Likewise. Also rename the remaining
6669 breakpoint marker to "breakpoint 1".
6670 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
6671 * gdb.go/strings.go: Likewise.
6672 * gdb.go/unsafe.go: Likewise.
6673 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
6674 "set breakpoint 2 here" and rename the remaining breakpoint marker
6675 to "breakpoint 1".
6676
6677 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
6678
6679 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
6680 if itertools.imap is not present.
6681 * gdb.python/py-objfile.exp: Add parentheses.
6682 * gdb.python/py-type.exp: Same.
6683 * gdb.python/py-unwind-maint.py: Same.
6684
6685 2015-04-15 Yao Qi <yao.qi@linaro.org>
6686
6687 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
6688 of ":$ptr_size" and set its form explicitly.
6689
6690 2015-04-15 Pedro Alves <palves@redhat.com>
6691 Yao Qi <yao.qi@linaro.org>
6692
6693 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
6694 timeout by factor of 4.
6695 (test_regular_watch): Likewise.
6696 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
6697 * gdb.reverse/sigall-reverse.exp: Likewise.
6698 * gdb.reverse/until-precsave.exp: Likewise.
6699 * lib/gdb.exp (with_timeout_factor): New proc.
6700 (gdb_expect): Move some code to ...
6701 (get_largest_timeout): ... here. New procedure.
6702
6703 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
6704
6705 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
6706
6707 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6708
6709 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
6710 to write to the .text section.
6711
6712 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
6713
6714 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
6715 Handle the case of targets that do not provide PID information.
6716
6717 2015-04-13 Yao Qi <yao.qi@linaro.org>
6718
6719 * lib/gdbserver-support.exp (gdb_exit): Catch exception
6720 and use expect instead of gdb_expect.
6721
6722 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
6723
6724 * gdb.base/coredump-filter.exp: Rename variable "addr" to
6725 "coredump_var_addr" to avoid naming conflict with other testcases.
6726
6727 2015-04-10 Pedro Alves <palves@redhat.com>
6728
6729 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
6730 gdb_test_sequence and gdb_assert.
6731
6732 2015-04-10 Pedro Alves <palves@redhat.com>
6733
6734 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
6735 test messages that don't include the breakpoint address.
6736
6737 2015-04-10 Yao Qi <yao.qi@linaro.org>
6738
6739 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
6740 false for some offset and width combinations which aren't
6741 supported by linux kernel.
6742
6743 2015-04-10 Pedro Alves <palves@redhat.com>
6744
6745 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
6746 procedure, factored out from ...
6747 (top level): ... here. Add "set displaced-stepping" testing axis.
6748 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
6749 parameter "displaced". Use it.
6750 (top level): Use foreach and add "set displaced-stepping" testing
6751 axis.
6752
6753 2015-04-10 Pedro Alves <palves@redhat.com>
6754
6755 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
6756 Remove comment.
6757 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
6758 both the address of the instruction that triggers the watchpoint
6759 and the address of the instruction immediately after, and use
6760 those addresses for the test. Fix comment.
6761
6762 2015-04-10 Pedro Alves <palves@redhat.com>
6763
6764 * gdb.base/sigstep.exp (breakpoint_to_handler)
6765 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
6766 Test "backtrace" in handler.
6767 (breakpoint_over_handler): New parameter 'displaced'. Use it.
6768 (top level): Add new "displaced" test axis to
6769 breakpoint_to_handler, breakpoint_to_handler_entry and
6770 breakpoint_over_handler.
6771
6772 2015-04-10 Pedro Alves <palves@redhat.com>
6773
6774 PR gdb/18216
6775 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
6776
6777 2015-04-10 Yao Qi <yao.qi@linaro.org>
6778
6779 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
6780 (test_add_rn_pc): New function.
6781 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
6782 (top level): Invoke test_add_rn_pc.
6783
6784 2015-04-10 Pedro Alves <palves@redhat.com>
6785
6786 PR gdb/13858
6787 * gdb.base/step-over-no-symbols.exp: New file.
6788
6789 2015-04-09 Andy Wingo <wingo@igalia.com>
6790
6791 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
6792 after the Python tests.
6793
6794 2015-04-08 Keith Seitz <keiths@redhat.com>
6795
6796 PR python/16699
6797 * gdb.python/py-completion.exp: New tests for completion.
6798 * gdb.python/py-completion.py (CompleteLimit1): New class.
6799 (CompleteLimit2): Likewise.
6800 (CompleteLimit3): Likewise.
6801 (CompleteLimit4): Likewise.
6802 (CompleteLimit5): Likewise.
6803 (CompleteLimit6): Likewise.
6804 (CompleteLimit7): Likewise.
6805
6806 2015-04-08 Pedro Alves <palves@redhat.com>
6807
6808 PR gdb/18214
6809 PR gdb/18216
6810 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
6811 function.
6812 (main): Install it as SIGUSR1 handler.
6813 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
6814 parameter. Always use "setup" as prefix. Toggle "set
6815 displaced-stepping" off/on depending on global. Don't switch to
6816 thread 1 here.
6817 (top level): Add displaced stepping "off/on" test axis. Update
6818 "setup" calls. Wrap each subtest with with_test_prefix. Test
6819 continuing with a queued signal in each thread.
6820
6821 2015-04-08 Pedro Alves <palves@redhat.com>
6822
6823 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
6824 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
6825 gdb_breakpoint instead of gdb_test that doesn't expect anything.
6826 Return early if running to main fails.
6827 * gdb.trace/while-stepping.exp: Likewise.
6828
6829 2015-04-07 Pedro Alves <palves@redhat.com>
6830
6831 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
6832 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
6833 interact with inferior program.
6834
6835 2015-04-07 Pedro Alves <palves@redhat.com>
6836
6837 * lib/gdb.exp (inferior_spawn_id): New global.
6838 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
6839 spawn id after processing the user code.
6840 (default_gdb_start): Set inferior_spawn_id.
6841 (send_inferior): New procedure.
6842 * lib/gdbserver-support.exp (gdbserver_start): Set
6843 inferior_spawn_id.
6844 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
6845
6846 2015-04-07 Pedro Alves <palves@redhat.com>
6847
6848 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
6849 * lib/gdbserver-support.exp (gdbserver_start): Make
6850 $server_spawn_id global.
6851 (gdbserver_start): Don't wait for gdbserver's spawn id with
6852 expect_background.
6853 (close_gdbserver): New procedure.
6854 (gdb_exit): Rename the default version and reimplement.
6855
6856 2015-04-07 Pedro Alves <palves@redhat.com>
6857
6858 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
6859 append the substituted item, not the original item.
6860
6861 2015-04-07 Pedro Alves <palves@redhat.com>
6862
6863 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
6864 gdb_expect.
6865
6866 2015-04-07 Pedro Alves <palves@redhat.com>
6867
6868 * gdb.base/interrupt.exp: Don't handle the case of the inferior
6869 output appearing once only.
6870
6871 2015-04-07 Pedro Alves <palves@redhat.com>
6872
6873 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
6874 that doesn't expect anything. Return early if running to main
6875 fails.
6876
6877 2015-04-07 Yao Qi <yao.qi@linaro.org>
6878
6879 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
6880 (child_function): Call alarm.
6881 (main): Move call to alarm into the loop.
6882 * gdb.threads/non-stop-fair-events.exp: Build program with
6883 -DTIMEOUT=$timeout.
6884
6885 2015-04-06 Doug Evans <xdje42@gmail.com>
6886
6887 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
6888 Fix dest parameter to board_info.
6889 (fpc_compile): Ditto.
6890 (gdb_compile_pascal): Rename dest arg to destfile.
6891
6892 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
6893
6894 * gdb.ada/funcall_ref.exp: New file.
6895 * gdb.ada/funcall_ref/foo.adb: New file.
6896
6897 2015-04-02 Yao Qi <yao.qi@linaro.org>
6898
6899 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
6900 is remote.
6901
6902 2015-04-02 Gary Benson <gbenson@redhat.com>
6903
6904 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
6905
6906 2015-04-01 Sasha Smundak <asmundak@google.com>
6907
6908 * gdb.python/py-unwind-maint.c: New file.
6909 * gdb.python/py-unwind-maint.exp: New test.
6910 * gdb.python/py-unwind-maint.py: New file.
6911 * gdb.python/py-unwind.c: New file.
6912 * gdb.python/py-unwind.exp: New test.
6913 * gdb.python/py-unwind.py: New test.
6914
6915 2015-04-01 Pedro Alves <palves@redhat.com>
6916
6917 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
6918 to fail instead of non-existent $test.
6919
6920 2015-04-01 Pedro Alves <palves@redhat.com>
6921
6922 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
6923 GDBFLAGS if not empty.
6924
6925 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
6926
6927 * gdb.ada/complete.exp: Remove "multi_line".
6928 * gdb.ada/info_exc.exp: Remove "multi_line".
6929 * gdb.ada/packed_tagged.exp: Remove "multi_line".
6930 * gdb.ada/ptype_field.exp: Remove "multi_line".
6931 * gdb.ada/sym_print_name.exp: Remove "multi_line".
6932 * gdb.ada/tagged.exp: Remove "multi_line".
6933 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
6934 [multi_line ...]
6935 * gdb.btrace/delta.exp: Likewise.
6936 * gdb.btrace/exception.exp: Likewise.
6937 * gdb.btrace/function_call_history.exp: Likewise.
6938 * gdb.btrace/instruction_history.exp: Likewise.
6939 * gdb.btrace/nohist.exp: Likewise.
6940 * gdb.btrace/record_goto.exp: Likewise.
6941 * gdb.btrace/segv.exp: Likewise.
6942 * gdb.btrace/stepi.exp: Likewise.
6943 * gdb.btrace/tailcall.exp: Likewise.
6944 * gdb.btrace/unknown_functions.exp: Likewise.
6945 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
6946 * lib/gdb.exp: Add the "multi_line" helper.
6947
6948 2015-04-01 Pedro Alves <palves@redhat.com>
6949
6950 * gdb.threads/tid-reuse.c: New file.
6951 * gdb.threads/tid-reuse.exp: New file.
6952
6953 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
6954
6955 PR corefiles/16092
6956 * gdb.base/coredump-filter.c: New file.
6957 * gdb.base/coredump-filter.exp: Likewise.
6958
6959 2015-03-27 Petr Machata <pmachata@redhat.com>
6960
6961 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
6962 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
6963 (Dwarf::assemble): Initialize them.
6964 (Dwarf::lines): New function.
6965
6966 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
6967
6968 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
6969 SYMBOL_PREFIX for x86_64-*-cygwin.
6970
6971 2015-03-26 Andy Wingo <wingo@igalia.com>
6972
6973 PR symtab/18148
6974 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
6975 const_value but not a location.
6976 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
6977 location defined in non-main CUs are visible.
6978
6979 2015-03-26 Yao Qi <yao.qi@linaro.org>
6980
6981 PR testsuite/18139
6982 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
6983 Add a line number entry for the same line.
6984 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
6985 Add a line number entry for the same line.
6986
6987 2015-03-26 Yao Qi <yao.qi@linaro.org>
6988
6989 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
6990 .int 0.
6991 (func): Likewise. Add .Lfunc_1 label.
6992 Use .Lfunc_1 label.
6993 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
6994 .int 0.
6995 (func): Likewise.
6996 Use .Lfunc_1 label.
6997
6998 2015-03-26 Yao Qi <yao.qi@linaro.org>
6999
7000 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
7001 Call gdb_compile instead to compile each .s files without debug
7002 information.
7003
7004 2015-03-26 Yao Qi <yao.qi@linaro.org>
7005
7006 * gdb.base/savedregs.exp (process_saved_regs): Make
7007 "Saved registers:" optional in the pattern.
7008
7009 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7010
7011 * gdb.btrace/next.exp: Merged into step.exp.
7012 * gdb.btrace/finish.exp: Merged into step.exp.
7013 * gdb.btrace/nexti.exp: Merged into stepi.exp.
7014 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
7015 "record goto" and checking the exact replay position.
7016 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
7017 check for "Recording format" in "info record" output.
7018 * gdb.btrace/record_goto.exp: Choose test file based on target.
7019 * gdb.btrace/x86-record_goto.S: Renamed into ...
7020 * gdb.btrace/x86_64-record_goto.S: ... this.
7021 * gdb.btrace/i686-record_goto.S: New.
7022 * gdb.btrace/x86-tailcall.S: Renamed into ...
7023 * gdb.btrace/x86_64-tailcall.S: ... this.
7024 * gdb.btrace/i686-tailcall.S: New.
7025 * gdb.btrace/x86-tailcall.c: Renamed into ...
7026 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
7027 separate statements. Update test.
7028 * gdb.btrace/delta.exp: Use record_goto.c as test file.
7029 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
7030 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
7031 * gdb.btrace/tailcall.exp: Choose test file based on target.
7032 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
7033
7034 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7035
7036 * gdb.btrace/exception.exp: Increase BTS buffer size.
7037
7038 2015-03-24 Pedro Alves <palves@redhat.com>
7039
7040 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
7041
7042 2015-03-24 Pedro Alves <palves@redhat.com>
7043
7044 * gdb.threads/schedlock.exp (test_step): No longer expect that
7045 "set scheduler-locking step" with "next" over a function call runs
7046 threads unlocked.
7047
7048 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7049
7050 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
7051
7052 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7053
7054 PR breakpoints/16466
7055 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
7056 * gdb.mi/mi-pending.c (thread_func): New function.
7057 (int main): Add threading support required.
7058 * gdb.mi/mi-pending.exp: Add tests for this issue.
7059 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
7060 (pendfunc2): Remove stdio dependency.
7061 * gdb.mi/mi-pendshr2.c: New file.
7062
7063 2015-03-23 Keith Seitz <keiths@redhat.com>
7064
7065 * gdb.linespec/keywords.c: New file.
7066 * gdb.linespec/keywords.exp: New file.
7067
7068 2015-03-23 Keith Seitz <keiths@redhat.com>
7069
7070 PR gdb/18021
7071 * gdb.dwarf2/staticvirtual.exp: New test.
7072
7073 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7074
7075 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
7076 * README: Remove HP-UX and gdb.hp.
7077 (configuration):
7078 * configure: Regenerate.
7079 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
7080 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
7081 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
7082 gdb.hp/gdb.defects/Makefile.
7083 * gdb.hp/Makefile.in: File deleted.
7084 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
7085 * gdb.hp/gdb.aCC/optimize.c: File deleted.
7086 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
7087 * gdb.hp/gdb.aCC/run.c: File deleted.
7088 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
7089 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
7090 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
7091 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
7092 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
7093 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
7094 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
7095 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
7096 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
7097 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
7098 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
7099 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
7100 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
7101 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
7102 * gdb.hp/gdb.base-hp/reg.s: File deleted.
7103 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
7104 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
7105 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
7106 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
7107 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
7108 * gdb.hp/gdb.compat/Makefile.in: File deleted.
7109 * gdb.hp/gdb.compat/average.c: File deleted.
7110 * gdb.hp/gdb.compat/sum.c: File deleted.
7111 * gdb.hp/gdb.compat/xdb.c: File deleted.
7112 * gdb.hp/gdb.compat/xdb0.c: File deleted.
7113 * gdb.hp/gdb.compat/xdb0.h: File deleted.
7114 * gdb.hp/gdb.compat/xdb1.c: File deleted.
7115 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
7116 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
7117 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
7118 * gdb.hp/gdb.defects/Makefile.in: File deleted.
7119 * gdb.hp/gdb.defects/bs14602.c: File deleted.
7120 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
7121 * gdb.hp/gdb.defects/solib-d.c: File deleted.
7122 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
7123 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
7124 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
7125 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
7126 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
7127 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
7128 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
7129 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
7130 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
7131 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
7132 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
7133 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
7134 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
7135 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
7136 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
7137 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
7138 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
7139 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
7140 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
7141 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
7142 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
7143 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
7144 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
7145 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
7146 * gdb.hp/tools/odump: File deleted.
7147
7148 2015-03-19 Pedro Alves <palves@redhat.com>
7149
7150 * gdb.threads/continue-pending-status.exp (saw_thread_2)
7151 (saw_thread_3): New globals.
7152 (top level): Increment them when an event for the corresponding
7153 thread is seen.
7154 (no thread starvation): New test.
7155
7156 2015-03-19 Pedro Alves <palves@redhat.com>
7157
7158 * gdb.threads/continue-pending-status.c: New file.
7159 * gdb.threads/continue-pending-status.exp: New file.
7160
7161 2015-03-18 Pedro Alves <palves@redhat.com>
7162
7163 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7164 Use gdb_is_target_remote instead of is_remote. Use
7165 gdb_test_multiple instead of gdb_expect. Exit early if
7166 gdb_test_multiple hits its internal matches. Tighten stepi tests
7167 expected output. Fail on exit with any signal, instead of just
7168 SIGILL.
7169
7170 2015-03-18 Yao Qi <yao.qi@linaro.org>
7171
7172 PR tdep/18107
7173 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
7174 variable.
7175 * gdb.base/catch-syscall.exp: Don't skip it on
7176 aarch64*-*-linux* target. Remove elements in all_syscalls.
7177 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
7178 target.
7179 (setup_all_syscalls): New proc.
7180
7181 2015-03-16 Yao Qi <yao.qi@linaro.org>
7182
7183 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
7184 (top level): Skip tests if valid_addr_p returns false for
7185 $cmd1 or $cmd2.
7186
7187 2015-03-11 Andy Wingo <wingo@igalia.com>
7188
7189 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
7190
7191 2015-03-11 Yao Qi <yao.qi@linaro.org>
7192
7193 * gdb.base/catch-syscall.exp: Fix typo in comments.
7194
7195 2015-03-11 Yao Qi <yao.qi@linaro.org>
7196
7197 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
7198
7199 2015-03-09 Pedro Alves <palves@redhat.com>
7200
7201 * dg-extract-results.py: Delete.
7202
7203 2015-03-09 Pedro Alves <palves@redhat.com>
7204
7205 Merge dg-extract-results.sh from GCC upstream (r218843).
7206
7207 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
7208 * dg-extract-results.sh: Use --text with grep to avoid issues with
7209 binary files. Fall back to cat -v, if that doesn't work.
7210
7211 2015-03-05 Pedro Alves <palves@redhat.com>
7212
7213 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
7214
7215 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
7216
7217 * lib/mi-support.exp (mi_expect_interrupt): Accept
7218 alternative event for when in all-stop mode.
7219
7220 2015-03-04 Pedro Alves <palves@redhat.com>
7221
7222 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
7223
7224 2015-03-04 Mark Kettenis <kettenis@gnu.org>
7225
7226 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
7227
7228 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7229
7230 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
7231 regexps for GDB's current line display, accept a hex address
7232 preceding the line number.
7233
7234 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7235
7236 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
7237 the 'arch1' variable for "s390*-linux*" targets.
7238
7239 2015-03-04 Pedro Alves <palves@redhat.com>
7240
7241 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
7242 (main): Pass missing retval argument to pthread_join call.
7243
7244 2015-03-02 Pedro Alves <palves@redhat.com>
7245
7246 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
7247 (top level): Call do_test with non-stop as well.
7248
7249 2015-03-02 Pedro Alves <palves@redhat.com>
7250
7251 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
7252 -1.
7253
7254 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7255
7256 * gdb.arch/s390-vregs.exp: New test.
7257 * gdb.arch/s390-vregs.S: New file.
7258
7259 2015-02-27 Pedro Alves <palves@redhat.com>
7260
7261 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
7262 call to catch_command_errors.
7263 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
7264 catch_command_errors.
7265
7266 2015-02-27 Pedro Alves <palves@redhat.com>
7267
7268 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
7269 "true" for boolean result.
7270 * gdb.gdb/selftest.exp (test_with_self): Also accept full
7271 prototype of main.
7272
7273 2015-02-27 Pedro Alves <palves@redhat.com>
7274
7275 * lib/unbuffer_output.c: New file.
7276 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
7277 (main): Call gdb_unbuffer_output.
7278
7279 2015-02-27 Yao Qi <yao.qi@linaro.org>
7280
7281 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
7282 target.
7283
7284 2015-02-26 Doug Evans <dje@google.com>
7285
7286 * gdb.cp/class2.cc (Dbase, D): New classes.
7287 (main): New local delta.
7288 * gdb.cp/class2.exp: Test printing delta.
7289 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
7290 (dynbar): New global.
7291 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
7292
7293 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7294
7295 * gdb.compile/compile-ifunc.c: New file.
7296 * gdb.compile/compile-ifunc.exp: New file.
7297
7298 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
7299
7300 * gdb.base/structs.exp: Check for correct struct on finish.
7301
7302 2015-02-26 Yao Qi <yao.qi@linaro.org>
7303
7304 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
7305 is zero.
7306
7307 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7308
7309 * gdb.arch/cordic.ko.bz2: New file.
7310 * gdb.arch/cordic.ko.debug.bz2: New file.
7311 * gdb.arch/ppc64-symtab-cordic.exp: New file.
7312
7313 2015-02-25 Yao Qi <yao.qi@linaro.org>
7314
7315 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
7316 aarch64*-*-* target.
7317
7318 2015-02-23 Pedro Alves <palves@redhat.com>
7319
7320 * lib/gdb.exp (delete_breakpoints): Rewrite using
7321 gdb_test_multiple.
7322
7323 2015-02-23 Pedro Alves <palves@redhat.com>
7324
7325 * gdb.base/info-os.c: Include stdlib.h.
7326
7327 2015-02-22 Doug Evans <xdje42@gmail.com>
7328
7329 PR symtab/17855
7330 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
7331 is read after symbols have been re-read.
7332 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
7333 * gdb.ada/exec_changed/second.adb (Second): Ditto.
7334
7335 2015-02-21 Doug Evans <dje@google.com>
7336
7337 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
7338
7339 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7340
7341 PR corefiles/17808
7342 * gdb.arch/i386-biarch-core.core.bz2: New file.
7343 * gdb.arch/i386-biarch-core.exp: New file.
7344
7345 2015-02-21 Pedro Alves <palves@redhat.com>
7346
7347 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
7348 runto_main fails.
7349
7350 2015-02-20 Pedro Alves <palves@redhat.com>
7351
7352 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
7353 info probes.
7354
7355 2015-02-20 Pedro Alves <palves@redhat.com>
7356
7357 * gdb.threads/multi-create-ns-info-thr.exp: New file.
7358
7359 2015-02-20 Pedro Alves <palves@redhat.com>
7360
7361 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
7362 clean_restart before gdb_target_supports_trace.
7363
7364 2015-02-20 Pedro Alves <palves@redhat.com>
7365
7366 PR threads/18006
7367 * gdb.threads/clone-thread_db.c: New file.
7368 * gdb.threads/clone-thread_db.exp: New file.
7369
7370 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
7371
7372 PR breakpoints/16812
7373 * gdb.base/catch-gdb-caused-signals.c: New file.
7374 * gdb.base/catch-gdb-caused-signals.exp: New file.
7375
7376 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
7377
7378 * configure: Regenerated.
7379 * configure.ac: Use GDB_AC_TRANSFORM.
7380 * aclocal.m4: sinclude ../transform.m4.
7381
7382 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7383
7384 * lib/dtrace.exp: New file.
7385 * gdb.base/dtrace-probe.exp: Likewise.
7386 * gdb.base/dtrace-probe.d: Likewise.
7387 * gdb.base/dtrace-probe.c: Likewise.
7388 * lib/pdtrace.in: Likewise.
7389 * configure.ac: Output variables with the transformed names of
7390 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7391 * configure: Regenerated.
7392
7393 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7394
7395 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7396 expected message when trying to access $_probe_* convenience
7397 variables while not on a probe.
7398
7399 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7400
7401 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7402
7403 2015-02-11 Pedro Alves <pedro@codesourcery.com>
7404
7405 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7406 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7407
7408 2015-02-10 Doug Evans <xdje42@gmail.com>
7409
7410 * lib/gdb.exp (gdb_load): Always return a result.
7411
7412 2015-02-10 Pedro Alves <palves@redhat.com>
7413
7414 * gdb.threads/signal-sigtrap.c: New file.
7415 * gdb.threads/signal-sigtrap.exp: New file.
7416
7417 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7418
7419 * gdb.trace/no-attach-trace.c: New file.
7420 * gdb.trace/no-attach-trace.exp: New file.
7421
7422 2015-02-09 Mark Wielaard <mjw@redhat.com>
7423
7424 * gdb.dwarf2/atomic.c: New file.
7425 * gdb.dwarf2/atomic-type.exp: Likewise.
7426
7427 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7428
7429 * gdb.btrace/buffer-size.exp: Update "info record" output.
7430 * gdb.btrace/delta.exp: Update "info record" output.
7431 * gdb.btrace/enable.exp: Update "info record" output.
7432 * gdb.btrace/finish.exp: Update "info record" output.
7433 * gdb.btrace/instruction_history.exp: Update "info record" output.
7434 * gdb.btrace/next.exp: Update "info record" output.
7435 * gdb.btrace/nexti.exp: Update "info record" output.
7436 * gdb.btrace/step.exp: Update "info record" output.
7437 * gdb.btrace/stepi.exp: Update "info record" output.
7438 * gdb.btrace/nohist.exp: Update "info record" output.
7439
7440 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7441
7442 * gdb.btrace/buffer-size: New.
7443
7444 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7445
7446 * gdb.btrace/delta.exp: Update "info record" output.
7447 * gdb.btrace/enable.exp: Update "info record" output.
7448 * gdb.btrace/finish.exp: Update "info record" output.
7449 * gdb.btrace/instruction_history.exp: Update "info record" output.
7450 * gdb.btrace/next.exp: Update "info record" output.
7451 * gdb.btrace/nexti.exp: Update "info record" output.
7452 * gdb.btrace/step.exp: Update "info record" output.
7453 * gdb.btrace/stepi.exp: Update "info record" output.
7454 * gdb.btrace/nohist.exp: Update "info record" output.
7455
7456 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7457
7458 PR gdb/15678
7459 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7460
7461 2015-02-06 Pedro Alves <palves@redhat.com>
7462
7463 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7464 macro.
7465 (seconds_left, again): New globals.
7466 (main): Wait seconds_left in a 1-second sleep loop instead of
7467 sleeping 180 seconds. If 'again' is set, reset the seconds
7468 counter.
7469 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7470 'again' in the inferior before detaching. Print the seconds left.
7471 (options): New global.
7472 (top level): Build program with -DTIMEOUT=$timeout.
7473
7474 2015-02-06 Pedro Alves <palves@redhat.com>
7475
7476 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
7477 determine how many seconds to pass to 'alarm'.
7478 * gdb.base/gdb-sigterm.exp (top level): Build program with
7479 -DTIMEOUT=$timeout.
7480 (do_test): Return success/failure indication. Add more verbose
7481 logging. Don't fail if 200 single steps are seen. Instead, fail
7482 when the test times out.
7483 (passes): New global.
7484 (top level): Break the testing loop if testing fails on any
7485 iteration. Use gdb_assert.
7486
7487 2015-02-04 Don Breazeal <donb@codesourcery.com>
7488
7489 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
7490 and initialize them.
7491 (ipc_cleanup): New function.
7492 (main): Don't declare shmid, semid, and msqid. Add a call to
7493 atexit so that we call ipc_cleanup on exit.
7494
7495 2015-02-04 Pedro Alves <palves@redhat.com>
7496
7497 * boards/native-extended-gdbserver.exp: Remove any target variant
7498 specifications from the board name before clearing the isremote
7499 flag from board_info.
7500
7501 2015-01-31 Doug Evans <xdje42@gmail.com>
7502
7503 * gdb.base/maint.exp <maint print type argc>: Update expected output.
7504
7505 2015-01-31 Gary Benson <gbenson@redhat.com>
7506
7507 * gdb.base/completion.exp: Disable completion limiting for
7508 existing tests. Add new tests to check completion limiting.
7509 * gdb.linespec/ls-errs.exp: Disable completion limiting.
7510
7511 2015-01-31 Doug Evans <xdje42@gmail.com>
7512
7513 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
7514
7515 2015-01-31 Doug Evans <xdje42@gmail.com>
7516
7517 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
7518 entries. Duplicate file section script entries.
7519 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
7520 inlined entries. Add test for safe-path rejection.
7521 * gdb.python/py-section-script.c: Add duplicate inlined section script
7522 entries. Duplicate file section script entries.
7523 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
7524 inlined entries. Add test for safe-path rejection.
7525
7526 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7527
7528 * gdb.ada/disc_arr_bound: New testcase.
7529
7530 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7531
7532 * gdb.ada/mi_var_array: New testcase.
7533
7534 2015-01-27 Doug Evans <dje@google.com>
7535
7536 * gdb.python/py-objfile.exp: Add tests for objfile.username.
7537 Add test for objfile.filename, objfile.username after objfile
7538 has been unloaded.
7539
7540 2015-01-26 Joel Brobecker <brobecker@adacore.com>
7541
7542 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
7543 the second test to print the name attribute of value
7544 returned by the call to gdb.lookup_type, and adjust
7545 the expected output accordingly.
7546
7547 2015-01-25 Mark Wielaard <mjw@redhat.com>
7548
7549 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
7550 * gdb.base/disp-step-fork.c: Include unistd.h.
7551 * gdb.base/siginfo-obj.c: Include stdio.h.
7552 * gdb.base/siginfo-thread.c: Likewise.
7553 * gdb.mi/non-stop.c: Include unistd.h.
7554 * gdb.mi/nsthrexec.c: Include stdio.h.
7555 * gdb.mi/pthreads.c: Include unistd.h.
7556 * gdb.modula2/unbounded1.c (main): Declare returns int.
7557 * gdb.reverse/consecutive-reverse.c: Likewise.
7558 * gdb.threads/create-fail.c: Include unistd.h.
7559 * gdb.threads/killed.c: Likewise.
7560 * gdb.threads/linux-dp.c: Likewise.
7561 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
7562 * gdb.threads/non-ldr-exc-2.c: Likewise.
7563 * gdb.threads/non-ldr-exc-3.c: Likewise.
7564 * gdb.threads/non-ldr-exc-4.c: Likewise.
7565 * gdb.threads/pthreads.c: Include unistd.h.
7566 (main): Declare returns int.
7567 * gdb.threads/tls-main.c (foo): New declaration.
7568 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
7569
7570 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
7571
7572 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
7573 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
7574
7575 2015-01-15 Mark Wielaard <mjw@redhat.com>
7576
7577 * gdb.base/noreturn-return.c: New file.
7578 * gdb.base/noreturn-return.exp: New file.
7579 * gdb.base/noreturn-finish.c: New file.
7580 * gdb.base/noreturn-finish.exp: New file.
7581
7582 2015-01-23 Pedro Alves <palves@redhat.com>
7583
7584 * gdb.threads/continue-pending-after-query.c: New file.
7585 * gdb.threads/continue-pending-after-query.exp: New file.
7586
7587 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
7588 Simon Marchi <simon.marchi@ericsson.com>
7589
7590 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
7591 * gdb.base/valgrind-db-attach.exp: Same.
7592 * gdb.base/valgrind-infcall.exp: Same.
7593 * lib/mi-support.exp (default_mi_gdb_start): Same.
7594 * lib/prompt.exp (default_prompt_gdb_start): Same.
7595 * lib/gdb.exp (default_gdb_spawn): Same.
7596 (gdb_interact): New.
7597
7598
7599 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7600
7601 * gdb.compile/compile.exp (pointer to jit function): New test.
7602
7603 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
7604
7605 * lib/gdb.exp (supports_process_record): Return true for
7606 powerpc*-*-linux*.
7607 (supports_reverse): Likewise.
7608
7609 2015-01-15 Don Breazeal <donb@codesourcery.com>
7610
7611 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
7612 instead of checking whether the target board is remote and
7613 use spawn_wait_for_attach instead of exec/sleep.
7614 * gdb.base/attach-twice.exp: Likewise.
7615
7616 2015-01-15 Joel Brobecker <brobecker@adacore.com>
7617
7618 * gdb.ada/var_arr_attrs: New testcase.
7619
7620 2015-01-14 Pedro Alves <palves@redhat.com>
7621 Joel Brobecker <brobecker@adacore.com>
7622
7623 PR gdb/17525
7624 * gdb.base/bp-cmds-execution-x-script.c: New file.
7625 * gdb.base/bp-cmds-execution-x-script.exp: New file.
7626 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
7627
7628 2015-01-14 Pedro Alves <palves@redhat.com>
7629
7630 PR cli/17828
7631 * gdb.base/batch-preserve-term-settings.c: New file.
7632 * gdb.base/batch-preserve-term-settings.exp: New file.
7633
7634 2015-01-13 Doug Evans <dje@google.com>
7635
7636 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
7637 binary.
7638
7639 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7640
7641 * Makefile.in (clean mostlyclean): Do not delete *.py.
7642
7643 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7644
7645 * gdb.python/py-lookup-type.exp: New file.
7646
7647 2015-01-12 Pedro Alves <palves@redhat.com>
7648
7649 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
7650 restore GDBFLAGS before returning.
7651
7652 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7653
7654 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
7655 is_amd64_regs_target and is_x86_like_target.
7656
7657 2015-01-11 Doug Evans <xdje42@gmail.com>
7658
7659 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
7660 is given without an explicit form.
7661 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
7662 attributes.
7663 * gdb.dwarf/corrupt.exp: Ditto.
7664 * gdb.dwarf2/enum-type.exp: Ditto.
7665 * gdb.trace/entry-values.exp: Ditto.
7666 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
7667
7668 2015-01-11 Doug Evans <xdje42@gmail.com>
7669
7670 PR gdb/15830
7671 * gdb.base/maint.exp: Remove references to "maint demangle".
7672 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
7673 Add tests for explicitly specifying language to demangle.
7674 * gdb.dlang/demangle.exp: Ditto.
7675
7676 2015-01-09 Pedro Alves <palves@redhat.com>
7677
7678 * gdb.threads/non-stop-fair-events.c: New file.
7679 * gdb.threads/non-stop-fair-events.exp: New file.
7680
7681 2015-01-09 Pedro Alves <palves@redhat.com>
7682
7683 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
7684 the global scope. Set a breakpoint after all threads are started
7685 rather than stepping over two source lines. Expect the prompt.
7686 * gdb.base/watch_thread_num.c (threads_started_barrier): New
7687 global.
7688 (NUM): Now 15.
7689 (main): Use threads_started_barrier to wait for all threads to
7690 start. Main thread no longer calls thread_function. Exit after
7691 180 seconds.
7692 (loop): New function.
7693 (thread_function): Wait on threads_started_barrier barrier. Call
7694 'loop' at each iteration.
7695 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
7696 threads have started, instead of hardcoding number of "next"
7697 steps. Use an access watchpoint instead of a write watchpoint.
7698
7699 2015-01-09 Pedro Alves <palves@redhat.com>
7700
7701 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
7702 (thread_func): Wait on barrier.
7703 (main): Wait for all threads to start before stopping GDB.
7704 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
7705 global.
7706 (thread1_func, thread2_func): Wait on barrier.
7707 (main): Wait for all threads to start before stopping GDB.
7708 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
7709 New global.
7710 (thread1_func, thread2_func): Wait on barrier.
7711 (main): Wait for all threads to start before stopping GDB.
7712
7713 2015-01-09 Pedro Alves <palves@redhat.com>
7714
7715 * gdb.threads/attach-many-short-lived-threads.c: New file.
7716 * gdb.threads/attach-many-short-lived-threads.exp: New file.
7717
7718 2014-01-09 Pedro Alves <palves@redhat.com>
7719
7720 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
7721 instead of to thread 2.
7722 * gdb.threads/signal-command-multiple-signals-pending.c (main):
7723 Add barrier around each pthread_create call instead of around all
7724 calls.
7725 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
7726 Set a break on thread_function and have the child threads hit it
7727 one at at a time.
7728
7729 2015-01-09 Pedro Alves <palves@redhat.com>
7730
7731 * lib/gdb.exp (can_spawn_for_attach): New procedure.
7732 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
7733 false.
7734 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
7735 checking whether the target board is remote.
7736 * gdb.multi/multi-attach.exp: Likewise.
7737 * gdb.python/py-sync-interp.exp: Likewise.
7738 * gdb.server/ext-attach.exp: Likewise.
7739 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
7740 tests that need to attach, instead of checking whether the target
7741 board is remote at the top of the file.
7742
7743 2015-01-08 Yao Qi <yao@codesourcery.com>
7744
7745 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
7746
7747 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7748
7749 Fix testcase compilation.
7750 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
7751
7752 2015-01-06 Joel Brobecker <brobecker@adacore.com>
7753
7754 * gdb.python/py-type.exp: Add a couple test about empty
7755 array creation, and negative-length array creation.
7756
7757 2015-01-02 Doug Evans <xdje42@gmail.com>
7758
7759 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
7760
7761 2015-01-02 Doug Evans <dje@google.com>
7762
7763 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
7764
7765 2014-12-29 Yao Qi <yao@codesourcery.com>
7766
7767 * gdb.trace/entry-values.exp: Update comments. Rename variable
7768 bar_call_foo to returned_from_foo.
7769
7770 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
7771
7772 PR gdb/17394
7773 * gdb.linespec/break-asm-file.c: New file.
7774 * gdb.linespec/break-asm-file.exp: New file.
7775 * gdb.linespec/break-asm-file0.s: New file.
7776 * gdb.linespec/break-asm-file1.s: New file.
7777
7778 2014-12-18 Nigel Stephens <nigel@mips.com>
7779 Maciej W. Rozycki <macro@codesourcery.com>
7780
7781 * gdb.base/float.exp: Handle the new output from "info float" on
7782 MIPS targets.
7783
7784 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7785
7786 Fix MinGW compilation.
7787 * gdb.compile/compile-ops.exp: Update untested message if
7788 !skip_compile_feature_tests.
7789 * gdb.compile/compile-setjmp.exp: Likewise.
7790 * gdb.compile/compile-tls.exp: Likewise.
7791 * gdb.compile/compile.exp: Likewise.
7792 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
7793 supported on this host".
7794
7795 2014-12-16 Doug Evans <xdje42@gmail.com>
7796
7797 * boards/stabs.exp: New file.
7798
7799 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
7800
7801 * gdb.base/completion.exp: Adjust to format changes of "maint
7802 print user-registers".
7803
7804 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
7805
7806 PR server/17457
7807 * gdb.arch/aarch64-fp.c: New file.
7808 * gdb.arch/aarch64-fp.exp: New file.
7809
7810 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7811
7812 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
7813 r210637, r210913, r211666, r215400, r215817).
7814
7815 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
7816 * dg-extract-results.py: New file.
7817 * dg-extract-results.sh: Use it if the environment seems
7818 suitable.
7819
7820 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
7821
7822 * dg-extract-results.py (parse_run): Handle warnings that
7823 are printed before a test harness is run.
7824
7825 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
7826
7827 * dg-extract-results.py (Named): Remove __cmp__ method.
7828 (output_variation): Use a key to sort variation.harnesses.
7829
7830 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
7831
7832 * dg-extract-results.py: For Python 3, force sys.stdout to
7833 handle surrogate escape sequences.
7834 (safe_open): New function.
7835 (output_segment, main): Use it.
7836
7837 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
7838
7839 * dg-extract-results.py (Prog.result_re): Include options
7840 in test name.
7841
7842 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
7843
7844 * dg-extract-results.py (output_variation): Always sort if
7845 do_sum.
7846
7847 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
7848
7849 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
7850 as long as we get pagination notifications.
7851
7852 2014-12-15 Jason Merrill <jason@redhat.com>
7853
7854 * Makefile.in (check-gdb.%): Restore.
7855 * README: Mention it.
7856
7857 2014-12-13 Joel Brobecker <brobecker@adacore.com>
7858
7859 * gdb.ada/str_uninit: New testcase.
7860
7861 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7862
7863 PR symtab/17642
7864 * gdb.base/vla-stub-define.c: New file.
7865 * gdb.base/vla-stub.c: New file.
7866 * gdb.base/vla-stub.exp: New file.
7867
7868 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
7869 Jan Kratochvil <jan.kratochvil@redhat.com>
7870 Tom Tromey <tromey@redhat.com>
7871
7872 * configure.ac: Add gdb.compile/.
7873 * configure: Regenerate.
7874 * gdb.compile/Makefile.in: New file.
7875 * gdb.compile/compile-ops.exp: New file.
7876 * gdb.compile/compile-ops.c: New file.
7877 * gdb.compile/compile-tls.c: New file.
7878 * gdb.compile/compile-tls.exp: New file.
7879 * gdb.compile/compile-constvar.S: New file.
7880 * gdb.compile/compile-constvar.c: New file.
7881 * gdb.compile/compile-mod.c: New file.
7882 * gdb.compile/compile-nodebug.c: New file.
7883 * gdb.compile/compile-setjmp-mod.c: New file.
7884 * gdb.compile/compile-setjmp.c: New file.
7885 * gdb.compile/compile-setjmp.exp: New file.
7886 * gdb.compile/compile-shlib.c: New file.
7887 * gdb.compile/compile.c: New file.
7888 * gdb.compile/compile.exp: New file.
7889 * lib/gdb.exp (skip_compile_feature_tests): New proc.
7890
7891 2014-12-12 Tom Tromey <tromey@redhat.com>
7892
7893 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
7894 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
7895
7896 2014-12-12 Doug Evans <dje@google.com>
7897
7898 * lib/gdb-python.exp (get_python_valueof): New function.
7899 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
7900
7901 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7902
7903 * gdb.base/completion.exp: Add test for completion of "info
7904 registers ".
7905
7906 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
7907
7908 * gdb.base/func-ptrs.c: New file.
7909 * gdb.base/func-ptrs.exp: New file.
7910
7911 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7912
7913 PR breakpoints/17012
7914 * gdb.base/dprintf-detach.c: New file.
7915 * gdb.base/dprintf-detach.exp: New file.
7916
7917 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
7918
7919 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
7920 * lib/gdb.exp (target_is_gdbserver): New procedure.
7921
7922 2014-12-08 Doug Evans <dje@google.com>
7923
7924 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
7925
7926 2014-12-05 Yao Qi <yao@codesourcery.com>
7927
7928 * gdb.guile/scm-error.exp: Remove the third argument to
7929 gdb_remote_download.
7930 * gdb.guile/scm-frame-args.exp: Likewise.
7931 * gdb.guile/scm-section-script.exp: Likewise.
7932
7933 2014-12-05 Yao Qi <yao@codesourcery.com>
7934
7935 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
7936
7937 2014-12-04 Doug Evans <dje@google.com>
7938
7939 * gdb.python/py-objfile.exp: Add tests for
7940 objfile.add_separate_debug_file.
7941
7942 2014-12-04 Doug Evans <dje@google.com>
7943
7944 * lib/gdb.exp (get_build_id): New function.
7945 (build_id_debug_filename_get): Rewrite to use it.
7946 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
7947
7948 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
7949
7950 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
7951 `method(long)', not just 0x0.
7952 * gdb.cp/nsalias.exp: Align code labels to 4.
7953 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
7954 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
7955 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
7956 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
7957 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
7958 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
7959
7960 2014-12-02 Doug Evans <dje@google.com>
7961
7962 PR symtab/17602
7963 * gdb.cp/anon-ns.cc: Move guts of this file to ...
7964 * gdb.cp/anon-ns2.cc: ... here. New file.
7965 * gdb.cp/anon-ns.exp: Update.
7966
7967 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
7968
7969 * gdb.python/py-events.py (inferior_call_handler): New.
7970 (register_changed_handler, memory_changed_handler): New.
7971 (test_events.invoke): Register new handlers.
7972 * gdb.python/py-events.exp: Add tests for inferior call,
7973 memory_changed and register_changed events.
7974
7975 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7976
7977 * gdb.base/execl-update-breakpoints.exp: Specify the link address
7978 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
7979 if the linker doesn't understand this.
7980
7981 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
7982
7983 * gdb.python/python.exp: Change expected reply to help().
7984
7985 2014-12-01 Yao Qi <yao@codesourcery.com>
7986
7987 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
7988 AC_CONFIG_SUBDIRS(gdb.gdbtk).
7989 * configure: Re-generated.
7990
7991 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
7992
7993 * gdb.cp/chained-calls.cc: New file.
7994 * gdb.cp/chained-calls.exp: New file.
7995 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
7996
7997 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
7998
7999 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
8000 * gdb.dwarf2/symtab-producer.exp: Same.
8001 * gdb.gdb/python-interrupts.exp: Same.
8002 * gdb.gdb/python-selftest.exp: Same.
8003 * gdb.python/py-linetable.exp: Same.
8004 * gdb.python/py-type.exp: Same.
8005 * gdb.python/py-value-cc.exp: Same.
8006 * gdb.python/py-value.exp: Same.
8007
8008 2014-11-28 Yao Qi <yao@codesourcery.com>
8009
8010 * gdb.base/break-probes.exp: Match library name prefixed with
8011 sysroot.
8012
8013 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
8014
8015 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
8016 test expected output. Add parentheses for the call to print.
8017 Remove L suffix from integers.
8018
8019 2014-11-26 Doug Evans <dje@google.com>
8020
8021 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
8022
8023 2014-11-22 Yao Qi <yao@codesourcery.com>
8024
8025 * gdb.trace/entry-values.c: Remove asms.
8026 (foo): Add foo_label.
8027 (bar): Add bar_label.
8028 * gdb.trace/entry-values.exp: Remove code computing foo's
8029 length and bar's length.
8030 (Dwarf::assemble): Invoke function_range for bar and use
8031 MACRO_AT_func for foo.
8032
8033 2014-11-22 Yao Qi <yao@codesourcery.com>
8034
8035 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
8036 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
8037 Use .Lgcc43_procstart instead of gcc43.
8038
8039 2014-11-21 Joel Brobecker <brobecker@adacore.com>
8040
8041 * gdb.ada/n_arr_bound: New testcase.
8042
8043 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
8044
8045 PR breakpoints/10737
8046 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
8047 test_catch_syscall_multi_arch.
8048 (test_catch_syscall_multi_arch): New function.
8049
8050 2014-11-20 Doug Evans <xdje42@gmail.com>
8051
8052 * gdb.base/maint.exp: Update expected output.
8053
8054 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8055
8056 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
8057 4-byte instruction on S390.
8058
8059 2014-11-19 Joel Brobecker <brobecker@adacore.com>
8060
8061 * gdb.ada/arr_arr: New testcase.
8062
8063 2014-11-19 Joel Brobecker <brobecker@adacore.com>
8064
8065 * gdb.ada/pkd_arr_elem: New Testcase.
8066
8067 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
8068
8069 * gdb.reverse/break-precsave: Expect completion message for
8070 core file reads.
8071 * gdb.reverse/consecutive-precsave.exp: Likewise.
8072 * gdb.reverse/finish-precsave.exp: Likewise.
8073 * gdb.reverse/i386-precsave.exp: Likewise.
8074 * gdb.reverse/machinestate-precsave.exp: Likewise.
8075 * gdb.reverse/sigall-precsave.exp: Likewise.
8076 * gdb.reverse/solib-precsave.exp: Likewise.
8077 * gdb.reverse/step-precsave.exp: Likewise.
8078 * gdb.reverse/until-precsave.exp: Likewise.
8079 * gdb.reverse/watch-precsave.exp: Likewise.
8080
8081 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8082
8083 * gdb.base/bp-permanent.c: Include unistd.h.
8084 * gdb.python/py-framefilter-mi.c (main): Add return type.
8085 * gdb.python/py-framefilter.c (main): Likewise.
8086 * gdb.trace/actions-changed.c (main): Likewise.
8087
8088 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8089
8090 * gdb.mi/until.c: Add eye-catchers.
8091 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
8092 line numbers.
8093
8094 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8095
8096 * gdb.base/condbreak.exp: Drop references to removed non-prototype
8097 function header variants in break1.c.
8098 * gdb.base/ena-dis-br.exp: Likewise.
8099 * gdb.base/hbreak2.exp: Likewise.
8100 * gdb.reverse/until-precsave.exp: Drop references to removed
8101 non-prototype function header variants in ur1.c.
8102 * gdb.reverse/until-reverse.exp: Likewise.
8103
8104 2014-11-17 Petr Machata <pmachata@redhat.com>
8105
8106 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
8107 ${_cu_offset_size} bytes abbrev offset.
8108
8109 2014-11-15 Doug Evans <xdje42@gmail.com>
8110
8111 PR symtab/17559
8112 * gdb.base/line-symtabs.exp: New file.
8113 * gdb.base/line-symtabs.c: New file.
8114 * gdb.base/line-symtabs.h: New file.
8115
8116 2014-11-14 Yao Qi <yao@codesourcery.com>
8117
8118 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
8119 (func): Add label func_label.
8120 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
8121 Replace low_pc and high_pc with MACRO_AT_range.
8122 Replace name, low_pc and high_pc with MACRO_AT_func.
8123
8124 2014-11-14 Yao Qi <yao@codesourcery.com>
8125
8126 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
8127 Replace name, low_pc and high_pc with MACRO_AT_func.
8128
8129 2014-11-14 Yao Qi <yao@codesourcery.com>
8130
8131 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
8132 produce debug information.
8133 * gdb.dwarf2/implptr-optimized-out.S: Removed.
8134
8135 2014-11-14 Yao Qi <yao@codesourcery.com>
8136
8137 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
8138 object and get function length.
8139 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
8140 with MACRO_AT_func.
8141 (top-level): Replace gdb_compile and clean_restart with
8142 prepare_for_testing.
8143 * gdb.dwarf2/main.c (main): Add label main_label.
8144
8145 2014-11-14 Yao Qi <yao@codesourcery.com>
8146
8147 * lib/dwarf.exp (function_range): New procedure.
8148 (Dwarf::_handle_macro_at_func): New procedure.
8149 (Dwarf::_handle_macro_at_range): New procedure.
8150 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
8151
8152 2014-11-14 Yao Qi <yao@codesourcery.com>
8153
8154 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
8155 (_handle_attribute): New procedure.
8156
8157 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8158
8159 * gdb.ada/cond_lang/foo.c (callme): Add return type.
8160 * gdb.base/call-sc.c (zed): Likewise.
8161 * gdb.base/checkpoint.c (main): Likewise.
8162 * gdb.base/dump.c (main): Likewise.
8163 * gdb.base/gcore.c (main): Likewise.
8164 * gdb.base/huge.c (main): Likewise.
8165 * gdb.base/multi-forks.c (main): Likewise.
8166 * gdb.base/pr10179-a.c (main): Likewise.
8167 * gdb.base/savedregs.c (main): Likewise.
8168 * gdb.base/sigaltstack.c (main): Likewise.
8169 * gdb.base/siginfo.c (main): Likewise.
8170 * gdb.base/structs.c (zed): Likewise.
8171 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
8172 * gdb.mi/mi-syn-frame.c (main): Likewise.
8173 * gdb.mi/until.c (foo, main): Likewise.
8174 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
8175 * gdb.base/solib-weak.c (foo): Declare.
8176 * gdb.base/attach-twice.c: Include stdio.h.
8177 * gdb.base/weaklib1.c: Likewise.
8178 * gdb.base/weaklib2.c: Likewise.
8179 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
8180 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
8181 unistd.h.
8182 * gdb.base/attach-pie-misread.c: Include stdlib.h.
8183 * gdb.mi/mi-exit-code.c: Likewise.
8184 * gdb.base/break-interp-lib.c: Include string.h.
8185 * gdb.base/coremaker.c: Likewise.
8186 * gdb.base/testenv.c: Likewise.
8187 * gdb.python/py-finish-breakpoint.c: Likewise.
8188 * gdb.base/inferior-died.c: Include sys/wait.h.
8189 * gdb.base/fileio.c: Include time.h.
8190 * gdb.base/async-shell.c: Include unistd.h.
8191 * gdb.base/dprintf-non-stop.c: Likewise.
8192 * gdb.base/info-os.c: Likewise.
8193 * gdb.mi/mi-console.c: Likewise.
8194 * gdb.mi/watch-nonstop.c: Likewise.
8195 * gdb.python/py-events.c: Likewise.
8196 * gdb.base/async.c (baz): Move up before its invocation.
8197 * gdb.base/code_elim2.c (my_global_func): Likewise.
8198 * gdb.base/skip-solib-lib.c (multiply): Likewise.
8199 * gdb.base/advance.c (func2): Likewise.
8200
8201 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8202
8203 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
8204 variant.
8205 * gdb.base/annota3.c: Likewise.
8206 * gdb.base/async.c: Likewise.
8207 * gdb.base/average.c: Likewise.
8208 * gdb.base/call-ar-st.c: Likewise.
8209 * gdb.base/call-rt-st.c: Likewise.
8210 * gdb.base/call-sc.c: Likewise.
8211 * gdb.base/call-strs.c: Likewise.
8212 * gdb.base/ending-run.c: Likewise.
8213 * gdb.base/execd-prog.c: Likewise.
8214 * gdb.base/exprs.c: Likewise.
8215 * gdb.base/foll-exec.c: Likewise.
8216 * gdb.base/foll-fork.c: Likewise.
8217 * gdb.base/foll-vfork.c: Likewise.
8218 * gdb.base/funcargs.c: Likewise.
8219 * gdb.base/gcore.c: Likewise.
8220 * gdb.base/jump.c: Likewise.
8221 * gdb.base/langs0.c: Likewise.
8222 * gdb.base/langs1.c: Likewise.
8223 * gdb.base/langs2.c: Likewise.
8224 * gdb.base/mips_pro.c: Likewise.
8225 * gdb.base/nodebug.c: Likewise.
8226 * gdb.base/opaque0.c: Likewise.
8227 * gdb.base/opaque1.c: Likewise.
8228 * gdb.base/recurse.c: Likewise.
8229 * gdb.base/run.c: Likewise.
8230 * gdb.base/scope0.c: Likewise.
8231 * gdb.base/scope1.c: Likewise.
8232 * gdb.base/setshow.c: Likewise.
8233 * gdb.base/setvar.c: Likewise.
8234 * gdb.base/shmain.c: Likewise.
8235 * gdb.base/shr1.c: Likewise.
8236 * gdb.base/shr2.c: Likewise.
8237 * gdb.base/sigall.c: Likewise.
8238 * gdb.base/signals.c: Likewise.
8239 * gdb.base/so-indr-cl.c: Likewise.
8240 * gdb.base/solib2.c: Likewise.
8241 * gdb.base/structs.c: Likewise.
8242 * gdb.base/sum.c: Likewise.
8243 * gdb.base/vforked-prog.c: Likewise.
8244 * gdb.base/watchpoint.c: Likewise.
8245 * gdb.reverse/shr2.c: Likewise.
8246 * gdb.reverse/until-reverse.c: Likewise.
8247 * gdb.reverse/ur1.c: Likewise.
8248 * gdb.reverse/watch-reverse.c: Likewise.
8249
8250 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8251
8252 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
8253 variant.
8254 * gdb.base/sepdebug.exp: Drop references to removed code.
8255
8256 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8257
8258 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
8259 variant. Preserve original line numbering.
8260 * gdb.base/list1.c: Likewise.
8261
8262 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8263
8264 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
8265 variant.
8266 * gdb.base/break1.c: Likewise.
8267 * gdb.base/break.exp: Drop references to removed code.
8268
8269 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8270
8271 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
8272 variant.
8273
8274 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8275
8276 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
8277
8278 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8279
8280 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
8281 logic into perform_all_tests() and invoke it with and without
8282 function header prototypes.
8283 (do_function_calls): Remove conditional XFAIL for PR 5318.
8284 (rerun_and_prepare): Remove duplicate code.
8285 (perform_all_tests): New. Main logic moved here.
8286
8287 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8288
8289 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
8290 code guarded by #ifdef NO_PROTOTYPES.
8291 (t_double_many_args): Likewise.
8292 (DEF_FUNC_MANY_ARGS_1): Likewise.
8293 (DEF_FUNC_VALUES_1): Likewise.
8294 (t_structs_ldc): Renamed from t_structs_fc in conditional code
8295 guarded by #ifdef PROTOTYPES.
8296
8297 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8298
8299 * gdb.mi/mi-console.c: Add eye-catcher.
8300 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
8301 instead of literal line number.
8302
8303 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8304
8305 * gdb.base/shr2.c: Add eye-catcher.
8306 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
8307 line number.
8308
8309 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8310
8311 * gdb.base/jump.c: Add eye-catchers.
8312 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
8313 numbers.
8314
8315 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8316
8317 * gdb.base/execd-prog.c: Add eye-catchers.
8318 * gdb.base/foll-exec.c: Likewise.
8319 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
8320 line numbers.
8321
8322 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8323
8324 * gdb.base/ending-run.c: Add eye-catchers.
8325 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
8326 literal line numbers.
8327
8328 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8329
8330 * gdb.base/call-rt-st.c: Add eye-catchers.
8331 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
8332 literal line numbers.
8333
8334 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8335
8336 * gdb.base/call-ar-st.c: Add eye-catchers.
8337 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
8338 literal line numbers.
8339
8340 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8341
8342 * gdb.base/average.c: Add eye-catchers.
8343 * gdb.base/sum.c: Likewise.
8344 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
8345 regexps dynamically.
8346
8347 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8348
8349 * gdb.base/solib1.c: Add eye-catchers.
8350 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
8351 literal line numbers.
8352
8353 2014-11-12 Pedro Alves <palves@redhat.com>
8354
8355 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
8356 leader has exited.
8357
8358 2014-11-12 Pedro Alves <palves@redhat.com>
8359
8360 * gdb.arch/i386-bp_permanent.c: New file.
8361 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
8362 (srcfile): Set to i386-bp_permanent.c.
8363 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
8364 that stepi does not execute the 'leave' instruction, instead of
8365 testing it does execute.
8366 * gdb.base/bp-permanent.c: New file.
8367 * gdb.base/bp-permanent.exp: New file.
8368
8369 2014-11-10 Doug Evans <xdje42@gmail.com>
8370
8371 PR symtab/17564
8372 * gdb.base/symtab-search-order.exp: New file.
8373 * gdb.base/symtab-search-order.c: New file.
8374 * gdb.base/symtab-search-order-1.c: New file.
8375 * gdb.base/symtab-search-order-shlib-1.c: New file.
8376
8377 2014-11-07 Pedro Alves <palves@redhat.com>
8378
8379 PR gdb/17511
8380 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8381 i?86-*-linux*.
8382
8383 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8384
8385 PR c++/17494
8386 * gdb.cp/pr17494.cc: New file.
8387 * gdb.cp/pr17494.exp: New file.
8388
8389 2014-11-02 Yao Qi <yao@codesourcery.com>
8390
8391 * gdb.python/python.exp: Get working directory and match the
8392 output of "set extended-prompt \\w " with it.
8393
8394 2014-10-30 Doug Evans <dje@google.com>
8395
8396 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8397 in objfiles.
8398 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8399 in progspaces.
8400
8401 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
8402
8403 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8404 * gdb.base/realname-expand.exp: Likewise.
8405 * gdb.linespec/macro-relative.exp: Likewise.
8406
8407 2014-10-29 Pedro Alves <palves@redhat.com>
8408
8409 PR gdb/17408
8410 * gdb.threads/schedlock.c (some_function): New function.
8411 (call_function): New global.
8412 (MAYBE_CALL_SOME_FUNCTION): New macro.
8413 (thread_function): Call it.
8414 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8415 and use it instead of a global counter. Adjust all callers.
8416 (get_current_thread): Use "find current thread" for test message
8417 here rather than having all callers pass down the same string.
8418 (goto_loop): New procedure, factored out from ...
8419 (my_continue): ... this.
8420 (step_ten_loops): Change parameter from test message to command to
8421 use. Adjust.
8422 (list_count): Delete global.
8423 (check_result): New procedure, factored out from duplicate top
8424 level code.
8425 (continue tests): Wrap in with_test_prefix.
8426 (test_step): New procedure, factored out from duplicate top level
8427 code.
8428 (top level): Test "step" in combination with all scheduler-locking
8429 modes. Test "next" in combination with all scheduler-locking
8430 modes, and in combination with stepping over a function call or
8431 not.
8432 * gdb.threads/next-bp-other-thread.c: New file.
8433 * gdb.threads/next-bp-other-thread.exp: New file.
8434
8435 2014-10-29 Pedro Alves <palves@redhat.com>
8436
8437 PR python/17372
8438 * gdb.python/python.exp: Test a multi-line command that spawns
8439 interactive Python.
8440 * gdb.base/multi-line-starts-subshell.exp: New file.
8441
8442 2014-10-29 Yao Qi <yao@codesourcery.com>
8443
8444 * gdb.base/fileio.exp: Make directories on host.
8445
8446 2014-10-29 Yao Qi <yao@codesourcery.com>
8447
8448 * gdb.base/fileio.c (test_write): Close the file.
8449
8450 2014-10-28 Pedro Alves <palves@redhat.com>
8451
8452 PR gdb/12623
8453 * gdb.base/sigstep.c (no_handler): New global.
8454 (main): If 'no_handler is true, set the signal handlers to
8455 SIG_IGN.
8456 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8457 with_sw_watch and no_handler parameters. Handle them.
8458 (top level) <stepping over handler when stopped at a breakpoint
8459 test>: Add a test axis for testing with a software watchpoint, and
8460 another for testing with the signal handler set to SIG_IGN.
8461 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8462 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8463
8464 2014-10-28 Pedro Alves <palves@redhat.com>
8465
8466 PR gdb/17511
8467 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8468 * gdb.base/sigstep.exp (other_handler_location): New global.
8469 (advance): Support stepping into the signal handler, and running
8470 commands while in the handler.
8471 (in_handler_map): New global.
8472 (top level): In the advance test, add combinations for getting
8473 into the handler with stepping commands, and for running commands
8474 in the handler. Add comment descripting the advancei tests.
8475
8476 2014-10-28 Pedro Alves <palves@redhat.com>
8477
8478 * gdb.base/sigstep.exp: Use build_executable instead of
8479 prepare_for_testing.
8480 (top level): Move code that starts GDB, runs to main and creates a
8481 display to ...
8482 (restart): ... this new procedure.
8483 (top level): Move backtrace from signal handler test to ...
8484 (validate_backtrace): ... this new procedure.
8485 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
8486 with_test_prefix. Always restart GDB.
8487 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
8488 with_test_prefix. Always restart GDB. No need to delete
8489 breakpoints after the test.
8490 (test_skip_handler): Remove prefix parameter.
8491 (skip_over_handler, breakpoint_to_handler)
8492 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
8493 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
8494 restart GDB. No need to delete breakpoints after the test.
8495 (top level): Use foreach to call the test procedures with
8496 different commands.
8497
8498 2014-10-28 Pedro Alves <palves@redhat.com>
8499
8500 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
8501 instead of GNATS numbers.
8502 * gdb.base/sigbpt.exp: Likewise.
8503 * gdb.base/siginfo.exp: Likewise.
8504 * gdb.base/sigstep.exp: Likewise.
8505
8506 2014-10-27 Pedro Alves <palves@redhat.com>
8507
8508 * gdb.base/sigstep.c (dummy): New global.
8509 (main): Issue a couple writes to the new global.
8510 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
8511 procedures.
8512 (skip_over_handler): Use test_skip_handler.
8513 (top level): Call skip_over_handler for stepi and nexti too.
8514 (breakpoint_over_handler): Use test_skip_handler.
8515 (top level): Call breakpoint_over_handler for stepi and nexti too.
8516
8517 2014-10-27 Yao Qi <yao@codesourcery.com>
8518
8519 * gdb.trace/tfile.c (adjust_function_address)
8520 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
8521 function descriptor.
8522
8523 2014-10-24 Don Breazeal <donb@codesourcery.com>
8524
8525 * gdb.base/foll-fork.exp (test_follow_fork,
8526 catch_fork_child_follow): Check for updated fork messages emitted
8527 from infrun.c.
8528 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
8529 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
8530 vfork_and_exec_child_follow_through_step): Check for updated vfork
8531 messages emitted from infrun.c.
8532
8533 2014-10-24 Pedro Alves <palves@redhat.com>
8534
8535 * gdb.base/corefile.exp: Remove references to ultrix.
8536 * gdb.base/interrupt.exp: Likewise.
8537 * gdb.base/whatis.exp: Likewise.
8538 * gdb.gdb/selftest.exp: Likewise.
8539 * gdb.threads/manythreads.exp: Likewise.
8540 * gdb.threads/print-threads.exp: Likewise.
8541 * gdb.threads/pthreads.exp:: Likewise.
8542 * gdb.threads/schedlock.exp: Likewise.
8543
8544 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
8545
8546 * gdb.cp/non-trivial-retval.cc: Add a test case.
8547 * gdb.cp/non-trivial-retval.exp: Add a test.
8548
8549 2014-10-20 Yao Qi <yao@codesourcery.com>
8550
8551 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
8552 * gdb.python/py-objfile-script-gdb.py: New file.
8553 * gdb.python/py-objfile-script.exp: Update reference to
8554 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
8555 of remote_download. Remove the dest file.
8556
8557 2014-10-20 Yao Qi <yao@codesourcery.com>
8558
8559 * gdb.base/checkpoint.exp: Don't remove file copied on host.
8560 * gdb.base/step-line.exp: Likewise.
8561 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8562 * gdb.dwarf2/dw2-basic.exp: Likewise.
8563 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8564 * gdb.dwarf2/dw2-filename.exp: Likewise.
8565 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8566 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8567 * gdb.dwarf2/dw2-producer.exp: Likewise.
8568 * gdb.dwarf2/mac-fileno.exp: Likewise.
8569 * gdb.python/py-frame-args.exp: Likewise.
8570 * gdb.python/py-framefilter.exp: Likewise.
8571 * gdb.python/py-mi.exp: Likewise.
8572 * gdb.python/py-objfile-script.exp: Likewise
8573 * gdb.python/py-pp-integral.exp: Likewise.
8574 * gdb.python/py-pp-re-notag.exp: Likewise.
8575 * gdb.python/py-prettyprint.exp: Likewise.
8576 * gdb.python/py-section-script.exp: Likewise.
8577 * gdb.python/py-typeprint.exp: Likewise.
8578 * gdb.python/py-xmethods.exp: Likewise.
8579 * gdb.stabs/weird.exp: Likewise.
8580 * gdb.xml/tdesc-regs.exp: Likewise.
8581
8582 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
8583
8584 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
8585 (out_cu): Use addr_len for the size of addresses.
8586 (out_line): Likewise. Size DW_LNE_set_address instruction
8587 according to addr_len.
8588 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
8589 (FUNC): Add START_INSNS to definition.
8590
8591 2014-10-18 Yao Qi <yao@codesourcery.com>
8592
8593 * gdb.base/argv0-symlink.exp: Check argv[0] value if
8594 gdb_has_argv0 return true.
8595 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
8596 check [target_info exists noargs], check [gdb_has_argv0]
8597 instead.
8598 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8599 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
8600 procedures.
8601
8602 2014-10-17 Doug Evans <dje@google.com>
8603
8604 * gdb.python/py-events.exp: Update expected output for clear_objfiles
8605 event.
8606 * gdb.python/py-events.py: Add clear_objfiles event.
8607
8608 2014-10-17 Doug Evans <dje@google.com>
8609
8610 * gdb.python/py-objfile.exp: Test progspace attribute.
8611
8612 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
8613
8614 * gdb.guile/scm-breakpoint.exp: Do not assume any
8615 directory separators when matching source file paths.
8616 * gdb.python/py-breakpoint.exp: Likewise.
8617 * gdb.reverse/break-precsave.exp: Likewise.
8618 * gdb.reverse/break-reverse.exp: Likewise.
8619 * gdb.reverse/consecutive-precsave.exp: Likewise.
8620 * gdb.reverse/finish-precsave.exp: Likewise.
8621 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8622 * gdb.reverse/finish-reverse.exp: Likewise.
8623 * gdb.reverse/i386-precsave.exp: Likewise.
8624 * gdb.reverse/i387-env-reverse.exp: Likewise.
8625 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8626 * gdb.reverse/machinestate-precsave.exp: Likewise.
8627 * gdb.reverse/machinestate.exp: Likewise.
8628 * gdb.reverse/sigall-precsave.exp: Likewise.
8629 * gdb.reverse/solib-precsave.exp: Likewise.
8630 * gdb.reverse/step-precsave.exp: Likewise.
8631 * gdb.reverse/until-precsave.exp: Likewise.
8632 * gdb.reverse/watch-precsave.exp: Likewise.
8633 * gdb.reverse/watch-reverse.exp: Likewise.
8634
8635 2014-10-17 Yao Qi <yao@codesourcery.com>
8636
8637 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
8638 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
8639
8640 2014-10-17 Pedro Alves <palves@redhat.com>
8641
8642 PR gdb/17471
8643 * gdb.base/bg-execution-repeat.c: New file.
8644 * gdb.base/bg-execution-repeat.exp: New file.
8645
8646 2014-10-17 Pedro Alves <palves@redhat.com>
8647
8648 PR gdb/17300
8649 * gdb.base/continue-all-already-running.c: New file.
8650 * gdb.base/continue-all-already-running.exp: New file.
8651
8652 2014-10-17 Pedro Alves <palves@redhat.com>
8653
8654 PR gdb/17472
8655 * gdb.base/annota-input-while-running.c: New file.
8656 * gdb.base/annota-input-while-running.exp: New file.
8657
8658 2014-10-17 Pedro Alves <palves@redhat.com>
8659
8660 * gdb.base/callfuncs.exp: emove references to osf.
8661 * gdb.base/sigall.exp: Likewise.
8662 * gdb.gdb/selftest.exp: Likewise.
8663 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
8664 * gdb.mi/non-stop.c: Likewise.
8665 * gdb.mi/pthreads.c: Likewise.
8666 * gdb.reverse/sigall-precsave.exp: Likewise.
8667 * gdb.reverse/sigall-reverse.exp: Likewise.
8668 * gdb.threads/pthreads.c: Likewise.
8669 * gdb.threads/pthreads.exp: Likewise.
8670
8671 2014-10-17 Yao Qi <yao@codesourcery.com>
8672
8673 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
8674 check 'target_info exists noargs'.
8675 (test_command_prompt_position): Likewise.
8676 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
8677 Remove "set args".
8678 (progvar_simple_while_test): Likewise.
8679 (progvar_complex_if_while_test): Likewise.
8680 (if_while_breakpoint_command_test): Likewise.
8681 (infrun_breakpoint_command_test): Likewise.
8682 (breakpoint_command_test): Likewise.
8683 (watchpoint_command_test): Likewise.
8684 (bp_deleted_in_command_test): Likewise.
8685 (temporary_breakpoint_commands): Likewise.
8686
8687 2014-10-16 Yao Qi <yao@codesourcery.com>
8688
8689 * gdb.base/remotetimeout.exp: Remove noargs checking.
8690
8691 2014-10-15 Pedro Alves <palves@redhat.com>
8692
8693 PR breakpoints/9649
8694 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
8695 * gdb.base/breakpoint-in-ro-region.exp
8696 (probe_target_hardware_step): New procedure.
8697 (top level): Probe hardware stepping and hardware breakpoint
8698 support. Test stepping through a read-only region, with both
8699 "breakpoint auto-hw" on and off and both "always-inserted" on and
8700 off.
8701
8702 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
8703
8704 * gdb.dlang/demangle.exp: Update for demangling changes.
8705
8706 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8707
8708 * gdb.cp/non-trivial-retval.cc: Add new test cases.
8709 * gdb.cp/non-trivial-retval.exp: Add new tests.
8710
8711 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8712
8713 PR c++/13403
8714 PR c++/15154
8715 * gdb.cp/non-trivial-retval.cc: New file.
8716 * gdb.cp/non-trivial-retval.exp: New file.
8717
8718 2014-10-15 Yao Qi <yao@codesourcery.com>
8719
8720 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
8721 remote host.
8722
8723 2014-10-15 Yao Qi <yao@codesourcery.com>
8724
8725 * gdb.python/py-symbol.exp: Match file base name if host is
8726 remote, otherwise match file name with dir name.
8727 * gdb.python/py-symtab.exp: Likewise.
8728 * gdb.python/python.exp: Likewise.
8729
8730 2014-10-15 Yao Qi <yao@codesourcery.com>
8731
8732 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
8733 pattern.
8734 * gdb.python/py-symtab.exp: Likewise.
8735 * gdb.python/python.exp: Remove trailing ".*". Fix typo
8736 locationn.
8737
8738 2014-10-14 Joel Brobecker <brobecker@adacore.com>
8739
8740 * gdb.ada/addr_arith: New testcase.
8741
8742 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
8743
8744 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
8745 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
8746 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
8747 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
8748
8749 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
8750
8751 * gdb.arch/stap-eval-lang-ada.S: Likewise.
8752 * gdb.arch/stap-eval-lang-ada.c: Likewise.
8753 * gdb.arch/stap-eval-lang-ada.exp: New file.
8754
8755 2014-10-14 Yao Qi <yao@codesourcery.com>
8756
8757 * gdb.mi/mi-var-child.c (nothing1): New function.
8758 (nothing2): New function.
8759 (do_children_tests): Set function pointers by nothing1 and
8760 nothing2.
8761 * gdb.mi/mi-var-child.exp: Step over new added statements.
8762 Update test to match the new output.
8763 * gdb.mi/var-cmd.c (nothing1): New function.
8764 (nothing2): New function.
8765 (do_children_tests): Set function pointers by nothing1 and
8766 nothing2.
8767 * gdb.mi/mi-var-display.exp: Update test to match output.
8768 Step to the line specified by $line_dct_nothing.
8769 Increase the number of lines to step.
8770
8771 2014-10-14 Yao Qi <yao@codesourcery.com>
8772
8773 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
8774 tests.
8775 * gdb.mi/mi2-var-child.exp: Likewise.
8776
8777 2014-10-13 Doug Evans <dje@google.com>
8778
8779 * gdb.python/py-objfile.exp: Change name of file name test.
8780
8781 2014-10-13 Doug Evans <dje@google.com>
8782
8783 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
8784 from the start of the CU.
8785
8786 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8787 Yao Qi <yao@codesourcery.com>
8788
8789 Fix "save breakpoints" for "catch" command.
8790 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
8791 Remove -nonewline. Match also the added "main" line.
8792
8793 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8794
8795 Fix "save breakpoints" for "disable $bpnum" command.
8796 * gdb.base/save-bp.c (main): Add label.
8797 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
8798
8799 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8800
8801 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
8802
8803 2014-10-11 Yao Qi <yao@codesourcery.com>
8804
8805 * gdb.server/server-kill.exp: Execute command
8806 "set remote trace-status-packet on" before "tstatus".
8807
8808 2014-10-11 Yao Qi <yao@codesourcery.com>
8809
8810 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
8811 (main): Call getppid.
8812 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
8813 and continue to it. Read variable "server_pid".
8814
8815 2014-10-11 Yao Qi <yao@codesourcery.com>
8816
8817 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
8818
8819 2014-10-11 Yao Qi <yao@codesourcery.com>
8820
8821 * gdb.threads/thread-find.exp: Don't execute command
8822 "info threads".
8823 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
8824 * gdb.threads/linux-dp.exp: Don't check the condition
8825 $threads_created equals to zero.
8826
8827 2014-10-10 Pedro Alves <palves@redhat.com>
8828
8829 * gdb.base/bigcore.exp: Remove references to IRIX.
8830 * gdb.base/funcargs.exp: Likewise.
8831 * gdb.base/interrupt.exp: Likewise.
8832 * gdb.base/mips_pro.exp: Likewise.
8833 * gdb.base/nodebug.exp: Likewise.
8834 * gdb.base/setvar.exp: Likewise.
8835 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
8836
8837 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8838 Pedro Alves <palves@redhat.com>
8839
8840 PR symtab/14466
8841 * gdb.base/vdso-warning.c: New file.
8842 * gdb.base/vdso-warning.exp: New file.
8843
8844 2014-10-02 Doug Evans <dje@google.com>
8845
8846 * gdb.base/structs.c (main): Don't run forever.
8847
8848 2014-10-02 Pedro Alves <palves@redhat.com>
8849
8850 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
8851 (top level) <stop threads 1, stop threads 2>: Use it.
8852
8853 2014-10-02 Pedro Alves <palves@redhat.com>
8854
8855 * gdb.threads/break-while-running.exp (test): Add new
8856 'update_thread_list' argument. Skip "info threads" if false.
8857 (top level): Add new 'update_thread_list' axis.
8858
8859 2014-10-02 Pedro Alves <palves@redhat.com>
8860
8861 PR breakpoints/17431
8862 * gdb.base/execl-update-breakpoints.c: New file.
8863 * gdb.base/execl-update-breakpoints.exp: New file.
8864
8865 2014-10-01 Pedro Alves <palves@redhat.com>
8866
8867 * gdb.base/breakpoint-in-ro-region.c: New file.
8868 * gdb.base/breakpoint-in-ro-region.exp: New file.
8869
8870 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
8871
8872 * gdb.mi/mi-exit-code.exp: New file.
8873 * gdb.mi/mi-exit-code.c: New file.
8874
8875 2014-09-30 Yao Qi <yao@codesourcery.com>
8876
8877 * lib/prelink-support.exp (build_executable_own_libs): Error if
8878 the target isn't native.
8879
8880 2014-09-30 Yao Qi <yao@codesourcery.com>
8881
8882 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
8883 false.
8884
8885 2014-09-22 Pedro Alves <palves@redhat.com>
8886
8887 * gdb.threads/break-while-running.exp: New file.
8888 * gdb.threads/break-while-running.c: New file.
8889
8890 2014-09-19 Yao Qi <yao@codesourcery.com>
8891
8892 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
8893 Invoke test. Restart GDB with --readnow and invoke test again.
8894
8895 2014-09-19 Yao Qi <yao@codesourcery.com>
8896
8897 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
8898 proc set_breakpoint_on_gcd_function. Invoke
8899 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
8900 invoke set_breakpoint_on_gcd_function again.
8901
8902 2014-09-18 Doug Evans <dje@google.com>
8903
8904 * gdb.dwarf2/symtab-producer.exp: New file.
8905
8906 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8907
8908 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
8909 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
8910 * gdb.base/global-var-nested-by-dso.c: Likewise.
8911 * gdb.base/global-var-nested-by-dso.exp: Likewise.
8912
8913 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
8914 Pedro Alves <palves@redhat.com>
8915
8916 * gdb.base/watch-bitfields.exp: Pass string other than test file
8917 name to prepare_for_testing.
8918 (watch): New procedure.
8919 (expect_watchpoint): Use with_test_prefix.
8920 (top level): Factor out tests to ...
8921 (test_watch_location, test_regular_watch): ... these new
8922 procedures, and use with_test_prefix and gdb_continue_to_end.
8923
8924 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
8925
8926 PR breakpoints/12526
8927 * gdb.base/watch-bitfields.exp: New file.
8928 * gdb.base/watch-bitfields.c: New file.
8929
8930 2014-09-16 Pedro Alves <palves@redhat.com>
8931
8932 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
8933 software and hardware addresses, not software address against
8934 itself.
8935
8936 2014-09-16 Pedro Alves <palves@redhat.com>
8937
8938 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
8939 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
8940
8941 2014-09-16 Pedro Alves <palves@redhat.com>
8942
8943 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
8944 files.
8945 * gdb.base/a2-run.exp: Remove all code guarded by istarget
8946 "*-*-vxworks*" throughout.
8947 * gdb.base/break.exp: Likewise.
8948 * gdb.base/default.exp: Likewise.
8949 * gdb.base/scope.exp: Likewise.
8950 * gdb.base/sepdebug.exp: Likewise.
8951 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
8952 throughout.
8953 * gdb.base/run.c: Likewise.
8954 * gdb.base/sepdebug.c: Likewise.
8955 * gdb.hp/gdb.aCC/run.c: Likewise.
8956 * gdb.reverse/until-reverse.c: Likewise.
8957 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
8958
8959 2014-09-16 Yao Qi <yao@codesourcery.com>
8960
8961 * boards/local-remote-host-native.exp: New file.
8962
8963 2014-09-14 Doug Evans <xdje42@gmail.com>
8964
8965 * gdb.threads/queue-signal.c (thread_count): New variable.
8966 (thread_count_mutex, thread_count_condvar): New variables.
8967 (incr_thread_count, wait_all_threads_running): New functions.
8968 (main): Wait for all threads to be in their thread functions.
8969
8970 2014-09-13 Doug Evans <xdje42@gmail.com>
8971
8972 * gdb.threads/queue-signal.c: New file.
8973 * gdb.threads/queue-signal.exp: New file.
8974
8975 2014-09-13 Doug Evans <xdje42@gmail.com>
8976
8977 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
8978 be consistent with what default_gdb_init uses.
8979 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
8980 the plain text of the prompt. Add some logging printfs.
8981 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
8982
8983 2014-09-12 Pedro Alves <palves@redhat.com>
8984
8985 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
8986 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
8987 * gdb.arch/i386-size-overlap.exp: Likewise.
8988 * gdb.arch/i386-size.exp: Likewise.
8989 * gdb.arch/i386-unwind.exp: Likewise.
8990 * gdb.base/a2-run.exp: Likewise.
8991 * gdb.base/break.exp: Likewise.
8992 * gdb.base/charset.exp: Likewise.
8993 * gdb.base/chng-syms.exp: Likewise.
8994 * gdb.base/commands.exp: Likewise.
8995 * gdb.base/dbx.exp: Likewise.
8996 * gdb.base/find.exp: Likewise.
8997 * gdb.base/funcargs.exp: Likewise.
8998 * gdb.base/jit-simple.exp: Likewise.
8999 * gdb.base/reread.exp: Likewise.
9000 * gdb.base/sepdebug.exp: Likewise.
9001 * gdb.base/step-bt.exp: Likewise.
9002 * gdb.cp/mb-inline.exp: Likewise.
9003 * gdb.cp/mb-templates.exp: Likewise.
9004 * gdb.objc/basicclass.exp: Likewise.
9005 * gdb.threads/killed.exp: Likewise.
9006
9007 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9008
9009 PR tdep/17379
9010 * gdb.arch/powerpc-stackless.S: New file.
9011 * gdb.arch/powerpc-stackless.exp: New file.
9012
9013 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9014
9015 * gdb.base/attach.c: Include unistd.h.
9016 (main): Call alarm. Add label postloop.
9017 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
9018 gdb_breakpoint, gdb_continue_to_breakpoint.
9019 (test_command_line_attach_run): Kill ${testpid} in one exit path.
9020
9021 2014-09-11 Pedro Alves <palves@redhat.com>
9022
9023 PR gdb/17347
9024 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
9025 * gdb.base/attach.exp (test_command_line_attach_run): New
9026 procedure.
9027 (top level): Call it.
9028
9029 2014-09-11 Pedro Alves <palves@redhat.com>
9030
9031 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
9032 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
9033 (do_command_attach_tests): Use spawn_wait_for_attach.
9034 * gdb.base/solib-overlap.exp: Likewise.
9035 * gdb.multi/multi-attach.exp: Likewise.
9036 * gdb.python/py-prompt.exp: Likewise.
9037 * gdb.python/py-sync-interp.exp: Likewise.
9038 * gdb.server/ext-attach.exp: Likewise.
9039
9040 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
9041
9042 * gdb.fortran/array-element.exp: Remove unexpected "continue"
9043 command in testcase. Simplify testcase.
9044
9045 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9046
9047 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
9048
9049 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9050
9051 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
9052
9053 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9054
9055 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
9056
9057 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9058
9059 * gdb.dwarf2/dynarr-ptr.c: New file.
9060 * gdb.dwarf2/dynarr-ptr.exp: New file.
9061
9062 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9063
9064 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
9065 of 30 rather than hardcoding 120 for a slow test case. Take the
9066 `gdb,timeout' target setting into account for this calculation.
9067 Don't extend the timeout for the test cases that don't need it.
9068
9069 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9070
9071 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
9072 a factor of 2 for a slow test case. Take the `gdb,timeout'
9073 target setting into account for this calculation.
9074 * gdb.reverse/until-precsave.exp: Increase the timeout by
9075 a factor of 15 and 3 respectively rather than adding 120
9076 for a pair of slow test cases. Take the `gdb,timeout'
9077 target setting into account for this calculation.
9078
9079 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9080
9081 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
9082 timeout, don't pass one down to gdb_expect.
9083 (gdb_expect): Rework timeout selection.
9084
9085 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9086
9087 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
9088 exception on timeout.
9089 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
9090 (gdbserver_start_extended): Catch any `gdbserver_start' error
9091 exceptions.
9092 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
9093 * lib/mi-support.exp (mi_gdb_target_load): Catch any
9094 `gdbserver_gdb_load' error exceptions.
9095
9096 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9097
9098 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
9099 120 on waiting for the TCP socket to open.
9100
9101 2014-09-09 Doug Evans <xdje42@gmail.com>
9102
9103 * gdb.base/default.exp (show_conv_list): Add _caller_is,
9104 _caller_matches, _any_caller_is, _any_caller_matches.
9105
9106 2014-09-09 Doug Evans <xdje42@gmail.com>
9107
9108 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
9109
9110 2014-09-09 Yao Qi <yao@codesourcery.com>
9111
9112 * gdb.mi/mi-var-display.exp: Set print symbol off.
9113
9114 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
9115
9116 PR gdb/17035
9117 * gdb.base/commands.exp: Add tests to verify user-defined
9118 commands with empty bodies.
9119 * gdb.python/py-cmd.exp: Test that we don't show user-defined
9120 python commands in `show user command`.
9121 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
9122 scheme commands in `show user command`.
9123
9124 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9125
9126 PR python/17355
9127 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
9128 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
9129 * gdb.python/py-framefilter-invalidarg.exp: New file.
9130 * gdb.python/py-framefilter-invalidarg.py: New file.
9131
9132 2014-09-06 Doug Evans <xdje42@gmail.com>
9133
9134 PR 15276
9135 * gdb.python/py-caller-is.c: New file.
9136 * gdb.python/py-caller-is.exp: New file.
9137
9138 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
9139
9140 PR gdb/17235
9141 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
9142 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
9143
9144 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
9145
9146 PR fortran/17237
9147 * gdb.fortran/print-formatted.exp: New file.
9148 * gdb.fortran/print-formatted.f90: Likewise.
9149
9150 2014-09-03 Sasha Smundak <asmundak@google.com>
9151
9152 * gdb.python/py-frame.exp: Test Frame.read_register.
9153
9154 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
9155
9156 PR python/16699
9157 * gdb.python/py-completion.exp: New file.
9158 * gdb.python/py-completion.py: Likewise.
9159
9160 2014-08-28 Doug Evans <dje@google.com>
9161
9162 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
9163 eax,etc. are live with values set by gdb and thus the compiler can't
9164 use them.
9165 * gdb.arch/i386-pseudo.c (main): Ditto.
9166
9167 2014-08-27 Doug Evans <dje@google.com>
9168
9169 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
9170
9171 2014-08-25 Doug Evans <dje@google.com>
9172
9173 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
9174 (main): Ditto.
9175
9176 2014-08-25 Doug Evans <dje@google.com>
9177
9178 * gdb.threads/thread-execl.exp: #include <stdio.h>.
9179
9180 2014-08-24 Yao Qi <yao@codesourcery.com>
9181
9182 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
9183 symbol off.
9184 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
9185
9186 2014-08-22 Doug Evans <dje@google.com>
9187
9188 PR 17276
9189 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
9190 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
9191 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
9192
9193 2014-08-22 Yao Qi <yao@codesourcery.com>
9194
9195 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
9196 * gdb.python/py-finish-breakpoint2.exp: Likewise.
9197 * gdb.python/python.exp: Likewise. Use .py file on the host
9198 instead of the build.
9199
9200 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9201
9202 * gdb.threads/gcore-stale-thread.c: New file.
9203 * gdb.threads/gcore-stale-thread.exp: New file.
9204
9205 2014-08-21 Pedro Alves <palves@redhat.com>
9206
9207 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
9208 * gdb.base/gcore-relro-pie.exp: Likewise.
9209 * gdb.base/gcore-relro.exp: Likewise.
9210 * gdb.base/gcore.exp: Likewise.
9211 * gdb.base/print-symbol-loading.exp: Likewise.
9212 * gdb.threads/gcore-thread.exp: Likewise.
9213 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
9214
9215 2014-08-20 Pedro Alves <palves@redhat.com>
9216 Jan Kratochvil <jan.kratochvil@redhat.com>
9217
9218 * Makefile.in (EXTRA_RULES, CC): New variables, get from
9219 configure.
9220 (EXPECT): Handle READ1 being set.
9221 (all): Depend on EXTRA_RULES.
9222 (check-read1, expect-read1, read1.so, read1): New rules.
9223 * README (Testsuite Parameters): Document the READ1 make variable.
9224 (Race detection): New section.
9225 * configure: Regenerate.
9226 * configure.ac: If build==host==target, and running under a
9227 GNU/glibc system, add read1 to the extra Makefile rules.
9228 (EXTRA_RULES): AC_SUBST it.
9229 * lib/read1.c: New file.
9230
9231 2014-08-20 Joel Brobecker <brobecker@adacore.com>
9232
9233 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
9234 the handling of variables declared as a typedef to an array
9235 which a DW_AT_data_location attribute.
9236
9237 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
9238 Pedro Alves <palves@redhat.com>
9239
9240 PR symtab/14604
9241 PR symtab/14605
9242 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
9243 gdb_test.
9244
9245 2014-08-19 Pedro Alves <palves@redhat.com>
9246
9247 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
9248
9249 2014-08-19 Yao Qi <yao@codesourcery.com>
9250
9251 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
9252 right line.
9253
9254 2014-08-18 David Blaikie <dblaikie@gmail.com>
9255
9256 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
9257
9258 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9259
9260 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
9261 attribute in array range.
9262
9263 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9264
9265 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
9266
9267 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9268
9269 PR c++/17132
9270 * gdb.cp/pr17132.cc: New file.
9271 * gdb.cp/pr17132.exp: New file.
9272
9273 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9274
9275 * gdb.python/py-xmethods.py (A_getarrayind)
9276 (E_method_char_worker.__call__, E_method_int_worker.__call__):
9277 Use 'print' with function call syntax.
9278 (E_method_matcher.match): Fix tab vs space indentation mixup.
9279
9280 2014-08-15 Yao Qi <yao@codesourcery.com>
9281
9282 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
9283 false.
9284
9285 2014-08-15 Yao Qi <yao@codesourcery.com>
9286
9287 * gdb.cp/casts.exp: Set print symbol off.
9288 * gdb.cp/class2.exp: Likewise.
9289 * gdb.cp/overload.exp: Likewise.
9290 * gdb.cp/templates.exp: Likewise.
9291
9292 2014-08-11 Doug Evans <dje@google.com>
9293
9294 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9295 (test_load_shlib): Update.
9296
9297 2014-08-09 Yao Qi <yao@codesourcery.com>
9298
9299 * gdb.base/display.exp: Invoke is_address_zero_readable.
9300 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
9301 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9302 * gdb.base/hbreak-unmapped.exp: Return if
9303 is_address_zero_readable returns true.
9304 * gdb.base/signest.exp: Likewise.
9305 * gdb.base/signull.exp: Likewise.
9306 * gdb.base/sigbpt.exp: Likewise.
9307 * gdb.guile/scm-disasm.exp: Do the test if
9308 is_address_zero_readable returns false.
9309 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
9310 * gdb.python/py-arch.exp: Likewise.
9311 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
9312 * lib/gdb.exp (is_address_zero_readable): New proc.
9313
9314 2014-08-09 Yao Qi <yao@codesourcery.com>
9315
9316 PR testsuite/13443
9317 * gdb.mi/mi-var-display.exp: Make test messages unique.
9318
9319 2014-08-04 Tom Tromey <tromey@redhat.com>
9320
9321 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
9322 target 0".
9323
9324 2014-08-04 Tom Tromey <tromey@redhat.com>
9325
9326 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
9327 "target_resume".
9328
9329 2014-08-01 Joel Brobecker <brobecker@adacore.com>
9330
9331 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9332 inner_vla_struct_object_size.
9333 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
9334 as xfail.
9335
9336 2014-07-30 Pedro Alves <palves@redhat.com>
9337
9338 * gdb.threads/signal-command-handle-nopass.exp (test): Add
9339 comment.
9340
9341 2014-07-29 Yao Qi <yao@codesourcery.com>
9342
9343 PR gdb/17206
9344 * gdb.base/until-nodebug.exp: New.
9345
9346 2014-07-28 Doug Evans <xdje42@gmail.com>
9347
9348 PR guile/17203
9349 * gdb.guile/scm-parameter.exp: Add tests for trying to create
9350 previously existing parameter, and previously ambiguously spelled
9351 parameter.
9352
9353 2014-07-28 Will Newton <will.newton@linaro.org>
9354
9355 * gdb.base/varargs.exp: Remove KFAILs for ARM.
9356
9357 2014-07-26 Ludovic Courtès <ludo@gnu.org>
9358 Doug Evans <xdje42@gmail.com>
9359
9360 PR guile/17146
9361 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
9362
9363 2014-07-25 Pedro Alves <palves@redhat.com>
9364
9365 * gdb.threads/signal-command-handle-nopass.c: New file.
9366 * gdb.threads/signal-command-handle-nopass.exp: New file.
9367 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
9368 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
9369 * gdb.threads/signal-delivered-right-thread.c: New file.
9370 * gdb.threads/signal-delivered-right-thread.exp: New file.
9371
9372 2014-07-25 Pedro Alves <palves@redhat.com>
9373
9374 * gdb.base/double-prompt-target-event-error.exp
9375 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
9376 match.
9377 (cancel_pagination_in_target_event): Rework double prompt
9378 detection.
9379 * gdb.base/paginate-after-ctrl-c-running.exp
9380 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
9381 <return>' match.
9382 * gdb.base/paginate-bg-execution.exp
9383 (test_bg_execution_pagination_return)
9384 (test_bg_execution_pagination_cancel): Remove '-notransfer
9385 <return>' matches.
9386 * gdb.base/paginate-execution-startup.exp
9387 (test_fg_execution_pagination_return)
9388 (test_fg_execution_pagination_cancel): Remove '-notransfer
9389 <return>' matches.
9390 * gdb.base/paginate-inferior-exit.exp
9391 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9392 match.
9393 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9394 * lib/gdb.exp (pagination_prompt): Run text through
9395 string_to_regexp.
9396 (gdb_test_multiple): Match $pagination_prompt instead of
9397 "<return>".
9398 (string_to_regexp): Move to lib/gdb-utils.exp.
9399
9400 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9401
9402 * gdb.arch/amd64-entry-value-paramref.S: New file.
9403 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9404 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9405 * gdb.arch/amd64-optimout-repeat.S: New file.
9406 * gdb.arch/amd64-optimout-repeat.c: New file.
9407 * gdb.arch/amd64-optimout-repeat.exp: New file.
9408
9409 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9410
9411 PR gdb/17170
9412 * gdb.base/statistics.exp: New file.
9413
9414 2014-07-17 Doug Evans <dje@google.com>
9415
9416 PR gdb/17170
9417 * gdb.base/maint.exp: Update testing of per-command stats.
9418
9419 2014-07-16 Pedro Alves <palves@redhat.com>
9420
9421 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9422 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9423 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9424 (tfile_write_buf): New functions.
9425 (add_memory_block): Rewrite using the above.
9426 (adjust_function_address): New function.
9427 (FUNCTION_ADDRESS): New macro.
9428 (write_basic_trace_file): Remove short_x local, and use
9429 tfile_write_16. Change type of func_addr local to unsigned long
9430 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9431 here. Cast argument of add_memory_block to char pointer.
9432 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9433 (main): Remove parameters.
9434 * gdb.trace/tfile.exp: Remove nowarnings.
9435
9436 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9437
9438 * gdb.base/debug-expr.exp: Test string evaluation with
9439 "debug expression" on.
9440
9441 2014-07-15 Pedro Alves <palves@redhat.com>
9442
9443 * gdb.base/reread.exp: Use clean_restart.
9444
9445 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9446
9447 * gdb.arch/avr-flash-qualifer.c: New.
9448 * gdb.arch/avr-flash-qualifer.exp: New.
9449
9450 2014-07-14 Pedro Alves <palves@redhat.com>
9451
9452 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9453 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9454
9455 2014-07-14 Pedro Alves <palves@redhat.com>
9456
9457 * gdb.base/double-prompt-target-event-error.c: New file.
9458 * gdb.base/double-prompt-target-event-error.exp: New file.
9459
9460 2014-07-14 Pedro Alves <palves@redhat.com>
9461
9462 PR gdb/17072
9463 * gdb.base/paginate-inferior-exit.c: New file.
9464 * gdb.base/paginate-inferior-exit.exp: New file.
9465
9466 2014-07-14 Pedro Alves <palves@redhat.com>
9467
9468 PR gdb/17072
9469 * gdb.base/paginate-bg-execution.c: New file.
9470 * gdb.base/paginate-bg-execution.exp: New file.
9471
9472 2014-07-14 Pedro Alves <palves@redhat.com>
9473
9474 PR gdb/17072
9475 * gdb.base/paginate-execution-startup.c: New file.
9476 * gdb.base/paginate-execution-startup.exp: New file.
9477 * lib/gdb.exp (pagination_prompt): New global.
9478 (default_gdb_spawn): New procedure, factored out from
9479 default_gdb_spawn.
9480 (default_gdb_start): Adjust to call default_gdb_spawn.
9481 (gdb_spawn): New procedure.
9482
9483 2014-07-14 Pedro Alves <palves@redhat.com>
9484
9485 * lib/gdb.exp (gdb_assert): New procedure.
9486 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
9487
9488 2014-07-14 Pedro Alves <palves@redhat.com>
9489
9490 * gdb.base/execution-termios.c: New file.
9491 * gdb.base/execution-termios.exp: New file.
9492
9493 2014-07-14 Tom Tromey <tromey@redhat.com>
9494
9495 * gdb.cp/vla-cxx.cc: New file.
9496 * gdb.cp/vla-cxx.exp: New file.
9497
9498 2014-07-14 Tom Tromey <tromey@redhat.com>
9499
9500 * gdb.reverse/rerun-prec.c: New file.
9501 * gdb.reverse/rerun-prec.exp: New file.
9502
9503 2014-07-12 Maciej W. Rozycki <macro@mips.com>
9504 Maciej W. Rozycki <macro@codesourcery.com>
9505
9506 * lib/gdb-utils.exp: New file.
9507 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
9508 inline `gdb_init_command' processing.
9509 (gdb_start_cmd): Likewise.
9510 * lib/mi-support.exp (mi_run_cmd): Likewise.
9511 * README: Document `gdb_init_command' and `gdb_init_commands'.
9512
9513 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9514
9515 Fix false FAIL running under a very long directory name.
9516 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
9517 and "set print elements 10000". Twice.
9518
9519 2014-07-11 Yao Qi <yao@codesourcery.com>
9520
9521 * gdb.base/exprs.exp: "set print symbol off".
9522
9523 2014-07-11 Pedro Alves <palves@redhat.com>
9524
9525 * gdb.threads/kill.c: New file.
9526 * gdb.threads/kill.exp: New file.
9527
9528 2014-07-10 Yao Qi <yao@codesourcery.com>
9529
9530 * gdb.trace/tfile.c (write_basic_trace_file)
9531 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
9532 address written to trace file.
9533
9534 2014-07-09 Pedro Alves <palves@redhat.com>
9535
9536 * gdb.base/attach-wait-input.exp: New file.
9537 * gdb.base/attach-wait-input.c: New file.
9538
9539 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9540
9541 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
9542 setting up test structures.
9543 (main): Call new test function.
9544 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
9545 test function, continue into test function and walk test
9546 structures.
9547
9548 2014-07-02 Yao Qi <yao@codesourcery.com>
9549
9550 * gdb.trace/entry-values.c: Define labels 'foo_start' and
9551 'bar_start' at the beginning of functions 'foo' and 'bar'
9552 respectively.
9553 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
9554 instead of 'foo' and 'bar'.
9555
9556 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
9557
9558 * gdb.btrace/segv.exp: New.
9559 * gdb.btrace/segv.c: New.
9560
9561 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
9562
9563 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
9564 instruction.
9565
9566 2014-06-30 Mark Wielaard <mjw@redhat.com>
9567
9568 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
9569 vulture, vilify, villar): New volatile array constants.
9570 (vindictive, vegetation): New const volatile array constants.
9571 * gdb.base/volatile.exp: Test volatile and const volatile array
9572 types.
9573
9574 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9575
9576 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
9577 target lacks support for awatch, rwatch, or hbreak.
9578
9579 2014-06-27 Yao Qi <yao@codesourcery.com>
9580
9581 * gdb.multi/dummy-frame-restore.exp: New.
9582 * gdb.multi/dummy-frame-restore.c: New.
9583
9584 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
9585
9586 * gdb.btrace/gcore.exp: New.
9587
9588 2014-06-23 Pedro Alves <palves@redhat.com>
9589
9590 * gdb.base/watchpoint-reuse-slot.c: New file.
9591 * gdb.base/watchpoint-reuse-slot.exp: New file.
9592
9593 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
9594
9595 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
9596 progspace's filename in 'info', 'enable' and 'disable' command
9597 tests.
9598
9599 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9600
9601 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
9602 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9603 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
9604
9605 2014-06-20 Gary Benson <gbenson@redhat.com>
9606
9607 * gdb.arch/i386-avx.exp: Fix include file location.
9608 * gdb.arch/i386-sse.exp: Likewise.
9609
9610 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
9611
9612 * gdb.dlang/expression.exp: New file.
9613
9614 2014-06-19 Pedro Alves <palves@redhat.com>
9615
9616 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
9617 out from ...
9618 (top level): ... here. Iterate running tests under different
9619 scheduler-locking settings.
9620
9621 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
9622
9623 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
9624 to DW_FORM_addr and use non-zero addresses.
9625
9626 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
9627
9628 PR gdb/17017
9629 * gdb.python/py-xmethods.cc: Add global function call counters and
9630 increment them in their respective functions. Remove "cout"
9631 statements.
9632 * gdb.python/py-xmethods.exp: Make tests check the global function
9633 call counters instead of depending on inferior IO.
9634
9635 2014-06-18 Don Breazeal <donb@codesourcery.com>
9636
9637 * gdb.base/foll-fork.exp (default_fork_parent_follow):
9638 Deleted procedure.
9639 (explicit_fork_parent_follow): Deleted procedure.
9640 (explicit_fork_child_follow): Deleted procedure.
9641 (test_follow_fork): New procedure.
9642 (do_fork_tests): Replace calls to deleted procedures with
9643 calls to test_follow_fork and reset GDB for subsequent
9644 procedure calls.
9645
9646 2014-06-17 Yao Qi <yao@codesourcery.com>
9647
9648 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
9649 CP1252.
9650
9651 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
9652
9653 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
9654 Initialize ptr and S explicitly.
9655 (skip_type_update_when_not_use_rtti_test): Likewise.
9656
9657 2014-06-16 Keith Seitz <keiths@redhat.com>
9658
9659 PR mi/15863
9660 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
9661 the inferior is started.
9662
9663 2014-06-16 Pedro Alves <palves@redhat.com>
9664
9665 * gdb.base/break-main-file-remove-fail.c: New file.
9666 * gdb.base/break-main-file-remove-fail.exp: New file.
9667 * gdb.base/break-unload-file.exp: Use build_executable instead of
9668 prepare_for_testing.
9669 (test_break): New parameter "initial_load". Handle it.
9670 (top level): Add initial_load cmdline/file axis.
9671
9672 2014-06-12 Tom Tromey <tromey@redhat.com>
9673
9674 * gdb.base/completion.exp: Don't use directory name in test.
9675
9676 2014-06-09 Gary Benson <gbenson@redhat.com>
9677
9678 * gdb.base/sigall.c [Functions to send signals]: Reorder to
9679 separate the always-available ANSI-standard signals from the
9680 signals that require checking.
9681 (main): Likewise.
9682 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
9683 Likewise.
9684 (main): Likewise.
9685
9686 2014-06-07 Keith Seitz <keiths@redhat.com>
9687
9688 Revert:
9689 PR c++/16253
9690 * gdb.cp/var-tag.cc: New file.
9691 * gdb.cp/var-tag.exp: New file.
9692 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9693 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9694 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9695 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9696
9697 2014-06-06 Doug Evans <xdje42@gmail.com>
9698
9699 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
9700
9701 2014-06-06 Pedro Alves <palves@redhat.com>
9702
9703 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
9704 in target debug output instead of looking at RSP packets,
9705 disabling the test on any target that uses hardware stepping.
9706 Update comments.
9707
9708 2014-06-06 Pedro Alves <palves@redhat.com>
9709
9710 * gdb.base/break-unload-file.exp: Fix typo.
9711
9712 2014-06-06 Yao Qi <yao@codesourcery.com>
9713
9714 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
9715 from "jit_function" to "^jit_function".
9716
9717 2014-06-06 Yao Qi <yao@codesourcery.com>
9718
9719 * gdb.base/async.c (foo): Add one statement.
9720 * gdb.base/async.exp: Get the next instruction address and
9721 match the output of "nexti" by instruction address. Match
9722 the hex address in the output of "finish".
9723
9724 2014-06-06 Gary Benson <gbenson@redhat.com>
9725
9726 * gdb.base/call-signals.c: Remove preprocessor conditionals
9727 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
9728 SIGSEGV and SIGTERM.
9729 * gdb.base/sigall.c: Likewise.
9730 * gdb.base/unwindonsignal.c: Likewise.
9731 * gdb.reverse/sigall-reverse.c: Likewise.
9732
9733 2014-06-06 Yao Qi <yao@codesourcery.com>
9734
9735 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
9736 readable, skip the test.
9737
9738 2014-06-06 Yao Qi <yao@codesourcery.com>
9739
9740 * gdb.threads/staticthreads.c (thread_function): Move the line
9741 setting breakpoint on forward.
9742 * gdb.threads/staticthreads.exp: Update comments.
9743
9744 2014-06-05 Ludovic Courtès <ludo@gnu.org>
9745
9746 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
9747 "history-append! type error".
9748
9749 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
9750
9751 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
9752 erroneous dprintf expected input.
9753
9754 2014-06-04 Doug Evans <xdje42@gmail.com>
9755
9756 * gdb.guile/scm-generics.exp: Delete.
9757
9758 2014-06-04 Doug Evans <xdje42@gmail.com>
9759
9760 * gdb.guile/scm-breakpoint.exp: Update.
9761 Add tests for breakpoint registration.
9762
9763 2014-06-04 Tom Tromey <tromey@redhat.com>
9764
9765 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
9766 VLA-in-union.
9767 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
9768 inner_vla_struct, vla_union types. Initialize objects of those
9769 types and compute their sizes.
9770
9771 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
9772 Hui Zhu <hui@codesourcery.com>
9773
9774 * gdb.base/fileio.exp: Add test for shell not available as well as
9775 available.
9776 * gdb.base/fileio.c (test_system): Check for shell twice.
9777
9778 2014-06-04 Yao Qi <yao@codesourcery.com>
9779
9780 * gdb.base/auto-connect-native-target.exp: Remove redundant
9781 space from the regexp pattern.
9782
9783 2014-06-04 Yao Qi <yao@codesourcery.com>
9784
9785 * gdb.base/default.exp: Replace "child" with "native" in
9786 regexp pattern.
9787
9788 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
9789
9790 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
9791 * gdb.python/py-xmethods.exp: New tests to test xmethods.
9792 * gdb.python/py-xmethods.py: Python script supporting the
9793 new testcase and tests.
9794
9795 2014-06-03 Joel Brobecker <brobecker@adacore.com>
9796 Pedro Alves <palves@redhat.com>
9797
9798 PR breakpoints/17000
9799 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
9800 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
9801
9802 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
9803
9804 * gdb.base/subst.exp: Add tests to verify partial path matching
9805 output.
9806
9807 2014-06-03 Pedro Alves <palves@redhat.com>
9808
9809 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
9810 target that doesn't use software single-stepping.
9811
9812 2014-06-03 Pedro Alves <palves@redhat.com>
9813
9814 PR breakpoints/17000
9815 * gdb.base/sss-bp-on-user-bp-2.c: New file.
9816 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
9817
9818 2014-06-02 Doug Evans <xdje42@gmail.com>
9819
9820 * gdb.guile/scm-parameter.exp: New file.
9821
9822 2014-06-02 Doug Evans <xdje42@gmail.com>
9823
9824 * gdb.guile/scm-cmd.c: New file.
9825 * gdb.guile/scm-cmd.exp: New file.
9826
9827 2014-06-02 Doug Evans <xdje42@gmail.com>
9828
9829 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
9830 pretty-printer lookup.
9831 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
9832 (make-pp_s-printer): Call it.
9833 (make-pretty-printer-from-dict): New function.
9834 (lookup-pretty-printer-maker-from-dict): New function.
9835 (*pretty-printer*): Simplify.
9836 (make-objfile-pp_s-printer): New function.
9837 (install-objfile-pretty-printers!): New function.
9838 (make-progspace-pp_s-printer): New function.
9839 (install-progspace-pretty-printers!): New function.
9840 * gdb.guile/scm-progspace.c: New file.
9841 * gdb.guile/scm-progspace.exp: New file.
9842
9843 2014-06-02 Pedro Alves <palves@redhat.com>
9844
9845 * gdb.base/dprintf-bp-same-addr.c: New file.
9846 * gdb.base/dprintf-bp-same-addr.exp: New file.
9847
9848 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9849
9850 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
9851 * gdb.arch/powerpc-power.s: Likewise.
9852
9853 2014-06-02 Joel Brobecker <brobecker@adacore.com>
9854
9855 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
9856
9857 2014-06-01 Yao Qi <yao@codesourcery.com>
9858
9859 * gdb.base/watchpoint.exp (test_watch_location): Check null
9860 pointer can be dereferenced. If not, do the test, otherwise
9861 skip it.
9862
9863 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9864
9865 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
9866 results.
9867 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
9868
9869 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
9870
9871 * gdb.arch/amd64-invalid-stack-middle.S: New file.
9872 * gdb.arch/amd64-invalid-stack-middle.c: New file.
9873 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
9874 * gdb.arch/amd64-invalid-stack-top.c: New file.
9875 * gdb.arch/amd64-invalid-stack-top.exp: New file.
9876
9877 2014-05-30 Pedro Alves <palves@redhat.com>
9878
9879 PR breakpoints/17000
9880 * gdb.base/sss-bp-on-user-bp.c: New file.
9881 * gdb.base/sss-bp-on-user-bp.exp: New file.
9882
9883 2014-05-30 David Blaikie <dblaikie@gmail.com>
9884
9885 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
9886 gnu_inline semantics via attribute.
9887 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
9888 source explicitly specifies the required semantics.
9889
9890 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
9891
9892 * gdb.reverse/sigall-reverse.exp: Fix a typo.
9893
9894 2014-05-29 Pedro Alves <palves@redhat.com>
9895 Tom Tromey <tromey@redhat.com>
9896
9897 * gdb.base/async-shell.exp: Don't enable target-async.
9898 * gdb.base/async.exp
9899 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
9900 parameter. Adjust.
9901 (top level): Don't test with "target-async".
9902 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
9903 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
9904 * gdb.base/inferior-died.exp: Don't enable target-async.
9905 * gdb.base/interrupt-noterm.exp: Likewise.
9906 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
9907 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9908 * gdb.mi/mi-nonstop.exp: Likewise.
9909 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9910 * gdb.mi/mi-nsintrall.exp: Likewise.
9911 * gdb.mi/mi-nsmoribund.exp: Likewise.
9912 * gdb.mi/mi-nsthrexec.exp: Likewise.
9913 * gdb.mi/mi-watch-nonstop.exp: Likewise.
9914 * gdb.multi/watchpoint-multi.exp: Adjust comment.
9915 * gdb.python/py-evsignal.exp: Don't enable target-async.
9916 * gdb.python/py-evthreads.exp: Likewise.
9917 * gdb.python/py-prompt.exp: Likewise.
9918 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
9919 * gdb.server/solib-list.exp: Don't enable target-async.
9920 * gdb.threads/thread-specific-bp.exp: Likewise.
9921 * lib/mi-support.exp: Adjust to use mi-async.
9922
9923 2014-05-29 Pedro Alves <palves@redhat.com>
9924
9925 PR gdb/13860
9926 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
9927 reason, even in sync mode.
9928
9929 2014-05-29 Pedro Alves <palves@redhat.com>
9930 Hui Zhu <hui@codesourcery.com>
9931
9932 PR PR15693
9933 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
9934 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
9935 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
9936 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
9937
9938 2014-05-28 Joel Brobecker <brobecker@adacore.com>
9939
9940 * config/monitor.exp (gdb_target_monitor): Replace use of
9941 "set remotebaud" by "set serial baud".
9942
9943 2014-05-26 Andy Wingo <wingo@igalia.com>
9944
9945 * gdb.guile/scm-breakpoint.exp:
9946 * gdb.guile/scm-gsmob.exp: Update to use plain old object
9947 properties instead of gdb-object-properties.
9948
9949 2014-05-26 Yao Qi <yao@codesourcery.com>
9950
9951 * gdb.server/no-thread-db.exp: Specify source file name
9952 explicitly when setting a breakpoint.
9953
9954 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9955
9956 * gdb.btrace/vdso.c: New.
9957 * gdb.btrace/vdso.exp: New.
9958
9959 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9960
9961 * gdb.base/gcore.exp (capture_command_output): Move ...
9962 * lib/gdb.exp (capture_command_output): ... here.
9963
9964 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
9965
9966 * gdb.btrace/data.exp: Test memory access during btrace replay.
9967
9968 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
9969
9970 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
9971
9972 2014-05-21 Pedro Alves <palves@redhat.com>
9973
9974 PR gdb/13860
9975 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
9976 (top level): Test that output related to execution commands is
9977 sent to the console with CLI commands, but not with MI commands.
9978 Test that breakpoint events are always mirrored to the console.
9979 Also expect the new source line to be output after a "next" in
9980 async mode too. Make it a pass/fail test.
9981 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
9982 output.
9983 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
9984
9985 2014-05-21 Pedro Alves <palves@redhat.com>
9986
9987 * gdb.base/list.exp (build_pattern, test_list): New procedures.
9988 Use them to test variations of "list" after reaching a breakpoint.
9989 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
9990 Test "list" with listsize 10 after reaching a breakpoint.
9991 * gdb.python/python.exp (decode_line current location line
9992 number): Adjust expected line number.
9993
9994 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
9995
9996 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
9997 behavior for $args, pass it directly to "run".
9998
9999 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
10000
10001 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
10002 30000 to 65536.
10003
10004 2014-05-21 Pedro Alves <palves@redhat.com>
10005
10006 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
10007 auto-connect-native-target off".
10008 * gdb.base/auto-connect-native-target.c: New file.
10009 * gdb.base/auto-connect-native-target.exp: New file.
10010
10011 2014-05-21 Pedro Alves <palves@redhat.com>
10012
10013 * gdb.base/default.exp: Test "target native" instead of "target
10014 child".
10015
10016 2014-05-21 Mark Wielaard <mjw@redhat.com>
10017
10018 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10019
10020 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10021
10022 Fix TLS access for -static -pthread.
10023 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
10024 <HAVE_TLS> (thread_function, main): Initialize it.
10025 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
10026 Add clean_restart.
10027 <$have_tls != "">: Check TLSVAR.
10028
10029 2014-05-21 Pedro Alves <palves@redhat.com>
10030
10031 * gdb.base/dcache-line-read-error.c: New.
10032 * gdb.base/dcache-line-read-error.exp: New.
10033
10034 2014-05-20 Pedro Alves <palves@redhat.com>
10035
10036 * gdb.base/compare-sections.c: New file.
10037 * gdb.base/compare-sections.exp: New file.
10038
10039 2014-05-20 Pedro Alves <palves@redhat.com>
10040
10041 * gdb.base/break-idempotent.c: New file.
10042 * gdb.base/break-idempotent.exp: New file.
10043
10044 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
10045
10046 * gdb.btrace/nohist.exp: New.
10047
10048 2014-05-20 Yao Qi <yao@codesourcery.com>
10049
10050 * lib/gdb.exp (gdb_init): Set timeout if test file is under
10051 gdb.reverse directory and gdb_reverse_timeout exists in board
10052 setting.
10053 * README: Document gdb_reverse_timeout.
10054
10055 2014-05-20 Yao Qi <yao@codesourcery.com>
10056
10057 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
10058 'test_file_name'. Treat args as a string instead of a list.
10059 (gdb_init): Rename argument 'args' by 'test_file_name'.
10060
10061 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10062
10063 * gdb.arch/powerpc-power.exp: New file.
10064 * gdb.arch/powerpc-power.s: New file.
10065
10066 2014-05-16 Doug Evans <dje@google.com>
10067
10068 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
10069 * gdb.base/completion.exp: Check that all expected files exist
10070 before doing file completion.
10071
10072 2014-05-16 Doug Evans <dje@google.com>
10073
10074 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
10075 Update.
10076 (do_syscall_tests_without_xml): Update.
10077
10078 2014-05-16 Pedro Alves <palves@redhat.com>
10079
10080 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
10081 instead of "unknown output after running".
10082
10083 2014-05-16 Yao Qi <yao@codesourcery.com>
10084
10085 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
10086 file1.txt from host at the end.
10087 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10088
10089 2014-05-15 Doug Evans <dje@google.com>
10090
10091 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
10092 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
10093 loading file. Add test for TU lookup.
10094
10095 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10096
10097 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
10098 calling "-exec-arguments" or "set args" before running the
10099 inferior.
10100
10101 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10102
10103 * lib/mi-support.exp (mi_expect_stop): Expect message for
10104 inferiors that exit with non-zero exit code.
10105
10106 2014-05-14 Yao Qi <yao@codesourcery.com>
10107
10108 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
10109 match absolute path on remote host.
10110 (test_file_list_exec_source_files): Remove "/" from the
10111 pattern.
10112
10113 2014-05-14 Yao Qi <yao@codesourcery.com>
10114
10115 * boards/local-remote-host-notty.exp (${board}_file): New
10116 proc.
10117
10118 2014-05-07 Kyle McMartin <kyle@redhat.com>
10119
10120 Pushed by Joel Brobecker <brobecker@adacore.com>.
10121 * gdb.arch/aarch64-atomic-inst.c: New file.
10122 * gdb.arch/aarch64-atomic-inst.exp: New file.
10123
10124 2014-05-07 Yao Qi <yao@codesourcery.com>
10125
10126 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
10127 in current context" too.
10128
10129 2014-05-05 Keith Seitz <keiths@redhat.com>
10130
10131 * gdb.linespec/ls-dollar.exp: Add test for linespec
10132 file:convenience_variable.
10133
10134 2014-05-05 Yao Qi <yao@codesourcery.com>
10135
10136 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
10137 traceframes into tfile and ctf trace files. Read data from
10138 trace file and test collected data.
10139 (gdb_collect_locals_test): Likewise.
10140 (gdb_unavailable_registers_test): Likewise.
10141 (gdb_unavailable_floats): Likewise.
10142 (gdb_collect_globals_test): Likewise.
10143 (top-level): Append "ctf" to trace_file_targets if GDB
10144 supports.
10145
10146 2014-05-05 Yao Qi <yao@codesourcery.com>
10147
10148 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
10149 code to ...
10150 (gdb_collect_args_test_1): ... it. New proc.
10151 (gdb_collect_locals_test): Move some code to ...
10152 (gdb_collect_locals_test_1): ... it. New proc.
10153 (gdb_unavailable_registers_test): Move some code to ...
10154 (gdb_unavailable_registers_test_1): ... it. New proc.
10155 (gdb_unavailable_floats): Move some code to ...
10156 (gdb_unavailable_floats_1): ... it. New proc.
10157
10158 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10159
10160 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
10161 probes to test for bitness recognition.
10162 * gdb.arch/amd64-stap-optional-prefix.exp
10163 (test_probe_value_without_reg): New procedure.
10164 Add code to test for different kinds of bitness.
10165
10166 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10167
10168 PR breakpoints/16889
10169 * gdb.arch/amd64-stap-optional-prefix.S: New file.
10170 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10171
10172 2014-05-01 Pedro Alves <palves@redhat.com>
10173
10174 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
10175 gdb_file_cmd if no file is specified.
10176 * boards/native-extended-gdbserver.exp (gdb_load): Use the
10177 last_loaded_file to set the remote exec-file.
10178
10179 2014-05-01 Pedro Alves <palves@redhat.com>
10180
10181 * boards/local-remote-host.exp: New file.
10182
10183 2014-05-01 Pedro Alves <palves@redhat.com>
10184
10185 * boards/local-remote-host.exp: Rename to ...
10186 * boards/local-remote-host-notty.exp: ... this.
10187
10188 2014-04-28 Joel Brobecker <brobecker@adacore.com>
10189
10190 * gdb.ada/dyn_arrayidx: New testcase.
10191
10192 2014-04-26 Yao Qi <yao@codesourcery.com>
10193
10194 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
10195 and compute the length of function main. Save it in
10196 $main_length.
10197 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
10198 (top-level): Use gdb_compile to compile objects into
10199 executable and restart GDB. Remove invocation to
10200 prepare_for_testing.
10201
10202 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
10203 Pedro Alves <palves@redhat.com>
10204
10205 PR server/16255
10206 * gdb.multi/multi-attach.c: New file.
10207 * gdb.multi/multi-attach.exp: New file.
10208
10209 2014-04-25 Pedro Alves <palves@redhat.com>
10210
10211 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
10212 user.
10213 (top level): Test that "set remote conditional-breakpoints-packet
10214 off" works as intended.
10215 * gdb.base/dprintf.exp: Test that "set remote
10216 breakpoint-commands-packet off" works as intended.
10217 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
10218 New function.
10219 (top level): Call it.
10220 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
10221 remote fast-tracepoints-packet off" works as intended.
10222 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
10223 * lib/gdb.exp (gdb_is_target_remote): ... here.
10224
10225 2014-04-24 David Blaikie <dblaikie@gmail.com>
10226
10227 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
10228 ensure clang would not discard them.
10229 * gdb.base/gdbvars.c: Ditto.
10230 * gdb.base/memattr.c: Ditto.
10231 * gdb.base/whatis.c: Ditto.
10232 * gdb.python/py-prettyprint.c: Ditto.
10233 * gdb.trace/actions.c: Ditto.
10234 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
10235 ensure clang would not discard it.
10236
10237 2014-04-24 David Blaikie <dblaikie@gmail.com>
10238
10239 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
10240 clang to emit the full definition of type required by the test
10241 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
10242
10243 2014-04-24 David Blaikie <dblaikie@gmail.com>
10244
10245 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
10246 coax Clang into emitting the definition of the type.
10247 * gdb.cp/pr10728-x.h (y): Ditto.
10248 * gdb.cp/pr10728-y.cc (y): Ditto.
10249
10250 2014-04-24 David Blaikie <dblaikie@gmail.com>
10251
10252 * gdb.base/label.exp: XFAIL label related tests under Clang.
10253 * gdb.cp/cplabel.exp: Ditto.
10254 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
10255 under Clang those using labels.
10256
10257 2014-04-25 Yao Qi <yao@codesourcery.com>
10258
10259 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
10260 double_label.
10261 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
10262 partial_label and double_label.
10263
10264 2014-04-24 David Blaikie <dblaikie@gmail.com>
10265
10266 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
10267
10268 2014-04-24 David Blaikie <dblaikie@gmail.com>
10269
10270 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
10271 of the function to work across GCC and Clang.
10272 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
10273 pointer types (const void ** const V void **).
10274
10275 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
10276 Walfred Tedeschi <walfred.tedeschi@intel.com>
10277
10278 * Makefile.in (EXECUTABLES): Added i386-avx512.
10279 * gdb.arch/i386-avx512.c: New file.
10280 * gdb.arch/i386-avx512.exp: Likewise.
10281
10282 2014-04-23 Keith Seitz <keiths@redhat.com>
10283
10284 * lib/mi-support.exp (mi_list_breakpoints): Delete.
10285 (mi_make_breakpoint_table): New procedure.
10286 (mi_create_breakpoint): Use mi_make_breakpoint
10287 and return the result.
10288 (mi_make_breakpoint): New procedure.
10289 (mi_build_kv_pairs): New procedure.
10290
10291 * gdb.mi/mi-break.exp: Remove unused globals,
10292 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
10293 All callers updated.
10294 * gdb.mi/mi-dprintf.exp: Use variable to track command
10295 number.
10296 Update all callers of mi_create_breakpoint and use
10297 mi_make_breakpoint_table.
10298 Remove any unused global variables.
10299 * gdb.mi/mi-nonstop.exp: Likewise.
10300 * gdb.mi/mi-nsintrall.exp: Likewise.
10301 * gdb.mi/mi-nsmoribund.exp: Likewise.
10302 * gdb.mi/mi-nsthrexec.exp: Likewise.
10303 * gdb.mi/mi-reverse.exp: Likewise.
10304 * gdb.mi/mi-simplerun.exp: Likewise.
10305 * gdb.mi/mi-stepn.exp: Likewise.
10306 * gdb.mi/mi-syn-frame.exp: Likewise.
10307 * gdb.mi/mi-until.exp: Likewise.
10308 * gdb.mi/mi-var-cp.exp: Likewise.
10309 * gdb.mi/mi-var-display.exp: Likewise.
10310 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
10311 * gdb.mi/mi2-var-child.exp: Likewise.
10312 * gdb.mi/mi-vla-c99.exp: Likewise.
10313 * lib/mi-support.exp: Likewise.
10314
10315 From Ian Lance Taylor <iant@cygnus.com>:
10316 * lib/gdb.exp (parse_args): New procedure.
10317
10318 2014-04-23 Pedro Alves <palves@redhat.com>
10319
10320 * gdb.base/break-unload-file.c: New file.
10321 * gdb.base/break-unload-file.exp: New file.
10322 * gdb.base/sym-file-lib.c (baz): New function.
10323 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
10324 field.
10325 (load): Store the segment's mapped size.
10326 (unload): New function.
10327 (unload_shlib): New function.
10328 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
10329 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
10330 set a breakpoint at baz, and call it.
10331 * gdb.base/sym-file.exp: New tests for stale breakpoint
10332 instructions.
10333
10334 2014-04-23 Pedro Alves <palves@redhat.com>
10335
10336 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
10337 * gdb.base/hbreak-in-shr-unsupported.c: New file.
10338 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
10339 * gdb.base/hbreak-unmapped.c: New file.
10340 * gdb.base/hbreak-unmapped.exp: New file.
10341 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
10342 * lib/gdb.exp (gdb_is_target_remote): ... here.
10343
10344 2014-04-22 Pedro Alves <palves@redhat.com>
10345
10346 * gdb.base/consecutive-step-over.c: New file.
10347 * gdb.base/consecutive-step-over.exp: New file.
10348
10349 2014-04-22 Pedro Alves <palves@redhat.com>
10350
10351 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
10352 instead of send_gdb/gdb_expect.
10353
10354 2014-04-22 Yao Qi <yao@codesourcery.com>
10355
10356 * lib/trace-support.exp (generate_tracefile): New procedure.
10357 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
10358 return 0.
10359 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
10360 if generate_tracefile returns 1.
10361
10362 2014-04-18 Tom Tromey <palves@redhat.com>
10363 Pedro alves <tromey@redhat.com>
10364
10365 PR backtrace/15558
10366 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
10367 with a backtrace limit.
10368 * gdb.python/py-frame-inline.exp: Test running to an inline
10369 function with a backtrace limit, and printing the newest frame.
10370 * gdb.python/py-frame-inline.c (main): Call f.
10371
10372 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10373
10374 * gdb.java/jnpe.exp: Drop srcdir from untested path.
10375
10376 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10377
10378 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
10379 Drop prefix from unsupported source file path.
10380
10381 2014-04-17 Yao Qi <yao@codesourcery.com>
10382
10383 * lib/gdb.exp (with_target_charset): New proc.
10384 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10385 with_target_charset.
10386 (test_print_strings): Likewise.
10387 (test_repeat_bytes): Likewise.
10388 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10389 for some tests.
10390
10391 2014-04-16 Keith Seitz <keiths@redhat.com>
10392
10393 PR gdb/15827
10394 * gdb.dwarf2/corrupt.c: New file.
10395 * gdb.dwarf2/corrupt.exp: New file.
10396
10397 2014-04-16 Keith Seitz <keiths@redhat.com>
10398
10399 PR c++/16597
10400 * gdb.cp/namelessclass.cc: New file.
10401 * gdb.cp/namelessclass.exp: New file.
10402 * gdb.cp/namelessclass.S: New file.
10403
10404 2014-04-16 Doug Evans <dje@google.com>
10405
10406 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10407 Add comment.
10408 (gdbserver_default_get_comm_port): New function.
10409 (gdbserver_start): Check if board file provided
10410 "gdbserver,get_comm_port" and use it if so.
10411 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10412 (gdb,socketport): Set to "stdio".
10413 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10414 (stdio_gdbserver_template): Delete.
10415 (${board}_get_remote_address): Update.
10416 (${board}_build_remote_cmd): Delete.
10417 (${board}_get_comm_port): New function.
10418 (${board}_spawn): Update.
10419 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10420 Delete.
10421 (${board}_get_remote_address): Update.
10422 (${board}_get_comm_port): New function.
10423
10424 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
10425
10426 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10427 appearing in any order.
10428
10429 2014-04-15 Doug Evans <dje@google.com>
10430
10431 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10432 uninitialized value of "description".
10433
10434 2014-04-15 Keith Seitz <keiths@redhat.com>
10435
10436 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10437 Remove unused globals.
10438 (test_running_the_program): Likewise.
10439 (test_controlled_execution): Likewise.
10440 (test_controlling_breakpoints): Likewise.
10441 (test_program_termination): Likewise.
10442
10443 2014-04-15 Keith Seitz <keiths@redhat.com>
10444
10445 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10446 unused globals.
10447 (test_rbreak_creation_and_listing): Likewise.
10448 (test_ignore_count): Likewise.
10449 (test_error): Likewise.
10450
10451 2014-04-15 Pedro Alves <palves@redhat.com>
10452
10453 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10454 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10455 sym-file-loader.c.
10456 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10457 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10458 to sym-file-loader.c.
10459 (struct library): Forward declare.
10460 (load_shlib, lookup_function): Change prototypes.
10461 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10462 (translate_offset): Remove declarations.
10463 (get_text_addr): New declaration.
10464 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10465 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10466 sym-file-loader.h.
10467 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10468 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10469 here from sym-file-loader.h.
10470 (struct library): New structure.
10471 (load_shlib, lookup_function): Change prototypes and adjust to
10472 work with a struct library.
10473 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10474 (translate_offset): Make static.
10475 (get_text_addr): New function.
10476 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
10477
10478 2014-04-15 Pedro Alves <palves@redhat.com>
10479
10480 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
10481
10482 2014-04-15 Pedro Alves <palves@redhat.com>
10483
10484 * gdb.base/sym-file-loader.c: Include <limits.h>.
10485 (SELF_LINK): New define.
10486 (get_origin): New function.
10487 (load_shlib): Use it.
10488 * gdb.base/sym-file.exp: Don't early return if the target is
10489 remote. Use runto_main, and issue fail is that fails. Use
10490 gdb_load_shlibs.
10491 (shlib_name): Delete.
10492 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
10493
10494 2014-04-15 Pedro Alves <palves@redhat.com>
10495
10496 * gdb.base/sym-file.exp: Remove regex characters from test
10497 message. Don't refer to breakpoint numbers in test messages.
10498
10499 2014-04-14 Keith Seitz <keiths@redhat.com>
10500
10501 PR c++/16253
10502 * gdb.cp/var-tag.cc: New file.
10503 * gdb.cp/var-tag.exp: New file.
10504 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10505 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10506 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10507 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10508
10509 2014-04-14 Tom Tromey <tromey@redhat.com>
10510
10511 * gdb.cp/classes.exp (test_enums): Handle underlying type.
10512 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
10513 type.
10514 * gdb.cp/enum-class.exp: New file.
10515 * gdb.cp/enum-class.cc: New file.
10516
10517 2014-04-14 Tom Tromey <tromey@redhat.com>
10518
10519 * gdb.dwarf2/enum-type.exp: New file.
10520
10521 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10522
10523 * gdb.mi/mi-vla-c99.exp: New file.
10524 * gdb.mi/vla.c: New file.
10525
10526 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10527
10528 * gdb.base/vla-datatypes.c: New file.
10529 * gdb.base/vla-datatypes.exp: New file.
10530
10531 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10532
10533 * gdb.base/vla-ptr.c: New file.
10534 * gdb.base/vla-ptr.exp: New file.
10535
10536 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10537
10538 * gdb.dwarf2/count.exp: New file.
10539
10540 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10541
10542 * gdb.base/vla-sideeffect.c: New file.
10543 * gdb.base/vla-sideeffect.exp: New file.
10544
10545 2014-04-14 David Blaikie <dblaikie@gmail.com>
10546
10547 * gdb.mi/non-stop.c: Add return value for non-void function return
10548 statement.
10549 * gdb.threads/staticthreads.c: Ditto.
10550
10551 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
10552 Doug Evans <xdje42@gmail.com>
10553
10554 * gdb.guile/scm-value.c: Improve test case.
10555 * gdb.guile/scm-value.exp: Add new test.
10556
10557 2014-04-11 David Blaikie <dblaikie@gmail.com>
10558
10559 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
10560 override Clang's default.
10561
10562 2014-04-11 Joel Brobecker <brobecker@adacore.com>
10563
10564 Revert the following changes (regressions):
10565
10566 * gdb.base/vla-sideeffect.c: New file.
10567 * gdb.base/vla-sideeffect.exp: New file.
10568
10569 * gdb.dwarf2/count.exp: New file.
10570
10571 * gdb.base/vla-multi.c: New file.
10572 * gdb.base/vla-multi.exp: New file.
10573
10574 * gdb.base/vla-ptr.c: New file.
10575 * gdb.base/vla-ptr.exp: New file.
10576
10577 * gdb.base/vla-datatypes.c: New file.
10578 * gdb.base/vla-datatypes.exp: New file.
10579
10580 * gdb.mi/mi-vla-c99.exp: New file.
10581 * gdb.mi/vla.c: New file.
10582
10583 2014-04-11 Keith Seitz <keiths@redhat.com>
10584
10585 PR c++/16675
10586 * gdb.cp/cpsizeof.exp: New file.
10587 * gdb.cp/cpsizeof.cc: New file.
10588
10589 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10590
10591 * gdb.mi/mi-vla-c99.exp: New file.
10592 * gdb.mi/vla.c: New file.
10593
10594 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10595
10596 * gdb.base/vla-datatypes.c: New file.
10597 * gdb.base/vla-datatypes.exp: New file.
10598
10599 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10600
10601 * gdb.base/vla-ptr.c: New file.
10602 * gdb.base/vla-ptr.exp: New file.
10603
10604 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10605
10606 * gdb.base/vla-multi.c: New file.
10607 * gdb.base/vla-multi.exp: New file.
10608
10609 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10610
10611 * gdb.dwarf2/count.exp: New file.
10612
10613 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10614
10615 * gdb.base/vla-sideeffect.c: New file.
10616 * gdb.base/vla-sideeffect.exp: New file.
10617
10618 2014-04-11 Yao Qi <yao@codesourcery.com>
10619
10620 * gdb.base/completion.exp: Check file exists before running tests
10621 on file completion.
10622
10623 2014-04-10 Pedro Alves <palves@redhat.com>
10624
10625 * gdb.base/cond-eval-mode.c: New file.
10626 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
10627 prepare_for_testing to build the new file. Check result of
10628 runto_main.
10629 (test_break, test_watch): New procedures.
10630 (top level): Use them.
10631
10632 2014-04-08 Pierre Muller <muller@sourceware.org>
10633
10634 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
10635 Ctrl-V use for mingw hosts.
10636
10637 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
10638
10639 * gdb.python/py-value.c: Improve test case.
10640 * gdb.python/py-value.exp: Add new test.
10641
10642 2014-04-07 David Blaikie <dblaikie@gmail.com>
10643
10644 * lib/compiler.c: Identify the clang compiler.
10645 * lib/compiler.cc: Ditto.
10646
10647 2014-04-03 Yao Qi <yao@codesourcery.com>
10648
10649 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
10650
10651 2014-04-01 Anton Blanchard <anton@samba.org>
10652
10653 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
10654 messages unique.
10655
10656 2014-04-01 Anton Blanchard <anton@samba.org>
10657
10658 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
10659 prepare_for_testing.
10660
10661 2014-04-01 Anton Blanchard <anton@samba.org>
10662
10663 * gdb.arch/ppc64-atomic-inst.c: Remove.
10664 * gdb.arch/ppc64-atomic-inst.S: New file.
10665 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
10666
10667 2014-03-31 Doug Evans <dje@google.com>
10668
10669 * gdb.base/print-symbol-loading-lib.c: New file.
10670 * gdb.base/print-symbol-loading-main.c: New file.
10671 * gdb.base/print-symbol-loading.exp: New file.
10672
10673 2014-03-31 Yao Qi <yao@codesourcery.com>
10674
10675 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
10676
10677 2014-03-28 Joel Brobecker <brobecker@adacore.com>
10678
10679 * gdb.ada/mi_dyn_arr: New testcase.
10680
10681 2014-03-27 Doug Evans <dje@google.com>
10682
10683 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
10684
10685 2014-03-27 Yao Qi <yao@codesourcery.com>
10686
10687 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
10688 if target is nios2-*-*.
10689
10690 2014-03-26 Yao Qi <yao@codesourcery.com>
10691
10692 * lib/gdb.exp (readline_is_used): New proc.
10693 * gdb.base/completion.exp: Move tests on command complete up.
10694 Skip the rest of tests if readline is not used.
10695 * gdb.ada/complete.exp: Skp the test if readline is not
10696 used.
10697 * gdb.base/filesym.exp: Likewise.
10698 * gdb.base/macscp.exp: Likewise.
10699 * gdb.base/readline-ask.exp: Likewise.
10700 * gdb.base/readline.exp: Likewise.
10701 * gdb.python/py-cmd.exp: Likewise.
10702 * gdb.trace/tfile.exp: Likewise.
10703
10704 2014-03-26 Yao Qi <yao@codesourcery.com>
10705
10706 * gdb.base/macscp.exp: Fix code format issues.
10707
10708 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
10709
10710 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
10711 * gdb.asm/powerpc64le.inc: New file.
10712
10713 2014-03-25 Pedro Alves <palves@redhat.com>
10714 Doug Evans <dje@google.com>
10715
10716 * gdb.base/source-execution.c: New file.
10717 * gdb.base/source-execution.exp: New file.
10718 * gdb.base/source-execution.gdb: New file.
10719
10720 2014-03-24 Doug Evans <dje@google.com>
10721
10722 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
10723 using fission.
10724
10725 2014-03-24 Hui Zhu <hui@codesourcery.com>
10726 Pedro Alves <palves@redhat.com>
10727
10728 PR breakpoints/16101
10729 * gdb.base/dprintf.exp: Use unsupported rather than changing the
10730 test pass/fail messages. Detect missing support for dprintf when
10731 breakpoints are actually inserted.
10732 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
10733 breakpoints are actually inserted.
10734 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
10735 fails.
10736
10737 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10738
10739 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
10740
10741 2014-03-22 Doug Evans <xdje42@gmail.com>
10742
10743 * gdb.python/python.exp (python not supported): Verify multi-line
10744 python command issues an error.
10745 * gdb.guile/guile.exp (guile not supported): Verify multi-line
10746 guile command issues an error.
10747
10748 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
10749
10750 * gdb.threads/thread-specific.exp: Handle the lack of usable
10751 $this_breakpoint and $this_thread.
10752
10753 2014-03-21 Hui Zhu <hui@codesourcery.com>
10754
10755 * gdb.base/attach.exp (do_command_attach_tests): New.
10756
10757 2014-03-20 Tom Tromey <tromey@redhat.com>
10758 Pedro Alves <palves@redhat.com>
10759
10760 PR cli/15718
10761 * gdb.base/condbreak-call-false.c: New file.
10762 * gdb.base/condbreak-call-false.exp: New file.
10763
10764 2014-03-20 Pedro Alves <palves@redhat.com>
10765
10766 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
10767 Delete.
10768 (block_signals, unblock_signals): Delete.
10769 (child_function_2, main): Remove references to deleted variable
10770 and functions.
10771
10772 2014-03-20 Pedro Alves <palves@redhat.com>
10773
10774 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
10775 Use pthread_kill to signal thread 2.
10776 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10777 Adjust to make the test send itself a signal rather than using the
10778 host's "kill" command.
10779
10780 2014-03-20 Pedro Alves <palves@redhat.com>
10781
10782 * gdb.threads/multiple-step-overs.c: New file.
10783 * gdb.threads/multiple-step-overs.exp: New file.
10784 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10785 Adjust expected infrun debug output.
10786
10787 2014-03-20 Pedro Alves <palves@redhat.com>
10788
10789 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
10790 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
10791
10792 2014-03-20 Pedro Alves <palves@redhat.com>
10793
10794 PR breakpoints/7143
10795 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
10796 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
10797 of gdb_test_multiple.
10798 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
10799 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
10800
10801 2014-03-20 Pedro Alves <palves@redhat.com>
10802
10803 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
10804 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
10805
10806 2014-03-19 Pedro Alves <palves@redhat.com>
10807
10808 * gdb.base/async.exp: Remove early return.
10809
10810 2014-03-19 Pedro Alves <palves@redhat.com>
10811
10812 * gdb.base/async.exp (step& tests): Pass explicit test messages.
10813
10814 2014-03-19 Pedro Alves <palves@redhat.com>
10815
10816 * gdb.base/async.exp (test_background): Expect \r\n after
10817 "completed." in the fail pattern.
10818
10819 2014-03-19 Pedro Alves <palves@redhat.com>
10820
10821 * gdb.base/async.exp (test_background): New procedure.
10822 Use it for all background execution command tests.
10823
10824 2014-03-19 Pedro Alves <palves@redhat.com>
10825
10826 * gdb.base/async.exp: Use prepare_for_testing.
10827
10828 2014-03-19 Pedro Alves <palves@redhat.com>
10829
10830 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
10831 the same line.
10832
10833 2014-03-19 Pedro Alves <palves@redhat.com>
10834
10835 * gdb.base/async.c (main): Add "jump here" and "until here" line
10836 marker comments.
10837 * gdb.base/async.exp (jump_here): New global.
10838 (jump& test): Use it.
10839 (until_here): New global.
10840 (until& test): Use it.
10841
10842 2014-03-19 Pedro Alves <palves@redhat.com>
10843
10844 * gdb.base/async.exp: Don't frob gdb_protocol.
10845
10846 2014-03-18 Doug Evans <xdje42@gmail.com>
10847
10848 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
10849 Fix spelling of exec-done-display.
10850
10851 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10852
10853 PR gdb/15358
10854 * gdb.base/gdb-sigterm.c: New file.
10855 * gdb.base/gdb-sigterm.exp: New file.
10856
10857 2014-03-18 Pedro Alves <palves@redhat.com>
10858
10859 PR gdb/13860
10860 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
10861 * lib/mi-support.exp (mi_expect_stop): Add special handling for
10862 solib-event.
10863
10864 2014-03-17 Joel Brobecker <brobecker@adacore.com>
10865
10866 * gdb.ada/pckd_arr_ren: New testcase.
10867
10868 2014-03-13 Doug Evans <xdje42@gmail.com>
10869
10870 PR guile/16612
10871 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
10872 collect after discarding symbols.
10873
10874 2014-03-13 Ludovic Courtès <ludo@gnu.org>
10875 Doug Evans <xdje42@gmail.com>
10876
10877 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
10878 to history survives a gc.
10879
10880 2014-03-13 Pedro Alves <palves@redhat.com>
10881
10882 * gdb.base/default.exp: Don't test "target procfs".
10883
10884 2014-03-13 Pedro Alves <palves@redhat.com>
10885
10886 * gdb.base/default.exp: Update "target child" and "target procfs"
10887 tests to not expect "Unix".
10888
10889 2014-03-12 Tom Tromey <tromey@redhat.com>
10890
10891 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
10892 New procs. Add target-async tests.
10893 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
10894 Add target-async tests.
10895
10896 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10897
10898 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
10899 'func_start' and 'func_end' for the beginning and end of the
10900 function code, respectively.
10901 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
10902 'func_end' instead of 'func' and 'main'.
10903
10904 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10905
10906 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
10907 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
10908 generate the debug info assembler source.
10909
10910 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10911
10912 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
10913 * gdb.dwarf2/arr-subrange.exp: Likewise.
10914 * gdb.dwarf2/dwz.exp: Likewise.
10915 * gdb.dwarf2/method-ptr.exp: Likewise.
10916 * gdb.dwarf2/missing-sig-type.exp: Likewise.
10917 * gdb.dwarf2/subrange.exp: Likewise.
10918 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
10919 * gdb.dwarf2/implptrpiece.exp: Likewise.
10920 * gdb.dwarf2/nostaticblock.exp: Likewise.
10921
10922 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
10923
10924 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
10925 directory to absolute path name arguments.
10926
10927 2014-03-10 Joel Brobecker <brobecker@adacore.com>
10928
10929 * gdb.ada/tagged_access: New testcase.
10930
10931 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
10932
10933 * gdb.btrace/data.exp: Update expected output.
10934
10935 2014-03-06 Yao Qi <yao@codesourcery.com>
10936
10937 * gdb.trace/pr16508.exp: New file.
10938
10939 2014-03-05 Pedro Alves <palves@redhat.com>
10940
10941 PR gdb/16575
10942 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
10943 procedure.
10944 (top level): Adjust to use it. Add tests that exercise breakpoint
10945 interaction with the code-cache.
10946
10947 2014-02-26 Ludovic Courtès <ludo@gnu.org>
10948
10949 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
10950 test for 'history-append!'.
10951
10952 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10953
10954 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
10955 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
10956 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
10957 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
10958 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
10959 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
10960
10961 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10962
10963 * testsuite/gdb.python/py-pp-re-notag.c: New file.
10964 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
10965 * testsuite/gdb.python/py-pp-re-notag.p: New file.
10966
10967 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10968
10969 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
10970
10971 2014-02-26 Joel Brobecker <brobecker@adacore.com>
10972
10973 * gdb.dwarf2/arr-stride.c: New file.
10974 * gdb.dwarf2/arr-stride.exp: New file.
10975
10976 2014-02-26 Pedro Alves <palves@redhat.com>
10977
10978 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
10979 that won't ever trigger. Make sure that GDB reports the correct
10980 breakpoint that caused the stop.
10981
10982 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10983
10984 PR gdb/16626
10985 * gdb.base/auto-load-script: New file.
10986 * gdb.base/auto-load.c: New file.
10987 * gdb.base/auto-load.exp: New file.
10988
10989 PR gdb/16626
10990 * gdb.base/auto-load.exp: Fix out-of-srctree run.
10991
10992 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10993
10994 Fix dw2-icycle.exp -fsanitize=address GDB crash.
10995 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
10996
10997 2014-02-24 Doug Evans <dje@google.com>
10998
10999 * lib/gdb.exp (run_on_host): Log error output if program fails.
11000
11001 2014-02-21 Pedro Alves <palves@redhat.com>
11002
11003 * gdb.threads/step-after-sr-lock.c: Rename to ...
11004 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
11005 * gdb.threads/step-after-sr-lock.exp: Rename to ...
11006 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11007 ... this.
11008
11009 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
11010
11011 PR tdep/16397
11012 * gdb.arch/amd64-stap-special-operands.exp: New file.
11013 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
11014 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
11015 * gdb.arch/amd64-stap-triplet.S: Likewise.
11016 * gdb.arch/amd64-stap-triplet.c: Likewise.
11017
11018 2014-02-20 Joel Brobecker <brobecker@adacore.com>
11019
11020 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
11021 in .section pseudo-op.
11022
11023 2014-02-20 lin zuojian <manjian2006@gmail.com>
11024 Joel Brobecker <brobecker@adacore.com>
11025 Doug Evans <xdje42@gmail.com>
11026
11027 PR symtab/16581
11028 * gdb.dwarf2/dw2-icycle.S: New file.
11029 * gdb.dwarf2/dw2-icycle.c: New file.
11030 * gdb.dwarf2/dw2-icycle.exp: New file.
11031
11032 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
11033
11034 * gdb.python/py-value-cc.cc: Improve test case to enable testing
11035 operations on gdb.Value objects.
11036 * gdb.python/py-value-cc.exp: Add new test to test operations on
11037 gdb.Value objects.
11038
11039 2014-02-18 Doug Evans <dje@google.com>
11040
11041 * Makefile.in (TESTS): New variable.
11042 (expanded_tests, expanded_tests_or_none): New variables
11043 (check-single): Pass $(expanded_tests_or_none) to runtest.
11044 (check-parallel): Only run tests in $(TESTS) if non-empty.
11045 (check/no-matching-tests-found): New rule.
11046 * README: Document TESTS makefile variable.
11047
11048 2014-02-18 Doug Evans <dje@google.com>
11049
11050 * Makefile.in (check-parallel): rm -rf outputs temp.
11051
11052 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11053
11054 Fix "ERROR: no fileid for" in the testsuite.
11055 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
11056
11057 2014-02-12 Doug Evans <dje@google.com>
11058
11059 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
11060 (MISCELLANEOUS): New variable.
11061 (clean): rm -rf $(MISCELLANEOUS).
11062 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
11063 dwp live in the same directory as symlinks, with each symlink pointed
11064 to a differently named file in a different directory.
11065
11066 2014-02-11 Doug Evans <dje@google.com>
11067
11068 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
11069 of Tcl file commands.
11070
11071 2014-02-10 Mark Kettenis <kettenis@gnu.org>
11072
11073 * gdb.threads/step-after-sr-lock.exp: Avoid executing
11074 "kill -SIGUSR1 -1".
11075
11076 2014-02-10 Joel Brobecker <brobecker@adacore.com>
11077
11078 * gdb.ada/tick_length_array_enum_idx: New testcase.
11079
11080 2014-02-10 Doug Evans <xdje42@gmail.com>
11081
11082 * configure.ac (AC_OUTPUT): Add gdb.guile.
11083 * configure: Regenerate.
11084 * lib/gdb-guile.exp: New file.
11085 * lib/gdb.exp (get_target_charset): New function.
11086 * gdb.base/help.exp: Update expected output from "apropos apropos".
11087 * gdb.guile/Makefile.in: New file.
11088 * gdb.guile/guile.exp: New file.
11089 * gdb.guile/scm-arch.c: New file.
11090 * gdb.guile/scm-arch.exp: New file.
11091 * gdb.guile/scm-block.c: New file.
11092 * gdb.guile/scm-block.exp: New file.
11093 * gdb.guile/scm-breakpoint.c: New file.
11094 * gdb.guile/scm-breakpoint.exp: New file.
11095 * gdb.guile/scm-disasm.c: New file.
11096 * gdb.guile/scm-disasm.exp: New file.
11097 * gdb.guile/scm-equal.c: New file.
11098 * gdb.guile/scm-equal.exp: New file.
11099 * gdb.guile/scm-error.exp: New file.
11100 * gdb.guile/scm-error.scm: New file.
11101 * gdb.guile/scm-frame-args.c: New file.
11102 * gdb.guile/scm-frame-args.exp: New file.
11103 * gdb.guile/scm-frame-args.scm: New file.
11104 * gdb.guile/scm-frame-inline.c: New file.
11105 * gdb.guile/scm-frame-inline.exp: New file.
11106 * gdb.guile/scm-frame.c: New file.
11107 * gdb.guile/scm-frame.exp: New file.
11108 * gdb.guile/scm-generics.exp: New file.
11109 * gdb.guile/scm-gsmob.exp: New file.
11110 * gdb.guile/scm-iterator.c: New file.
11111 * gdb.guile/scm-iterator.exp: New file.
11112 * gdb.guile/scm-math.c: New file.
11113 * gdb.guile/scm-math.exp: New file.
11114 * gdb.guile/scm-objfile-script-gdb.in: New file.
11115 * gdb.guile/scm-objfile-script.c: New file.
11116 * gdb.guile/scm-objfile-script.exp: New file.
11117 * gdb.guile/scm-objfile.c: New file.
11118 * gdb.guile/scm-objfile.exp: New file.
11119 * gdb.guile/scm-ports.exp: New file.
11120 * gdb.guile/scm-pretty-print.c: New file.
11121 * gdb.guile/scm-pretty-print.exp: New file.
11122 * gdb.guile/scm-pretty-print.scm: New file.
11123 * gdb.guile/scm-section-script.c: New file.
11124 * gdb.guile/scm-section-script.exp: New file.
11125 * gdb.guile/scm-section-script.scm: New file.
11126 * gdb.guile/scm-symbol.c: New file.
11127 * gdb.guile/scm-symbol.exp: New file.
11128 * gdb.guile/scm-symtab-2.c: New file.
11129 * gdb.guile/scm-symtab.c: New file.
11130 * gdb.guile/scm-symtab.exp: New file.
11131 * gdb.guile/scm-type.c: New file.
11132 * gdb.guile/scm-type.exp: New file.
11133 * gdb.guile/scm-value-cc.cc: New file.
11134 * gdb.guile/scm-value-cc.exp: New file.
11135 * gdb.guile/scm-value.c: New file.
11136 * gdb.guile/scm-value.exp: New file.
11137 * gdb.guile/source2.scm: New file.
11138 * gdb.guile/types-module.cc: New file.
11139 * gdb.guile/types-module.exp: New file.
11140
11141 2014-02-10 Yao Qi <yao@codesourcery.com>
11142
11143 PR testsuite/16543
11144 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
11145 * configure: Regenerated.
11146 * Makefile.in: New file.
11147
11148 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11149
11150 * gdb.python/py-framefilter.exp: Fix typo.
11151
11152 2014-02-08 Yao Qi <yao@codesourcery.com>
11153
11154 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
11155 that no =breakpoint-modified is emitted when breakpoints are
11156 modified through MI commands.
11157
11158 2014-02-07 Pedro Alves <pedro@codesourcery.com>
11159 Pedro Alves <palves@redhat.com>
11160
11161 * gdb.threads/step-after-sr-lock.c: New file.
11162 * gdb.threads/step-after-sr-lock.exp: New file.
11163
11164 2014-02-07 Pedro Alves <palves@redhat.com>
11165
11166 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
11167
11168 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11169
11170 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
11171 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
11172
11173 2014-02-06 Doug Evans <xdje42@gmail.com>
11174
11175 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
11176 output.
11177
11178 * gdb.gdb/python-interrupts.exp: New file.
11179
11180 2014-02-05 Yao Qi <yao@codesourcery.com>
11181
11182 * gdb.trace/report.exp (use_collected_data): Test the output
11183 of "info threads" and "info inferiors".
11184
11185 2014-02-05 Yao Qi <yao@codesourcery.com>
11186
11187 Revert this patch:
11188
11189 2013-05-24 Yao Qi <yao@codesourcery.com>
11190
11191 * gdb.trace/tfile.exp: Test inferior and thread.
11192
11193 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11194
11195 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
11196 on a function.
11197 * gdb.base/step-bt.c: Call hello via function pointer to make
11198 sure its first instruction is executed on powerpc64le-linux.
11199
11200 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11201
11202 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
11203
11204 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11205
11206 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
11207 of the test patterns for use on little-endian systems.
11208
11209 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11210
11211 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
11212 (decimal_vector): Fix for little-endian.
11213
11214 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11215
11216 * gdb.arch/sparc-sysstep.exp: New file.
11217 * gdb.arch/sparc-sysstep.c: Likewise.
11218
11219 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
11220
11221 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11222
11223 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
11224
11225 2014-01-23 Tom Tromey <tromey@redhat.com>
11226
11227 * gdb.ada/array_char_idx: New testcase.
11228
11229 2014-01-23 Tom Tromey <tromey@redhat.com>
11230
11231 PR python/16487:
11232 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
11233 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
11234 classes.
11235
11236 2014-01-23 Tom Tromey <tromey@redhat.com>
11237
11238 PR python/16491:
11239 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
11240 string from an inferior frame.
11241 * gdb.python/py-framefilter-mi.exp: Update.
11242
11243 2014-01-22 Doug Evans <dje@google.com>
11244
11245 * gdb.server/server-mon.exp: Add tests for "set debug-format".
11246
11247 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11248
11249 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
11250
11251 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11252
11253 * gdb.trace/entry-values.exp: Remove excess space character from
11254 regex patterns. Handle s390 call instruction.
11255
11256 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11257
11258 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
11259 define "*_start" label. Make "name" static.
11260 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
11261 ${name} by references to ${name}_start.
11262
11263 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11264
11265 * gdb.base/info-macros.exp: Remove "debug" from the compile
11266 options.
11267
11268 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11269
11270 * gdb.dlang/demangle.exp: New file.
11271
11272 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11273
11274 * gdb.dlang/primitive-types.exp: New file.
11275
11276 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11277
11278 * configure.ac: Create gdb.dlang/Makefile.
11279 * configure: Regenerate.
11280 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
11281 * gdb.dlang/Makefile.in: New file.
11282 * lib/d-support.exp: New file.
11283 * lib/gdb.exp (skip_d_tests): New proc.
11284
11285 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11286
11287 * gdb.btrace/delta.exp: Check reverse stepi.
11288 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
11289 * gdb.btrace/finish.exp: New.
11290 * gdb.btrace/next.exp: New.
11291 * gdb.btrace/nexti.exp: New.
11292 * gdb.btrace/record_goto.c: Add comments.
11293 * gdb.btrace/step.exp: New.
11294 * gdb.btrace/stepi.exp: New.
11295 * gdb.btrace/multi-thread-step.c: New.
11296 * gdb.btrace/multi-thread-step.exp: New.
11297 * gdb.btrace/rn-dl-bind.c: New.
11298 * gdb.btrace/rn-dl-bind.exp: New.
11299 * gdb.btrace/data.c: New.
11300 * gdb.btrace/data.exp: New.
11301 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11302
11303 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11304
11305 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
11306 * gdb.btrace/exception.exp: Update.
11307 * gdb.btrace/instruction_history.exp: Update.
11308 * gdb.btrace/record_goto.exp: Update.
11309 * gdb.btrace/tailcall.exp: Update.
11310 * gdb.btrace/unknown_functions.exp: Update.
11311 * gdb.btrace/delta.exp: New.
11312
11313 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11314
11315 * gdb.btrace/record_goto.exp: Add backtrace test.
11316 * gdb.btrace/tailcall.exp: Add backtrace test.
11317
11318 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11319
11320 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
11321 * gdb.btrace/record_goto.c: New.
11322 * gdb.btrace/record_goto.exp: New.
11323 * gdb.btrace/x86-record_goto.S: New.
11324
11325 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11326
11327 * gdb.btrace/function_call_history.exp: Update tests.
11328 * gdb.btrace/instruction_history.exp: Update tests.
11329
11330 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11331
11332 * gdb.btrace/function_call_history.exp: Fix expected field
11333 order for "record function-call-history".
11334 Add new tests for "record function-call-history /c".
11335 * gdb.btrace/exception.cc: New.
11336 * gdb.btrace/exception.exp: New.
11337 * gdb.btrace/tailcall.exp: New.
11338 * gdb.btrace/x86-tailcall.S: New.
11339 * gdb.btrace/x86-tailcall.c: New.
11340 * gdb.btrace/unknown_functions.c: New.
11341 * gdb.btrace/unknown_functions.exp: New.
11342 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11343
11344 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11345
11346 * gdb.btrace/instruction_history.exp: Update.
11347 * gdb.btrace/function_call_history.exp: Update.
11348
11349 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11350
11351 * gdb.btrace/function_call_history.exp: Fix expected function
11352 trace.
11353 * gdb.btrace/instruction_history.exp: Initialize traced.
11354 Remove traced_functions.
11355
11356 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11357
11358 * gdb.btrace/function_call_history.exp: Update
11359 * gdb.btrace/instruction_history.exp: Update.
11360
11361 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11362
11363 * gdb.btrace/enable.exp: Update expected text.
11364
11365 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
11366
11367 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
11368 bytes.
11369
11370 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
11371
11372 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
11373
11374 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11375
11376 * lib/gdb.exp (supports_process_record): Return true for
11377 arm*-linux*. (supports_reverse): Likewise.
11378
11379 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11380
11381 PR python/15464
11382 PR python/16113
11383 * gdb.python/py-type.c: Enhance test case.
11384 * gdb.python/py-value-cc.cc: Likewise
11385 * gdb.python/py-type.exp: Add new tests.
11386 * gdb.python/py-value-cc.exp: Likewise
11387
11388 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11389 Pedro Alves <palves@redhat.com>
11390
11391 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11392 Make "name" extern.
11393 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11394 references to ${name}_start by references to ${name}.
11395
11396 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11397
11398 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11399
11400 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11401
11402 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11403
11404 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11405 Pedro Alves <palves@redhat.com>
11406
11407 * gdb.mi/mi-info-os.exp: Connect to the target with
11408 mi_gdb_target_load.
11409
11410 2014-01-08 Pedro Alves <palves@redhat.com>
11411
11412 * gdb.threads/reconnect-signal.c: New file.
11413 * gdb.threads/reconnect-signal.exp: New file.
11414
11415 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11416
11417 * gdb.base/source-dir.exp: New file.
11418
11419 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11420
11421 * gdb.ada/mi_interface: New testcase.
11422
11423 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11424
11425 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11426 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11427 gdb.ada/pp-rec-component/pck.ads: New files.
11428
11429 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11430
11431 * gdb.python/py-pp-integral.c: New file.
11432 * gdb.python/py-pp-integral.py: New file.
11433 * gdb.python/py-pp-integral.exp: New file.
11434
11435 For older changes see ChangeLog-1993-2013.
11436 \f
11437 ;; Local Variables:
11438 ;; mode: change-log
11439 ;; left-margin: 8
11440 ;; fill-column: 74
11441 ;; version-control: never
11442 ;; End:
11443
11444 Copyright 2014-2017 Free Software Foundation, Inc.
11445 Copying and distribution of this file, with or without modification,
11446 are permitted provided the copyright notice and this notice are preserved.
This page took 0.278816 seconds and 4 git commands to generate.