Fix gdb.python/py-record-btrace-threads.exp with Python 3
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
... / ...
CommitLineData
12017-05-04 Pedro Alves <palves@redhat.com>
2
3 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
4 Add parens to print call for Python 3.
5
62017-05-03 Keith Seitz <keiths@redhat.com>
7
8 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
9 (main): Call it.
10
112017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
12
13 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
14 to prev and next.
15
162017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
17
18 * gdb.python/py-record-btrace.exp: Remove test for
19 gdb.BtraceInstruction.error.
20
212017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
22
23 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
24
252017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
26
27 * gdb.python/py-record-btrace-threads.c: New file.
28 * gdb.python/py-record-btrace-threads.exp: New file.
29
302017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
31
32 PR testsuite/8595
33 * gdb.base/environ.exp: Make test available in all architectures.
34 Move bits related to "info program" testing to
35 gdb.base/info-program.exp. Rewrite tests to use the two new
36 procedures mentione below.
37 (test_set_show_env_var) New procedure.
38 (test_set_show_env_var_equal): Likewise.
39 * gdb.base/info-program.exp: New file.
40
412017-04-27 Keith Seitz <keiths@redhat.com>
42
43 * gdb.cp/oranking.cc (test15): New function.
44 (main): Call test15 and declare additional variables for testing.
45 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
46 "p foo101('abc')" tests.
47 Add tests for cv qualifier overloads.
48 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
49 "lvalue reference overload" test.
50 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
51 "print value of f1 on Child&& in f2" test.
52
532017-04-19 Pedro Alves <palves@redhat.com>
54
55 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
56 procedure.
57 (top level): Call it.
58 * lib/gdb.exp (gdb_define_cmd): New procedure.
59
602017-04-12 Pedro Alves <palves@redhat.com>
61
62 PR gdb/21323
63 * gdb.cp/wide_char_types.c: Include <wchar.h>.
64 (wchar): New global.
65 * gdb.cp/wide_char_types.exp (wide_char_types_program)
66 (do_test_wide_char, wide_char_types_no_program, top level): Add
67 wchar_t testing.
68
692017-04-12 Pedro Alves <palves@redhat.com>
70
71 PR c++/21323
72 * gdb.cp/wide_char_types.c: New file.
73 * gdb.cp/wide_char_types.exp: New file.
74
752017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
76
77 PR gdb/21352
78 * gdb.trace/tsv.exp: Add test for "tsave -r".
79
802017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
81
82 * gdb.dlang/watch-loc.c: New file.
83 * gdb.dlang/watch-loc.exp: New file.
84
852017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
86
87 * gdb.python/py-section-script.exp (sepdebug): New testcases.
88
892017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
90
91 * gdb.arch/arc-analyze-prologue.S: New file.
92 * gdb.arch/arc-analyze-prologue.exp: Likewise.
93
942017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
95
96 * gdb.arch/arc-decode-insn.S: New file.
97 * gdb.arch/arc-decode-insn.exp: Likewise.
98
992017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
100
101 PR tdep/20928
102 * gdb.arch/sparc64-regs.exp: New file.
103 * gdb.arch/sparc64-regs.S: Likewise.
104
1052017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
106
107 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
108 and memory view on Python 3.
109
1102017-03-20 Artemiy Volkov <artemiyv@acm.org>
111 Keith Seitz <keiths@redhat.com>
112
113 PR gdb/14441
114 * gdb.cp/demangle.exp: Add rvalue reference tests.
115 * gdb.cp/rvalue-ref-casts.cc: New file.
116 * gdb.cp/rvalue-ref-casts.exp: New file.
117 * gdb.cp/rvalue-ref-overload.cc: New file.
118 * gdb.cp/rvalue-ref-overload.exp: New file.
119 * gdb.cp/rvalue-ref-params.cc: New file.
120 * gdb.cp/rvalue-ref-params.exp: New file.
121 * gdb.cp/rvalue-ref-sizeof.cc: New file.
122 * gdb.cp/rvalue-ref-sizeof.exp: New file.
123 * gdb.cp/rvalue-ref-types.cc: New file.
124 * gdb.cp/rvalue-ref-types.exp: New file.
125 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
126 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
127
1282017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
129
130 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
131 New procedure.
132
1332017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
134
135 * lib/mi-support.exp (mi_gdb_test): Add additional message
136 for unexpected output.
137
1382017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
139
140 * gdb.base/examine-backward.c (Barrier): New character array
141 constant, to ensure that TestStrings is preceded by a string
142 terminator.
143
1442017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
145
146 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
147 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
148 and implicit pointer into such a location.
149
1502017-03-16 Doug Evans <dje@google.com>
151
152 * gdb.python/py-lazy-string (pointer): Really add new typedef.
153
1542017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
155
156 * gdb.cp/m-static.exp: Fix expectation for prototype of
157 test5.single_constructor and single_constructor::single_constructor.
158
1592017-03-16 Doug Evans <dje@google.com>
160
161 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
162 * gdb.guile/scm-lazy-string.c: New file.
163 * gdb.guile/scm-value.exp: Move lazy string tests to ...
164 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
165 for pointer, array, typedef lazy strings.
166
1672017-03-16 Doug Evans <dje@google.com>
168
169 PR python/17728, python/18439, python/18779
170 * gdb.python/py-value.c (main) Delete locals sptr, sn.
171 * gdb.python/py-lazy-string.c (pointer): New typedef.
172 (main): New locals ptr, array, typedef_ptr.
173 * gdb.python/py-value.exp: Move lazy string tests to ...
174 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
175 array, typedef lazy strings.
176
1772017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
178
179 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
180 Add optional 'test' parameter.
181
1822017-03-13 Simon Marchi <simon.marchi@ericsson.com>
183
184 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
185 Skip for versions of DejaGnu < 1.5.
186
1872017-03-13 Simon Marchi <simon.marchi@ericsson.com>
188
189 * lib/gdb.exp (dejagnu_version): New proc.
190 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
191 Use dejagnu_version.
192
1932017-03-10 Keith Seitz <keiths@redhat.com>
194
195 PR c++/8128
196 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
197 type from destructor regexps.
198 Add a branch which actually passes the test.
199 Adjust "ptype t5i" test names.
200
2012017-03-08 Pedro Alves <palves@redhat.com>
202
203 * gdb.base/step-over-exit.exp: Add explicit test message.
204
2052017-03-08 Pedro Alves <palves@redhat.com>
206
207 PR gdb/18360
208 * gdb.threads/interrupt-while-step-over.c: New file.
209 * gdb.threads/interrupt-while-step-over.exp: New file.
210
2112017-03-08 Pedro Alves <palves@redhat.com>
212
213 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
214 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
215
2162017-03-08 Pedro Alves <palves@redhat.com>
217
218 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
219 PKRU as not supported as a PASS.
220
2212017-03-08 Pedro Alves <palves@redhat.com>
222
223 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
224 prefix instead of $binfile1/$binfile2.
225 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
226 in test message.
227 * gdb.python/py-completion.exp: Use "load python file" as test
228 messages instead of unstable path names.
229
2302017-03-08 Pedro Alves <palves@redhat.com>
231 Jan Kratochvil <jan.kratochvil@redhat.com>
232
233 PR cli/21218
234 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
235 New proc.
236 (top level): Call it.
237
2382017-03-08 Pedro Alves <palves@redhat.com>
239
240 PR tui/21216
241 * gdb.tui/tui-nl-filtered-output.exp: New file.
242
2432017-03-08 Pedro Alves <palves@redhat.com>
244
245 * gdb.base/completion.exp: Move TUI completion tests to ...
246 * gdb.tui/completion.exp: ... this new file.
247
2482017-03-08 Pedro Alves <palves@redhat.com>
249
250 * gdb.base/tui-disasm-long-lines.c,
251 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
252 gdb.base/tui-layout.exp: Move to ...
253 * gdb.tui/: ... this new directory.
254
2552017-03-07 Pedro Alves <palves@redhat.com>
256
257 * gdb.base/tui-layout.c: New file.
258 * gdb.base/tui-layout.exp: New file.
259
2602017-03-07 Pedro Alves <palves@redhat.com>
261
262 * gdb.base/tui-layout.c: Rename to ...
263 * gdb.base/tui-disasm-long-lines.c: ... this.
264 * gdb.base/tui-layout.exp: Rename to ...
265 * gdb.base/tui-disasm-long-lines.exp: ... this.
266
2672017-03-07 Pedro Alves <palves@redhat.com>
268
269 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
270
2712017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
272
273 * i386-mpx-call.c: New file.
274 * i386-mpx-call.exp: New file.
275
2762017-02-28 Peter Bergner <bergner@vnet.ibm.com>
277
278 * gdb.arch/powerpc-power.exp: Delete test.
279 * gdb.arch/powerpc-power.s: Likewise.
280 * gdb.disasm/disassembler-options.exp: New test.
281 * gdb.arch/powerpc-altivec.exp: Likewise.
282 * gdb.arch/powerpc-altivec.s: Likewise.
283 * gdb.arch/powerpc-altivec2.exp: Likewise.
284 * gdb.arch/powerpc-altivec2.s: Likewise.
285 * gdb.arch/powerpc-altivec3.exp: Likewise.
286 * gdb.arch/powerpc-altivec3.s: Likewise.
287 * gdb.arch/powerpc-power7.exp: Likewise.
288 * gdb.arch/powerpc-power7.s: Likewise.
289 * gdb.arch/powerpc-power8.exp: Likewise.
290 * gdb.arch/powerpc-power8.s: Likewise.
291 * gdb.arch/powerpc-power9.exp: Likewise.
292 * gdb.arch/powerpc-power9.s: Likewise.
293 * gdb.arch/powerpc-vsx.exp: Likewise.
294 * gdb.arch/powerpc-vsx.s: Likewise.
295 * gdb.arch/powerpc-vsx2.exp: Likewise.
296 * gdb.arch/powerpc-vsx2.s: Likewise.
297 * gdb.arch/powerpc-vsx3.exp: Likewise.
298 * gdb.arch/powerpc-vsx3.s: Likewise.
299 * gdb.arch/arm-disassembler-options.exp: Likewise.
300 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
301 * gdb.arch/s390-disassembler-options.exp: Likewise.
302
3032017-02-23 Luis Machado <lgustavo@codesourcery.com>
304
305 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
306 (check_supported_features): ... this. Changed return type to void.
307 (supports_rdseed): New static global.
308 (rdseed): Check supports_rdseed.
309 (initialize): Call check_supported_features.
310
3112017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
312
313 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
314 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
315 and lqarx/stqcx.
316 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
317 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
318
3192017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
320
321 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
322 uppercase.
323
3242017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
325
326 * gdb.dwarf2/formdata16.c: New file.
327 * gdb.dwarf2/formdata16.exp: New file.
328 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
329
3302017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
331
332 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
333 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
334 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
335 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
336 DW_AT_GNU_*.
337
3382017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
339
340 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
341
3422017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
343
344 PR gdb/21164
345 * gdb.base/maint.exp: Add testcases for when the commands do
346 not have arguments.
347
3482017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
349
350 * gdb.cp/chained-calls.exp: Use p instead of P.
351
3522017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
353
354 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
355 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
356
3572017-02-14 Tom Tromey <tom@tromey.com>
358
359 PR python/13598:
360 * gdb.python/py-events.exp: Add before_prompt event tests.
361
3622017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
363
364 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
365
3662017-02-13 Luis Machado <lgustavo@codesourcery.com>
367
368 * gdb.linespec/explicit.c (my_unique_function_name): New function.
369 (main): Call my_unique_function_name.
370 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
371 completion of patterns with a single match.
372 Add missing -re switches to gdb_test_multiple calls.
373
3742017-02-13 Luis Machado <lgustavo@codesourcery.com>
375
376 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
377 return if core file is not recognized.
378
3792017-02-10 Simon Marchi <simon.marchi@ericsson.com>
380
381 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
382 and extra UIs.
383
3842017-02-10 Simon Marchi <simon.marchi@ericsson.com>
385
386 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
387 proc_with_prefix.
388
3892017-02-10 Tom Tromey <tom@tromey.com>
390
391 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
392
3932017-02-10 Martin Galvan <martingalvan@sourceware.org>
394
395 PR gdb/21122
396 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
397
3982017-02-08 Jerome Guitton <guitton@adacore.com>
399
400 * gdb.base/define.exp: Add test for command abbreviations
401 in define.
402
4032017-02-06 Luis Machado <lgustavo@codesourcery.com>
404
405 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
406 * gdb.reverse/insn-reverse-x86.c: New file.
407
4082017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
409
410 PR tdep/20936
411 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
412
4132017-02-03 Tom Tromey <tom@tromey.com>
414
415 PR rust/21097:
416 * gdb.rust/simple.exp: Add new tests.
417
4182017-02-02 Pedro Alves <palves@redhat.com>
419
420 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
421 tests.
422
4232017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
424
425 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
426 taking a 2-byte value out of a 4-byte DWARF implicit value on
427 big-endian targets.
428 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
429 logic. Add test cases for DW_OP_implicit.
430
4312017-02-01 Markus Metzger <markus.t.metzger@intel.com>
432
433 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
434
4352017-02-01 Markus Metzger <markus.t.metzger@intel.com>
436
437 * gdb.btrace/enable.exp: Call gdb_exit before
438 skip_gdbserver_tests.
439
4402017-02-01 Markus Metzger <markus.t.metzger@intel.com>
441
442 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
443 GDBFLAGS.
444
4452017-02-01 Markus Metzger <markus.t.metzger@intel.com>
446
447 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
448 the test is skipped.
449 * gdb.btrace/data.exp: Likewise.
450 * gdb.btrace/delta.exp: Likewise.
451 * gdb.btrace/dlopen.exp: Likewise.
452 * gdb.btrace/enable-running.exp: Likewise.
453 * gdb.btrace/enable.exp: Likewise.
454 * gdb.btrace/exception.exp: Likewise.
455 * gdb.btrace/function_call_history.exp: Likewise.
456 * gdb.btrace/gcore.exp: Likewise.
457 * gdb.btrace/instruction_history.exp: Likewise.
458 * gdb.btrace/multi-thread-step.exp: Likewise.
459 * gdb.btrace/nohist.exp: Likewise.
460 * gdb.btrace/non-stop.exp: Likewise.
461 * gdb.btrace/reconnect.exp: Likewise.
462 * gdb.btrace/record_goto-step.exp: Likewise.
463 * gdb.btrace/record_goto.exp: Likewise.
464 * gdb.btrace/rn-dl-bind.exp: Likewise.
465 * gdb.btrace/segv.exp: Likewise.
466 * gdb.btrace/step.exp: Likewise.
467 * gdb.btrace/stepi.exp: Likewise.
468 * gdb.btrace/tailcall-only.exp: Likewise.
469 * gdb.btrace/tailcall.exp: Likewise.
470 * gdb.btrace/tsx.exp: Likewise.
471 * gdb.btrace/unknown_functions.exp: Likewise.
472 * gdb.btrace/vdso.exp: Likewise.
473
4742017-02-01 Markus Metzger <markus.t.metzger@intel.com>
475
476 * gdb.btrace/enable-running.c: New.
477 * gdb.btrace/enable-running.exp: New.
478
4792017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
480
481 * gdb.arch/amd64-gs_base.c: New file.
482 * gdb.arch/amd64-gs_base.exp: New file.
483
4842017-01-26 Luis Machado <lgustavo@codesourcery.com>
485
486 * lib/memory.exp: Remove spurious empty newlines.
487
4882017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
489
490 * gdb.python/py-bad-printers.exp: Load python file using "source".
491 * gdb.python/py-events.exp: Likewise.
492 * gdb.python/py-evsignal.exp: Likewise.
493 * gdb.python/py-evthreads.exp: Likewise.
494 * gdb.python/py-frame-args.exp: Likewise.
495 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
496 * gdb.python/py-framefilter-mi.exp: Likewise.
497 * gdb.python/py-framefilter.exp: Likewise.
498 * gdb.python/py-mi.exp: Likewise.
499 * gdb.python/py-pp-maint.exp: Likewise.
500 * gdb.python/py-pp-registration.exp: Likewise.
501 * gdb.python/py-prettyprint.exp: Likewise.
502 (run_lang_tests): Likewise.
503 * gdb.python/py-typeprint.exp: Likewise.
504
5052017-01-26 Luis Machado <lgustavo@codesourcery.com>
506
507 * lib/memory.exp: New file.
508 * lib/gdb.exp: Load memory.exp.
509 * gdb.base/memattr.exp (delete_memory): Move proc to
510 lib/memory.exp and rename to delete_memory_regions.
511 Replace delete_memory with delete_memory_regions.
512 Cleanup memory regions before tests.
513 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
514 before tests.
515
5162017-01-26 Luis Machado <lgustavo@codesourcery.com>
517
518 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
519 files.
520 (initialize): New function conditionally defined.
521 (testcases): Move within conditional block.
522 (main): Call initialize.
523 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
524 of gdb.reverse/insn-reverse.c.
525 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
526 gdb.reverse/insn-reverse.c.
527
5282017-01-26 Yao Qi <yao.qi@linaro.org>
529
530 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
531 disassemble on address 0.
532
5332017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
534 Yao Qi <yao.qi@linaro.org>
535
536 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
537 * gdb.dwarf2/implptr-64bit.S: Remove.
538 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
539 variables in caller's context. Add DW_OP_implicit_value.
540
5412017-01-25 Yao Qi <yao.qi@linaro.org>
542
543 * lib/dwarf.exp (Dwarf::_location): Handle
544 DW_OP_GNU_implicit_pointer with proper size.
545
5462017-01-20 Luis Machado <lgustavo@codesourcery.com>
547
548 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
549 and add untested calls.
550
5512017-01-20 Luis Machado <lgustavo@codesourcery.com>
552
553 * gdb.python/python.exp: Check line number against what GDB thinks
554 the line number is for func1.
555
5562017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
557
558 * gdb.dlang/debug-expr.exp: New file.
559
5602016-12-23 Luis Machado <lgustavo@codesourcery.com>
561
562 Fix test names for the following files:
563
564 * gdb.ada/exec_changed.exp
565 * gdb.ada/info_types.exp
566 * gdb.arch/aarch64-atomic-inst.exp
567 * gdb.arch/aarch64-fp.exp
568 * gdb.arch/altivec-abi.exp
569 * gdb.arch/altivec-regs.exp
570 * gdb.arch/amd64-byte.exp
571 * gdb.arch/amd64-disp-step.exp
572 * gdb.arch/amd64-dword.exp
573 * gdb.arch/amd64-entry-value-inline.exp
574 * gdb.arch/amd64-entry-value-param.exp
575 * gdb.arch/amd64-entry-value-paramref.exp
576 * gdb.arch/amd64-entry-value.exp
577 * gdb.arch/amd64-i386-address.exp
578 * gdb.arch/amd64-invalid-stack-middle.exp
579 * gdb.arch/amd64-invalid-stack-top.exp
580 * gdb.arch/amd64-optimout-repeat.exp
581 * gdb.arch/amd64-prologue-skip.exp
582 * gdb.arch/amd64-prologue-xmm.exp
583 * gdb.arch/amd64-stap-special-operands.exp
584 * gdb.arch/amd64-stap-wrong-subexp.exp
585 * gdb.arch/amd64-tailcall-cxx.exp
586 * gdb.arch/amd64-tailcall-noret.exp
587 * gdb.arch/amd64-tailcall-ret.exp
588 * gdb.arch/amd64-tailcall-self.exp
589 * gdb.arch/amd64-word.exp
590 * gdb.arch/arm-bl-branch-dest.exp
591 * gdb.arch/arm-disp-step.exp
592 * gdb.arch/arm-neon.exp
593 * gdb.arch/arm-single-step-kernel-helper.exp
594 * gdb.arch/avr-flash-qualifier.exp
595 * gdb.arch/disp-step-insn-reloc.exp
596 * gdb.arch/e500-abi.exp
597 * gdb.arch/e500-regs.exp
598 * gdb.arch/ftrace-insn-reloc.exp
599 * gdb.arch/i386-avx512.exp
600 * gdb.arch/i386-bp_permanent.exp
601 * gdb.arch/i386-byte.exp
602 * gdb.arch/i386-cfi-notcurrent.exp
603 * gdb.arch/i386-disp-step.exp
604 * gdb.arch/i386-dr3-watch.exp
605 * gdb.arch/i386-float.exp
606 * gdb.arch/i386-gnu-cfi.exp
607 * gdb.arch/i386-mpx-map.exp
608 * gdb.arch/i386-mpx-sigsegv.exp
609 * gdb.arch/i386-mpx-simple_segv.exp
610 * gdb.arch/i386-mpx.exp
611 * gdb.arch/i386-permbkpt.exp
612 * gdb.arch/i386-prologue.exp
613 * gdb.arch/i386-signal.exp
614 * gdb.arch/i386-size-overlap.exp
615 * gdb.arch/i386-unwind.exp
616 * gdb.arch/i386-word.exp
617 * gdb.arch/mips-fcr.exp
618 * gdb.arch/powerpc-d128-regs.exp
619 * gdb.arch/powerpc-stackless.exp
620 * gdb.arch/ppc64-atomic-inst.exp
621 * gdb.arch/s390-stackless.exp
622 * gdb.arch/s390-tdbregs.exp
623 * gdb.arch/s390-vregs.exp
624 * gdb.arch/sparc-sysstep.exp
625 * gdb.arch/thumb-bx-pc.exp
626 * gdb.arch/thumb-singlestep.exp
627 * gdb.arch/thumb2-it.exp
628 * gdb.arch/vsx-regs.exp
629 * gdb.asm/asm-source.exp
630 * gdb.base/a2-run.exp
631 * gdb.base/advance.exp
632 * gdb.base/all-bin.exp
633 * gdb.base/anon.exp
634 * gdb.base/args.exp
635 * gdb.base/arithmet.exp
636 * gdb.base/async-shell.exp
637 * gdb.base/async.exp
638 * gdb.base/attach-pie-noexec.exp
639 * gdb.base/attach-twice.exp
640 * gdb.base/auto-load.exp
641 * gdb.base/bang.exp
642 * gdb.base/bitfields.exp
643 * gdb.base/break-always.exp
644 * gdb.base/break-caller-line.exp
645 * gdb.base/break-entry.exp
646 * gdb.base/break-inline.exp
647 * gdb.base/break-on-linker-gcd-function.exp
648 * gdb.base/break-probes.exp
649 * gdb.base/break.exp
650 * gdb.base/breakpoint-shadow.exp
651 * gdb.base/call-ar-st.exp
652 * gdb.base/call-sc.exp
653 * gdb.base/call-signal-resume.exp
654 * gdb.base/call-strs.exp
655 * gdb.base/callfuncs.exp
656 * gdb.base/catch-fork-static.exp
657 * gdb.base/catch-gdb-caused-signals.exp
658 * gdb.base/catch-load.exp
659 * gdb.base/catch-signal-fork.exp
660 * gdb.base/catch-signal.exp
661 * gdb.base/catch-syscall.exp
662 * gdb.base/charset.exp
663 * gdb.base/checkpoint.exp
664 * gdb.base/chng-syms.exp
665 * gdb.base/code-expr.exp
666 * gdb.base/code_elim.exp
667 * gdb.base/commands.exp
668 * gdb.base/completion.exp
669 * gdb.base/complex.exp
670 * gdb.base/cond-expr.exp
671 * gdb.base/condbreak.exp
672 * gdb.base/consecutive.exp
673 * gdb.base/continue-all-already-running.exp
674 * gdb.base/coredump-filter.exp
675 * gdb.base/corefile.exp
676 * gdb.base/dbx.exp
677 * gdb.base/debug-expr.exp
678 * gdb.base/define.exp
679 * gdb.base/del.exp
680 * gdb.base/disabled-location.exp
681 * gdb.base/disasm-end-cu.exp
682 * gdb.base/disasm-optim.exp
683 * gdb.base/display.exp
684 * gdb.base/duplicate-bp.exp
685 * gdb.base/ena-dis-br.exp
686 * gdb.base/ending-run.exp
687 * gdb.base/enumval.exp
688 * gdb.base/environ.exp
689 * gdb.base/eu-strip-infcall.exp
690 * gdb.base/eval-avoid-side-effects.exp
691 * gdb.base/eval-skip.exp
692 * gdb.base/exitsignal.exp
693 * gdb.base/expand-psymtabs.exp
694 * gdb.base/filesym.exp
695 * gdb.base/find-unmapped.exp
696 * gdb.base/finish.exp
697 * gdb.base/float.exp
698 * gdb.base/foll-exec-mode.exp
699 * gdb.base/foll-exec.exp
700 * gdb.base/foll-fork.exp
701 * gdb.base/fortran-sym-case.exp
702 * gdb.base/freebpcmd.exp
703 * gdb.base/func-ptr.exp
704 * gdb.base/func-ptrs.exp
705 * gdb.base/funcargs.exp
706 * gdb.base/gcore-buffer-overflow.exp
707 * gdb.base/gcore-relro-pie.exp
708 * gdb.base/gcore-relro.exp
709 * gdb.base/gcore.exp
710 * gdb.base/gdb1090.exp
711 * gdb.base/gdb11530.exp
712 * gdb.base/gdb11531.exp
713 * gdb.base/gdb1821.exp
714 * gdb.base/gdbindex-stabs.exp
715 * gdb.base/gdbvars.exp
716 * gdb.base/hbreak.exp
717 * gdb.base/hbreak2.exp
718 * gdb.base/included.exp
719 * gdb.base/infcall-input.exp
720 * gdb.base/inferior-died.exp
721 * gdb.base/infnan.exp
722 * gdb.base/info-macros.exp
723 * gdb.base/info-os.exp
724 * gdb.base/info-proc.exp
725 * gdb.base/info-shared.exp
726 * gdb.base/info-target.exp
727 * gdb.base/infoline.exp
728 * gdb.base/interp.exp
729 * gdb.base/interrupt.exp
730 * gdb.base/jit-reader.exp
731 * gdb.base/jit-simple.exp
732 * gdb.base/kill-after-signal.exp
733 * gdb.base/kill-detach-inferiors-cmd.exp
734 * gdb.base/label.exp
735 * gdb.base/langs.exp
736 * gdb.base/ldbl_e308.exp
737 * gdb.base/line-symtabs.exp
738 * gdb.base/linespecs.exp
739 * gdb.base/list.exp
740 * gdb.base/long_long.exp
741 * gdb.base/longest-types.exp
742 * gdb.base/maint.exp
743 * gdb.base/max-value-size.exp
744 * gdb.base/memattr.exp
745 * gdb.base/mips_pro.exp
746 * gdb.base/morestack.exp
747 * gdb.base/moribund-step.exp
748 * gdb.base/multi-forks.exp
749 * gdb.base/nested-addr.exp
750 * gdb.base/nextoverexit.exp
751 * gdb.base/noreturn-finish.exp
752 * gdb.base/noreturn-return.exp
753 * gdb.base/nostdlib.exp
754 * gdb.base/offsets.exp
755 * gdb.base/opaque.exp
756 * gdb.base/pc-fp.exp
757 * gdb.base/permissions.exp
758 * gdb.base/print-symbol-loading.exp
759 * gdb.base/prologue-include.exp
760 * gdb.base/psymtab.exp
761 * gdb.base/ptype.exp
762 * gdb.base/random-signal.exp
763 * gdb.base/randomize.exp
764 * gdb.base/range-stepping.exp
765 * gdb.base/readline-ask.exp
766 * gdb.base/recpar.exp
767 * gdb.base/recurse.exp
768 * gdb.base/relational.exp
769 * gdb.base/restore.exp
770 * gdb.base/return-nodebug.exp
771 * gdb.base/return.exp
772 * gdb.base/run-after-attach.exp
773 * gdb.base/save-bp.exp
774 * gdb.base/scope.exp
775 * gdb.base/sect-cmd.exp
776 * gdb.base/set-lang-auto.exp
777 * gdb.base/set-noassign.exp
778 * gdb.base/setvar.exp
779 * gdb.base/sigall.exp
780 * gdb.base/sigbpt.exp
781 * gdb.base/siginfo-addr.exp
782 * gdb.base/siginfo-infcall.exp
783 * gdb.base/siginfo-obj.exp
784 * gdb.base/siginfo.exp
785 * gdb.base/signals-state-child.exp
786 * gdb.base/signest.exp
787 * gdb.base/sigstep.exp
788 * gdb.base/sizeof.exp
789 * gdb.base/skip.exp
790 * gdb.base/solib-corrupted.exp
791 * gdb.base/solib-nodir.exp
792 * gdb.base/solib-search.exp
793 * gdb.base/stack-checking.exp
794 * gdb.base/stale-infcall.exp
795 * gdb.base/stap-probe.exp
796 * gdb.base/start.exp
797 * gdb.base/step-break.exp
798 * gdb.base/step-bt.exp
799 * gdb.base/step-line.exp
800 * gdb.base/step-over-exit.exp
801 * gdb.base/step-over-syscall.exp
802 * gdb.base/step-resume-infcall.exp
803 * gdb.base/step-test.exp
804 * gdb.base/store.exp
805 * gdb.base/structs3.exp
806 * gdb.base/sym-file.exp
807 * gdb.base/symbol-without-target_section.exp
808 * gdb.base/term.exp
809 * gdb.base/testenv.exp
810 * gdb.base/ui-redirect.exp
811 * gdb.base/until.exp
812 * gdb.base/unwindonsignal.exp
813 * gdb.base/value-double-free.exp
814 * gdb.base/vla-datatypes.exp
815 * gdb.base/vla-ptr.exp
816 * gdb.base/vla-sideeffect.exp
817 * gdb.base/volatile.exp
818 * gdb.base/watch-cond-infcall.exp
819 * gdb.base/watch-cond.exp
820 * gdb.base/watch-non-mem.exp
821 * gdb.base/watch-read.exp
822 * gdb.base/watch-vfork.exp
823 * gdb.base/watchpoint-cond-gone.exp
824 * gdb.base/watchpoint-delete.exp
825 * gdb.base/watchpoint-hw-hit-once.exp
826 * gdb.base/watchpoint-hw.exp
827 * gdb.base/watchpoint-stops-at-right-insn.exp
828 * gdb.base/watchpoints.exp
829 * gdb.base/wchar.exp
830 * gdb.base/whatis-exp.exp
831 * gdb.btrace/buffer-size.exp
832 * gdb.btrace/data.exp
833 * gdb.btrace/delta.exp
834 * gdb.btrace/dlopen.exp
835 * gdb.btrace/enable.exp
836 * gdb.btrace/exception.exp
837 * gdb.btrace/function_call_history.exp
838 * gdb.btrace/gcore.exp
839 * gdb.btrace/instruction_history.exp
840 * gdb.btrace/nohist.exp
841 * gdb.btrace/reconnect.exp
842 * gdb.btrace/record_goto-step.exp
843 * gdb.btrace/record_goto.exp
844 * gdb.btrace/rn-dl-bind.exp
845 * gdb.btrace/segv.exp
846 * gdb.btrace/step.exp
847 * gdb.btrace/stepi.exp
848 * gdb.btrace/tailcall-only.exp
849 * gdb.btrace/tailcall.exp
850 * gdb.btrace/tsx.exp
851 * gdb.btrace/unknown_functions.exp
852 * gdb.btrace/vdso.exp
853 * gdb.compile/compile-ifunc.exp
854 * gdb.compile/compile-ops.exp
855 * gdb.compile/compile-print.exp
856 * gdb.compile/compile-setjmp.exp
857 * gdb.cp/abstract-origin.exp
858 * gdb.cp/ambiguous.exp
859 * gdb.cp/annota2.exp
860 * gdb.cp/annota3.exp
861 * gdb.cp/anon-ns.exp
862 * gdb.cp/anon-struct.exp
863 * gdb.cp/anon-union.exp
864 * gdb.cp/arg-reference.exp
865 * gdb.cp/baseenum.exp
866 * gdb.cp/bool.exp
867 * gdb.cp/breakpoint.exp
868 * gdb.cp/bs15503.exp
869 * gdb.cp/call-c.exp
870 * gdb.cp/casts.exp
871 * gdb.cp/chained-calls.exp
872 * gdb.cp/class2.exp
873 * gdb.cp/classes.exp
874 * gdb.cp/cmpd-minsyms.exp
875 * gdb.cp/converts.exp
876 * gdb.cp/cp-relocate.exp
877 * gdb.cp/cpcompletion.exp
878 * gdb.cp/cpexprs.exp
879 * gdb.cp/cplabel.exp
880 * gdb.cp/cplusfuncs.exp
881 * gdb.cp/cpsizeof.exp
882 * gdb.cp/ctti.exp
883 * gdb.cp/derivation.exp
884 * gdb.cp/destrprint.exp
885 * gdb.cp/dispcxx.exp
886 * gdb.cp/enum-class.exp
887 * gdb.cp/exception.exp
888 * gdb.cp/exceptprint.exp
889 * gdb.cp/expand-psymtabs-cxx.exp
890 * gdb.cp/expand-sals.exp
891 * gdb.cp/extern-c.exp
892 * gdb.cp/filename.exp
893 * gdb.cp/formatted-ref.exp
894 * gdb.cp/fpointer.exp
895 * gdb.cp/gdb1355.exp
896 * gdb.cp/gdb2495.exp
897 * gdb.cp/hang.exp
898 * gdb.cp/impl-this.exp
899 * gdb.cp/infcall-dlopen.exp
900 * gdb.cp/inherit.exp
901 * gdb.cp/iostream.exp
902 * gdb.cp/koenig.exp
903 * gdb.cp/local.exp
904 * gdb.cp/m-data.exp
905 * gdb.cp/m-static.exp
906 * gdb.cp/mb-ctor.exp
907 * gdb.cp/mb-inline.exp
908 * gdb.cp/mb-templates.exp
909 * gdb.cp/member-name.exp
910 * gdb.cp/member-ptr.exp
911 * gdb.cp/meth-typedefs.exp
912 * gdb.cp/method.exp
913 * gdb.cp/method2.exp
914 * gdb.cp/minsym-fallback.exp
915 * gdb.cp/misc.exp
916 * gdb.cp/namelessclass.exp
917 * gdb.cp/namespace-enum.exp
918 * gdb.cp/namespace-nested-import.exp
919 * gdb.cp/namespace.exp
920 * gdb.cp/nextoverthrow.exp
921 * gdb.cp/no-dmgl-verbose.exp
922 * gdb.cp/non-trivial-retval.exp
923 * gdb.cp/noparam.exp
924 * gdb.cp/nsdecl.exp
925 * gdb.cp/nsimport.exp
926 * gdb.cp/nsnested.exp
927 * gdb.cp/nsnoimports.exp
928 * gdb.cp/nsrecurs.exp
929 * gdb.cp/nsstress.exp
930 * gdb.cp/nsusing.exp
931 * gdb.cp/operator.exp
932 * gdb.cp/oranking.exp
933 * gdb.cp/overload-const.exp
934 * gdb.cp/overload.exp
935 * gdb.cp/ovldbreak.exp
936 * gdb.cp/ovsrch.exp
937 * gdb.cp/paren-type.exp
938 * gdb.cp/parse-lang.exp
939 * gdb.cp/pass-by-ref.exp
940 * gdb.cp/pr-1023.exp
941 * gdb.cp/pr-1210.exp
942 * gdb.cp/pr-574.exp
943 * gdb.cp/pr10687.exp
944 * gdb.cp/pr12028.exp
945 * gdb.cp/pr17132.exp
946 * gdb.cp/pr17494.exp
947 * gdb.cp/pr9067.exp
948 * gdb.cp/pr9167.exp
949 * gdb.cp/pr9631.exp
950 * gdb.cp/printmethod.exp
951 * gdb.cp/psmang.exp
952 * gdb.cp/psymtab-parameter.exp
953 * gdb.cp/ptype-cv-cp.exp
954 * gdb.cp/ptype-flags.exp
955 * gdb.cp/re-set-overloaded.exp
956 * gdb.cp/ref-types.exp
957 * gdb.cp/rtti.exp
958 * gdb.cp/scope-err.exp
959 * gdb.cp/shadow.exp
960 * gdb.cp/smartp.exp
961 * gdb.cp/static-method.exp
962 * gdb.cp/static-print-quit.exp
963 * gdb.cp/temargs.exp
964 * gdb.cp/templates.exp
965 * gdb.cp/try_catch.exp
966 * gdb.cp/typedef-operator.exp
967 * gdb.cp/typeid.exp
968 * gdb.cp/userdef.exp
969 * gdb.cp/using-crash.exp
970 * gdb.cp/var-tag.exp
971 * gdb.cp/virtbase.exp
972 * gdb.cp/virtfunc.exp
973 * gdb.cp/virtfunc2.exp
974 * gdb.cp/vla-cxx.exp
975 * gdb.disasm/t01_mov.exp
976 * gdb.disasm/t02_mova.exp
977 * gdb.disasm/t03_add.exp
978 * gdb.disasm/t04_sub.exp
979 * gdb.disasm/t05_cmp.exp
980 * gdb.disasm/t06_ari2.exp
981 * gdb.disasm/t07_ari3.exp
982 * gdb.disasm/t08_or.exp
983 * gdb.disasm/t09_xor.exp
984 * gdb.disasm/t10_and.exp
985 * gdb.disasm/t11_logs.exp
986 * gdb.disasm/t12_bit.exp
987 * gdb.disasm/t13_otr.exp
988 * gdb.dlang/circular.exp
989 * gdb.dwarf2/arr-stride.exp
990 * gdb.dwarf2/arr-subrange.exp
991 * gdb.dwarf2/atomic-type.exp
992 * gdb.dwarf2/bad-regnum.exp
993 * gdb.dwarf2/bitfield-parent-optimized-out.exp
994 * gdb.dwarf2/callframecfa.exp
995 * gdb.dwarf2/clztest.exp
996 * gdb.dwarf2/corrupt.exp
997 * gdb.dwarf2/data-loc.exp
998 * gdb.dwarf2/dup-psym.exp
999 * gdb.dwarf2/dw2-anon-mptr.exp
1000 * gdb.dwarf2/dw2-anonymous-func.exp
1001 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
1002 * gdb.dwarf2/dw2-bad-unresolved.exp
1003 * gdb.dwarf2/dw2-basic.exp
1004 * gdb.dwarf2/dw2-canonicalize-type.exp
1005 * gdb.dwarf2/dw2-case-insensitive.exp
1006 * gdb.dwarf2/dw2-common-block.exp
1007 * gdb.dwarf2/dw2-compdir-oldgcc.exp
1008 * gdb.dwarf2/dw2-compressed.exp
1009 * gdb.dwarf2/dw2-const.exp
1010 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
1011 * gdb.dwarf2/dw2-cu-size.exp
1012 * gdb.dwarf2/dw2-dup-frame.exp
1013 * gdb.dwarf2/dw2-entry-value.exp
1014 * gdb.dwarf2/dw2-icycle.exp
1015 * gdb.dwarf2/dw2-ifort-parameter.exp
1016 * gdb.dwarf2/dw2-inline-break.exp
1017 * gdb.dwarf2/dw2-inline-param.exp
1018 * gdb.dwarf2/dw2-intercu.exp
1019 * gdb.dwarf2/dw2-intermix.exp
1020 * gdb.dwarf2/dw2-lexical-block-bare.exp
1021 * gdb.dwarf2/dw2-linkage-name-trust.exp
1022 * gdb.dwarf2/dw2-minsym-in-cu.exp
1023 * gdb.dwarf2/dw2-noloc.exp
1024 * gdb.dwarf2/dw2-op-call.exp
1025 * gdb.dwarf2/dw2-op-out-param.exp
1026 * gdb.dwarf2/dw2-opt-structptr.exp
1027 * gdb.dwarf2/dw2-param-error.exp
1028 * gdb.dwarf2/dw2-producer.exp
1029 * gdb.dwarf2/dw2-ranges-base.exp
1030 * gdb.dwarf2/dw2-ref-missing-frame.exp
1031 * gdb.dwarf2/dw2-reg-undefined.exp
1032 * gdb.dwarf2/dw2-regno-invalid.exp
1033 * gdb.dwarf2/dw2-restore.exp
1034 * gdb.dwarf2/dw2-restrict.exp
1035 * gdb.dwarf2/dw2-single-line-discriminators.exp
1036 * gdb.dwarf2/dw2-strp.exp
1037 * gdb.dwarf2/dw2-undefined-ret-addr.exp
1038 * gdb.dwarf2/dw2-unresolved.exp
1039 * gdb.dwarf2/dw2-var-zero-addr.exp
1040 * gdb.dwarf2/dw4-sig-types.exp
1041 * gdb.dwarf2/dwz.exp
1042 * gdb.dwarf2/dynarr-ptr.exp
1043 * gdb.dwarf2/enum-type.exp
1044 * gdb.dwarf2/gdb-index.exp
1045 * gdb.dwarf2/implptr-64bit.exp
1046 * gdb.dwarf2/implptr-optimized-out.exp
1047 * gdb.dwarf2/implptr.exp
1048 * gdb.dwarf2/implref-array.exp
1049 * gdb.dwarf2/implref-const.exp
1050 * gdb.dwarf2/implref-global.exp
1051 * gdb.dwarf2/implref-struct.exp
1052 * gdb.dwarf2/mac-fileno.exp
1053 * gdb.dwarf2/main-subprogram.exp
1054 * gdb.dwarf2/member-ptr-forwardref.exp
1055 * gdb.dwarf2/method-ptr.exp
1056 * gdb.dwarf2/missing-sig-type.exp
1057 * gdb.dwarf2/nonvar-access.exp
1058 * gdb.dwarf2/opaque-type-lookup.exp
1059 * gdb.dwarf2/pieces-optimized-out.exp
1060 * gdb.dwarf2/pieces.exp
1061 * gdb.dwarf2/pr10770.exp
1062 * gdb.dwarf2/pr13961.exp
1063 * gdb.dwarf2/staticvirtual.exp
1064 * gdb.dwarf2/subrange.exp
1065 * gdb.dwarf2/symtab-producer.exp
1066 * gdb.dwarf2/trace-crash.exp
1067 * gdb.dwarf2/typeddwarf.exp
1068 * gdb.dwarf2/valop.exp
1069 * gdb.dwarf2/watch-notconst.exp
1070 * gdb.fortran/array-element.exp
1071 * gdb.fortran/charset.exp
1072 * gdb.fortran/common-block.exp
1073 * gdb.fortran/complex.exp
1074 * gdb.fortran/derived-type-function.exp
1075 * gdb.fortran/derived-type.exp
1076 * gdb.fortran/logical.exp
1077 * gdb.fortran/module.exp
1078 * gdb.fortran/multi-dim.exp
1079 * gdb.fortran/nested-funcs.exp
1080 * gdb.fortran/print-formatted.exp
1081 * gdb.fortran/subarray.exp
1082 * gdb.fortran/vla-alloc-assoc.exp
1083 * gdb.fortran/vla-datatypes.exp
1084 * gdb.fortran/vla-history.exp
1085 * gdb.fortran/vla-ptr-info.exp
1086 * gdb.fortran/vla-ptype-sub.exp
1087 * gdb.fortran/vla-ptype.exp
1088 * gdb.fortran/vla-sizeof.exp
1089 * gdb.fortran/vla-type.exp
1090 * gdb.fortran/vla-value-sub-arbitrary.exp
1091 * gdb.fortran/vla-value-sub-finish.exp
1092 * gdb.fortran/vla-value-sub.exp
1093 * gdb.fortran/vla-value.exp
1094 * gdb.fortran/whatis_type.exp
1095 * gdb.go/chan.exp
1096 * gdb.go/handcall.exp
1097 * gdb.go/hello.exp
1098 * gdb.go/integers.exp
1099 * gdb.go/methods.exp
1100 * gdb.go/package.exp
1101 * gdb.go/strings.exp
1102 * gdb.go/types.exp
1103 * gdb.go/unsafe.exp
1104 * gdb.guile/scm-arch.exp
1105 * gdb.guile/scm-block.exp
1106 * gdb.guile/scm-breakpoint.exp
1107 * gdb.guile/scm-cmd.exp
1108 * gdb.guile/scm-disasm.exp
1109 * gdb.guile/scm-equal.exp
1110 * gdb.guile/scm-frame-args.exp
1111 * gdb.guile/scm-frame-inline.exp
1112 * gdb.guile/scm-frame.exp
1113 * gdb.guile/scm-iterator.exp
1114 * gdb.guile/scm-math.exp
1115 * gdb.guile/scm-objfile.exp
1116 * gdb.guile/scm-ports.exp
1117 * gdb.guile/scm-symbol.exp
1118 * gdb.guile/scm-symtab.exp
1119 * gdb.guile/scm-value-cc.exp
1120 * gdb.guile/types-module.exp
1121 * gdb.linespec/break-ask.exp
1122 * gdb.linespec/cpexplicit.exp
1123 * gdb.linespec/explicit.exp
1124 * gdb.linespec/keywords.exp
1125 * gdb.linespec/linespec.exp
1126 * gdb.linespec/ls-dollar.exp
1127 * gdb.linespec/ls-errs.exp
1128 * gdb.linespec/skip-two.exp
1129 * gdb.linespec/thread.exp
1130 * gdb.mi/mi-async.exp
1131 * gdb.mi/mi-basics.exp
1132 * gdb.mi/mi-break.exp
1133 * gdb.mi/mi-catch-load.exp
1134 * gdb.mi/mi-cli.exp
1135 * gdb.mi/mi-cmd-param-changed.exp
1136 * gdb.mi/mi-console.exp
1137 * gdb.mi/mi-detach.exp
1138 * gdb.mi/mi-disassemble.exp
1139 * gdb.mi/mi-eval.exp
1140 * gdb.mi/mi-file-transfer.exp
1141 * gdb.mi/mi-file.exp
1142 * gdb.mi/mi-fill-memory.exp
1143 * gdb.mi/mi-inheritance-syntax-error.exp
1144 * gdb.mi/mi-linespec-err-cp.exp
1145 * gdb.mi/mi-logging.exp
1146 * gdb.mi/mi-memory-changed.exp
1147 * gdb.mi/mi-read-memory.exp
1148 * gdb.mi/mi-record-changed.exp
1149 * gdb.mi/mi-reg-undefined.exp
1150 * gdb.mi/mi-regs.exp
1151 * gdb.mi/mi-return.exp
1152 * gdb.mi/mi-reverse.exp
1153 * gdb.mi/mi-simplerun.exp
1154 * gdb.mi/mi-solib.exp
1155 * gdb.mi/mi-stack.exp
1156 * gdb.mi/mi-stepi.exp
1157 * gdb.mi/mi-syn-frame.exp
1158 * gdb.mi/mi-until.exp
1159 * gdb.mi/mi-var-block.exp
1160 * gdb.mi/mi-var-child.exp
1161 * gdb.mi/mi-var-cmd.exp
1162 * gdb.mi/mi-var-cp.exp
1163 * gdb.mi/mi-var-display.exp
1164 * gdb.mi/mi-var-invalidate.exp
1165 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
1166 * gdb.mi/mi-vla-fortran.exp
1167 * gdb.mi/mi-watch.exp
1168 * gdb.mi/mi2-var-child.exp
1169 * gdb.mi/user-selected-context-sync.exp
1170 * gdb.modula2/unbounded-array.exp
1171 * gdb.multi/dummy-frame-restore.exp
1172 * gdb.multi/multi-arch-exec.exp
1173 * gdb.multi/multi-arch.exp
1174 * gdb.multi/tids.exp
1175 * gdb.multi/watchpoint-multi.exp
1176 * gdb.opencl/callfuncs.exp
1177 * gdb.opencl/convs_casts.exp
1178 * gdb.opencl/datatypes.exp
1179 * gdb.opencl/operators.exp
1180 * gdb.opencl/vec_comps.exp
1181 * gdb.opt/clobbered-registers-O2.exp
1182 * gdb.opt/inline-break.exp
1183 * gdb.opt/inline-bt.exp
1184 * gdb.opt/inline-cmds.exp
1185 * gdb.opt/inline-locals.exp
1186 * gdb.pascal/case-insensitive-symbols.exp
1187 * gdb.pascal/floats.exp
1188 * gdb.pascal/gdb11492.exp
1189 * gdb.python/lib-types.exp
1190 * gdb.python/py-arch.exp
1191 * gdb.python/py-as-string.exp
1192 * gdb.python/py-bad-printers.exp
1193 * gdb.python/py-block.exp
1194 * gdb.python/py-breakpoint-create-fail.exp
1195 * gdb.python/py-breakpoint.exp
1196 * gdb.python/py-caller-is.exp
1197 * gdb.python/py-cmd.exp
1198 * gdb.python/py-explore-cc.exp
1199 * gdb.python/py-explore.exp
1200 * gdb.python/py-finish-breakpoint.exp
1201 * gdb.python/py-finish-breakpoint2.exp
1202 * gdb.python/py-frame-args.exp
1203 * gdb.python/py-frame-inline.exp
1204 * gdb.python/py-frame.exp
1205 * gdb.python/py-framefilter-mi.exp
1206 * gdb.python/py-infthread.exp
1207 * gdb.python/py-lazy-string.exp
1208 * gdb.python/py-linetable.exp
1209 * gdb.python/py-mi-events.exp
1210 * gdb.python/py-mi-objfile.exp
1211 * gdb.python/py-mi.exp
1212 * gdb.python/py-objfile.exp
1213 * gdb.python/py-pp-integral.exp
1214 * gdb.python/py-pp-maint.exp
1215 * gdb.python/py-pp-re-notag.exp
1216 * gdb.python/py-pp-registration.exp
1217 * gdb.python/py-recurse-unwind.exp
1218 * gdb.python/py-strfns.exp
1219 * gdb.python/py-symbol.exp
1220 * gdb.python/py-symtab.exp
1221 * gdb.python/py-sync-interp.exp
1222 * gdb.python/py-typeprint.exp
1223 * gdb.python/py-unwind-maint.exp
1224 * gdb.python/py-unwind.exp
1225 * gdb.python/py-value-cc.exp
1226 * gdb.python/py-xmethods.exp
1227 * gdb.reverse/amd64-tailcall-reverse.exp
1228 * gdb.reverse/break-precsave.exp
1229 * gdb.reverse/break-reverse.exp
1230 * gdb.reverse/consecutive-precsave.exp
1231 * gdb.reverse/consecutive-reverse.exp
1232 * gdb.reverse/finish-precsave.exp
1233 * gdb.reverse/finish-reverse-bkpt.exp
1234 * gdb.reverse/finish-reverse.exp
1235 * gdb.reverse/fstatat-reverse.exp
1236 * gdb.reverse/getresuid-reverse.exp
1237 * gdb.reverse/i386-precsave.exp
1238 * gdb.reverse/i386-reverse.exp
1239 * gdb.reverse/i386-sse-reverse.exp
1240 * gdb.reverse/i387-env-reverse.exp
1241 * gdb.reverse/i387-stack-reverse.exp
1242 * gdb.reverse/insn-reverse.exp
1243 * gdb.reverse/machinestate-precsave.exp
1244 * gdb.reverse/machinestate.exp
1245 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1246 * gdb.reverse/pipe-reverse.exp
1247 * gdb.reverse/readv-reverse.exp
1248 * gdb.reverse/recvmsg-reverse.exp
1249 * gdb.reverse/rerun-prec.exp
1250 * gdb.reverse/s390-mvcle.exp
1251 * gdb.reverse/step-precsave.exp
1252 * gdb.reverse/step-reverse.exp
1253 * gdb.reverse/time-reverse.exp
1254 * gdb.reverse/until-precsave.exp
1255 * gdb.reverse/until-reverse.exp
1256 * gdb.reverse/waitpid-reverse.exp
1257 * gdb.reverse/watch-precsave.exp
1258 * gdb.reverse/watch-reverse.exp
1259 * gdb.rust/generics.exp
1260 * gdb.rust/methods.exp
1261 * gdb.rust/modules.exp
1262 * gdb.rust/simple.exp
1263 * gdb.server/connect-with-no-symbol-file.exp
1264 * gdb.server/ext-attach.exp
1265 * gdb.server/ext-restart.exp
1266 * gdb.server/ext-wrapper.exp
1267 * gdb.server/file-transfer.exp
1268 * gdb.server/server-exec-info.exp
1269 * gdb.server/server-kill.exp
1270 * gdb.server/server-mon.exp
1271 * gdb.server/wrapper.exp
1272 * gdb.stabs/exclfwd.exp
1273 * gdb.stabs/gdb11479.exp
1274 * gdb.threads/clone-new-thread-event.exp
1275 * gdb.threads/corethreads.exp
1276 * gdb.threads/current-lwp-dead.exp
1277 * gdb.threads/dlopen-libpthread.exp
1278 * gdb.threads/gcore-thread.exp
1279 * gdb.threads/sigstep-threads.exp
1280 * gdb.threads/watchpoint-fork.exp
1281 * gdb.trace/actions-changed.exp
1282 * gdb.trace/backtrace.exp
1283 * gdb.trace/change-loc.exp
1284 * gdb.trace/circ.exp
1285 * gdb.trace/collection.exp
1286 * gdb.trace/disconnected-tracing.exp
1287 * gdb.trace/ftrace.exp
1288 * gdb.trace/mi-trace-frame-collected.exp
1289 * gdb.trace/mi-trace-unavailable.exp
1290 * gdb.trace/mi-traceframe-changed.exp
1291 * gdb.trace/mi-tsv-changed.exp
1292 * gdb.trace/no-attach-trace.exp
1293 * gdb.trace/passc-dyn.exp
1294 * gdb.trace/qtro.exp
1295 * gdb.trace/range-stepping.exp
1296 * gdb.trace/read-memory.exp
1297 * gdb.trace/save-trace.exp
1298 * gdb.trace/signal.exp
1299 * gdb.trace/status-stop.exp
1300 * gdb.trace/tfile.exp
1301 * gdb.trace/trace-break.exp
1302 * gdb.trace/trace-buffer-size.exp
1303 * gdb.trace/trace-condition.exp
1304 * gdb.trace/tracefile-pseudo-reg.exp
1305 * gdb.trace/tstatus.exp
1306 * gdb.trace/unavailable.exp
1307 * gdb.trace/while-dyn.exp
1308 * gdb.trace/while-stepping.exp
1309
13102016-12-22 Doug Evans <xdje42@gmail.com>
1311
1312 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
1313 and msymbols.
1314
13152016-12-19 Yao Qi <yao.qi@linaro.org>
1316
1317 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
1318 (test_with_self): Don't call do_steps_and_nexts, and remove
1319 code about stepping into xmalloc.
1320
13212016-12-09 Yao Qi <yao.qi@linaro.org>
1322
1323 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
1324
13252016-12-09 Yao Qi <yao.qi@linaro.org>
1326
1327 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
1328
13292016-12-09 Pedro Alves <palves@redhat.com>
1330
1331 * gdb.base/all-architectures-0.exp: New file.
1332 * gdb.base/all-architectures-1.exp: New file.
1333 * gdb.base/all-architectures-2.exp: New file.
1334 * gdb.base/all-architectures-3.exp: New file.
1335 * gdb.base/all-architectures-4.exp: New file.
1336 * gdb.base/all-architectures-5.exp: New file.
1337 * gdb.base/all-architectures-6.exp: New file.
1338 * gdb.base/all-architectures-7.exp: New file.
1339 * gdb.base/all-architectures.exp.in: New file.
1340
13412016-12-09 Yao Qi <yao.qi@linaro.org>
1342
1343 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
1344
13452016-12-02 Luis Machado <lgustavo@codesourcery.com>
1346
1347 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
1348 possible.
1349 Remove useless pattern-matching code.
1350
13512016-12-02 Pedro Alves <palves@redhat.com>
1352
1353 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
1354 procedure.
1355 (top level): Call it.
1356
13572016-12-02 Pedro Alves <palves@redhat.com>
1358
1359 * gdb.base/commands.exp (user_defined_command_args_stack_test):
1360 New procedure.
1361 (top level): Call it.
1362
13632016-12-02 Pedro Alves <palves@redhat.com>
1364
1365 PR cli/20559
1366 * gdb.base/commands.exp (user_defined_command_args_eval): New
1367 procedure.
1368 (top level): Call it.
1369
13702016-12-02 Luis Machado <lgustavo@codesourcery.com>
1371
1372 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
1373 timeout handling.
1374
13752016-12-02 Tom Tromey <tom@tromey.com>
1376
1377 * gdb.dwarf2/main-subprogram.c: New file.
1378 * gdb.dwarf2/main-subprogram.exp: New file.
1379
13802016-12-01 Luis Machado <lgustavo@codesourcery.com>
1381
1382 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
1383 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
1384 gdb_test_no_output for a couple of cases.
1385 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
1386
13872016-12-01 Luis Machado <lgustavo@codesourcery.com>
1388
1389 Fix test names and standardize compilation error messages throughout
1390 the following files:
1391
1392 * gdb.ada/start.exp
1393 * gdb.arch/alpha-step.exp
1394 * gdb.arch/e500-prologue.exp
1395 * gdb.arch/ftrace-insn-reloc.exp
1396 * gdb.arch/gdb1291.exp
1397 * gdb.arch/gdb1431.exp
1398 * gdb.arch/gdb1558.exp
1399 * gdb.arch/i386-dr3-watch.exp
1400 * gdb.arch/i386-sse-stack-align.exp
1401 * gdb.arch/ia64-breakpoint-shadow.exp
1402 * gdb.arch/pa-nullify.exp
1403 * gdb.arch/powerpc-aix-prologue.exp
1404 * gdb.arch/thumb-bx-pc.exp
1405 * gdb.base/annota1.exp
1406 * gdb.base/annota3.exp
1407 * gdb.base/arrayidx.exp
1408 * gdb.base/assign.exp
1409 * gdb.base/attach.exp
1410 * gdb.base/auxv.exp
1411 * gdb.base/bang.exp
1412 * gdb.base/bfp-test.exp
1413 * gdb.base/bigcore.exp
1414 * gdb.base/bitfields2.exp
1415 * gdb.base/break-fun-addr.exp
1416 * gdb.base/break-probes.exp
1417 * gdb.base/call-rt-st.exp
1418 * gdb.base/callexit.exp
1419 * gdb.base/catch-fork-kill.exp
1420 * gdb.base/charset.exp
1421 * gdb.base/checkpoint.exp
1422 * gdb.base/comprdebug.exp
1423 * gdb.base/constvars.exp
1424 * gdb.base/coredump-filter.exp
1425 * gdb.base/cursal.exp
1426 * gdb.base/cvexpr.exp
1427 * gdb.base/detach.exp
1428 * gdb.base/display.exp
1429 * gdb.base/dmsym.exp
1430 * gdb.base/dprintf-pending.exp
1431 * gdb.base/dso2dso.exp
1432 * gdb.base/dtrace-probe.exp
1433 * gdb.base/dump.exp
1434 * gdb.base/enum_cond.exp
1435 * gdb.base/exe-lock.exp
1436 * gdb.base/exec-invalid-sysroot.exp
1437 * gdb.base/execl-update-breakpoints.exp
1438 * gdb.base/exprs.exp
1439 * gdb.base/fileio.exp
1440 * gdb.base/find.exp
1441 * gdb.base/finish.exp
1442 * gdb.base/fixsection.exp
1443 * gdb.base/foll-vfork.exp
1444 * gdb.base/frame-args.exp
1445 * gdb.base/gcore.exp
1446 * gdb.base/gdb1250.exp
1447 * gdb.base/global-var-nested-by-dso.exp
1448 * gdb.base/gnu-ifunc.exp
1449 * gdb.base/hashline1.exp
1450 * gdb.base/hashline2.exp
1451 * gdb.base/hashline3.exp
1452 * gdb.base/hbreak-in-shr-unsupported.exp
1453 * gdb.base/huge.exp
1454 * gdb.base/infcall-input.exp
1455 * gdb.base/info-fun.exp
1456 * gdb.base/info-shared.exp
1457 * gdb.base/jit-simple.exp
1458 * gdb.base/jit-so.exp
1459 * gdb.base/jit.exp
1460 * gdb.base/jump.exp
1461 * gdb.base/label.exp
1462 * gdb.base/lineinc.exp
1463 * gdb.base/logical.exp
1464 * gdb.base/longjmp.exp
1465 * gdb.base/macscp.exp
1466 * gdb.base/miscexprs.exp
1467 * gdb.base/new-ui-echo.exp
1468 * gdb.base/new-ui-pending-input.exp
1469 * gdb.base/new-ui.exp
1470 * gdb.base/nodebug.exp
1471 * gdb.base/nofield.exp
1472 * gdb.base/offsets.exp
1473 * gdb.base/overlays.exp
1474 * gdb.base/pending.exp
1475 * gdb.base/pointers.exp
1476 * gdb.base/pr11022.exp
1477 * gdb.base/printcmds.exp
1478 * gdb.base/prologue.exp
1479 * gdb.base/ptr-typedef.exp
1480 * gdb.base/realname-expand.exp
1481 * gdb.base/relativedebug.exp
1482 * gdb.base/relocate.exp
1483 * gdb.base/remote.exp
1484 * gdb.base/reread.exp
1485 * gdb.base/return2.exp
1486 * gdb.base/savedregs.exp
1487 * gdb.base/sep.exp
1488 * gdb.base/sepdebug.exp
1489 * gdb.base/sepsymtab.exp
1490 * gdb.base/set-inferior-tty.exp
1491 * gdb.base/setshow.exp
1492 * gdb.base/shlib-call.exp
1493 * gdb.base/sigaltstack.exp
1494 * gdb.base/siginfo-addr.exp
1495 * gdb.base/signals.exp
1496 * gdb.base/signull.exp
1497 * gdb.base/sigrepeat.exp
1498 * gdb.base/so-impl-ld.exp
1499 * gdb.base/solib-display.exp
1500 * gdb.base/solib-overlap.exp
1501 * gdb.base/solib-search.exp
1502 * gdb.base/solib-symbol.exp
1503 * gdb.base/structs.exp
1504 * gdb.base/structs2.exp
1505 * gdb.base/symtab-search-order.exp
1506 * gdb.base/twice.exp
1507 * gdb.base/unload.exp
1508 * gdb.base/varargs.exp
1509 * gdb.base/watchpoint-solib.exp
1510 * gdb.base/watchpoint.exp
1511 * gdb.base/whatis.exp
1512 * gdb.base/wrong_frame_bt_full.exp
1513 * gdb.btrace/dlopen.exp
1514 * gdb.cell/ea-standalone.exp
1515 * gdb.cell/ea-test.exp
1516 * gdb.cp/dispcxx.exp
1517 * gdb.cp/gdb2384.exp
1518 * gdb.cp/method2.exp
1519 * gdb.cp/nextoverthrow.exp
1520 * gdb.cp/pr10728.exp
1521 * gdb.disasm/am33.exp
1522 * gdb.disasm/h8300s.exp
1523 * gdb.disasm/mn10300.exp
1524 * gdb.disasm/sh3.exp
1525 * gdb.dwarf2/dw2-dir-file-name.exp
1526 * gdb.fortran/complex.exp
1527 * gdb.fortran/library-module.exp
1528 * gdb.guile/scm-pretty-print.exp
1529 * gdb.guile/scm-symbol.exp
1530 * gdb.guile/scm-type.exp
1531 * gdb.guile/scm-value.exp
1532 * gdb.linespec/linespec.exp
1533 * gdb.mi/gdb701.exp
1534 * gdb.mi/gdb792.exp
1535 * gdb.mi/mi-breakpoint-changed.exp
1536 * gdb.mi/mi-dprintf-pending.exp
1537 * gdb.mi/mi-dprintf.exp
1538 * gdb.mi/mi-exit-code.exp
1539 * gdb.mi/mi-pending.exp
1540 * gdb.mi/mi-solib.exp
1541 * gdb.mi/new-ui-mi-sync.exp
1542 * gdb.mi/pr11022.exp
1543 * gdb.mi/user-selected-context-sync.exp
1544 * gdb.opt/solib-intra-step.exp
1545 * gdb.python/py-events.exp
1546 * gdb.python/py-finish-breakpoint.exp
1547 * gdb.python/py-mi.exp
1548 * gdb.python/py-prettyprint.exp
1549 * gdb.python/py-shared.exp
1550 * gdb.python/py-symbol.exp
1551 * gdb.python/py-template.exp
1552 * gdb.python/py-type.exp
1553 * gdb.python/py-value.exp
1554 * gdb.reverse/solib-precsave.exp
1555 * gdb.reverse/solib-reverse.exp
1556 * gdb.server/solib-list.exp
1557 * gdb.stabs/weird.exp
1558 * gdb.threads/reconnect-signal.exp
1559 * gdb.threads/stepi-random-signal.exp
1560 * gdb.trace/actions.exp
1561 * gdb.trace/ax.exp
1562 * gdb.trace/backtrace.exp
1563 * gdb.trace/change-loc.exp
1564 * gdb.trace/deltrace.exp
1565 * gdb.trace/ftrace-lock.exp
1566 * gdb.trace/ftrace.exp
1567 * gdb.trace/infotrace.exp
1568 * gdb.trace/mi-tracepoint-changed.exp
1569 * gdb.trace/packetlen.exp
1570 * gdb.trace/passcount.exp
1571 * gdb.trace/pending.exp
1572 * gdb.trace/range-stepping.exp
1573 * gdb.trace/report.exp
1574 * gdb.trace/stap-trace.exp
1575 * gdb.trace/tfind.exp
1576 * gdb.trace/trace-break.exp
1577 * gdb.trace/trace-condition.exp
1578 * gdb.trace/trace-enable-disable.exp
1579 * gdb.trace/trace-mt.exp
1580 * gdb.trace/tracecmd.exp
1581 * gdb.trace/tspeed.exp
1582 * gdb.trace/tsv.exp
1583 * lib/perftest.exp
1584
15852016-12-01 Luis Machado <lgustavo@codesourcery.com>
1586
1587 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1588 with gdb_test_no_output.
1589 Use command as test name.
1590
15912016-12-01 Luis Machado <lgustavo@codesourcery.com>
1592
1593 Fix test names starting with uppercase throughout the files.
1594
1595 * gdb.ada/assign_1.exp
1596 * gdb.ada/boolean_expr.exp
1597 * gdb.base/arrayidx.exp
1598 * gdb.base/del.exp
1599 * gdb.base/gcore-buffer-overflow.exp
1600 * gdb.base/testenv.exp
1601 * gdb.compile/compile.exp
1602 * gdb.python/py-framefilter-invalidarg.exp
1603 * gdb.python/py-framefilter.exp
1604
16052016-12-01 Luis Machado <lgustavo@codesourcery.com>
1606
1607 Fix test names starting with uppercase throughout the files.
1608
1609 * gdb.ada/array_return.exp
1610 * gdb.ada/expr_delims.exp
1611 * gdb.ada/mi_dyn_arr.exp
1612 * gdb.ada/mi_interface.exp
1613 * gdb.ada/mi_var_array.exp
1614 * gdb.ada/watch_arg.exp
1615 * gdb.arch/alpha-step.exp
1616 * gdb.arch/altivec-regs.exp
1617 * gdb.arch/e500-regs.exp
1618 * gdb.arch/powerpc-d128-regs.exp
1619 * gdb.base/arrayidx.exp
1620 * gdb.base/break.exp
1621 * gdb.base/checkpoint.exp
1622 * gdb.base/debug-expr.exp
1623 * gdb.base/dmsym.exp
1624 * gdb.base/radix.exp
1625 * gdb.base/sepdebug.exp
1626 * gdb.base/testenv.exp
1627 * gdb.base/watch_thread_num.exp
1628 * gdb.base/watchpoint-cond-gone.exp
1629 * gdb.cell/break.exp
1630 * gdb.cell/ea-cache.exp
1631 * gdb.compile/compile.exp
1632 * gdb.cp/gdb2495.exp
1633 * gdb.gdb/selftest.exp
1634 * gdb.gdb/xfullpath.exp
1635 * gdb.go/hello.exp
1636 * gdb.go/integers.exp
1637 * gdb.objc/basicclass.exp
1638 * gdb.pascal/hello.exp
1639 * gdb.pascal/integers.exp
1640 * gdb.python/py-breakpoint.exp
1641 * gdb.python/py-cmd.exp
1642 * gdb.python/py-linetable.exp
1643 * gdb.python/py-xmethods.exp
1644 * gdb.python/python.exp
1645 * gdb.reverse/consecutive-precsave.exp
1646 * gdb.reverse/finish-precsave.exp
1647 * gdb.reverse/i386-precsave.exp
1648 * gdb.reverse/machinestate-precsave.exp
1649 * gdb.reverse/sigall-precsave.exp
1650 * gdb.reverse/solib-precsave.exp
1651 * gdb.reverse/step-precsave.exp
1652 * gdb.reverse/until-precsave.exp
1653 * gdb.reverse/watch-precsave.exp
1654 * gdb.threads/leader-exit.exp
1655 * gdb.threads/pthreads.exp
1656 * gdb.threads/wp-replication.exp
1657 * gdb.trace/actions.exp
1658 * gdb.trace/mi-tsv-changed.exp
1659 * gdb.trace/tsv.exp
1660
16612016-12-01 Luis Machado <lgustavo@codesourcery.com>
1662
1663 Fix test names starting with uppercase throughout the files.
1664
1665 * gdb.arch/i386-bp_permanent.exp
1666 * gdb.arch/i386-gnu-cfi.exp
1667 * gdb.base/disasm-end-cu.exp
1668 * gdb.base/macscp.exp
1669 * gdb.base/pending.exp
1670 * gdb.base/watch_thread_num.exp
1671 * gdb.cp/exception.exp
1672 * gdb.cp/gdb2495.exp
1673 * gdb.cp/local.exp
1674 * gdb.python/py-evsignal.exp
1675 * gdb.python/python.exp
1676 * gdb.trace/tracecmd.exp
1677
16782016-12-01 Luis Machado <lgustavo@codesourcery.com>
1679
1680 Fix test names starting with uppercase throughout the files.
1681
1682 * gdb.base/charset.exp
1683 * gdb.base/eval.exp
1684 * gdb.base/multi-forks.exp
1685 * gdb.guile/scm-progspace.exp
1686 * gdb.opencl/datatypes.exp
1687 * gdb.python/py-block.exp
1688 * gdb.python/py-function.exp
1689 * gdb.python/py-symbol.exp
1690 * gdb.python/py-symtab.exp
1691 * gdb.python/py-xmethods.exp
1692 * gdb.reverse/break-precsave.exp
1693 * gdb.reverse/break-reverse.exp
1694 * gdb.reverse/consecutive-precsave.exp
1695 * gdb.reverse/consecutive-reverse.exp
1696 * gdb.reverse/finish-precsave.exp
1697 * gdb.reverse/finish-reverse-bkpt.exp
1698 * gdb.reverse/finish-reverse.exp
1699 * gdb.reverse/fstatat-reverse.exp
1700 * gdb.reverse/getresuid-reverse.exp
1701 * gdb.reverse/i386-precsave.exp
1702 * gdb.reverse/i386-reverse.exp
1703 * gdb.reverse/i386-sse-reverse.exp
1704 * gdb.reverse/i387-stack-reverse.exp
1705 * gdb.reverse/insn-reverse.exp
1706 * gdb.reverse/machinestate-precsave.exp
1707 * gdb.reverse/machinestate.exp
1708 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1709 * gdb.reverse/pipe-reverse.exp
1710 * gdb.reverse/readv-reverse.exp
1711 * gdb.reverse/recvmsg-reverse.exp
1712 * gdb.reverse/rerun-prec.exp
1713 * gdb.reverse/s390-mvcle.exp
1714 * gdb.reverse/sigall-precsave.exp
1715 * gdb.reverse/sigall-reverse.exp
1716 * gdb.reverse/solib-precsave.exp
1717 * gdb.reverse/solib-reverse.exp
1718 * gdb.reverse/step-precsave.exp
1719 * gdb.reverse/step-reverse.exp
1720 * gdb.reverse/time-reverse.exp
1721 * gdb.reverse/until-precsave.exp
1722 * gdb.reverse/until-reverse.exp
1723 * gdb.reverse/waitpid-reverse.exp
1724 * gdb.reverse/watch-precsave.exp
1725 * gdb.reverse/watch-reverse.exp
1726
17272016-12-01 Luis Machado <lgustavo@codesourcery.com>
1728
1729 Fix test names starting with uppercase throughout the files.
1730
1731 * gdb.arch/i386-mpx-simple_segv.exp
1732 * gdb.arch/i386-mpx.exp
1733 * gdb.arch/i386-permbkpt.exp
1734 * gdb.arch/pa-nullify.exp
1735 * gdb.arch/powerpc-d128-regs.exp
1736 * gdb.arch/vsx-regs.exp
1737 * gdb.base/bfp-test.exp
1738 * gdb.base/break.exp
1739 * gdb.base/breakpoint-shadow.exp
1740 * gdb.base/callfuncs.exp
1741 * gdb.base/charset.exp
1742 * gdb.base/commands.exp
1743 * gdb.base/completion.exp
1744 * gdb.base/dfp-test.exp
1745 * gdb.base/echo.exp
1746 * gdb.base/ending-run.exp
1747 * gdb.base/eval.exp
1748 * gdb.base/expand-psymtabs.exp
1749 * gdb.base/float128.exp
1750 * gdb.base/floatn.exp
1751 * gdb.base/foll-exec-mode.exp
1752 * gdb.base/gdb1056.exp
1753 * gdb.base/gdb11531.exp
1754 * gdb.base/kill-after-signal.exp
1755 * gdb.base/multi-forks.exp
1756 * gdb.base/overlays.exp
1757 * gdb.base/pending.exp
1758 * gdb.base/sepdebug.exp
1759 * gdb.base/testenv.exp
1760 * gdb.base/valgrind-db-attach.exp
1761 * gdb.base/watch_thread_num.exp
1762 * gdb.base/watchpoint-cond-gone.exp
1763 * gdb.base/watchpoint.exp
1764 * gdb.base/watchpoints.exp
1765 * gdb.cp/arg-reference.exp
1766 * gdb.cp/baseenum.exp
1767 * gdb.cp/operator.exp
1768 * gdb.cp/shadow.exp
1769 * gdb.dwarf2/dw2-op-out-param.exp
1770 * gdb.dwarf2/dw2-reg-undefined.exp
1771 * gdb.go/chan.exp
1772 * gdb.go/hello.exp
1773 * gdb.go/integers.exp
1774 * gdb.go/methods.exp
1775 * gdb.go/package.exp
1776 * gdb.guile/scm-parameter.exp
1777 * gdb.guile/scm-progspace.exp
1778 * gdb.guile/scm-value.exp
1779 * gdb.mi/mi-pending.exp
1780 * gdb.mi/user-selected-context-sync.exp
1781 * gdb.multi/multi-attach.exp
1782 * gdb.multi/tids.exp
1783 * gdb.opt/clobbered-registers-O2.exp
1784 * gdb.pascal/floats.exp
1785 * gdb.pascal/integers.exp
1786 * gdb.python/py-block.exp
1787 * gdb.python/py-events.exp
1788 * gdb.python/py-parameter.exp
1789 * gdb.python/py-symbol.exp
1790 * gdb.python/py-symtab.exp
1791 * gdb.python/py-type.exp
1792 * gdb.python/py-value.exp
1793 * gdb.python/py-xmethods.exp
1794 * gdb.python/python.exp
1795 * gdb.reverse/break-precsave.exp
1796 * gdb.reverse/consecutive-precsave.exp
1797 * gdb.reverse/finish-precsave.exp
1798 * gdb.reverse/i386-precsave.exp
1799 * gdb.reverse/machinestate-precsave.exp
1800 * gdb.reverse/sigall-precsave.exp
1801 * gdb.reverse/solib-precsave.exp
1802 * gdb.reverse/step-precsave.exp
1803 * gdb.reverse/until-precsave.exp
1804 * gdb.reverse/watch-precsave.exp
1805 * gdb.server/ext-attach.exp
1806 * gdb.server/ext-restart.exp
1807 * gdb.server/ext-run.exp
1808 * gdb.server/ext-wrapper.exp
1809 * gdb.stabs/gdb11479.exp
1810 * gdb.stabs/weird.exp
1811 * gdb.threads/attach-many-short-lived-threads.exp
1812 * gdb.threads/kill.exp
1813 * gdb.threads/watchpoint-fork.exp
1814
18152016-12-01 Luis Machado <lgustavo@codesourcery.com>
1816
1817 Fix test names starting with uppercase throughout all the files below.
1818
1819 * gdb.ada/array_return.exp
1820 * gdb.ada/catch_ex.exp
1821 * gdb.ada/info_exc.exp
1822 * gdb.ada/mi_catch_ex.exp
1823 * gdb.ada/mi_dyn_arr.exp
1824 * gdb.ada/mi_ex_cond.exp
1825 * gdb.ada/mi_exc_info.exp
1826 * gdb.ada/mi_interface.exp
1827 * gdb.ada/mi_task_arg.exp
1828 * gdb.ada/mi_task_info.exp
1829 * gdb.ada/mi_var_array.exp
1830 * gdb.arch/alpha-step.exp
1831 * gdb.arch/amd64-disp-step.exp
1832 * gdb.arch/arm-disp-step.exp
1833 * gdb.arch/disp-step-insn-reloc.exp
1834 * gdb.arch/e500-prologue.exp
1835 * gdb.arch/ftrace-insn-reloc.exp
1836 * gdb.arch/gdb1558.exp
1837 * gdb.arch/i386-bp_permanent.exp
1838 * gdb.arch/i386-disp-step.exp
1839 * gdb.arch/i386-float.exp
1840 * gdb.arch/i386-gnu-cfi.exp
1841 * gdb.arch/ia64-breakpoint-shadow.exp
1842 * gdb.arch/mips16-thunks.exp
1843 * gdb.arch/pa-nullify.exp
1844 * gdb.arch/powerpc-aix-prologue.exp
1845 * gdb.arch/powerpc-power.exp
1846 * gdb.arch/ppc-dfp.exp
1847 * gdb.arch/s390-tdbregs.exp
1848 * gdb.arch/spu-info.exp
1849 * gdb.arch/spu-ls.exp
1850 * gdb.arch/thumb-bx-pc.exp
1851 * gdb.base/advance.exp
1852 * gdb.base/annota-input-while-running.exp
1853 * gdb.base/arrayidx.exp
1854 * gdb.base/asmlabel.exp
1855 * gdb.base/async.exp
1856 * gdb.base/attach-wait-input.exp
1857 * gdb.base/auto-connect-native-target.exp
1858 * gdb.base/batch-preserve-term-settings.exp
1859 * gdb.base/bfp-test.exp
1860 * gdb.base/bigcore.exp
1861 * gdb.base/bp-permanent.exp
1862 * gdb.base/break-always.exp
1863 * gdb.base/break-fun-addr.exp
1864 * gdb.base/break-idempotent.exp
1865 * gdb.base/break-main-file-remove-fail.exp
1866 * gdb.base/break-probes.exp
1867 * gdb.base/break-unload-file.exp
1868 * gdb.base/break.exp
1869 * gdb.base/call-ar-st.exp
1870 * gdb.base/call-rt-st.exp
1871 * gdb.base/call-sc.exp
1872 * gdb.base/call-signal-resume.exp
1873 * gdb.base/call-strs.exp
1874 * gdb.base/callexit.exp
1875 * gdb.base/callfuncs.exp
1876 * gdb.base/catch-gdb-caused-signals.exp
1877 * gdb.base/catch-signal-siginfo-cond.exp
1878 * gdb.base/catch-syscall.exp
1879 * gdb.base/compare-sections.exp
1880 * gdb.base/cond-eval-mode.exp
1881 * gdb.base/condbreak-call-false.exp
1882 * gdb.base/consecutive-step-over.exp
1883 * gdb.base/cursal.exp
1884 * gdb.base/disabled-location.exp
1885 * gdb.base/disasm-end-cu.exp
1886 * gdb.base/display.exp
1887 * gdb.base/double-prompt-target-event-error.exp
1888 * gdb.base/dprintf-bp-same-addr.exp
1889 * gdb.base/dprintf-detach.exp
1890 * gdb.base/dprintf-next.exp
1891 * gdb.base/dprintf-non-stop.exp
1892 * gdb.base/dprintf-pending.exp
1893 * gdb.base/dso2dso.exp
1894 * gdb.base/ending-run.exp
1895 * gdb.base/enum_cond.exp
1896 * gdb.base/examine-backward.exp
1897 * gdb.base/exe-lock.exp
1898 * gdb.base/exec-invalid-sysroot.exp
1899 * gdb.base/execl-update-breakpoints.exp
1900 * gdb.base/execution-termios.exp
1901 * gdb.base/fileio.exp
1902 * gdb.base/fixsection.exp
1903 * gdb.base/foll-exec-mode.exp
1904 * gdb.base/foll-exec.exp
1905 * gdb.base/fork-running-state.exp
1906 * gdb.base/frame-args.exp
1907 * gdb.base/fullpath-expand.exp
1908 * gdb.base/func-ptr.exp
1909 * gdb.base/gcore-relro-pie.exp
1910 * gdb.base/gdb1090.exp
1911 * gdb.base/gdb1555.exp
1912 * gdb.base/global-var-nested-by-dso.exp
1913 * gdb.base/gnu-ifunc.exp
1914 * gdb.base/hbreak-in-shr-unsupported.exp
1915 * gdb.base/hbreak-unmapped.exp
1916 * gdb.base/hook-stop.exp
1917 * gdb.base/infcall-input.exp
1918 * gdb.base/info-fun.exp
1919 * gdb.base/info-shared.exp
1920 * gdb.base/interrupt-noterm.exp
1921 * gdb.base/jit-so.exp
1922 * gdb.base/jit.exp
1923 * gdb.base/line-symtabs.exp
1924 * gdb.base/list.exp
1925 * gdb.base/longjmp.exp
1926 * gdb.base/macscp.exp
1927 * gdb.base/max-value-size.exp
1928 * gdb.base/nodebug.exp
1929 * gdb.base/nofield.exp
1930 * gdb.base/overlays.exp
1931 * gdb.base/paginate-after-ctrl-c-running.exp
1932 * gdb.base/paginate-bg-execution.exp
1933 * gdb.base/paginate-inferior-exit.exp
1934 * gdb.base/pending.exp
1935 * gdb.base/pr11022.exp
1936 * gdb.base/printcmds.exp
1937 * gdb.base/ptr-typedef.exp
1938 * gdb.base/ptype.exp
1939 * gdb.base/randomize.exp
1940 * gdb.base/range-stepping.exp
1941 * gdb.base/realname-expand.exp
1942 * gdb.base/relativedebug.exp
1943 * gdb.base/remote.exp
1944 * gdb.base/savedregs.exp
1945 * gdb.base/sepdebug.exp
1946 * gdb.base/set-noassign.exp
1947 * gdb.base/shlib-call.exp
1948 * gdb.base/shreloc.exp
1949 * gdb.base/sigaltstack.exp
1950 * gdb.base/sigbpt.exp
1951 * gdb.base/siginfo-addr.exp
1952 * gdb.base/siginfo-obj.exp
1953 * gdb.base/siginfo-thread.exp
1954 * gdb.base/signest.exp
1955 * gdb.base/signull.exp
1956 * gdb.base/sigrepeat.exp
1957 * gdb.base/skip.exp
1958 * gdb.base/so-impl-ld.exp
1959 * gdb.base/solib-corrupted.exp
1960 * gdb.base/solib-disc.exp
1961 * gdb.base/solib-display.exp
1962 * gdb.base/solib-overlap.exp
1963 * gdb.base/solib-search.exp
1964 * gdb.base/solib-symbol.exp
1965 * gdb.base/source-execution.exp
1966 * gdb.base/sss-bp-on-user-bp-2.exp
1967 * gdb.base/sss-bp-on-user-bp.exp
1968 * gdb.base/stack-checking.exp
1969 * gdb.base/stale-infcall.exp
1970 * gdb.base/step-break.exp
1971 * gdb.base/step-line.exp
1972 * gdb.base/step-over-exit.exp
1973 * gdb.base/step-test.exp
1974 * gdb.base/structs.exp
1975 * gdb.base/sym-file.exp
1976 * gdb.base/symtab-search-order.exp
1977 * gdb.base/term.exp
1978 * gdb.base/type-opaque.exp
1979 * gdb.base/unload.exp
1980 * gdb.base/until-nodebug.exp
1981 * gdb.base/until.exp
1982 * gdb.base/unwindonsignal.exp
1983 * gdb.base/watch-cond.exp
1984 * gdb.base/watch-non-mem.exp
1985 * gdb.base/watch_thread_num.exp
1986 * gdb.base/watchpoint-reuse-slot.exp
1987 * gdb.base/watchpoint-solib.exp
1988 * gdb.base/watchpoint.exp
1989 * gdb.btrace/dlopen.exp
1990 * gdb.cell/arch.exp
1991 * gdb.cell/break.exp
1992 * gdb.cell/bt.exp
1993 * gdb.cell/core.exp
1994 * gdb.cell/data.exp
1995 * gdb.cell/dwarfaddr.exp
1996 * gdb.cell/ea-cache.exp
1997 * gdb.cell/ea-standalone.exp
1998 * gdb.cell/ea-test.exp
1999 * gdb.cell/f-regs.exp
2000 * gdb.cell/fork.exp
2001 * gdb.cell/gcore.exp
2002 * gdb.cell/mem-access.exp
2003 * gdb.cell/ptype.exp
2004 * gdb.cell/registers.exp
2005 * gdb.cell/sizeof.exp
2006 * gdb.cell/solib-symbol.exp
2007 * gdb.cell/solib.exp
2008 * gdb.compile/compile-tls.exp
2009 * gdb.cp/exception.exp
2010 * gdb.cp/gdb2495.exp
2011 * gdb.cp/local.exp
2012 * gdb.cp/mb-inline.exp
2013 * gdb.cp/mb-templates.exp
2014 * gdb.cp/pr10687.exp
2015 * gdb.cp/pr9167.exp
2016 * gdb.cp/scope-err.exp
2017 * gdb.cp/templates.exp
2018 * gdb.cp/virtfunc.exp
2019 * gdb.dwarf2/dw2-dir-file-name.exp
2020 * gdb.dwarf2/dw2-single-line-discriminators.exp
2021 * gdb.fortran/complex.exp
2022 * gdb.fortran/library-module.exp
2023 * gdb.guile/guile.exp
2024 * gdb.guile/scm-cmd.exp
2025 * gdb.guile/scm-frame-inline.exp
2026 * gdb.guile/scm-objfile.exp
2027 * gdb.guile/scm-pretty-print.exp
2028 * gdb.guile/scm-symbol.exp
2029 * gdb.guile/scm-type.exp
2030 * gdb.guile/scm-value.exp
2031 * gdb.linespec/keywords.exp
2032 * gdb.linespec/ls-errs.exp
2033 * gdb.linespec/macro-relative.exp
2034 * gdb.linespec/thread.exp
2035 * gdb.mi/mi-breakpoint-changed.exp
2036 * gdb.mi/mi-dprintf-pending.exp
2037 * gdb.mi/mi-fullname-deleted.exp
2038 * gdb.mi/mi-logging.exp
2039 * gdb.mi/mi-pending.exp
2040 * gdb.mi/mi-solib.exp
2041 * gdb.mi/new-ui-mi-sync.exp
2042 * gdb.mi/user-selected-context-sync.exp
2043 * gdb.multi/dummy-frame-restore.exp
2044 * gdb.multi/multi-arch-exec.exp
2045 * gdb.multi/remove-inferiors.exp
2046 * gdb.multi/watchpoint-multi-exit.exp
2047 * gdb.opt/solib-intra-step.exp
2048 * gdb.perf/backtrace.exp
2049 * gdb.perf/single-step.exp
2050 * gdb.perf/skip-command.exp
2051 * gdb.perf/skip-prologue.exp
2052 * gdb.perf/solib.exp
2053 * gdb.python/lib-types.exp
2054 * gdb.python/py-as-string.exp
2055 * gdb.python/py-bad-printers.exp
2056 * gdb.python/py-block.exp
2057 * gdb.python/py-breakpoint.exp
2058 * gdb.python/py-cmd.exp
2059 * gdb.python/py-events.exp
2060 * gdb.python/py-evthreads.exp
2061 * gdb.python/py-finish-breakpoint.exp
2062 * gdb.python/py-finish-breakpoint2.exp
2063 * gdb.python/py-frame-inline.exp
2064 * gdb.python/py-frame.exp
2065 * gdb.python/py-inferior.exp
2066 * gdb.python/py-infthread.exp
2067 * gdb.python/py-mi.exp
2068 * gdb.python/py-objfile.exp
2069 * gdb.python/py-pp-maint.exp
2070 * gdb.python/py-pp-registration.exp
2071 * gdb.python/py-prettyprint.exp
2072 * gdb.python/py-recurse-unwind.exp
2073 * gdb.python/py-shared.exp
2074 * gdb.python/py-symbol.exp
2075 * gdb.python/py-symtab.exp
2076 * gdb.python/py-template.exp
2077 * gdb.python/py-type.exp
2078 * gdb.python/py-unwind-maint.exp
2079 * gdb.python/py-unwind.exp
2080 * gdb.python/py-value.exp
2081 * gdb.python/python.exp
2082 * gdb.reverse/finish-reverse-bkpt.exp
2083 * gdb.reverse/insn-reverse.exp
2084 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2085 * gdb.reverse/solib-precsave.exp
2086 * gdb.reverse/solib-reverse.exp
2087 * gdb.stabs/gdb11479.exp
2088 * gdb.stabs/weird.exp
2089 * gdb.threads/fork-child-threads.exp
2090 * gdb.threads/fork-plus-threads.exp
2091 * gdb.threads/fork-thread-pending.exp
2092 * gdb.threads/forking-threads-plus-breakpoint.exp
2093 * gdb.threads/hand-call-in-threads.exp
2094 * gdb.threads/interrupted-hand-call.exp
2095 * gdb.threads/linux-dp.exp
2096 * gdb.threads/local-watch-wrong-thread.exp
2097 * gdb.threads/next-while-other-thread-longjmps.exp
2098 * gdb.threads/non-ldr-exit.exp
2099 * gdb.threads/pending-step.exp
2100 * gdb.threads/print-threads.exp
2101 * gdb.threads/process-dies-while-detaching.exp
2102 * gdb.threads/process-dies-while-handling-bp.exp
2103 * gdb.threads/pthreads.exp
2104 * gdb.threads/queue-signal.exp
2105 * gdb.threads/reconnect-signal.exp
2106 * gdb.threads/signal-command-handle-nopass.exp
2107 * gdb.threads/signal-command-multiple-signals-pending.exp
2108 * gdb.threads/signal-delivered-right-thread.exp
2109 * gdb.threads/signal-sigtrap.exp
2110 * gdb.threads/sigthread.exp
2111 * gdb.threads/staticthreads.exp
2112 * gdb.threads/stepi-random-signal.exp
2113 * gdb.threads/thread-unwindonsignal.exp
2114 * gdb.threads/thread_check.exp
2115 * gdb.threads/thread_events.exp
2116 * gdb.threads/tid-reuse.exp
2117 * gdb.threads/tls-nodebug.exp
2118 * gdb.threads/tls-shared.exp
2119 * gdb.threads/tls-so_extern.exp
2120 * gdb.threads/tls.exp
2121 * gdb.threads/wp-replication.exp
2122 * gdb.trace/actions-changed.exp
2123 * gdb.trace/actions.exp
2124 * gdb.trace/backtrace.exp
2125 * gdb.trace/change-loc.exp
2126 * gdb.trace/collection.exp
2127 * gdb.trace/deltrace.exp
2128 * gdb.trace/disconnected-tracing.exp
2129 * gdb.trace/entry-values.exp
2130 * gdb.trace/ftrace-lock.exp
2131 * gdb.trace/ftrace.exp
2132 * gdb.trace/infotrace.exp
2133 * gdb.trace/mi-trace-frame-collected.exp
2134 * gdb.trace/mi-trace-unavailable.exp
2135 * gdb.trace/mi-traceframe-changed.exp
2136 * gdb.trace/mi-tracepoint-changed.exp
2137 * gdb.trace/mi-tsv-changed.exp
2138 * gdb.trace/no-attach-trace.exp
2139 * gdb.trace/packetlen.exp
2140 * gdb.trace/passc-dyn.exp
2141 * gdb.trace/passcount.exp
2142 * gdb.trace/pending.exp
2143 * gdb.trace/pr16508.exp
2144 * gdb.trace/qtro.exp
2145 * gdb.trace/range-stepping.exp
2146 * gdb.trace/read-memory.exp
2147 * gdb.trace/report.exp
2148 * gdb.trace/save-trace.exp
2149 * gdb.trace/signal.exp
2150 * gdb.trace/stap-trace.exp
2151 * gdb.trace/status-stop.exp
2152 * gdb.trace/strace.exp
2153 * gdb.trace/tfile.exp
2154 * gdb.trace/tfind.exp
2155 * gdb.trace/trace-break.exp
2156 * gdb.trace/trace-condition.exp
2157 * gdb.trace/trace-enable-disable.exp
2158 * gdb.trace/trace-mt.exp
2159 * gdb.trace/tracecmd.exp
2160 * gdb.trace/tracefile-pseudo-reg.exp
2161 * gdb.trace/tspeed.exp
2162 * gdb.trace/tstatus.exp
2163 * gdb.trace/tsv.exp
2164 * gdb.trace/unavailable.exp
2165 * gdb.trace/while-dyn.exp
2166 * gdb.trace/while-stepping.exp
2167 * lib/gdb-guile.exp
2168 * lib/gdb.exp
2169 * lib/mi-support.exp
2170 * lib/pascal.exp
2171 * lib/perftest.exp
2172 * lib/prelink-support.exp
2173 * lib/selftest-support.exp
2174
21752016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
2176
2177 * Makefile.in: Include disable-implicit-rules.mk.
2178
21792016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2180
2181 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
2182 non-byte-aligned bit fields.
2183
21842016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2185
2186 PR gdb/12616
2187 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
2188 respects the DW_AT_data_bit_offset attribute.
2189
21902016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
2191
2192 * gdb.base/default.exp: Fix output of "set language".
2193
21942016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
2195
2196 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
2197 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
2198 make.
2199 * configure.ac: Remove checks for the make program.
2200 * configure: Re-generate.
2201
22022016-11-16 Kevin Buettner <kevinb@redhat.com>
2203
2204 * gdb.python/py-recurse-unwind.c (main): Add loop.
2205 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
2206 to read_register() and gdb.parse_and_eval(). Make each code
2207 call a separate case that can be individually tested.
2208 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
2209 proc. Call cont_and_backtrace for each of the code paths that
2210 we want to test in the unwinder.
2211
22122016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
2213
2214 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
2215 the definition of struct S.
2216
22172016-11-11 Catherine Moore <clm@codesourcery.com>
2218
2219 * gdb.base/dump.exp: Identify verilog format dump tests as such.
2220
22212016-11-09 Pedro Alves <palves@redhat.com>
2222
2223 * gdb.base/commands.exp (runto_or_return): New procedure.
2224 (gdbvar_simple_if_test, gdbvar_simple_while_test)
2225 (gdbvar_complex_if_while_test, progvar_simple_if_test)
2226 (progvar_simple_while_test, progvar_complex_if_while_test)
2227 (if_while_breakpoint_command_test)
2228 (infrun_breakpoint_command_test, breakpoint_command_test)
2229 (user_defined_command_test, watchpoint_command_test)
2230 (test_command_prompt_position, redefine_hook_test)
2231 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
2232 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
2233 multi_line_input and multi_line. Remove gdb_expect and
2234 gdb_stop_suppressing_tests uses.
2235 * lib/gdb.exp (valnum_re): New global.
2236 (multi_line_input): New procedure.
2237
22382016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
2239
2240 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
2241 Remove.
2242 (test_setup): Define with proc_with_prefix.
2243 (test_cli_inferior): Likewise.
2244 (test_cli_thread): Likewise.
2245 (test_cli_frame): Likewise.
2246 (test_cli_select_frame): Likewise.
2247 (test_cli_up_down): Likewise.
2248 (test_mi_thread_select): Likewise.
2249 (test_mi_stack_select_frame): Likewise.
2250 (test_cli_in_mi_inferior): Likewise.
2251 (test_cli_in_mi_thread): Likewise.
2252 (test_cli_in_mi_frame): Likewise.
2253 (top level): Do not use with_test_prefix_procname.
2254
22552016-11-09 Pedro Alves <palves@redhat.com>
2256
2257 * gdb.base/commands.exp (gdbvar_simple_if_test)
2258 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
2259 (progvar_simple_if_test, progvar_simple_while_test)
2260 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
2261 (infrun_breakpoint_command_test, breakpoint_command_test)
2262 (user_defined_command_test, watchpoint_command_test)
2263 (test_command_prompt_position, deprecated_command_test)
2264 (bp_deleted_in_command, temporary_breakpoint_commands)
2265 (stray_arg0_test, source_file_with_indented_comment)
2266 (recursive_source_test, if_commands_test)
2267 (error_clears_commands_left, redefine_hook_test)
2268 (redefine_backtrace_test): Use proc_with_prefix.
2269 * lib/gdb.exp (proc_with_prefix): New proc.
2270
22712016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2272
2273 * gdb.base/tui-layout.c: New file.
2274 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
2275 disassembly window contains very long lines.
2276
22772016-11-08 Tom Tromey <tom@tromey.com>
2278
2279 * gdb.python/py-value.exp (test_value_creation): Make "long" test
2280 depend on Python 2.
2281
22822016-11-08 Tom Tromey <tom@tromey.com>
2283
2284 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
2285 New method.
2286
22872016-10-29 Manish Goregaokar <manish@mozilla.com>
2288
2289 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
2290
22912016-10-27 Manish Goregaokar <manish@mozilla.com>
2292
2293 * gdb.rust/simple.rs: Add test for univariant enums without
2294 discriminants and for encoded struct-like enums.
2295
22962016-10-28 Pedro Alves <palves@redhat.com>
2297
2298 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
2299 gdb_test_multiple, tighten regexps and match symtabs and line
2300 tables incrementally.
2301
23022016-10-28 Luis Machado <lgustavo@codesourcery.com>
2303
2304 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
2305 general.
2306
23072016-10-25 Luis Machado <lgustavo@codesourcery.com>
2308
2309 * gdb.base/exec-invalid-sysroot.exp: New file.
2310
23112016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2312
2313 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
2314
23152016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2316
2317 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
2318
23192016-10-19 Maciej W. Rozycki <macro@imgtec.com>
2320
2321 * gdb.base/killed-outside.exp: Remove $options from a call to
2322 `prepare_for_testing'.
2323
23242016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2325
2326 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2327 Change test message.
2328
23292016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2330
2331 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2332 Update comment.
2333
23342016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2335
2336 * gdb.trace/mi-trace-save.exp: New file.
2337
23382016-10-13 Yao Qi <yao.qi@linaro.org>
2339
2340 * gdb.base/code_elim.exp (get_var_address): Remove.
2341 * gdb.base/relocate.exp: Likewise.
2342 * gdb.base/shreloc.exp: Likewise.
2343 * lib/gdb.exp (get_var_address): New.
2344
23452016-10-13 Yao Qi <yao.qi@linaro.org>
2346
2347 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
2348 floating point tests if $skip_float_test is false.
2349
23502016-10-12 Luis Machado <lgustavo@codesourcery.com>
2351
2352 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
2353 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
2354 argc values.
2355 Add 1 to argc so we guarantee distinct initial/modified argc values.
2356
23572016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2358
2359 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
2360
23612016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2362
2363 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
2364 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2365 * gdb.arch/vsx-regs.exp: Likewise.
2366
23672016-10-07 Yao Qi <yao.qi@linaro.org>
2368
2369 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
2370
23712016-10-07 Markus Metzger <markus.t.metzger@intel.com>
2372
2373 * gdb.python/python.exp: Test decode_line("*0").
2374
23752016-10-06 Doug Evans <dje@google.com>
2376
2377 * gdb.python/py-value.exp (test_value_creation): Add test for large
2378 unsigned 64-bit value.
2379
23802016-10-06 Tom Tromey <tom@tromey.com>
2381
2382 * gdb.compile/compile.exp: Change java tests to rust.
2383 * gdb.base/setshow.exp: Change java tests to rust.
2384 * gdb.base/default.exp: Remove java from language list.
2385 * README (Examples): Update language example.
2386 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
2387 test.
2388 * lib/gdb.exp (skip_java_tests): Remove.
2389 * lib/java.exp: Remove.
2390 * gdb.java: Remove.
2391
23922016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2393
2394 * gdb.arch/mips-fcr.exp: New test.
2395 * gdb.arch/mips-fcr.c: Source for the new test.
2396
23972016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2398
2399 * gdb.base/solib-disc.exp: Use `standard_output_file'
2400 throughout.
2401
24022016-10-06 Pedro Alves <palves@redhat.com>
2403
2404 * gdb.base/jit-simple-dl.c: New file.
2405 * gdb.base/jit-simple-jit.c: New file, factored out from ...
2406 * gdb.base/jit-simple.c: ... this.
2407 * gdb.base/jit-simple.exp (jit_run): Delete.
2408 (build_jit): New proc.
2409 (jit_test_reread): Recompile either the main program or the shared
2410 library, depending on what is being tested. Skip changing address
2411 if caller wants to. Compare before/after addresses. If testing
2412 standalone, explicitly load the binary. Test "maint info
2413 breakpoints".
2414 (top level): Add "standalone vs shared lib" and "change address"
2415 vs "same address" axes.
2416
24172016-10-06 Pedro Alves <palves@redhat.com>
2418
2419 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
2420 call.
2421 (jit_run): Delete.
2422 (jit_test_reread): Use with_test_prefix. Reload the main binary
2423 explicitly. Compare the before/after addresses of the JIT
2424 descriptor.
2425
24262016-08-15 Doug Evans <dje@google.com>
2427
2428 * gdb.xml/extra-regs.xml: Update, end field now required, default type
2429 for single bitfields is bool.
2430 * gdb.xml/tdesc-regs.exp: Ditto.
2431
24322016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2433
2434 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
2435
24362016-10-05 Yao Qi <yao.qi@linaro.org>
2437
2438 * lib/gdb.exp (support_complex_tests): Return zero if
2439 gdb_skip_float_test return true.
2440
24412016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2442 Simon Marchi <simon.marchi@ericsson.com>
2443
2444 PR gdb/20487
2445 * gdb.mi/user-selected-context-sync.exp: New file.
2446 * gdb.mi/user-selected-context-sync.c: New file.
2447
24482016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2449 Simon Marchi <simon.marchi@ericsson.com>
2450
2451 PR gdb/20487
2452 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
2453 =thread-select-event check.
2454
24552016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2456
2457 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
2458 the compulsory L operand changes.
2459 * gdb.arch/powerpc-power.s: Likewise.
2460
24612016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2462
2463 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
2464 * gdb.base/jit-attach-pie.c: New file.
2465 * gdb.base/jit-attach-pie.exp: New file.
2466
24672016-09-28 Pedro Alves <palves@redhat.com>
2468
2469 * gdb.base/infcall-input.c: New file.
2470 * gdb.base/infcall-input.exp: New file.
2471
24722016-09-22 Yao Qi <yao.qi@linaro.org>
2473
2474 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
2475 (gdb_exit): Rename it to ...
2476 (gdbserver_gdb_exit): ... Close GDBserver.
2477 (gdb_exit): New proc, call gdbserver_gdb_exit.
2478 (mi_gdb_exit): Likewise.
2479
24802016-09-22 Yao Qi <yao.qi@linaro.org>
2481
2482 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
2483 path.
2484 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
2485 Remove duplication.
2486
24872016-09-22 Yao Qi <yao.qi@linaro.org>
2488
2489 * lib/gdbserver-support.exp: Check the existence of
2490 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
2491
24922016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2493
2494 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
2495
24962016-09-21 Tom Tromey <tom@tromey.com>
2497
2498 PR gdb/20604:
2499 * gdb.base/quit.exp: New file.
2500
25012016-09-21 Simon Marchi <simon.marchi@ericsson.com>
2502
2503 * .gitignore: New file.
2504
25052016-09-21 Maciej W. Rozycki <macro@imgtec.com>
2506
2507 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
2508 throughout.
2509
25102016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2511
2512 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
2513
25142016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2515
2516 * gdb.cp/casts.cc (decltype): Move it ...
2517 (main): ... with its call to ...
2518 * gdb.cp/casts03.cc: ... a new file.
2519 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2520
25212016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2522
2523 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2524
25252016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2526
2527 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2528 and sync up the test with tests in gas/testsuite/gas/ppc.
2529 * gdb.arch/powerpc-power.exp: Likewise.
2530
25312016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2532
2533 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2534
25352016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2536 Jan Kratochvil <jan.kratochvil@redhat.com>
2537
2538 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2539 make m1's definition to be different from m2's. Use 'dummy' as an
2540 argument for probe 'two'.
2541
25422016-09-10 Jon Beniston <jon@beniston.com>
2543
2544 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2545 for sim target.
2546
25472016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2548
2549 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2550 variable declaration.
2551 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2552 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2553 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2554 received HWCAP as its argument.
2555
25562016-09-06 Pedro Alves <palves@redhat.com>
2557
2558 * gdb.base/new-ui-pending-input.c: New file.
2559 * gdb.base/new-ui-pending-input.exp: New file.
2560 * gdb.exp (clear_gdb_spawn_id): New procedure.
2561 (with_spawn_id): Check whether gdb_spawn_id exists before
2562 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2563 on exit.
2564
25652016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2566
2567 * gdb.base/float128.c: New file.
2568 * gdb.base/float128.exp: Likewise.
2569 * gdb.base/floatn.c: Likewise.
2570 * gdb.base/floatn.exp: Likewise.
2571
25722016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2573
2574 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2575
25762016-09-05 Pedro Alves <palves@redhat.com>
2577
2578 PR backtrace/19927
2579 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2580 unwinders are immediately called as side effect of "source" or
2581 "disable unwinder" commands.
2582 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2583
25842016-09-02 Yao Qi <yao.qi@linaro.org>
2585
2586 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2587 is true and $type is "float" or "double".
2588
25892016-09-02 Yao Qi <yao.qi@linaro.org>
2590
2591 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2592 true.
2593 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2594 * gdb.base/call-rt-st.exp: Likewise.
2595 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2596 return value instead of gdb,skip_float_test.
2597 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2598 (do_function_calls): Use its return value instead of
2599 gdb,skip_float_test.
2600 * gdb.base/finish.exp: Likewise.
2601 * gdb.base/funcargs.exp: Likewise.
2602 * gdb.base/return.exp: Likewise.
2603 * gdb.base/return2.exp: Likewise.
2604 * gdb.base/varargs.exp: Likewise.
2605 * lib/gdb.exp (gdb_skip_float_test): Change it to
2606 gdb_caching_proc. Detect the broken ptrace on arm-linux.
2607
26082016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2609
2610 * gdb.multi/tids.exp: Test "thread apply all".
2611
26122016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2613
2614 * gdb.base/default.exp (tty): Remove.
2615
26162016-08-24 Kevin Buettner <kevinb@redhat.com>
2617
2618 * gdb.python/py-recurse-unwind.c: New file.
2619 * gdb.python/py-recurse-unwind.py: New file.
2620 * gdb.python/py-recurse-unwind.exp: New file.
2621
26222016-08-24 Simon Marchi <simon.marchi@ericsson.com>
2623
2624 * gdb.base/set-inferior-tty.exp: New file.
2625 * gdb.base/set-inferior-tty.c: New file.
2626
26272016-08-23 Pedro Alves <palves@redhat.com>
2628
2629 PR gdb/20494
2630 * gdb.base/new-ui-echo.c: New file.
2631 * gdb.base/new-ui-echo.exp: New file.
2632
26332016-08-23 Yao Qi <yao.qi@linaro.org>
2634
2635 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
2636 gdbserver_spawn.
2637 * gdb.server/connect-without-multi-process.exp (do_test):
2638 Likewise.
2639
26402016-08-23 Yao Qi <yao.qi@linaro.org>
2641
2642 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
2643 standalone_txt. Delete gdb_txt and standalone_txt on host
2644 and target. Spawn the binary on target. Copy files from
2645 target to host.
2646
26472016-08-22 Pedro Alves <palves@redhat.com>
2648
2649 PR gdb/20505
2650 * gdb.base/vdso-warning.exp: Test core dumps too. Use
2651 with_test_prefix. Factor out bits to ...
2652 (test_no_vdso): ... this new procedure.
2653
26542016-08-19 Carl Love <cel@us.ibm.com>
2655
2656 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
2657 maintaining separate logic for constructing the output path.
2658 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2659 * gdb.arch/ppc-dfp.exp: Likewise.
2660 * gdb.arch/ppc-fp.exp: Likewise.
2661 * gdb.arch/vsx-regs.exp: Likewise.
2662 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
2663 binprefix for generating the additional binary files.
2664
26652016-08-19 Pedro Alves <palves@redhat.com>
2666
2667 * gdb.trace/mi-trace-frame-collected.exp
2668 (test_trace_frame_collected): On x32, expect two registers.
2669
26702016-08-18 Carl Love <cel@us.ibm.com>
2671
2672 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
2673 and sync up the test with tests in gas/testsuite/gas/ppc.
2674 * gdb.arch/powerpc-power.exp: Likewise.
2675
26762016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2677
2678 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
2679 expected error message.
2680
26812016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2682
2683 * gdb.multi/remove-inferiors.exp: New file.
2684 * gdb.multi/remove-inferiors.c: New file.
2685
26862016-08-12 Yao Qi <yao.qi@linaro.org>
2687
2688 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
2689 argument list.
2690
26912016-08-10 Pedro Alves <palves@redhat.com>
2692
2693 PR gdb/19187
2694 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
2695 setup_kfails.
2696
26972016-08-09 Pedro Alves <palves@redhat.com>
2698 Simon Marchi <simon.marchi@ericsson.com>
2699
2700 PR gdb/20418
2701 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
2702 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
2703
27042016-08-09 Pedro Alves <palves@redhat.com>
2705
2706 PR mi/20431
2707 * gdb.mi/mi-cmd-error.exp: New file.
2708
27092016-08-09 Pedro Alves <palves@redhat.com>
2710
2711 PR gdb/18653
2712 * gdb.base/signals-state-child.c: New file.
2713 * gdb.base/signals-state-child.exp: New file.
2714 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
2715
27162016-08-09 Pedro Alves <palves@redhat.com>
2717
2718 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
2719
27202016-08-03 Tom Tromey <tom@tromey.com>
2721
2722 PR python/18565:
2723 * gdb.python/py-frame-inline.exp: Add Frame.function test.
2724
27252016-08-01 Yao Qi <yao.qi@linaro.org>
2726
2727 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
2728 variable mode to "multi-process" if $multi_process is 1, otherwise
2729 set it to "single-process".
2730
27312016-08-01 Yao Qi <yao.qi@linaro.org>
2732
2733 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
2734 * gdb.cp/cpexprs.exp: Likewise.
2735 * gdb.cp/m-static.exp: Likewise.
2736
27372016-07-26 Tom Tromey <tom@tromey.com>
2738
2739 PR python/20190:
2740 * gdb.threads/tls.exp (check_thread_local): Add python symbol
2741 test.
2742
27432016-07-26 Markus Metzger <markus.t.metzger@intel.com>
2744
2745 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
2746 selecting assembly source files.
2747 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
2748 assembly source files.
2749 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
2750 assembly source files.
2751 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
2752 selecting assembly source files.
2753
27542016-07-25 Simon Marchi <simon.marchi@ericsson.com>
2755
2756 * gdb.base/new-ui.exp (do_test_invalid_args): New
2757 procedure.
2758
27592016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
2760
2761 * gdb.btrace/reconnect.c: New file.
2762 * gdb.btrace/reconnect.exp: New file.
2763
27642016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
2765
2766 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
2767 to test_catch_syscall_group.
2768 (test_catch_syscall_group): New.
2769
27702016-07-21 Tom Tromey <tom@tromey.com>
2771
2772 * gdb.rust/simple.rs (main): Use empty struct expression.
2773 * gdb.rust/simple.exp: Add tests for empty struct expression.
2774
27752016-07-21 Yao Qi <yao.qi@linaro.org>
2776
2777 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
2778 if gdb_skip_xml_test is true on some targets.
2779
27802016-07-21 Yao Qi <yao.qi@linaro.org>
2781
2782 * gdb.server/solib-list.exp: Unset last_loaded_file.
2783
27842016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2785
2786 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
2787 "step into captured_main (args)".
2788
27892016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2790
2791 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
2792
27932016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2794
2795 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
2796
27972016-07-19 Pedro Alves <palves@redhat.com>
2798
2799 * gdb.opt/inline-break.exp: Remove optimize=-O2.
2800 * gdb.opt/inline-bt.exp: Likewise.
2801 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
2802 additional_flags=-Winline.
2803 * gdb.opt/inline-locals.exp: Likewise.
2804 * gdb.opt/inline-markers.c (ATTR): Define.
2805 (inlined_fn): Use it.
2806
28072016-07-19 Yao Qi <yao.qi@linaro.org>
2808
2809 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
2810 (test_with_self): Remove some code. Remove argument executable.
2811 (top-level): Use do_self_tests.
2812
28132016-07-15 Zachary Welch <zwelch@codesourcery.com>
2814 Don Breazeal <donb@codesourcery.com>
2815
2816 * gdb.base/maint.exp: Escape paths used in regular expressions.
2817 * gdb.stabs/weird.exp: Likewise.
2818
28192016-07-13 Tom Tromey <tom@tromey.com>
2820
2821 PR python/15620, PR python/18620:
2822 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
2823 (test_bkpt_events): New procs.
2824
28252016-07-13 Tom Tromey <tom@tromey.com>
2826
2827 PR python/17698:
2828 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
2829 test.
2830 (test_watchpoints): Likewise.
2831 (test_bkpt_pending): New proc.
2832
28332016-07-13 Tom Tromey <tom@tromey.com>
2834
2835 PR cli/18053:
2836 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
2837 completion test.
2838
28392016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2840
2841 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
2842 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
2843 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
2844 f_label.
2845 (g): Rename g_end_lbl to g_label.
2846 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
2847 low_pc and high_pc.
2848 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
2849
28502016-07-12 Tom Tromey <tom@tromey.com>
2851
2852 PR python/19293:
2853 * gdb.python/py-unwind-maint.exp: Update tests.
2854
28552016-07-12 Yao Qi <yao.qi@linaro.org>
2856
2857 * lib/selftest-support.exp (selftest_setup): Match the output
2858 when captured_main is inlined.
2859
28602016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
2861
2862 * gdb.fortran/derived-types.exp (result_line, result_line_2):
2863 New variables.
2864 (print this%a, print this%b, print this): New tests.
2865 * gdb.fortran/derived-types.f90 (this): New object and
2866 initialization.
2867
28682016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2869
2870 * gdb.ada/arraydim.exp: Remove extra directory level in build
2871 directory.
2872
28732016-07-06 Simon Marchi <simon.marchi@ericsson.com>
2874
2875 * lib/ada.exp: Remove extra directory level in build directory.
2876 * gdb.ada/cond_lang.exp: Likewise.
2877 * gdb.ada/exec_changed.exp: Likewise.
2878 * gdb.ada/lang_switch.exp: Likewise.
2879
28802016-07-06 Manish Goregaokar <manish@mozilla.com>
2881
2882 * simple.rs: Add test for raw pointer subscripting.
2883 * simple.exp: Add test expectations.
2884
28852016-07-05 Yao Qi <yao.qi@linaro.org>
2886
2887 * gdb.mi/mi-reverse.exp: Match =record-started output.
2888
28892016-07-01 Pedro Alves <palves@redhat.com>
2890
2891 * gdb.base/jit-reader.exp (info_registers_current_frame): New
2892 procedure.
2893 (jit_reader_test): Test the jit reader's unwinder.
2894 * gdb.base/jithost.c (jit_function_00_code): New global.
2895 (main): Use memcpy to fill in the mmapped code, instead of poking
2896 bytes manually here.
2897 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
2898 value.
2899 (read_debug_info): Save the function's range.
2900 (read_sp): New function.
2901 (unwind_frame): Use it. Also unwind RBP.
2902 (get_frame_id): Use read_sp.
2903 (gdb_init_reader): Use calloc instead of malloc.
2904 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
2905 parameter. Use gdb_test_multiple.
2906
29072016-07-01 Pedro Alves <palves@redhat.com>
2908 Antoine Tremblay <antoine.tremblay@ericsson.com>
2909
2910 * gdb.threads/process-dies-while-detaching.c: New file.
2911 * gdb.threads/process-dies-while-detaching.exp: New file.
2912
29132016-07-01 Pedro Alves <palves@redhat.com>
2914
2915 * gdb.multi/watchpoint-multi-exit.c: New file.
2916 * gdb.multi/watchpoint-multi-exit.exp: New file.
2917
29182016-06-30 Pedro Alves <palves@redhat.com>
2919
2920 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
2921 unset inferior_spawn_id.
2922
29232016-06-30 Pedro Alves <palves@redhat.com>
2924
2925 * lib/mi-support.exp (default_mi_gdb_start): Declare global
2926 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
2927
29282016-06-29 Yao Qi <yao.qi@linaro.org>
2929
2930 * gdb.base/return.c: Add copyright header.
2931
29322016-06-29 Tom Tromey <tom@tromey.com>
2933
2934 PR python/20129:
2935 * gdb.python/py-framefilter.exp: Add tests for setting priority
2936 and disabling of non-existent frame filter.
2937
29382016-06-29 Yao Qi <yao.qi@linaro.org>
2939
2940 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
2941 0x0f07ff.
2942
29432016-06-28 Yao Qi <yao.qi@linaro.org>
2944
2945 * gdb.base/catch-syscall.exp: Remove check on isnative and target
2946 triplets. Start gdb, execute catch syscall, and continue. Check
2947 gdb's output to determine catch syscall is supported.
2948
29492016-06-27 Manish Goregaokar <manish@mozilla.com>
2950
2951 * gdb.rust/simple.rs: Add test for returning unit in a function.
2952 * gdb.rust/simple.exp: Add expectation for functions returning
2953 unit.
2954
29552016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
2956
2957 * gdb.python/py-breakpoint-create-fail.c,
2958 gdb.python/py-breakpoint-create-fail.exp,
2959 gdb.python/py-breakpoint-create-fail.py: New testcase.
2960
29612016-06-25 Manish Goregaokar <manish@mozilla.com>
2962
2963 PR gdb/20239
2964 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
2965 * gdb.rust/simple.exp: Add test expectations for new NonZero
2966 tests.
2967
29682016-06-24 David Taylor <dtaylor@emc.com>
2969
2970 * gdb.base/offsets.exp: New file.
2971 * gdb.base/offsets.c: New file.
2972
29732016-06-23 Tom Tromey <tom@tromey.com>
2974
2975 PR gdb/16483:
2976 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
2977 before any filters are loaded.
2978
29792016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
2980
2981 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
2982 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
2983 structs.
2984 * gdb.fortran/derived-type-function.exp: New file.
2985 * gdb.fortran/derived-type-function.f90: New file.
2986
2987
29882016-06-21 Pedro Alves <palves@redhat.com>
2989
2990 * gdb.base/new-ui.exp: New file.
2991 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
2992 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
2993 (with_spawn_id): New procedure.
2994
29952016-06-21 Pedro Alves <palves@redhat.com>
2996
2997 * gdb.mi/mi-exec-run.exp: New file.
2998
29992016-06-21 Pedro Alves <palves@redhat.com>
3000
3001 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
3002 breakpoint command's output on the main UI.
3003 (test_break): New procedure, factored out from calls in the top
3004 level.
3005 (top level): Use foreach_with_prefix to test MI as main UI and as
3006 separate UI.
3007
30082016-06-21 Pedro Alves <palves@redhat.com>
3009
3010 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
3011 (test_awatch_creation_and_listing)
3012 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
3013 Remove 'type' parameter.
3014 (test_watchpoint_all): New parameter mi_mode. Remove
3015 with_test_prefix.
3016 (top level): Use foreach_with_prefix, and add main/separate UI MI
3017 testing axis.
3018
30192016-06-21 Pedro Alves <palves@redhat.com>
3020
3021 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
3022 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
3023 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
3024 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
3025 (gdb_main_spawn_id, mi_spawn_id): Declare and
3026 comment.
3027 (mi_create_inferior_pty): New procedure,
3028 factored out from default_mi_gdb_start.
3029 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
3030 procedures.
3031 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
3032 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
3033 Use mi_create_inferior_pty.
3034 (mi_gdb_start): Use eval to pass down args list.
3035
30362016-06-21 Pedro Alves <palves@redhat.com>
3037
3038 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
3039 * gdb.opt/inline-cmds.exp: Add MI tests.
3040
30412016-06-21 Pedro Alves <palves@redhat.com>
3042
3043 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
3044
30452016-06-21 Pedro Alves <palves@redhat.com>
3046
3047 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
3048 (top level): Use it instead of mi_execute_to.
3049
30502016-06-21 Pedro Alves <palves@redhat.com>
3051
3052 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
3053 (cont_handler_str): New.
3054 (signal_stop_handler): Set stop_handler_str instead of printing to
3055 stdout.
3056 (continue_handler): Set cont_handler_str instead of printing to
3057 stdout.
3058 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
3059 mi_send_resuming_command. Print stop_handler_str and
3060 cont_handler_str instead of expecting the python events print
3061 directly.
3062
30632016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
3064
3065 * gdb.base/jit-reader.exp: New file.
3066 * gdb.base/jithost.c: New file.
3067 * gdb.base/jithost.h: New file.
3068 * gdb.base/jitreader.c : New file.
3069 * gdb.base/jit-protocol.h: New file.
3070
30712016-06-17 Yao Qi <yao.qi@linaro.org>
3072
3073 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
3074 parameters follow_fork and detach_on_fork. Set follow-fork-mode
3075 and detach-on-fork. Adjust tests.
3076 (top level): Invoke break_cond_on_syscall with combinations of
3077 syscall, follow-fork-mode and detach-on-fork.
3078
30792016-06-17 Yao Qi <yao.qi@linaro.org>
3080
3081 * gdb.base/step-over-exit.c: New.
3082 * gdb.base/step-over-exit.exp: New.
3083
30842016-06-17 Yan-Ting Lin <currygt52@gmail.com>
3085
3086 * gdb.base/float.exp: Add target check for nds32*-*-*.
3087 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
3088
30892016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
3090
3091 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
3092 for unsupported target features.
3093 * gdb.base/call-rt-st.exp: Likewise.
3094 * gdb.base/call-sc.exp: Likewise.
3095 * gdb.base/call-signal-resume.exp: Likewise.
3096 * gdb.base/call-strs.exp: Likewise.
3097 * gdb.base/callexit.exp: Likewise.
3098 * gdb.base/callfuncs.exp: Likewise.
3099 * gdb.base/nodebug.exp: Likewise.
3100 * gdb.base/printcmds.exp: Likewise.
3101 * gdb.base/ptype.exp: Likewise.
3102 * gdb.base/structs.exp: Likewise.
3103 * gdb.base/unwindonsignal.exp: Likewise.
3104 * gdb.cp/gdb2495.exp: Likewise.
3105 * gdb.cp/templates.exp: Likewise.
3106 * gdb.cp/virtfunc.exp: Likewise.
3107 * gdb.threads/hand-call-in-threads.exp: Likewise.
3108 * gdb.threads/interrupted-hand-call.exp: Likewise.
3109 * gdb.threads/thread-unwindonsignal.exp: Likewise.
3110
31112016-06-10 Tom Tromey <tom@tromey.com>
3112
3113 PR rust/20110:
3114 * gdb.rust/expr.exp: Add test for integer constant larger than
3115 i32.
3116
31172016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
3118
3119 * gdb.fortran/nested-funcs.exp: New.
3120 * gdb.fortran/nested-funcs.f90: New.
3121
31222016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
3123
3124 * gdb.base/examine-backward.c: New file.
3125 * gdb.base/examine-backward.exp: New file.
3126
31272016-06-06 Simon Marchi <simon.marchi@ericsson.com>
3128
3129 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
3130 matching.
3131
31322016-06-02 Tom Tromey <tom@tromey.com>
3133
3134 PR python/18984:
3135 * gdb.python/py-shared.exp: Add solib_name test.
3136
31372016-06-02 Simon Marchi <simon.marchi@ericsson.com>
3138
3139 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
3140
31412016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
3142
3143 PR c++/19893
3144 * gdb.dwarf2/implref.exp: Rename to...
3145 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
3146 * gdb.dwarf2/implref-array.c: New file.
3147 * gdb.dwarf2/implref-array.exp: Likewise.
3148 * gdb.dwarf2/implref-global.c: Likewise.
3149 * gdb.dwarf2/implref-global.exp: Likewise.
3150 * gdb.dwarf2/implref-struct.c: Likewise.
3151 * gdb.dwarf2/implref-struct.exp: Likewise.
3152
31532016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3154
3155 * gdb.trace/trace-condition.exp: Add 64bit tests.
3156
31572016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3158
3159 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
3160 bits types.
3161 (main): Adapt to 8 to 64 bits types.
3162 * gdb.trace/trace-condition.exp: Add new tests.
3163
31642016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3165
3166 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
3167
31682016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3169
3170 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
3171 Move condition tests...
3172 * gdb.trace/trace-condition.exp: Here.
3173
31742016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3175
3176 * gdb.trace/trace-condition.exp: Add counter-case tests.
3177
31782016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3179
3180 PR c++/15231
3181 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
3182 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
3183
31842016-05-27 Pedro Alves <palves@redhat.com>
3185
3186 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3187 New procedure.
3188 (top level): Call it, and bail out of DejaGnu is known to be bad.
3189
31902016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
3191
3192 * gdb.base/whatis.c: Extend the test case.
3193 * gdb.base/whatis.exp: Add additional tests.
3194
31952016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3196
3197* gdb.fortran/type.f90: Add pointer variable.
3198* gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
3199
32002016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3201
3202 * gdb.fortran/vla-type.exp: Fix testcase name.
3203
32042016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3205
3206 * gdb.fortran/vla-type.exp: Access elements in nested structs.
3207
32082016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3209
3210 * gdb.fortran/type.f90: Add nested structures.
3211 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
3212 * gdb.fortran/derived-type.exp: Adapt expected output.
3213 * gdb.fortran/vla-type.exp: Adapt expected output.
3214
32152016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3216
3217 * gdb.fortran/whatis_type.exp: Adapt expected output.
3218
32192016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3220
3221 * gdb.fortran/print_type.exp: Fix expected output.
3222 * gdb.fortran/whatis_type.exp: Fix expected output.
3223
32242016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3225
3226 * gdb.fortran/whatis_type.exp: Use multi_line.
3227
32282016-05-24 Tom Tromey <tom@tromey.com>
3229
3230 PR python/17386:
3231 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
3232 use value as an index.
3233
32342016-05-23 Tom Tromey <tom@tromey.com>
3235
3236 PR python/17981:
3237 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
3238 no-breakpoint case.
3239
32402016-05-24 Pedro Alves <palves@redhat.com>
3241
3242 PR gdb/19828
3243 * gdb.threads/clone-attach-detach.c: New file.
3244 * gdb.threads/clone-attach-detach.exp: New file.
3245
32462016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
3247
3248 * gdb.base/annota-input-while-running.exp: Fix syntax error.
3249
32502016-05-23 Tom Tromey <tom@tromey.com>
3251
3252 PR python/19438, PR python/18393:
3253 * gdb.python/py-progspace.exp: Add "dir" test.
3254 * gdb.python/py-objfile.exp: Add "dir" test.
3255
32562016-05-23 Yao Qi <yao.qi@linaro.org>
3257
3258 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
3259 * gdb.arch/thumb2-it.exp: Likewise.
3260
32612016-05-18 Simon Marchi <simon.marchi@ericsson.com>
3262
3263 * gdb.mi/mi-threads-interrupt.c: New file.
3264 * gdb.mi/mi-threads-interrupt.exp: New file.
3265
32662016-05-17 Simon Marchi <simon.marchi@ericsson.com>
3267
3268 PR gdb/18077
3269 * gdb.mi/mi-async-run.exp: New file.
3270 * gdb.mi/mi-async-run.c: New file.
3271
32722016-05-17 Tom Tromey <tom@tromey.com>
3273 Manish Goregaokar <manishsmail@gmail.com>
3274
3275 * lib/rust-support.exp: New file.
3276 * lib/gdb.exp (skip_rust_tests): New proc.
3277 (build_executable_from_specs): Handle rust.
3278 * lib/future.exp (gdb_find_rustc): New proc.
3279 (gdb_default_target_compile): Handle rust.
3280 * gdb.rust/expr.exp: New file.
3281 * gdb.rust/generics.exp: New file.
3282 * gdb.rust/generics.rs: New file.
3283 * gdb.rust/methods.exp: New file.
3284 * gdb.rust/methods.rs: New file.
3285 * gdb.rust/modules.exp: New file.
3286 * gdb.rust/modules.rs: New file.
3287 * gdb.rust/simple.exp: New file.
3288 * gdb.rust/simple.rs: New file.
3289
32902016-05-17 Tom Tromey <tom@tromey.com>
3291
3292 * gdb.base/default.exp (set language): Add rust.
3293
32942016-05-17 Tom Tromey <tom@tromey.com>
3295
3296 * gdb.gdb/unittest.exp: New file.
3297
32982016-05-16 Yao Qi <yao.qi@linaro.org>
3299
3300 * gdb.base/batch-preserve-term-settings.exp: Remove variable
3301 shell_prompt. Update shell_prompt_re.
3302
33032016-05-12 Doug Evans <dje@google.com>
3304
3305 PR symtab/19999
3306 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
3307 $options when building executable.
3308 * gdb.dwarf2/fission-loclists-pie.S: New file.
3309 * gdb.dwarf2/fission-loclists-pie.exp: New file.
3310
33112016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3312
3313 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
3314 of [is_remote target],
3315
33162016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3317
3318 * lib/gdb.exp (use_gdb_stub): New procedure.
3319
33202016-05-03 Yunlian Jiang <yunlian@google.com>
3321 Doug Evans <dje@google.com>
3322
3323 PR symtab/19914
3324 * gdb.dwarf2/dwp-sepdebug.c: New file.
3325 * gdb.dwarf2/dwp-sepdebug.exp: New file.
3326
33272016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3328
3329 * gdb.base/detach.exp: Remove is_remote check.
3330
33312016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3332
3333 * gdb.base/annota-input-while-running.exp: Don't check for
3334 [is_remote target]. Enable annotations after running to main.
3335 Remove unused "set test..." line.
3336
33372016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3338
3339 * gdb.trace/trace-enable-disable.exp: New file.
3340 * gdb.trace/trace-enable-disable.c: New file.
3341
33422016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3343
3344 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
3345 use it in info sharedlibrary test.
3346 * gdb.trace/ftrace-lock.exp: Likewise.
3347 * gdb.trace/ftrace.exp: Likewise.
3348 * gdb.trace/range-stepping.exp: Likewise.
3349 * gdb.trace/trace-break.exp: Likewise.
3350 * gdb.trace/trace-condition.exp: Likewise.
3351 * gdb.trace/trace-mt.exp: Likewise.
3352
33532016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3354
3355 * lib/gdb.exp (gdb_load_shlibs): Rename to...
3356 (gdb_load_shlib): ... this.
3357 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
3358 gdb_load_shlib.
3359 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3360 * gdb.base/ctxobj.exp: Likewise.
3361 * gdb.base/dprintf-pending.exp: Likewise.
3362 * gdb.base/dso2dso.exp: Likewise.
3363 * gdb.base/fixsection.exp: Likewise.
3364 * gdb.base/gcore-relro.exp: Likewise.
3365 * gdb.base/gdb1555.exp: Likewise.
3366 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3367 * gdb.base/gnu-ifunc.exp: Likewise.
3368 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
3369 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3370 * gdb.base/pending.exp: Likewise.
3371 * gdb.base/print-file-var.exp: Likewise.
3372 * gdb.base/print-symbol-loading.exp: Likewise.
3373 * gdb.base/shlib-call.exp: Likewise.
3374 * gdb.base/shreloc.exp: Likewise.
3375 * gdb.base/so-impl-ld.exp: Likewise.
3376 * gdb.base/solib-disc.exp: Likewise.
3377 * gdb.base/solib-nodir.exp: Likewise.
3378 * gdb.base/solib-overlap.exp: Likewise.
3379 * gdb.base/solib-symbol.exp: Likewise.
3380 * gdb.base/solib-weak.exp (do_test): Likewise.
3381 * gdb.base/sym-file.exp: Likewise.
3382 * gdb.base/symtab-search-order.exp: Likewise.
3383 * gdb.base/type-opaque.exp: Likewise.
3384 * gdb.base/unload.exp: Likewise.
3385 * gdb.base/watchpoint-solib.exp: Likewise.
3386 * gdb.compile/compile.exp: Likewise.
3387 * gdb.cp/gdb2384.exp: Likewise.
3388 * gdb.cp/infcall-dlopen.exp: Likewise.
3389 * gdb.cp/re-set-overloaded.exp: Likewise.
3390 * gdb.fortran/library-module.exp: Likewise.
3391 * gdb.opt/solib-intra-step.exp: Likewise.
3392 * gdb.python/py-finish-breakpoint.exp: Likewise.
3393 * gdb.python/py-shared.exp: Likewise.
3394 * gdb.reverse/solib-precsave.exp: Likewise.
3395 * gdb.reverse/solib-reverse.exp: Likewise.
3396 * gdb.server/solib-list.exp: Likewise.
3397 * gdb.threads/dlopen-libpthread.exp: Likewise.
3398 * gdb.threads/tls-shared.exp: Likewise.
3399 * gdb.threads/tls-so_extern.exp: Likewise.
3400 * gdb.trace/change-loc.exp: Likewise.
3401 * gdb.trace/ftrace-lock.exp: Likewise.
3402 * gdb.trace/ftrace.exp: Likewise.
3403 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
3404 * gdb.trace/pending.exp: Likewise.
3405 * gdb.trace/range-stepping.exp: Likewise.
3406 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
3407 (strace_info_marker): Likewise.
3408 (strace_probe_marker): Likewise.
3409 (strace_trace_on_same_addr): Likewise.
3410 (strace_trace_on_diff_addr): Likewise.
3411 * gdb.trace/trace-break.exp: Likewise.
3412 * gdb.trace/trace-condition.exp: Likewise.
3413 * gdb.trace/trace-mt.exp: Likewise.
3414
34152016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3416
3417 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
3418 result of gdb_remote_download.
3419 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
3420 * gdb.base/dso2dso.exp: Likewise.
3421 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3422 * gdb.base/print-file-var.exp: Likewise.
3423 * gdb.base/shlib-call.exp: Likewise.
3424 * gdb.base/shreloc.exp: Likewise.
3425 * gdb.base/solib-overlap.exp: Likewise.
3426 * gdb.base/solib-weak.exp (do_test): Likewise.
3427 * gdb.base/unload.exp: Likewise.
3428
34292016-04-27 Yao Qi <yao.qi@linaro.org>
3430
3431 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
3432 exists.
3433
34342016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3435
3436 * vla-type.exp: Print structure from toplevel.
3437
34382016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3439
3440 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
3441 of dynamic types.
3442 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
3443 of dynamic types.
3444
34452016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3446
3447 * gdb.fortran/vla-type.f90: New file.
3448 * gdb.fortran/vla-type.exp: New file.
3449
34502016-04-25 Yao Qi <yao.qi@linaro.org>
3451
3452 * gdb.base/branch-to-self.c: New file.
3453 * gdb.base/branch-to-self.exp: New file.
3454
34552016-04-22 Yao Qi <yao.qi@linaro.org>
3456
3457 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
3458 more after $hex.
3459
34602016-04-22 Yao Qi <yao.qi@linaro.org>
3461
3462 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
3463 * gdb.base/annota3.exp: Likewise.
3464
34652016-04-22 Yao Qi <yao.qi@linaro.org>
3466
3467 * gdb.reverse/step-precsave.exp: Do one step and test program
3468 stops in "callee" and do multiple steps until program goes out
3469 of "callee".
3470 * gdb.reverse/step-reverse.exp: Likewise.
3471
34722016-04-22 Yao Qi <yao.qi@linaro.org>
3473
3474 * gdb.trace/signal.exp: Also pass if
3475 $tracepoint_hits($i) > $iterations.
3476
34772016-04-22 Yao Qi <yao.qi@linaro.org>
3478
3479 * gdb.trace/signal.c: New file.
3480 * gdb.trace/signal.exp: New file.
3481
34822016-04-19 Doug Evans <xdje42@gmail.com>
3483
3484 * gdb.base/bad-file.exp: New file.
3485
34862016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3487
3488 * gdb.dwarf2/implref.exp: New file.
3489
34902016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3491
3492 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
3493 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
3494 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
3495 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
3496 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
3497 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
3498 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
3499 * lib/fortran.exp (fortran_int4): New procedure.
3500 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
3501 (fortran_logical4): Likewise.
3502
35032016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
3504
3505 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
3506
35072016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3508
3509 * lib/compiler.c: Add Intel specific preprocessor macros.
3510 * lib/compiler.cc: Likewise.
3511
35122016-04-13 Luis Machado <lgustavo@codesourcery.com>
3513
3514 * gdb.server/connect-with-no-symbol-file.c: New file.
3515 * gdb.server/connect-with-no-symbol-file.exp: New file.
3516
35172016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3518
3519 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3520
35212016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3522
3523 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3524 standard output directory.
3525
35262016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3527
3528 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3529
35302016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3531
3532 * gdb.btrace/instruction_history.c (loop): Add declaration.
3533
35342016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3535
3536 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3537
35382016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3539
3540 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3541 parentheses to print.
3542 (continue_handler): Likewise.
3543
35442016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3545
3546 * gdb.server/solib-list.exp: Remove is_remote check.
3547 Pass shlib= to gdb_compile. Don't link shared library with
3548 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3549 Run binary filename through "readlink -f" on the target.
3550
35512016-04-08 Pedro Alves <palves@redhat.com>
3552
3553 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3554 interpreter filename as argument to gdbserver_spawn.
3555 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3556 Return empty if $last_loaded_file does not exist.
3557
35582016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3559
3560 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3561 * gdb.base/jit-main.c: Use exit after usage.
3562
35632016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3564
3565 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3566 GDBHISTSIZE prior to the tests.
3567 * gdb.base/gdbinit-history.exp: Likewise.
3568
35692016-04-07 Pedro Alves <palves@redhat.com>
3570
3571 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3572 instead of build_executable. Use gdb_load_shlibs.
3573
35742016-04-07 Yao Qi <yao.qi@linaro.org>
3575
3576 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3577 Execute "si" command.
3578
35792016-04-07 Yao Qi <yao.qi@linaro.org>
3580
3581 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3582 number instead of the comments on some line.
3583
35842016-04-06 Don Breazeal <donb@codesourcery.com>
3585
3586 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3587 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3588
35892016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3590
3591 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3592 standard_output_file. Remove unused binfile variable.
3593
35942016-04-05 Catalin Udma <catalin.udma@freescale.com>
3595
3596 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3597 * gdb.python/py-mi-objfile.exp: Match "list main" output
3598 in console format.
3599
36002016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3601
3602 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3603 absolute.
3604
36052016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3606
3607 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
3608 absolute.
3609 * gdb.trace/ftrace.exp: Likewise.
3610 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
3611 targets as well.
3612 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
3613 (gdb_load_shlibs): Copy libraries to test directory when testing
3614 natively. Only set solib-search-path if testing remotely.
3615 * lib/mi-support.exp (mi_load_shlibs): Likewise.
3616
36172016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3618
3619 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
3620 gdb_download. Use it even if the target is not remote.
3621 * gdb.base/jit.exp (compile_jit_test): Likewise.
3622 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
3623 output directory if the destination board is local, otherwise use
3624 the standard remote_download from DejaGnu.
3625 (gdb_download): Remove.
3626 (gdb_load_shlibs): Use gdb_remote_download instead of
3627 gdb_download.
3628 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3629 Use gdb_remote_download instead of gdb_download. Use it even if
3630 the target is not remote.
3631 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
3632 instead of gdb_download.
3633
36342016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
3635
3636 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
3637 (test_insert_delete_modify): Call mi_load_shlibs before trying to
3638 run.
3639
36402016-04-01 Artemiy Volkov <artemiyv@acm.org>
3641
3642 PR gdb/19820
3643 * gdb.base/printcmds.exp: Add artificial arrays tests.
3644
36452016-03-31 Pedro Alves <palves@redhat.com>
3646
3647 PR gdb/19858
3648 * gdb.base/jit-main.c: Include unistd.h.
3649 (ATTACH): Define to 0 if not already defined.
3650 (wait_for_gdb, mypid): New globals.
3651 (WAIT_FOR_GDB): New macro.
3652 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
3653 some breakpoint locations.
3654 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
3655 New procedures.
3656 (one_jit_test): Add REATTACH parameter, and handle it. Use
3657 continue_to_test_location.
3658 (top level): Test attach, and adjusts calls to one_jit_test.
3659
36602016-03-31 Pedro Alves <palves@redhat.com>
3661
3662 PR gdb/19858
3663 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
3664 BINSUFFIX parameter, and handle it.
3665 (top level): Adjust calls compile_jit_test.
3666
36672016-03-31 Catalin Udma <catalin.udma@freescale.com>
3668
3669 PR python/19743
3670 * gdb.python/py-mi-events-gdb.py: New file.
3671 * gdb.python/py-mi-events.c: New file.
3672 * gdb.python/py-mi-events.exp: New file.
3673
36742016-03-30 Yao Qi <yao.qi@linaro.org>
3675
3676 * gdb.reverse/until-precsave.exp: Match function name only.
3677 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
3678 Move malloc to a condition block.
3679 * gdb.reverse/until-reverse.exp: Match function name only.
3680
36812016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
3682
3683 * gdb.trace/ftrace.exp: Set arg0exp for s390.
3684 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
3685 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
3686 variable for GPR 0 instead of assuming it is register 0.
3687 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
3688 * lib/trace-support.exp: Add s390 registers.
3689
36902016-03-29 Yao Qi <yao.qi@linaro.org>
3691
3692 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
3693
36942016-03-24 Yao Qi <yao.qi@linaro.org>
3695
3696 * gdb.reverse/break-reverse.exp: Add quotation mark in the
3697 test message.
3698
36992016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3700
3701 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
3702 maintaining separate logic for constructing the output path.
3703
37042016-03-16 Don Breazeal <donb@codesourcery.com>
3705
3706 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3707 Retry fork and waitpid on interrupted system call errors.
3708 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3709 Use with_timeout_factor to increase timeout by factor of 10.
3710
37112016-03-15 Don Breazeal <donb@codesourcery.com>
3712
3713 * gdb.cp/scope-err.cc: New test program.
3714 * gdb.cp/scope-err.exp: New test script.
3715 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
3716 lines and "set breakpoint here" comment.
3717 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
3718 Fixed some whitespace and format issues.
3719 * gdb.mi/mi-linespec-err-cp.cc: New test program.
3720 * gdb.mi/mi-linespec-err-cp.exp: New test script.
3721
37222016-03-15 Doug Evans <dje@google.com>
3723
3724 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
3725 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
3726 All callers updated. Add tests for enums, mixed flags register.
3727
37282016-03-15 Doug Evans <dje@google.com>
3729
3730 * gdb.base/skip.c (main): Call test_skip_file_and_function.
3731 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
3732
37332016-03-14 Simon Marchi <simon.marchi@ericsson.com>
3734
3735 * gdb.base/default.exp: Add $_as_string to the list of expected
3736 convenience functions.
3737
37382016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
3739
3740 * gdb.base/maint.exp: New tests for 'maint info line-table'.
3741
37422016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
3743
3744 * gdb.python/py-as-string.exp: New file.
3745 * gdb.python/py-as-string.c: New file.
3746
37472016-03-09 Pedro Alves <palves@redhat.com>
3748
3749 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
3750 signal" -> "Thread NN received signal" output change.
3751 * gdb.threads/ia64-sigill.exp: Likewise.
3752 * gdb.threads/linux-dp.exp: Likewise.
3753 * gdb.threads/manythreads.exp: Likewise.
3754 * gdb.threads/pending-step.exp: Likewise.
3755 * gdb.threads/print-threads.exp: Likewise.
3756 * gdb.threads/sigstep-threads.exp: Likewise.
3757 * gdb.threads/staticthreads.exp: Likewise.
3758 * gdb.threads/tls.exp: Likewise.
3759
37602016-03-09 Pedro Alves <palves@redhat.com>
3761
3762 * gdb.base/command-line-input.exp: New file.
3763
37642016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3765
3766 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
3767 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
3768 * gdb.trace/pending.exp: Accept leading dot before function name.
3769 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
3770 * lib/trace-support.exp: Set registers for ppc.
3771
37722016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3773
3774 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
3775 use it for disassembly; accept .main in addition to main in backtrace.
3776
37772016-03-09 Wei-cheng Wang <cole945@gmail.com>
3778 Marcin Kościelnicki <koriakin@0x04.net>
3779
3780 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
3781 (gdb_recursion_test_ptr): New global variable.
3782 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
3783 gdb_recursion_test.
3784 (gdb_c_test): Ditto.
3785
37862016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3787
3788 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
3789 ordering.
3790
37912016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3792
3793 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
3794 (bar): Add bar_start_lbl label.
3795 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
3796 of foo/bar for emitting DWARF and tracing.
3797
37982016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
3799
3800 * analyze-racy-logs.py: Set executable bit.
3801
38022016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
3803
3804 * Makefile.in (DEFAULT_RACY_ITER): New variable.
3805 (CHECK_TARGET_TMP): Likewise.
3806 (check-single-racy): New rule.
3807 (check-parallel-racy): Likewise.
3808 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
3809 (do-check-parallel-racy): New rule.
3810 (check-racy/%.exp): Likewise.
3811 * README (Racy testcases): New section.
3812 * analyze-racy-logs.py: New file.
3813
38142016-03-03 Doug Evans <dje@google.com>
3815
3816 * gdb.base/skip.exp: Use with_test_prefix.
3817
38182016-03-03 Yao Qi <yao.qi@linaro.org>
3819
3820 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
3821 Invoke step_over_syscall "clone" and break_cond_on_syscall
3822 "clone".
3823 * gdb.base/step-over-clone.c: New file.
3824
38252016-03-03 Yao Qi <yao.qi@linaro.org>
3826
3827 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
3828 code format.
3829
38302016-03-03 Yao Qi <yao.qi@linaro.org>
3831
3832 * gdb.base/disp-step-fork.c: Rename to ...
3833 * gdb.base/step-over-fork.c: ... it. New file.
3834 * gdb.base/disp-step-vfork.c: Rename to ...
3835 * gdb.base/step-over-vfork.c: ... it. New file.
3836 * gdb.base/disp-step-syscall.exp: Rename to ...
3837 * gdb.base/step-over-syscall.exp: ... it. New file.
3838 (disp_step_cross_syscall): Rename to ...
3839 (step_over_syscall): ... it.
3840
38412016-03-03 Yao Qi <yao.qi@linaro.org>
3842
3843 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
3844 If target supports condition evaluation on target, invoke
3845 break_cond_on_syscall for fork and vfork.
3846
38472016-03-03 Yao Qi <yao.qi@linaro.org>
3848
3849 * gdb.base/disp-step-syscall.exp: Don't invoke
3850 support_displaced_stepping.
3851 (disp_step_cross_syscall): Test with displaced stepping off and
3852 on if supported.
3853
38542016-03-03 Yao Qi <yao.qi@linaro.org>
3855
3856 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
3857 proc.
3858 (setup): New proc.
3859 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
3860 and setup.
3861
38622016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3863
3864 * gdb.fortran/vla-history.exp: Remove breakpoint.
3865
38662016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3867
3868 * gdb.fortran/vla-history.exp: Lookup array elements and printing
3869 exceeds timeout.
3870
38712016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3872
3873 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
3874 breakpoint.
3875
38762016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
3877
3878 * gdb.mi/vla.f90: Nullify pointer after declaration.
3879
38802016-03-01 Pedro Alves <palves@redhat.com>
3881
3882 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
3883
38842016-03-01 Pedro Alves <palves@redhat.com>
3885
3886 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
3887 before anything else.
3888 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
3889 _GNU_SOURCE here.
3890 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
3891 before anything else.
3892 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
3893
38942016-03-01 Pedro Alves <palves@redhat.com>
3895
3896 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
3897
38982016-03-01 Yao Qi <yao.qi@linaro.org>
3899
3900 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
3901 prepare_for_testing.
3902
39032016-03-01 Yao Qi <yao.qi@linaro.org>
3904
3905 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
3906
39072016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3908
3909 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
3910 manually constructing the output path.
3911
39122016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
3913
3914 * gdb.arch/s390-stackless.S: New.
3915 * gdb.arch/s390-stackless.exp: New.
3916
39172016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
3918
3919 * gdb.dlang/circular.c: New file.
3920 * gdb.dlang/circular.exp: New file.
3921
39222016-02-26 Yao Qi <yao.qi@linaro.org>
3923
3924 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
3925 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
3926 (testcases): Update.
3927
39282016-02-26 Yao Qi <yao.qi@linaro.org>
3929
3930 * gdb.reverse/aarch64.c: Rename to ...
3931 * gdb.reverse/insn-reverse.c: ... it.
3932 * gdb.reverse/aarch64.exp: Rename to ...
3933 * gdb.reverse/insn-reverse.exp: ... it.
3934
39352016-02-26 Yao Qi <yao.qi@linaro.org>
3936
3937 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
3938 (testcase_ftype): New.
3939 (testcases): New array.
3940 (n_testcases): New.
3941 (main): Call each element in testcases.
3942 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
3943 (read_testcase): New.
3944 Do the tests in a loop.
3945
39462016-02-25 Yao Qi <yao.qi@linaro.org>
3947
3948 * gdb.base/branches.c: Remove.
3949
39502016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3951
3952 PR gdb/13808
3953 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
3954
39552016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3956
3957 * gdb.trace/ftrace.exp: Remove unnecessary target check.
3958
39592016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
3960
3961 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
3962 change x86_64 call_insn to 'callq'.
3963
39642016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3965
3966 * gdb.trace/tfile-avx.c: Move to...
3967 * gdb.trace/tracefile-pseudo-reg.c: Here.
3968 * gdb.trace/tfile-avx.exp: Move to...
3969 * gdb.trace/tracefile-pseudo-reg.exp: Here.
3970
39712016-02-24 Gary Benson <gbenson@redhat.com>
3972
3973 * gdb.base/attach-pie-noexec.exp: Do not expect an error
3974 message on attach.
3975
39762016-02-23 Doug Evans <dje@google.com>
3977
3978 * gdb.base/skip.c (test_skip): New function.
3979 (end_test_skip_file_and_function): New function.
3980 (test_skip_file_and_function): New function.
3981 * gdb.base/skip1.c (test_skip): New function.
3982 (skip1_test_skip_file_and_function): New function.
3983 * gdb.base/skip.exp: Add tests for new skip options.
3984 * gdb.base/skip-solib.exp: Update expected output.
3985 * gdb.perf/skip-command.cc: New file.
3986 * gdb.perf/skip-command.exp: New file.
3987 * gdb.perf/skip-command.py: New file.
3988
39892016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
3990
3991 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
3992 info registers pattern.
3993
39942016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
3995
3996 * lib/future.exp: Add D support.
3997 (gdb_find_gdc): New proc.
3998 (gdb_default_target_compile): Add D support.
3999
40002016-02-18 Wei-cheng Wang <cole945@gmail.com>
4001
4002 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
4003 user+system time.
4004 (trace_speed_test): Determine the iteration count for a time
4005 between 15..30 seconds.
4006
40072016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
4008
4009 * gdb.arch/i386-mpx-sigsegv.c: New file.
4010 * gdb.arch/i386-mpx-sigsegv.exp: New file.
4011 * gdb.arch/i386-mpx-simple_segv.c: New file.
4012 * gdb.arch/i386-mpx-simple_segv.exp: New file.
4013
40142016-02-18 Yao Qi <yao.qi@linaro.org>
4015
4016 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4017 Don't call setup_kfail.
4018
40192016-02-18 Yao Qi <yao.qi@linaro.org>
4020
4021 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4022 Set "set breakpoint condition-evaluation" per $cond_bp_target.
4023
40242016-02-16 Doug Evans <dje@google.com>
4025
4026 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
4027 * gdb.base/skip1.c: Ditto.
4028 * gdb.base/skip.exp: Whitespace cleanup.
4029
40302016-02-16 Don Breazeal <donb@codesourcery.com>
4031
4032 PR remote/19496
4033 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4034 Remove kfail for PR remote/19496.
4035
40362016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4037
4038 * lib/gdb.exp (standard_temp_file): Return a path specific to
4039 the runtest invocation.
4040
40412016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4042
4043 * gdb.trace/save-trace.exp: Change relative path to be in the
4044 standard output directory.
4045
40462016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4047
4048 * gdb.arch/i386-prologue.c: Add missing prototypes.
4049
40502016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4051
4052 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
4053 * gdb.arch/i386-prologue.exp: Likewise.
4054 * gdb.arch/i386-size.exp: Likewise.
4055
40562016-02-15 Simon Marchi <simon.marchi@ericsson.com>
4057
4058 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
4059 define object file path.
4060 * gdb.btrace/gcore.exp: Use standard_output_file to define core
4061 file path.
4062 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
4063 standard_output_file to define binfile.
4064
40652016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4066
4067 Fix compatibility with recent gfortran-5.3.1.
4068 * gdb.fortran/vla-history.exp (print vla1 allocated)
4069 (print vla2 allocated, print $2, print $3): Remove
4070 (print $4): Rename to ...
4071 (print $2): ... here.
4072 (print $9): Rename to ...
4073 (print $5): ... here.
4074 (print $10): Rename to ...
4075 (print $6): ... here.
4076 * gdb.fortran/vla.f90: Add pvla initialization.
4077
40782016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4079
4080 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
4081 New test.
4082 * gdb.fortran/vla-value-sub.exp: Likewise.
4083
40842016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
4085
4086 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
4087
40882016-02-12 Simon Marchi <simon.marchi@ericsson.com>
4089
4090 * i386-biarch-core.exp: Define corefile using
4091 standard_output_file.
4092
40932016-02-12 Yao Qi <yao.qi@linaro.org>
4094
4095 * gdb.arch/arm-single-step-kernel-helper.c: New.
4096 * gdb.arch/arm-single-step-kernel-helper.exp: New.
4097
40982016-02-12 Markus Metzger <markus.t.metzger@intel.com>
4099
4100 * gdb.btrace/tailcall-only.exp: New.
4101 * gdb.btrace/tailcall-only.c: New.
4102 * gdb.btrace/x86_64-tailcall-only.S: New.
4103 * gdb.btrace/i686-tailcall-only.S: New.
4104
41052016-02-11 Pedro Alves <palves@redhat.com>
4106
4107 * README (Parallel testing): Add missing double quotes.
4108
41092016-02-11 Pedro Alves <palves@redhat.com>
4110
4111 * README (Parallel testing): New section.
4112 (GDB_PARALLEL): Rewrite.
4113 (FORCE_PARALLEL): Document.
4114
41152016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
4116
4117 * gdb.trace/tfile-avx.c: New test.
4118 * gdb.trace/tfile-avx.exp: New test.
4119
41202016-02-09 Keith Seitz <keiths@redhat.com>
4121
4122 PR breakpoints/19546
4123 * gdb.base/infcall-exec.c: New file.
4124 * gdb.base/infcall-exec2.c: New file.
4125 * gdb.base/infcall-exec.exp: New file.
4126
41272016-02-09 Keith Seitz <keiths@redhat.com>
4128
4129 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
4130 (toplevel): Call test_bkpt_address.
4131
41322016-02-09 Keith Seitz <keiths@redhat.com>
4133
4134 PR python/19506
4135 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
4136 (toplevel): Call test_bkpt_address.
4137
41382016-02-09 Simon Marchi <simon.marchi@ericsson.com>
4139
4140 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
4141 to AC_OUTPUT.
4142 * configure: Regenerate.
4143
41442016-02-09 Pedro Alves <palves@redhat.com>
4145
4146 PR breakpoints/19548
4147 * gdb.base/execl-update-breakpoints.c (some_function): New
4148 function.
4149 (main): Call it.
4150 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
4151 Tighten expected GDB output.
4152
41532016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4154
4155 * Makefile.in (ALL_SUBDIRS): Remove.
4156 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
4157 (distclean maintainer-clean realclean): Likewise.
4158 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
4159 * configure: Regenerate.
4160 * gdb.ada/Makefile.in: Delete.
4161 * gdb.arch/Makefile.in: Likewise.
4162 * gdb.asm/Makefile.in: Likewise.
4163 * gdb.base/Makefile.in: Likewise.
4164 * gdb.btrace/Makefile.in: Likewise.
4165 * gdb.cell/Makefile.in: Likewise.
4166 * gdb.compile/Makefile.in: Likewise.
4167 * gdb.cp/Makefile.in: Likewise.
4168 * gdb.disasm/Makefile.in: Likewise.
4169 * gdb.dlang/Makefile.in: Likewise.
4170 * gdb.dwarf2/Makefile.in: Likewise.
4171 * gdb.fortran/Makefile.in: Likewise.
4172 * gdb.gdb/Makefile.in: Likewise.
4173 * gdb.go/Makefile.in: Likewise.
4174 * gdb.guile/Makefile.in: Likewise.
4175 * gdb.java/Makefile.in: Likewise.
4176 * gdb.linespec/Makefile.in: Likewise.
4177 * gdb.mi/Makefile.in: Likewise.
4178 * gdb.modula2/Makefile.in: Likewise.
4179 * gdb.multi/Makefile.in: Likewise.
4180 * gdb.objc/Makefile.in: Likewise.
4181 * gdb.opencl/Makefile.in: Likewise.
4182 * gdb.opt/Makefile.in: Likewise.
4183 * gdb.pascal/Makefile.in: Likewise.
4184 * gdb.perf/Makefile.in: Likewise.
4185 * gdb.python/Makefile.in: Likewise.
4186 * gdb.reverse/Makefile.in: Likewise.
4187 * gdb.server/Makefile.in: Likewise.
4188 * gdb.stabs/Makefile.in: Likewise.
4189 * gdb.threads/Makefile.in: Likewise.
4190 * gdb.trace/Makefile.in: Likewise.
4191 * gdb.xml/Makefile.in: Likewise.
4192 * lib/gdb.exp (make_gdb_parallel_path): Add check for
4193 GDB_PARALLEL.
4194 (standard_output_file): Remove check for GDB_PARALLEL, always
4195 return path in outputs/$subdir/$testname.
4196
41972016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4198
4199 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
4200 (site.exp): Assign abs_srcdir to tcl's srcdir.
4201
42022016-02-04 Yao Qi <yao.qi@linaro.org>
4203
4204 * gdb.base/foll-exec-mode.c: Include limits.h.
4205 (main): Add parameters argc and argv. Get directory from
4206 argv[0].
4207 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
4208 compilation.
4209 * gdb.base/foll-exec.c: Include limits.h.
4210 (main): Add parameters argc and argv.
4211 Get directory from argv[0].
4212 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
4213 Adjust tests on the number of lines as source code changed.
4214 * gdb.base/foll-vfork-exit.c: Include limits.h.
4215 (main): Add one line of statement before vfork.
4216 * gdb.base/foll-vfork.c: Include limits.h and string.h.
4217 (main): Add parameters argc and argv. Get directory from
4218 argv[0].
4219 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
4220 (setup_gdb): Set tbreak to skip some source lines.
4221 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
4222 (main): Add parameters argc and argv. Get directory from
4223 argv[0].
4224 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
4225 compilation.
4226 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
4227 (main): Add parameters argc and argv. Get directory from
4228 argv[0].
4229 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
4230 compilation.
4231
42322016-02-01 Doug Evans <dje@google.com>
4233
4234 * gdb.base/skip.exp: Clean up multiple references to same test name.
4235
42362016-02-01 Pedro Alves <palves@redhat.com>
4237
4238 PR remote/19496
4239 * gdb.threads/forking-threads-plus-breakpoint.exp
4240 (displaced_stepping_supported): New global.
4241 (probe_displaced_stepping_support): New procedure.
4242 (do_test): Add 'displaced' parameter, and use it.
4243 (top level): Check for displaced stepping support. Add displaced
4244 stepping on/off testing axis.
4245
42462016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4247
4248 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
4249 pointer. Don't perform further tests on the unassociated pointer
4250 if the first test fails.
4251
42522016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4253
4254 * gdb.base/max-value-size.c: New file.
4255 * gdb.base/max-value-size.exp: New file.
4256 * gdb.base/huge.exp: Disable max-value-size for this test.
4257
42582016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
4259
4260 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4261
42622016-01-28 Yao Qi <yao.qi@linaro.org>
4263
4264 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
4265
42662016-01-25 Pedro Alves <palves@redhat.com>
4267
4268 PR threads/19461
4269 * gdb.base/fork-running-state.c: New file.
4270 * gdb.base/fork-running-state.exp: New file.
4271
42722016-01-25 Pedro Alves <palves@redhat.com>
4273
4274 PR gdb/19494
4275 * gdb.base/catch-fork-kill.c: New file.
4276 * gdb.base/catch-fork-kill.exp: New file.
4277
42782016-01-25 Pedro Alves <palves@redhat.com>
4279
4280 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
4281 Delete, moved to lib/gdb.exp.
4282 * gdb.threads/forking-threads-plus-breakpoint.exp
4283 (foreach_with_prefix): Likewise.
4284 * gdb.threads/process-dies-while-handling-bp.exp
4285 (foreach_with_prefix): Likewise.
4286 * lib/gdb.exp (foreach_with_prefix): New procedure.
4287
42882016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
4289
4290 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
4291 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
4292
42932016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
4294
4295 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
4296 endian targets.
4297
42982016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4299 Pedro Alves <palves@redhat.com>
4300
4301 Fix testsuite compatibility with Guile.
4302 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
4303 number.
4304
43052016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4306
4307 Fix testsuite compatibility with Guile.
4308 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
4309 (thread 1): New test for backtrace through signal handler.
4310
43112016-01-22 Yao Qi <yao.qi@linaro.org>
4312
4313 PR testsuite/19491
4314 * gdb.base/multi-forks.c: Include
4315 ../lib/unbuffer_output.c
4316 (main): Call gdb_unbuffer_output.
4317
43182016-01-21 Doug Evans <dje@google.com>
4319
4320 * lib/ada.exp (gdb_compile_ada): Fix typo.
4321
43222016-01-21 Joel Brobecker <brobecker@adacore.com>
4323
4324 * gdb.base/break-fun-addr.exp: New file.
4325 * gdb.base/break-fun-addr1.c: New file.
4326 * gdb.base/break-fun-addr2.c: New file.
4327
43282016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
4329
4330 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
4331 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
4332 enum flag values.
4333
43342016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4335
4336 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
4337 when GDB can not set the vector return value. Add more comments
4338 for clarification.
4339
43402016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
4341
4342 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
4343 command.
4344
43452016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4346
4347 * Makefile.in (DO_RUNTEST): Add --status and update usages.
4348
43492016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4350
4351 * Makefile.in (check-single): Pass --status to runtest.
4352 (check/%.exp): Likewise.
4353
43542016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4355
4356 * Makefile.in (check-parallel): Propagate return code from make
4357 do-check-parallel.
4358
43592016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
4360
4361 * gdb.trace/ftrace.exp: Fix expected message on continue.
4362 * gdb.trace/pending.exp: Fix expected message on continue.
4363 * gdb.trace/trace-break.exp: Fix expected message on continue.
4364
43652016-01-18 Simon Marchi <simon.marchi@ericsson.com>
4366
4367 * lib/gdb.exp (gdb_test): Remove unused global references.
4368
43692016-01-18 Pedro Alves <palves@redhat.com>
4370
4371 * gdb.base/async-shell.exp: Adjust expected output.
4372 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
4373 * gdb.base/siginfo-thread.exp: Adjust expected output.
4374 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
4375 * gdb.java/jnpe.exp: Adjust expected output.
4376 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
4377 * gdb.threads/continue-pending-status.exp: Adjust expected output.
4378 * gdb.threads/leader-exit.exp: Adjust expected output.
4379 * gdb.threads/manythreads.exp: Adjust expected output.
4380 * gdb.threads/pthreads.exp: Adjust expected output.
4381 * gdb.threads/schedlock.exp: Adjust expected output.
4382 * gdb.threads/siginfo-threads.exp: Adjust expected output.
4383 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
4384 expected output.
4385 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
4386 output.
4387 * gdb.threads/sigthread.exp: Adjust expected output.
4388 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
4389
43902016-01-18 Yao Qi <yao.qi@linaro.org>
4391
4392 * gdb.guile/scm-section-script.c: Replace @progbits with
4393 %progbits.
4394 * gdb.python/py-section-script.c: Likewise.
4395
43962016-01-15 Pedro Alves <palves@redhat.com>
4397
4398 * gdb.multi/tids.exp: Test star wildcard ranges.
4399
44002016-01-15 Pedro Alves <palves@redhat.com>
4401
4402 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4403 command from "thread apply" invocation.
4404 (thr_apply_info_thr_invalid): Default the expected output to the
4405 input tid list.
4406 (top level): Add tests that use convenience variables. Add tests
4407 for "thread apply" with a valid TID list, but missing the command.
4408
44092016-01-13 Pedro Alves <palves@redhat.com>
4410
4411 * gdb.base/default.exp: Expect $_gthread as well.
4412 * gdb.multi/tids.exp: Test $_gthread.
4413 * gdb.threads/thread-specific.exp: Test $_gthread.
4414
44152016-01-13 Pedro Alves <palves@redhat.com>
4416
4417 * gdb.multi/tids.exp: Test "info threads -gid".
4418
44192016-01-13 Pedro Alves <palves@redhat.com>
4420
4421 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4422 Breakpoint.thread.
4423 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
4424
44252016-01-07 Pedro Alves <palves@redhat.com>
4426
4427 * gdb.base/break.exp: Adjust to output changes.
4428 * gdb.base/hbreak2.exp: Likewise.
4429 * gdb.base/sepdebug.exp: Likewise.
4430 * gdb.base/watch_thread_num.exp: Likewise.
4431 * gdb.linespec/keywords.exp: Likewise.
4432 * gdb.multi/info-threads.exp: Likewise.
4433 * gdb.threads/thread-find.exp: Likewise.
4434 * gdb.multi/tids.c: New file.
4435 * gdb.multi/tids.exp: New file.
4436
44372016-01-13 Pedro Alves <palves@redhat.com>
4438
4439 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
4440
44412016-01-13 Pedro Alves <palves@redhat.com>
4442
4443 * gdb.base/default.exp: Expect $_inferior as well.
4444 * gdb.multi/base.exp: Test $_inferior.
4445
44462016-01-13 Pedro Alves <palves@redhat.com>
4447
4448 PR breakpoints/19388
4449 * gdb.base/catch-signal-siginfo-cond.c: New file.
4450 * gdb.base/catch-signal-siginfo-cond.exp: New file.
4451
44522016-01-12 Josh Stone <jistone@redhat.com>
4453 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4454
4455 * gdb.base/catch-syscall.c (do_execve): New variable.
4456 (main): Conditionally trigger an execve.
4457 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
4458 (test_catch_syscall_execve): New, check entry/return across execve.
4459 (do_syscall_tests): Call test_catch_syscall_execve.
4460
44612016-01-12 Pedro Alves <palves@redhat.com>
4462
4463 * gdb.base/random-signal.exp (do_test): New procedure, with body
4464 of testcase moved in.
4465
44662016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4467 Pedro Alves <palves@redhat.com>
4468
4469 * gdb.base/funcargs.exp (finish from indirectly called function):
4470 Reintroduce the case for 'First'.
4471
44722016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4473 Pedro Alves <palves@redhat.com>
4474
4475 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4476 (tcatch_vfork_then_child_follow_exec)
4477 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
4478 identification.
4479
44802016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4481
4482 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
4483 and repeats to unlimited.
4484 * gdb.python/py-value.exp: Likewise.
4485 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
4486 and repeats to unlimited.
4487
44882016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4489
4490 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
4491 and reordering the functions.
4492 * gdb.multi/hangout.c: Likewise.
4493 * gdb.multi/hello.c: Likewise.
4494
44952016-01-08 Simon Marchi <simon.marchi@ericsson.com>
4496
4497 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
4498 absolute.
4499 (SingleStatisticTestResult.report): Use dict.keys instead of
4500 dict.iterkeys.
4501
45022016-01-06 Pedro Alves <palves@redhat.com>
4503
4504 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
4505
45062016-01-04 Markus Metzger <markus.t.metzger@intel.com>
4507
4508 * gdb.btrace/dlopen.exp: New.
4509 * gdb.btrace/dlopen.c: New.
4510 * gdb.btrace/dlopen-dso.c: New.
4511
45122015-12-25 Sandra Loosemore <sandra@codesourcery.com>
4513
4514 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4515 PATTERN argument is optional.
4516
45172015-12-24 Joel Brobecker <brobecker@adacore.com>
4518
4519 * lib/ada.exp (target_compile_ada_from_dir): New function.
4520 (gdb_compile_ada): Reimplement avoiding the use of project files.
4521 * gdb.ada/gnat_ada.gpr: Delete.
4522 * gdb.ada/cond_lang.exp: Adjust test to make path before
4523 filename optional.
4524 * gdb.ada/small_reg_param.exp: Likewise.
4525
45262015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4527
4528 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4529
45302015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4531
4532 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4533 case.
4534
45352015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4536
4537 * gdb.base/break.exp: Remove dead code.
4538 * gdb.base/sepdebug.exp: Likewise.
4539
45402015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4541
4542 * gdb.asm/asm-source.exp: Remove HP-UX references.
4543 * gdb.base/annota1.exp: Likewise.
4544 * gdb.base/annota3.exp: Likewise.
4545 * gdb.base/attach.exp: Likewise.
4546 * gdb.base/bigcore.exp: Likewise.
4547 * gdb.base/break.exp: Likewise.
4548 * gdb.base/call-ar-st.exp: Likewise.
4549 * gdb.base/callfuncs.exp: Likewise.
4550 * gdb.base/catch-fork-static.exp: Likewise.
4551 * gdb.base/display.exp: Likewise.
4552 * gdb.base/foll-exec-mode.exp: Likewise.
4553 * gdb.base/foll-exec.exp: Likewise.
4554 * gdb.base/foll-fork.exp: Likewise.
4555 * gdb.base/foll-vfork.exp: Likewise.
4556 * gdb.base/funcargs.exp: Likewise.
4557 * gdb.base/hbreak2.exp: Likewise.
4558 * gdb.base/inferior-died.exp: Likewise.
4559 * gdb.base/interrupt.exp: Likewise.
4560 * gdb.base/multi-forks.exp: Likewise.
4561 * gdb.base/nodebug.exp: Likewise.
4562 * gdb.base/sepdebug.exp: Likewise.
4563 * gdb.base/solib1.c: Likewise.
4564 * gdb.base/step-test.exp: Likewise.
4565 * gdb.mi/non-stop.c: Likewise.
4566 * gdb.mi/pthreads.c: Likewise.
4567 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4568 * gdb.threads/pthreads.c: Likewise.
4569 * gdb.threads/staticthreads.exp: Likewise.
4570 * lib/future.exp: Likewise.
4571 * lib/gdb.exp: Likewise.
4572 * gdb.base/so-indr-cl.c: Remove.
4573 * gdb.base/so-indr-cl.exp: Likewise.
4574 * gdb.base/solib.c: Likewise.
4575 * gdb.base/solib.exp: Likewise.
4576 * gdb.base/solib2.c: Likewise.
4577
45782015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4579
4580 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4581 * gdb.base/call-ar-st.exp: Likewise.
4582 * gdb.base/callfuncs.exp: Likewise.
4583 * gdb.base/condbreak.exp: Likewise.
4584 * gdb.base/constvars.exp: Likewise.
4585 * gdb.base/hbreak2.exp: Likewise.
4586 * gdb.base/langs.exp: Likewise.
4587 * gdb.base/list.exp: Likewise.
4588 * gdb.base/long_long.exp: Likewise.
4589 * gdb.base/ptype.exp: Likewise.
4590 * gdb.base/scope.exp: Likewise.
4591 * gdb.base/signals.exp: Likewise.
4592 * gdb.base/so-impl-ld.exp: Likewise.
4593 * gdb.base/varargs.exp: Likewise.
4594 * gdb.base/volatile.exp: Likewise.
4595 * gdb.base/whatis.exp: Likewise.
4596 * gdb.cp/cplusfuncs.exp: Likewise.
4597 * gdb.cp/inherit.exp: Likewise.
4598 * gdb.cp/local.exp: Likewise.
4599 * gdb.cp/member-ptr.exp: Likewise.
4600 * gdb.cp/method.exp: Likewise.
4601 * gdb.cp/overload.exp: Likewise.
4602 * gdb.cp/templates.exp: Likewise.
4603 * gdb.stabs/weird.exp: Likewise.
4604 * lib/compiler.c: Likewise.
4605 * lib/compiler.cc: Likewise.
4606 * lib/cp-support.exp: Likewise.
4607 * lib/gdb.exp: Likewise.
4608
46092015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
4610
4611 * configure.ac: Remove HP-UX case.
4612 * configure: Regenerate.
4613
46142015-12-18 Simon Marchi <simon.marchi@ericsson.com>
4615
4616 * lib/gdb.exp (gdb_compile): Add function doc.
4617
46182015-12-17 Pedro Alves <palves@redhat.com>
4619
4620 PR threads/19354
4621 * gdb.multi/info-threads.exp: New file.
4622
46232015-12-15 Yao Qi <yao.qi@linaro.org>
4624
4625 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
4626 is aarch64*-*-*.
4627
46282015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4629
4630 * gdb.base/history-duplicates.exp: Skip if no readline support.
4631
46322015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4633
4634 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
4635
46362015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4637
4638 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
4639
46402015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4641
4642 * gdb.base/completion.exp: Skip tests that interrupt GDB with
4643 ctrl-C if nointerrupts target property is set.
4644 * gdb.base/double-prompt-target-event-error.exp: Likewise.
4645 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
4646 * gdb.base/paginate-bg-execution.exp: Likewise.
4647 * gdb.base/paginate-execution-startup.exp: Likewise.
4648 * gdb.base/random-signal.exp: Likewise.
4649 * gdb.base/range-stepping.exp: Likewise.
4650 * gdb.cp/annota2.exp: Likewise.
4651 * gdb.cp/annota3.exp: Likewise.
4652 * gdb.gdb/selftest.exp: Likewise.
4653 * gdb.threads/continue-pending-status.exp: Likewise.
4654 * gdb.threads/leader-exit.exp: Likewise.
4655 * gdb.threads/manythreads.exp: Likewise.
4656 * gdb.threads/pthreads.exp: Likewise.
4657 * gdb.threads/schedlock.exp: Likewise.
4658 * gdb.threads/sigthread.exp: Likewise.
4659
46602015-12-11 Don Breazeal <donb@codesourcery.com>
4661
4662 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
4663 remote.
4664 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
4665 * gdb.base/foll-exec.exp (main): Enable for target remote.
4666 * gdb.base/foll-fork.exp (main): Likewise.
4667 * gdb.base/foll-vfork.exp (main): Likewise.
4668 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
4669 (proc continue_to_exit_bp_loc): Use clean_restart.
4670 * gdb.base/pie-execl.exp (main): Disable for target remote.
4671 * gdb.base/watch-vfork.exp (main): Enable for target remote.
4672 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
4673 * gdb.threads/execl.exp (main): Likewise.
4674 * gdb.threads/fork-child-threads.exp (main): Likewise.
4675 * gdb.threads/fork-plus-threads.exp (main): Disable for target
4676 remote.
4677 * gdb.threads/fork-thread-pending.exp (main): Enable for target
4678 remote.
4679 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
4680 pid.tid style ptids, instead of just tid.
4681 * gdb.threads/thread-execl.exp (main): Enable for target remote.
4682 * gdb.threads/watchpoint-fork.exp (main): Likewise.
4683 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
4684 ptids, instead of just tid.
4685
46862015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4687
4688 * gdb.base/list.exp (test_list_forward): Add end of file error
4689 test.
4690 (test_repeat_list_command): Add end of file error test.
4691 (test_list_backwards): Add beginning of file error test.
4692
46932015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4694
4695 * gdb.base/list.exp (test_list_invalid_args): New function,
4696 defined, and called.
4697
46982015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4699
4700 * gdb.base/list.exp (test_list): Make test names unique.
4701
47022015-12-11 Yao Qi <yao.qi@linaro.org>
4703
4704 * gdb.base/coremaker2.c: Remove.
4705
47062015-12-10 Pedro Alves <palves@redhat.com>
4707
4708 * gdb.multi/base.exp: Remove stale "spaces" references.
4709
47102015-12-10 Pedro Alves <palves@redhat.com>
4711
4712 * gdb.multi/base.exp: Don't use nowarnings.
4713 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
4714 * gdb.multi/hangout.c: Include stdio.h.
4715 * gdb.multi/hello.c: Include stdlib.h.
4716 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
4717 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
4718 * gdb.multi/multi-arch.exp: Don't use nowarnings.
4719
47202015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
4721
4722 * gdb.dwarf2/dw2-ranges-base.c: New file.
4723 * gdb.dwarf2/dw2-ranges-base.exp: New file.
4724 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
4725 support additional line table, and debug ranges generation.
4726 (Dwarf::ranges): New function, generate .debug_ranges.
4727 (Dwarf::lines): Support generating simple line table programs.
4728 (Dwarf::assemble): Initialise new namespace variables.
4729
47302015-12-09 Kevin Buettner <kevinb@redhat.com>
4731
4732 * gdb.base/async.exp (proc test_background): Add case for
4733 asynchronous execution not supported.
4734
47352015-12-09 Luis Machado <lgustavo@codesourcery.com>
4736
4737 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
4738 format and change test names to make them unique.
4739
47402015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
4741 Pedro Alves <pedro@redhat.com>
4742
4743 PR gdb/18702
4744 Add checking of floatformats setup on x86_64 hosts.
4745 * gdb.arch/i386-float.S (main): Load bigval and smallval.
4746 (smallval, bigval): New labels/constants.
4747 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
4748 float" after loading bigval and smallval.
4749
47502015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
4751
4752 * gdb.ada/fun_overload_menu.exp: New testcase.
4753 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
4754
47552015-12-04 Josh Stone <jistone@redhat.com>
4756
4757 * gdb.base/catch-fork-static.exp: New.
4758
47592015-12-03 Yao Qi <yao.qi@linaro.org>
4760
4761 * gdb.base/sizeof.c: Don't include stdio.h and
4762 ../lib/unbuffer_output.c.
4763 (main): New variable 'size' and 'value'. Remove printf and
4764 gdb_unbuffer_output. Assign return value to size and value.
4765 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
4766 at the beginning.
4767 (check_sizeof): Check the result by printing variable 'size'.
4768 (check_valueof): Check the result by printing variable 'value'.
4769
47702015-12-01 Yao Qi <yao.qi@linaro.org>
4771
4772 * gdb.base/disp-step-syscall.exp: Define syscall instruction
4773 for aarch64*-*-linux* target.
4774
47752015-11-30 Pedro Alves <palves@redhat.com>
4776
4777 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
4778
47792015-11-30 Pedro Alves <palves@redhat.com>
4780
4781 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
4782 Handle non-stop mode vCont replies.
4783
47842015-11-30 Pedro Alves <palves@redhat.com>
4785
4786 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
4787 prepare_for_testing. Start gdb with "set non-stop on" appended to
4788 GDBFLAGS. Lax expected stop output.
4789
47902015-11-27 Yao Qi <yao.qi@linaro.org>
4791
4792 * gdb.arch/arm-neon.exp: New.
4793 * gdb.arch/arm-neon.c: New.
4794
47952015-11-27 Yao Qi <yao.qi@linaro.org>
4796
4797 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
4798
47992015-11-27 Yao Qi <yao.qi@linaro.org>
4800
4801 * gdb.cp/annota2.exp: Allow multiple occurrences of the
4802 frames-invalid annotation.
4803
48042015-11-27 Yao Qi <yao.qi@linaro.org>
4805
4806 * gdb.cp/annota2.exp: Use ${frames_invalid}.
4807
48082015-11-26 Simon Marchi <simon.marchi@ericsson.com>
4809
4810 * gdb.threads/names.exp: New file.
4811 * gdb.threads/names.c: New file.
4812 * README: Mention gdb,no_thread_names.
4813
48142015-11-26 Markus Metzger <markus.t.metzger@intel.com>
4815
4816 PR 19297
4817 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
4818 support" error.
4819
48202015-11-24 Pedro Alves <palves@redhat.com>
4821
4822 PR 17539
4823 * gdb.base/display.exp: Expect displays to be sorted in ascending
4824 order. Use multi_line.
4825 * gdb.base/solib-display.exp: Likewise.
4826
48272015-11-24 Pedro Alves <palves@redhat.com>
4828
4829 PR 17539
4830 * gdb.base/display.exp: Expect displays to be sorted in ascending
4831 order. Use multi_line.
4832 * gdb.base/solib-display.exp: Likewise.
4833
48342015-11-24 Pedro Alves <palves@redhat.com>
4835
4836 PR 17539
4837 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
4838 threads in ascending order.
4839 * gdb.base/foll-fork.exp: Likewise.
4840 * gdb.base/foll-vfork.exp: Likewise.
4841 * gdb.base/multi-forks.exp: Likewise.
4842 * gdb.mi/mi-nonstop.exp: Likewise.
4843 * gdb.mi/mi-nsintrall.exp: Likewise.
4844 * gdb.multi/base.exp: Likewise.
4845 * gdb.multi/multi-arch.exp: Likewise.
4846 * gdb.python/py-inferior.exp: Likewise.
4847 * gdb.threads/break-while-running.exp: Likewise.
4848 * gdb.threads/execl.exp: Likewise.
4849 * gdb.threads/gcore-thread.exp: Likewise.
4850 * gdb.threads/info-threads-cur-sal.exp: Likewise.
4851 * gdb.threads/kill.exp: Likewise.
4852 * gdb.threads/linux-dp.exp: Likewise.
4853 * gdb.threads/multiple-step-overs.exp: Likewise.
4854 * gdb.threads/next-bp-other-thread.exp: Likewise.
4855 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
4856 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
4857 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
4858 * gdb.threads/thread-find.exp: Likewise.
4859 * gdb.threads/tls.exp: Likewise.
4860 * lib/mi-support.exp (mi_reverse_list): Delete.
4861 (mi_check_thread_states): No longer reverse list.
4862
48632015-11-24 Pedro Alves <palves@redhat.com>
4864
4865 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
4866 use lowercase.
4867
48682015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4869
4870 * gdb.trace/actions.c: Include trace-common.h.
4871 (main): Add a location for a fast tracepoint.
4872 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
4873 the normal tracepoints.
4874 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
4875
48762015-11-23 Simon Marchi <simon.marchi@ericsson.com>
4877
4878 * save-trace.exp: Factor out code to these...
4879 (gdb_save_tracepoints): New.
4880 (gdb_load_tracepoints): New.
4881 (do_save_load_test): New.
4882
48832015-11-23 Kevin Buettner <kevinb@redhat.com>
4884
4885 * gdb.base/asmlabel.exp: New test.
4886 * gdb.base/asmlabel.c: New test case.
4887
48882015-11-23 Joel Brobecker <brobecker@adacore.com>
4889
4890 * gdb.base/wrong_frame_bt_full-main.c: New file.
4891 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
4892 * gdb.base/wrong_frame_bt_full.exp: New file.
4893
48942015-11-23 Joel Brobecker <brobecker@adacore.com>
4895
4896 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
4897
48982015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4899
4900 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
4901 pstate register when comparing registers values in
4902 sparc64-*-linux-gnu targets to avoid spurious differences.
4903
49042015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
4905
4906 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
4907
49082015-11-19 Sandra Loosemore <sandra@codesourcery.com>
4909
4910 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
4911 as type argument to gdb_compile.
4912 * gdb.base/nested-subp2.exp: Likewise.
4913 * gdb.base/nested-subp3.exp: Likewise.
4914
49152015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
4916
4917 * lib/dwarf.exp (_note): Fix left shift of negative value.
4918 * gdb.trace/trace-condition.exp: Likewise.
4919
49202015-11-13 Yao Qi <yao.qi@linaro.org>
4921
4922 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
4923 comments about d10v.
4924 (test_scalar_returns): Likewise.
4925 * gdb.base/d10v.ld: Remove.
4926 * gdb.base/overlays.exp: Remove the target triplet checking for
4927 d10v-*-*.
4928 * gdb.base/structs.exp (test_struct_returns): Remove the
4929 comments about d10v.
4930 (test_struct_calls): Likewise.
4931
49322015-11-13 Yao Qi <yao.qi@linaro.org>
4933
4934 * gdb.base/gnu_vector.exp: Check the return value by "p res".
4935 * gdb.base/gnu_vector.c: Don't include stdio.h.
4936 (main): Don't print res and call add_some_intvecs.
4937
49382015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
4939
4940 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
4941 macro.
4942 (func5): Removed.
4943 (func4): Use FAST_TRACEPOINT_LABEL.
4944 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
4945 macro.
4946 (func): Removed.
4947 (thread_function): Use FAST_TRACEPOINT_LABEL.
4948 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
4949 (func): Remove.
4950 (marker): Use FAST_TRACEPOINT_LABEL.
4951 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
4952 (pendfunc1): Remove.
4953 (pendfunc): Use FAST_TRACEPOINT_LABEL.
4954 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
4955 (foo): Remove.
4956 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
4957 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
4958 macro.
4959 (func): Remove.
4960 (marker): Use FAST_TRACEPOINT_LABEL.
4961 * gdb.trace/trace-common.h: New header.
4962 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
4963 macro.
4964 (func): Remove.
4965 (marker): Use FAST_TRACEPOINT_LABEL.
4966 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
4967 (func): Remove.
4968 (thread_function): Use FAST_TRACEPOINT_LABEL.
4969
49702015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
4971
4972 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
4973 in front.
4974 * gdb.trace/change-loc.exp: Use global pcreg definition.
4975 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
4976 * gdb.trace/entry-values.exp: Use global spreg definition, add $
4977 in front.
4978 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
4979 * gdb.trace/pending.exp: Likewise.
4980 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
4981 * gdb.trace/trace-break.exp: Likewise.
4982 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
4983 in front.
4984 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
4985 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
4986 in front.
4987 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
4988
49892015-11-09 Joel Brobecker <brobecker@adacore.com>
4990
4991 * gdb.ada/fin_fun_out: New testcase.
4992
49932015-11-07 Kevin Buettner <kevinb@redhat.com>
4994
4995 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
4996 value associated with DW_AT_byte_size.
4997 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
4998 constants for DW_AT_byte_size, DW_AT_lower_bound, and
4999 DW_AT_upper_bound.
5000
50012015-11-07 Kevin Buettner <kevinb@redhat.com>
5002
5003 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
5004 (gdb_target_symbol_prefix_flags): Define in terms of _asm
5005 version.
5006 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
5007 gdb.dwarf2/dw2-canonicalize-type.exp,
5008 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
5009 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
5010 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
5011 provided by gdb_target_symbol_prefix_flags_asm.
5012 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
5013 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
5014 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
5015 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
5016 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
5017 macros where needed). Use this macro for symbols which require
5018 the prefix provided by SYMBOL_PREFIX.
5019
50202015-11-05 Kevin Buettner <kevinb@redhat.com>
5021
5022 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
5023 New procs.
5024 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
5025 representing expressions, of more than one list element.
5026 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
5027 to prepend linker symbol prefix to f.
5028 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
5029 table_1 and table_2.
5030 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
5031 Likewise, for f and g.
5032 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
5033 for ptr.
5034 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
5035 for main.
5036 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
5037 table_1_ptr and table_2_ptr.
5038
50392015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5040 Joel Brobecker <brobecker@adacore.com>
5041
5042 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
5043
50442015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
5045
5046 * gdb.reverse/s390-mvcle.c: New test.
5047 * gdb.reverse/s390-mvcle.exp: New file.
5048 * lib/gdb.exp: Enable reverse tests on s390*-linux.
5049
50502015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5051
5052 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
5053
50542015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5055
5056 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
5057 reaching marker2.
5058 * gdb.reverse/getresuid-reverse.exp: Likewise.
5059 * gdb.reverse/pipe-reverse.exp: Likewise.
5060 * gdb.reverse/readv-reverse.exp: Likewise.
5061 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5062 * gdb.reverse/time-reverse.exp: Likewise.
5063 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
5064
50652015-10-30 Yao Qi <yao.qi@linaro.org>
5066
5067 * gdb.threads/wp-replication.c (watch_count_done): Remove.
5068 (empty_cycle): Remove.
5069 (main): Don't call empty_cycle. Don't use watch_count_done.
5070 * gdb.threads/wp-replication.exp: Don't set breakpoint on
5071 empty_cycle. Rewrite the code counting HW watchpoints.
5072
50732015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
5074
5075 * gdb.reverse/fstatat-reverse.c: New test.
5076 * gdb.reverse/fstatat-reverse.exp: New file.
5077 * gdb.reverse/getresuid-reverse.c: New test.
5078 * gdb.reverse/getresuid-reverse.exp: New file.
5079 * gdb.reverse/pipe-reverse.c: New test.
5080 * gdb.reverse/pipe-reverse.exp: New file.
5081 * gdb.reverse/readv-reverse.c: New test.
5082 * gdb.reverse/readv-reverse.exp: New file.
5083 * gdb.reverse/recvmsg-reverse.c: New test.
5084 * gdb.reverse/recvmsg-reverse.exp: New file.
5085 * gdb.reverse/time-reverse.c: New test.
5086 * gdb.reverse/time-reverse.exp: New file.
5087 * gdb.reverse/waitpid-reverse.c: New test.
5088 * gdb.reverse/waitpid-reverse.exp: New file.
5089
50902015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5091
5092 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
5093
50942015-10-26 Doug Evans <dje@google.com>
5095
5096 PR symtab/17391
5097 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
5098 * gdb.dwarf2/bad-regnum.c: New file.
5099 * gdb.dwarf2/bad-regnum.exp: New file.
5100
51012015-10-26 Doug Evans <dje@google.com>
5102
5103 PR python/18938
5104 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
5105 file.
5106
51072015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5108
5109 * gdb.compile/compile.exp (compile code globalvar): Update expectation
5110 for a change by "Mention language in compile error message".
5111
51122015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
5113
5114 PR python/18073
5115 * gdb.python/py-type.c (C::a_method): New.
5116 (C::a_const_method): New.
5117 (C::a_static_method): New.
5118 (a_function): New.
5119 * gdb.python/py-type.exp (test_fields): Test getting fields
5120 from function and method.
5121
51222015-10-21 Keven Boell <keven.boell@intel.com>
5123
5124 * gdb.fortran/vla-alloc-assoc.exp: New file.
5125 * gdb.fortran/vla-datatypes.exp: New file.
5126 * gdb.fortran/vla-datatypes.f90: New file.
5127 * gdb.fortran/vla-history.exp: New file.
5128 * gdb.fortran/vla-ptype-sub.exp: New file.
5129 * gdb.fortran/vla-ptype.exp: New file.
5130 * gdb.fortran/vla-sizeof.exp: New file.
5131 * gdb.fortran/vla-sub.f90: New file.
5132 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
5133 * gdb.fortran/vla-value-sub-finish.exp: New file.
5134 * gdb.fortran/vla-value-sub.exp: New file.
5135 * gdb.fortran/vla-value.exp: New file.
5136 * gdb.fortran/vla-ptr-info.exp: New file.
5137 * gdb.mi/mi-vla-fortran.exp: New file.
5138 * gdb.mi/vla.f90: New file.
5139
51402015-10-21 Sandra Loosemore <sandra@codesourcery.com>
5141
5142 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
5143 of hardwired timeout value.
5144
51452015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5146 Pedro Alves <palves@redhat.com>
5147
5148 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
5149 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
5150
51512015-10-19 Josh Stone <jistone@redhat.com>
5152
5153 * gdb.base/catch-syscall.c: Include <sched.h>.
5154 (unknown_syscall): New variable.
5155 (main): Trigger a vfork and an unknown syscall.
5156 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
5157 (unknown_syscall_number): Likewise.
5158 (check_call_to_syscall): Accept an optional syscall pattern.
5159 (check_return_from_syscall): Likewise.
5160 (check_continue): Likewise.
5161 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
5162 (test_catch_syscall_skipping_return): New test toggling off 'catch
5163 syscall' to step over the syscall return, then toggling back on.
5164 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
5165 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
5166 (do_syscall_tests): Call test_catch_syscall_without_args and
5167 test_catch_syscall_mid_vfork.
5168 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
5169 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
5170
51712015-10-19 Andrew Stubbs <ams@codesourcery.com>
5172
5173 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
5174 print g_vE): Add new pass patterns.
5175 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
5176 print various symbol names for vptr fields.
5177
51782015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
5179
5180 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
5181 results.
5182
51832015-10-12 Yao Qi <yao.qi@linaro.org>
5184
5185 * gdb.arch/disp-step-insn-reloc.exp: New test case.
5186
51872015-10-12 Yao Qi <yao.qi@linaro.org>
5188
5189 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
5190 is aarch64*-*-linux*.
5191
51922015-10-12 Yao Qi <yao.qi@linaro.org>
5193
5194 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
5195 (can_relocate_bcond_true): ... it.
5196 (can_relocate_bcond_false): New function.
5197 (foo): Likewise.
5198 (can_relocate_bl): Likewise.
5199 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
5200 can_relocate_bl.
5201
52022015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
5203
5204 * gdb.base/nested-addr.c: New file.
5205 * gdb.base/nested-addr.exp: New testcase.
5206
52072015-10-09 Markus Metzger <markus.t.metzger@intel.com>
5208
5209 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
5210 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
5211 its output. Ignore the output of "record goto begin" and instead
5212 check that GDB is replaying.
5213
52142015-10-09 Pedro Alves <palves@redhat.com>
5215
5216 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
5217 (top level): Use it in the run with no args test.
5218
52192015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
5220
5221 * gdb.dlang/properties.exp: New file.
5222
52232015-10-02 Sandra Loosemore <sandra@codesourcery.com>
5224
5225 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
5226 whether or not address 0x1000 is mapped on the target.
5227
52282015-09-30 Simon Marchi <simon.marchi@ericsson.com>
5229
5230 * gdb.python/py-type.exp: Do not run tests if binaries fail to
5231 build.
5232
52332015-09-30 Markus Metzger <markus.t.metzger@intel.com>
5234
5235 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
5236 instruction-history test.
5237
52382015-09-28 Doug Evans <dje@google.com>
5239
5240 * gdb.base/gcore.c (array_func): Add reference to static_array.
5241
52422015-09-25 Simon Marchi <simon.marchi@ericsson.com>
5243
5244 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
5245 source line.
5246
52472015-09-24 Sandra Loosemore <sandra@codesourcery.com>
5248
5249 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
5250 short or char as base type.
5251
52522015-09-23 Sandra Loosemore <sandra@codesourcery.com>
5253
5254 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
5255 to allow any size enum.
5256
52572015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
5258
5259 * gdb.ada/array_ptr_renaming.exp: New testcase.
5260 * gdb.ada/array_ptr_renaming/foo.adb: New file.
5261 * gdb.ada/array_ptr_renaming/pack.ads: New file.
5262
52632015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5264
5265 * gdb.trace/ftrace-lock.c: New file.
5266 * gdb.trace/ftrace-lock.exp: New file.
5267
52682015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5269
5270 * gdb.arch/insn-reloc.c: New file.
5271 * gdb.arch/ftrace-insn-reloc.exp: New file.
5272
52732015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5274
5275 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
5276 instruction.
5277 * gdb.trace/pendshr1.c (pendfunc): Likewise.
5278 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
5279 * gdb.trace/range-stepping.c: Likewise.
5280 * gdb.trace/trace-break.c: Likewise.
5281 * gdb.trace/trace-mt.c (thread_function): Likewise.
5282 * gdb.trace/ftrace.c (marker): Likewise.
5283 * gdb.trace/trace-condition.c (marker): Likewise.
5284 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
5285 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
5286 is_aarch64_target.
5287
52882015-09-18 Doug Evans <xdje42@gmail.com>
5289
5290 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
5291 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
5292
52932015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5294
5295 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
5296 the breakpoint.
5297
52982015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5299
5300 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
5301 the pending breakpoint. Remove timeout override for "Run till
5302 MI pending breakpoint on pendfunc3 on thread 2" test.
5303
53042015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5305
5306 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
5307 filename pattern.
5308
53092015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5310
5311 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
5312 in breakpoint filename pattern.
5313
53142015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5315
5316 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
5317
53182015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5319
5320 * gdb.linespec/explicit.exp: Check for readline support for
5321 tab-completion tests. Fix obvious typo.
5322
53232015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5324
5325 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
5326 and replay.
5327
53282015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5329
5330 * gdb.btrace/non-stop.c: New.
5331 * gdb.btrace/non-stop.exp: New.
5332
53332015-09-17 Pierre Langlois <pierre.langlois@arm.com>
5334 Yao Qi <yao.qi@linaro.org>
5335
5336 * gdb.trace/trace-condition.c: New file.
5337 * gdb.trace/trace-condition.exp: New file.
5338
53392015-09-16 Wei-cheng Wang <cole945@gmail.com>
5340
5341 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
5342 for testing bytecode compilation.
5343
53442015-09-16 Pedro Alves <palves@redhat.com>
5345 Sandra Loosemore <sandra@codesourcery.com>
5346
5347 * gdb.threads/non-stop-fair-events.c (timeout): New global.
5348 (SECONDS): Redefine.
5349 (main): Call pthread_kill and alarm early.
5350 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
5351 support.
5352 (test): If the target can't hardware step and doesn't support
5353 displaced stepping, increase the timeout.
5354
53552015-09-16 Pedro Alves <palves@redhat.com>
5356
5357 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
5358 (enable_debug): New procedures.
5359 (test): Use them. Bail out if waiting for threads fails.
5360 (top level): Bail out if a test fails.
5361
53622015-09-16 Yao Qi <yao.qi@linaro.org>
5363
5364 * gdb.asm/asm-source.exp: Set asm-arch for
5365 aarch64*-*-* target.
5366 * gdb.asm/aarch64.inc: New file.
5367
53682015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
5369
5370 * gdb.ada/array_of_variable_length.exp: New testcase.
5371 * gdb.ada/array_of_variable_length/foo.adb: New file.
5372 * gdb.ada/array_of_variable_length/pck.adb: New file.
5373 * gdb.ada/array_of_variable_length/pck.ads: New file.
5374
53752015-09-15 Doug Evans <dje@google.com>
5376
5377 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
5378 of function static local variable.
5379
53802015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5381
5382 * gdb.threads/tls-so_extern.exp: New test file.
5383 * gdb.threads/tls-so_extern.c: New test file.
5384 * gdb.threads/tls-so_extern_main.c: New test file.
5385
53862015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5387
5388 * gdb.opt/solib-intra-step-lib.c: New file.
5389 * gdb.opt/solib-intra-step-main.c: New file.
5390 * gdb.opt/solib-intra-step.exp: New file.
5391
53922015-09-15 Pedro Alves <palves@redhat.com>
5393
5394 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
5395 gdb_continue_to_breakpoint instead of gdb_test_multiple.
5396
53972015-09-14 Pedro Alves <palves@redhat.com>
5398
5399 * gdb.base/hook-stop-continue.c: Delete.
5400 * gdb.base/hook-stop-continue.exp: Delete.
5401 * gdb.base/hook-stop-frame.c: Delete.
5402 * gdb.base/hook-stop-frame.exp: Delete.
5403 * gdb.base/hook-stop.c: New file.
5404 * gdb.base/hook-stop.exp: New file.
5405
54062015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
5407
5408 * gdb.ada/access_to_packed_array.exp: New testcase.
5409 * gdb.ada/access_to_packed_array/foo.adb: New file.
5410 * gdb.ada/access_to_packed_array/pack.adb: New file.
5411 * gdb.ada/access_to_packed_array/pack.ads: New file.
5412
54132015-09-14 Markus Metzger <markus.t.metzger@intel.com>
5414
5415 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
5416 buffer size test.
5417
54182015-09-11 Don Breazeal <donb@codesourcery.com>
5419
5420 * gdb.base/foll-exec.c: Add copyright header. Fix
5421 formatting issues.
5422 * gdb.base/foll-exec.exp (zap_session): Delete proc.
5423 (do_exec_tests): Use clean_restart in place of zap_session,
5424 and for test initialization. Fix formatting issues. Use
5425 fail in place of perror.
5426 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
5427 an expect statement to match an expression with output from
5428 the program under debug.
5429 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
5430 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
5431 * gdb.threads/non-ldr-exc-2.exp: Likewise.
5432 * gdb.threads/non-ldr-exc-3.exp: Likewise.
5433 * gdb.threads/non-ldr-exc-4.exp: Likewise.
5434
54352015-09-09 Doug Evans <dje@google.com>
5436
5437 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
5438
54392015-09-09 Doug Evans <dje@google.com>
5440
5441 * gdb.base/pie-execl.exp: Fix result test of build_executable.
5442
54432015-09-09 Doug Evans <dje@google.com>
5444
5445 * gdb.base/savedregs.exp: Fix typo.
5446
54472015-09-09 Pedro Alves <palves@redhat.com>
5448
5449 * gdb.mi/mi-cli.exp: Add CLI finish tests.
5450
54512015-09-08 Sandra Loosemore <sandra@codesourcery.com>
5452
5453 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
5454 command actually switches threads. Give up on remaining
5455 tests if target fails to stop at breakpoint.
5456
54572015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
5458
5459 * gdb.ada/funcall_char.exp: New testcase.
5460 * gdb.ada/funcall_char/foo.adb: New file.
5461
54622015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
5463
5464 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
5465 expected outputs. Add two testcases for completing ambiguous
5466 functions.
5467 * gdb.ada/complete/aux_pck.adb: New file.
5468 * gdb.ada/complete/aux_pck.ads: New file.
5469 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
5470 Ambiguous_Func functions.
5471 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
5472 * gdb.ada/complete/pck.adb: Likewise.
5473
54742015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
5475
5476 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
5477 failures to run the test program under GDB.
5478
54792015-08-26 Luis Machado <lgustavo@codesourcery.com>
5480
5481 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
5482 to C.
5483
54842015-08-26 Patrick Palka <patrick@parcs.ath.cx>
5485
5486 * gdb.base/run-after-attach.exp: New test file.
5487 * gdb.base/run-after-attach.c: New test file.
5488
54892015-08-26 Don Breazeal <donb@codesourcery.com>
5490
5491 * gdb.base/foll-exec-2.c: New test program.
5492 * gdb.base/foll-exec-2.exp: New test.
5493
54942015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
5495
5496 * gdb.base/nested-subp1.exp: New file.
5497 * gdb.base/nested-subp1.c: New file.
5498 * gdb.base/nested-subp2.exp: New file.
5499 * gdb.base/nested-subp2.c: New file.
5500 * gdb.base/nested-subp3.exp: New file.
5501 * gdb.base/nested-subp3.c: New file.
5502
55032015-08-24 Pedro Alves <palves@redhat.com>
5504
5505 * gdb.server/connect-without-multi-process.c: New file.
5506 * gdb.server/connect-without-multi-process.exp: New file.
5507
55082015-08-24 Luis Machado <lgustavo@codesourcery.com>
5509
5510 * gdb.opt/inline-markers.c: Make z int.
5511
55122015-08-24 Luis Machado <lgustavo@codesourcery.com>
5513
5514 * gdb.opt/inline-markers.c: Make z volatile.
5515
55162015-08-24 Luis Machado <lgustavo@codesourcery.com>
5517
5518 * gdb.opt/inline-bt.c: New volatile global z.
5519 * gdb.opt/inline-cmds.c: Likewise.
5520 * gdb.opt/inline-locals.c: Likewise.
5521 * gdb.opt/inline-markers.c: New extern global z.
5522 (marker): Use z.
5523 (inline_fn): Likewise.
5524
55252015-08-24 Pedro Alves <palves@redhat.com>
5526
5527 * config/m32r-stub.exp: Remove file.
5528 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5529 * gdb.base/call-rt-st.exp: Likewise.
5530 * gdb.base/call-strs.exp: Likewise.
5531 * gdb.base/default.exp: Remove references to h8300-*-hms and
5532 *-*-udi*.
5533 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5534
55352015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5536
5537 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5538 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5539 and "return" use KFAIL when GDB can not read/write the vector
5540 return value.
5541
55422015-08-21 Gary Benson <gbenson@redhat.com>
5543
5544 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5545
55462015-08-20 Pedro Alves <palves@redhat.com>
5547
5548 * gdb.server/solib-list.exp: No longer expect an interior stop in
5549 non-stop mode.
5550
55512015-08-20 Pedro Alves <palves@redhat.com>
5552
5553 * gdb.server/connect-stopped-target.c: New file.
5554 * gdb.server/connect-stopped-target.exp: New file.
5555
55562015-08-20 Pedro Alves <palves@redhat.com>
5557
5558 * gdb.dwarf2/comp-unit-lang.exp: New file.
5559 * gdb.dwarf2/comp-unit-lang.c: New file.
5560
55612015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5562
5563 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5564 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5565
55662015-08-19 Kevin Buettner <kevinb@redhat.com>
5567
5568 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5569 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5570
55712015-08-18 Doug Evans <dje@google.com>
5572 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5573
5574 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5575 skip_python_tests. New arg prompt_regexp.
5576 (skip_python_tests): New function.
5577 * lib/mi-support.exp (mi_skip_python_tests): New function.
5578 * gdb.python/py-mi-objfile-gdb.py: New file.
5579 * gdb.python/py-mi-objfile.c: New file.
5580 * gdb.python/py-mi-objfile.exp: New file.
5581
55822015-08-17 Keith Seitz <keiths@redhat.com>
5583
5584 * gdb.linespec/explicit.exp: Move strace test from here ...
5585 * gdb.trace/strace.exp: ... to here.
5586
55872015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5588
5589 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5590 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5591
55922015-08-14 Doug Evans <xdje42@gmail.com>
5593
5594 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5595 inferior before selecting a new file.
5596
55972015-08-14 Doug Evans <xdje42@gmail.com>
5598
5599 * gdb.mi/mi-disassemble.exp: Update.
5600 * gdb.base/disasm-optim.S: New file.
5601 * gdb.base/disasm-optim.c: New file.
5602 * gdb.base/disasm-optim.h: New file.
5603 * gdb.base/disasm-optim.exp: New file.
5604
56052015-08-14 Keith Seitz <keiths@redhat.com>
5606
5607 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
5608 "evaluated-by".
5609
56102015-08-13 Joel Brobecker <brobecker@adacore.com>
5611
5612 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
5613
56142015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
5615
5616 * gdb.ada/fun_renaming.exp: New testcase.
5617 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
5618 * gdb.ada/fun_renaming/pack.adb: New file.
5619 * gdb.ada/fun_renaming/pack.ads: New file.
5620
56212015-08-12 Keith Seitz <keiths@redhat.com>
5622
5623 * gdb.base/dso2dso.exp: Pass basename of source file in call to
5624 gdb_get_line_number.
5625
56262015-08-12 Joel Brobecker <brobecker@adacore.com>
5627
5628 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
5629 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
5630 gdb.base/dso2dso.exp: New files.
5631
56322015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
5633 Pedro Alves <palves@redhat.com>
5634 Keith Seitz <keiths@redhat.com>
5635
5636 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
5637 GDBFLAGS.
5638
56392015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5640
5641 * gdb.base/gdbhistsize-history.exp
5642 (test_histsize_history_setting): Use save_vars.
5643 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5644 Use save_vars.
5645 (test_no_truncation_of_unlimited_history_file): Use save_vars.
5646 * gdb.base/readline.exp: Use save_vars.
5647
56482015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5649
5650 * lib/gdb.exp (save_vars): New proc.
5651
56522015-08-11 Keith Seitz <keiths@redhat.com>
5653
5654 * gdb.base/help.exp: Update help_breakpoint_text.
5655
56562015-08-11 Keith Seitz <keiths@redhat.com>
5657
5658 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
5659 (at toplevel): Call test_explicit_breakpoints.
5660 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
5661 breakpoints.
5662 * lib/mi-support.exp (mi_make_breakpoint): Add support for
5663 breakpoint conditions, "-cond".
5664
56652015-08-11 Keith Seitz <keiths@redhat.com>
5666
5667 * gdb.linespec/3explicit.c: New file.
5668 * gdb.linespec/cpexplicit.cc: New file.
5669 * gdb.linespec/cpexplicit.exp: New file.
5670 * gdb.linespec/explicit.c: New file.
5671 * gdb.linespec/explicit.exp: New file.
5672 * gdb.linespec/explicit2.c: New file.
5673 * gdb.linespec/ls-errs.exp: Add explicit location tests.
5674 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
5675 before using in the matching pattern.
5676 Clarify that `prefix' is a regular expression.
5677
56782015-08-11 Keith Seitz <keiths@redhat.com>
5679
5680 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
5681 test.
5682 Add tests for missing ",FMT" and ",".
5683
56842015-08-10 Doug Evans <dje@google.com>
5685 Keith Seitz <keiths@redhat.com>
5686
5687 PR gdb/17960
5688 * gdb.base/completion.exp: Add location completer tests.
5689
56902015-08-07 Pedro Alves <palves@redhat.com>
5691
5692 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
5693 tests here.
5694 (top level): Run do_test with and without displaced stepping.
5695
56962015-08-07 Pedro Alves <palves@redhat.com>
5697
5698 * gdb.base/valgrind-disp-step.c: New file.
5699 * gdb.base/valgrind-disp-step.exp: New file.
5700
57012015-08-07 Pedro Alves <palves@redhat.com>
5702
5703 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
5704 Delete function.
5705 (main): Add alarm. Run an infinite loop instead of calling
5706 wait_threads.
5707 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
5708 comment.
5709 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
5710 Delete function.
5711 (main): Add alarm. Run an infinite loop instead of calling
5712 wait_threads.
5713 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
5714 comment.
5715
57162015-08-07 Pedro Alves <palves@redhat.com>
5717
5718 * gdb.base/checkpoint-ns.exp: New file.
5719 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
5720 standard_testfile.
5721
57222015-08-07 Markus Metzger <markus.t.metzger@intel.com>
5723
5724 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
5725 * gdb.btrace/instruction_history.exp: Update.
5726 * gdb.btrace/tsx.exp: New.
5727 * gdb.btrace/tsx.c: New.
5728
57292015-08-06 Pedro Alves <palves@redhat.com>
5730
5731 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
5732 increase timeout.
5733 * gdb.reverse/until-precsave.exp: Bump timeouts.
5734
57352015-08-06 Pedro Alves <palves@redhat.com>
5736
5737 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
5738
57392015-08-06 Pedro Alves <palves@redhat.com>
5740
5741 PR gdb/18749
5742 * gdb.threads/process-dies-while-handling-bp.c: New file.
5743 * gdb.threads/process-dies-while-handling-bp.exp: New file.
5744
57452015-08-06 Pedro Alves <palves@redhat.com>
5746
5747 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
5748 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
5749
57502015-08-05 Pedro Alves <palves@redhat.com>
5751
5752 * gdb.threads/next-while-other-thread-longjmps.c: New file.
5753 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
5754
57552015-08-03 Sandra Loosemore <sandra@codesourcery.com>
5756
5757 * gdb.base/bp-permanent.exp: Report test as unsupported if
5758 the target cannot stop at the permanent breakpoint.
5759
57602015-08-03 Doug Evans <dje@google.com>
5761
5762 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
5763 10000.
5764
57652015-08-03 Doug Evans <dje@google.com>
5766
5767 * Makefile.in (workers/%.worker, build-perf): New rule.
5768 (GDB_PERFTEST_MODE): New variable.
5769 (check-perf): Use it.
5770 (clean): Clean up gdb.perf parallel build subdirs.
5771 * lib/build-piece.exp: New file.
5772 * lib/gdb.exp (make_gdb_parallel_path): New function
5773 (standard_output_file, standard_temp_file): Call it.
5774 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5775 of $GDB_PARALLEL.
5776 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
5777
57782015-08-03 Doug Evans <dje@google.com>
5779
5780 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
5781 (LOG_FILE_NAME): New global.
5782 (TextReporter.__init__): Initialize self.txt_sum.
5783 (TextReporter.report): Add support for multiple data-points.
5784 Move report to perftest.sum, put raw data in perftest.log.
5785 (TextReporter.start): Open sum and log files.
5786 (TextReporter.end): Close sum and log files.
5787 * gdb.perf/lib/perftest/testresult.py
5788 (SingleStatisticTestResult.record): Handle multiple data-points.
5789
57902015-07-31 Pedro Alves <palves@redhat.com>
5791
5792 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
5793 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5794 kill_wait_spawned_process instead of explicit "kill -9".
5795 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
5796 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5797 kill_wait_spawned_process.
5798 * gdb.base/attach-twice.exp: Likewise.
5799 * gdb.base/attach.exp: Likewise.
5800 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
5801 gdb_test_multiple.
5802 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
5803 returning a spawn id instead of a pid. Use spawn_id_get_pid and
5804 kill_wait_spawned_process.
5805 * gdb.base/valgrind-infcall.exp: Likewise.
5806 * gdb.multi/multi-attach.exp: Likewise.
5807 * gdb.python/py-prompt.exp: Likewise.
5808 * gdb.python/py-sync-interp.exp: Likewise.
5809 * gdb.server/ext-attach.exp: Likewise.
5810 * gdb.threads/attach-into-signal.exp (corefunc): Use
5811 spawn_wait_for_attach, spawn_id_get_pid and
5812 kill_wait_spawned_process.
5813 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
5814 spawn_wait_for_attach returning a spawn id instead of a pid. Use
5815 spawn_id_get_pid and kill_wait_spawned_process.
5816 * gdb.threads/attach-stopped.exp (corefunc): Use
5817 spawn_wait_for_attach, spawn_id_get_pid and
5818 kill_wait_spawned_process.
5819 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
5820 Use spawn_id_get_pid. Wait for spawn id after eof. Use
5821 kill_wait_spawned_process instead of explicit "kill -9".
5822 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
5823 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
5824 (spawn_wait_for_attach): Use spawn instead of exec to spawn
5825 processes. Don't map cygwin/windows pids here. Now returns a
5826 spawn id list.
5827
58282015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5829
5830 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
5831 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
5832 correct patch.
5833
58342015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5835
5836 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
5837
58382015-07-30 Sandra Loosemore <sandra@codesourcery.com>
5839
5840 Reapply:
5841 2014-05-21 Mark Wielaard <mjw@redhat.com>
5842
5843 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
5844
58452015-07-30 Pedro Alves <palves@redhat.com>
5846
5847 * linux-low.c (handle_extended_wait): Set the child's last
5848 reported status to TARGET_WAITKIND_STOPPED.
5849
58502015-07-30 Pedro Alves <palves@redhat.com>
5851
5852 PR threads/18600
5853 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
5854 only shows inferior 1.
5855
58562015-07-30 Simon Marchi <simon.marchi@ericsson.com>
5857 Pedro Alves <palves@redhat.com>
5858
5859 PR threads/18600
5860 * gdb.threads/fork-plus-threads.c: New file.
5861 * gdb.threads/fork-plus-threads.exp: New file.
5862
58632015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5864
5865 * gdb.base/batch-preserve-term-settings.exp
5866 (test_terminal_settings_preserved_after_cli_exit): Use
5867 send_quit_command.
5868
58692015-07-29 Pedro Alves <palves@redhat.com>
5870 Don Breazeal <donb@codesourcery.com>
5871
5872 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
5873 output from both inferior_spawn_id and gdb_spawn_id.
5874
58752015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5876
5877 * gdb.threads/attach-into-signal.exp (corefunc): Use
5878 with_test_prefix on nested loops, uniquefying the test messages.
5879
58802015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
5881
5882 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
5883 commit.
5884
58852015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5886
5887 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
5888 New proc.
5889 (test_terminal_settings_preserved_after_sigterm): New test.
5890
58912015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5892
5893 * gdb.base/batch-preserve-term-settings.exp
5894 (test_terminal_settings_preserved_after_cli_exit): New test.
5895
58962015-07-29 Patrick Palka <patrick@parcs.ath.cx>
5897
5898 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
5899 manipulation of saved_gdbflags.
5900 (test_terminal_settings_preserved): Remove global declaration of
5901 the unused variable pagination_prompt. Remove manipulation of
5902 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
5903 GDBFLAGS.
5904
59052015-07-29 Pedro Alves <palves@redhat.com>
5906
5907 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
5908
59092015-07-29 Pedro Alves <palves@redhat.com>
5910
5911 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
5912 at the top.
5913
59142015-07-29 Pedro Alves <palves@redhat.com>
5915
5916 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
5917 (main): Call gdb_unbuffer_output.
5918 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
5919 (main): Call gdb_unbuffer_output.
5920 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
5921 (main): Call gdb_unbuffer_output.
5922 * gdb.base/call-strs.exp: Adjust to step over the
5923 gdb_unbuffer_output call.
5924 * gdb.base/catch-gdb-caused-signals.c: Include
5925 "../lib/unbuffer_output.c".
5926 (main): Call gdb_unbuffer_output.
5927 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
5928 (main): Call gdb_unbuffer_output.
5929 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
5930 (main): Call gdb_unbuffer_output.
5931 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
5932 (main): Call gdb_unbuffer_output.
5933 * gdb.base/shlib-call.exp: Adjust to step over the
5934 gdb_unbuffer_output call.
5935 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
5936 (main): Call gdb_unbuffer_output.
5937 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
5938 (main): Call gdb_unbuffer_output.
5939 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
5940 (main): Rename to ...
5941 (test): ... this.
5942 (main): Reimplement.
5943 * gdb.base/varargs.exp: Run to test instead of to main.
5944 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5945 (main): Call gdb_unbuffer_output.
5946
59472015-07-29 Pedro Alves <palves@redhat.com>
5948
5949 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
5950 factore out from mi_continue_dprintf. For call-style dprintfs,
5951 expect dprintf output out of $inferior_spawn_id.
5952 (mi_continue_dprintf): Use mi_expect_dprintf.
5953 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
5954 (main): Call gdb_unbuffer_output.
5955
59562015-07-29 Pedro Alves <palves@redhat.com>
5957
5958 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
5959 (default_mi_gdb_start): Set inferior_spawn_id instead of
5960 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
5961 gdb_spawn_id.
5962 (mi_gdb_test): Always expect inferior output from both
5963 $inferior_spawn_id and $gdb_spawn_id.
5964
59652015-07-29 Pedro Alves <palves@redhat.com>
5966
5967 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
5968 send_inferior and $inferior_spawn_id.
5969
59702015-07-29 Pedro Alves <palves@redhat.com>
5971
5972 * gdb.gdb/complaints.exp (test_initial_complaints)
5973 (test_serial_complaints, test_short_complaints): Use
5974 gdb_test_stdio.
5975 (test_empty_complaint): Handle $inferior_spawn_id !=
5976 $gdb_spawn_id.
5977
59782015-07-29 Pedro Alves <palves@redhat.com>
5979
5980 * gdb.base/varargs.exp: Use gdb_test_stdio.
5981
59822015-07-29 Pedro Alves <palves@redhat.com>
5983
5984 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
5985
59862015-07-29 Pedro Alves <palves@redhat.com>
5987
5988 * gdb.base/ending-run.exp: Use gdb_test_stdio.
5989
59902015-07-29 Pedro Alves <palves@redhat.com>
5991
5992 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
5993 parameter into two new parameters, "inf_result" and "gdb_result".
5994 Expect inferior output and gdb output from $inferior_spawn_id and
5995 $gdb_spawn_id, respectively. Adjust all callers.
5996
59972015-07-29 Pedro Alves <palves@redhat.com>
5998
5999 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
6000 of gdb_test_sequence.
6001
60022015-07-29 Pedro Alves <palves@redhat.com>
6003
6004 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
6005 (saw_spurious_output): Expect inferior output from
6006 $inferior_spawn_id. Use gdb_test_stdio.
6007
60082015-07-29 Pedro Alves <palves@redhat.com>
6009
6010 * gdb.base/dprintf.exp: Use standard_testfile. Change
6011 prepare_for_testing call.
6012 (srcfile): Don't set.
6013 (restart): New procedure.
6014 (test_dprintf): New procecure, use to continue over dprintfs.
6015 (test_call, test_agent): New procedures, tests moved here.
6016 Restart gdb and recreate dprintfs. Adjust expected output.
6017
60182015-07-29 Pedro Alves <palves@redhat.com>
6019
6020 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
6021
60222015-07-29 Pedro Alves <palves@redhat.com>
6023
6024 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
6025
60262015-07-29 Pedro Alves <palves@redhat.com>
6027
6028 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
6029 gdb_test_stdio.
6030
60312015-07-29 Pedro Alves <palves@redhat.com>
6032
6033 * lib/gdb.exp (gdb_test_stdio): New procedure.
6034
60352015-07-29 Pedro Alves <palves@redhat.com>
6036
6037 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
6038
60392015-07-29 Pedro Alves <palves@redhat.com>
6040
6041 * gdb.base/call-signal-resume.exp: Remove check for
6042 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
6043 * gdb.base/unwindonsignal.exp: Likewise.
6044 * gdb.base/call-signals.c (gen_signal): Remove printf call.
6045 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
6046
60472015-07-29 Pedro Alves <palves@redhat.com>
6048
6049 * gdb.base/siginfo-addr.c (pass): New function.
6050 (handler): Call it iff si_addr is correct.
6051 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
6052 Set a breakpoint at "pass" and continue to it.
6053
60542015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
6055
6056 * gdb.python/py-objfile.exp: Make some tests have unique names.
6057 * gdb.python/py-pp-registration.exp: Likewise.
6058
60592015-07-28 Pedro Alves <palves@redhat.com>
6060
6061 * gdb.server/server-exec-info.exp: Issue a "disconnect".
6062
60632015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6064
6065 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
6066
60672015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6068
6069 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
6070
60712015-07-27 Patrick Palka <patrick@parcs.ath.cx>
6072
6073 * gdb.base/gdb-sigterm-2.exp: New test.
6074
60752015-07-25 Doug Evans <xdje42@gmail.com>
6076
6077 Revert:
6078 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6079 (workers/%.worker, build-perf): New rule.
6080 (GDB_PERFTEST_MODE): New variable.
6081 (check-perf): Use it.
6082 (clean): Clean up gdb.perf parallel build subdirs.
6083 * lib/build-piece.exp: New file.
6084 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6085 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6086 name.
6087 (standard_temp_file): Ditto.
6088 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6089 of $GDB_PARALLEL.
6090
60912015-07-24 Doug Evans <dje@google.com>
6092
6093 * gdb.perf/lib/perftest/utils.py: New file.
6094 * gdb.perf/gm-hello.cc: New file.
6095 * gdb.perf/gm-pervasive-typedef.cc: New file.
6096 * gdb.perf/gm-pervasive-typedef.h: New file.
6097 * gdb.perf/gm-std.cc: New file.
6098 * gdb.perf/gm-std.h: New file.
6099 * gdb.perf/gm-use-cerr.cc: New file.
6100 * gdb.perf/gm-utils.h: New file.
6101 * gdb.perf/gmonster-null-lookup.py: New file.
6102 * gdb.perf/gmonster-pervasive-typedef.py: New file.
6103 * gdb.perf/gmonster-print-cerr.py: New file.
6104 * gdb.perf/gmonster-ptype-string.py: New file.
6105 * gdb.perf/gmonster-runto-main.py: New file.
6106 * gdb.perf/gmonster-select-file.py: New file.
6107 * gdb.perf/gmonster1-null-lookup.exp: New file.
6108 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
6109 * gdb.perf/gmonster1-print-cerr.exp: New file.
6110 * gdb.perf/gmonster1-ptype-string.exp: New file.
6111 * gdb.perf/gmonster1-runto-main.exp: New file.
6112 * gdb.perf/gmonster1-select-file.exp: New file.
6113 * gdb.perf/gmonster1.cc: New file.
6114 * gdb.perf/gmonster1.exp: New file.
6115 * gdb.perf/gmonster2-null-lookup.exp: New file.
6116 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
6117 * gdb.perf/gmonster2-print-cerr.exp: New file.
6118 * gdb.perf/gmonster2-ptype-string.exp: New file.
6119 * gdb.perf/gmonster2-runto-main.exp: New file.
6120 * gdb.perf/gmonster2-select-file.exp: New file.
6121 * gdb.perf/gmonster2.cc: New file.
6122 * gdb.perf/gmonster2.exp: New file.
6123
61242015-07-24 Doug Evans <dje@google.com>
6125
6126 * gdb.perf/README: New file.
6127 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
6128 * lib/gen-perf-test.exp: New file.
6129
61302015-07-24 Doug Evans <dje@google.com>
6131
6132 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
6133 (PerfTest::startup): New function.
6134 (PerfTest::run): Return result of calling body.
6135 (PerfTest::assemble): Rewrite.
6136 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
6137 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
6138 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
6139 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
6140 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
6141
61422015-07-24 Doug Evans <dje@google.com>
6143
6144 * lib/gdb.exp (clean_restart): Make executable optional.
6145
61462015-07-24 Doug Evans <dje@google.com>
6147
6148 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
6149 compiler_info references.
6150 * gdb.cp/temargs.exp: Ditto.
6151 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
6152 (get_compiler_info): Early exit if already computed. Set compiler_info
6153 to "unknown" if there was a problem.
6154 (test_compiler_info): Add function comment. Call get_compiler_info.
6155
61562015-07-24 Doug Evans <dje@google.com>
6157
6158 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6159 (workers/%.worker, build-perf): New rule.
6160 (GDB_PERFTEST_MODE): New variable.
6161 (check-perf): Use it.
6162 (clean): Clean up gdb.perf parallel build subdirs.
6163 * lib/build-piece.exp: New file.
6164 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6165 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6166 name.
6167 (standard_temp_file): Ditto.
6168 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6169 of $GDB_PARALLEL.
6170
61712015-07-24 Doug Evans <dje@google.com>
6172
6173 * lib/future.exp (gdb_default_target_compile): New option
6174 "early_flags".
6175 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
6176 --as-needed.
6177
61782015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
6179
6180 * gdb.base/catch-syscall.exp: Call gdb_exit before
6181 gdb_skip_xml_test.
6182
61832015-07-24 Pedro Alves <palves@redhat.com>
6184
6185 * gdb.python/py-events.exp: Accept output between the stop event
6186 and the prompt.
6187 * gdb.python/py-evsignal.exp: Likewise.
6188 * gdb.python/py-evthreads.exp: Likewise.
6189
61902015-07-24 Pedro Alves <palves@redhat.com>
6191
6192 PR gdb/18717
6193 * gdb.threads/non-ldr-exit.c: New file.
6194 * gdb.threads/non-ldr-exit.exp: New file.
6195
61962015-07-24 Yao Qi <yao.qi@linaro.org>
6197
6198 * gdb.server/ext-wrapper.exp: Test --wrapper option when
6199 restarting process.
6200
62012015-07-24 Yao Qi <yao.qi@linaro.org>
6202
6203 * gdb.server/ext-restart.exp: New file.
6204
62052015-07-24 Yao Qi <yao.qi@linaro.org>
6206
6207 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
6208 argument options.
6209 * gdb.server/ext-wrapper.exp: New file.
6210
62112015-07-23 Doug Evans <dje@google.com>
6212
6213 * gdb.dwarf2/dw2-dummy-cu.S: New file.
6214 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
6215
62162015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
6217
6218 * gdb.ada/var_arr_typedef.exp: New testcase.
6219 * gdb.ada/var_arr_typedef/pack.adb: New file.
6220 * gdb.ada/var_arr_typedef/pack.ads: New file.
6221 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
6222
62232015-07-20 Joel Brobecker <brobecker@adacore.com>
6224
6225 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
6226
62272015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6228
6229 * gdb.arch/i386-biarch-core.exp: Replace istarget
6230 by "complete set gnutarget". Remove expectation for the "core-file"
6231 command.
6232
62332015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6234
6235 Revert the previous commit:
6236 Tests for validate symbol file using build-id.
6237
62382015-07-15 Aleksandar Ristovski <aristovski@qnx.com
6239
6240 Tests for validate symbol file using build-id.
6241 * gdb.base/solib-mismatch-lib.c: New file.
6242 * gdb.base/solib-mismatch-libmod.c: New file.
6243 * gdb.base/solib-mismatch.c: New file.
6244 * gdb.base/solib-mismatch.exp: New file.
6245
62462015-07-15 Sandra Loosemore <sandra@codesourcery.com>
6247
6248 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
6249 nios2-*-linux*.
6250 * gdb.base/sigbpt.exp (stepi_out): Likewise.
6251 * gdb.base/siginfo.exp: Likewise.
6252 * gdb.base/sigstep.exp (advance, advancei): Likewise.
6253
62542015-07-15 Pierre Langlois <pierre.langlois@arm.com>
6255
6256 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
6257 Move it to ...
6258 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
6259 ... here.
6260 * gdb.trace/range-stepping.exp: Check that the target supports
6261 range stepping.
6262
62632015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6264
6265 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
6266
62672015-07-14 Pedro Alves <palves@redhat.com>
6268
6269 * gdb.base/killed-outside.exp: New file.
6270 * gdb.base/killed-outside.c: New file.
6271
62722015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6273
6274 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
6275 (n at main): New.
6276 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
6277
62782015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6279
6280 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
6281 infcall tests instead of setting up for KFAIL.
6282
62832015-07-10 Markus Metzger <markus.t.metzger@intel.com>
6284
6285 * gdb.btrace/record_goto-step.exp: New.
6286
62872015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6288
6289 PR compile/18484
6290 * gdb.compile/compile.c (struct struct_type): Add volatile to
6291 selffield's type.
6292 * gdb.compile/compile.exp
6293 (compile code struct_object.selffield = &struct_object): Skip further
6294 struct_object tests if this one xfails.
6295
62962015-07-08 Robert O'Callahan <robert@ocallahan.org>
6297
6298 PR exp/18617
6299 * gdb.trace/ax.exp: Add test.
6300
63012015-07-07 Yao Qi <yao.qi@linaro.org>
6302
6303 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
6304 instead of istarget "aarch64*-*-*".
6305 * gdb.arch/aarch64-fp.exp: Likewise.
6306 * gdb.base/float.exp: Likewise.
6307 * gdb.reverse/aarch64.exp: Likewise.
6308 * lib/gdb.exp (is_aarch64_target): New proc.
6309
63102015-07-07 Yao Qi <yao.qi@linaro.org>
6311
6312 * lib/gdb.exp (is_aarch32_target): New proc.
6313 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
6314 instead of "istarget "arm*-*-*"".
6315 * gdb.arch/arm-disp-step.exp: Likewise.
6316 * gdb.arch/thumb-bx-pc.exp: Likewise.
6317 * gdb.arch/thumb-prologue.exp: Likewise.
6318 * gdb.arch/thumb-singlestep.exp: Likewise.
6319 * gdb.base/disp-step-syscall.exp: Likewise.
6320 * gdb.base/float.exp: Likewise.
6321
63222015-07-07 Yao Qi <yao.qi@linaro.org>
6323
6324 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
6325 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
6326
63272015-07-07 Yao Qi <yao.qi@linaro.org>
6328
6329 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
6330 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
6331 if it exists.
6332 * gdb.multi/multi-arch.exp: Likewise.
6333
63342015-07-07 Simon Marchi <simon.marchi@ericsson.com>
6335
6336 * gdb.python/py-lazy-string.exp: Add missing parentheses to
6337 print.
6338
63392015-07-07 Yao Qi <yao.qi@linaro.org>
6340
6341 * gdb.arch/thumb-singlestep.exp: Do one more single step.
6342
63432015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
6344
6345 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
6346 '[' and ']' characters.
6347
63482015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
6349
6350 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6351
63522015-06-29 Pedro Alves <palves@redhat.com>
6353
6354 PR threads/18127
6355 * gdb.threads/hand-call-new-thread.c: New file.
6356 * gdb.threads/hand-call-new-thread.c: New file.
6357
63582015-06-26 Keith Seitz <keiths@redhat.com>
6359 Doug Evans <dje@google.com>
6360
6361 PR 16253
6362 * gdb.cp/var-tag-2.cc: New file.
6363 * gdb.cp/var-tag-3.cc: New file.
6364 * gdb.cp/var-tag-4.cc: New file.
6365 * gdb.cp/var-tag.cc: New file.
6366 * gdb.cp/var-tag.exp: New file.
6367
63682015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6369
6370 * gdb.base/history-duplicates.exp: New test.
6371
63722015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6373
6374 * gdb.base/completion.exp: Test the completion of the "focus"
6375 command.
6376
63772015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6378
6379 * gdb.arch/amd64-prologue-skip.S: New file.
6380 * gdb.arch/amd64-prologue-skip.exp: New file.
6381
63822015-06-25 Simon Marchi <simon.marchi@ericsson.com>
6383
6384 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
6385 is_address_zero_readable check.
6386
63872015-06-24 Peter Bergner <bergner@vnet.ibm.com>
6388
6389 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
6390 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
6391
63922015-06-24 Yao Qi <yao.qi@linaro.org>
6393
6394 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
6395 linux targets.
6396
63972015-06-24 Yao Qi <yao.qi@linaro.org>
6398
6399 * lib/gdb.exp (supports_get_siginfo_type): New proc.
6400 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
6401 * gdb.base/siginfo-thread.exp: Likewise.
6402
64032015-06-22 Yao Qi <yao.qi@linaro.org>
6404
6405 * boards/remote-gdbserver-on-localhost.exp: Add comments.
6406
64072015-06-22 Yao Qi <yao.qi@linaro.org>
6408
6409 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
6410 aarch64*-*-*.
6411 (skip_hw_watchpoint_tests): Likewise.
6412
64132015-06-18 Patrick Palka <patrick@parcs.ath.cx>
6414
6415 * gdb.base/gdbinit-history.exp: Test the interaction between
6416 setting GDBHISTSIZE and setting the history size via .gdbinit.
6417
64182015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6419
6420 PR gdb/16999
6421 * gdb.base/gdbhistsize-history.exp: New test.
6422
64232015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6424
6425 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
6426 with GDBHISTSIZE.
6427 * gdb.base/readline.exp: Likewise.
6428
64292015-06-17 Yao Qi <yao.qi@linaro.org>
6430
6431 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
6432 line.
6433
64342015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6435
6436 * gdb.base/gdbinit-history.exp: Add test case to check that
6437 an unlimited history file does not get truncated on exit.
6438
64392015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6440
6441 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
6442 (VECTOR): New macro. Use it...
6443 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6444 ...for these typedefs.
6445 (int8, char1, int1, double1): New typedefs.
6446 (struct just_int2, struct two_int2): New structures.
6447 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
6448 (add_structvecs, add_singlevecs): New functions.
6449 (main): Call add_some_intvecs twice.
6450 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
6451 the compile and exit upon failure. Try compiling for the "native"
6452 architecture. Test inferior function calls with vector arguments
6453 and vector return value handling with "finish" and "return".
6454
64552015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
6456
6457 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
6458 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
6459 PE file.
6460 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
6461
64622015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6463
6464 PR breakpoints/16465
6465 * gdb.mi/mi-dprintf-pending.c: New file.
6466 * gdb.mi/mi-dprintf-pending.exp: New test.
6467 * gdb.mi/mi-dprintf-pendshr.c: New file.
6468
64692015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6470 Mircea Gherzan <mircea.gherzan@intel.com>
6471
6472 * gdb.arch/i386-mpx-map.c: New file.
6473 * gdb.arch/i386-mpx-map.exp: New File.
6474
64752015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6476
6477 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
6478 * gdb.arch/i386-mpx.exp: Indentation fixed.
6479
64802015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6481
6482 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
6483 function and improved indentation.
6484 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
6485 gdb_test_multiple. Added additional tests to skip the test.
6486
64872015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6488
6489 * gdb.arch/i386-avx512.c: Change path in include file.
6490 * gdb.arch/i386-avx512.exp: Change include dir path
6491 compilation flag.
6492 * gdb.arch/i386-mpx.c: Change path in include file.
6493 * gdb.arch/i386-mpx.exp: Change include dir path compilation
6494 flag.
6495
64962015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6497
6498 * gdb.compile/compile-print.exp (compile print *vararray@3)
6499 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
6500
65012015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6502
6503 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
6504 (do not keep jit in memory): ... this.
6505 (expect 5): Change it to ...
6506 (expect no 5): ... this.
6507
65082015-06-02 Simon Marchi <simon.marchi@ericsson.com>
6509
6510 PR gdb/15564
6511 * gdb.mi/mi-detach.exp: New file.
6512
65132015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6514
6515 PR symtab/18392
6516 * gdb.arch/amd64-tailcall-self.S: New file.
6517 * gdb.arch/amd64-tailcall-self.c: New file.
6518 * gdb.arch/amd64-tailcall-self.exp: New file.
6519
65202015-05-28 Don Breazeal <donb@codesourcery.com>
6521
6522 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6523 tests for remote targets by checking is_target_gdbserver.
6524
65252015-05-27 Doug Evans <dje@google.com>
6526
6527 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6528 * gdb.dwarf2/opaque-type-lookup.c: New file.
6529 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6530
65312015-05-26 Doug Evans <dje@google.com>
6532
6533 * gdb.cp/iostream.cc: New file.
6534 * gdb.cp/iostream.exp: New file.
6535
65362015-05-26 Doug Evans <dje@google.com>
6537
6538 * gdb.dwarf2/dw2-op-call.exp: Update.
6539 * gdb.dwarf2/dw4-sig-types.exp: Update.
6540 * gdb.dwarf2/implptr.exp: Update.
6541 * gdb.mi/mi-cmd-param-changed.exp: Update.
6542
65432015-05-26 Doug Evans <dje@google.com>
6544
6545 * gdb.python/py-lazy-string.c: New file.
6546 * gdb.python/py-lazy-string.exp: New file.
6547 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6548 (main): Update. Add estring3.
6549 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6550 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6551
65522015-05-26 Omair Javaid <omair.javaid@linaro.org>
6553 Yao Qi <yao.qi@linaro.org>
6554
6555 * gdb.reverse/aarch64.c: New.
6556 * gdb.reverse/aarch64.exp: New.
6557
65582015-05-26 Omair Javaid <omair.javaid@linaro.org>
6559
6560 * lib/gdb.exp (supports_process_record): Return true for
6561 aarch64*-linux*.
6562 (supports_reverse): Likewise.
6563
65642015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6565
6566 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6567 Use with_test_prefix.
6568
65692015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6570
6571 * gdb.base/completion.exp: Add test for completion of layout
6572 names.
6573
65742015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6575
6576 * lib/gdb.exp (skip_tui_tests): New proc.
6577 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6578
65792015-05-19 Pedro Alves <palves@redhat.com>
6580
6581 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6582 Save the whole env array instead of just HOME. Unset HISTSIZE in
6583 the environment while testing. Restore whole environment
6584 afterwards.
6585
65862015-05-16 Doug Evans <xdje42@gmail.com>
6587
6588 * gdb.guile/scm-ports.c: New file.
6589 * gdb.guile/scm-ports.exp: Add memory port tests.
6590
65912015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6592
6593 * gdb.compile/compile-print.c: New file.
6594 * gdb.compile/compile-print.exp: New file.
6595
65962015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6597
6598 * gdb.compile/compile-ops.exp: Cast param to void.
6599 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6600 (compile code struct_object.selffield = &struct_object): Add xfail.
6601
66022015-05-15 Joel Brobecker <brobecker@adacore.com>
6603
6604 * gdb.ada/arr_enum_with_gap: New testcase.
6605
66062015-05-15 Joel Brobecker <brobecker@adacore.com>
6607
6608 * gdb.ada/byte_packed_arr: New testcase.
6609
66102015-05-15 Joel Brobecker <brobecker@adacore.com>
6611
6612 * gdb.ada/pckd_neg: New testcase.
6613
66142015-05-13 Patrick Palka <patrick@parcs.ath.cx>
6615
6616 PR gdb/17820
6617 * gdb.base/gdbinit-history.exp: New test.
6618 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
6619 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
6620
66212015-05-09 Siva Chandra Reddy <sivachandra@google.com>
6622
6623 * gdb.python/py-xmethods.cc: Enhance test case.
6624 * gdb.python/py-xmethods.exp: New tests.
6625 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
6626 function.
6627 (B_indexoper): Likewise.
6628 (global_dm_list) : Add new xmethod worker functions.
6629
66302015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
6631
6632 * gdb.base/coredump-filter.exp: Correctly unset
6633 "coredump_var_addr" array.
6634
66352015-05-08 Pedro Alves <palves@redhat.com>
6636
6637 * gdb.server/non-existing-program.exp: Unset spawn_id.
6638
66392015-05-08 Siva Chandra Reddy <sivachandra@google.com>
6640
6641 PR python/18291
6642 * gdb.python/py-xmethods.exp: Add tests.
6643
66442015-05-08 Yao Qi <yao.qi@linaro.org>
6645
6646 PR gdb/18208
6647 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
6648 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
6649 function set_coredump_filter, and remove remote_exec call.
6650 Remove argument ipid. Callers update.
6651 (top level): Don't get inferior's PID.
6652
66532015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
6654
6655 * gdb.base/watch_thread_num.exp: Skip test on targets without
6656 access watchpoints.
6657
66582015-05-06 Pedro Alves <palves@redhat.com>
6659
6660 PR server/18081
6661 * gdb.server/non-existing-program.exp: New file.
6662
66632015-05-05 Joel Brobecker <brobecker@adacore.com>
6664
6665 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
6666
66672015-05-05 Joel Brobecker <brobecker@adacore.com>
6668
6669 * gdb.ada/out_of_line_in_inlined: New testcase.
6670
66712015-05-05 Joel Brobecker <brobecker@adacore.com>
6672
6673 * gdb.ada/var_rec_arr: New testcase.
6674
66752015-04-30 Yao Qi <yao.qi@linaro.org>
6676
6677 * gdb.base/break-idempotent.exp: If
6678 skip_hw_watchpoint_multi_tests returns true, skip the tests
6679 on "rwatch" and "awatch".
6680
66812015-04-30 Yao Qi <yao.qi@linaro.org>
6682
6683 * gdb.base/relativedebug.exp: Invoke gdb command
6684 "info sharedlibrary", and if libc.so doesn't have debug info,
6685 skip the test.
6686
66872015-04-29 Doug Evans <dje@google.com>
6688
6689 * gdb.python/py-xmethods.exp: Add ptype tests.
6690 * gdb.python/py-xmethods.py (E_method_char_worker): Add
6691 get_result_type method.
6692
66932015-04-29 Luis Machado <lgustavo@codesourcery.com>
6694
6695 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
6696 the target does not support hardware watchpoints.
6697
66982015-04-29 Luis Machado <lgustavo@codesourcery.com>
6699
6700 * gdb.base/break-always.exp: Abort testing if writing to memory
6701 causes an error.
6702
67032015-04-28 Doug Evans <dje@google.com>
6704
6705 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
6706 * gdb.python/py-pp-registration.exp: ... here. New file.
6707 * gdb.python/py-pp-registration.c: New file.
6708 * gdb.python/py-pp-registration.py: New file.
6709
67102015-04-28 Doug Evans <dje@google.com>
6711
6712 * gdb.python/py-bad-printers.c: New file.
6713 * gdb.python/py-bad-printers.py: New file.
6714 * gdb.python/py-bad-printers.exp: New file.
6715
67162015-04-28 Sasha Smundak <asmundak@google.com>
6717
6718 * gdb.python/py-type.exp: New test.
6719
67202015-04-28 Andy Wingo <wingo@igalia.com>
6721
6722 * gdb.python/py-parameter.exp:
6723 * gdb.guile/scm-parameter.exp: Escape the path that we are
6724 matching against, as it might contain characters that are special
6725 to regular expressions.
6726
67272015-04-27 Joel Brobecker <brobecker@adacore.com>
6728
6729 * gdb.ada/rec_comp: New testcase.
6730
67312015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
6732
6733 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
6734 before using it.
6735
67362015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
6737
6738 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
6739 new tests for verilog output.
6740
67412015-04-24 Yao Qi <yao.qi@linaro.org>
6742
6743 * boards/remote-gdbserver-on-localhost.exp: New file.
6744
67452015-04-23 Pedro Alves <palves@redhat.com>
6746
6747 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
6748 $inferior_spawn_id instead of $inferior_spawn_id directly. On
6749 "end of file", remove $inferior_spawn_id from the indirect list.
6750
67512015-04-23 Pedro Alves <palves@redhat.com>
6752
6753 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
6754
67552015-04-23 Pedro Alves <palves@redhat.com>
6756
6757 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
6758 on $any_spawn_id instead of only on $gdb_spawn_id.
6759
67602015-04-21 Pierre Muller <muller@sourceware.org>
6761
6762 PR pascal/17815
6763 * lib/pascal.exp (gpc_compile): Add new option "class".
6764 (fpc_compile): Likewise.
6765 * gdb.pascal/case-insensitive-symbols.pas: New file.
6766 * gdb.pascal/case-insensitive-symbols.exp: New file.
6767
67682015-04-20 Gary Benson <gbenson@redhat.com>
6769
6770 * gdb.base/attach.exp: Fix three extended remote failures.
6771
67722015-04-17 Gary Benson <gbenson@redhat.com>
6773
6774 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
6775 the main executable over the remote protocol.
6776
67772015-04-16 Pedro Alves <palves@redhat.com>
6778
6779 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
6780 a new gdbserver if gdbserver_reconnect_p is set.
6781
67822015-04-16 Pedro Alves <palves@redhat.com>
6783
6784 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
6785 is set, don't exit gdbserver.
6786
67872015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6788
6789 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
6790 appropriate .insn, such that an older assembler can be used.
6791 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
6792 the z/Architecture instruction set on 31-bit targets as well.
6793
67942015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6795
6796 * gdb.go/handcall.exp: Remove all logic related to the first
6797 breakpoint and rely on go_runto_main instead.
6798 * gdb.go/strings.exp: Likewise.
6799 * gdb.go/unsafe.exp: Likewise.
6800 * gdb.go/hello.exp: Likewise. Also rename the remaining
6801 breakpoint marker to "breakpoint 1".
6802 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
6803 * gdb.go/strings.go: Likewise.
6804 * gdb.go/unsafe.go: Likewise.
6805 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
6806 "set breakpoint 2 here" and rename the remaining breakpoint marker
6807 to "breakpoint 1".
6808
68092015-04-15 Simon Marchi <simon.marchi@ericsson.com>
6810
6811 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
6812 if itertools.imap is not present.
6813 * gdb.python/py-objfile.exp: Add parentheses.
6814 * gdb.python/py-type.exp: Same.
6815 * gdb.python/py-unwind-maint.py: Same.
6816
68172015-04-15 Yao Qi <yao.qi@linaro.org>
6818
6819 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
6820 of ":$ptr_size" and set its form explicitly.
6821
68222015-04-15 Pedro Alves <palves@redhat.com>
6823 Yao Qi <yao.qi@linaro.org>
6824
6825 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
6826 timeout by factor of 4.
6827 (test_regular_watch): Likewise.
6828 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
6829 * gdb.reverse/sigall-reverse.exp: Likewise.
6830 * gdb.reverse/until-precsave.exp: Likewise.
6831 * lib/gdb.exp (with_timeout_factor): New proc.
6832 (gdb_expect): Move some code to ...
6833 (get_largest_timeout): ... here. New procedure.
6834
68352015-04-14 Luis Machado <lgustavo@codesourcery.com>
6836
6837 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
6838
68392015-04-13 Luis Machado <lgustavo@codesourcery.com>
6840
6841 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
6842 to write to the .text section.
6843
68442015-04-13 Luis Machado <lgustavo@codesourcery.com>
6845
6846 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
6847 Handle the case of targets that do not provide PID information.
6848
68492015-04-13 Yao Qi <yao.qi@linaro.org>
6850
6851 * lib/gdbserver-support.exp (gdb_exit): Catch exception
6852 and use expect instead of gdb_expect.
6853
68542015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
6855
6856 * gdb.base/coredump-filter.exp: Rename variable "addr" to
6857 "coredump_var_addr" to avoid naming conflict with other testcases.
6858
68592015-04-10 Pedro Alves <palves@redhat.com>
6860
6861 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
6862 gdb_test_sequence and gdb_assert.
6863
68642015-04-10 Pedro Alves <palves@redhat.com>
6865
6866 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
6867 test messages that don't include the breakpoint address.
6868
68692015-04-10 Yao Qi <yao.qi@linaro.org>
6870
6871 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
6872 false for some offset and width combinations which aren't
6873 supported by linux kernel.
6874
68752015-04-10 Pedro Alves <palves@redhat.com>
6876
6877 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
6878 procedure, factored out from ...
6879 (top level): ... here. Add "set displaced-stepping" testing axis.
6880 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
6881 parameter "displaced". Use it.
6882 (top level): Use foreach and add "set displaced-stepping" testing
6883 axis.
6884
68852015-04-10 Pedro Alves <palves@redhat.com>
6886
6887 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
6888 Remove comment.
6889 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
6890 both the address of the instruction that triggers the watchpoint
6891 and the address of the instruction immediately after, and use
6892 those addresses for the test. Fix comment.
6893
68942015-04-10 Pedro Alves <palves@redhat.com>
6895
6896 * gdb.base/sigstep.exp (breakpoint_to_handler)
6897 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
6898 Test "backtrace" in handler.
6899 (breakpoint_over_handler): New parameter 'displaced'. Use it.
6900 (top level): Add new "displaced" test axis to
6901 breakpoint_to_handler, breakpoint_to_handler_entry and
6902 breakpoint_over_handler.
6903
69042015-04-10 Pedro Alves <palves@redhat.com>
6905
6906 PR gdb/18216
6907 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
6908
69092015-04-10 Yao Qi <yao.qi@linaro.org>
6910
6911 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
6912 (test_add_rn_pc): New function.
6913 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
6914 (top level): Invoke test_add_rn_pc.
6915
69162015-04-10 Pedro Alves <palves@redhat.com>
6917
6918 PR gdb/13858
6919 * gdb.base/step-over-no-symbols.exp: New file.
6920
69212015-04-09 Andy Wingo <wingo@igalia.com>
6922
6923 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
6924 after the Python tests.
6925
69262015-04-08 Keith Seitz <keiths@redhat.com>
6927
6928 PR python/16699
6929 * gdb.python/py-completion.exp: New tests for completion.
6930 * gdb.python/py-completion.py (CompleteLimit1): New class.
6931 (CompleteLimit2): Likewise.
6932 (CompleteLimit3): Likewise.
6933 (CompleteLimit4): Likewise.
6934 (CompleteLimit5): Likewise.
6935 (CompleteLimit6): Likewise.
6936 (CompleteLimit7): Likewise.
6937
69382015-04-08 Pedro Alves <palves@redhat.com>
6939
6940 PR gdb/18214
6941 PR gdb/18216
6942 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
6943 function.
6944 (main): Install it as SIGUSR1 handler.
6945 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
6946 parameter. Always use "setup" as prefix. Toggle "set
6947 displaced-stepping" off/on depending on global. Don't switch to
6948 thread 1 here.
6949 (top level): Add displaced stepping "off/on" test axis. Update
6950 "setup" calls. Wrap each subtest with with_test_prefix. Test
6951 continuing with a queued signal in each thread.
6952
69532015-04-08 Pedro Alves <palves@redhat.com>
6954
6955 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
6956 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
6957 gdb_breakpoint instead of gdb_test that doesn't expect anything.
6958 Return early if running to main fails.
6959 * gdb.trace/while-stepping.exp: Likewise.
6960
69612015-04-07 Pedro Alves <palves@redhat.com>
6962
6963 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
6964 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
6965 interact with inferior program.
6966
69672015-04-07 Pedro Alves <palves@redhat.com>
6968
6969 * lib/gdb.exp (inferior_spawn_id): New global.
6970 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
6971 spawn id after processing the user code.
6972 (default_gdb_start): Set inferior_spawn_id.
6973 (send_inferior): New procedure.
6974 * lib/gdbserver-support.exp (gdbserver_start): Set
6975 inferior_spawn_id.
6976 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
6977
69782015-04-07 Pedro Alves <palves@redhat.com>
6979
6980 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
6981 * lib/gdbserver-support.exp (gdbserver_start): Make
6982 $server_spawn_id global.
6983 (gdbserver_start): Don't wait for gdbserver's spawn id with
6984 expect_background.
6985 (close_gdbserver): New procedure.
6986 (gdb_exit): Rename the default version and reimplement.
6987
69882015-04-07 Pedro Alves <palves@redhat.com>
6989
6990 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
6991 append the substituted item, not the original item.
6992
69932015-04-07 Pedro Alves <palves@redhat.com>
6994
6995 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
6996 gdb_expect.
6997
69982015-04-07 Pedro Alves <palves@redhat.com>
6999
7000 * gdb.base/interrupt.exp: Don't handle the case of the inferior
7001 output appearing once only.
7002
70032015-04-07 Pedro Alves <palves@redhat.com>
7004
7005 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
7006 that doesn't expect anything. Return early if running to main
7007 fails.
7008
70092015-04-07 Yao Qi <yao.qi@linaro.org>
7010
7011 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
7012 (child_function): Call alarm.
7013 (main): Move call to alarm into the loop.
7014 * gdb.threads/non-stop-fair-events.exp: Build program with
7015 -DTIMEOUT=$timeout.
7016
70172015-04-06 Doug Evans <xdje42@gmail.com>
7018
7019 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
7020 Fix dest parameter to board_info.
7021 (fpc_compile): Ditto.
7022 (gdb_compile_pascal): Rename dest arg to destfile.
7023
70242015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
7025
7026 * gdb.ada/funcall_ref.exp: New file.
7027 * gdb.ada/funcall_ref/foo.adb: New file.
7028
70292015-04-02 Yao Qi <yao.qi@linaro.org>
7030
7031 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
7032 is remote.
7033
70342015-04-02 Gary Benson <gbenson@redhat.com>
7035
7036 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
7037
70382015-04-01 Sasha Smundak <asmundak@google.com>
7039
7040 * gdb.python/py-unwind-maint.c: New file.
7041 * gdb.python/py-unwind-maint.exp: New test.
7042 * gdb.python/py-unwind-maint.py: New file.
7043 * gdb.python/py-unwind.c: New file.
7044 * gdb.python/py-unwind.exp: New test.
7045 * gdb.python/py-unwind.py: New test.
7046
70472015-04-01 Pedro Alves <palves@redhat.com>
7048
7049 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
7050 to fail instead of non-existent $test.
7051
70522015-04-01 Pedro Alves <palves@redhat.com>
7053
7054 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
7055 GDBFLAGS if not empty.
7056
70572015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
7058
7059 * gdb.ada/complete.exp: Remove "multi_line".
7060 * gdb.ada/info_exc.exp: Remove "multi_line".
7061 * gdb.ada/packed_tagged.exp: Remove "multi_line".
7062 * gdb.ada/ptype_field.exp: Remove "multi_line".
7063 * gdb.ada/sym_print_name.exp: Remove "multi_line".
7064 * gdb.ada/tagged.exp: Remove "multi_line".
7065 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
7066 [multi_line ...]
7067 * gdb.btrace/delta.exp: Likewise.
7068 * gdb.btrace/exception.exp: Likewise.
7069 * gdb.btrace/function_call_history.exp: Likewise.
7070 * gdb.btrace/instruction_history.exp: Likewise.
7071 * gdb.btrace/nohist.exp: Likewise.
7072 * gdb.btrace/record_goto.exp: Likewise.
7073 * gdb.btrace/segv.exp: Likewise.
7074 * gdb.btrace/stepi.exp: Likewise.
7075 * gdb.btrace/tailcall.exp: Likewise.
7076 * gdb.btrace/unknown_functions.exp: Likewise.
7077 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
7078 * lib/gdb.exp: Add the "multi_line" helper.
7079
70802015-04-01 Pedro Alves <palves@redhat.com>
7081
7082 * gdb.threads/tid-reuse.c: New file.
7083 * gdb.threads/tid-reuse.exp: New file.
7084
70852015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
7086
7087 PR corefiles/16092
7088 * gdb.base/coredump-filter.c: New file.
7089 * gdb.base/coredump-filter.exp: Likewise.
7090
70912015-03-27 Petr Machata <pmachata@redhat.com>
7092
7093 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
7094 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
7095 (Dwarf::assemble): Initialize them.
7096 (Dwarf::lines): New function.
7097
70982015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
7099
7100 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
7101 SYMBOL_PREFIX for x86_64-*-cygwin.
7102
71032015-03-26 Andy Wingo <wingo@igalia.com>
7104
7105 PR symtab/18148
7106 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
7107 const_value but not a location.
7108 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
7109 location defined in non-main CUs are visible.
7110
71112015-03-26 Yao Qi <yao.qi@linaro.org>
7112
7113 PR testsuite/18139
7114 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
7115 Add a line number entry for the same line.
7116 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
7117 Add a line number entry for the same line.
7118
71192015-03-26 Yao Qi <yao.qi@linaro.org>
7120
7121 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
7122 .int 0.
7123 (func): Likewise. Add .Lfunc_1 label.
7124 Use .Lfunc_1 label.
7125 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
7126 .int 0.
7127 (func): Likewise.
7128 Use .Lfunc_1 label.
7129
71302015-03-26 Yao Qi <yao.qi@linaro.org>
7131
7132 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
7133 Call gdb_compile instead to compile each .s files without debug
7134 information.
7135
71362015-03-26 Yao Qi <yao.qi@linaro.org>
7137
7138 * gdb.base/savedregs.exp (process_saved_regs): Make
7139 "Saved registers:" optional in the pattern.
7140
71412015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7142
7143 * gdb.btrace/next.exp: Merged into step.exp.
7144 * gdb.btrace/finish.exp: Merged into step.exp.
7145 * gdb.btrace/nexti.exp: Merged into stepi.exp.
7146 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
7147 "record goto" and checking the exact replay position.
7148 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
7149 check for "Recording format" in "info record" output.
7150 * gdb.btrace/record_goto.exp: Choose test file based on target.
7151 * gdb.btrace/x86-record_goto.S: Renamed into ...
7152 * gdb.btrace/x86_64-record_goto.S: ... this.
7153 * gdb.btrace/i686-record_goto.S: New.
7154 * gdb.btrace/x86-tailcall.S: Renamed into ...
7155 * gdb.btrace/x86_64-tailcall.S: ... this.
7156 * gdb.btrace/i686-tailcall.S: New.
7157 * gdb.btrace/x86-tailcall.c: Renamed into ...
7158 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
7159 separate statements. Update test.
7160 * gdb.btrace/delta.exp: Use record_goto.c as test file.
7161 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
7162 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
7163 * gdb.btrace/tailcall.exp: Choose test file based on target.
7164 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
7165
71662015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7167
7168 * gdb.btrace/exception.exp: Increase BTS buffer size.
7169
71702015-03-24 Pedro Alves <palves@redhat.com>
7171
7172 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
7173
71742015-03-24 Pedro Alves <palves@redhat.com>
7175
7176 * gdb.threads/schedlock.exp (test_step): No longer expect that
7177 "set scheduler-locking step" with "next" over a function call runs
7178 threads unlocked.
7179
71802015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7181
7182 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
7183
71842015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7185
7186 PR breakpoints/16466
7187 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
7188 * gdb.mi/mi-pending.c (thread_func): New function.
7189 (int main): Add threading support required.
7190 * gdb.mi/mi-pending.exp: Add tests for this issue.
7191 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
7192 (pendfunc2): Remove stdio dependency.
7193 * gdb.mi/mi-pendshr2.c: New file.
7194
71952015-03-23 Keith Seitz <keiths@redhat.com>
7196
7197 * gdb.linespec/keywords.c: New file.
7198 * gdb.linespec/keywords.exp: New file.
7199
72002015-03-23 Keith Seitz <keiths@redhat.com>
7201
7202 PR gdb/18021
7203 * gdb.dwarf2/staticvirtual.exp: New test.
7204
72052015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7206
7207 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
7208 * README: Remove HP-UX and gdb.hp.
7209 (configuration):
7210 * configure: Regenerate.
7211 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
7212 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
7213 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
7214 gdb.hp/gdb.defects/Makefile.
7215 * gdb.hp/Makefile.in: File deleted.
7216 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
7217 * gdb.hp/gdb.aCC/optimize.c: File deleted.
7218 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
7219 * gdb.hp/gdb.aCC/run.c: File deleted.
7220 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
7221 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
7222 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
7223 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
7224 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
7225 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
7226 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
7227 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
7228 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
7229 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
7230 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
7231 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
7232 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
7233 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
7234 * gdb.hp/gdb.base-hp/reg.s: File deleted.
7235 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
7236 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
7237 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
7238 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
7239 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
7240 * gdb.hp/gdb.compat/Makefile.in: File deleted.
7241 * gdb.hp/gdb.compat/average.c: File deleted.
7242 * gdb.hp/gdb.compat/sum.c: File deleted.
7243 * gdb.hp/gdb.compat/xdb.c: File deleted.
7244 * gdb.hp/gdb.compat/xdb0.c: File deleted.
7245 * gdb.hp/gdb.compat/xdb0.h: File deleted.
7246 * gdb.hp/gdb.compat/xdb1.c: File deleted.
7247 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
7248 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
7249 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
7250 * gdb.hp/gdb.defects/Makefile.in: File deleted.
7251 * gdb.hp/gdb.defects/bs14602.c: File deleted.
7252 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
7253 * gdb.hp/gdb.defects/solib-d.c: File deleted.
7254 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
7255 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
7256 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
7257 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
7258 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
7259 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
7260 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
7261 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
7262 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
7263 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
7264 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
7265 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
7266 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
7267 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
7268 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
7269 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
7270 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
7271 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
7272 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
7273 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
7274 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
7275 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
7276 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
7277 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
7278 * gdb.hp/tools/odump: File deleted.
7279
72802015-03-19 Pedro Alves <palves@redhat.com>
7281
7282 * gdb.threads/continue-pending-status.exp (saw_thread_2)
7283 (saw_thread_3): New globals.
7284 (top level): Increment them when an event for the corresponding
7285 thread is seen.
7286 (no thread starvation): New test.
7287
72882015-03-19 Pedro Alves <palves@redhat.com>
7289
7290 * gdb.threads/continue-pending-status.c: New file.
7291 * gdb.threads/continue-pending-status.exp: New file.
7292
72932015-03-18 Pedro Alves <palves@redhat.com>
7294
7295 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7296 Use gdb_is_target_remote instead of is_remote. Use
7297 gdb_test_multiple instead of gdb_expect. Exit early if
7298 gdb_test_multiple hits its internal matches. Tighten stepi tests
7299 expected output. Fail on exit with any signal, instead of just
7300 SIGILL.
7301
73022015-03-18 Yao Qi <yao.qi@linaro.org>
7303
7304 PR tdep/18107
7305 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
7306 variable.
7307 * gdb.base/catch-syscall.exp: Don't skip it on
7308 aarch64*-*-linux* target. Remove elements in all_syscalls.
7309 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
7310 target.
7311 (setup_all_syscalls): New proc.
7312
73132015-03-16 Yao Qi <yao.qi@linaro.org>
7314
7315 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
7316 (top level): Skip tests if valid_addr_p returns false for
7317 $cmd1 or $cmd2.
7318
73192015-03-11 Andy Wingo <wingo@igalia.com>
7320
7321 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
7322
73232015-03-11 Yao Qi <yao.qi@linaro.org>
7324
7325 * gdb.base/catch-syscall.exp: Fix typo in comments.
7326
73272015-03-11 Yao Qi <yao.qi@linaro.org>
7328
7329 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
7330
73312015-03-09 Pedro Alves <palves@redhat.com>
7332
7333 * dg-extract-results.py: Delete.
7334
73352015-03-09 Pedro Alves <palves@redhat.com>
7336
7337 Merge dg-extract-results.sh from GCC upstream (r218843).
7338
7339 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
7340 * dg-extract-results.sh: Use --text with grep to avoid issues with
7341 binary files. Fall back to cat -v, if that doesn't work.
7342
73432015-03-05 Pedro Alves <palves@redhat.com>
7344
7345 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
7346
73472015-03-04 Simon Marchi <simon.marchi@ericsson.com>
7348
7349 * lib/mi-support.exp (mi_expect_interrupt): Accept
7350 alternative event for when in all-stop mode.
7351
73522015-03-04 Pedro Alves <palves@redhat.com>
7353
7354 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
7355
73562015-03-04 Mark Kettenis <kettenis@gnu.org>
7357
7358 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
7359
73602015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7361
7362 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
7363 regexps for GDB's current line display, accept a hex address
7364 preceding the line number.
7365
73662015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7367
7368 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
7369 the 'arch1' variable for "s390*-linux*" targets.
7370
73712015-03-04 Pedro Alves <palves@redhat.com>
7372
7373 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
7374 (main): Pass missing retval argument to pthread_join call.
7375
73762015-03-02 Pedro Alves <palves@redhat.com>
7377
7378 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
7379 (top level): Call do_test with non-stop as well.
7380
73812015-03-02 Pedro Alves <palves@redhat.com>
7382
7383 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
7384 -1.
7385
73862015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7387
7388 * gdb.arch/s390-vregs.exp: New test.
7389 * gdb.arch/s390-vregs.S: New file.
7390
73912015-02-27 Pedro Alves <palves@redhat.com>
7392
7393 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
7394 call to catch_command_errors.
7395 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
7396 catch_command_errors.
7397
73982015-02-27 Pedro Alves <palves@redhat.com>
7399
7400 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
7401 "true" for boolean result.
7402 * gdb.gdb/selftest.exp (test_with_self): Also accept full
7403 prototype of main.
7404
74052015-02-27 Pedro Alves <palves@redhat.com>
7406
7407 * lib/unbuffer_output.c: New file.
7408 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
7409 (main): Call gdb_unbuffer_output.
7410
74112015-02-27 Yao Qi <yao.qi@linaro.org>
7412
7413 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
7414 target.
7415
74162015-02-26 Doug Evans <dje@google.com>
7417
7418 * gdb.cp/class2.cc (Dbase, D): New classes.
7419 (main): New local delta.
7420 * gdb.cp/class2.exp: Test printing delta.
7421 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
7422 (dynbar): New global.
7423 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
7424
74252015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7426
7427 * gdb.compile/compile-ifunc.c: New file.
7428 * gdb.compile/compile-ifunc.exp: New file.
7429
74302015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
7431
7432 * gdb.base/structs.exp: Check for correct struct on finish.
7433
74342015-02-26 Yao Qi <yao.qi@linaro.org>
7435
7436 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
7437 is zero.
7438
74392015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7440
7441 * gdb.arch/cordic.ko.bz2: New file.
7442 * gdb.arch/cordic.ko.debug.bz2: New file.
7443 * gdb.arch/ppc64-symtab-cordic.exp: New file.
7444
74452015-02-25 Yao Qi <yao.qi@linaro.org>
7446
7447 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
7448 aarch64*-*-* target.
7449
74502015-02-23 Pedro Alves <palves@redhat.com>
7451
7452 * lib/gdb.exp (delete_breakpoints): Rewrite using
7453 gdb_test_multiple.
7454
74552015-02-23 Pedro Alves <palves@redhat.com>
7456
7457 * gdb.base/info-os.c: Include stdlib.h.
7458
74592015-02-22 Doug Evans <xdje42@gmail.com>
7460
7461 PR symtab/17855
7462 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
7463 is read after symbols have been re-read.
7464 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
7465 * gdb.ada/exec_changed/second.adb (Second): Ditto.
7466
74672015-02-21 Doug Evans <dje@google.com>
7468
7469 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
7470
74712015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7472
7473 PR corefiles/17808
7474 * gdb.arch/i386-biarch-core.core.bz2: New file.
7475 * gdb.arch/i386-biarch-core.exp: New file.
7476
74772015-02-21 Pedro Alves <palves@redhat.com>
7478
7479 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
7480 runto_main fails.
7481
74822015-02-20 Pedro Alves <palves@redhat.com>
7483
7484 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
7485 info probes.
7486
74872015-02-20 Pedro Alves <palves@redhat.com>
7488
7489 * gdb.threads/multi-create-ns-info-thr.exp: New file.
7490
74912015-02-20 Pedro Alves <palves@redhat.com>
7492
7493 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
7494 clean_restart before gdb_target_supports_trace.
7495
74962015-02-20 Pedro Alves <palves@redhat.com>
7497
7498 PR threads/18006
7499 * gdb.threads/clone-thread_db.c: New file.
7500 * gdb.threads/clone-thread_db.exp: New file.
7501
75022015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
7503
7504 PR breakpoints/16812
7505 * gdb.base/catch-gdb-caused-signals.c: New file.
7506 * gdb.base/catch-gdb-caused-signals.exp: New file.
7507
75082015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
7509
7510 * configure: Regenerated.
7511 * configure.ac: Use GDB_AC_TRANSFORM.
7512 * aclocal.m4: sinclude ../transform.m4.
7513
75142015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7515
7516 * lib/dtrace.exp: New file.
7517 * gdb.base/dtrace-probe.exp: Likewise.
7518 * gdb.base/dtrace-probe.d: Likewise.
7519 * gdb.base/dtrace-probe.c: Likewise.
7520 * lib/pdtrace.in: Likewise.
7521 * configure.ac: Output variables with the transformed names of
7522 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7523 * configure: Regenerated.
7524
75252015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7526
7527 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7528 expected message when trying to access $_probe_* convenience
7529 variables while not on a probe.
7530
75312015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7532
7533 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7534
75352015-02-11 Pedro Alves <pedro@codesourcery.com>
7536
7537 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7538 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7539
75402015-02-10 Doug Evans <xdje42@gmail.com>
7541
7542 * lib/gdb.exp (gdb_load): Always return a result.
7543
75442015-02-10 Pedro Alves <palves@redhat.com>
7545
7546 * gdb.threads/signal-sigtrap.c: New file.
7547 * gdb.threads/signal-sigtrap.exp: New file.
7548
75492015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7550
7551 * gdb.trace/no-attach-trace.c: New file.
7552 * gdb.trace/no-attach-trace.exp: New file.
7553
75542015-02-09 Mark Wielaard <mjw@redhat.com>
7555
7556 * gdb.dwarf2/atomic.c: New file.
7557 * gdb.dwarf2/atomic-type.exp: Likewise.
7558
75592015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7560
7561 * gdb.btrace/buffer-size.exp: Update "info record" output.
7562 * gdb.btrace/delta.exp: Update "info record" output.
7563 * gdb.btrace/enable.exp: Update "info record" output.
7564 * gdb.btrace/finish.exp: Update "info record" output.
7565 * gdb.btrace/instruction_history.exp: Update "info record" output.
7566 * gdb.btrace/next.exp: Update "info record" output.
7567 * gdb.btrace/nexti.exp: Update "info record" output.
7568 * gdb.btrace/step.exp: Update "info record" output.
7569 * gdb.btrace/stepi.exp: Update "info record" output.
7570 * gdb.btrace/nohist.exp: Update "info record" output.
7571
75722015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7573
7574 * gdb.btrace/buffer-size: New.
7575
75762015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7577
7578 * gdb.btrace/delta.exp: Update "info record" output.
7579 * gdb.btrace/enable.exp: Update "info record" output.
7580 * gdb.btrace/finish.exp: Update "info record" output.
7581 * gdb.btrace/instruction_history.exp: Update "info record" output.
7582 * gdb.btrace/next.exp: Update "info record" output.
7583 * gdb.btrace/nexti.exp: Update "info record" output.
7584 * gdb.btrace/step.exp: Update "info record" output.
7585 * gdb.btrace/stepi.exp: Update "info record" output.
7586 * gdb.btrace/nohist.exp: Update "info record" output.
7587
75882015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7589
7590 PR gdb/15678
7591 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7592
75932015-02-06 Pedro Alves <palves@redhat.com>
7594
7595 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7596 macro.
7597 (seconds_left, again): New globals.
7598 (main): Wait seconds_left in a 1-second sleep loop instead of
7599 sleeping 180 seconds. If 'again' is set, reset the seconds
7600 counter.
7601 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7602 'again' in the inferior before detaching. Print the seconds left.
7603 (options): New global.
7604 (top level): Build program with -DTIMEOUT=$timeout.
7605
76062015-02-06 Pedro Alves <palves@redhat.com>
7607
7608 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
7609 determine how many seconds to pass to 'alarm'.
7610 * gdb.base/gdb-sigterm.exp (top level): Build program with
7611 -DTIMEOUT=$timeout.
7612 (do_test): Return success/failure indication. Add more verbose
7613 logging. Don't fail if 200 single steps are seen. Instead, fail
7614 when the test times out.
7615 (passes): New global.
7616 (top level): Break the testing loop if testing fails on any
7617 iteration. Use gdb_assert.
7618
76192015-02-04 Don Breazeal <donb@codesourcery.com>
7620
7621 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
7622 and initialize them.
7623 (ipc_cleanup): New function.
7624 (main): Don't declare shmid, semid, and msqid. Add a call to
7625 atexit so that we call ipc_cleanup on exit.
7626
76272015-02-04 Pedro Alves <palves@redhat.com>
7628
7629 * boards/native-extended-gdbserver.exp: Remove any target variant
7630 specifications from the board name before clearing the isremote
7631 flag from board_info.
7632
76332015-01-31 Doug Evans <xdje42@gmail.com>
7634
7635 * gdb.base/maint.exp <maint print type argc>: Update expected output.
7636
76372015-01-31 Gary Benson <gbenson@redhat.com>
7638
7639 * gdb.base/completion.exp: Disable completion limiting for
7640 existing tests. Add new tests to check completion limiting.
7641 * gdb.linespec/ls-errs.exp: Disable completion limiting.
7642
76432015-01-31 Doug Evans <xdje42@gmail.com>
7644
7645 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
7646
76472015-01-31 Doug Evans <xdje42@gmail.com>
7648
7649 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
7650 entries. Duplicate file section script entries.
7651 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
7652 inlined entries. Add test for safe-path rejection.
7653 * gdb.python/py-section-script.c: Add duplicate inlined section script
7654 entries. Duplicate file section script entries.
7655 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
7656 inlined entries. Add test for safe-path rejection.
7657
76582015-01-29 Joel Brobecker <brobecker@adacore.com>
7659
7660 * gdb.ada/disc_arr_bound: New testcase.
7661
76622015-01-29 Joel Brobecker <brobecker@adacore.com>
7663
7664 * gdb.ada/mi_var_array: New testcase.
7665
76662015-01-27 Doug Evans <dje@google.com>
7667
7668 * gdb.python/py-objfile.exp: Add tests for objfile.username.
7669 Add test for objfile.filename, objfile.username after objfile
7670 has been unloaded.
7671
76722015-01-26 Joel Brobecker <brobecker@adacore.com>
7673
7674 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
7675 the second test to print the name attribute of value
7676 returned by the call to gdb.lookup_type, and adjust
7677 the expected output accordingly.
7678
76792015-01-25 Mark Wielaard <mjw@redhat.com>
7680
7681 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
7682 * gdb.base/disp-step-fork.c: Include unistd.h.
7683 * gdb.base/siginfo-obj.c: Include stdio.h.
7684 * gdb.base/siginfo-thread.c: Likewise.
7685 * gdb.mi/non-stop.c: Include unistd.h.
7686 * gdb.mi/nsthrexec.c: Include stdio.h.
7687 * gdb.mi/pthreads.c: Include unistd.h.
7688 * gdb.modula2/unbounded1.c (main): Declare returns int.
7689 * gdb.reverse/consecutive-reverse.c: Likewise.
7690 * gdb.threads/create-fail.c: Include unistd.h.
7691 * gdb.threads/killed.c: Likewise.
7692 * gdb.threads/linux-dp.c: Likewise.
7693 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
7694 * gdb.threads/non-ldr-exc-2.c: Likewise.
7695 * gdb.threads/non-ldr-exc-3.c: Likewise.
7696 * gdb.threads/non-ldr-exc-4.c: Likewise.
7697 * gdb.threads/pthreads.c: Include unistd.h.
7698 (main): Declare returns int.
7699 * gdb.threads/tls-main.c (foo): New declaration.
7700 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
7701
77022015-01-23 Simon Marchi <simon.marchi@ericsson.com>
7703
7704 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
7705 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
7706
77072015-01-15 Mark Wielaard <mjw@redhat.com>
7708
7709 * gdb.base/noreturn-return.c: New file.
7710 * gdb.base/noreturn-return.exp: New file.
7711 * gdb.base/noreturn-finish.c: New file.
7712 * gdb.base/noreturn-finish.exp: New file.
7713
77142015-01-23 Pedro Alves <palves@redhat.com>
7715
7716 * gdb.threads/continue-pending-after-query.c: New file.
7717 * gdb.threads/continue-pending-after-query.exp: New file.
7718
77192015-01-22 Anders Granlund <anders.granlund@ericsson.com>
7720 Simon Marchi <simon.marchi@ericsson.com>
7721
7722 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
7723 * gdb.base/valgrind-db-attach.exp: Same.
7724 * gdb.base/valgrind-infcall.exp: Same.
7725 * lib/mi-support.exp (default_mi_gdb_start): Same.
7726 * lib/prompt.exp (default_prompt_gdb_start): Same.
7727 * lib/gdb.exp (default_gdb_spawn): Same.
7728 (gdb_interact): New.
7729
7730
77312015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7732
7733 * gdb.compile/compile.exp (pointer to jit function): New test.
7734
77352015-01-17 Wei-cheng Wang <cole945@gmail.com>
7736
7737 * lib/gdb.exp (supports_process_record): Return true for
7738 powerpc*-*-linux*.
7739 (supports_reverse): Likewise.
7740
77412015-01-15 Don Breazeal <donb@codesourcery.com>
7742
7743 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
7744 instead of checking whether the target board is remote and
7745 use spawn_wait_for_attach instead of exec/sleep.
7746 * gdb.base/attach-twice.exp: Likewise.
7747
77482015-01-15 Joel Brobecker <brobecker@adacore.com>
7749
7750 * gdb.ada/var_arr_attrs: New testcase.
7751
77522015-01-14 Pedro Alves <palves@redhat.com>
7753 Joel Brobecker <brobecker@adacore.com>
7754
7755 PR gdb/17525
7756 * gdb.base/bp-cmds-execution-x-script.c: New file.
7757 * gdb.base/bp-cmds-execution-x-script.exp: New file.
7758 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
7759
77602015-01-14 Pedro Alves <palves@redhat.com>
7761
7762 PR cli/17828
7763 * gdb.base/batch-preserve-term-settings.c: New file.
7764 * gdb.base/batch-preserve-term-settings.exp: New file.
7765
77662015-01-13 Doug Evans <dje@google.com>
7767
7768 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
7769 binary.
7770
77712015-01-13 Joel Brobecker <brobecker@adacore.com>
7772
7773 * Makefile.in (clean mostlyclean): Do not delete *.py.
7774
77752015-01-13 Joel Brobecker <brobecker@adacore.com>
7776
7777 * gdb.python/py-lookup-type.exp: New file.
7778
77792015-01-12 Pedro Alves <palves@redhat.com>
7780
7781 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
7782 restore GDBFLAGS before returning.
7783
77842015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7785
7786 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
7787 is_amd64_regs_target and is_x86_like_target.
7788
77892015-01-11 Doug Evans <xdje42@gmail.com>
7790
7791 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
7792 is given without an explicit form.
7793 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
7794 attributes.
7795 * gdb.dwarf/corrupt.exp: Ditto.
7796 * gdb.dwarf2/enum-type.exp: Ditto.
7797 * gdb.trace/entry-values.exp: Ditto.
7798 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
7799
78002015-01-11 Doug Evans <xdje42@gmail.com>
7801
7802 PR gdb/15830
7803 * gdb.base/maint.exp: Remove references to "maint demangle".
7804 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
7805 Add tests for explicitly specifying language to demangle.
7806 * gdb.dlang/demangle.exp: Ditto.
7807
78082015-01-09 Pedro Alves <palves@redhat.com>
7809
7810 * gdb.threads/non-stop-fair-events.c: New file.
7811 * gdb.threads/non-stop-fair-events.exp: New file.
7812
78132015-01-09 Pedro Alves <palves@redhat.com>
7814
7815 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
7816 the global scope. Set a breakpoint after all threads are started
7817 rather than stepping over two source lines. Expect the prompt.
7818 * gdb.base/watch_thread_num.c (threads_started_barrier): New
7819 global.
7820 (NUM): Now 15.
7821 (main): Use threads_started_barrier to wait for all threads to
7822 start. Main thread no longer calls thread_function. Exit after
7823 180 seconds.
7824 (loop): New function.
7825 (thread_function): Wait on threads_started_barrier barrier. Call
7826 'loop' at each iteration.
7827 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
7828 threads have started, instead of hardcoding number of "next"
7829 steps. Use an access watchpoint instead of a write watchpoint.
7830
78312015-01-09 Pedro Alves <palves@redhat.com>
7832
7833 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
7834 (thread_func): Wait on barrier.
7835 (main): Wait for all threads to start before stopping GDB.
7836 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
7837 global.
7838 (thread1_func, thread2_func): Wait on barrier.
7839 (main): Wait for all threads to start before stopping GDB.
7840 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
7841 New global.
7842 (thread1_func, thread2_func): Wait on barrier.
7843 (main): Wait for all threads to start before stopping GDB.
7844
78452015-01-09 Pedro Alves <palves@redhat.com>
7846
7847 * gdb.threads/attach-many-short-lived-threads.c: New file.
7848 * gdb.threads/attach-many-short-lived-threads.exp: New file.
7849
78502014-01-09 Pedro Alves <palves@redhat.com>
7851
7852 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
7853 instead of to thread 2.
7854 * gdb.threads/signal-command-multiple-signals-pending.c (main):
7855 Add barrier around each pthread_create call instead of around all
7856 calls.
7857 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
7858 Set a break on thread_function and have the child threads hit it
7859 one at at a time.
7860
78612015-01-09 Pedro Alves <palves@redhat.com>
7862
7863 * lib/gdb.exp (can_spawn_for_attach): New procedure.
7864 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
7865 false.
7866 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
7867 checking whether the target board is remote.
7868 * gdb.multi/multi-attach.exp: Likewise.
7869 * gdb.python/py-sync-interp.exp: Likewise.
7870 * gdb.server/ext-attach.exp: Likewise.
7871 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
7872 tests that need to attach, instead of checking whether the target
7873 board is remote at the top of the file.
7874
78752015-01-08 Yao Qi <yao@codesourcery.com>
7876
7877 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
7878
78792015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7880
7881 Fix testcase compilation.
7882 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
7883
78842015-01-06 Joel Brobecker <brobecker@adacore.com>
7885
7886 * gdb.python/py-type.exp: Add a couple test about empty
7887 array creation, and negative-length array creation.
7888
78892015-01-02 Doug Evans <xdje42@gmail.com>
7890
7891 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
7892
78932015-01-02 Doug Evans <dje@google.com>
7894
7895 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
7896
78972014-12-29 Yao Qi <yao@codesourcery.com>
7898
7899 * gdb.trace/entry-values.exp: Update comments. Rename variable
7900 bar_call_foo to returned_from_foo.
7901
79022014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
7903
7904 PR gdb/17394
7905 * gdb.linespec/break-asm-file.c: New file.
7906 * gdb.linespec/break-asm-file.exp: New file.
7907 * gdb.linespec/break-asm-file0.s: New file.
7908 * gdb.linespec/break-asm-file1.s: New file.
7909
79102014-12-18 Nigel Stephens <nigel@mips.com>
7911 Maciej W. Rozycki <macro@codesourcery.com>
7912
7913 * gdb.base/float.exp: Handle the new output from "info float" on
7914 MIPS targets.
7915
79162014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7917
7918 Fix MinGW compilation.
7919 * gdb.compile/compile-ops.exp: Update untested message if
7920 !skip_compile_feature_tests.
7921 * gdb.compile/compile-setjmp.exp: Likewise.
7922 * gdb.compile/compile-tls.exp: Likewise.
7923 * gdb.compile/compile.exp: Likewise.
7924 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
7925 supported on this host".
7926
79272014-12-16 Doug Evans <xdje42@gmail.com>
7928
7929 * boards/stabs.exp: New file.
7930
79312014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
7932
7933 * gdb.base/completion.exp: Adjust to format changes of "maint
7934 print user-registers".
7935
79362014-12-16 Catalin Udma <catalin.udma@freescale.com>
7937
7938 PR server/17457
7939 * gdb.arch/aarch64-fp.c: New file.
7940 * gdb.arch/aarch64-fp.exp: New file.
7941
79422014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
7943
7944 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
7945 r210637, r210913, r211666, r215400, r215817).
7946
7947 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
7948 * dg-extract-results.py: New file.
7949 * dg-extract-results.sh: Use it if the environment seems
7950 suitable.
7951
7952 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
7953
7954 * dg-extract-results.py (parse_run): Handle warnings that
7955 are printed before a test harness is run.
7956
7957 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
7958
7959 * dg-extract-results.py (Named): Remove __cmp__ method.
7960 (output_variation): Use a key to sort variation.harnesses.
7961
7962 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
7963
7964 * dg-extract-results.py: For Python 3, force sys.stdout to
7965 handle surrogate escape sequences.
7966 (safe_open): New function.
7967 (output_segment, main): Use it.
7968
7969 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
7970
7971 * dg-extract-results.py (Prog.result_re): Include options
7972 in test name.
7973
7974 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
7975
7976 * dg-extract-results.py (output_variation): Always sort if
7977 do_sum.
7978
79792014-12-15 Simon Marchi <simon.marchi@ericsson.com>
7980
7981 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
7982 as long as we get pagination notifications.
7983
79842014-12-15 Jason Merrill <jason@redhat.com>
7985
7986 * Makefile.in (check-gdb.%): Restore.
7987 * README: Mention it.
7988
79892014-12-13 Joel Brobecker <brobecker@adacore.com>
7990
7991 * gdb.ada/str_uninit: New testcase.
7992
79932014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7994
7995 PR symtab/17642
7996 * gdb.base/vla-stub-define.c: New file.
7997 * gdb.base/vla-stub.c: New file.
7998 * gdb.base/vla-stub.exp: New file.
7999
80002014-12-12 Phil Muldoon <pmuldoon@redhat.com>
8001 Jan Kratochvil <jan.kratochvil@redhat.com>
8002 Tom Tromey <tromey@redhat.com>
8003
8004 * configure.ac: Add gdb.compile/.
8005 * configure: Regenerate.
8006 * gdb.compile/Makefile.in: New file.
8007 * gdb.compile/compile-ops.exp: New file.
8008 * gdb.compile/compile-ops.c: New file.
8009 * gdb.compile/compile-tls.c: New file.
8010 * gdb.compile/compile-tls.exp: New file.
8011 * gdb.compile/compile-constvar.S: New file.
8012 * gdb.compile/compile-constvar.c: New file.
8013 * gdb.compile/compile-mod.c: New file.
8014 * gdb.compile/compile-nodebug.c: New file.
8015 * gdb.compile/compile-setjmp-mod.c: New file.
8016 * gdb.compile/compile-setjmp.c: New file.
8017 * gdb.compile/compile-setjmp.exp: New file.
8018 * gdb.compile/compile-shlib.c: New file.
8019 * gdb.compile/compile.c: New file.
8020 * gdb.compile/compile.exp: New file.
8021 * lib/gdb.exp (skip_compile_feature_tests): New proc.
8022
80232014-12-12 Tom Tromey <tromey@redhat.com>
8024
8025 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
8026 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
8027
80282014-12-12 Doug Evans <dje@google.com>
8029
8030 * lib/gdb-python.exp (get_python_valueof): New function.
8031 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
8032
80332014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8034
8035 * gdb.base/completion.exp: Add test for completion of "info
8036 registers ".
8037
80382014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
8039
8040 * gdb.base/func-ptrs.c: New file.
8041 * gdb.base/func-ptrs.exp: New file.
8042
80432014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8044
8045 PR breakpoints/17012
8046 * gdb.base/dprintf-detach.c: New file.
8047 * gdb.base/dprintf-detach.exp: New file.
8048
80492014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8050
8051 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
8052 * lib/gdb.exp (target_is_gdbserver): New procedure.
8053
80542014-12-08 Doug Evans <dje@google.com>
8055
8056 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
8057
80582014-12-05 Yao Qi <yao@codesourcery.com>
8059
8060 * gdb.guile/scm-error.exp: Remove the third argument to
8061 gdb_remote_download.
8062 * gdb.guile/scm-frame-args.exp: Likewise.
8063 * gdb.guile/scm-section-script.exp: Likewise.
8064
80652014-12-05 Yao Qi <yao@codesourcery.com>
8066
8067 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
8068
80692014-12-04 Doug Evans <dje@google.com>
8070
8071 * gdb.python/py-objfile.exp: Add tests for
8072 objfile.add_separate_debug_file.
8073
80742014-12-04 Doug Evans <dje@google.com>
8075
8076 * lib/gdb.exp (get_build_id): New function.
8077 (build_id_debug_filename_get): Rewrite to use it.
8078 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
8079
80802014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
8081
8082 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
8083 `method(long)', not just 0x0.
8084 * gdb.cp/nsalias.exp: Align code labels to 4.
8085 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
8086 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
8087 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
8088 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
8089 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
8090 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
8091
80922014-12-02 Doug Evans <dje@google.com>
8093
8094 PR symtab/17602
8095 * gdb.cp/anon-ns.cc: Move guts of this file to ...
8096 * gdb.cp/anon-ns2.cc: ... here. New file.
8097 * gdb.cp/anon-ns.exp: Update.
8098
80992014-12-02 Nick Bull <nicholaspbull@gmail.com>
8100
8101 * gdb.python/py-events.py (inferior_call_handler): New.
8102 (register_changed_handler, memory_changed_handler): New.
8103 (test_events.invoke): Register new handlers.
8104 * gdb.python/py-events.exp: Add tests for inferior call,
8105 memory_changed and register_changed events.
8106
81072014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
8108
8109 * gdb.base/execl-update-breakpoints.exp: Specify the link address
8110 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
8111 if the linker doesn't understand this.
8112
81132014-12-01 Simon Marchi <simon.marchi@ericsson.com>
8114
8115 * gdb.python/python.exp: Change expected reply to help().
8116
81172014-12-01 Yao Qi <yao@codesourcery.com>
8118
8119 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
8120 AC_CONFIG_SUBDIRS(gdb.gdbtk).
8121 * configure: Re-generated.
8122
81232014-11-28 Siva Chandra Reddy <sivachandra@google.com>
8124
8125 * gdb.cp/chained-calls.cc: New file.
8126 * gdb.cp/chained-calls.exp: New file.
8127 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
8128
81292014-11-28 Simon Marchi <simon.marchi@ericsson.com>
8130
8131 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
8132 * gdb.dwarf2/symtab-producer.exp: Same.
8133 * gdb.gdb/python-interrupts.exp: Same.
8134 * gdb.gdb/python-selftest.exp: Same.
8135 * gdb.python/py-linetable.exp: Same.
8136 * gdb.python/py-type.exp: Same.
8137 * gdb.python/py-value-cc.exp: Same.
8138 * gdb.python/py-value.exp: Same.
8139
81402014-11-28 Yao Qi <yao@codesourcery.com>
8141
8142 * gdb.base/break-probes.exp: Match library name prefixed with
8143 sysroot.
8144
81452014-11-27 Simon Marchi <simon.marchi@ericsson.com>
8146
8147 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
8148 test expected output. Add parentheses for the call to print.
8149 Remove L suffix from integers.
8150
81512014-11-26 Doug Evans <dje@google.com>
8152
8153 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
8154
81552014-11-22 Yao Qi <yao@codesourcery.com>
8156
8157 * gdb.trace/entry-values.c: Remove asms.
8158 (foo): Add foo_label.
8159 (bar): Add bar_label.
8160 * gdb.trace/entry-values.exp: Remove code computing foo's
8161 length and bar's length.
8162 (Dwarf::assemble): Invoke function_range for bar and use
8163 MACRO_AT_func for foo.
8164
81652014-11-22 Yao Qi <yao@codesourcery.com>
8166
8167 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
8168 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
8169 Use .Lgcc43_procstart instead of gcc43.
8170
81712014-11-21 Joel Brobecker <brobecker@adacore.com>
8172
8173 * gdb.ada/n_arr_bound: New testcase.
8174
81752014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
8176
8177 PR breakpoints/10737
8178 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
8179 test_catch_syscall_multi_arch.
8180 (test_catch_syscall_multi_arch): New function.
8181
81822014-11-20 Doug Evans <xdje42@gmail.com>
8183
8184 * gdb.base/maint.exp: Update expected output.
8185
81862014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8187
8188 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
8189 4-byte instruction on S390.
8190
81912014-11-19 Joel Brobecker <brobecker@adacore.com>
8192
8193 * gdb.ada/arr_arr: New testcase.
8194
81952014-11-19 Joel Brobecker <brobecker@adacore.com>
8196
8197 * gdb.ada/pkd_arr_elem: New Testcase.
8198
81992014-11-18 Luis Machado <lgustavo@codesourcery.com>
8200
8201 * gdb.reverse/break-precsave: Expect completion message for
8202 core file reads.
8203 * gdb.reverse/consecutive-precsave.exp: Likewise.
8204 * gdb.reverse/finish-precsave.exp: Likewise.
8205 * gdb.reverse/i386-precsave.exp: Likewise.
8206 * gdb.reverse/machinestate-precsave.exp: Likewise.
8207 * gdb.reverse/sigall-precsave.exp: Likewise.
8208 * gdb.reverse/solib-precsave.exp: Likewise.
8209 * gdb.reverse/step-precsave.exp: Likewise.
8210 * gdb.reverse/until-precsave.exp: Likewise.
8211 * gdb.reverse/watch-precsave.exp: Likewise.
8212
82132014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8214
8215 * gdb.base/bp-permanent.c: Include unistd.h.
8216 * gdb.python/py-framefilter-mi.c (main): Add return type.
8217 * gdb.python/py-framefilter.c (main): Likewise.
8218 * gdb.trace/actions-changed.c (main): Likewise.
8219
82202014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8221
8222 * gdb.mi/until.c: Add eye-catchers.
8223 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
8224 line numbers.
8225
82262014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8227
8228 * gdb.base/condbreak.exp: Drop references to removed non-prototype
8229 function header variants in break1.c.
8230 * gdb.base/ena-dis-br.exp: Likewise.
8231 * gdb.base/hbreak2.exp: Likewise.
8232 * gdb.reverse/until-precsave.exp: Drop references to removed
8233 non-prototype function header variants in ur1.c.
8234 * gdb.reverse/until-reverse.exp: Likewise.
8235
82362014-11-17 Petr Machata <pmachata@redhat.com>
8237
8238 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
8239 ${_cu_offset_size} bytes abbrev offset.
8240
82412014-11-15 Doug Evans <xdje42@gmail.com>
8242
8243 PR symtab/17559
8244 * gdb.base/line-symtabs.exp: New file.
8245 * gdb.base/line-symtabs.c: New file.
8246 * gdb.base/line-symtabs.h: New file.
8247
82482014-11-14 Yao Qi <yao@codesourcery.com>
8249
8250 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
8251 (func): Add label func_label.
8252 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
8253 Replace low_pc and high_pc with MACRO_AT_range.
8254 Replace name, low_pc and high_pc with MACRO_AT_func.
8255
82562014-11-14 Yao Qi <yao@codesourcery.com>
8257
8258 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
8259 Replace name, low_pc and high_pc with MACRO_AT_func.
8260
82612014-11-14 Yao Qi <yao@codesourcery.com>
8262
8263 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
8264 produce debug information.
8265 * gdb.dwarf2/implptr-optimized-out.S: Removed.
8266
82672014-11-14 Yao Qi <yao@codesourcery.com>
8268
8269 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
8270 object and get function length.
8271 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
8272 with MACRO_AT_func.
8273 (top-level): Replace gdb_compile and clean_restart with
8274 prepare_for_testing.
8275 * gdb.dwarf2/main.c (main): Add label main_label.
8276
82772014-11-14 Yao Qi <yao@codesourcery.com>
8278
8279 * lib/dwarf.exp (function_range): New procedure.
8280 (Dwarf::_handle_macro_at_func): New procedure.
8281 (Dwarf::_handle_macro_at_range): New procedure.
8282 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
8283
82842014-11-14 Yao Qi <yao@codesourcery.com>
8285
8286 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
8287 (_handle_attribute): New procedure.
8288
82892014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8290
8291 * gdb.ada/cond_lang/foo.c (callme): Add return type.
8292 * gdb.base/call-sc.c (zed): Likewise.
8293 * gdb.base/checkpoint.c (main): Likewise.
8294 * gdb.base/dump.c (main): Likewise.
8295 * gdb.base/gcore.c (main): Likewise.
8296 * gdb.base/huge.c (main): Likewise.
8297 * gdb.base/multi-forks.c (main): Likewise.
8298 * gdb.base/pr10179-a.c (main): Likewise.
8299 * gdb.base/savedregs.c (main): Likewise.
8300 * gdb.base/sigaltstack.c (main): Likewise.
8301 * gdb.base/siginfo.c (main): Likewise.
8302 * gdb.base/structs.c (zed): Likewise.
8303 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
8304 * gdb.mi/mi-syn-frame.c (main): Likewise.
8305 * gdb.mi/until.c (foo, main): Likewise.
8306 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
8307 * gdb.base/solib-weak.c (foo): Declare.
8308 * gdb.base/attach-twice.c: Include stdio.h.
8309 * gdb.base/weaklib1.c: Likewise.
8310 * gdb.base/weaklib2.c: Likewise.
8311 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
8312 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
8313 unistd.h.
8314 * gdb.base/attach-pie-misread.c: Include stdlib.h.
8315 * gdb.mi/mi-exit-code.c: Likewise.
8316 * gdb.base/break-interp-lib.c: Include string.h.
8317 * gdb.base/coremaker.c: Likewise.
8318 * gdb.base/testenv.c: Likewise.
8319 * gdb.python/py-finish-breakpoint.c: Likewise.
8320 * gdb.base/inferior-died.c: Include sys/wait.h.
8321 * gdb.base/fileio.c: Include time.h.
8322 * gdb.base/async-shell.c: Include unistd.h.
8323 * gdb.base/dprintf-non-stop.c: Likewise.
8324 * gdb.base/info-os.c: Likewise.
8325 * gdb.mi/mi-console.c: Likewise.
8326 * gdb.mi/watch-nonstop.c: Likewise.
8327 * gdb.python/py-events.c: Likewise.
8328 * gdb.base/async.c (baz): Move up before its invocation.
8329 * gdb.base/code_elim2.c (my_global_func): Likewise.
8330 * gdb.base/skip-solib-lib.c (multiply): Likewise.
8331 * gdb.base/advance.c (func2): Likewise.
8332
83332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8334
8335 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
8336 variant.
8337 * gdb.base/annota3.c: Likewise.
8338 * gdb.base/async.c: Likewise.
8339 * gdb.base/average.c: Likewise.
8340 * gdb.base/call-ar-st.c: Likewise.
8341 * gdb.base/call-rt-st.c: Likewise.
8342 * gdb.base/call-sc.c: Likewise.
8343 * gdb.base/call-strs.c: Likewise.
8344 * gdb.base/ending-run.c: Likewise.
8345 * gdb.base/execd-prog.c: Likewise.
8346 * gdb.base/exprs.c: Likewise.
8347 * gdb.base/foll-exec.c: Likewise.
8348 * gdb.base/foll-fork.c: Likewise.
8349 * gdb.base/foll-vfork.c: Likewise.
8350 * gdb.base/funcargs.c: Likewise.
8351 * gdb.base/gcore.c: Likewise.
8352 * gdb.base/jump.c: Likewise.
8353 * gdb.base/langs0.c: Likewise.
8354 * gdb.base/langs1.c: Likewise.
8355 * gdb.base/langs2.c: Likewise.
8356 * gdb.base/mips_pro.c: Likewise.
8357 * gdb.base/nodebug.c: Likewise.
8358 * gdb.base/opaque0.c: Likewise.
8359 * gdb.base/opaque1.c: Likewise.
8360 * gdb.base/recurse.c: Likewise.
8361 * gdb.base/run.c: Likewise.
8362 * gdb.base/scope0.c: Likewise.
8363 * gdb.base/scope1.c: Likewise.
8364 * gdb.base/setshow.c: Likewise.
8365 * gdb.base/setvar.c: Likewise.
8366 * gdb.base/shmain.c: Likewise.
8367 * gdb.base/shr1.c: Likewise.
8368 * gdb.base/shr2.c: Likewise.
8369 * gdb.base/sigall.c: Likewise.
8370 * gdb.base/signals.c: Likewise.
8371 * gdb.base/so-indr-cl.c: Likewise.
8372 * gdb.base/solib2.c: Likewise.
8373 * gdb.base/structs.c: Likewise.
8374 * gdb.base/sum.c: Likewise.
8375 * gdb.base/vforked-prog.c: Likewise.
8376 * gdb.base/watchpoint.c: Likewise.
8377 * gdb.reverse/shr2.c: Likewise.
8378 * gdb.reverse/until-reverse.c: Likewise.
8379 * gdb.reverse/ur1.c: Likewise.
8380 * gdb.reverse/watch-reverse.c: Likewise.
8381
83822014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8383
8384 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
8385 variant.
8386 * gdb.base/sepdebug.exp: Drop references to removed code.
8387
83882014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8389
8390 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
8391 variant. Preserve original line numbering.
8392 * gdb.base/list1.c: Likewise.
8393
83942014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8395
8396 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
8397 variant.
8398 * gdb.base/break1.c: Likewise.
8399 * gdb.base/break.exp: Drop references to removed code.
8400
84012014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8402
8403 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
8404 variant.
8405
84062014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8407
8408 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
8409
84102014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8411
8412 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
8413 logic into perform_all_tests() and invoke it with and without
8414 function header prototypes.
8415 (do_function_calls): Remove conditional XFAIL for PR 5318.
8416 (rerun_and_prepare): Remove duplicate code.
8417 (perform_all_tests): New. Main logic moved here.
8418
84192014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8420
8421 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
8422 code guarded by #ifdef NO_PROTOTYPES.
8423 (t_double_many_args): Likewise.
8424 (DEF_FUNC_MANY_ARGS_1): Likewise.
8425 (DEF_FUNC_VALUES_1): Likewise.
8426 (t_structs_ldc): Renamed from t_structs_fc in conditional code
8427 guarded by #ifdef PROTOTYPES.
8428
84292014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8430
8431 * gdb.mi/mi-console.c: Add eye-catcher.
8432 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
8433 instead of literal line number.
8434
84352014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8436
8437 * gdb.base/shr2.c: Add eye-catcher.
8438 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
8439 line number.
8440
84412014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8442
8443 * gdb.base/jump.c: Add eye-catchers.
8444 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
8445 numbers.
8446
84472014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8448
8449 * gdb.base/execd-prog.c: Add eye-catchers.
8450 * gdb.base/foll-exec.c: Likewise.
8451 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
8452 line numbers.
8453
84542014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8455
8456 * gdb.base/ending-run.c: Add eye-catchers.
8457 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
8458 literal line numbers.
8459
84602014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8461
8462 * gdb.base/call-rt-st.c: Add eye-catchers.
8463 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
8464 literal line numbers.
8465
84662014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8467
8468 * gdb.base/call-ar-st.c: Add eye-catchers.
8469 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
8470 literal line numbers.
8471
84722014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8473
8474 * gdb.base/average.c: Add eye-catchers.
8475 * gdb.base/sum.c: Likewise.
8476 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
8477 regexps dynamically.
8478
84792014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8480
8481 * gdb.base/solib1.c: Add eye-catchers.
8482 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
8483 literal line numbers.
8484
84852014-11-12 Pedro Alves <palves@redhat.com>
8486
8487 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
8488 leader has exited.
8489
84902014-11-12 Pedro Alves <palves@redhat.com>
8491
8492 * gdb.arch/i386-bp_permanent.c: New file.
8493 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
8494 (srcfile): Set to i386-bp_permanent.c.
8495 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
8496 that stepi does not execute the 'leave' instruction, instead of
8497 testing it does execute.
8498 * gdb.base/bp-permanent.c: New file.
8499 * gdb.base/bp-permanent.exp: New file.
8500
85012014-11-10 Doug Evans <xdje42@gmail.com>
8502
8503 PR symtab/17564
8504 * gdb.base/symtab-search-order.exp: New file.
8505 * gdb.base/symtab-search-order.c: New file.
8506 * gdb.base/symtab-search-order-1.c: New file.
8507 * gdb.base/symtab-search-order-shlib-1.c: New file.
8508
85092014-11-07 Pedro Alves <palves@redhat.com>
8510
8511 PR gdb/17511
8512 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8513 i?86-*-linux*.
8514
85152014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8516
8517 PR c++/17494
8518 * gdb.cp/pr17494.cc: New file.
8519 * gdb.cp/pr17494.exp: New file.
8520
85212014-11-02 Yao Qi <yao@codesourcery.com>
8522
8523 * gdb.python/python.exp: Get working directory and match the
8524 output of "set extended-prompt \\w " with it.
8525
85262014-10-30 Doug Evans <dje@google.com>
8527
8528 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8529 in objfiles.
8530 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8531 in progspaces.
8532
85332014-10-30 Janis Johnson <janisjo@codesourcery.com>
8534
8535 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8536 * gdb.base/realname-expand.exp: Likewise.
8537 * gdb.linespec/macro-relative.exp: Likewise.
8538
85392014-10-29 Pedro Alves <palves@redhat.com>
8540
8541 PR gdb/17408
8542 * gdb.threads/schedlock.c (some_function): New function.
8543 (call_function): New global.
8544 (MAYBE_CALL_SOME_FUNCTION): New macro.
8545 (thread_function): Call it.
8546 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8547 and use it instead of a global counter. Adjust all callers.
8548 (get_current_thread): Use "find current thread" for test message
8549 here rather than having all callers pass down the same string.
8550 (goto_loop): New procedure, factored out from ...
8551 (my_continue): ... this.
8552 (step_ten_loops): Change parameter from test message to command to
8553 use. Adjust.
8554 (list_count): Delete global.
8555 (check_result): New procedure, factored out from duplicate top
8556 level code.
8557 (continue tests): Wrap in with_test_prefix.
8558 (test_step): New procedure, factored out from duplicate top level
8559 code.
8560 (top level): Test "step" in combination with all scheduler-locking
8561 modes. Test "next" in combination with all scheduler-locking
8562 modes, and in combination with stepping over a function call or
8563 not.
8564 * gdb.threads/next-bp-other-thread.c: New file.
8565 * gdb.threads/next-bp-other-thread.exp: New file.
8566
85672014-10-29 Pedro Alves <palves@redhat.com>
8568
8569 PR python/17372
8570 * gdb.python/python.exp: Test a multi-line command that spawns
8571 interactive Python.
8572 * gdb.base/multi-line-starts-subshell.exp: New file.
8573
85742014-10-29 Yao Qi <yao@codesourcery.com>
8575
8576 * gdb.base/fileio.exp: Make directories on host.
8577
85782014-10-29 Yao Qi <yao@codesourcery.com>
8579
8580 * gdb.base/fileio.c (test_write): Close the file.
8581
85822014-10-28 Pedro Alves <palves@redhat.com>
8583
8584 PR gdb/12623
8585 * gdb.base/sigstep.c (no_handler): New global.
8586 (main): If 'no_handler is true, set the signal handlers to
8587 SIG_IGN.
8588 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8589 with_sw_watch and no_handler parameters. Handle them.
8590 (top level) <stepping over handler when stopped at a breakpoint
8591 test>: Add a test axis for testing with a software watchpoint, and
8592 another for testing with the signal handler set to SIG_IGN.
8593 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8594 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8595
85962014-10-28 Pedro Alves <palves@redhat.com>
8597
8598 PR gdb/17511
8599 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8600 * gdb.base/sigstep.exp (other_handler_location): New global.
8601 (advance): Support stepping into the signal handler, and running
8602 commands while in the handler.
8603 (in_handler_map): New global.
8604 (top level): In the advance test, add combinations for getting
8605 into the handler with stepping commands, and for running commands
8606 in the handler. Add comment descripting the advancei tests.
8607
86082014-10-28 Pedro Alves <palves@redhat.com>
8609
8610 * gdb.base/sigstep.exp: Use build_executable instead of
8611 prepare_for_testing.
8612 (top level): Move code that starts GDB, runs to main and creates a
8613 display to ...
8614 (restart): ... this new procedure.
8615 (top level): Move backtrace from signal handler test to ...
8616 (validate_backtrace): ... this new procedure.
8617 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
8618 with_test_prefix. Always restart GDB.
8619 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
8620 with_test_prefix. Always restart GDB. No need to delete
8621 breakpoints after the test.
8622 (test_skip_handler): Remove prefix parameter.
8623 (skip_over_handler, breakpoint_to_handler)
8624 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
8625 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
8626 restart GDB. No need to delete breakpoints after the test.
8627 (top level): Use foreach to call the test procedures with
8628 different commands.
8629
86302014-10-28 Pedro Alves <palves@redhat.com>
8631
8632 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
8633 instead of GNATS numbers.
8634 * gdb.base/sigbpt.exp: Likewise.
8635 * gdb.base/siginfo.exp: Likewise.
8636 * gdb.base/sigstep.exp: Likewise.
8637
86382014-10-27 Pedro Alves <palves@redhat.com>
8639
8640 * gdb.base/sigstep.c (dummy): New global.
8641 (main): Issue a couple writes to the new global.
8642 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
8643 procedures.
8644 (skip_over_handler): Use test_skip_handler.
8645 (top level): Call skip_over_handler for stepi and nexti too.
8646 (breakpoint_over_handler): Use test_skip_handler.
8647 (top level): Call breakpoint_over_handler for stepi and nexti too.
8648
86492014-10-27 Yao Qi <yao@codesourcery.com>
8650
8651 * gdb.trace/tfile.c (adjust_function_address)
8652 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
8653 function descriptor.
8654
86552014-10-24 Don Breazeal <donb@codesourcery.com>
8656
8657 * gdb.base/foll-fork.exp (test_follow_fork,
8658 catch_fork_child_follow): Check for updated fork messages emitted
8659 from infrun.c.
8660 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
8661 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
8662 vfork_and_exec_child_follow_through_step): Check for updated vfork
8663 messages emitted from infrun.c.
8664
86652014-10-24 Pedro Alves <palves@redhat.com>
8666
8667 * gdb.base/corefile.exp: Remove references to ultrix.
8668 * gdb.base/interrupt.exp: Likewise.
8669 * gdb.base/whatis.exp: Likewise.
8670 * gdb.gdb/selftest.exp: Likewise.
8671 * gdb.threads/manythreads.exp: Likewise.
8672 * gdb.threads/print-threads.exp: Likewise.
8673 * gdb.threads/pthreads.exp:: Likewise.
8674 * gdb.threads/schedlock.exp: Likewise.
8675
86762014-10-24 Siva Chandra Reddy <sivachandra@google.com>
8677
8678 * gdb.cp/non-trivial-retval.cc: Add a test case.
8679 * gdb.cp/non-trivial-retval.exp: Add a test.
8680
86812014-10-20 Yao Qi <yao@codesourcery.com>
8682
8683 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
8684 * gdb.python/py-objfile-script-gdb.py: New file.
8685 * gdb.python/py-objfile-script.exp: Update reference to
8686 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
8687 of remote_download. Remove the dest file.
8688
86892014-10-20 Yao Qi <yao@codesourcery.com>
8690
8691 * gdb.base/checkpoint.exp: Don't remove file copied on host.
8692 * gdb.base/step-line.exp: Likewise.
8693 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8694 * gdb.dwarf2/dw2-basic.exp: Likewise.
8695 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8696 * gdb.dwarf2/dw2-filename.exp: Likewise.
8697 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8698 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8699 * gdb.dwarf2/dw2-producer.exp: Likewise.
8700 * gdb.dwarf2/mac-fileno.exp: Likewise.
8701 * gdb.python/py-frame-args.exp: Likewise.
8702 * gdb.python/py-framefilter.exp: Likewise.
8703 * gdb.python/py-mi.exp: Likewise.
8704 * gdb.python/py-objfile-script.exp: Likewise
8705 * gdb.python/py-pp-integral.exp: Likewise.
8706 * gdb.python/py-pp-re-notag.exp: Likewise.
8707 * gdb.python/py-prettyprint.exp: Likewise.
8708 * gdb.python/py-section-script.exp: Likewise.
8709 * gdb.python/py-typeprint.exp: Likewise.
8710 * gdb.python/py-xmethods.exp: Likewise.
8711 * gdb.stabs/weird.exp: Likewise.
8712 * gdb.xml/tdesc-regs.exp: Likewise.
8713
87142014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
8715
8716 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
8717 (out_cu): Use addr_len for the size of addresses.
8718 (out_line): Likewise. Size DW_LNE_set_address instruction
8719 according to addr_len.
8720 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
8721 (FUNC): Add START_INSNS to definition.
8722
87232014-10-18 Yao Qi <yao@codesourcery.com>
8724
8725 * gdb.base/argv0-symlink.exp: Check argv[0] value if
8726 gdb_has_argv0 return true.
8727 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
8728 check [target_info exists noargs], check [gdb_has_argv0]
8729 instead.
8730 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8731 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
8732 procedures.
8733
87342014-10-17 Doug Evans <dje@google.com>
8735
8736 * gdb.python/py-events.exp: Update expected output for clear_objfiles
8737 event.
8738 * gdb.python/py-events.py: Add clear_objfiles event.
8739
87402014-10-17 Doug Evans <dje@google.com>
8741
8742 * gdb.python/py-objfile.exp: Test progspace attribute.
8743
87442014-10-17 Luis Machado <lgustavo@codesourcery.com>
8745
8746 * gdb.guile/scm-breakpoint.exp: Do not assume any
8747 directory separators when matching source file paths.
8748 * gdb.python/py-breakpoint.exp: Likewise.
8749 * gdb.reverse/break-precsave.exp: Likewise.
8750 * gdb.reverse/break-reverse.exp: Likewise.
8751 * gdb.reverse/consecutive-precsave.exp: Likewise.
8752 * gdb.reverse/finish-precsave.exp: Likewise.
8753 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8754 * gdb.reverse/finish-reverse.exp: Likewise.
8755 * gdb.reverse/i386-precsave.exp: Likewise.
8756 * gdb.reverse/i387-env-reverse.exp: Likewise.
8757 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8758 * gdb.reverse/machinestate-precsave.exp: Likewise.
8759 * gdb.reverse/machinestate.exp: Likewise.
8760 * gdb.reverse/sigall-precsave.exp: Likewise.
8761 * gdb.reverse/solib-precsave.exp: Likewise.
8762 * gdb.reverse/step-precsave.exp: Likewise.
8763 * gdb.reverse/until-precsave.exp: Likewise.
8764 * gdb.reverse/watch-precsave.exp: Likewise.
8765 * gdb.reverse/watch-reverse.exp: Likewise.
8766
87672014-10-17 Yao Qi <yao@codesourcery.com>
8768
8769 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
8770 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
8771
87722014-10-17 Pedro Alves <palves@redhat.com>
8773
8774 PR gdb/17471
8775 * gdb.base/bg-execution-repeat.c: New file.
8776 * gdb.base/bg-execution-repeat.exp: New file.
8777
87782014-10-17 Pedro Alves <palves@redhat.com>
8779
8780 PR gdb/17300
8781 * gdb.base/continue-all-already-running.c: New file.
8782 * gdb.base/continue-all-already-running.exp: New file.
8783
87842014-10-17 Pedro Alves <palves@redhat.com>
8785
8786 PR gdb/17472
8787 * gdb.base/annota-input-while-running.c: New file.
8788 * gdb.base/annota-input-while-running.exp: New file.
8789
87902014-10-17 Pedro Alves <palves@redhat.com>
8791
8792 * gdb.base/callfuncs.exp: emove references to osf.
8793 * gdb.base/sigall.exp: Likewise.
8794 * gdb.gdb/selftest.exp: Likewise.
8795 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
8796 * gdb.mi/non-stop.c: Likewise.
8797 * gdb.mi/pthreads.c: Likewise.
8798 * gdb.reverse/sigall-precsave.exp: Likewise.
8799 * gdb.reverse/sigall-reverse.exp: Likewise.
8800 * gdb.threads/pthreads.c: Likewise.
8801 * gdb.threads/pthreads.exp: Likewise.
8802
88032014-10-17 Yao Qi <yao@codesourcery.com>
8804
8805 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
8806 check 'target_info exists noargs'.
8807 (test_command_prompt_position): Likewise.
8808 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
8809 Remove "set args".
8810 (progvar_simple_while_test): Likewise.
8811 (progvar_complex_if_while_test): Likewise.
8812 (if_while_breakpoint_command_test): Likewise.
8813 (infrun_breakpoint_command_test): Likewise.
8814 (breakpoint_command_test): Likewise.
8815 (watchpoint_command_test): Likewise.
8816 (bp_deleted_in_command_test): Likewise.
8817 (temporary_breakpoint_commands): Likewise.
8818
88192014-10-16 Yao Qi <yao@codesourcery.com>
8820
8821 * gdb.base/remotetimeout.exp: Remove noargs checking.
8822
88232014-10-15 Pedro Alves <palves@redhat.com>
8824
8825 PR breakpoints/9649
8826 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
8827 * gdb.base/breakpoint-in-ro-region.exp
8828 (probe_target_hardware_step): New procedure.
8829 (top level): Probe hardware stepping and hardware breakpoint
8830 support. Test stepping through a read-only region, with both
8831 "breakpoint auto-hw" on and off and both "always-inserted" on and
8832 off.
8833
88342014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
8835
8836 * gdb.dlang/demangle.exp: Update for demangling changes.
8837
88382014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8839
8840 * gdb.cp/non-trivial-retval.cc: Add new test cases.
8841 * gdb.cp/non-trivial-retval.exp: Add new tests.
8842
88432014-10-15 Siva Chandra Reddy <sivachandra@google.com>
8844
8845 PR c++/13403
8846 PR c++/15154
8847 * gdb.cp/non-trivial-retval.cc: New file.
8848 * gdb.cp/non-trivial-retval.exp: New file.
8849
88502014-10-15 Yao Qi <yao@codesourcery.com>
8851
8852 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
8853 remote host.
8854
88552014-10-15 Yao Qi <yao@codesourcery.com>
8856
8857 * gdb.python/py-symbol.exp: Match file base name if host is
8858 remote, otherwise match file name with dir name.
8859 * gdb.python/py-symtab.exp: Likewise.
8860 * gdb.python/python.exp: Likewise.
8861
88622014-10-15 Yao Qi <yao@codesourcery.com>
8863
8864 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
8865 pattern.
8866 * gdb.python/py-symtab.exp: Likewise.
8867 * gdb.python/python.exp: Remove trailing ".*". Fix typo
8868 locationn.
8869
88702014-10-14 Joel Brobecker <brobecker@adacore.com>
8871
8872 * gdb.ada/addr_arith: New testcase.
8873
88742014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
8875
8876 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
8877 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
8878 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
8879 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
8880
88812014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
8882
8883 * gdb.arch/stap-eval-lang-ada.S: Likewise.
8884 * gdb.arch/stap-eval-lang-ada.c: Likewise.
8885 * gdb.arch/stap-eval-lang-ada.exp: New file.
8886
88872014-10-14 Yao Qi <yao@codesourcery.com>
8888
8889 * gdb.mi/mi-var-child.c (nothing1): New function.
8890 (nothing2): New function.
8891 (do_children_tests): Set function pointers by nothing1 and
8892 nothing2.
8893 * gdb.mi/mi-var-child.exp: Step over new added statements.
8894 Update test to match the new output.
8895 * gdb.mi/var-cmd.c (nothing1): New function.
8896 (nothing2): New function.
8897 (do_children_tests): Set function pointers by nothing1 and
8898 nothing2.
8899 * gdb.mi/mi-var-display.exp: Update test to match output.
8900 Step to the line specified by $line_dct_nothing.
8901 Increase the number of lines to step.
8902
89032014-10-14 Yao Qi <yao@codesourcery.com>
8904
8905 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
8906 tests.
8907 * gdb.mi/mi2-var-child.exp: Likewise.
8908
89092014-10-13 Doug Evans <dje@google.com>
8910
8911 * gdb.python/py-objfile.exp: Change name of file name test.
8912
89132014-10-13 Doug Evans <dje@google.com>
8914
8915 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
8916 from the start of the CU.
8917
89182014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8919 Yao Qi <yao@codesourcery.com>
8920
8921 Fix "save breakpoints" for "catch" command.
8922 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
8923 Remove -nonewline. Match also the added "main" line.
8924
89252014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8926
8927 Fix "save breakpoints" for "disable $bpnum" command.
8928 * gdb.base/save-bp.c (main): Add label.
8929 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
8930
89312014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8932
8933 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
8934
89352014-10-11 Yao Qi <yao@codesourcery.com>
8936
8937 * gdb.server/server-kill.exp: Execute command
8938 "set remote trace-status-packet on" before "tstatus".
8939
89402014-10-11 Yao Qi <yao@codesourcery.com>
8941
8942 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
8943 (main): Call getppid.
8944 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
8945 and continue to it. Read variable "server_pid".
8946
89472014-10-11 Yao Qi <yao@codesourcery.com>
8948
8949 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
8950
89512014-10-11 Yao Qi <yao@codesourcery.com>
8952
8953 * gdb.threads/thread-find.exp: Don't execute command
8954 "info threads".
8955 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
8956 * gdb.threads/linux-dp.exp: Don't check the condition
8957 $threads_created equals to zero.
8958
89592014-10-10 Pedro Alves <palves@redhat.com>
8960
8961 * gdb.base/bigcore.exp: Remove references to IRIX.
8962 * gdb.base/funcargs.exp: Likewise.
8963 * gdb.base/interrupt.exp: Likewise.
8964 * gdb.base/mips_pro.exp: Likewise.
8965 * gdb.base/nodebug.exp: Likewise.
8966 * gdb.base/setvar.exp: Likewise.
8967 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
8968
89692014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8970 Pedro Alves <palves@redhat.com>
8971
8972 PR symtab/14466
8973 * gdb.base/vdso-warning.c: New file.
8974 * gdb.base/vdso-warning.exp: New file.
8975
89762014-10-02 Doug Evans <dje@google.com>
8977
8978 * gdb.base/structs.c (main): Don't run forever.
8979
89802014-10-02 Pedro Alves <palves@redhat.com>
8981
8982 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
8983 (top level) <stop threads 1, stop threads 2>: Use it.
8984
89852014-10-02 Pedro Alves <palves@redhat.com>
8986
8987 * gdb.threads/break-while-running.exp (test): Add new
8988 'update_thread_list' argument. Skip "info threads" if false.
8989 (top level): Add new 'update_thread_list' axis.
8990
89912014-10-02 Pedro Alves <palves@redhat.com>
8992
8993 PR breakpoints/17431
8994 * gdb.base/execl-update-breakpoints.c: New file.
8995 * gdb.base/execl-update-breakpoints.exp: New file.
8996
89972014-10-01 Pedro Alves <palves@redhat.com>
8998
8999 * gdb.base/breakpoint-in-ro-region.c: New file.
9000 * gdb.base/breakpoint-in-ro-region.exp: New file.
9001
90022014-10-01 Simon Marchi <simon.marchi@ericsson.com>
9003
9004 * gdb.mi/mi-exit-code.exp: New file.
9005 * gdb.mi/mi-exit-code.c: New file.
9006
90072014-09-30 Yao Qi <yao@codesourcery.com>
9008
9009 * lib/prelink-support.exp (build_executable_own_libs): Error if
9010 the target isn't native.
9011
90122014-09-30 Yao Qi <yao@codesourcery.com>
9013
9014 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
9015 false.
9016
90172014-09-22 Pedro Alves <palves@redhat.com>
9018
9019 * gdb.threads/break-while-running.exp: New file.
9020 * gdb.threads/break-while-running.c: New file.
9021
90222014-09-19 Yao Qi <yao@codesourcery.com>
9023
9024 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
9025 Invoke test. Restart GDB with --readnow and invoke test again.
9026
90272014-09-19 Yao Qi <yao@codesourcery.com>
9028
9029 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
9030 proc set_breakpoint_on_gcd_function. Invoke
9031 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
9032 invoke set_breakpoint_on_gcd_function again.
9033
90342014-09-18 Doug Evans <dje@google.com>
9035
9036 * gdb.dwarf2/symtab-producer.exp: New file.
9037
90382014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9039
9040 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
9041 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
9042 * gdb.base/global-var-nested-by-dso.c: Likewise.
9043 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9044
90452014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9046 Pedro Alves <palves@redhat.com>
9047
9048 * gdb.base/watch-bitfields.exp: Pass string other than test file
9049 name to prepare_for_testing.
9050 (watch): New procedure.
9051 (expect_watchpoint): Use with_test_prefix.
9052 (top level): Factor out tests to ...
9053 (test_watch_location, test_regular_watch): ... these new
9054 procedures, and use with_test_prefix and gdb_continue_to_end.
9055
90562014-09-16 Patrick Palka <patrick@parcs.ath.cx>
9057
9058 PR breakpoints/12526
9059 * gdb.base/watch-bitfields.exp: New file.
9060 * gdb.base/watch-bitfields.c: New file.
9061
90622014-09-16 Pedro Alves <palves@redhat.com>
9063
9064 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
9065 software and hardware addresses, not software address against
9066 itself.
9067
90682014-09-16 Pedro Alves <palves@redhat.com>
9069
9070 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
9071 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
9072
90732014-09-16 Pedro Alves <palves@redhat.com>
9074
9075 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
9076 files.
9077 * gdb.base/a2-run.exp: Remove all code guarded by istarget
9078 "*-*-vxworks*" throughout.
9079 * gdb.base/break.exp: Likewise.
9080 * gdb.base/default.exp: Likewise.
9081 * gdb.base/scope.exp: Likewise.
9082 * gdb.base/sepdebug.exp: Likewise.
9083 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
9084 throughout.
9085 * gdb.base/run.c: Likewise.
9086 * gdb.base/sepdebug.c: Likewise.
9087 * gdb.hp/gdb.aCC/run.c: Likewise.
9088 * gdb.reverse/until-reverse.c: Likewise.
9089 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
9090
90912014-09-16 Yao Qi <yao@codesourcery.com>
9092
9093 * boards/local-remote-host-native.exp: New file.
9094
90952014-09-14 Doug Evans <xdje42@gmail.com>
9096
9097 * gdb.threads/queue-signal.c (thread_count): New variable.
9098 (thread_count_mutex, thread_count_condvar): New variables.
9099 (incr_thread_count, wait_all_threads_running): New functions.
9100 (main): Wait for all threads to be in their thread functions.
9101
91022014-09-13 Doug Evans <xdje42@gmail.com>
9103
9104 * gdb.threads/queue-signal.c: New file.
9105 * gdb.threads/queue-signal.exp: New file.
9106
91072014-09-13 Doug Evans <xdje42@gmail.com>
9108
9109 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
9110 be consistent with what default_gdb_init uses.
9111 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
9112 the plain text of the prompt. Add some logging printfs.
9113 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
9114
91152014-09-12 Pedro Alves <palves@redhat.com>
9116
9117 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
9118 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
9119 * gdb.arch/i386-size-overlap.exp: Likewise.
9120 * gdb.arch/i386-size.exp: Likewise.
9121 * gdb.arch/i386-unwind.exp: Likewise.
9122 * gdb.base/a2-run.exp: Likewise.
9123 * gdb.base/break.exp: Likewise.
9124 * gdb.base/charset.exp: Likewise.
9125 * gdb.base/chng-syms.exp: Likewise.
9126 * gdb.base/commands.exp: Likewise.
9127 * gdb.base/dbx.exp: Likewise.
9128 * gdb.base/find.exp: Likewise.
9129 * gdb.base/funcargs.exp: Likewise.
9130 * gdb.base/jit-simple.exp: Likewise.
9131 * gdb.base/reread.exp: Likewise.
9132 * gdb.base/sepdebug.exp: Likewise.
9133 * gdb.base/step-bt.exp: Likewise.
9134 * gdb.cp/mb-inline.exp: Likewise.
9135 * gdb.cp/mb-templates.exp: Likewise.
9136 * gdb.objc/basicclass.exp: Likewise.
9137 * gdb.threads/killed.exp: Likewise.
9138
91392014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9140
9141 PR tdep/17379
9142 * gdb.arch/powerpc-stackless.S: New file.
9143 * gdb.arch/powerpc-stackless.exp: New file.
9144
91452014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9146
9147 * gdb.base/attach.c: Include unistd.h.
9148 (main): Call alarm. Add label postloop.
9149 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
9150 gdb_breakpoint, gdb_continue_to_breakpoint.
9151 (test_command_line_attach_run): Kill ${testpid} in one exit path.
9152
91532014-09-11 Pedro Alves <palves@redhat.com>
9154
9155 PR gdb/17347
9156 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
9157 * gdb.base/attach.exp (test_command_line_attach_run): New
9158 procedure.
9159 (top level): Call it.
9160
91612014-09-11 Pedro Alves <palves@redhat.com>
9162
9163 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
9164 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
9165 (do_command_attach_tests): Use spawn_wait_for_attach.
9166 * gdb.base/solib-overlap.exp: Likewise.
9167 * gdb.multi/multi-attach.exp: Likewise.
9168 * gdb.python/py-prompt.exp: Likewise.
9169 * gdb.python/py-sync-interp.exp: Likewise.
9170 * gdb.server/ext-attach.exp: Likewise.
9171
91722014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
9173
9174 * gdb.fortran/array-element.exp: Remove unexpected "continue"
9175 command in testcase. Simplify testcase.
9176
91772014-09-10 Joel Brobecker <brobecker@adacore.com>
9178
9179 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
9180
91812014-09-10 Joel Brobecker <brobecker@adacore.com>
9182
9183 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
9184
91852014-09-10 Joel Brobecker <brobecker@adacore.com>
9186
9187 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
9188
91892014-09-10 Joel Brobecker <brobecker@adacore.com>
9190
9191 * gdb.dwarf2/dynarr-ptr.c: New file.
9192 * gdb.dwarf2/dynarr-ptr.exp: New file.
9193
91942014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9195
9196 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
9197 of 30 rather than hardcoding 120 for a slow test case. Take the
9198 `gdb,timeout' target setting into account for this calculation.
9199 Don't extend the timeout for the test cases that don't need it.
9200
92012014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9202
9203 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
9204 a factor of 2 for a slow test case. Take the `gdb,timeout'
9205 target setting into account for this calculation.
9206 * gdb.reverse/until-precsave.exp: Increase the timeout by
9207 a factor of 15 and 3 respectively rather than adding 120
9208 for a pair of slow test cases. Take the `gdb,timeout'
9209 target setting into account for this calculation.
9210
92112014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9212
9213 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
9214 timeout, don't pass one down to gdb_expect.
9215 (gdb_expect): Rework timeout selection.
9216
92172014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9218
9219 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
9220 exception on timeout.
9221 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
9222 (gdbserver_start_extended): Catch any `gdbserver_start' error
9223 exceptions.
9224 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
9225 * lib/mi-support.exp (mi_gdb_target_load): Catch any
9226 `gdbserver_gdb_load' error exceptions.
9227
92282014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9229
9230 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
9231 120 on waiting for the TCP socket to open.
9232
92332014-09-09 Doug Evans <xdje42@gmail.com>
9234
9235 * gdb.base/default.exp (show_conv_list): Add _caller_is,
9236 _caller_matches, _any_caller_is, _any_caller_matches.
9237
92382014-09-09 Doug Evans <xdje42@gmail.com>
9239
9240 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
9241
92422014-09-09 Yao Qi <yao@codesourcery.com>
9243
9244 * gdb.mi/mi-var-display.exp: Set print symbol off.
9245
92462014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
9247
9248 PR gdb/17035
9249 * gdb.base/commands.exp: Add tests to verify user-defined
9250 commands with empty bodies.
9251 * gdb.python/py-cmd.exp: Test that we don't show user-defined
9252 python commands in `show user command`.
9253 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
9254 scheme commands in `show user command`.
9255
92562014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9257
9258 PR python/17355
9259 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
9260 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
9261 * gdb.python/py-framefilter-invalidarg.exp: New file.
9262 * gdb.python/py-framefilter-invalidarg.py: New file.
9263
92642014-09-06 Doug Evans <xdje42@gmail.com>
9265
9266 PR 15276
9267 * gdb.python/py-caller-is.c: New file.
9268 * gdb.python/py-caller-is.exp: New file.
9269
92702014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
9271
9272 PR gdb/17235
9273 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
9274 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
9275
92762014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
9277
9278 PR fortran/17237
9279 * gdb.fortran/print-formatted.exp: New file.
9280 * gdb.fortran/print-formatted.f90: Likewise.
9281
92822014-09-03 Sasha Smundak <asmundak@google.com>
9283
9284 * gdb.python/py-frame.exp: Test Frame.read_register.
9285
92862014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
9287
9288 PR python/16699
9289 * gdb.python/py-completion.exp: New file.
9290 * gdb.python/py-completion.py: Likewise.
9291
92922014-08-28 Doug Evans <dje@google.com>
9293
9294 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
9295 eax,etc. are live with values set by gdb and thus the compiler can't
9296 use them.
9297 * gdb.arch/i386-pseudo.c (main): Ditto.
9298
92992014-08-27 Doug Evans <dje@google.com>
9300
9301 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
9302
93032014-08-25 Doug Evans <dje@google.com>
9304
9305 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
9306 (main): Ditto.
9307
93082014-08-25 Doug Evans <dje@google.com>
9309
9310 * gdb.threads/thread-execl.exp: #include <stdio.h>.
9311
93122014-08-24 Yao Qi <yao@codesourcery.com>
9313
9314 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
9315 symbol off.
9316 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
9317
93182014-08-22 Doug Evans <dje@google.com>
9319
9320 PR 17276
9321 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
9322 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
9323 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
9324
93252014-08-22 Yao Qi <yao@codesourcery.com>
9326
9327 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
9328 * gdb.python/py-finish-breakpoint2.exp: Likewise.
9329 * gdb.python/python.exp: Likewise. Use .py file on the host
9330 instead of the build.
9331
93322014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9333
9334 * gdb.threads/gcore-stale-thread.c: New file.
9335 * gdb.threads/gcore-stale-thread.exp: New file.
9336
93372014-08-21 Pedro Alves <palves@redhat.com>
9338
9339 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
9340 * gdb.base/gcore-relro-pie.exp: Likewise.
9341 * gdb.base/gcore-relro.exp: Likewise.
9342 * gdb.base/gcore.exp: Likewise.
9343 * gdb.base/print-symbol-loading.exp: Likewise.
9344 * gdb.threads/gcore-thread.exp: Likewise.
9345 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
9346
93472014-08-20 Pedro Alves <palves@redhat.com>
9348 Jan Kratochvil <jan.kratochvil@redhat.com>
9349
9350 * Makefile.in (EXTRA_RULES, CC): New variables, get from
9351 configure.
9352 (EXPECT): Handle READ1 being set.
9353 (all): Depend on EXTRA_RULES.
9354 (check-read1, expect-read1, read1.so, read1): New rules.
9355 * README (Testsuite Parameters): Document the READ1 make variable.
9356 (Race detection): New section.
9357 * configure: Regenerate.
9358 * configure.ac: If build==host==target, and running under a
9359 GNU/glibc system, add read1 to the extra Makefile rules.
9360 (EXTRA_RULES): AC_SUBST it.
9361 * lib/read1.c: New file.
9362
93632014-08-20 Joel Brobecker <brobecker@adacore.com>
9364
9365 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
9366 the handling of variables declared as a typedef to an array
9367 which a DW_AT_data_location attribute.
9368
93692014-08-19 Andrew Burgess <aburgess@broadcom.com>
9370 Pedro Alves <palves@redhat.com>
9371
9372 PR symtab/14604
9373 PR symtab/14605
9374 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
9375 gdb_test.
9376
93772014-08-19 Pedro Alves <palves@redhat.com>
9378
9379 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
9380
93812014-08-19 Yao Qi <yao@codesourcery.com>
9382
9383 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
9384 right line.
9385
93862014-08-18 David Blaikie <dblaikie@gmail.com>
9387
9388 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
9389
93902014-08-18 Joel Brobecker <brobecker@adacore.com>
9391
9392 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
9393 attribute in array range.
9394
93952014-08-18 Joel Brobecker <brobecker@adacore.com>
9396
9397 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
9398
93992014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9400
9401 PR c++/17132
9402 * gdb.cp/pr17132.cc: New file.
9403 * gdb.cp/pr17132.exp: New file.
9404
94052014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9406
9407 * gdb.python/py-xmethods.py (A_getarrayind)
9408 (E_method_char_worker.__call__, E_method_int_worker.__call__):
9409 Use 'print' with function call syntax.
9410 (E_method_matcher.match): Fix tab vs space indentation mixup.
9411
94122014-08-15 Yao Qi <yao@codesourcery.com>
9413
9414 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
9415 false.
9416
94172014-08-15 Yao Qi <yao@codesourcery.com>
9418
9419 * gdb.cp/casts.exp: Set print symbol off.
9420 * gdb.cp/class2.exp: Likewise.
9421 * gdb.cp/overload.exp: Likewise.
9422 * gdb.cp/templates.exp: Likewise.
9423
94242014-08-11 Doug Evans <dje@google.com>
9425
9426 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9427 (test_load_shlib): Update.
9428
94292014-08-09 Yao Qi <yao@codesourcery.com>
9430
9431 * gdb.base/display.exp: Invoke is_address_zero_readable.
9432 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
9433 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9434 * gdb.base/hbreak-unmapped.exp: Return if
9435 is_address_zero_readable returns true.
9436 * gdb.base/signest.exp: Likewise.
9437 * gdb.base/signull.exp: Likewise.
9438 * gdb.base/sigbpt.exp: Likewise.
9439 * gdb.guile/scm-disasm.exp: Do the test if
9440 is_address_zero_readable returns false.
9441 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
9442 * gdb.python/py-arch.exp: Likewise.
9443 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
9444 * lib/gdb.exp (is_address_zero_readable): New proc.
9445
94462014-08-09 Yao Qi <yao@codesourcery.com>
9447
9448 PR testsuite/13443
9449 * gdb.mi/mi-var-display.exp: Make test messages unique.
9450
94512014-08-04 Tom Tromey <tromey@redhat.com>
9452
9453 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
9454 target 0".
9455
94562014-08-04 Tom Tromey <tromey@redhat.com>
9457
9458 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
9459 "target_resume".
9460
94612014-08-01 Joel Brobecker <brobecker@adacore.com>
9462
9463 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9464 inner_vla_struct_object_size.
9465 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
9466 as xfail.
9467
94682014-07-30 Pedro Alves <palves@redhat.com>
9469
9470 * gdb.threads/signal-command-handle-nopass.exp (test): Add
9471 comment.
9472
94732014-07-29 Yao Qi <yao@codesourcery.com>
9474
9475 PR gdb/17206
9476 * gdb.base/until-nodebug.exp: New.
9477
94782014-07-28 Doug Evans <xdje42@gmail.com>
9479
9480 PR guile/17203
9481 * gdb.guile/scm-parameter.exp: Add tests for trying to create
9482 previously existing parameter, and previously ambiguously spelled
9483 parameter.
9484
94852014-07-28 Will Newton <will.newton@linaro.org>
9486
9487 * gdb.base/varargs.exp: Remove KFAILs for ARM.
9488
94892014-07-26 Ludovic Courtès <ludo@gnu.org>
9490 Doug Evans <xdje42@gmail.com>
9491
9492 PR guile/17146
9493 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
9494
94952014-07-25 Pedro Alves <palves@redhat.com>
9496
9497 * gdb.threads/signal-command-handle-nopass.c: New file.
9498 * gdb.threads/signal-command-handle-nopass.exp: New file.
9499 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
9500 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
9501 * gdb.threads/signal-delivered-right-thread.c: New file.
9502 * gdb.threads/signal-delivered-right-thread.exp: New file.
9503
95042014-07-25 Pedro Alves <palves@redhat.com>
9505
9506 * gdb.base/double-prompt-target-event-error.exp
9507 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
9508 match.
9509 (cancel_pagination_in_target_event): Rework double prompt
9510 detection.
9511 * gdb.base/paginate-after-ctrl-c-running.exp
9512 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
9513 <return>' match.
9514 * gdb.base/paginate-bg-execution.exp
9515 (test_bg_execution_pagination_return)
9516 (test_bg_execution_pagination_cancel): Remove '-notransfer
9517 <return>' matches.
9518 * gdb.base/paginate-execution-startup.exp
9519 (test_fg_execution_pagination_return)
9520 (test_fg_execution_pagination_cancel): Remove '-notransfer
9521 <return>' matches.
9522 * gdb.base/paginate-inferior-exit.exp
9523 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9524 match.
9525 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9526 * lib/gdb.exp (pagination_prompt): Run text through
9527 string_to_regexp.
9528 (gdb_test_multiple): Match $pagination_prompt instead of
9529 "<return>".
9530 (string_to_regexp): Move to lib/gdb-utils.exp.
9531
95322014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9533
9534 * gdb.arch/amd64-entry-value-paramref.S: New file.
9535 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9536 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9537 * gdb.arch/amd64-optimout-repeat.S: New file.
9538 * gdb.arch/amd64-optimout-repeat.c: New file.
9539 * gdb.arch/amd64-optimout-repeat.exp: New file.
9540
95412014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9542
9543 PR gdb/17170
9544 * gdb.base/statistics.exp: New file.
9545
95462014-07-17 Doug Evans <dje@google.com>
9547
9548 PR gdb/17170
9549 * gdb.base/maint.exp: Update testing of per-command stats.
9550
95512014-07-16 Pedro Alves <palves@redhat.com>
9552
9553 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9554 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9555 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9556 (tfile_write_buf): New functions.
9557 (add_memory_block): Rewrite using the above.
9558 (adjust_function_address): New function.
9559 (FUNCTION_ADDRESS): New macro.
9560 (write_basic_trace_file): Remove short_x local, and use
9561 tfile_write_16. Change type of func_addr local to unsigned long
9562 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9563 here. Cast argument of add_memory_block to char pointer.
9564 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9565 (main): Remove parameters.
9566 * gdb.trace/tfile.exp: Remove nowarnings.
9567
95682014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9569
9570 * gdb.base/debug-expr.exp: Test string evaluation with
9571 "debug expression" on.
9572
95732014-07-15 Pedro Alves <palves@redhat.com>
9574
9575 * gdb.base/reread.exp: Use clean_restart.
9576
95772014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9578
9579 * gdb.arch/avr-flash-qualifer.c: New.
9580 * gdb.arch/avr-flash-qualifer.exp: New.
9581
95822014-07-14 Pedro Alves <palves@redhat.com>
9583
9584 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9585 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9586
95872014-07-14 Pedro Alves <palves@redhat.com>
9588
9589 * gdb.base/double-prompt-target-event-error.c: New file.
9590 * gdb.base/double-prompt-target-event-error.exp: New file.
9591
95922014-07-14 Pedro Alves <palves@redhat.com>
9593
9594 PR gdb/17072
9595 * gdb.base/paginate-inferior-exit.c: New file.
9596 * gdb.base/paginate-inferior-exit.exp: New file.
9597
95982014-07-14 Pedro Alves <palves@redhat.com>
9599
9600 PR gdb/17072
9601 * gdb.base/paginate-bg-execution.c: New file.
9602 * gdb.base/paginate-bg-execution.exp: New file.
9603
96042014-07-14 Pedro Alves <palves@redhat.com>
9605
9606 PR gdb/17072
9607 * gdb.base/paginate-execution-startup.c: New file.
9608 * gdb.base/paginate-execution-startup.exp: New file.
9609 * lib/gdb.exp (pagination_prompt): New global.
9610 (default_gdb_spawn): New procedure, factored out from
9611 default_gdb_spawn.
9612 (default_gdb_start): Adjust to call default_gdb_spawn.
9613 (gdb_spawn): New procedure.
9614
96152014-07-14 Pedro Alves <palves@redhat.com>
9616
9617 * lib/gdb.exp (gdb_assert): New procedure.
9618 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
9619
96202014-07-14 Pedro Alves <palves@redhat.com>
9621
9622 * gdb.base/execution-termios.c: New file.
9623 * gdb.base/execution-termios.exp: New file.
9624
96252014-07-14 Tom Tromey <tromey@redhat.com>
9626
9627 * gdb.cp/vla-cxx.cc: New file.
9628 * gdb.cp/vla-cxx.exp: New file.
9629
96302014-07-14 Tom Tromey <tromey@redhat.com>
9631
9632 * gdb.reverse/rerun-prec.c: New file.
9633 * gdb.reverse/rerun-prec.exp: New file.
9634
96352014-07-12 Maciej W. Rozycki <macro@mips.com>
9636 Maciej W. Rozycki <macro@codesourcery.com>
9637
9638 * lib/gdb-utils.exp: New file.
9639 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
9640 inline `gdb_init_command' processing.
9641 (gdb_start_cmd): Likewise.
9642 * lib/mi-support.exp (mi_run_cmd): Likewise.
9643 * README: Document `gdb_init_command' and `gdb_init_commands'.
9644
96452014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9646
9647 Fix false FAIL running under a very long directory name.
9648 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
9649 and "set print elements 10000". Twice.
9650
96512014-07-11 Yao Qi <yao@codesourcery.com>
9652
9653 * gdb.base/exprs.exp: "set print symbol off".
9654
96552014-07-11 Pedro Alves <palves@redhat.com>
9656
9657 * gdb.threads/kill.c: New file.
9658 * gdb.threads/kill.exp: New file.
9659
96602014-07-10 Yao Qi <yao@codesourcery.com>
9661
9662 * gdb.trace/tfile.c (write_basic_trace_file)
9663 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
9664 address written to trace file.
9665
96662014-07-09 Pedro Alves <palves@redhat.com>
9667
9668 * gdb.base/attach-wait-input.exp: New file.
9669 * gdb.base/attach-wait-input.c: New file.
9670
96712014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9672
9673 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
9674 setting up test structures.
9675 (main): Call new test function.
9676 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
9677 test function, continue into test function and walk test
9678 structures.
9679
96802014-07-02 Yao Qi <yao@codesourcery.com>
9681
9682 * gdb.trace/entry-values.c: Define labels 'foo_start' and
9683 'bar_start' at the beginning of functions 'foo' and 'bar'
9684 respectively.
9685 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
9686 instead of 'foo' and 'bar'.
9687
96882014-07-08 Markus Metzger <markus.t.metzger@intel.com>
9689
9690 * gdb.btrace/segv.exp: New.
9691 * gdb.btrace/segv.c: New.
9692
96932014-07-02 Luis Machado <lgustavo@codesourcery.com>
9694
9695 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
9696 instruction.
9697
96982014-06-30 Mark Wielaard <mjw@redhat.com>
9699
9700 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
9701 vulture, vilify, villar): New volatile array constants.
9702 (vindictive, vegetation): New const volatile array constants.
9703 * gdb.base/volatile.exp: Test volatile and const volatile array
9704 types.
9705
97062014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9707
9708 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
9709 target lacks support for awatch, rwatch, or hbreak.
9710
97112014-06-27 Yao Qi <yao@codesourcery.com>
9712
9713 * gdb.multi/dummy-frame-restore.exp: New.
9714 * gdb.multi/dummy-frame-restore.c: New.
9715
97162014-06-25 Markus Metzger <markus.t.metzger@intel.com>
9717
9718 * gdb.btrace/gcore.exp: New.
9719
97202014-06-23 Pedro Alves <palves@redhat.com>
9721
9722 * gdb.base/watchpoint-reuse-slot.c: New file.
9723 * gdb.base/watchpoint-reuse-slot.exp: New file.
9724
97252014-06-23 Siva Chandra Reddy <sivachandra@google.com>
9726
9727 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
9728 progspace's filename in 'info', 'enable' and 'disable' command
9729 tests.
9730
97312014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9732
9733 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
9734 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9735 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
9736
97372014-06-20 Gary Benson <gbenson@redhat.com>
9738
9739 * gdb.arch/i386-avx.exp: Fix include file location.
9740 * gdb.arch/i386-sse.exp: Likewise.
9741
97422014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
9743
9744 * gdb.dlang/expression.exp: New file.
9745
97462014-06-19 Pedro Alves <palves@redhat.com>
9747
9748 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
9749 out from ...
9750 (top level): ... here. Iterate running tests under different
9751 scheduler-locking settings.
9752
97532014-06-18 Luis Machado <lgustavo@codesourcery.com>
9754
9755 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
9756 to DW_FORM_addr and use non-zero addresses.
9757
97582014-06-18 Siva Chandra Reddy <sivachandra@google.com>
9759
9760 PR gdb/17017
9761 * gdb.python/py-xmethods.cc: Add global function call counters and
9762 increment them in their respective functions. Remove "cout"
9763 statements.
9764 * gdb.python/py-xmethods.exp: Make tests check the global function
9765 call counters instead of depending on inferior IO.
9766
97672014-06-18 Don Breazeal <donb@codesourcery.com>
9768
9769 * gdb.base/foll-fork.exp (default_fork_parent_follow):
9770 Deleted procedure.
9771 (explicit_fork_parent_follow): Deleted procedure.
9772 (explicit_fork_child_follow): Deleted procedure.
9773 (test_follow_fork): New procedure.
9774 (do_fork_tests): Replace calls to deleted procedures with
9775 calls to test_follow_fork and reset GDB for subsequent
9776 procedure calls.
9777
97782014-06-17 Yao Qi <yao@codesourcery.com>
9779
9780 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
9781 CP1252.
9782
97832014-06-17 Luis Machado <lgustavo@codesourcery.com>
9784
9785 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
9786 Initialize ptr and S explicitly.
9787 (skip_type_update_when_not_use_rtti_test): Likewise.
9788
97892014-06-16 Keith Seitz <keiths@redhat.com>
9790
9791 PR mi/15863
9792 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
9793 the inferior is started.
9794
97952014-06-16 Pedro Alves <palves@redhat.com>
9796
9797 * gdb.base/break-main-file-remove-fail.c: New file.
9798 * gdb.base/break-main-file-remove-fail.exp: New file.
9799 * gdb.base/break-unload-file.exp: Use build_executable instead of
9800 prepare_for_testing.
9801 (test_break): New parameter "initial_load". Handle it.
9802 (top level): Add initial_load cmdline/file axis.
9803
98042014-06-12 Tom Tromey <tromey@redhat.com>
9805
9806 * gdb.base/completion.exp: Don't use directory name in test.
9807
98082014-06-09 Gary Benson <gbenson@redhat.com>
9809
9810 * gdb.base/sigall.c [Functions to send signals]: Reorder to
9811 separate the always-available ANSI-standard signals from the
9812 signals that require checking.
9813 (main): Likewise.
9814 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
9815 Likewise.
9816 (main): Likewise.
9817
98182014-06-07 Keith Seitz <keiths@redhat.com>
9819
9820 Revert:
9821 PR c++/16253
9822 * gdb.cp/var-tag.cc: New file.
9823 * gdb.cp/var-tag.exp: New file.
9824 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
9825 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
9826 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
9827 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
9828
98292014-06-06 Doug Evans <xdje42@gmail.com>
9830
9831 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
9832
98332014-06-06 Pedro Alves <palves@redhat.com>
9834
9835 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
9836 in target debug output instead of looking at RSP packets,
9837 disabling the test on any target that uses hardware stepping.
9838 Update comments.
9839
98402014-06-06 Pedro Alves <palves@redhat.com>
9841
9842 * gdb.base/break-unload-file.exp: Fix typo.
9843
98442014-06-06 Yao Qi <yao@codesourcery.com>
9845
9846 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
9847 from "jit_function" to "^jit_function".
9848
98492014-06-06 Yao Qi <yao@codesourcery.com>
9850
9851 * gdb.base/async.c (foo): Add one statement.
9852 * gdb.base/async.exp: Get the next instruction address and
9853 match the output of "nexti" by instruction address. Match
9854 the hex address in the output of "finish".
9855
98562014-06-06 Gary Benson <gbenson@redhat.com>
9857
9858 * gdb.base/call-signals.c: Remove preprocessor conditionals
9859 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
9860 SIGSEGV and SIGTERM.
9861 * gdb.base/sigall.c: Likewise.
9862 * gdb.base/unwindonsignal.c: Likewise.
9863 * gdb.reverse/sigall-reverse.c: Likewise.
9864
98652014-06-06 Yao Qi <yao@codesourcery.com>
9866
9867 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
9868 readable, skip the test.
9869
98702014-06-06 Yao Qi <yao@codesourcery.com>
9871
9872 * gdb.threads/staticthreads.c (thread_function): Move the line
9873 setting breakpoint on forward.
9874 * gdb.threads/staticthreads.exp: Update comments.
9875
98762014-06-05 Ludovic Courtès <ludo@gnu.org>
9877
9878 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
9879 "history-append! type error".
9880
98812014-06-05 Simon Marchi <simon.marchi@ericsson.com>
9882
9883 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
9884 erroneous dprintf expected input.
9885
98862014-06-04 Doug Evans <xdje42@gmail.com>
9887
9888 * gdb.guile/scm-generics.exp: Delete.
9889
98902014-06-04 Doug Evans <xdje42@gmail.com>
9891
9892 * gdb.guile/scm-breakpoint.exp: Update.
9893 Add tests for breakpoint registration.
9894
98952014-06-04 Tom Tromey <tromey@redhat.com>
9896
9897 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
9898 VLA-in-union.
9899 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
9900 inner_vla_struct, vla_union types. Initialize objects of those
9901 types and compute their sizes.
9902
99032014-06-04 Nathan Sidwell <nathan@codesourcery.com>
9904 Hui Zhu <hui@codesourcery.com>
9905
9906 * gdb.base/fileio.exp: Add test for shell not available as well as
9907 available.
9908 * gdb.base/fileio.c (test_system): Check for shell twice.
9909
99102014-06-04 Yao Qi <yao@codesourcery.com>
9911
9912 * gdb.base/auto-connect-native-target.exp: Remove redundant
9913 space from the regexp pattern.
9914
99152014-06-04 Yao Qi <yao@codesourcery.com>
9916
9917 * gdb.base/default.exp: Replace "child" with "native" in
9918 regexp pattern.
9919
99202014-06-03 Siva Chandra Reddy <sivachandra@google.com>
9921
9922 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
9923 * gdb.python/py-xmethods.exp: New tests to test xmethods.
9924 * gdb.python/py-xmethods.py: Python script supporting the
9925 new testcase and tests.
9926
99272014-06-03 Joel Brobecker <brobecker@adacore.com>
9928 Pedro Alves <palves@redhat.com>
9929
9930 PR breakpoints/17000
9931 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
9932 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
9933
99342014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
9935
9936 * gdb.base/subst.exp: Add tests to verify partial path matching
9937 output.
9938
99392014-06-03 Pedro Alves <palves@redhat.com>
9940
9941 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
9942 target that doesn't use software single-stepping.
9943
99442014-06-03 Pedro Alves <palves@redhat.com>
9945
9946 PR breakpoints/17000
9947 * gdb.base/sss-bp-on-user-bp-2.c: New file.
9948 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
9949
99502014-06-02 Doug Evans <xdje42@gmail.com>
9951
9952 * gdb.guile/scm-parameter.exp: New file.
9953
99542014-06-02 Doug Evans <xdje42@gmail.com>
9955
9956 * gdb.guile/scm-cmd.c: New file.
9957 * gdb.guile/scm-cmd.exp: New file.
9958
99592014-06-02 Doug Evans <xdje42@gmail.com>
9960
9961 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
9962 pretty-printer lookup.
9963 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
9964 (make-pp_s-printer): Call it.
9965 (make-pretty-printer-from-dict): New function.
9966 (lookup-pretty-printer-maker-from-dict): New function.
9967 (*pretty-printer*): Simplify.
9968 (make-objfile-pp_s-printer): New function.
9969 (install-objfile-pretty-printers!): New function.
9970 (make-progspace-pp_s-printer): New function.
9971 (install-progspace-pretty-printers!): New function.
9972 * gdb.guile/scm-progspace.c: New file.
9973 * gdb.guile/scm-progspace.exp: New file.
9974
99752014-06-02 Pedro Alves <palves@redhat.com>
9976
9977 * gdb.base/dprintf-bp-same-addr.c: New file.
9978 * gdb.base/dprintf-bp-same-addr.exp: New file.
9979
99802014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9981
9982 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
9983 * gdb.arch/powerpc-power.s: Likewise.
9984
99852014-06-02 Joel Brobecker <brobecker@adacore.com>
9986
9987 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
9988
99892014-06-01 Yao Qi <yao@codesourcery.com>
9990
9991 * gdb.base/watchpoint.exp (test_watch_location): Check null
9992 pointer can be dereferenced. If not, do the test, otherwise
9993 skip it.
9994
99952014-05-30 Andrew Burgess <aburgess@broadcom.com>
9996
9997 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
9998 results.
9999 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
10000
100012014-05-30 Andrew Burgess <aburgess@broadcom.com>
10002
10003 * gdb.arch/amd64-invalid-stack-middle.S: New file.
10004 * gdb.arch/amd64-invalid-stack-middle.c: New file.
10005 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
10006 * gdb.arch/amd64-invalid-stack-top.c: New file.
10007 * gdb.arch/amd64-invalid-stack-top.exp: New file.
10008
100092014-05-30 Pedro Alves <palves@redhat.com>
10010
10011 PR breakpoints/17000
10012 * gdb.base/sss-bp-on-user-bp.c: New file.
10013 * gdb.base/sss-bp-on-user-bp.exp: New file.
10014
100152014-05-30 David Blaikie <dblaikie@gmail.com>
10016
10017 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
10018 gnu_inline semantics via attribute.
10019 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
10020 source explicitly specifies the required semantics.
10021
100222014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
10023
10024 * gdb.reverse/sigall-reverse.exp: Fix a typo.
10025
100262014-05-29 Pedro Alves <palves@redhat.com>
10027 Tom Tromey <tromey@redhat.com>
10028
10029 * gdb.base/async-shell.exp: Don't enable target-async.
10030 * gdb.base/async.exp
10031 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
10032 parameter. Adjust.
10033 (top level): Don't test with "target-async".
10034 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
10035 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
10036 * gdb.base/inferior-died.exp: Don't enable target-async.
10037 * gdb.base/interrupt-noterm.exp: Likewise.
10038 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
10039 * gdb.mi/mi-nonstop-exit.exp: Likewise.
10040 * gdb.mi/mi-nonstop.exp: Likewise.
10041 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10042 * gdb.mi/mi-nsintrall.exp: Likewise.
10043 * gdb.mi/mi-nsmoribund.exp: Likewise.
10044 * gdb.mi/mi-nsthrexec.exp: Likewise.
10045 * gdb.mi/mi-watch-nonstop.exp: Likewise.
10046 * gdb.multi/watchpoint-multi.exp: Adjust comment.
10047 * gdb.python/py-evsignal.exp: Don't enable target-async.
10048 * gdb.python/py-evthreads.exp: Likewise.
10049 * gdb.python/py-prompt.exp: Likewise.
10050 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
10051 * gdb.server/solib-list.exp: Don't enable target-async.
10052 * gdb.threads/thread-specific-bp.exp: Likewise.
10053 * lib/mi-support.exp: Adjust to use mi-async.
10054
100552014-05-29 Pedro Alves <palves@redhat.com>
10056
10057 PR gdb/13860
10058 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
10059 reason, even in sync mode.
10060
100612014-05-29 Pedro Alves <palves@redhat.com>
10062 Hui Zhu <hui@codesourcery.com>
10063
10064 PR PR15693
10065 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
10066 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
10067 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
10068 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
10069
100702014-05-28 Joel Brobecker <brobecker@adacore.com>
10071
10072 * config/monitor.exp (gdb_target_monitor): Replace use of
10073 "set remotebaud" by "set serial baud".
10074
100752014-05-26 Andy Wingo <wingo@igalia.com>
10076
10077 * gdb.guile/scm-breakpoint.exp:
10078 * gdb.guile/scm-gsmob.exp: Update to use plain old object
10079 properties instead of gdb-object-properties.
10080
100812014-05-26 Yao Qi <yao@codesourcery.com>
10082
10083 * gdb.server/no-thread-db.exp: Specify source file name
10084 explicitly when setting a breakpoint.
10085
100862014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10087
10088 * gdb.btrace/vdso.c: New.
10089 * gdb.btrace/vdso.exp: New.
10090
100912014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10092
10093 * gdb.base/gcore.exp (capture_command_output): Move ...
10094 * lib/gdb.exp (capture_command_output): ... here.
10095
100962014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10097
10098 * gdb.btrace/data.exp: Test memory access during btrace replay.
10099
101002014-05-22 Simon Marchi <simon.marchi@ericsson.com>
10101
10102 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
10103
101042014-05-21 Pedro Alves <palves@redhat.com>
10105
10106 PR gdb/13860
10107 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
10108 (top level): Test that output related to execution commands is
10109 sent to the console with CLI commands, but not with MI commands.
10110 Test that breakpoint events are always mirrored to the console.
10111 Also expect the new source line to be output after a "next" in
10112 async mode too. Make it a pass/fail test.
10113 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
10114 output.
10115 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
10116
101172014-05-21 Pedro Alves <palves@redhat.com>
10118
10119 * gdb.base/list.exp (build_pattern, test_list): New procedures.
10120 Use them to test variations of "list" after reaching a breakpoint.
10121 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
10122 Test "list" with listsize 10 after reaching a breakpoint.
10123 * gdb.python/python.exp (decode_line current location line
10124 number): Adjust expected line number.
10125
101262014-05-21 Simon Marchi <simon.marchi@ericsson.com>
10127
10128 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
10129 behavior for $args, pass it directly to "run".
10130
101312014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
10132
10133 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
10134 30000 to 65536.
10135
101362014-05-21 Pedro Alves <palves@redhat.com>
10137
10138 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
10139 auto-connect-native-target off".
10140 * gdb.base/auto-connect-native-target.c: New file.
10141 * gdb.base/auto-connect-native-target.exp: New file.
10142
101432014-05-21 Pedro Alves <palves@redhat.com>
10144
10145 * gdb.base/default.exp: Test "target native" instead of "target
10146 child".
10147
101482014-05-21 Mark Wielaard <mjw@redhat.com>
10149
10150 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10151
101522014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10153
10154 Fix TLS access for -static -pthread.
10155 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
10156 <HAVE_TLS> (thread_function, main): Initialize it.
10157 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
10158 Add clean_restart.
10159 <$have_tls != "">: Check TLSVAR.
10160
101612014-05-21 Pedro Alves <palves@redhat.com>
10162
10163 * gdb.base/dcache-line-read-error.c: New.
10164 * gdb.base/dcache-line-read-error.exp: New.
10165
101662014-05-20 Pedro Alves <palves@redhat.com>
10167
10168 * gdb.base/compare-sections.c: New file.
10169 * gdb.base/compare-sections.exp: New file.
10170
101712014-05-20 Pedro Alves <palves@redhat.com>
10172
10173 * gdb.base/break-idempotent.c: New file.
10174 * gdb.base/break-idempotent.exp: New file.
10175
101762014-05-20 Markus Metzger <markus.t.metzger@intel.com>
10177
10178 * gdb.btrace/nohist.exp: New.
10179
101802014-05-20 Yao Qi <yao@codesourcery.com>
10181
10182 * lib/gdb.exp (gdb_init): Set timeout if test file is under
10183 gdb.reverse directory and gdb_reverse_timeout exists in board
10184 setting.
10185 * README: Document gdb_reverse_timeout.
10186
101872014-05-20 Yao Qi <yao@codesourcery.com>
10188
10189 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
10190 'test_file_name'. Treat args as a string instead of a list.
10191 (gdb_init): Rename argument 'args' by 'test_file_name'.
10192
101932014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10194
10195 * gdb.arch/powerpc-power.exp: New file.
10196 * gdb.arch/powerpc-power.s: New file.
10197
101982014-05-16 Doug Evans <dje@google.com>
10199
10200 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
10201 * gdb.base/completion.exp: Check that all expected files exist
10202 before doing file completion.
10203
102042014-05-16 Doug Evans <dje@google.com>
10205
10206 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
10207 Update.
10208 (do_syscall_tests_without_xml): Update.
10209
102102014-05-16 Pedro Alves <palves@redhat.com>
10211
10212 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
10213 instead of "unknown output after running".
10214
102152014-05-16 Yao Qi <yao@codesourcery.com>
10216
10217 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
10218 file1.txt from host at the end.
10219 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10220
102212014-05-15 Doug Evans <dje@google.com>
10222
10223 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
10224 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
10225 loading file. Add test for TU lookup.
10226
102272014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10228
10229 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
10230 calling "-exec-arguments" or "set args" before running the
10231 inferior.
10232
102332014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10234
10235 * lib/mi-support.exp (mi_expect_stop): Expect message for
10236 inferiors that exit with non-zero exit code.
10237
102382014-05-14 Yao Qi <yao@codesourcery.com>
10239
10240 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
10241 match absolute path on remote host.
10242 (test_file_list_exec_source_files): Remove "/" from the
10243 pattern.
10244
102452014-05-14 Yao Qi <yao@codesourcery.com>
10246
10247 * boards/local-remote-host-notty.exp (${board}_file): New
10248 proc.
10249
102502014-05-07 Kyle McMartin <kyle@redhat.com>
10251
10252 Pushed by Joel Brobecker <brobecker@adacore.com>.
10253 * gdb.arch/aarch64-atomic-inst.c: New file.
10254 * gdb.arch/aarch64-atomic-inst.exp: New file.
10255
102562014-05-07 Yao Qi <yao@codesourcery.com>
10257
10258 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
10259 in current context" too.
10260
102612014-05-05 Keith Seitz <keiths@redhat.com>
10262
10263 * gdb.linespec/ls-dollar.exp: Add test for linespec
10264 file:convenience_variable.
10265
102662014-05-05 Yao Qi <yao@codesourcery.com>
10267
10268 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
10269 traceframes into tfile and ctf trace files. Read data from
10270 trace file and test collected data.
10271 (gdb_collect_locals_test): Likewise.
10272 (gdb_unavailable_registers_test): Likewise.
10273 (gdb_unavailable_floats): Likewise.
10274 (gdb_collect_globals_test): Likewise.
10275 (top-level): Append "ctf" to trace_file_targets if GDB
10276 supports.
10277
102782014-05-05 Yao Qi <yao@codesourcery.com>
10279
10280 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
10281 code to ...
10282 (gdb_collect_args_test_1): ... it. New proc.
10283 (gdb_collect_locals_test): Move some code to ...
10284 (gdb_collect_locals_test_1): ... it. New proc.
10285 (gdb_unavailable_registers_test): Move some code to ...
10286 (gdb_unavailable_registers_test_1): ... it. New proc.
10287 (gdb_unavailable_floats): Move some code to ...
10288 (gdb_unavailable_floats_1): ... it. New proc.
10289
102902014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10291
10292 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
10293 probes to test for bitness recognition.
10294 * gdb.arch/amd64-stap-optional-prefix.exp
10295 (test_probe_value_without_reg): New procedure.
10296 Add code to test for different kinds of bitness.
10297
102982014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10299
10300 PR breakpoints/16889
10301 * gdb.arch/amd64-stap-optional-prefix.S: New file.
10302 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10303
103042014-05-01 Pedro Alves <palves@redhat.com>
10305
10306 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
10307 gdb_file_cmd if no file is specified.
10308 * boards/native-extended-gdbserver.exp (gdb_load): Use the
10309 last_loaded_file to set the remote exec-file.
10310
103112014-05-01 Pedro Alves <palves@redhat.com>
10312
10313 * boards/local-remote-host.exp: New file.
10314
103152014-05-01 Pedro Alves <palves@redhat.com>
10316
10317 * boards/local-remote-host.exp: Rename to ...
10318 * boards/local-remote-host-notty.exp: ... this.
10319
103202014-04-28 Joel Brobecker <brobecker@adacore.com>
10321
10322 * gdb.ada/dyn_arrayidx: New testcase.
10323
103242014-04-26 Yao Qi <yao@codesourcery.com>
10325
10326 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
10327 and compute the length of function main. Save it in
10328 $main_length.
10329 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
10330 (top-level): Use gdb_compile to compile objects into
10331 executable and restart GDB. Remove invocation to
10332 prepare_for_testing.
10333
103342014-04-25 Simon Marchi <simon.marchi@ericsson.com>
10335 Pedro Alves <palves@redhat.com>
10336
10337 PR server/16255
10338 * gdb.multi/multi-attach.c: New file.
10339 * gdb.multi/multi-attach.exp: New file.
10340
103412014-04-25 Pedro Alves <palves@redhat.com>
10342
10343 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
10344 user.
10345 (top level): Test that "set remote conditional-breakpoints-packet
10346 off" works as intended.
10347 * gdb.base/dprintf.exp: Test that "set remote
10348 breakpoint-commands-packet off" works as intended.
10349 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
10350 New function.
10351 (top level): Call it.
10352 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
10353 remote fast-tracepoints-packet off" works as intended.
10354 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
10355 * lib/gdb.exp (gdb_is_target_remote): ... here.
10356
103572014-04-24 David Blaikie <dblaikie@gmail.com>
10358
10359 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
10360 ensure clang would not discard them.
10361 * gdb.base/gdbvars.c: Ditto.
10362 * gdb.base/memattr.c: Ditto.
10363 * gdb.base/whatis.c: Ditto.
10364 * gdb.python/py-prettyprint.c: Ditto.
10365 * gdb.trace/actions.c: Ditto.
10366 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
10367 ensure clang would not discard it.
10368
103692014-04-24 David Blaikie <dblaikie@gmail.com>
10370
10371 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
10372 clang to emit the full definition of type required by the test
10373 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
10374
103752014-04-24 David Blaikie <dblaikie@gmail.com>
10376
10377 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
10378 coax Clang into emitting the definition of the type.
10379 * gdb.cp/pr10728-x.h (y): Ditto.
10380 * gdb.cp/pr10728-y.cc (y): Ditto.
10381
103822014-04-24 David Blaikie <dblaikie@gmail.com>
10383
10384 * gdb.base/label.exp: XFAIL label related tests under Clang.
10385 * gdb.cp/cplabel.exp: Ditto.
10386 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
10387 under Clang those using labels.
10388
103892014-04-25 Yao Qi <yao@codesourcery.com>
10390
10391 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
10392 double_label.
10393 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
10394 partial_label and double_label.
10395
103962014-04-24 David Blaikie <dblaikie@gmail.com>
10397
10398 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
10399
104002014-04-24 David Blaikie <dblaikie@gmail.com>
10401
10402 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
10403 of the function to work across GCC and Clang.
10404 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
10405 pointer types (const void ** const V void **).
10406
104072014-04-24 Michael Sturm <michael.sturm@mintel.com>
10408 Walfred Tedeschi <walfred.tedeschi@intel.com>
10409
10410 * Makefile.in (EXECUTABLES): Added i386-avx512.
10411 * gdb.arch/i386-avx512.c: New file.
10412 * gdb.arch/i386-avx512.exp: Likewise.
10413
104142014-04-23 Keith Seitz <keiths@redhat.com>
10415
10416 * lib/mi-support.exp (mi_list_breakpoints): Delete.
10417 (mi_make_breakpoint_table): New procedure.
10418 (mi_create_breakpoint): Use mi_make_breakpoint
10419 and return the result.
10420 (mi_make_breakpoint): New procedure.
10421 (mi_build_kv_pairs): New procedure.
10422
10423 * gdb.mi/mi-break.exp: Remove unused globals,
10424 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
10425 All callers updated.
10426 * gdb.mi/mi-dprintf.exp: Use variable to track command
10427 number.
10428 Update all callers of mi_create_breakpoint and use
10429 mi_make_breakpoint_table.
10430 Remove any unused global variables.
10431 * gdb.mi/mi-nonstop.exp: Likewise.
10432 * gdb.mi/mi-nsintrall.exp: Likewise.
10433 * gdb.mi/mi-nsmoribund.exp: Likewise.
10434 * gdb.mi/mi-nsthrexec.exp: Likewise.
10435 * gdb.mi/mi-reverse.exp: Likewise.
10436 * gdb.mi/mi-simplerun.exp: Likewise.
10437 * gdb.mi/mi-stepn.exp: Likewise.
10438 * gdb.mi/mi-syn-frame.exp: Likewise.
10439 * gdb.mi/mi-until.exp: Likewise.
10440 * gdb.mi/mi-var-cp.exp: Likewise.
10441 * gdb.mi/mi-var-display.exp: Likewise.
10442 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
10443 * gdb.mi/mi2-var-child.exp: Likewise.
10444 * gdb.mi/mi-vla-c99.exp: Likewise.
10445 * lib/mi-support.exp: Likewise.
10446
10447 From Ian Lance Taylor <iant@cygnus.com>:
10448 * lib/gdb.exp (parse_args): New procedure.
10449
104502014-04-23 Pedro Alves <palves@redhat.com>
10451
10452 * gdb.base/break-unload-file.c: New file.
10453 * gdb.base/break-unload-file.exp: New file.
10454 * gdb.base/sym-file-lib.c (baz): New function.
10455 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
10456 field.
10457 (load): Store the segment's mapped size.
10458 (unload): New function.
10459 (unload_shlib): New function.
10460 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
10461 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
10462 set a breakpoint at baz, and call it.
10463 * gdb.base/sym-file.exp: New tests for stale breakpoint
10464 instructions.
10465
104662014-04-23 Pedro Alves <palves@redhat.com>
10467
10468 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
10469 * gdb.base/hbreak-in-shr-unsupported.c: New file.
10470 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
10471 * gdb.base/hbreak-unmapped.c: New file.
10472 * gdb.base/hbreak-unmapped.exp: New file.
10473 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
10474 * lib/gdb.exp (gdb_is_target_remote): ... here.
10475
104762014-04-22 Pedro Alves <palves@redhat.com>
10477
10478 * gdb.base/consecutive-step-over.c: New file.
10479 * gdb.base/consecutive-step-over.exp: New file.
10480
104812014-04-22 Pedro Alves <palves@redhat.com>
10482
10483 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
10484 instead of send_gdb/gdb_expect.
10485
104862014-04-22 Yao Qi <yao@codesourcery.com>
10487
10488 * lib/trace-support.exp (generate_tracefile): New procedure.
10489 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
10490 return 0.
10491 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
10492 if generate_tracefile returns 1.
10493
104942014-04-18 Tom Tromey <palves@redhat.com>
10495 Pedro alves <tromey@redhat.com>
10496
10497 PR backtrace/15558
10498 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
10499 with a backtrace limit.
10500 * gdb.python/py-frame-inline.exp: Test running to an inline
10501 function with a backtrace limit, and printing the newest frame.
10502 * gdb.python/py-frame-inline.c (main): Call f.
10503
105042014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10505
10506 * gdb.java/jnpe.exp: Drop srcdir from untested path.
10507
105082014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10509
10510 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
10511 Drop prefix from unsupported source file path.
10512
105132014-04-17 Yao Qi <yao@codesourcery.com>
10514
10515 * lib/gdb.exp (with_target_charset): New proc.
10516 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10517 with_target_charset.
10518 (test_print_strings): Likewise.
10519 (test_repeat_bytes): Likewise.
10520 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10521 for some tests.
10522
105232014-04-16 Keith Seitz <keiths@redhat.com>
10524
10525 PR gdb/15827
10526 * gdb.dwarf2/corrupt.c: New file.
10527 * gdb.dwarf2/corrupt.exp: New file.
10528
105292014-04-16 Keith Seitz <keiths@redhat.com>
10530
10531 PR c++/16597
10532 * gdb.cp/namelessclass.cc: New file.
10533 * gdb.cp/namelessclass.exp: New file.
10534 * gdb.cp/namelessclass.S: New file.
10535
105362014-04-16 Doug Evans <dje@google.com>
10537
10538 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10539 Add comment.
10540 (gdbserver_default_get_comm_port): New function.
10541 (gdbserver_start): Check if board file provided
10542 "gdbserver,get_comm_port" and use it if so.
10543 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10544 (gdb,socketport): Set to "stdio".
10545 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10546 (stdio_gdbserver_template): Delete.
10547 (${board}_get_remote_address): Update.
10548 (${board}_build_remote_cmd): Delete.
10549 (${board}_get_comm_port): New function.
10550 (${board}_spawn): Update.
10551 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10552 Delete.
10553 (${board}_get_remote_address): Update.
10554 (${board}_get_comm_port): New function.
10555
105562014-04-16 Andrew Burgess <aburgess@broadcom.com>
10557
10558 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10559 appearing in any order.
10560
105612014-04-15 Doug Evans <dje@google.com>
10562
10563 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10564 uninitialized value of "description".
10565
105662014-04-15 Keith Seitz <keiths@redhat.com>
10567
10568 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10569 Remove unused globals.
10570 (test_running_the_program): Likewise.
10571 (test_controlled_execution): Likewise.
10572 (test_controlling_breakpoints): Likewise.
10573 (test_program_termination): Likewise.
10574
105752014-04-15 Keith Seitz <keiths@redhat.com>
10576
10577 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10578 unused globals.
10579 (test_rbreak_creation_and_listing): Likewise.
10580 (test_ignore_count): Likewise.
10581 (test_error): Likewise.
10582
105832014-04-15 Pedro Alves <palves@redhat.com>
10584
10585 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10586 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10587 sym-file-loader.c.
10588 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10589 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10590 to sym-file-loader.c.
10591 (struct library): Forward declare.
10592 (load_shlib, lookup_function): Change prototypes.
10593 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10594 (translate_offset): Remove declarations.
10595 (get_text_addr): New declaration.
10596 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10597 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10598 sym-file-loader.h.
10599 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10600 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10601 here from sym-file-loader.h.
10602 (struct library): New structure.
10603 (load_shlib, lookup_function): Change prototypes and adjust to
10604 work with a struct library.
10605 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10606 (translate_offset): Make static.
10607 (get_text_addr): New function.
10608 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
10609
106102014-04-15 Pedro Alves <palves@redhat.com>
10611
10612 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
10613
106142014-04-15 Pedro Alves <palves@redhat.com>
10615
10616 * gdb.base/sym-file-loader.c: Include <limits.h>.
10617 (SELF_LINK): New define.
10618 (get_origin): New function.
10619 (load_shlib): Use it.
10620 * gdb.base/sym-file.exp: Don't early return if the target is
10621 remote. Use runto_main, and issue fail is that fails. Use
10622 gdb_load_shlibs.
10623 (shlib_name): Delete.
10624 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
10625
106262014-04-15 Pedro Alves <palves@redhat.com>
10627
10628 * gdb.base/sym-file.exp: Remove regex characters from test
10629 message. Don't refer to breakpoint numbers in test messages.
10630
106312014-04-14 Keith Seitz <keiths@redhat.com>
10632
10633 PR c++/16253
10634 * gdb.cp/var-tag.cc: New file.
10635 * gdb.cp/var-tag.exp: New file.
10636 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10637 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10638 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10639 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10640
106412014-04-14 Tom Tromey <tromey@redhat.com>
10642
10643 * gdb.cp/classes.exp (test_enums): Handle underlying type.
10644 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
10645 type.
10646 * gdb.cp/enum-class.exp: New file.
10647 * gdb.cp/enum-class.cc: New file.
10648
106492014-04-14 Tom Tromey <tromey@redhat.com>
10650
10651 * gdb.dwarf2/enum-type.exp: New file.
10652
106532014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10654
10655 * gdb.mi/mi-vla-c99.exp: New file.
10656 * gdb.mi/vla.c: New file.
10657
106582014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10659
10660 * gdb.base/vla-datatypes.c: New file.
10661 * gdb.base/vla-datatypes.exp: New file.
10662
106632014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10664
10665 * gdb.base/vla-ptr.c: New file.
10666 * gdb.base/vla-ptr.exp: New file.
10667
106682014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10669
10670 * gdb.dwarf2/count.exp: New file.
10671
106722014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10673
10674 * gdb.base/vla-sideeffect.c: New file.
10675 * gdb.base/vla-sideeffect.exp: New file.
10676
106772014-04-14 David Blaikie <dblaikie@gmail.com>
10678
10679 * gdb.mi/non-stop.c: Add return value for non-void function return
10680 statement.
10681 * gdb.threads/staticthreads.c: Ditto.
10682
106832014-04-12 Siva Chandra Reddy <sivachandra@google.com>
10684 Doug Evans <xdje42@gmail.com>
10685
10686 * gdb.guile/scm-value.c: Improve test case.
10687 * gdb.guile/scm-value.exp: Add new test.
10688
106892014-04-11 David Blaikie <dblaikie@gmail.com>
10690
10691 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
10692 override Clang's default.
10693
106942014-04-11 Joel Brobecker <brobecker@adacore.com>
10695
10696 Revert the following changes (regressions):
10697
10698 * gdb.base/vla-sideeffect.c: New file.
10699 * gdb.base/vla-sideeffect.exp: New file.
10700
10701 * gdb.dwarf2/count.exp: New file.
10702
10703 * gdb.base/vla-multi.c: New file.
10704 * gdb.base/vla-multi.exp: New file.
10705
10706 * gdb.base/vla-ptr.c: New file.
10707 * gdb.base/vla-ptr.exp: New file.
10708
10709 * gdb.base/vla-datatypes.c: New file.
10710 * gdb.base/vla-datatypes.exp: New file.
10711
10712 * gdb.mi/mi-vla-c99.exp: New file.
10713 * gdb.mi/vla.c: New file.
10714
107152014-04-11 Keith Seitz <keiths@redhat.com>
10716
10717 PR c++/16675
10718 * gdb.cp/cpsizeof.exp: New file.
10719 * gdb.cp/cpsizeof.cc: New file.
10720
107212014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10722
10723 * gdb.mi/mi-vla-c99.exp: New file.
10724 * gdb.mi/vla.c: New file.
10725
107262014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10727
10728 * gdb.base/vla-datatypes.c: New file.
10729 * gdb.base/vla-datatypes.exp: New file.
10730
107312014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10732
10733 * gdb.base/vla-ptr.c: New file.
10734 * gdb.base/vla-ptr.exp: New file.
10735
107362014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10737
10738 * gdb.base/vla-multi.c: New file.
10739 * gdb.base/vla-multi.exp: New file.
10740
107412014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10742
10743 * gdb.dwarf2/count.exp: New file.
10744
107452014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10746
10747 * gdb.base/vla-sideeffect.c: New file.
10748 * gdb.base/vla-sideeffect.exp: New file.
10749
107502014-04-11 Yao Qi <yao@codesourcery.com>
10751
10752 * gdb.base/completion.exp: Check file exists before running tests
10753 on file completion.
10754
107552014-04-10 Pedro Alves <palves@redhat.com>
10756
10757 * gdb.base/cond-eval-mode.c: New file.
10758 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
10759 prepare_for_testing to build the new file. Check result of
10760 runto_main.
10761 (test_break, test_watch): New procedures.
10762 (top level): Use them.
10763
107642014-04-08 Pierre Muller <muller@sourceware.org>
10765
10766 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
10767 Ctrl-V use for mingw hosts.
10768
107692014-04-07 Siva Chandra Reddy <sivachandra@google.com>
10770
10771 * gdb.python/py-value.c: Improve test case.
10772 * gdb.python/py-value.exp: Add new test.
10773
107742014-04-07 David Blaikie <dblaikie@gmail.com>
10775
10776 * lib/compiler.c: Identify the clang compiler.
10777 * lib/compiler.cc: Ditto.
10778
107792014-04-03 Yao Qi <yao@codesourcery.com>
10780
10781 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
10782
107832014-04-01 Anton Blanchard <anton@samba.org>
10784
10785 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
10786 messages unique.
10787
107882014-04-01 Anton Blanchard <anton@samba.org>
10789
10790 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
10791 prepare_for_testing.
10792
107932014-04-01 Anton Blanchard <anton@samba.org>
10794
10795 * gdb.arch/ppc64-atomic-inst.c: Remove.
10796 * gdb.arch/ppc64-atomic-inst.S: New file.
10797 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
10798
107992014-03-31 Doug Evans <dje@google.com>
10800
10801 * gdb.base/print-symbol-loading-lib.c: New file.
10802 * gdb.base/print-symbol-loading-main.c: New file.
10803 * gdb.base/print-symbol-loading.exp: New file.
10804
108052014-03-31 Yao Qi <yao@codesourcery.com>
10806
10807 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
10808
108092014-03-28 Joel Brobecker <brobecker@adacore.com>
10810
10811 * gdb.ada/mi_dyn_arr: New testcase.
10812
108132014-03-27 Doug Evans <dje@google.com>
10814
10815 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
10816
108172014-03-27 Yao Qi <yao@codesourcery.com>
10818
10819 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
10820 if target is nios2-*-*.
10821
108222014-03-26 Yao Qi <yao@codesourcery.com>
10823
10824 * lib/gdb.exp (readline_is_used): New proc.
10825 * gdb.base/completion.exp: Move tests on command complete up.
10826 Skip the rest of tests if readline is not used.
10827 * gdb.ada/complete.exp: Skp the test if readline is not
10828 used.
10829 * gdb.base/filesym.exp: Likewise.
10830 * gdb.base/macscp.exp: Likewise.
10831 * gdb.base/readline-ask.exp: Likewise.
10832 * gdb.base/readline.exp: Likewise.
10833 * gdb.python/py-cmd.exp: Likewise.
10834 * gdb.trace/tfile.exp: Likewise.
10835
108362014-03-26 Yao Qi <yao@codesourcery.com>
10837
10838 * gdb.base/macscp.exp: Fix code format issues.
10839
108402014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
10841
10842 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
10843 * gdb.asm/powerpc64le.inc: New file.
10844
108452014-03-25 Pedro Alves <palves@redhat.com>
10846 Doug Evans <dje@google.com>
10847
10848 * gdb.base/source-execution.c: New file.
10849 * gdb.base/source-execution.exp: New file.
10850 * gdb.base/source-execution.gdb: New file.
10851
108522014-03-24 Doug Evans <dje@google.com>
10853
10854 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
10855 using fission.
10856
108572014-03-24 Hui Zhu <hui@codesourcery.com>
10858 Pedro Alves <palves@redhat.com>
10859
10860 PR breakpoints/16101
10861 * gdb.base/dprintf.exp: Use unsupported rather than changing the
10862 test pass/fail messages. Detect missing support for dprintf when
10863 breakpoints are actually inserted.
10864 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
10865 breakpoints are actually inserted.
10866 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
10867 fails.
10868
108692014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10870
10871 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
10872
108732014-03-22 Doug Evans <xdje42@gmail.com>
10874
10875 * gdb.python/python.exp (python not supported): Verify multi-line
10876 python command issues an error.
10877 * gdb.guile/guile.exp (guile not supported): Verify multi-line
10878 guile command issues an error.
10879
108802014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
10881
10882 * gdb.threads/thread-specific.exp: Handle the lack of usable
10883 $this_breakpoint and $this_thread.
10884
108852014-03-21 Hui Zhu <hui@codesourcery.com>
10886
10887 * gdb.base/attach.exp (do_command_attach_tests): New.
10888
108892014-03-20 Tom Tromey <tromey@redhat.com>
10890 Pedro Alves <palves@redhat.com>
10891
10892 PR cli/15718
10893 * gdb.base/condbreak-call-false.c: New file.
10894 * gdb.base/condbreak-call-false.exp: New file.
10895
108962014-03-20 Pedro Alves <palves@redhat.com>
10897
10898 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
10899 Delete.
10900 (block_signals, unblock_signals): Delete.
10901 (child_function_2, main): Remove references to deleted variable
10902 and functions.
10903
109042014-03-20 Pedro Alves <palves@redhat.com>
10905
10906 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
10907 Use pthread_kill to signal thread 2.
10908 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10909 Adjust to make the test send itself a signal rather than using the
10910 host's "kill" command.
10911
109122014-03-20 Pedro Alves <palves@redhat.com>
10913
10914 * gdb.threads/multiple-step-overs.c: New file.
10915 * gdb.threads/multiple-step-overs.exp: New file.
10916 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
10917 Adjust expected infrun debug output.
10918
109192014-03-20 Pedro Alves <palves@redhat.com>
10920
10921 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
10922 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
10923
109242014-03-20 Pedro Alves <palves@redhat.com>
10925
10926 PR breakpoints/7143
10927 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
10928 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
10929 of gdb_test_multiple.
10930 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
10931 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
10932
109332014-03-20 Pedro Alves <palves@redhat.com>
10934
10935 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
10936 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
10937
109382014-03-19 Pedro Alves <palves@redhat.com>
10939
10940 * gdb.base/async.exp: Remove early return.
10941
109422014-03-19 Pedro Alves <palves@redhat.com>
10943
10944 * gdb.base/async.exp (step& tests): Pass explicit test messages.
10945
109462014-03-19 Pedro Alves <palves@redhat.com>
10947
10948 * gdb.base/async.exp (test_background): Expect \r\n after
10949 "completed." in the fail pattern.
10950
109512014-03-19 Pedro Alves <palves@redhat.com>
10952
10953 * gdb.base/async.exp (test_background): New procedure.
10954 Use it for all background execution command tests.
10955
109562014-03-19 Pedro Alves <palves@redhat.com>
10957
10958 * gdb.base/async.exp: Use prepare_for_testing.
10959
109602014-03-19 Pedro Alves <palves@redhat.com>
10961
10962 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
10963 the same line.
10964
109652014-03-19 Pedro Alves <palves@redhat.com>
10966
10967 * gdb.base/async.c (main): Add "jump here" and "until here" line
10968 marker comments.
10969 * gdb.base/async.exp (jump_here): New global.
10970 (jump& test): Use it.
10971 (until_here): New global.
10972 (until& test): Use it.
10973
109742014-03-19 Pedro Alves <palves@redhat.com>
10975
10976 * gdb.base/async.exp: Don't frob gdb_protocol.
10977
109782014-03-18 Doug Evans <xdje42@gmail.com>
10979
10980 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
10981 Fix spelling of exec-done-display.
10982
109832014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10984
10985 PR gdb/15358
10986 * gdb.base/gdb-sigterm.c: New file.
10987 * gdb.base/gdb-sigterm.exp: New file.
10988
109892014-03-18 Pedro Alves <palves@redhat.com>
10990
10991 PR gdb/13860
10992 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
10993 * lib/mi-support.exp (mi_expect_stop): Add special handling for
10994 solib-event.
10995
109962014-03-17 Joel Brobecker <brobecker@adacore.com>
10997
10998 * gdb.ada/pckd_arr_ren: New testcase.
10999
110002014-03-13 Doug Evans <xdje42@gmail.com>
11001
11002 PR guile/16612
11003 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
11004 collect after discarding symbols.
11005
110062014-03-13 Ludovic Courtès <ludo@gnu.org>
11007 Doug Evans <xdje42@gmail.com>
11008
11009 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
11010 to history survives a gc.
11011
110122014-03-13 Pedro Alves <palves@redhat.com>
11013
11014 * gdb.base/default.exp: Don't test "target procfs".
11015
110162014-03-13 Pedro Alves <palves@redhat.com>
11017
11018 * gdb.base/default.exp: Update "target child" and "target procfs"
11019 tests to not expect "Unix".
11020
110212014-03-12 Tom Tromey <tromey@redhat.com>
11022
11023 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
11024 New procs. Add target-async tests.
11025 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
11026 Add target-async tests.
11027
110282014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11029
11030 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
11031 'func_start' and 'func_end' for the beginning and end of the
11032 function code, respectively.
11033 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
11034 'func_end' instead of 'func' and 'main'.
11035
110362014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11037
11038 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
11039 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
11040 generate the debug info assembler source.
11041
110422014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11043
11044 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
11045 * gdb.dwarf2/arr-subrange.exp: Likewise.
11046 * gdb.dwarf2/dwz.exp: Likewise.
11047 * gdb.dwarf2/method-ptr.exp: Likewise.
11048 * gdb.dwarf2/missing-sig-type.exp: Likewise.
11049 * gdb.dwarf2/subrange.exp: Likewise.
11050 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
11051 * gdb.dwarf2/implptrpiece.exp: Likewise.
11052 * gdb.dwarf2/nostaticblock.exp: Likewise.
11053
110542014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11055
11056 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
11057 directory to absolute path name arguments.
11058
110592014-03-10 Joel Brobecker <brobecker@adacore.com>
11060
11061 * gdb.ada/tagged_access: New testcase.
11062
110632014-03-07 Markus Metzger <markus.t.metzger@intel.com>
11064
11065 * gdb.btrace/data.exp: Update expected output.
11066
110672014-03-06 Yao Qi <yao@codesourcery.com>
11068
11069 * gdb.trace/pr16508.exp: New file.
11070
110712014-03-05 Pedro Alves <palves@redhat.com>
11072
11073 PR gdb/16575
11074 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
11075 procedure.
11076 (top level): Adjust to use it. Add tests that exercise breakpoint
11077 interaction with the code-cache.
11078
110792014-02-26 Ludovic Courtès <ludo@gnu.org>
11080
11081 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
11082 test for 'history-append!'.
11083
110842014-02-26 Joel Brobecker <brobecker@adacore.com>
11085
11086 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
11087 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
11088 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
11089 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
11090 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
11091 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
11092
110932014-02-26 Joel Brobecker <brobecker@adacore.com>
11094
11095 * testsuite/gdb.python/py-pp-re-notag.c: New file.
11096 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
11097 * testsuite/gdb.python/py-pp-re-notag.p: New file.
11098
110992014-02-26 Joel Brobecker <brobecker@adacore.com>
11100
11101 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
11102
111032014-02-26 Joel Brobecker <brobecker@adacore.com>
11104
11105 * gdb.dwarf2/arr-stride.c: New file.
11106 * gdb.dwarf2/arr-stride.exp: New file.
11107
111082014-02-26 Pedro Alves <palves@redhat.com>
11109
11110 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
11111 that won't ever trigger. Make sure that GDB reports the correct
11112 breakpoint that caused the stop.
11113
111142014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11115
11116 PR gdb/16626
11117 * gdb.base/auto-load-script: New file.
11118 * gdb.base/auto-load.c: New file.
11119 * gdb.base/auto-load.exp: New file.
11120
11121 PR gdb/16626
11122 * gdb.base/auto-load.exp: Fix out-of-srctree run.
11123
111242014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11125
11126 Fix dw2-icycle.exp -fsanitize=address GDB crash.
11127 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
11128
111292014-02-24 Doug Evans <dje@google.com>
11130
11131 * lib/gdb.exp (run_on_host): Log error output if program fails.
11132
111332014-02-21 Pedro Alves <palves@redhat.com>
11134
11135 * gdb.threads/step-after-sr-lock.c: Rename to ...
11136 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
11137 * gdb.threads/step-after-sr-lock.exp: Rename to ...
11138 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11139 ... this.
11140
111412014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
11142
11143 PR tdep/16397
11144 * gdb.arch/amd64-stap-special-operands.exp: New file.
11145 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
11146 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
11147 * gdb.arch/amd64-stap-triplet.S: Likewise.
11148 * gdb.arch/amd64-stap-triplet.c: Likewise.
11149
111502014-02-20 Joel Brobecker <brobecker@adacore.com>
11151
11152 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
11153 in .section pseudo-op.
11154
111552014-02-20 lin zuojian <manjian2006@gmail.com>
11156 Joel Brobecker <brobecker@adacore.com>
11157 Doug Evans <xdje42@gmail.com>
11158
11159 PR symtab/16581
11160 * gdb.dwarf2/dw2-icycle.S: New file.
11161 * gdb.dwarf2/dw2-icycle.c: New file.
11162 * gdb.dwarf2/dw2-icycle.exp: New file.
11163
111642014-02-19 Siva Chandra Reddy <sivachandra@google.com>
11165
11166 * gdb.python/py-value-cc.cc: Improve test case to enable testing
11167 operations on gdb.Value objects.
11168 * gdb.python/py-value-cc.exp: Add new test to test operations on
11169 gdb.Value objects.
11170
111712014-02-18 Doug Evans <dje@google.com>
11172
11173 * Makefile.in (TESTS): New variable.
11174 (expanded_tests, expanded_tests_or_none): New variables
11175 (check-single): Pass $(expanded_tests_or_none) to runtest.
11176 (check-parallel): Only run tests in $(TESTS) if non-empty.
11177 (check/no-matching-tests-found): New rule.
11178 * README: Document TESTS makefile variable.
11179
111802014-02-18 Doug Evans <dje@google.com>
11181
11182 * Makefile.in (check-parallel): rm -rf outputs temp.
11183
111842014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11185
11186 Fix "ERROR: no fileid for" in the testsuite.
11187 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
11188
111892014-02-12 Doug Evans <dje@google.com>
11190
11191 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
11192 (MISCELLANEOUS): New variable.
11193 (clean): rm -rf $(MISCELLANEOUS).
11194 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
11195 dwp live in the same directory as symlinks, with each symlink pointed
11196 to a differently named file in a different directory.
11197
111982014-02-11 Doug Evans <dje@google.com>
11199
11200 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
11201 of Tcl file commands.
11202
112032014-02-10 Mark Kettenis <kettenis@gnu.org>
11204
11205 * gdb.threads/step-after-sr-lock.exp: Avoid executing
11206 "kill -SIGUSR1 -1".
11207
112082014-02-10 Joel Brobecker <brobecker@adacore.com>
11209
11210 * gdb.ada/tick_length_array_enum_idx: New testcase.
11211
112122014-02-10 Doug Evans <xdje42@gmail.com>
11213
11214 * configure.ac (AC_OUTPUT): Add gdb.guile.
11215 * configure: Regenerate.
11216 * lib/gdb-guile.exp: New file.
11217 * lib/gdb.exp (get_target_charset): New function.
11218 * gdb.base/help.exp: Update expected output from "apropos apropos".
11219 * gdb.guile/Makefile.in: New file.
11220 * gdb.guile/guile.exp: New file.
11221 * gdb.guile/scm-arch.c: New file.
11222 * gdb.guile/scm-arch.exp: New file.
11223 * gdb.guile/scm-block.c: New file.
11224 * gdb.guile/scm-block.exp: New file.
11225 * gdb.guile/scm-breakpoint.c: New file.
11226 * gdb.guile/scm-breakpoint.exp: New file.
11227 * gdb.guile/scm-disasm.c: New file.
11228 * gdb.guile/scm-disasm.exp: New file.
11229 * gdb.guile/scm-equal.c: New file.
11230 * gdb.guile/scm-equal.exp: New file.
11231 * gdb.guile/scm-error.exp: New file.
11232 * gdb.guile/scm-error.scm: New file.
11233 * gdb.guile/scm-frame-args.c: New file.
11234 * gdb.guile/scm-frame-args.exp: New file.
11235 * gdb.guile/scm-frame-args.scm: New file.
11236 * gdb.guile/scm-frame-inline.c: New file.
11237 * gdb.guile/scm-frame-inline.exp: New file.
11238 * gdb.guile/scm-frame.c: New file.
11239 * gdb.guile/scm-frame.exp: New file.
11240 * gdb.guile/scm-generics.exp: New file.
11241 * gdb.guile/scm-gsmob.exp: New file.
11242 * gdb.guile/scm-iterator.c: New file.
11243 * gdb.guile/scm-iterator.exp: New file.
11244 * gdb.guile/scm-math.c: New file.
11245 * gdb.guile/scm-math.exp: New file.
11246 * gdb.guile/scm-objfile-script-gdb.in: New file.
11247 * gdb.guile/scm-objfile-script.c: New file.
11248 * gdb.guile/scm-objfile-script.exp: New file.
11249 * gdb.guile/scm-objfile.c: New file.
11250 * gdb.guile/scm-objfile.exp: New file.
11251 * gdb.guile/scm-ports.exp: New file.
11252 * gdb.guile/scm-pretty-print.c: New file.
11253 * gdb.guile/scm-pretty-print.exp: New file.
11254 * gdb.guile/scm-pretty-print.scm: New file.
11255 * gdb.guile/scm-section-script.c: New file.
11256 * gdb.guile/scm-section-script.exp: New file.
11257 * gdb.guile/scm-section-script.scm: New file.
11258 * gdb.guile/scm-symbol.c: New file.
11259 * gdb.guile/scm-symbol.exp: New file.
11260 * gdb.guile/scm-symtab-2.c: New file.
11261 * gdb.guile/scm-symtab.c: New file.
11262 * gdb.guile/scm-symtab.exp: New file.
11263 * gdb.guile/scm-type.c: New file.
11264 * gdb.guile/scm-type.exp: New file.
11265 * gdb.guile/scm-value-cc.cc: New file.
11266 * gdb.guile/scm-value-cc.exp: New file.
11267 * gdb.guile/scm-value.c: New file.
11268 * gdb.guile/scm-value.exp: New file.
11269 * gdb.guile/source2.scm: New file.
11270 * gdb.guile/types-module.cc: New file.
11271 * gdb.guile/types-module.exp: New file.
11272
112732014-02-10 Yao Qi <yao@codesourcery.com>
11274
11275 PR testsuite/16543
11276 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
11277 * configure: Regenerated.
11278 * Makefile.in: New file.
11279
112802014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11281
11282 * gdb.python/py-framefilter.exp: Fix typo.
11283
112842014-02-08 Yao Qi <yao@codesourcery.com>
11285
11286 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
11287 that no =breakpoint-modified is emitted when breakpoints are
11288 modified through MI commands.
11289
112902014-02-07 Pedro Alves <pedro@codesourcery.com>
11291 Pedro Alves <palves@redhat.com>
11292
11293 * gdb.threads/step-after-sr-lock.c: New file.
11294 * gdb.threads/step-after-sr-lock.exp: New file.
11295
112962014-02-07 Pedro Alves <palves@redhat.com>
11297
11298 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
11299
113002014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11301
11302 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
11303 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
11304
113052014-02-06 Doug Evans <xdje42@gmail.com>
11306
11307 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
11308 output.
11309
11310 * gdb.gdb/python-interrupts.exp: New file.
11311
113122014-02-05 Yao Qi <yao@codesourcery.com>
11313
11314 * gdb.trace/report.exp (use_collected_data): Test the output
11315 of "info threads" and "info inferiors".
11316
113172014-02-05 Yao Qi <yao@codesourcery.com>
11318
11319 Revert this patch:
11320
11321 2013-05-24 Yao Qi <yao@codesourcery.com>
11322
11323 * gdb.trace/tfile.exp: Test inferior and thread.
11324
113252014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11326
11327 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
11328 on a function.
11329 * gdb.base/step-bt.c: Call hello via function pointer to make
11330 sure its first instruction is executed on powerpc64le-linux.
11331
113322014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11333
11334 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
11335
113362014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11337
11338 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
11339 of the test patterns for use on little-endian systems.
11340
113412014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11342
11343 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
11344 (decimal_vector): Fix for little-endian.
11345
113462014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11347
11348 * gdb.arch/sparc-sysstep.exp: New file.
11349 * gdb.arch/sparc-sysstep.c: Likewise.
11350
11351 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
11352
113532014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11354
11355 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
11356
113572014-01-23 Tom Tromey <tromey@redhat.com>
11358
11359 * gdb.ada/array_char_idx: New testcase.
11360
113612014-01-23 Tom Tromey <tromey@redhat.com>
11362
11363 PR python/16487:
11364 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
11365 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
11366 classes.
11367
113682014-01-23 Tom Tromey <tromey@redhat.com>
11369
11370 PR python/16491:
11371 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
11372 string from an inferior frame.
11373 * gdb.python/py-framefilter-mi.exp: Update.
11374
113752014-01-22 Doug Evans <dje@google.com>
11376
11377 * gdb.server/server-mon.exp: Add tests for "set debug-format".
11378
113792014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11380
11381 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
11382
113832014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11384
11385 * gdb.trace/entry-values.exp: Remove excess space character from
11386 regex patterns. Handle s390 call instruction.
11387
113882014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11389
11390 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
11391 define "*_start" label. Make "name" static.
11392 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
11393 ${name} by references to ${name}_start.
11394
113952014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11396
11397 * gdb.base/info-macros.exp: Remove "debug" from the compile
11398 options.
11399
114002014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11401
11402 * gdb.dlang/demangle.exp: New file.
11403
114042014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11405
11406 * gdb.dlang/primitive-types.exp: New file.
11407
114082014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11409
11410 * configure.ac: Create gdb.dlang/Makefile.
11411 * configure: Regenerate.
11412 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
11413 * gdb.dlang/Makefile.in: New file.
11414 * lib/d-support.exp: New file.
11415 * lib/gdb.exp (skip_d_tests): New proc.
11416
114172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11418
11419 * gdb.btrace/delta.exp: Check reverse stepi.
11420 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
11421 * gdb.btrace/finish.exp: New.
11422 * gdb.btrace/next.exp: New.
11423 * gdb.btrace/nexti.exp: New.
11424 * gdb.btrace/record_goto.c: Add comments.
11425 * gdb.btrace/step.exp: New.
11426 * gdb.btrace/stepi.exp: New.
11427 * gdb.btrace/multi-thread-step.c: New.
11428 * gdb.btrace/multi-thread-step.exp: New.
11429 * gdb.btrace/rn-dl-bind.c: New.
11430 * gdb.btrace/rn-dl-bind.exp: New.
11431 * gdb.btrace/data.c: New.
11432 * gdb.btrace/data.exp: New.
11433 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11434
114352014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11436
11437 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
11438 * gdb.btrace/exception.exp: Update.
11439 * gdb.btrace/instruction_history.exp: Update.
11440 * gdb.btrace/record_goto.exp: Update.
11441 * gdb.btrace/tailcall.exp: Update.
11442 * gdb.btrace/unknown_functions.exp: Update.
11443 * gdb.btrace/delta.exp: New.
11444
114452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11446
11447 * gdb.btrace/record_goto.exp: Add backtrace test.
11448 * gdb.btrace/tailcall.exp: Add backtrace test.
11449
114502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11451
11452 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
11453 * gdb.btrace/record_goto.c: New.
11454 * gdb.btrace/record_goto.exp: New.
11455 * gdb.btrace/x86-record_goto.S: New.
11456
114572014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11458
11459 * gdb.btrace/function_call_history.exp: Update tests.
11460 * gdb.btrace/instruction_history.exp: Update tests.
11461
114622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11463
11464 * gdb.btrace/function_call_history.exp: Fix expected field
11465 order for "record function-call-history".
11466 Add new tests for "record function-call-history /c".
11467 * gdb.btrace/exception.cc: New.
11468 * gdb.btrace/exception.exp: New.
11469 * gdb.btrace/tailcall.exp: New.
11470 * gdb.btrace/x86-tailcall.S: New.
11471 * gdb.btrace/x86-tailcall.c: New.
11472 * gdb.btrace/unknown_functions.c: New.
11473 * gdb.btrace/unknown_functions.exp: New.
11474 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11475
114762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11477
11478 * gdb.btrace/instruction_history.exp: Update.
11479 * gdb.btrace/function_call_history.exp: Update.
11480
114812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11482
11483 * gdb.btrace/function_call_history.exp: Fix expected function
11484 trace.
11485 * gdb.btrace/instruction_history.exp: Initialize traced.
11486 Remove traced_functions.
11487
114882014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11489
11490 * gdb.btrace/function_call_history.exp: Update
11491 * gdb.btrace/instruction_history.exp: Update.
11492
114932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11494
11495 * gdb.btrace/enable.exp: Update expected text.
11496
114972014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
11498
11499 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
11500 bytes.
11501
115022014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
11503
11504 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
11505
115062014-01-15 Omair Javaid <omair.javaid@linaro.org>
11507
11508 * lib/gdb.exp (supports_process_record): Return true for
11509 arm*-linux*. (supports_reverse): Likewise.
11510
115112014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11512
11513 PR python/15464
11514 PR python/16113
11515 * gdb.python/py-type.c: Enhance test case.
11516 * gdb.python/py-value-cc.cc: Likewise
11517 * gdb.python/py-type.exp: Add new tests.
11518 * gdb.python/py-value-cc.exp: Likewise
11519
115202014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11521 Pedro Alves <palves@redhat.com>
11522
11523 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11524 Make "name" extern.
11525 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11526 references to ${name}_start by references to ${name}.
11527
115282014-01-10 Joel Brobecker <brobecker@adacore.com>
11529
11530 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11531
115322014-01-10 Joel Brobecker <brobecker@adacore.com>
11533
11534 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11535
115362014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11537 Pedro Alves <palves@redhat.com>
11538
11539 * gdb.mi/mi-info-os.exp: Connect to the target with
11540 mi_gdb_target_load.
11541
115422014-01-08 Pedro Alves <palves@redhat.com>
11543
11544 * gdb.threads/reconnect-signal.c: New file.
11545 * gdb.threads/reconnect-signal.exp: New file.
11546
115472014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11548
11549 * gdb.base/source-dir.exp: New file.
11550
115512014-01-07 Joel Brobecker <brobecker@adacore.com>
11552
11553 * gdb.ada/mi_interface: New testcase.
11554
115552014-01-07 Joel Brobecker <brobecker@adacore.com>
11556
11557 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11558 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11559 gdb.ada/pp-rec-component/pck.ads: New files.
11560
115612014-01-07 Joel Brobecker <brobecker@adacore.com>
11562
11563 * gdb.python/py-pp-integral.c: New file.
11564 * gdb.python/py-pp-integral.py: New file.
11565 * gdb.python/py-pp-integral.exp: New file.
11566
11567For older changes see ChangeLog-1993-2013.
11568\f
11569;; Local Variables:
11570;; mode: change-log
11571;; left-margin: 8
11572;; fill-column: 74
11573;; version-control: never
11574;; End:
11575
11576 Copyright 2014-2017 Free Software Foundation, Inc.
11577 Copying and distribution of this file, with or without modification,
11578 are permitted provided the copyright notice and this notice are preserved.
This page took 0.07385 seconds and 4 git commands to generate.