1 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
3 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6 2017-08-05 Tom Tromey <tom@tromey.com>
8 * gdb.rust/simple.exp: Allow String to appear in a different
11 2017-07-26 Yao Qi <yao.qi@linaro.org>
13 * gdb.gdb/unittest.exp: Invoke command
14 "maintenance check xml-descriptions".
16 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
18 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
20 (hex128): Drop erroneous calculation of parameters.
22 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
24 * gdb.python/py-unwind.exp: Disable stack protection when
27 2017-07-20 Pedro Alves <palves@redhat.com>
29 * gdb.base/default.exp (set language): Adjust expected output.
31 2017-07-20 Pedro Alves <palves@redhat.com>
33 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
34 (test_minsym): ... this, and make static.
35 (get_pck__foo__bar__minsym): Rename to ...
36 (get_test_minsym): ... this.
37 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
38 symbol names and comments.
39 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
40 (get_test_minsym): ... this.
41 (pck__foo__bar__minsym__2): Rename to ...
42 (test_minsym): ... this.
45 2017-07-17 Pedro Alves <palves@redhat.com>
47 * gdb.base/completion.exp: Adjust expected output.
48 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
51 2017-07-17 Pedro Alves <palves@redhat.com>
53 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
55 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
57 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
59 2017-07-14 Tom Tromey <tom@tromey.com>
62 * gdb.rust/simple.exp: Add tests.
64 2017-07-14 Tom Tromey <tom@tromey.com>
66 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
68 2017-07-14 Pedro Alves <palves@redhat.com>
70 * gdb.linespec/base/one/thefile.cc (z1): New function.
71 * gdb.linespec/base/two/thefile.cc (z2): New function.
72 * gdb.linespec/linespec.exp: Add tests.
74 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
76 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
77 to mi_create_breakpoint.
79 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
81 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
84 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
86 * gdb.dlang/demangle.exp: Update for demangling changes.
88 2017-07-09 Tom Tromey <tom@tromey.com>
90 * gdb.dwarf2/shortpiece.exp: New file.
92 2017-07-06 David Blaikie <dblaikie@gmail.com>
94 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
95 built from fissiont-multi-cu{1,2}.c.
96 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
97 except putting 'main' and 'func' in separate CUs in the same DWO file.
98 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
100 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
103 2017-07-06 Pedro Alves <palves@redhat.com>
105 * gdb.python/py-unwind.exp: Test flushregs.
107 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
110 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
111 tests for alias commands and trailing whitespace.
113 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
116 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
119 2017-06-29 Pedro Alves <palves@redhat.com>
121 * gdb.base/printcmds.exp: Add tests.
123 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
126 * gdb.base/reread-readsym.exp: New file.
127 * gdb.base/reread-readsym.c: New file.
129 2017-06-21 Kevin Buettner <kevinb@redhat.com>
131 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
134 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
136 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
138 * gdb.arch/powerpc-power9.s: Likewise.
140 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
142 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
143 on 32-bit x86 targets. Exploit is_*_target macros where
146 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
148 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
151 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
153 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
154 located in one or more DWARF pieces.
156 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
158 * lib/gdb.exp (get_endianness): New proc.
159 * gdb.arch/aarch64-fp.exp: Use it.
160 * gdb.arch/altivec-regs.exp: Likewise.
161 * gdb.arch/e500-regs.exp: Likewise.
162 * gdb.arch/vsx-regs.exp: Likewise.
163 * gdb.base/dump.exp: Likewise.
164 * gdb.base/funcargs.exp: Likewise.
165 * gdb.base/gnu_vector.exp: Likewise.
166 * gdb.dwarf2/formdata16.exp: Likewise.
167 * gdb.dwarf2/implptrpiece.exp: Likewise.
168 * gdb.dwarf2/nonvar-access.exp: Likewise.
169 * gdb.python/py-inferior.exp: Likewise.
170 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
172 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
175 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
176 stack value pieces are taken from the LSB end.
178 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
180 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
181 variable at nonzero offset.
183 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
185 * gdb.dwarf2/var-access.c: New file.
186 * gdb.dwarf2/var-access.exp: New test.
187 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
189 2017-06-12 Tom Tromey <tom@tromey.com>
191 * gdb.dwarf2/formdata16.exp: Add tests.
193 2017-06-12 Tom Tromey <tom@tromey.com>
195 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
197 2017-06-12 Tom Tromey <tom@tromey.com>
200 * gdb.reverse/i386-sse-reverse.exp: Update tests.
201 * gdb.arch/vsx-regs.exp: Update tests.
202 * gdb.arch/s390-vregs.exp (hex128): New proc.
204 * gdb.arch/altivec-regs.exp: Update tests.
206 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
208 * gdb.base/startup-with-shell.c: New file.
209 * gdb.base/startup-with-shell.exp: Likewise.
211 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
213 * gdb.server/non-existing-program.exp: Update regex in order to
214 reflect the fact that gdbserver is now using fork_inferior (with a
215 shell) to startup the inferior.
217 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
219 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
220 support function calls from GDB.
222 2017-05-21 Tom Tromey <tom@tromey.com>
225 * gdb.rust/unsized.exp: New file.
226 * gdb.rust/unsized.rs: New file.
228 2017-05-19 Tom Tromey <tom@tromey.com>
231 * gdb.rust/watch.exp: New file.
232 * gdb.rust/watch.rs: New file.
234 2017-05-18 Tom Tromey <tom@tromey.com>
236 * gdb.rust/simple.exp: Allow Box to be qualified.
238 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
240 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
242 2017-05-18 Pedro Alves <palves@redhat.com>
244 * gdb.base/fileio.c (test_write, test_read, test_close)
245 (test_fstat): Don't print 'ret' in the fail path.
247 2017-05-18 Pedro Alves <palves@redhat.com>
249 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
250 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
251 (test_system, test_rename, test_unlink, test_time): Change
253 * gdb.base/fileio.exp (stop_msg): Adjust.
255 2017-05-18 Pedro Alves <palves@redhat.com>
257 * gdb.base/fileio.c (null_str): New global.
259 * gdb.base/fileio.exp: Remove nowarnings.
261 2017-05-17 Yao Qi <yao.qi@linaro.org>
263 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
265 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
267 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
269 (top-level): Invoke test_set_inferior_tty.
271 2017-05-04 Pedro Alves <palves@redhat.com>
273 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
274 Add parens to print call for Python 3.
276 2017-05-03 Keith Seitz <keiths@redhat.com>
278 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
281 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
283 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
286 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
288 * gdb.python/py-record-btrace.exp: Remove test for
289 gdb.BtraceInstruction.error.
291 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
293 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
295 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
297 * gdb.python/py-record-btrace-threads.c: New file.
298 * gdb.python/py-record-btrace-threads.exp: New file.
300 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
303 * gdb.base/environ.exp: Make test available in all architectures.
304 Move bits related to "info program" testing to
305 gdb.base/info-program.exp. Rewrite tests to use the two new
306 procedures mentione below.
307 (test_set_show_env_var) New procedure.
308 (test_set_show_env_var_equal): Likewise.
309 * gdb.base/info-program.exp: New file.
311 2017-04-27 Keith Seitz <keiths@redhat.com>
313 * gdb.cp/oranking.cc (test15): New function.
314 (main): Call test15 and declare additional variables for testing.
315 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
316 "p foo101('abc')" tests.
317 Add tests for cv qualifier overloads.
318 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
319 "lvalue reference overload" test.
320 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
321 "print value of f1 on Child&& in f2" test.
323 2017-04-19 Pedro Alves <palves@redhat.com>
325 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
327 (top level): Call it.
328 * lib/gdb.exp (gdb_define_cmd): New procedure.
330 2017-04-12 Pedro Alves <palves@redhat.com>
333 * gdb.cp/wide_char_types.c: Include <wchar.h>.
335 * gdb.cp/wide_char_types.exp (wide_char_types_program)
336 (do_test_wide_char, wide_char_types_no_program, top level): Add
339 2017-04-12 Pedro Alves <palves@redhat.com>
342 * gdb.cp/wide_char_types.c: New file.
343 * gdb.cp/wide_char_types.exp: New file.
345 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
348 * gdb.trace/tsv.exp: Add test for "tsave -r".
350 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
352 * gdb.dlang/watch-loc.c: New file.
353 * gdb.dlang/watch-loc.exp: New file.
355 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
357 * gdb.python/py-section-script.exp (sepdebug): New testcases.
359 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
361 * gdb.arch/arc-analyze-prologue.S: New file.
362 * gdb.arch/arc-analyze-prologue.exp: Likewise.
364 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
366 * gdb.arch/arc-decode-insn.S: New file.
367 * gdb.arch/arc-decode-insn.exp: Likewise.
369 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
372 * gdb.arch/sparc64-regs.exp: New file.
373 * gdb.arch/sparc64-regs.S: Likewise.
375 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
377 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
378 and memory view on Python 3.
380 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
381 Keith Seitz <keiths@redhat.com>
384 * gdb.cp/demangle.exp: Add rvalue reference tests.
385 * gdb.cp/rvalue-ref-casts.cc: New file.
386 * gdb.cp/rvalue-ref-casts.exp: New file.
387 * gdb.cp/rvalue-ref-overload.cc: New file.
388 * gdb.cp/rvalue-ref-overload.exp: New file.
389 * gdb.cp/rvalue-ref-params.cc: New file.
390 * gdb.cp/rvalue-ref-params.exp: New file.
391 * gdb.cp/rvalue-ref-sizeof.cc: New file.
392 * gdb.cp/rvalue-ref-sizeof.exp: New file.
393 * gdb.cp/rvalue-ref-types.cc: New file.
394 * gdb.cp/rvalue-ref-types.exp: New file.
395 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
396 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
398 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
400 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
403 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
405 * lib/mi-support.exp (mi_gdb_test): Add additional message
406 for unexpected output.
408 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
410 * gdb.base/examine-backward.c (Barrier): New character array
411 constant, to ensure that TestStrings is preceded by a string
414 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
416 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
417 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
418 and implicit pointer into such a location.
420 2017-03-16 Doug Evans <dje@google.com>
422 * gdb.python/py-lazy-string (pointer): Really add new typedef.
424 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
426 * gdb.cp/m-static.exp: Fix expectation for prototype of
427 test5.single_constructor and single_constructor::single_constructor.
429 2017-03-16 Doug Evans <dje@google.com>
431 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
432 * gdb.guile/scm-lazy-string.c: New file.
433 * gdb.guile/scm-value.exp: Move lazy string tests to ...
434 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
435 for pointer, array, typedef lazy strings.
437 2017-03-16 Doug Evans <dje@google.com>
439 PR python/17728, python/18439, python/18779
440 * gdb.python/py-value.c (main) Delete locals sptr, sn.
441 * gdb.python/py-lazy-string.c (pointer): New typedef.
442 (main): New locals ptr, array, typedef_ptr.
443 * gdb.python/py-value.exp: Move lazy string tests to ...
444 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
445 array, typedef lazy strings.
447 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
449 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
450 Add optional 'test' parameter.
452 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
454 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
455 Skip for versions of DejaGnu < 1.5.
457 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
459 * lib/gdb.exp (dejagnu_version): New proc.
460 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
463 2017-03-10 Keith Seitz <keiths@redhat.com>
466 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
467 type from destructor regexps.
468 Add a branch which actually passes the test.
469 Adjust "ptype t5i" test names.
471 2017-03-08 Pedro Alves <palves@redhat.com>
473 * gdb.base/step-over-exit.exp: Add explicit test message.
475 2017-03-08 Pedro Alves <palves@redhat.com>
478 * gdb.threads/interrupt-while-step-over.c: New file.
479 * gdb.threads/interrupt-while-step-over.exp: New file.
481 2017-03-08 Pedro Alves <palves@redhat.com>
483 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
484 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
486 2017-03-08 Pedro Alves <palves@redhat.com>
488 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
489 PKRU as not supported as a PASS.
491 2017-03-08 Pedro Alves <palves@redhat.com>
493 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
494 prefix instead of $binfile1/$binfile2.
495 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
497 * gdb.python/py-completion.exp: Use "load python file" as test
498 messages instead of unstable path names.
500 2017-03-08 Pedro Alves <palves@redhat.com>
501 Jan Kratochvil <jan.kratochvil@redhat.com>
504 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
506 (top level): Call it.
508 2017-03-08 Pedro Alves <palves@redhat.com>
511 * gdb.tui/tui-nl-filtered-output.exp: New file.
513 2017-03-08 Pedro Alves <palves@redhat.com>
515 * gdb.base/completion.exp: Move TUI completion tests to ...
516 * gdb.tui/completion.exp: ... this new file.
518 2017-03-08 Pedro Alves <palves@redhat.com>
520 * gdb.base/tui-disasm-long-lines.c,
521 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
522 gdb.base/tui-layout.exp: Move to ...
523 * gdb.tui/: ... this new directory.
525 2017-03-07 Pedro Alves <palves@redhat.com>
527 * gdb.base/tui-layout.c: New file.
528 * gdb.base/tui-layout.exp: New file.
530 2017-03-07 Pedro Alves <palves@redhat.com>
532 * gdb.base/tui-layout.c: Rename to ...
533 * gdb.base/tui-disasm-long-lines.c: ... this.
534 * gdb.base/tui-layout.exp: Rename to ...
535 * gdb.base/tui-disasm-long-lines.exp: ... this.
537 2017-03-07 Pedro Alves <palves@redhat.com>
539 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
541 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
543 * i386-mpx-call.c: New file.
544 * i386-mpx-call.exp: New file.
546 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
548 * gdb.arch/powerpc-power.exp: Delete test.
549 * gdb.arch/powerpc-power.s: Likewise.
550 * gdb.disasm/disassembler-options.exp: New test.
551 * gdb.arch/powerpc-altivec.exp: Likewise.
552 * gdb.arch/powerpc-altivec.s: Likewise.
553 * gdb.arch/powerpc-altivec2.exp: Likewise.
554 * gdb.arch/powerpc-altivec2.s: Likewise.
555 * gdb.arch/powerpc-altivec3.exp: Likewise.
556 * gdb.arch/powerpc-altivec3.s: Likewise.
557 * gdb.arch/powerpc-power7.exp: Likewise.
558 * gdb.arch/powerpc-power7.s: Likewise.
559 * gdb.arch/powerpc-power8.exp: Likewise.
560 * gdb.arch/powerpc-power8.s: Likewise.
561 * gdb.arch/powerpc-power9.exp: Likewise.
562 * gdb.arch/powerpc-power9.s: Likewise.
563 * gdb.arch/powerpc-vsx.exp: Likewise.
564 * gdb.arch/powerpc-vsx.s: Likewise.
565 * gdb.arch/powerpc-vsx2.exp: Likewise.
566 * gdb.arch/powerpc-vsx2.s: Likewise.
567 * gdb.arch/powerpc-vsx3.exp: Likewise.
568 * gdb.arch/powerpc-vsx3.s: Likewise.
569 * gdb.arch/arm-disassembler-options.exp: Likewise.
570 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
571 * gdb.arch/s390-disassembler-options.exp: Likewise.
573 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
575 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
576 (check_supported_features): ... this. Changed return type to void.
577 (supports_rdseed): New static global.
578 (rdseed): Check supports_rdseed.
579 (initialize): Call check_supported_features.
581 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
583 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
584 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
586 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
587 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
589 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
591 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
594 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
596 * gdb.dwarf2/formdata16.c: New file.
597 * gdb.dwarf2/formdata16.exp: New file.
598 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
600 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
602 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
603 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
604 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
605 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
608 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
610 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
612 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
615 * gdb.base/maint.exp: Add testcases for when the commands do
618 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
620 * gdb.cp/chained-calls.exp: Use p instead of P.
622 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
624 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
625 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
627 2017-02-14 Tom Tromey <tom@tromey.com>
630 * gdb.python/py-events.exp: Add before_prompt event tests.
632 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
634 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
636 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
638 * gdb.linespec/explicit.c (my_unique_function_name): New function.
639 (main): Call my_unique_function_name.
640 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
641 completion of patterns with a single match.
642 Add missing -re switches to gdb_test_multiple calls.
644 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
646 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
647 return if core file is not recognized.
649 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
651 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
654 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
656 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
659 2017-02-10 Tom Tromey <tom@tromey.com>
661 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
663 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
666 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
668 2017-02-08 Jerome Guitton <guitton@adacore.com>
670 * gdb.base/define.exp: Add test for command abbreviations
673 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
675 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
676 * gdb.reverse/insn-reverse-x86.c: New file.
678 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
681 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
683 2017-02-03 Tom Tromey <tom@tromey.com>
686 * gdb.rust/simple.exp: Add new tests.
688 2017-02-02 Pedro Alves <palves@redhat.com>
690 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
693 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
695 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
696 taking a 2-byte value out of a 4-byte DWARF implicit value on
698 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
699 logic. Add test cases for DW_OP_implicit.
701 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
703 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
705 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
707 * gdb.btrace/enable.exp: Call gdb_exit before
708 skip_gdbserver_tests.
710 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
712 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
715 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
717 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
719 * gdb.btrace/data.exp: Likewise.
720 * gdb.btrace/delta.exp: Likewise.
721 * gdb.btrace/dlopen.exp: Likewise.
722 * gdb.btrace/enable-running.exp: Likewise.
723 * gdb.btrace/enable.exp: Likewise.
724 * gdb.btrace/exception.exp: Likewise.
725 * gdb.btrace/function_call_history.exp: Likewise.
726 * gdb.btrace/gcore.exp: Likewise.
727 * gdb.btrace/instruction_history.exp: Likewise.
728 * gdb.btrace/multi-thread-step.exp: Likewise.
729 * gdb.btrace/nohist.exp: Likewise.
730 * gdb.btrace/non-stop.exp: Likewise.
731 * gdb.btrace/reconnect.exp: Likewise.
732 * gdb.btrace/record_goto-step.exp: Likewise.
733 * gdb.btrace/record_goto.exp: Likewise.
734 * gdb.btrace/rn-dl-bind.exp: Likewise.
735 * gdb.btrace/segv.exp: Likewise.
736 * gdb.btrace/step.exp: Likewise.
737 * gdb.btrace/stepi.exp: Likewise.
738 * gdb.btrace/tailcall-only.exp: Likewise.
739 * gdb.btrace/tailcall.exp: Likewise.
740 * gdb.btrace/tsx.exp: Likewise.
741 * gdb.btrace/unknown_functions.exp: Likewise.
742 * gdb.btrace/vdso.exp: Likewise.
744 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
746 * gdb.btrace/enable-running.c: New.
747 * gdb.btrace/enable-running.exp: New.
749 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
751 * gdb.arch/amd64-gs_base.c: New file.
752 * gdb.arch/amd64-gs_base.exp: New file.
754 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
756 * lib/memory.exp: Remove spurious empty newlines.
758 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
760 * gdb.python/py-bad-printers.exp: Load python file using "source".
761 * gdb.python/py-events.exp: Likewise.
762 * gdb.python/py-evsignal.exp: Likewise.
763 * gdb.python/py-evthreads.exp: Likewise.
764 * gdb.python/py-frame-args.exp: Likewise.
765 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
766 * gdb.python/py-framefilter-mi.exp: Likewise.
767 * gdb.python/py-framefilter.exp: Likewise.
768 * gdb.python/py-mi.exp: Likewise.
769 * gdb.python/py-pp-maint.exp: Likewise.
770 * gdb.python/py-pp-registration.exp: Likewise.
771 * gdb.python/py-prettyprint.exp: Likewise.
772 (run_lang_tests): Likewise.
773 * gdb.python/py-typeprint.exp: Likewise.
775 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
777 * lib/memory.exp: New file.
778 * lib/gdb.exp: Load memory.exp.
779 * gdb.base/memattr.exp (delete_memory): Move proc to
780 lib/memory.exp and rename to delete_memory_regions.
781 Replace delete_memory with delete_memory_regions.
782 Cleanup memory regions before tests.
783 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
786 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
788 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
790 (initialize): New function conditionally defined.
791 (testcases): Move within conditional block.
792 (main): Call initialize.
793 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
794 of gdb.reverse/insn-reverse.c.
795 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
796 gdb.reverse/insn-reverse.c.
798 2017-01-26 Yao Qi <yao.qi@linaro.org>
800 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
801 disassemble on address 0.
803 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
804 Yao Qi <yao.qi@linaro.org>
806 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
807 * gdb.dwarf2/implptr-64bit.S: Remove.
808 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
809 variables in caller's context. Add DW_OP_implicit_value.
811 2017-01-25 Yao Qi <yao.qi@linaro.org>
813 * lib/dwarf.exp (Dwarf::_location): Handle
814 DW_OP_GNU_implicit_pointer with proper size.
816 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
818 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
819 and add untested calls.
821 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
823 * gdb.python/python.exp: Check line number against what GDB thinks
824 the line number is for func1.
826 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
828 * gdb.dlang/debug-expr.exp: New file.
830 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
832 Fix test names for the following files:
834 * gdb.ada/exec_changed.exp
835 * gdb.ada/info_types.exp
836 * gdb.arch/aarch64-atomic-inst.exp
837 * gdb.arch/aarch64-fp.exp
838 * gdb.arch/altivec-abi.exp
839 * gdb.arch/altivec-regs.exp
840 * gdb.arch/amd64-byte.exp
841 * gdb.arch/amd64-disp-step.exp
842 * gdb.arch/amd64-dword.exp
843 * gdb.arch/amd64-entry-value-inline.exp
844 * gdb.arch/amd64-entry-value-param.exp
845 * gdb.arch/amd64-entry-value-paramref.exp
846 * gdb.arch/amd64-entry-value.exp
847 * gdb.arch/amd64-i386-address.exp
848 * gdb.arch/amd64-invalid-stack-middle.exp
849 * gdb.arch/amd64-invalid-stack-top.exp
850 * gdb.arch/amd64-optimout-repeat.exp
851 * gdb.arch/amd64-prologue-skip.exp
852 * gdb.arch/amd64-prologue-xmm.exp
853 * gdb.arch/amd64-stap-special-operands.exp
854 * gdb.arch/amd64-stap-wrong-subexp.exp
855 * gdb.arch/amd64-tailcall-cxx.exp
856 * gdb.arch/amd64-tailcall-noret.exp
857 * gdb.arch/amd64-tailcall-ret.exp
858 * gdb.arch/amd64-tailcall-self.exp
859 * gdb.arch/amd64-word.exp
860 * gdb.arch/arm-bl-branch-dest.exp
861 * gdb.arch/arm-disp-step.exp
862 * gdb.arch/arm-neon.exp
863 * gdb.arch/arm-single-step-kernel-helper.exp
864 * gdb.arch/avr-flash-qualifier.exp
865 * gdb.arch/disp-step-insn-reloc.exp
866 * gdb.arch/e500-abi.exp
867 * gdb.arch/e500-regs.exp
868 * gdb.arch/ftrace-insn-reloc.exp
869 * gdb.arch/i386-avx512.exp
870 * gdb.arch/i386-bp_permanent.exp
871 * gdb.arch/i386-byte.exp
872 * gdb.arch/i386-cfi-notcurrent.exp
873 * gdb.arch/i386-disp-step.exp
874 * gdb.arch/i386-dr3-watch.exp
875 * gdb.arch/i386-float.exp
876 * gdb.arch/i386-gnu-cfi.exp
877 * gdb.arch/i386-mpx-map.exp
878 * gdb.arch/i386-mpx-sigsegv.exp
879 * gdb.arch/i386-mpx-simple_segv.exp
880 * gdb.arch/i386-mpx.exp
881 * gdb.arch/i386-permbkpt.exp
882 * gdb.arch/i386-prologue.exp
883 * gdb.arch/i386-signal.exp
884 * gdb.arch/i386-size-overlap.exp
885 * gdb.arch/i386-unwind.exp
886 * gdb.arch/i386-word.exp
887 * gdb.arch/mips-fcr.exp
888 * gdb.arch/powerpc-d128-regs.exp
889 * gdb.arch/powerpc-stackless.exp
890 * gdb.arch/ppc64-atomic-inst.exp
891 * gdb.arch/s390-stackless.exp
892 * gdb.arch/s390-tdbregs.exp
893 * gdb.arch/s390-vregs.exp
894 * gdb.arch/sparc-sysstep.exp
895 * gdb.arch/thumb-bx-pc.exp
896 * gdb.arch/thumb-singlestep.exp
897 * gdb.arch/thumb2-it.exp
898 * gdb.arch/vsx-regs.exp
899 * gdb.asm/asm-source.exp
900 * gdb.base/a2-run.exp
901 * gdb.base/advance.exp
902 * gdb.base/all-bin.exp
905 * gdb.base/arithmet.exp
906 * gdb.base/async-shell.exp
908 * gdb.base/attach-pie-noexec.exp
909 * gdb.base/attach-twice.exp
910 * gdb.base/auto-load.exp
912 * gdb.base/bitfields.exp
913 * gdb.base/break-always.exp
914 * gdb.base/break-caller-line.exp
915 * gdb.base/break-entry.exp
916 * gdb.base/break-inline.exp
917 * gdb.base/break-on-linker-gcd-function.exp
918 * gdb.base/break-probes.exp
920 * gdb.base/breakpoint-shadow.exp
921 * gdb.base/call-ar-st.exp
922 * gdb.base/call-sc.exp
923 * gdb.base/call-signal-resume.exp
924 * gdb.base/call-strs.exp
925 * gdb.base/callfuncs.exp
926 * gdb.base/catch-fork-static.exp
927 * gdb.base/catch-gdb-caused-signals.exp
928 * gdb.base/catch-load.exp
929 * gdb.base/catch-signal-fork.exp
930 * gdb.base/catch-signal.exp
931 * gdb.base/catch-syscall.exp
932 * gdb.base/charset.exp
933 * gdb.base/checkpoint.exp
934 * gdb.base/chng-syms.exp
935 * gdb.base/code-expr.exp
936 * gdb.base/code_elim.exp
937 * gdb.base/commands.exp
938 * gdb.base/completion.exp
939 * gdb.base/complex.exp
940 * gdb.base/cond-expr.exp
941 * gdb.base/condbreak.exp
942 * gdb.base/consecutive.exp
943 * gdb.base/continue-all-already-running.exp
944 * gdb.base/coredump-filter.exp
945 * gdb.base/corefile.exp
947 * gdb.base/debug-expr.exp
948 * gdb.base/define.exp
950 * gdb.base/disabled-location.exp
951 * gdb.base/disasm-end-cu.exp
952 * gdb.base/disasm-optim.exp
953 * gdb.base/display.exp
954 * gdb.base/duplicate-bp.exp
955 * gdb.base/ena-dis-br.exp
956 * gdb.base/ending-run.exp
957 * gdb.base/enumval.exp
958 * gdb.base/environ.exp
959 * gdb.base/eu-strip-infcall.exp
960 * gdb.base/eval-avoid-side-effects.exp
961 * gdb.base/eval-skip.exp
962 * gdb.base/exitsignal.exp
963 * gdb.base/expand-psymtabs.exp
964 * gdb.base/filesym.exp
965 * gdb.base/find-unmapped.exp
966 * gdb.base/finish.exp
968 * gdb.base/foll-exec-mode.exp
969 * gdb.base/foll-exec.exp
970 * gdb.base/foll-fork.exp
971 * gdb.base/fortran-sym-case.exp
972 * gdb.base/freebpcmd.exp
973 * gdb.base/func-ptr.exp
974 * gdb.base/func-ptrs.exp
975 * gdb.base/funcargs.exp
976 * gdb.base/gcore-buffer-overflow.exp
977 * gdb.base/gcore-relro-pie.exp
978 * gdb.base/gcore-relro.exp
980 * gdb.base/gdb1090.exp
981 * gdb.base/gdb11530.exp
982 * gdb.base/gdb11531.exp
983 * gdb.base/gdb1821.exp
984 * gdb.base/gdbindex-stabs.exp
985 * gdb.base/gdbvars.exp
986 * gdb.base/hbreak.exp
987 * gdb.base/hbreak2.exp
988 * gdb.base/included.exp
989 * gdb.base/infcall-input.exp
990 * gdb.base/inferior-died.exp
991 * gdb.base/infnan.exp
992 * gdb.base/info-macros.exp
993 * gdb.base/info-os.exp
994 * gdb.base/info-proc.exp
995 * gdb.base/info-shared.exp
996 * gdb.base/info-target.exp
997 * gdb.base/infoline.exp
998 * gdb.base/interp.exp
999 * gdb.base/interrupt.exp
1000 * gdb.base/jit-reader.exp
1001 * gdb.base/jit-simple.exp
1002 * gdb.base/kill-after-signal.exp
1003 * gdb.base/kill-detach-inferiors-cmd.exp
1004 * gdb.base/label.exp
1005 * gdb.base/langs.exp
1006 * gdb.base/ldbl_e308.exp
1007 * gdb.base/line-symtabs.exp
1008 * gdb.base/linespecs.exp
1010 * gdb.base/long_long.exp
1011 * gdb.base/longest-types.exp
1012 * gdb.base/maint.exp
1013 * gdb.base/max-value-size.exp
1014 * gdb.base/memattr.exp
1015 * gdb.base/mips_pro.exp
1016 * gdb.base/morestack.exp
1017 * gdb.base/moribund-step.exp
1018 * gdb.base/multi-forks.exp
1019 * gdb.base/nested-addr.exp
1020 * gdb.base/nextoverexit.exp
1021 * gdb.base/noreturn-finish.exp
1022 * gdb.base/noreturn-return.exp
1023 * gdb.base/nostdlib.exp
1024 * gdb.base/offsets.exp
1025 * gdb.base/opaque.exp
1026 * gdb.base/pc-fp.exp
1027 * gdb.base/permissions.exp
1028 * gdb.base/print-symbol-loading.exp
1029 * gdb.base/prologue-include.exp
1030 * gdb.base/psymtab.exp
1031 * gdb.base/ptype.exp
1032 * gdb.base/random-signal.exp
1033 * gdb.base/randomize.exp
1034 * gdb.base/range-stepping.exp
1035 * gdb.base/readline-ask.exp
1036 * gdb.base/recpar.exp
1037 * gdb.base/recurse.exp
1038 * gdb.base/relational.exp
1039 * gdb.base/restore.exp
1040 * gdb.base/return-nodebug.exp
1041 * gdb.base/return.exp
1042 * gdb.base/run-after-attach.exp
1043 * gdb.base/save-bp.exp
1044 * gdb.base/scope.exp
1045 * gdb.base/sect-cmd.exp
1046 * gdb.base/set-lang-auto.exp
1047 * gdb.base/set-noassign.exp
1048 * gdb.base/setvar.exp
1049 * gdb.base/sigall.exp
1050 * gdb.base/sigbpt.exp
1051 * gdb.base/siginfo-addr.exp
1052 * gdb.base/siginfo-infcall.exp
1053 * gdb.base/siginfo-obj.exp
1054 * gdb.base/siginfo.exp
1055 * gdb.base/signals-state-child.exp
1056 * gdb.base/signest.exp
1057 * gdb.base/sigstep.exp
1058 * gdb.base/sizeof.exp
1060 * gdb.base/solib-corrupted.exp
1061 * gdb.base/solib-nodir.exp
1062 * gdb.base/solib-search.exp
1063 * gdb.base/stack-checking.exp
1064 * gdb.base/stale-infcall.exp
1065 * gdb.base/stap-probe.exp
1066 * gdb.base/start.exp
1067 * gdb.base/step-break.exp
1068 * gdb.base/step-bt.exp
1069 * gdb.base/step-line.exp
1070 * gdb.base/step-over-exit.exp
1071 * gdb.base/step-over-syscall.exp
1072 * gdb.base/step-resume-infcall.exp
1073 * gdb.base/step-test.exp
1074 * gdb.base/store.exp
1075 * gdb.base/structs3.exp
1076 * gdb.base/sym-file.exp
1077 * gdb.base/symbol-without-target_section.exp
1079 * gdb.base/testenv.exp
1080 * gdb.base/ui-redirect.exp
1081 * gdb.base/until.exp
1082 * gdb.base/unwindonsignal.exp
1083 * gdb.base/value-double-free.exp
1084 * gdb.base/vla-datatypes.exp
1085 * gdb.base/vla-ptr.exp
1086 * gdb.base/vla-sideeffect.exp
1087 * gdb.base/volatile.exp
1088 * gdb.base/watch-cond-infcall.exp
1089 * gdb.base/watch-cond.exp
1090 * gdb.base/watch-non-mem.exp
1091 * gdb.base/watch-read.exp
1092 * gdb.base/watch-vfork.exp
1093 * gdb.base/watchpoint-cond-gone.exp
1094 * gdb.base/watchpoint-delete.exp
1095 * gdb.base/watchpoint-hw-hit-once.exp
1096 * gdb.base/watchpoint-hw.exp
1097 * gdb.base/watchpoint-stops-at-right-insn.exp
1098 * gdb.base/watchpoints.exp
1099 * gdb.base/wchar.exp
1100 * gdb.base/whatis-exp.exp
1101 * gdb.btrace/buffer-size.exp
1102 * gdb.btrace/data.exp
1103 * gdb.btrace/delta.exp
1104 * gdb.btrace/dlopen.exp
1105 * gdb.btrace/enable.exp
1106 * gdb.btrace/exception.exp
1107 * gdb.btrace/function_call_history.exp
1108 * gdb.btrace/gcore.exp
1109 * gdb.btrace/instruction_history.exp
1110 * gdb.btrace/nohist.exp
1111 * gdb.btrace/reconnect.exp
1112 * gdb.btrace/record_goto-step.exp
1113 * gdb.btrace/record_goto.exp
1114 * gdb.btrace/rn-dl-bind.exp
1115 * gdb.btrace/segv.exp
1116 * gdb.btrace/step.exp
1117 * gdb.btrace/stepi.exp
1118 * gdb.btrace/tailcall-only.exp
1119 * gdb.btrace/tailcall.exp
1120 * gdb.btrace/tsx.exp
1121 * gdb.btrace/unknown_functions.exp
1122 * gdb.btrace/vdso.exp
1123 * gdb.compile/compile-ifunc.exp
1124 * gdb.compile/compile-ops.exp
1125 * gdb.compile/compile-print.exp
1126 * gdb.compile/compile-setjmp.exp
1127 * gdb.cp/abstract-origin.exp
1128 * gdb.cp/ambiguous.exp
1129 * gdb.cp/annota2.exp
1130 * gdb.cp/annota3.exp
1131 * gdb.cp/anon-ns.exp
1132 * gdb.cp/anon-struct.exp
1133 * gdb.cp/anon-union.exp
1134 * gdb.cp/arg-reference.exp
1135 * gdb.cp/baseenum.exp
1137 * gdb.cp/breakpoint.exp
1138 * gdb.cp/bs15503.exp
1141 * gdb.cp/chained-calls.exp
1143 * gdb.cp/classes.exp
1144 * gdb.cp/cmpd-minsyms.exp
1145 * gdb.cp/converts.exp
1146 * gdb.cp/cp-relocate.exp
1147 * gdb.cp/cpcompletion.exp
1148 * gdb.cp/cpexprs.exp
1149 * gdb.cp/cplabel.exp
1150 * gdb.cp/cplusfuncs.exp
1151 * gdb.cp/cpsizeof.exp
1153 * gdb.cp/derivation.exp
1154 * gdb.cp/destrprint.exp
1155 * gdb.cp/dispcxx.exp
1156 * gdb.cp/enum-class.exp
1157 * gdb.cp/exception.exp
1158 * gdb.cp/exceptprint.exp
1159 * gdb.cp/expand-psymtabs-cxx.exp
1160 * gdb.cp/expand-sals.exp
1161 * gdb.cp/extern-c.exp
1162 * gdb.cp/filename.exp
1163 * gdb.cp/formatted-ref.exp
1164 * gdb.cp/fpointer.exp
1165 * gdb.cp/gdb1355.exp
1166 * gdb.cp/gdb2495.exp
1168 * gdb.cp/impl-this.exp
1169 * gdb.cp/infcall-dlopen.exp
1170 * gdb.cp/inherit.exp
1171 * gdb.cp/iostream.exp
1175 * gdb.cp/m-static.exp
1176 * gdb.cp/mb-ctor.exp
1177 * gdb.cp/mb-inline.exp
1178 * gdb.cp/mb-templates.exp
1179 * gdb.cp/member-name.exp
1180 * gdb.cp/member-ptr.exp
1181 * gdb.cp/meth-typedefs.exp
1183 * gdb.cp/method2.exp
1184 * gdb.cp/minsym-fallback.exp
1186 * gdb.cp/namelessclass.exp
1187 * gdb.cp/namespace-enum.exp
1188 * gdb.cp/namespace-nested-import.exp
1189 * gdb.cp/namespace.exp
1190 * gdb.cp/nextoverthrow.exp
1191 * gdb.cp/no-dmgl-verbose.exp
1192 * gdb.cp/non-trivial-retval.exp
1193 * gdb.cp/noparam.exp
1195 * gdb.cp/nsimport.exp
1196 * gdb.cp/nsnested.exp
1197 * gdb.cp/nsnoimports.exp
1198 * gdb.cp/nsrecurs.exp
1199 * gdb.cp/nsstress.exp
1200 * gdb.cp/nsusing.exp
1201 * gdb.cp/operator.exp
1202 * gdb.cp/oranking.exp
1203 * gdb.cp/overload-const.exp
1204 * gdb.cp/overload.exp
1205 * gdb.cp/ovldbreak.exp
1207 * gdb.cp/paren-type.exp
1208 * gdb.cp/parse-lang.exp
1209 * gdb.cp/pass-by-ref.exp
1210 * gdb.cp/pr-1023.exp
1211 * gdb.cp/pr-1210.exp
1213 * gdb.cp/pr10687.exp
1214 * gdb.cp/pr12028.exp
1215 * gdb.cp/pr17132.exp
1216 * gdb.cp/pr17494.exp
1220 * gdb.cp/printmethod.exp
1222 * gdb.cp/psymtab-parameter.exp
1223 * gdb.cp/ptype-cv-cp.exp
1224 * gdb.cp/ptype-flags.exp
1225 * gdb.cp/re-set-overloaded.exp
1226 * gdb.cp/ref-types.exp
1228 * gdb.cp/scope-err.exp
1231 * gdb.cp/static-method.exp
1232 * gdb.cp/static-print-quit.exp
1233 * gdb.cp/temargs.exp
1234 * gdb.cp/templates.exp
1235 * gdb.cp/try_catch.exp
1236 * gdb.cp/typedef-operator.exp
1238 * gdb.cp/userdef.exp
1239 * gdb.cp/using-crash.exp
1240 * gdb.cp/var-tag.exp
1241 * gdb.cp/virtbase.exp
1242 * gdb.cp/virtfunc.exp
1243 * gdb.cp/virtfunc2.exp
1244 * gdb.cp/vla-cxx.exp
1245 * gdb.disasm/t01_mov.exp
1246 * gdb.disasm/t02_mova.exp
1247 * gdb.disasm/t03_add.exp
1248 * gdb.disasm/t04_sub.exp
1249 * gdb.disasm/t05_cmp.exp
1250 * gdb.disasm/t06_ari2.exp
1251 * gdb.disasm/t07_ari3.exp
1252 * gdb.disasm/t08_or.exp
1253 * gdb.disasm/t09_xor.exp
1254 * gdb.disasm/t10_and.exp
1255 * gdb.disasm/t11_logs.exp
1256 * gdb.disasm/t12_bit.exp
1257 * gdb.disasm/t13_otr.exp
1258 * gdb.dlang/circular.exp
1259 * gdb.dwarf2/arr-stride.exp
1260 * gdb.dwarf2/arr-subrange.exp
1261 * gdb.dwarf2/atomic-type.exp
1262 * gdb.dwarf2/bad-regnum.exp
1263 * gdb.dwarf2/bitfield-parent-optimized-out.exp
1264 * gdb.dwarf2/callframecfa.exp
1265 * gdb.dwarf2/clztest.exp
1266 * gdb.dwarf2/corrupt.exp
1267 * gdb.dwarf2/data-loc.exp
1268 * gdb.dwarf2/dup-psym.exp
1269 * gdb.dwarf2/dw2-anon-mptr.exp
1270 * gdb.dwarf2/dw2-anonymous-func.exp
1271 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
1272 * gdb.dwarf2/dw2-bad-unresolved.exp
1273 * gdb.dwarf2/dw2-basic.exp
1274 * gdb.dwarf2/dw2-canonicalize-type.exp
1275 * gdb.dwarf2/dw2-case-insensitive.exp
1276 * gdb.dwarf2/dw2-common-block.exp
1277 * gdb.dwarf2/dw2-compdir-oldgcc.exp
1278 * gdb.dwarf2/dw2-compressed.exp
1279 * gdb.dwarf2/dw2-const.exp
1280 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
1281 * gdb.dwarf2/dw2-cu-size.exp
1282 * gdb.dwarf2/dw2-dup-frame.exp
1283 * gdb.dwarf2/dw2-entry-value.exp
1284 * gdb.dwarf2/dw2-icycle.exp
1285 * gdb.dwarf2/dw2-ifort-parameter.exp
1286 * gdb.dwarf2/dw2-inline-break.exp
1287 * gdb.dwarf2/dw2-inline-param.exp
1288 * gdb.dwarf2/dw2-intercu.exp
1289 * gdb.dwarf2/dw2-intermix.exp
1290 * gdb.dwarf2/dw2-lexical-block-bare.exp
1291 * gdb.dwarf2/dw2-linkage-name-trust.exp
1292 * gdb.dwarf2/dw2-minsym-in-cu.exp
1293 * gdb.dwarf2/dw2-noloc.exp
1294 * gdb.dwarf2/dw2-op-call.exp
1295 * gdb.dwarf2/dw2-op-out-param.exp
1296 * gdb.dwarf2/dw2-opt-structptr.exp
1297 * gdb.dwarf2/dw2-param-error.exp
1298 * gdb.dwarf2/dw2-producer.exp
1299 * gdb.dwarf2/dw2-ranges-base.exp
1300 * gdb.dwarf2/dw2-ref-missing-frame.exp
1301 * gdb.dwarf2/dw2-reg-undefined.exp
1302 * gdb.dwarf2/dw2-regno-invalid.exp
1303 * gdb.dwarf2/dw2-restore.exp
1304 * gdb.dwarf2/dw2-restrict.exp
1305 * gdb.dwarf2/dw2-single-line-discriminators.exp
1306 * gdb.dwarf2/dw2-strp.exp
1307 * gdb.dwarf2/dw2-undefined-ret-addr.exp
1308 * gdb.dwarf2/dw2-unresolved.exp
1309 * gdb.dwarf2/dw2-var-zero-addr.exp
1310 * gdb.dwarf2/dw4-sig-types.exp
1311 * gdb.dwarf2/dwz.exp
1312 * gdb.dwarf2/dynarr-ptr.exp
1313 * gdb.dwarf2/enum-type.exp
1314 * gdb.dwarf2/gdb-index.exp
1315 * gdb.dwarf2/implptr-64bit.exp
1316 * gdb.dwarf2/implptr-optimized-out.exp
1317 * gdb.dwarf2/implptr.exp
1318 * gdb.dwarf2/implref-array.exp
1319 * gdb.dwarf2/implref-const.exp
1320 * gdb.dwarf2/implref-global.exp
1321 * gdb.dwarf2/implref-struct.exp
1322 * gdb.dwarf2/mac-fileno.exp
1323 * gdb.dwarf2/main-subprogram.exp
1324 * gdb.dwarf2/member-ptr-forwardref.exp
1325 * gdb.dwarf2/method-ptr.exp
1326 * gdb.dwarf2/missing-sig-type.exp
1327 * gdb.dwarf2/nonvar-access.exp
1328 * gdb.dwarf2/opaque-type-lookup.exp
1329 * gdb.dwarf2/pieces-optimized-out.exp
1330 * gdb.dwarf2/pieces.exp
1331 * gdb.dwarf2/pr10770.exp
1332 * gdb.dwarf2/pr13961.exp
1333 * gdb.dwarf2/staticvirtual.exp
1334 * gdb.dwarf2/subrange.exp
1335 * gdb.dwarf2/symtab-producer.exp
1336 * gdb.dwarf2/trace-crash.exp
1337 * gdb.dwarf2/typeddwarf.exp
1338 * gdb.dwarf2/valop.exp
1339 * gdb.dwarf2/watch-notconst.exp
1340 * gdb.fortran/array-element.exp
1341 * gdb.fortran/charset.exp
1342 * gdb.fortran/common-block.exp
1343 * gdb.fortran/complex.exp
1344 * gdb.fortran/derived-type-function.exp
1345 * gdb.fortran/derived-type.exp
1346 * gdb.fortran/logical.exp
1347 * gdb.fortran/module.exp
1348 * gdb.fortran/multi-dim.exp
1349 * gdb.fortran/nested-funcs.exp
1350 * gdb.fortran/print-formatted.exp
1351 * gdb.fortran/subarray.exp
1352 * gdb.fortran/vla-alloc-assoc.exp
1353 * gdb.fortran/vla-datatypes.exp
1354 * gdb.fortran/vla-history.exp
1355 * gdb.fortran/vla-ptr-info.exp
1356 * gdb.fortran/vla-ptype-sub.exp
1357 * gdb.fortran/vla-ptype.exp
1358 * gdb.fortran/vla-sizeof.exp
1359 * gdb.fortran/vla-type.exp
1360 * gdb.fortran/vla-value-sub-arbitrary.exp
1361 * gdb.fortran/vla-value-sub-finish.exp
1362 * gdb.fortran/vla-value-sub.exp
1363 * gdb.fortran/vla-value.exp
1364 * gdb.fortran/whatis_type.exp
1366 * gdb.go/handcall.exp
1368 * gdb.go/integers.exp
1369 * gdb.go/methods.exp
1370 * gdb.go/package.exp
1371 * gdb.go/strings.exp
1374 * gdb.guile/scm-arch.exp
1375 * gdb.guile/scm-block.exp
1376 * gdb.guile/scm-breakpoint.exp
1377 * gdb.guile/scm-cmd.exp
1378 * gdb.guile/scm-disasm.exp
1379 * gdb.guile/scm-equal.exp
1380 * gdb.guile/scm-frame-args.exp
1381 * gdb.guile/scm-frame-inline.exp
1382 * gdb.guile/scm-frame.exp
1383 * gdb.guile/scm-iterator.exp
1384 * gdb.guile/scm-math.exp
1385 * gdb.guile/scm-objfile.exp
1386 * gdb.guile/scm-ports.exp
1387 * gdb.guile/scm-symbol.exp
1388 * gdb.guile/scm-symtab.exp
1389 * gdb.guile/scm-value-cc.exp
1390 * gdb.guile/types-module.exp
1391 * gdb.linespec/break-ask.exp
1392 * gdb.linespec/cpexplicit.exp
1393 * gdb.linespec/explicit.exp
1394 * gdb.linespec/keywords.exp
1395 * gdb.linespec/linespec.exp
1396 * gdb.linespec/ls-dollar.exp
1397 * gdb.linespec/ls-errs.exp
1398 * gdb.linespec/skip-two.exp
1399 * gdb.linespec/thread.exp
1400 * gdb.mi/mi-async.exp
1401 * gdb.mi/mi-basics.exp
1402 * gdb.mi/mi-break.exp
1403 * gdb.mi/mi-catch-load.exp
1405 * gdb.mi/mi-cmd-param-changed.exp
1406 * gdb.mi/mi-console.exp
1407 * gdb.mi/mi-detach.exp
1408 * gdb.mi/mi-disassemble.exp
1409 * gdb.mi/mi-eval.exp
1410 * gdb.mi/mi-file-transfer.exp
1411 * gdb.mi/mi-file.exp
1412 * gdb.mi/mi-fill-memory.exp
1413 * gdb.mi/mi-inheritance-syntax-error.exp
1414 * gdb.mi/mi-linespec-err-cp.exp
1415 * gdb.mi/mi-logging.exp
1416 * gdb.mi/mi-memory-changed.exp
1417 * gdb.mi/mi-read-memory.exp
1418 * gdb.mi/mi-record-changed.exp
1419 * gdb.mi/mi-reg-undefined.exp
1420 * gdb.mi/mi-regs.exp
1421 * gdb.mi/mi-return.exp
1422 * gdb.mi/mi-reverse.exp
1423 * gdb.mi/mi-simplerun.exp
1424 * gdb.mi/mi-solib.exp
1425 * gdb.mi/mi-stack.exp
1426 * gdb.mi/mi-stepi.exp
1427 * gdb.mi/mi-syn-frame.exp
1428 * gdb.mi/mi-until.exp
1429 * gdb.mi/mi-var-block.exp
1430 * gdb.mi/mi-var-child.exp
1431 * gdb.mi/mi-var-cmd.exp
1432 * gdb.mi/mi-var-cp.exp
1433 * gdb.mi/mi-var-display.exp
1434 * gdb.mi/mi-var-invalidate.exp
1435 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
1436 * gdb.mi/mi-vla-fortran.exp
1437 * gdb.mi/mi-watch.exp
1438 * gdb.mi/mi2-var-child.exp
1439 * gdb.mi/user-selected-context-sync.exp
1440 * gdb.modula2/unbounded-array.exp
1441 * gdb.multi/dummy-frame-restore.exp
1442 * gdb.multi/multi-arch-exec.exp
1443 * gdb.multi/multi-arch.exp
1444 * gdb.multi/tids.exp
1445 * gdb.multi/watchpoint-multi.exp
1446 * gdb.opencl/callfuncs.exp
1447 * gdb.opencl/convs_casts.exp
1448 * gdb.opencl/datatypes.exp
1449 * gdb.opencl/operators.exp
1450 * gdb.opencl/vec_comps.exp
1451 * gdb.opt/clobbered-registers-O2.exp
1452 * gdb.opt/inline-break.exp
1453 * gdb.opt/inline-bt.exp
1454 * gdb.opt/inline-cmds.exp
1455 * gdb.opt/inline-locals.exp
1456 * gdb.pascal/case-insensitive-symbols.exp
1457 * gdb.pascal/floats.exp
1458 * gdb.pascal/gdb11492.exp
1459 * gdb.python/lib-types.exp
1460 * gdb.python/py-arch.exp
1461 * gdb.python/py-as-string.exp
1462 * gdb.python/py-bad-printers.exp
1463 * gdb.python/py-block.exp
1464 * gdb.python/py-breakpoint-create-fail.exp
1465 * gdb.python/py-breakpoint.exp
1466 * gdb.python/py-caller-is.exp
1467 * gdb.python/py-cmd.exp
1468 * gdb.python/py-explore-cc.exp
1469 * gdb.python/py-explore.exp
1470 * gdb.python/py-finish-breakpoint.exp
1471 * gdb.python/py-finish-breakpoint2.exp
1472 * gdb.python/py-frame-args.exp
1473 * gdb.python/py-frame-inline.exp
1474 * gdb.python/py-frame.exp
1475 * gdb.python/py-framefilter-mi.exp
1476 * gdb.python/py-infthread.exp
1477 * gdb.python/py-lazy-string.exp
1478 * gdb.python/py-linetable.exp
1479 * gdb.python/py-mi-events.exp
1480 * gdb.python/py-mi-objfile.exp
1481 * gdb.python/py-mi.exp
1482 * gdb.python/py-objfile.exp
1483 * gdb.python/py-pp-integral.exp
1484 * gdb.python/py-pp-maint.exp
1485 * gdb.python/py-pp-re-notag.exp
1486 * gdb.python/py-pp-registration.exp
1487 * gdb.python/py-recurse-unwind.exp
1488 * gdb.python/py-strfns.exp
1489 * gdb.python/py-symbol.exp
1490 * gdb.python/py-symtab.exp
1491 * gdb.python/py-sync-interp.exp
1492 * gdb.python/py-typeprint.exp
1493 * gdb.python/py-unwind-maint.exp
1494 * gdb.python/py-unwind.exp
1495 * gdb.python/py-value-cc.exp
1496 * gdb.python/py-xmethods.exp
1497 * gdb.reverse/amd64-tailcall-reverse.exp
1498 * gdb.reverse/break-precsave.exp
1499 * gdb.reverse/break-reverse.exp
1500 * gdb.reverse/consecutive-precsave.exp
1501 * gdb.reverse/consecutive-reverse.exp
1502 * gdb.reverse/finish-precsave.exp
1503 * gdb.reverse/finish-reverse-bkpt.exp
1504 * gdb.reverse/finish-reverse.exp
1505 * gdb.reverse/fstatat-reverse.exp
1506 * gdb.reverse/getresuid-reverse.exp
1507 * gdb.reverse/i386-precsave.exp
1508 * gdb.reverse/i386-reverse.exp
1509 * gdb.reverse/i386-sse-reverse.exp
1510 * gdb.reverse/i387-env-reverse.exp
1511 * gdb.reverse/i387-stack-reverse.exp
1512 * gdb.reverse/insn-reverse.exp
1513 * gdb.reverse/machinestate-precsave.exp
1514 * gdb.reverse/machinestate.exp
1515 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1516 * gdb.reverse/pipe-reverse.exp
1517 * gdb.reverse/readv-reverse.exp
1518 * gdb.reverse/recvmsg-reverse.exp
1519 * gdb.reverse/rerun-prec.exp
1520 * gdb.reverse/s390-mvcle.exp
1521 * gdb.reverse/step-precsave.exp
1522 * gdb.reverse/step-reverse.exp
1523 * gdb.reverse/time-reverse.exp
1524 * gdb.reverse/until-precsave.exp
1525 * gdb.reverse/until-reverse.exp
1526 * gdb.reverse/waitpid-reverse.exp
1527 * gdb.reverse/watch-precsave.exp
1528 * gdb.reverse/watch-reverse.exp
1529 * gdb.rust/generics.exp
1530 * gdb.rust/methods.exp
1531 * gdb.rust/modules.exp
1532 * gdb.rust/simple.exp
1533 * gdb.server/connect-with-no-symbol-file.exp
1534 * gdb.server/ext-attach.exp
1535 * gdb.server/ext-restart.exp
1536 * gdb.server/ext-wrapper.exp
1537 * gdb.server/file-transfer.exp
1538 * gdb.server/server-exec-info.exp
1539 * gdb.server/server-kill.exp
1540 * gdb.server/server-mon.exp
1541 * gdb.server/wrapper.exp
1542 * gdb.stabs/exclfwd.exp
1543 * gdb.stabs/gdb11479.exp
1544 * gdb.threads/clone-new-thread-event.exp
1545 * gdb.threads/corethreads.exp
1546 * gdb.threads/current-lwp-dead.exp
1547 * gdb.threads/dlopen-libpthread.exp
1548 * gdb.threads/gcore-thread.exp
1549 * gdb.threads/sigstep-threads.exp
1550 * gdb.threads/watchpoint-fork.exp
1551 * gdb.trace/actions-changed.exp
1552 * gdb.trace/backtrace.exp
1553 * gdb.trace/change-loc.exp
1554 * gdb.trace/circ.exp
1555 * gdb.trace/collection.exp
1556 * gdb.trace/disconnected-tracing.exp
1557 * gdb.trace/ftrace.exp
1558 * gdb.trace/mi-trace-frame-collected.exp
1559 * gdb.trace/mi-trace-unavailable.exp
1560 * gdb.trace/mi-traceframe-changed.exp
1561 * gdb.trace/mi-tsv-changed.exp
1562 * gdb.trace/no-attach-trace.exp
1563 * gdb.trace/passc-dyn.exp
1564 * gdb.trace/qtro.exp
1565 * gdb.trace/range-stepping.exp
1566 * gdb.trace/read-memory.exp
1567 * gdb.trace/save-trace.exp
1568 * gdb.trace/signal.exp
1569 * gdb.trace/status-stop.exp
1570 * gdb.trace/tfile.exp
1571 * gdb.trace/trace-break.exp
1572 * gdb.trace/trace-buffer-size.exp
1573 * gdb.trace/trace-condition.exp
1574 * gdb.trace/tracefile-pseudo-reg.exp
1575 * gdb.trace/tstatus.exp
1576 * gdb.trace/unavailable.exp
1577 * gdb.trace/while-dyn.exp
1578 * gdb.trace/while-stepping.exp
1580 2016-12-22 Doug Evans <xdje42@gmail.com>
1582 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
1585 2016-12-19 Yao Qi <yao.qi@linaro.org>
1587 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
1588 (test_with_self): Don't call do_steps_and_nexts, and remove
1589 code about stepping into xmalloc.
1591 2016-12-09 Yao Qi <yao.qi@linaro.org>
1593 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
1595 2016-12-09 Yao Qi <yao.qi@linaro.org>
1597 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
1599 2016-12-09 Pedro Alves <palves@redhat.com>
1601 * gdb.base/all-architectures-0.exp: New file.
1602 * gdb.base/all-architectures-1.exp: New file.
1603 * gdb.base/all-architectures-2.exp: New file.
1604 * gdb.base/all-architectures-3.exp: New file.
1605 * gdb.base/all-architectures-4.exp: New file.
1606 * gdb.base/all-architectures-5.exp: New file.
1607 * gdb.base/all-architectures-6.exp: New file.
1608 * gdb.base/all-architectures-7.exp: New file.
1609 * gdb.base/all-architectures.exp.in: New file.
1611 2016-12-09 Yao Qi <yao.qi@linaro.org>
1613 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
1615 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1617 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
1619 Remove useless pattern-matching code.
1621 2016-12-02 Pedro Alves <palves@redhat.com>
1623 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
1625 (top level): Call it.
1627 2016-12-02 Pedro Alves <palves@redhat.com>
1629 * gdb.base/commands.exp (user_defined_command_args_stack_test):
1631 (top level): Call it.
1633 2016-12-02 Pedro Alves <palves@redhat.com>
1636 * gdb.base/commands.exp (user_defined_command_args_eval): New
1638 (top level): Call it.
1640 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1642 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
1645 2016-12-02 Tom Tromey <tom@tromey.com>
1647 * gdb.dwarf2/main-subprogram.c: New file.
1648 * gdb.dwarf2/main-subprogram.exp: New file.
1650 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1652 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
1653 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
1654 gdb_test_no_output for a couple of cases.
1655 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
1657 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1659 Fix test names and standardize compilation error messages throughout
1660 the following files:
1663 * gdb.arch/alpha-step.exp
1664 * gdb.arch/e500-prologue.exp
1665 * gdb.arch/ftrace-insn-reloc.exp
1666 * gdb.arch/gdb1291.exp
1667 * gdb.arch/gdb1431.exp
1668 * gdb.arch/gdb1558.exp
1669 * gdb.arch/i386-dr3-watch.exp
1670 * gdb.arch/i386-sse-stack-align.exp
1671 * gdb.arch/ia64-breakpoint-shadow.exp
1672 * gdb.arch/pa-nullify.exp
1673 * gdb.arch/powerpc-aix-prologue.exp
1674 * gdb.arch/thumb-bx-pc.exp
1675 * gdb.base/annota1.exp
1676 * gdb.base/annota3.exp
1677 * gdb.base/arrayidx.exp
1678 * gdb.base/assign.exp
1679 * gdb.base/attach.exp
1682 * gdb.base/bfp-test.exp
1683 * gdb.base/bigcore.exp
1684 * gdb.base/bitfields2.exp
1685 * gdb.base/break-fun-addr.exp
1686 * gdb.base/break-probes.exp
1687 * gdb.base/call-rt-st.exp
1688 * gdb.base/callexit.exp
1689 * gdb.base/catch-fork-kill.exp
1690 * gdb.base/charset.exp
1691 * gdb.base/checkpoint.exp
1692 * gdb.base/comprdebug.exp
1693 * gdb.base/constvars.exp
1694 * gdb.base/coredump-filter.exp
1695 * gdb.base/cursal.exp
1696 * gdb.base/cvexpr.exp
1697 * gdb.base/detach.exp
1698 * gdb.base/display.exp
1699 * gdb.base/dmsym.exp
1700 * gdb.base/dprintf-pending.exp
1701 * gdb.base/dso2dso.exp
1702 * gdb.base/dtrace-probe.exp
1704 * gdb.base/enum_cond.exp
1705 * gdb.base/exe-lock.exp
1706 * gdb.base/exec-invalid-sysroot.exp
1707 * gdb.base/execl-update-breakpoints.exp
1708 * gdb.base/exprs.exp
1709 * gdb.base/fileio.exp
1711 * gdb.base/finish.exp
1712 * gdb.base/fixsection.exp
1713 * gdb.base/foll-vfork.exp
1714 * gdb.base/frame-args.exp
1715 * gdb.base/gcore.exp
1716 * gdb.base/gdb1250.exp
1717 * gdb.base/global-var-nested-by-dso.exp
1718 * gdb.base/gnu-ifunc.exp
1719 * gdb.base/hashline1.exp
1720 * gdb.base/hashline2.exp
1721 * gdb.base/hashline3.exp
1722 * gdb.base/hbreak-in-shr-unsupported.exp
1724 * gdb.base/infcall-input.exp
1725 * gdb.base/info-fun.exp
1726 * gdb.base/info-shared.exp
1727 * gdb.base/jit-simple.exp
1728 * gdb.base/jit-so.exp
1731 * gdb.base/label.exp
1732 * gdb.base/lineinc.exp
1733 * gdb.base/logical.exp
1734 * gdb.base/longjmp.exp
1735 * gdb.base/macscp.exp
1736 * gdb.base/miscexprs.exp
1737 * gdb.base/new-ui-echo.exp
1738 * gdb.base/new-ui-pending-input.exp
1739 * gdb.base/new-ui.exp
1740 * gdb.base/nodebug.exp
1741 * gdb.base/nofield.exp
1742 * gdb.base/offsets.exp
1743 * gdb.base/overlays.exp
1744 * gdb.base/pending.exp
1745 * gdb.base/pointers.exp
1746 * gdb.base/pr11022.exp
1747 * gdb.base/printcmds.exp
1748 * gdb.base/prologue.exp
1749 * gdb.base/ptr-typedef.exp
1750 * gdb.base/realname-expand.exp
1751 * gdb.base/relativedebug.exp
1752 * gdb.base/relocate.exp
1753 * gdb.base/remote.exp
1754 * gdb.base/reread.exp
1755 * gdb.base/return2.exp
1756 * gdb.base/savedregs.exp
1758 * gdb.base/sepdebug.exp
1759 * gdb.base/sepsymtab.exp
1760 * gdb.base/set-inferior-tty.exp
1761 * gdb.base/setshow.exp
1762 * gdb.base/shlib-call.exp
1763 * gdb.base/sigaltstack.exp
1764 * gdb.base/siginfo-addr.exp
1765 * gdb.base/signals.exp
1766 * gdb.base/signull.exp
1767 * gdb.base/sigrepeat.exp
1768 * gdb.base/so-impl-ld.exp
1769 * gdb.base/solib-display.exp
1770 * gdb.base/solib-overlap.exp
1771 * gdb.base/solib-search.exp
1772 * gdb.base/solib-symbol.exp
1773 * gdb.base/structs.exp
1774 * gdb.base/structs2.exp
1775 * gdb.base/symtab-search-order.exp
1776 * gdb.base/twice.exp
1777 * gdb.base/unload.exp
1778 * gdb.base/varargs.exp
1779 * gdb.base/watchpoint-solib.exp
1780 * gdb.base/watchpoint.exp
1781 * gdb.base/whatis.exp
1782 * gdb.base/wrong_frame_bt_full.exp
1783 * gdb.btrace/dlopen.exp
1784 * gdb.cell/ea-standalone.exp
1785 * gdb.cell/ea-test.exp
1786 * gdb.cp/dispcxx.exp
1787 * gdb.cp/gdb2384.exp
1788 * gdb.cp/method2.exp
1789 * gdb.cp/nextoverthrow.exp
1790 * gdb.cp/pr10728.exp
1791 * gdb.disasm/am33.exp
1792 * gdb.disasm/h8300s.exp
1793 * gdb.disasm/mn10300.exp
1794 * gdb.disasm/sh3.exp
1795 * gdb.dwarf2/dw2-dir-file-name.exp
1796 * gdb.fortran/complex.exp
1797 * gdb.fortran/library-module.exp
1798 * gdb.guile/scm-pretty-print.exp
1799 * gdb.guile/scm-symbol.exp
1800 * gdb.guile/scm-type.exp
1801 * gdb.guile/scm-value.exp
1802 * gdb.linespec/linespec.exp
1805 * gdb.mi/mi-breakpoint-changed.exp
1806 * gdb.mi/mi-dprintf-pending.exp
1807 * gdb.mi/mi-dprintf.exp
1808 * gdb.mi/mi-exit-code.exp
1809 * gdb.mi/mi-pending.exp
1810 * gdb.mi/mi-solib.exp
1811 * gdb.mi/new-ui-mi-sync.exp
1812 * gdb.mi/pr11022.exp
1813 * gdb.mi/user-selected-context-sync.exp
1814 * gdb.opt/solib-intra-step.exp
1815 * gdb.python/py-events.exp
1816 * gdb.python/py-finish-breakpoint.exp
1817 * gdb.python/py-mi.exp
1818 * gdb.python/py-prettyprint.exp
1819 * gdb.python/py-shared.exp
1820 * gdb.python/py-symbol.exp
1821 * gdb.python/py-template.exp
1822 * gdb.python/py-type.exp
1823 * gdb.python/py-value.exp
1824 * gdb.reverse/solib-precsave.exp
1825 * gdb.reverse/solib-reverse.exp
1826 * gdb.server/solib-list.exp
1827 * gdb.stabs/weird.exp
1828 * gdb.threads/reconnect-signal.exp
1829 * gdb.threads/stepi-random-signal.exp
1830 * gdb.trace/actions.exp
1832 * gdb.trace/backtrace.exp
1833 * gdb.trace/change-loc.exp
1834 * gdb.trace/deltrace.exp
1835 * gdb.trace/ftrace-lock.exp
1836 * gdb.trace/ftrace.exp
1837 * gdb.trace/infotrace.exp
1838 * gdb.trace/mi-tracepoint-changed.exp
1839 * gdb.trace/packetlen.exp
1840 * gdb.trace/passcount.exp
1841 * gdb.trace/pending.exp
1842 * gdb.trace/range-stepping.exp
1843 * gdb.trace/report.exp
1844 * gdb.trace/stap-trace.exp
1845 * gdb.trace/tfind.exp
1846 * gdb.trace/trace-break.exp
1847 * gdb.trace/trace-condition.exp
1848 * gdb.trace/trace-enable-disable.exp
1849 * gdb.trace/trace-mt.exp
1850 * gdb.trace/tracecmd.exp
1851 * gdb.trace/tspeed.exp
1855 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1857 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1858 with gdb_test_no_output.
1859 Use command as test name.
1861 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1863 Fix test names starting with uppercase throughout the files.
1865 * gdb.ada/assign_1.exp
1866 * gdb.ada/boolean_expr.exp
1867 * gdb.base/arrayidx.exp
1869 * gdb.base/gcore-buffer-overflow.exp
1870 * gdb.base/testenv.exp
1871 * gdb.compile/compile.exp
1872 * gdb.python/py-framefilter-invalidarg.exp
1873 * gdb.python/py-framefilter.exp
1875 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1877 Fix test names starting with uppercase throughout the files.
1879 * gdb.ada/array_return.exp
1880 * gdb.ada/expr_delims.exp
1881 * gdb.ada/mi_dyn_arr.exp
1882 * gdb.ada/mi_interface.exp
1883 * gdb.ada/mi_var_array.exp
1884 * gdb.ada/watch_arg.exp
1885 * gdb.arch/alpha-step.exp
1886 * gdb.arch/altivec-regs.exp
1887 * gdb.arch/e500-regs.exp
1888 * gdb.arch/powerpc-d128-regs.exp
1889 * gdb.base/arrayidx.exp
1890 * gdb.base/break.exp
1891 * gdb.base/checkpoint.exp
1892 * gdb.base/debug-expr.exp
1893 * gdb.base/dmsym.exp
1894 * gdb.base/radix.exp
1895 * gdb.base/sepdebug.exp
1896 * gdb.base/testenv.exp
1897 * gdb.base/watch_thread_num.exp
1898 * gdb.base/watchpoint-cond-gone.exp
1899 * gdb.cell/break.exp
1900 * gdb.cell/ea-cache.exp
1901 * gdb.compile/compile.exp
1902 * gdb.cp/gdb2495.exp
1903 * gdb.gdb/selftest.exp
1904 * gdb.gdb/xfullpath.exp
1906 * gdb.go/integers.exp
1907 * gdb.objc/basicclass.exp
1908 * gdb.pascal/hello.exp
1909 * gdb.pascal/integers.exp
1910 * gdb.python/py-breakpoint.exp
1911 * gdb.python/py-cmd.exp
1912 * gdb.python/py-linetable.exp
1913 * gdb.python/py-xmethods.exp
1914 * gdb.python/python.exp
1915 * gdb.reverse/consecutive-precsave.exp
1916 * gdb.reverse/finish-precsave.exp
1917 * gdb.reverse/i386-precsave.exp
1918 * gdb.reverse/machinestate-precsave.exp
1919 * gdb.reverse/sigall-precsave.exp
1920 * gdb.reverse/solib-precsave.exp
1921 * gdb.reverse/step-precsave.exp
1922 * gdb.reverse/until-precsave.exp
1923 * gdb.reverse/watch-precsave.exp
1924 * gdb.threads/leader-exit.exp
1925 * gdb.threads/pthreads.exp
1926 * gdb.threads/wp-replication.exp
1927 * gdb.trace/actions.exp
1928 * gdb.trace/mi-tsv-changed.exp
1931 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1933 Fix test names starting with uppercase throughout the files.
1935 * gdb.arch/i386-bp_permanent.exp
1936 * gdb.arch/i386-gnu-cfi.exp
1937 * gdb.base/disasm-end-cu.exp
1938 * gdb.base/macscp.exp
1939 * gdb.base/pending.exp
1940 * gdb.base/watch_thread_num.exp
1941 * gdb.cp/exception.exp
1942 * gdb.cp/gdb2495.exp
1944 * gdb.python/py-evsignal.exp
1945 * gdb.python/python.exp
1946 * gdb.trace/tracecmd.exp
1948 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1950 Fix test names starting with uppercase throughout the files.
1952 * gdb.base/charset.exp
1954 * gdb.base/multi-forks.exp
1955 * gdb.guile/scm-progspace.exp
1956 * gdb.opencl/datatypes.exp
1957 * gdb.python/py-block.exp
1958 * gdb.python/py-function.exp
1959 * gdb.python/py-symbol.exp
1960 * gdb.python/py-symtab.exp
1961 * gdb.python/py-xmethods.exp
1962 * gdb.reverse/break-precsave.exp
1963 * gdb.reverse/break-reverse.exp
1964 * gdb.reverse/consecutive-precsave.exp
1965 * gdb.reverse/consecutive-reverse.exp
1966 * gdb.reverse/finish-precsave.exp
1967 * gdb.reverse/finish-reverse-bkpt.exp
1968 * gdb.reverse/finish-reverse.exp
1969 * gdb.reverse/fstatat-reverse.exp
1970 * gdb.reverse/getresuid-reverse.exp
1971 * gdb.reverse/i386-precsave.exp
1972 * gdb.reverse/i386-reverse.exp
1973 * gdb.reverse/i386-sse-reverse.exp
1974 * gdb.reverse/i387-stack-reverse.exp
1975 * gdb.reverse/insn-reverse.exp
1976 * gdb.reverse/machinestate-precsave.exp
1977 * gdb.reverse/machinestate.exp
1978 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1979 * gdb.reverse/pipe-reverse.exp
1980 * gdb.reverse/readv-reverse.exp
1981 * gdb.reverse/recvmsg-reverse.exp
1982 * gdb.reverse/rerun-prec.exp
1983 * gdb.reverse/s390-mvcle.exp
1984 * gdb.reverse/sigall-precsave.exp
1985 * gdb.reverse/sigall-reverse.exp
1986 * gdb.reverse/solib-precsave.exp
1987 * gdb.reverse/solib-reverse.exp
1988 * gdb.reverse/step-precsave.exp
1989 * gdb.reverse/step-reverse.exp
1990 * gdb.reverse/time-reverse.exp
1991 * gdb.reverse/until-precsave.exp
1992 * gdb.reverse/until-reverse.exp
1993 * gdb.reverse/waitpid-reverse.exp
1994 * gdb.reverse/watch-precsave.exp
1995 * gdb.reverse/watch-reverse.exp
1997 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1999 Fix test names starting with uppercase throughout the files.
2001 * gdb.arch/i386-mpx-simple_segv.exp
2002 * gdb.arch/i386-mpx.exp
2003 * gdb.arch/i386-permbkpt.exp
2004 * gdb.arch/pa-nullify.exp
2005 * gdb.arch/powerpc-d128-regs.exp
2006 * gdb.arch/vsx-regs.exp
2007 * gdb.base/bfp-test.exp
2008 * gdb.base/break.exp
2009 * gdb.base/breakpoint-shadow.exp
2010 * gdb.base/callfuncs.exp
2011 * gdb.base/charset.exp
2012 * gdb.base/commands.exp
2013 * gdb.base/completion.exp
2014 * gdb.base/dfp-test.exp
2016 * gdb.base/ending-run.exp
2018 * gdb.base/expand-psymtabs.exp
2019 * gdb.base/float128.exp
2020 * gdb.base/floatn.exp
2021 * gdb.base/foll-exec-mode.exp
2022 * gdb.base/gdb1056.exp
2023 * gdb.base/gdb11531.exp
2024 * gdb.base/kill-after-signal.exp
2025 * gdb.base/multi-forks.exp
2026 * gdb.base/overlays.exp
2027 * gdb.base/pending.exp
2028 * gdb.base/sepdebug.exp
2029 * gdb.base/testenv.exp
2030 * gdb.base/valgrind-db-attach.exp
2031 * gdb.base/watch_thread_num.exp
2032 * gdb.base/watchpoint-cond-gone.exp
2033 * gdb.base/watchpoint.exp
2034 * gdb.base/watchpoints.exp
2035 * gdb.cp/arg-reference.exp
2036 * gdb.cp/baseenum.exp
2037 * gdb.cp/operator.exp
2039 * gdb.dwarf2/dw2-op-out-param.exp
2040 * gdb.dwarf2/dw2-reg-undefined.exp
2043 * gdb.go/integers.exp
2044 * gdb.go/methods.exp
2045 * gdb.go/package.exp
2046 * gdb.guile/scm-parameter.exp
2047 * gdb.guile/scm-progspace.exp
2048 * gdb.guile/scm-value.exp
2049 * gdb.mi/mi-pending.exp
2050 * gdb.mi/user-selected-context-sync.exp
2051 * gdb.multi/multi-attach.exp
2052 * gdb.multi/tids.exp
2053 * gdb.opt/clobbered-registers-O2.exp
2054 * gdb.pascal/floats.exp
2055 * gdb.pascal/integers.exp
2056 * gdb.python/py-block.exp
2057 * gdb.python/py-events.exp
2058 * gdb.python/py-parameter.exp
2059 * gdb.python/py-symbol.exp
2060 * gdb.python/py-symtab.exp
2061 * gdb.python/py-type.exp
2062 * gdb.python/py-value.exp
2063 * gdb.python/py-xmethods.exp
2064 * gdb.python/python.exp
2065 * gdb.reverse/break-precsave.exp
2066 * gdb.reverse/consecutive-precsave.exp
2067 * gdb.reverse/finish-precsave.exp
2068 * gdb.reverse/i386-precsave.exp
2069 * gdb.reverse/machinestate-precsave.exp
2070 * gdb.reverse/sigall-precsave.exp
2071 * gdb.reverse/solib-precsave.exp
2072 * gdb.reverse/step-precsave.exp
2073 * gdb.reverse/until-precsave.exp
2074 * gdb.reverse/watch-precsave.exp
2075 * gdb.server/ext-attach.exp
2076 * gdb.server/ext-restart.exp
2077 * gdb.server/ext-run.exp
2078 * gdb.server/ext-wrapper.exp
2079 * gdb.stabs/gdb11479.exp
2080 * gdb.stabs/weird.exp
2081 * gdb.threads/attach-many-short-lived-threads.exp
2082 * gdb.threads/kill.exp
2083 * gdb.threads/watchpoint-fork.exp
2085 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2087 Fix test names starting with uppercase throughout all the files below.
2089 * gdb.ada/array_return.exp
2090 * gdb.ada/catch_ex.exp
2091 * gdb.ada/info_exc.exp
2092 * gdb.ada/mi_catch_ex.exp
2093 * gdb.ada/mi_dyn_arr.exp
2094 * gdb.ada/mi_ex_cond.exp
2095 * gdb.ada/mi_exc_info.exp
2096 * gdb.ada/mi_interface.exp
2097 * gdb.ada/mi_task_arg.exp
2098 * gdb.ada/mi_task_info.exp
2099 * gdb.ada/mi_var_array.exp
2100 * gdb.arch/alpha-step.exp
2101 * gdb.arch/amd64-disp-step.exp
2102 * gdb.arch/arm-disp-step.exp
2103 * gdb.arch/disp-step-insn-reloc.exp
2104 * gdb.arch/e500-prologue.exp
2105 * gdb.arch/ftrace-insn-reloc.exp
2106 * gdb.arch/gdb1558.exp
2107 * gdb.arch/i386-bp_permanent.exp
2108 * gdb.arch/i386-disp-step.exp
2109 * gdb.arch/i386-float.exp
2110 * gdb.arch/i386-gnu-cfi.exp
2111 * gdb.arch/ia64-breakpoint-shadow.exp
2112 * gdb.arch/mips16-thunks.exp
2113 * gdb.arch/pa-nullify.exp
2114 * gdb.arch/powerpc-aix-prologue.exp
2115 * gdb.arch/powerpc-power.exp
2116 * gdb.arch/ppc-dfp.exp
2117 * gdb.arch/s390-tdbregs.exp
2118 * gdb.arch/spu-info.exp
2119 * gdb.arch/spu-ls.exp
2120 * gdb.arch/thumb-bx-pc.exp
2121 * gdb.base/advance.exp
2122 * gdb.base/annota-input-while-running.exp
2123 * gdb.base/arrayidx.exp
2124 * gdb.base/asmlabel.exp
2125 * gdb.base/async.exp
2126 * gdb.base/attach-wait-input.exp
2127 * gdb.base/auto-connect-native-target.exp
2128 * gdb.base/batch-preserve-term-settings.exp
2129 * gdb.base/bfp-test.exp
2130 * gdb.base/bigcore.exp
2131 * gdb.base/bp-permanent.exp
2132 * gdb.base/break-always.exp
2133 * gdb.base/break-fun-addr.exp
2134 * gdb.base/break-idempotent.exp
2135 * gdb.base/break-main-file-remove-fail.exp
2136 * gdb.base/break-probes.exp
2137 * gdb.base/break-unload-file.exp
2138 * gdb.base/break.exp
2139 * gdb.base/call-ar-st.exp
2140 * gdb.base/call-rt-st.exp
2141 * gdb.base/call-sc.exp
2142 * gdb.base/call-signal-resume.exp
2143 * gdb.base/call-strs.exp
2144 * gdb.base/callexit.exp
2145 * gdb.base/callfuncs.exp
2146 * gdb.base/catch-gdb-caused-signals.exp
2147 * gdb.base/catch-signal-siginfo-cond.exp
2148 * gdb.base/catch-syscall.exp
2149 * gdb.base/compare-sections.exp
2150 * gdb.base/cond-eval-mode.exp
2151 * gdb.base/condbreak-call-false.exp
2152 * gdb.base/consecutive-step-over.exp
2153 * gdb.base/cursal.exp
2154 * gdb.base/disabled-location.exp
2155 * gdb.base/disasm-end-cu.exp
2156 * gdb.base/display.exp
2157 * gdb.base/double-prompt-target-event-error.exp
2158 * gdb.base/dprintf-bp-same-addr.exp
2159 * gdb.base/dprintf-detach.exp
2160 * gdb.base/dprintf-next.exp
2161 * gdb.base/dprintf-non-stop.exp
2162 * gdb.base/dprintf-pending.exp
2163 * gdb.base/dso2dso.exp
2164 * gdb.base/ending-run.exp
2165 * gdb.base/enum_cond.exp
2166 * gdb.base/examine-backward.exp
2167 * gdb.base/exe-lock.exp
2168 * gdb.base/exec-invalid-sysroot.exp
2169 * gdb.base/execl-update-breakpoints.exp
2170 * gdb.base/execution-termios.exp
2171 * gdb.base/fileio.exp
2172 * gdb.base/fixsection.exp
2173 * gdb.base/foll-exec-mode.exp
2174 * gdb.base/foll-exec.exp
2175 * gdb.base/fork-running-state.exp
2176 * gdb.base/frame-args.exp
2177 * gdb.base/fullpath-expand.exp
2178 * gdb.base/func-ptr.exp
2179 * gdb.base/gcore-relro-pie.exp
2180 * gdb.base/gdb1090.exp
2181 * gdb.base/gdb1555.exp
2182 * gdb.base/global-var-nested-by-dso.exp
2183 * gdb.base/gnu-ifunc.exp
2184 * gdb.base/hbreak-in-shr-unsupported.exp
2185 * gdb.base/hbreak-unmapped.exp
2186 * gdb.base/hook-stop.exp
2187 * gdb.base/infcall-input.exp
2188 * gdb.base/info-fun.exp
2189 * gdb.base/info-shared.exp
2190 * gdb.base/interrupt-noterm.exp
2191 * gdb.base/jit-so.exp
2193 * gdb.base/line-symtabs.exp
2195 * gdb.base/longjmp.exp
2196 * gdb.base/macscp.exp
2197 * gdb.base/max-value-size.exp
2198 * gdb.base/nodebug.exp
2199 * gdb.base/nofield.exp
2200 * gdb.base/overlays.exp
2201 * gdb.base/paginate-after-ctrl-c-running.exp
2202 * gdb.base/paginate-bg-execution.exp
2203 * gdb.base/paginate-inferior-exit.exp
2204 * gdb.base/pending.exp
2205 * gdb.base/pr11022.exp
2206 * gdb.base/printcmds.exp
2207 * gdb.base/ptr-typedef.exp
2208 * gdb.base/ptype.exp
2209 * gdb.base/randomize.exp
2210 * gdb.base/range-stepping.exp
2211 * gdb.base/realname-expand.exp
2212 * gdb.base/relativedebug.exp
2213 * gdb.base/remote.exp
2214 * gdb.base/savedregs.exp
2215 * gdb.base/sepdebug.exp
2216 * gdb.base/set-noassign.exp
2217 * gdb.base/shlib-call.exp
2218 * gdb.base/shreloc.exp
2219 * gdb.base/sigaltstack.exp
2220 * gdb.base/sigbpt.exp
2221 * gdb.base/siginfo-addr.exp
2222 * gdb.base/siginfo-obj.exp
2223 * gdb.base/siginfo-thread.exp
2224 * gdb.base/signest.exp
2225 * gdb.base/signull.exp
2226 * gdb.base/sigrepeat.exp
2228 * gdb.base/so-impl-ld.exp
2229 * gdb.base/solib-corrupted.exp
2230 * gdb.base/solib-disc.exp
2231 * gdb.base/solib-display.exp
2232 * gdb.base/solib-overlap.exp
2233 * gdb.base/solib-search.exp
2234 * gdb.base/solib-symbol.exp
2235 * gdb.base/source-execution.exp
2236 * gdb.base/sss-bp-on-user-bp-2.exp
2237 * gdb.base/sss-bp-on-user-bp.exp
2238 * gdb.base/stack-checking.exp
2239 * gdb.base/stale-infcall.exp
2240 * gdb.base/step-break.exp
2241 * gdb.base/step-line.exp
2242 * gdb.base/step-over-exit.exp
2243 * gdb.base/step-test.exp
2244 * gdb.base/structs.exp
2245 * gdb.base/sym-file.exp
2246 * gdb.base/symtab-search-order.exp
2248 * gdb.base/type-opaque.exp
2249 * gdb.base/unload.exp
2250 * gdb.base/until-nodebug.exp
2251 * gdb.base/until.exp
2252 * gdb.base/unwindonsignal.exp
2253 * gdb.base/watch-cond.exp
2254 * gdb.base/watch-non-mem.exp
2255 * gdb.base/watch_thread_num.exp
2256 * gdb.base/watchpoint-reuse-slot.exp
2257 * gdb.base/watchpoint-solib.exp
2258 * gdb.base/watchpoint.exp
2259 * gdb.btrace/dlopen.exp
2261 * gdb.cell/break.exp
2265 * gdb.cell/dwarfaddr.exp
2266 * gdb.cell/ea-cache.exp
2267 * gdb.cell/ea-standalone.exp
2268 * gdb.cell/ea-test.exp
2269 * gdb.cell/f-regs.exp
2271 * gdb.cell/gcore.exp
2272 * gdb.cell/mem-access.exp
2273 * gdb.cell/ptype.exp
2274 * gdb.cell/registers.exp
2275 * gdb.cell/sizeof.exp
2276 * gdb.cell/solib-symbol.exp
2277 * gdb.cell/solib.exp
2278 * gdb.compile/compile-tls.exp
2279 * gdb.cp/exception.exp
2280 * gdb.cp/gdb2495.exp
2282 * gdb.cp/mb-inline.exp
2283 * gdb.cp/mb-templates.exp
2284 * gdb.cp/pr10687.exp
2286 * gdb.cp/scope-err.exp
2287 * gdb.cp/templates.exp
2288 * gdb.cp/virtfunc.exp
2289 * gdb.dwarf2/dw2-dir-file-name.exp
2290 * gdb.dwarf2/dw2-single-line-discriminators.exp
2291 * gdb.fortran/complex.exp
2292 * gdb.fortran/library-module.exp
2293 * gdb.guile/guile.exp
2294 * gdb.guile/scm-cmd.exp
2295 * gdb.guile/scm-frame-inline.exp
2296 * gdb.guile/scm-objfile.exp
2297 * gdb.guile/scm-pretty-print.exp
2298 * gdb.guile/scm-symbol.exp
2299 * gdb.guile/scm-type.exp
2300 * gdb.guile/scm-value.exp
2301 * gdb.linespec/keywords.exp
2302 * gdb.linespec/ls-errs.exp
2303 * gdb.linespec/macro-relative.exp
2304 * gdb.linespec/thread.exp
2305 * gdb.mi/mi-breakpoint-changed.exp
2306 * gdb.mi/mi-dprintf-pending.exp
2307 * gdb.mi/mi-fullname-deleted.exp
2308 * gdb.mi/mi-logging.exp
2309 * gdb.mi/mi-pending.exp
2310 * gdb.mi/mi-solib.exp
2311 * gdb.mi/new-ui-mi-sync.exp
2312 * gdb.mi/user-selected-context-sync.exp
2313 * gdb.multi/dummy-frame-restore.exp
2314 * gdb.multi/multi-arch-exec.exp
2315 * gdb.multi/remove-inferiors.exp
2316 * gdb.multi/watchpoint-multi-exit.exp
2317 * gdb.opt/solib-intra-step.exp
2318 * gdb.perf/backtrace.exp
2319 * gdb.perf/single-step.exp
2320 * gdb.perf/skip-command.exp
2321 * gdb.perf/skip-prologue.exp
2322 * gdb.perf/solib.exp
2323 * gdb.python/lib-types.exp
2324 * gdb.python/py-as-string.exp
2325 * gdb.python/py-bad-printers.exp
2326 * gdb.python/py-block.exp
2327 * gdb.python/py-breakpoint.exp
2328 * gdb.python/py-cmd.exp
2329 * gdb.python/py-events.exp
2330 * gdb.python/py-evthreads.exp
2331 * gdb.python/py-finish-breakpoint.exp
2332 * gdb.python/py-finish-breakpoint2.exp
2333 * gdb.python/py-frame-inline.exp
2334 * gdb.python/py-frame.exp
2335 * gdb.python/py-inferior.exp
2336 * gdb.python/py-infthread.exp
2337 * gdb.python/py-mi.exp
2338 * gdb.python/py-objfile.exp
2339 * gdb.python/py-pp-maint.exp
2340 * gdb.python/py-pp-registration.exp
2341 * gdb.python/py-prettyprint.exp
2342 * gdb.python/py-recurse-unwind.exp
2343 * gdb.python/py-shared.exp
2344 * gdb.python/py-symbol.exp
2345 * gdb.python/py-symtab.exp
2346 * gdb.python/py-template.exp
2347 * gdb.python/py-type.exp
2348 * gdb.python/py-unwind-maint.exp
2349 * gdb.python/py-unwind.exp
2350 * gdb.python/py-value.exp
2351 * gdb.python/python.exp
2352 * gdb.reverse/finish-reverse-bkpt.exp
2353 * gdb.reverse/insn-reverse.exp
2354 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2355 * gdb.reverse/solib-precsave.exp
2356 * gdb.reverse/solib-reverse.exp
2357 * gdb.stabs/gdb11479.exp
2358 * gdb.stabs/weird.exp
2359 * gdb.threads/fork-child-threads.exp
2360 * gdb.threads/fork-plus-threads.exp
2361 * gdb.threads/fork-thread-pending.exp
2362 * gdb.threads/forking-threads-plus-breakpoint.exp
2363 * gdb.threads/hand-call-in-threads.exp
2364 * gdb.threads/interrupted-hand-call.exp
2365 * gdb.threads/linux-dp.exp
2366 * gdb.threads/local-watch-wrong-thread.exp
2367 * gdb.threads/next-while-other-thread-longjmps.exp
2368 * gdb.threads/non-ldr-exit.exp
2369 * gdb.threads/pending-step.exp
2370 * gdb.threads/print-threads.exp
2371 * gdb.threads/process-dies-while-detaching.exp
2372 * gdb.threads/process-dies-while-handling-bp.exp
2373 * gdb.threads/pthreads.exp
2374 * gdb.threads/queue-signal.exp
2375 * gdb.threads/reconnect-signal.exp
2376 * gdb.threads/signal-command-handle-nopass.exp
2377 * gdb.threads/signal-command-multiple-signals-pending.exp
2378 * gdb.threads/signal-delivered-right-thread.exp
2379 * gdb.threads/signal-sigtrap.exp
2380 * gdb.threads/sigthread.exp
2381 * gdb.threads/staticthreads.exp
2382 * gdb.threads/stepi-random-signal.exp
2383 * gdb.threads/thread-unwindonsignal.exp
2384 * gdb.threads/thread_check.exp
2385 * gdb.threads/thread_events.exp
2386 * gdb.threads/tid-reuse.exp
2387 * gdb.threads/tls-nodebug.exp
2388 * gdb.threads/tls-shared.exp
2389 * gdb.threads/tls-so_extern.exp
2390 * gdb.threads/tls.exp
2391 * gdb.threads/wp-replication.exp
2392 * gdb.trace/actions-changed.exp
2393 * gdb.trace/actions.exp
2394 * gdb.trace/backtrace.exp
2395 * gdb.trace/change-loc.exp
2396 * gdb.trace/collection.exp
2397 * gdb.trace/deltrace.exp
2398 * gdb.trace/disconnected-tracing.exp
2399 * gdb.trace/entry-values.exp
2400 * gdb.trace/ftrace-lock.exp
2401 * gdb.trace/ftrace.exp
2402 * gdb.trace/infotrace.exp
2403 * gdb.trace/mi-trace-frame-collected.exp
2404 * gdb.trace/mi-trace-unavailable.exp
2405 * gdb.trace/mi-traceframe-changed.exp
2406 * gdb.trace/mi-tracepoint-changed.exp
2407 * gdb.trace/mi-tsv-changed.exp
2408 * gdb.trace/no-attach-trace.exp
2409 * gdb.trace/packetlen.exp
2410 * gdb.trace/passc-dyn.exp
2411 * gdb.trace/passcount.exp
2412 * gdb.trace/pending.exp
2413 * gdb.trace/pr16508.exp
2414 * gdb.trace/qtro.exp
2415 * gdb.trace/range-stepping.exp
2416 * gdb.trace/read-memory.exp
2417 * gdb.trace/report.exp
2418 * gdb.trace/save-trace.exp
2419 * gdb.trace/signal.exp
2420 * gdb.trace/stap-trace.exp
2421 * gdb.trace/status-stop.exp
2422 * gdb.trace/strace.exp
2423 * gdb.trace/tfile.exp
2424 * gdb.trace/tfind.exp
2425 * gdb.trace/trace-break.exp
2426 * gdb.trace/trace-condition.exp
2427 * gdb.trace/trace-enable-disable.exp
2428 * gdb.trace/trace-mt.exp
2429 * gdb.trace/tracecmd.exp
2430 * gdb.trace/tracefile-pseudo-reg.exp
2431 * gdb.trace/tspeed.exp
2432 * gdb.trace/tstatus.exp
2434 * gdb.trace/unavailable.exp
2435 * gdb.trace/while-dyn.exp
2436 * gdb.trace/while-stepping.exp
2439 * lib/mi-support.exp
2442 * lib/prelink-support.exp
2443 * lib/selftest-support.exp
2445 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
2447 * Makefile.in: Include disable-implicit-rules.mk.
2449 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2451 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
2452 non-byte-aligned bit fields.
2454 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2457 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
2458 respects the DW_AT_data_bit_offset attribute.
2460 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
2462 * gdb.base/default.exp: Fix output of "set language".
2464 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
2466 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
2467 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
2469 * configure.ac: Remove checks for the make program.
2470 * configure: Re-generate.
2472 2016-11-16 Kevin Buettner <kevinb@redhat.com>
2474 * gdb.python/py-recurse-unwind.c (main): Add loop.
2475 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
2476 to read_register() and gdb.parse_and_eval(). Make each code
2477 call a separate case that can be individually tested.
2478 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
2479 proc. Call cont_and_backtrace for each of the code paths that
2480 we want to test in the unwinder.
2482 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
2484 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
2485 the definition of struct S.
2487 2016-11-11 Catherine Moore <clm@codesourcery.com>
2489 * gdb.base/dump.exp: Identify verilog format dump tests as such.
2491 2016-11-09 Pedro Alves <palves@redhat.com>
2493 * gdb.base/commands.exp (runto_or_return): New procedure.
2494 (gdbvar_simple_if_test, gdbvar_simple_while_test)
2495 (gdbvar_complex_if_while_test, progvar_simple_if_test)
2496 (progvar_simple_while_test, progvar_complex_if_while_test)
2497 (if_while_breakpoint_command_test)
2498 (infrun_breakpoint_command_test, breakpoint_command_test)
2499 (user_defined_command_test, watchpoint_command_test)
2500 (test_command_prompt_position, redefine_hook_test)
2501 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
2502 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
2503 multi_line_input and multi_line. Remove gdb_expect and
2504 gdb_stop_suppressing_tests uses.
2505 * lib/gdb.exp (valnum_re): New global.
2506 (multi_line_input): New procedure.
2508 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
2510 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
2512 (test_setup): Define with proc_with_prefix.
2513 (test_cli_inferior): Likewise.
2514 (test_cli_thread): Likewise.
2515 (test_cli_frame): Likewise.
2516 (test_cli_select_frame): Likewise.
2517 (test_cli_up_down): Likewise.
2518 (test_mi_thread_select): Likewise.
2519 (test_mi_stack_select_frame): Likewise.
2520 (test_cli_in_mi_inferior): Likewise.
2521 (test_cli_in_mi_thread): Likewise.
2522 (test_cli_in_mi_frame): Likewise.
2523 (top level): Do not use with_test_prefix_procname.
2525 2016-11-09 Pedro Alves <palves@redhat.com>
2527 * gdb.base/commands.exp (gdbvar_simple_if_test)
2528 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
2529 (progvar_simple_if_test, progvar_simple_while_test)
2530 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
2531 (infrun_breakpoint_command_test, breakpoint_command_test)
2532 (user_defined_command_test, watchpoint_command_test)
2533 (test_command_prompt_position, deprecated_command_test)
2534 (bp_deleted_in_command, temporary_breakpoint_commands)
2535 (stray_arg0_test, source_file_with_indented_comment)
2536 (recursive_source_test, if_commands_test)
2537 (error_clears_commands_left, redefine_hook_test)
2538 (redefine_backtrace_test): Use proc_with_prefix.
2539 * lib/gdb.exp (proc_with_prefix): New proc.
2541 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2543 * gdb.base/tui-layout.c: New file.
2544 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
2545 disassembly window contains very long lines.
2547 2016-11-08 Tom Tromey <tom@tromey.com>
2549 * gdb.python/py-value.exp (test_value_creation): Make "long" test
2552 2016-11-08 Tom Tromey <tom@tromey.com>
2554 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
2557 2016-10-29 Manish Goregaokar <manish@mozilla.com>
2559 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
2561 2016-10-27 Manish Goregaokar <manish@mozilla.com>
2563 * gdb.rust/simple.rs: Add test for univariant enums without
2564 discriminants and for encoded struct-like enums.
2566 2016-10-28 Pedro Alves <palves@redhat.com>
2568 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
2569 gdb_test_multiple, tighten regexps and match symtabs and line
2570 tables incrementally.
2572 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
2574 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
2577 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
2579 * gdb.base/exec-invalid-sysroot.exp: New file.
2581 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2583 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
2585 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2587 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
2589 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
2591 * gdb.base/killed-outside.exp: Remove $options from a call to
2592 `prepare_for_testing'.
2594 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2596 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2597 Change test message.
2599 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2601 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2604 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2606 * gdb.trace/mi-trace-save.exp: New file.
2608 2016-10-13 Yao Qi <yao.qi@linaro.org>
2610 * gdb.base/code_elim.exp (get_var_address): Remove.
2611 * gdb.base/relocate.exp: Likewise.
2612 * gdb.base/shreloc.exp: Likewise.
2613 * lib/gdb.exp (get_var_address): New.
2615 2016-10-13 Yao Qi <yao.qi@linaro.org>
2617 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
2618 floating point tests if $skip_float_test is false.
2620 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
2622 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
2623 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
2625 Add 1 to argc so we guarantee distinct initial/modified argc values.
2627 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2629 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
2631 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2633 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
2634 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2635 * gdb.arch/vsx-regs.exp: Likewise.
2637 2016-10-07 Yao Qi <yao.qi@linaro.org>
2639 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
2641 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
2643 * gdb.python/python.exp: Test decode_line("*0").
2645 2016-10-06 Doug Evans <dje@google.com>
2647 * gdb.python/py-value.exp (test_value_creation): Add test for large
2648 unsigned 64-bit value.
2650 2016-10-06 Tom Tromey <tom@tromey.com>
2652 * gdb.compile/compile.exp: Change java tests to rust.
2653 * gdb.base/setshow.exp: Change java tests to rust.
2654 * gdb.base/default.exp: Remove java from language list.
2655 * README (Examples): Update language example.
2656 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
2658 * lib/gdb.exp (skip_java_tests): Remove.
2659 * lib/java.exp: Remove.
2662 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2664 * gdb.arch/mips-fcr.exp: New test.
2665 * gdb.arch/mips-fcr.c: Source for the new test.
2667 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2669 * gdb.base/solib-disc.exp: Use `standard_output_file'
2672 2016-10-06 Pedro Alves <palves@redhat.com>
2674 * gdb.base/jit-simple-dl.c: New file.
2675 * gdb.base/jit-simple-jit.c: New file, factored out from ...
2676 * gdb.base/jit-simple.c: ... this.
2677 * gdb.base/jit-simple.exp (jit_run): Delete.
2678 (build_jit): New proc.
2679 (jit_test_reread): Recompile either the main program or the shared
2680 library, depending on what is being tested. Skip changing address
2681 if caller wants to. Compare before/after addresses. If testing
2682 standalone, explicitly load the binary. Test "maint info
2684 (top level): Add "standalone vs shared lib" and "change address"
2685 vs "same address" axes.
2687 2016-10-06 Pedro Alves <palves@redhat.com>
2689 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
2692 (jit_test_reread): Use with_test_prefix. Reload the main binary
2693 explicitly. Compare the before/after addresses of the JIT
2696 2016-08-15 Doug Evans <dje@google.com>
2698 * gdb.xml/extra-regs.xml: Update, end field now required, default type
2699 for single bitfields is bool.
2700 * gdb.xml/tdesc-regs.exp: Ditto.
2702 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2704 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
2706 2016-10-05 Yao Qi <yao.qi@linaro.org>
2708 * lib/gdb.exp (support_complex_tests): Return zero if
2709 gdb_skip_float_test return true.
2711 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2712 Simon Marchi <simon.marchi@ericsson.com>
2715 * gdb.mi/user-selected-context-sync.exp: New file.
2716 * gdb.mi/user-selected-context-sync.c: New file.
2718 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2719 Simon Marchi <simon.marchi@ericsson.com>
2722 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
2723 =thread-select-event check.
2725 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2727 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
2728 the compulsory L operand changes.
2729 * gdb.arch/powerpc-power.s: Likewise.
2731 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2733 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
2734 * gdb.base/jit-attach-pie.c: New file.
2735 * gdb.base/jit-attach-pie.exp: New file.
2737 2016-09-28 Pedro Alves <palves@redhat.com>
2739 * gdb.base/infcall-input.c: New file.
2740 * gdb.base/infcall-input.exp: New file.
2742 2016-09-22 Yao Qi <yao.qi@linaro.org>
2744 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
2745 (gdb_exit): Rename it to ...
2746 (gdbserver_gdb_exit): ... Close GDBserver.
2747 (gdb_exit): New proc, call gdbserver_gdb_exit.
2748 (mi_gdb_exit): Likewise.
2750 2016-09-22 Yao Qi <yao.qi@linaro.org>
2752 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
2754 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
2757 2016-09-22 Yao Qi <yao.qi@linaro.org>
2759 * lib/gdbserver-support.exp: Check the existence of
2760 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
2762 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2764 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
2766 2016-09-21 Tom Tromey <tom@tromey.com>
2769 * gdb.base/quit.exp: New file.
2771 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
2773 * .gitignore: New file.
2775 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
2777 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
2780 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2782 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
2784 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2786 * gdb.cp/casts.cc (decltype): Move it ...
2787 (main): ... with its call to ...
2788 * gdb.cp/casts03.cc: ... a new file.
2789 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2791 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2793 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2795 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2797 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2798 and sync up the test with tests in gas/testsuite/gas/ppc.
2799 * gdb.arch/powerpc-power.exp: Likewise.
2801 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2803 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2805 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2806 Jan Kratochvil <jan.kratochvil@redhat.com>
2808 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2809 make m1's definition to be different from m2's. Use 'dummy' as an
2810 argument for probe 'two'.
2812 2016-09-10 Jon Beniston <jon@beniston.com>
2814 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2817 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2819 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2820 variable declaration.
2821 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2822 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2823 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2824 received HWCAP as its argument.
2826 2016-09-06 Pedro Alves <palves@redhat.com>
2828 * gdb.base/new-ui-pending-input.c: New file.
2829 * gdb.base/new-ui-pending-input.exp: New file.
2830 * gdb.exp (clear_gdb_spawn_id): New procedure.
2831 (with_spawn_id): Check whether gdb_spawn_id exists before
2832 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2835 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2837 * gdb.base/float128.c: New file.
2838 * gdb.base/float128.exp: Likewise.
2839 * gdb.base/floatn.c: Likewise.
2840 * gdb.base/floatn.exp: Likewise.
2842 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2844 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2846 2016-09-05 Pedro Alves <palves@redhat.com>
2849 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2850 unwinders are immediately called as side effect of "source" or
2851 "disable unwinder" commands.
2852 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2854 2016-09-02 Yao Qi <yao.qi@linaro.org>
2856 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2857 is true and $type is "float" or "double".
2859 2016-09-02 Yao Qi <yao.qi@linaro.org>
2861 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2863 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2864 * gdb.base/call-rt-st.exp: Likewise.
2865 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2866 return value instead of gdb,skip_float_test.
2867 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2868 (do_function_calls): Use its return value instead of
2869 gdb,skip_float_test.
2870 * gdb.base/finish.exp: Likewise.
2871 * gdb.base/funcargs.exp: Likewise.
2872 * gdb.base/return.exp: Likewise.
2873 * gdb.base/return2.exp: Likewise.
2874 * gdb.base/varargs.exp: Likewise.
2875 * lib/gdb.exp (gdb_skip_float_test): Change it to
2876 gdb_caching_proc. Detect the broken ptrace on arm-linux.
2878 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2880 * gdb.multi/tids.exp: Test "thread apply all".
2882 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2884 * gdb.base/default.exp (tty): Remove.
2886 2016-08-24 Kevin Buettner <kevinb@redhat.com>
2888 * gdb.python/py-recurse-unwind.c: New file.
2889 * gdb.python/py-recurse-unwind.py: New file.
2890 * gdb.python/py-recurse-unwind.exp: New file.
2892 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
2894 * gdb.base/set-inferior-tty.exp: New file.
2895 * gdb.base/set-inferior-tty.c: New file.
2897 2016-08-23 Pedro Alves <palves@redhat.com>
2900 * gdb.base/new-ui-echo.c: New file.
2901 * gdb.base/new-ui-echo.exp: New file.
2903 2016-08-23 Yao Qi <yao.qi@linaro.org>
2905 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
2907 * gdb.server/connect-without-multi-process.exp (do_test):
2910 2016-08-23 Yao Qi <yao.qi@linaro.org>
2912 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
2913 standalone_txt. Delete gdb_txt and standalone_txt on host
2914 and target. Spawn the binary on target. Copy files from
2917 2016-08-22 Pedro Alves <palves@redhat.com>
2920 * gdb.base/vdso-warning.exp: Test core dumps too. Use
2921 with_test_prefix. Factor out bits to ...
2922 (test_no_vdso): ... this new procedure.
2924 2016-08-19 Carl Love <cel@us.ibm.com>
2926 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
2927 maintaining separate logic for constructing the output path.
2928 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2929 * gdb.arch/ppc-dfp.exp: Likewise.
2930 * gdb.arch/ppc-fp.exp: Likewise.
2931 * gdb.arch/vsx-regs.exp: Likewise.
2932 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
2933 binprefix for generating the additional binary files.
2935 2016-08-19 Pedro Alves <palves@redhat.com>
2937 * gdb.trace/mi-trace-frame-collected.exp
2938 (test_trace_frame_collected): On x32, expect two registers.
2940 2016-08-18 Carl Love <cel@us.ibm.com>
2942 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
2943 and sync up the test with tests in gas/testsuite/gas/ppc.
2944 * gdb.arch/powerpc-power.exp: Likewise.
2946 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2948 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
2949 expected error message.
2951 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2953 * gdb.multi/remove-inferiors.exp: New file.
2954 * gdb.multi/remove-inferiors.c: New file.
2956 2016-08-12 Yao Qi <yao.qi@linaro.org>
2958 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
2961 2016-08-10 Pedro Alves <palves@redhat.com>
2964 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
2967 2016-08-09 Pedro Alves <palves@redhat.com>
2968 Simon Marchi <simon.marchi@ericsson.com>
2971 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
2972 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
2974 2016-08-09 Pedro Alves <palves@redhat.com>
2977 * gdb.mi/mi-cmd-error.exp: New file.
2979 2016-08-09 Pedro Alves <palves@redhat.com>
2982 * gdb.base/signals-state-child.c: New file.
2983 * gdb.base/signals-state-child.exp: New file.
2984 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
2986 2016-08-09 Pedro Alves <palves@redhat.com>
2988 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
2990 2016-08-03 Tom Tromey <tom@tromey.com>
2993 * gdb.python/py-frame-inline.exp: Add Frame.function test.
2995 2016-08-01 Yao Qi <yao.qi@linaro.org>
2997 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
2998 variable mode to "multi-process" if $multi_process is 1, otherwise
2999 set it to "single-process".
3001 2016-08-01 Yao Qi <yao.qi@linaro.org>
3003 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
3004 * gdb.cp/cpexprs.exp: Likewise.
3005 * gdb.cp/m-static.exp: Likewise.
3007 2016-07-26 Tom Tromey <tom@tromey.com>
3010 * gdb.threads/tls.exp (check_thread_local): Add python symbol
3013 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
3015 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
3016 selecting assembly source files.
3017 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
3018 assembly source files.
3019 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
3020 assembly source files.
3021 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
3022 selecting assembly source files.
3024 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
3026 * gdb.base/new-ui.exp (do_test_invalid_args): New
3029 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
3031 * gdb.btrace/reconnect.c: New file.
3032 * gdb.btrace/reconnect.exp: New file.
3034 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
3036 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
3037 to test_catch_syscall_group.
3038 (test_catch_syscall_group): New.
3040 2016-07-21 Tom Tromey <tom@tromey.com>
3042 * gdb.rust/simple.rs (main): Use empty struct expression.
3043 * gdb.rust/simple.exp: Add tests for empty struct expression.
3045 2016-07-21 Yao Qi <yao.qi@linaro.org>
3047 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
3048 if gdb_skip_xml_test is true on some targets.
3050 2016-07-21 Yao Qi <yao.qi@linaro.org>
3052 * gdb.server/solib-list.exp: Unset last_loaded_file.
3054 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3056 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
3057 "step into captured_main (args)".
3059 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3061 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
3063 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3065 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
3067 2016-07-19 Pedro Alves <palves@redhat.com>
3069 * gdb.opt/inline-break.exp: Remove optimize=-O2.
3070 * gdb.opt/inline-bt.exp: Likewise.
3071 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
3072 additional_flags=-Winline.
3073 * gdb.opt/inline-locals.exp: Likewise.
3074 * gdb.opt/inline-markers.c (ATTR): Define.
3075 (inlined_fn): Use it.
3077 2016-07-19 Yao Qi <yao.qi@linaro.org>
3079 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
3080 (test_with_self): Remove some code. Remove argument executable.
3081 (top-level): Use do_self_tests.
3083 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
3084 Don Breazeal <donb@codesourcery.com>
3086 * gdb.base/maint.exp: Escape paths used in regular expressions.
3087 * gdb.stabs/weird.exp: Likewise.
3089 2016-07-13 Tom Tromey <tom@tromey.com>
3091 PR python/15620, PR python/18620:
3092 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
3093 (test_bkpt_events): New procs.
3095 2016-07-13 Tom Tromey <tom@tromey.com>
3098 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
3100 (test_watchpoints): Likewise.
3101 (test_bkpt_pending): New proc.
3103 2016-07-13 Tom Tromey <tom@tromey.com>
3106 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
3109 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3111 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
3112 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
3113 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
3115 (g): Rename g_end_lbl to g_label.
3116 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
3118 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
3120 2016-07-12 Tom Tromey <tom@tromey.com>
3123 * gdb.python/py-unwind-maint.exp: Update tests.
3125 2016-07-12 Yao Qi <yao.qi@linaro.org>
3127 * lib/selftest-support.exp (selftest_setup): Match the output
3128 when captured_main is inlined.
3130 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3132 * gdb.fortran/derived-types.exp (result_line, result_line_2):
3134 (print this%a, print this%b, print this): New tests.
3135 * gdb.fortran/derived-types.f90 (this): New object and
3138 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3140 * gdb.ada/arraydim.exp: Remove extra directory level in build
3143 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3145 * lib/ada.exp: Remove extra directory level in build directory.
3146 * gdb.ada/cond_lang.exp: Likewise.
3147 * gdb.ada/exec_changed.exp: Likewise.
3148 * gdb.ada/lang_switch.exp: Likewise.
3150 2016-07-06 Manish Goregaokar <manish@mozilla.com>
3152 * simple.rs: Add test for raw pointer subscripting.
3153 * simple.exp: Add test expectations.
3155 2016-07-05 Yao Qi <yao.qi@linaro.org>
3157 * gdb.mi/mi-reverse.exp: Match =record-started output.
3159 2016-07-01 Pedro Alves <palves@redhat.com>
3161 * gdb.base/jit-reader.exp (info_registers_current_frame): New
3163 (jit_reader_test): Test the jit reader's unwinder.
3164 * gdb.base/jithost.c (jit_function_00_code): New global.
3165 (main): Use memcpy to fill in the mmapped code, instead of poking
3166 bytes manually here.
3167 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
3169 (read_debug_info): Save the function's range.
3170 (read_sp): New function.
3171 (unwind_frame): Use it. Also unwind RBP.
3172 (get_frame_id): Use read_sp.
3173 (gdb_init_reader): Use calloc instead of malloc.
3174 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
3175 parameter. Use gdb_test_multiple.
3177 2016-07-01 Pedro Alves <palves@redhat.com>
3178 Antoine Tremblay <antoine.tremblay@ericsson.com>
3180 * gdb.threads/process-dies-while-detaching.c: New file.
3181 * gdb.threads/process-dies-while-detaching.exp: New file.
3183 2016-07-01 Pedro Alves <palves@redhat.com>
3185 * gdb.multi/watchpoint-multi-exit.c: New file.
3186 * gdb.multi/watchpoint-multi-exit.exp: New file.
3188 2016-06-30 Pedro Alves <palves@redhat.com>
3190 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
3191 unset inferior_spawn_id.
3193 2016-06-30 Pedro Alves <palves@redhat.com>
3195 * lib/mi-support.exp (default_mi_gdb_start): Declare global
3196 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
3198 2016-06-29 Yao Qi <yao.qi@linaro.org>
3200 * gdb.base/return.c: Add copyright header.
3202 2016-06-29 Tom Tromey <tom@tromey.com>
3205 * gdb.python/py-framefilter.exp: Add tests for setting priority
3206 and disabling of non-existent frame filter.
3208 2016-06-29 Yao Qi <yao.qi@linaro.org>
3210 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
3213 2016-06-28 Yao Qi <yao.qi@linaro.org>
3215 * gdb.base/catch-syscall.exp: Remove check on isnative and target
3216 triplets. Start gdb, execute catch syscall, and continue. Check
3217 gdb's output to determine catch syscall is supported.
3219 2016-06-27 Manish Goregaokar <manish@mozilla.com>
3221 * gdb.rust/simple.rs: Add test for returning unit in a function.
3222 * gdb.rust/simple.exp: Add expectation for functions returning
3225 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
3227 * gdb.python/py-breakpoint-create-fail.c,
3228 gdb.python/py-breakpoint-create-fail.exp,
3229 gdb.python/py-breakpoint-create-fail.py: New testcase.
3231 2016-06-25 Manish Goregaokar <manish@mozilla.com>
3234 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
3235 * gdb.rust/simple.exp: Add test expectations for new NonZero
3238 2016-06-24 David Taylor <dtaylor@emc.com>
3240 * gdb.base/offsets.exp: New file.
3241 * gdb.base/offsets.c: New file.
3243 2016-06-23 Tom Tromey <tom@tromey.com>
3246 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
3247 before any filters are loaded.
3249 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
3251 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
3252 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
3254 * gdb.fortran/derived-type-function.exp: New file.
3255 * gdb.fortran/derived-type-function.f90: New file.
3258 2016-06-21 Pedro Alves <palves@redhat.com>
3260 * gdb.base/new-ui.exp: New file.
3261 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
3262 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
3263 (with_spawn_id): New procedure.
3265 2016-06-21 Pedro Alves <palves@redhat.com>
3267 * gdb.mi/mi-exec-run.exp: New file.
3269 2016-06-21 Pedro Alves <palves@redhat.com>
3271 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
3272 breakpoint command's output on the main UI.
3273 (test_break): New procedure, factored out from calls in the top
3275 (top level): Use foreach_with_prefix to test MI as main UI and as
3278 2016-06-21 Pedro Alves <palves@redhat.com>
3280 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
3281 (test_awatch_creation_and_listing)
3282 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
3283 Remove 'type' parameter.
3284 (test_watchpoint_all): New parameter mi_mode. Remove
3286 (top level): Use foreach_with_prefix, and add main/separate UI MI
3289 2016-06-21 Pedro Alves <palves@redhat.com>
3291 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
3292 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
3293 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
3294 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
3295 (gdb_main_spawn_id, mi_spawn_id): Declare and
3297 (mi_create_inferior_pty): New procedure,
3298 factored out from default_mi_gdb_start.
3299 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
3301 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
3302 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
3303 Use mi_create_inferior_pty.
3304 (mi_gdb_start): Use eval to pass down args list.
3306 2016-06-21 Pedro Alves <palves@redhat.com>
3308 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
3309 * gdb.opt/inline-cmds.exp: Add MI tests.
3311 2016-06-21 Pedro Alves <palves@redhat.com>
3313 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
3315 2016-06-21 Pedro Alves <palves@redhat.com>
3317 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
3318 (top level): Use it instead of mi_execute_to.
3320 2016-06-21 Pedro Alves <palves@redhat.com>
3322 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
3323 (cont_handler_str): New.
3324 (signal_stop_handler): Set stop_handler_str instead of printing to
3326 (continue_handler): Set cont_handler_str instead of printing to
3328 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
3329 mi_send_resuming_command. Print stop_handler_str and
3330 cont_handler_str instead of expecting the python events print
3333 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
3335 * gdb.base/jit-reader.exp: New file.
3336 * gdb.base/jithost.c: New file.
3337 * gdb.base/jithost.h: New file.
3338 * gdb.base/jitreader.c : New file.
3339 * gdb.base/jit-protocol.h: New file.
3341 2016-06-17 Yao Qi <yao.qi@linaro.org>
3343 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
3344 parameters follow_fork and detach_on_fork. Set follow-fork-mode
3345 and detach-on-fork. Adjust tests.
3346 (top level): Invoke break_cond_on_syscall with combinations of
3347 syscall, follow-fork-mode and detach-on-fork.
3349 2016-06-17 Yao Qi <yao.qi@linaro.org>
3351 * gdb.base/step-over-exit.c: New.
3352 * gdb.base/step-over-exit.exp: New.
3354 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
3356 * gdb.base/float.exp: Add target check for nds32*-*-*.
3357 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
3359 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
3361 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
3362 for unsupported target features.
3363 * gdb.base/call-rt-st.exp: Likewise.
3364 * gdb.base/call-sc.exp: Likewise.
3365 * gdb.base/call-signal-resume.exp: Likewise.
3366 * gdb.base/call-strs.exp: Likewise.
3367 * gdb.base/callexit.exp: Likewise.
3368 * gdb.base/callfuncs.exp: Likewise.
3369 * gdb.base/nodebug.exp: Likewise.
3370 * gdb.base/printcmds.exp: Likewise.
3371 * gdb.base/ptype.exp: Likewise.
3372 * gdb.base/structs.exp: Likewise.
3373 * gdb.base/unwindonsignal.exp: Likewise.
3374 * gdb.cp/gdb2495.exp: Likewise.
3375 * gdb.cp/templates.exp: Likewise.
3376 * gdb.cp/virtfunc.exp: Likewise.
3377 * gdb.threads/hand-call-in-threads.exp: Likewise.
3378 * gdb.threads/interrupted-hand-call.exp: Likewise.
3379 * gdb.threads/thread-unwindonsignal.exp: Likewise.
3381 2016-06-10 Tom Tromey <tom@tromey.com>
3384 * gdb.rust/expr.exp: Add test for integer constant larger than
3387 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
3389 * gdb.fortran/nested-funcs.exp: New.
3390 * gdb.fortran/nested-funcs.f90: New.
3392 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
3394 * gdb.base/examine-backward.c: New file.
3395 * gdb.base/examine-backward.exp: New file.
3397 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
3399 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
3402 2016-06-02 Tom Tromey <tom@tromey.com>
3405 * gdb.python/py-shared.exp: Add solib_name test.
3407 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
3409 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
3411 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
3414 * gdb.dwarf2/implref.exp: Rename to...
3415 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
3416 * gdb.dwarf2/implref-array.c: New file.
3417 * gdb.dwarf2/implref-array.exp: Likewise.
3418 * gdb.dwarf2/implref-global.c: Likewise.
3419 * gdb.dwarf2/implref-global.exp: Likewise.
3420 * gdb.dwarf2/implref-struct.c: Likewise.
3421 * gdb.dwarf2/implref-struct.exp: Likewise.
3423 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3425 * gdb.trace/trace-condition.exp: Add 64bit tests.
3427 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3429 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
3431 (main): Adapt to 8 to 64 bits types.
3432 * gdb.trace/trace-condition.exp: Add new tests.
3434 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3436 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
3438 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3440 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
3441 Move condition tests...
3442 * gdb.trace/trace-condition.exp: Here.
3444 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3446 * gdb.trace/trace-condition.exp: Add counter-case tests.
3448 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3451 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
3452 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
3454 2016-05-27 Pedro Alves <palves@redhat.com>
3456 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3458 (top level): Call it, and bail out of DejaGnu is known to be bad.
3460 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
3462 * gdb.base/whatis.c: Extend the test case.
3463 * gdb.base/whatis.exp: Add additional tests.
3465 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3467 * gdb.fortran/type.f90: Add pointer variable.
3468 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
3470 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3472 * gdb.fortran/vla-type.exp: Fix testcase name.
3474 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3476 * gdb.fortran/vla-type.exp: Access elements in nested structs.
3478 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3480 * gdb.fortran/type.f90: Add nested structures.
3481 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
3482 * gdb.fortran/derived-type.exp: Adapt expected output.
3483 * gdb.fortran/vla-type.exp: Adapt expected output.
3485 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3487 * gdb.fortran/whatis_type.exp: Adapt expected output.
3489 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3491 * gdb.fortran/print_type.exp: Fix expected output.
3492 * gdb.fortran/whatis_type.exp: Fix expected output.
3494 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3496 * gdb.fortran/whatis_type.exp: Use multi_line.
3498 2016-05-24 Tom Tromey <tom@tromey.com>
3501 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
3502 use value as an index.
3504 2016-05-23 Tom Tromey <tom@tromey.com>
3507 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
3510 2016-05-24 Pedro Alves <palves@redhat.com>
3513 * gdb.threads/clone-attach-detach.c: New file.
3514 * gdb.threads/clone-attach-detach.exp: New file.
3516 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
3518 * gdb.base/annota-input-while-running.exp: Fix syntax error.
3520 2016-05-23 Tom Tromey <tom@tromey.com>
3522 PR python/19438, PR python/18393:
3523 * gdb.python/py-progspace.exp: Add "dir" test.
3524 * gdb.python/py-objfile.exp: Add "dir" test.
3526 2016-05-23 Yao Qi <yao.qi@linaro.org>
3528 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
3529 * gdb.arch/thumb2-it.exp: Likewise.
3531 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
3533 * gdb.mi/mi-threads-interrupt.c: New file.
3534 * gdb.mi/mi-threads-interrupt.exp: New file.
3536 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
3539 * gdb.mi/mi-async-run.exp: New file.
3540 * gdb.mi/mi-async-run.c: New file.
3542 2016-05-17 Tom Tromey <tom@tromey.com>
3543 Manish Goregaokar <manishsmail@gmail.com>
3545 * lib/rust-support.exp: New file.
3546 * lib/gdb.exp (skip_rust_tests): New proc.
3547 (build_executable_from_specs): Handle rust.
3548 * lib/future.exp (gdb_find_rustc): New proc.
3549 (gdb_default_target_compile): Handle rust.
3550 * gdb.rust/expr.exp: New file.
3551 * gdb.rust/generics.exp: New file.
3552 * gdb.rust/generics.rs: New file.
3553 * gdb.rust/methods.exp: New file.
3554 * gdb.rust/methods.rs: New file.
3555 * gdb.rust/modules.exp: New file.
3556 * gdb.rust/modules.rs: New file.
3557 * gdb.rust/simple.exp: New file.
3558 * gdb.rust/simple.rs: New file.
3560 2016-05-17 Tom Tromey <tom@tromey.com>
3562 * gdb.base/default.exp (set language): Add rust.
3564 2016-05-17 Tom Tromey <tom@tromey.com>
3566 * gdb.gdb/unittest.exp: New file.
3568 2016-05-16 Yao Qi <yao.qi@linaro.org>
3570 * gdb.base/batch-preserve-term-settings.exp: Remove variable
3571 shell_prompt. Update shell_prompt_re.
3573 2016-05-12 Doug Evans <dje@google.com>
3576 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
3577 $options when building executable.
3578 * gdb.dwarf2/fission-loclists-pie.S: New file.
3579 * gdb.dwarf2/fission-loclists-pie.exp: New file.
3581 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3583 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
3584 of [is_remote target],
3586 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3588 * lib/gdb.exp (use_gdb_stub): New procedure.
3590 2016-05-03 Yunlian Jiang <yunlian@google.com>
3591 Doug Evans <dje@google.com>
3594 * gdb.dwarf2/dwp-sepdebug.c: New file.
3595 * gdb.dwarf2/dwp-sepdebug.exp: New file.
3597 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3599 * gdb.base/detach.exp: Remove is_remote check.
3601 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3603 * gdb.base/annota-input-while-running.exp: Don't check for
3604 [is_remote target]. Enable annotations after running to main.
3605 Remove unused "set test..." line.
3607 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3609 * gdb.trace/trace-enable-disable.exp: New file.
3610 * gdb.trace/trace-enable-disable.c: New file.
3612 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3614 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
3615 use it in info sharedlibrary test.
3616 * gdb.trace/ftrace-lock.exp: Likewise.
3617 * gdb.trace/ftrace.exp: Likewise.
3618 * gdb.trace/range-stepping.exp: Likewise.
3619 * gdb.trace/trace-break.exp: Likewise.
3620 * gdb.trace/trace-condition.exp: Likewise.
3621 * gdb.trace/trace-mt.exp: Likewise.
3623 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3625 * lib/gdb.exp (gdb_load_shlibs): Rename to...
3626 (gdb_load_shlib): ... this.
3627 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
3629 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3630 * gdb.base/ctxobj.exp: Likewise.
3631 * gdb.base/dprintf-pending.exp: Likewise.
3632 * gdb.base/dso2dso.exp: Likewise.
3633 * gdb.base/fixsection.exp: Likewise.
3634 * gdb.base/gcore-relro.exp: Likewise.
3635 * gdb.base/gdb1555.exp: Likewise.
3636 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3637 * gdb.base/gnu-ifunc.exp: Likewise.
3638 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
3639 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3640 * gdb.base/pending.exp: Likewise.
3641 * gdb.base/print-file-var.exp: Likewise.
3642 * gdb.base/print-symbol-loading.exp: Likewise.
3643 * gdb.base/shlib-call.exp: Likewise.
3644 * gdb.base/shreloc.exp: Likewise.
3645 * gdb.base/so-impl-ld.exp: Likewise.
3646 * gdb.base/solib-disc.exp: Likewise.
3647 * gdb.base/solib-nodir.exp: Likewise.
3648 * gdb.base/solib-overlap.exp: Likewise.
3649 * gdb.base/solib-symbol.exp: Likewise.
3650 * gdb.base/solib-weak.exp (do_test): Likewise.
3651 * gdb.base/sym-file.exp: Likewise.
3652 * gdb.base/symtab-search-order.exp: Likewise.
3653 * gdb.base/type-opaque.exp: Likewise.
3654 * gdb.base/unload.exp: Likewise.
3655 * gdb.base/watchpoint-solib.exp: Likewise.
3656 * gdb.compile/compile.exp: Likewise.
3657 * gdb.cp/gdb2384.exp: Likewise.
3658 * gdb.cp/infcall-dlopen.exp: Likewise.
3659 * gdb.cp/re-set-overloaded.exp: Likewise.
3660 * gdb.fortran/library-module.exp: Likewise.
3661 * gdb.opt/solib-intra-step.exp: Likewise.
3662 * gdb.python/py-finish-breakpoint.exp: Likewise.
3663 * gdb.python/py-shared.exp: Likewise.
3664 * gdb.reverse/solib-precsave.exp: Likewise.
3665 * gdb.reverse/solib-reverse.exp: Likewise.
3666 * gdb.server/solib-list.exp: Likewise.
3667 * gdb.threads/dlopen-libpthread.exp: Likewise.
3668 * gdb.threads/tls-shared.exp: Likewise.
3669 * gdb.threads/tls-so_extern.exp: Likewise.
3670 * gdb.trace/change-loc.exp: Likewise.
3671 * gdb.trace/ftrace-lock.exp: Likewise.
3672 * gdb.trace/ftrace.exp: Likewise.
3673 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
3674 * gdb.trace/pending.exp: Likewise.
3675 * gdb.trace/range-stepping.exp: Likewise.
3676 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
3677 (strace_info_marker): Likewise.
3678 (strace_probe_marker): Likewise.
3679 (strace_trace_on_same_addr): Likewise.
3680 (strace_trace_on_diff_addr): Likewise.
3681 * gdb.trace/trace-break.exp: Likewise.
3682 * gdb.trace/trace-condition.exp: Likewise.
3683 * gdb.trace/trace-mt.exp: Likewise.
3685 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3687 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
3688 result of gdb_remote_download.
3689 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
3690 * gdb.base/dso2dso.exp: Likewise.
3691 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3692 * gdb.base/print-file-var.exp: Likewise.
3693 * gdb.base/shlib-call.exp: Likewise.
3694 * gdb.base/shreloc.exp: Likewise.
3695 * gdb.base/solib-overlap.exp: Likewise.
3696 * gdb.base/solib-weak.exp (do_test): Likewise.
3697 * gdb.base/unload.exp: Likewise.
3699 2016-04-27 Yao Qi <yao.qi@linaro.org>
3701 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
3704 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3706 * vla-type.exp: Print structure from toplevel.
3708 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3710 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
3712 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
3715 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3717 * gdb.fortran/vla-type.f90: New file.
3718 * gdb.fortran/vla-type.exp: New file.
3720 2016-04-25 Yao Qi <yao.qi@linaro.org>
3722 * gdb.base/branch-to-self.c: New file.
3723 * gdb.base/branch-to-self.exp: New file.
3725 2016-04-22 Yao Qi <yao.qi@linaro.org>
3727 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
3730 2016-04-22 Yao Qi <yao.qi@linaro.org>
3732 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
3733 * gdb.base/annota3.exp: Likewise.
3735 2016-04-22 Yao Qi <yao.qi@linaro.org>
3737 * gdb.reverse/step-precsave.exp: Do one step and test program
3738 stops in "callee" and do multiple steps until program goes out
3740 * gdb.reverse/step-reverse.exp: Likewise.
3742 2016-04-22 Yao Qi <yao.qi@linaro.org>
3744 * gdb.trace/signal.exp: Also pass if
3745 $tracepoint_hits($i) > $iterations.
3747 2016-04-22 Yao Qi <yao.qi@linaro.org>
3749 * gdb.trace/signal.c: New file.
3750 * gdb.trace/signal.exp: New file.
3752 2016-04-19 Doug Evans <xdje42@gmail.com>
3754 * gdb.base/bad-file.exp: New file.
3756 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3758 * gdb.dwarf2/implref.exp: New file.
3760 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3762 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
3763 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
3764 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
3765 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
3766 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
3767 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
3768 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
3769 * lib/fortran.exp (fortran_int4): New procedure.
3770 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
3771 (fortran_logical4): Likewise.
3773 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
3775 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
3777 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3779 * lib/compiler.c: Add Intel specific preprocessor macros.
3780 * lib/compiler.cc: Likewise.
3782 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
3784 * gdb.server/connect-with-no-symbol-file.c: New file.
3785 * gdb.server/connect-with-no-symbol-file.exp: New file.
3787 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3789 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3791 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3793 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3794 standard output directory.
3796 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3798 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3800 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3802 * gdb.btrace/instruction_history.c (loop): Add declaration.
3804 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3806 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3808 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3810 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3811 parentheses to print.
3812 (continue_handler): Likewise.
3814 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3816 * gdb.server/solib-list.exp: Remove is_remote check.
3817 Pass shlib= to gdb_compile. Don't link shared library with
3818 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3819 Run binary filename through "readlink -f" on the target.
3821 2016-04-08 Pedro Alves <palves@redhat.com>
3823 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3824 interpreter filename as argument to gdbserver_spawn.
3825 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3826 Return empty if $last_loaded_file does not exist.
3828 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3830 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3831 * gdb.base/jit-main.c: Use exit after usage.
3833 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3835 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3836 GDBHISTSIZE prior to the tests.
3837 * gdb.base/gdbinit-history.exp: Likewise.
3839 2016-04-07 Pedro Alves <palves@redhat.com>
3841 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3842 instead of build_executable. Use gdb_load_shlibs.
3844 2016-04-07 Yao Qi <yao.qi@linaro.org>
3846 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3847 Execute "si" command.
3849 2016-04-07 Yao Qi <yao.qi@linaro.org>
3851 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3852 number instead of the comments on some line.
3854 2016-04-06 Don Breazeal <donb@codesourcery.com>
3856 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3857 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3859 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3861 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3862 standard_output_file. Remove unused binfile variable.
3864 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
3866 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3867 * gdb.python/py-mi-objfile.exp: Match "list main" output
3870 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3872 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3875 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3877 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
3879 * gdb.trace/ftrace.exp: Likewise.
3880 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
3882 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
3883 (gdb_load_shlibs): Copy libraries to test directory when testing
3884 natively. Only set solib-search-path if testing remotely.
3885 * lib/mi-support.exp (mi_load_shlibs): Likewise.
3887 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3889 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
3890 gdb_download. Use it even if the target is not remote.
3891 * gdb.base/jit.exp (compile_jit_test): Likewise.
3892 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
3893 output directory if the destination board is local, otherwise use
3894 the standard remote_download from DejaGnu.
3895 (gdb_download): Remove.
3896 (gdb_load_shlibs): Use gdb_remote_download instead of
3898 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3899 Use gdb_remote_download instead of gdb_download. Use it even if
3900 the target is not remote.
3901 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
3902 instead of gdb_download.
3904 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
3906 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
3907 (test_insert_delete_modify): Call mi_load_shlibs before trying to
3910 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
3913 * gdb.base/printcmds.exp: Add artificial arrays tests.
3915 2016-03-31 Pedro Alves <palves@redhat.com>
3918 * gdb.base/jit-main.c: Include unistd.h.
3919 (ATTACH): Define to 0 if not already defined.
3920 (wait_for_gdb, mypid): New globals.
3921 (WAIT_FOR_GDB): New macro.
3922 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
3923 some breakpoint locations.
3924 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
3926 (one_jit_test): Add REATTACH parameter, and handle it. Use
3927 continue_to_test_location.
3928 (top level): Test attach, and adjusts calls to one_jit_test.
3930 2016-03-31 Pedro Alves <palves@redhat.com>
3933 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
3934 BINSUFFIX parameter, and handle it.
3935 (top level): Adjust calls compile_jit_test.
3937 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
3940 * gdb.python/py-mi-events-gdb.py: New file.
3941 * gdb.python/py-mi-events.c: New file.
3942 * gdb.python/py-mi-events.exp: New file.
3944 2016-03-30 Yao Qi <yao.qi@linaro.org>
3946 * gdb.reverse/until-precsave.exp: Match function name only.
3947 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
3948 Move malloc to a condition block.
3949 * gdb.reverse/until-reverse.exp: Match function name only.
3951 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
3953 * gdb.trace/ftrace.exp: Set arg0exp for s390.
3954 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
3955 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
3956 variable for GPR 0 instead of assuming it is register 0.
3957 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
3958 * lib/trace-support.exp: Add s390 registers.
3960 2016-03-29 Yao Qi <yao.qi@linaro.org>
3962 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
3964 2016-03-24 Yao Qi <yao.qi@linaro.org>
3966 * gdb.reverse/break-reverse.exp: Add quotation mark in the
3969 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3971 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
3972 maintaining separate logic for constructing the output path.
3974 2016-03-16 Don Breazeal <donb@codesourcery.com>
3976 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3977 Retry fork and waitpid on interrupted system call errors.
3978 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3979 Use with_timeout_factor to increase timeout by factor of 10.
3981 2016-03-15 Don Breazeal <donb@codesourcery.com>
3983 * gdb.cp/scope-err.cc: New test program.
3984 * gdb.cp/scope-err.exp: New test script.
3985 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
3986 lines and "set breakpoint here" comment.
3987 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
3988 Fixed some whitespace and format issues.
3989 * gdb.mi/mi-linespec-err-cp.cc: New test program.
3990 * gdb.mi/mi-linespec-err-cp.exp: New test script.
3992 2016-03-15 Doug Evans <dje@google.com>
3994 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
3995 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
3996 All callers updated. Add tests for enums, mixed flags register.
3998 2016-03-15 Doug Evans <dje@google.com>
4000 * gdb.base/skip.c (main): Call test_skip_file_and_function.
4001 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
4003 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
4005 * gdb.base/default.exp: Add $_as_string to the list of expected
4006 convenience functions.
4008 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
4010 * gdb.base/maint.exp: New tests for 'maint info line-table'.
4012 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
4014 * gdb.python/py-as-string.exp: New file.
4015 * gdb.python/py-as-string.c: New file.
4017 2016-03-09 Pedro Alves <palves@redhat.com>
4019 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
4020 signal" -> "Thread NN received signal" output change.
4021 * gdb.threads/ia64-sigill.exp: Likewise.
4022 * gdb.threads/linux-dp.exp: Likewise.
4023 * gdb.threads/manythreads.exp: Likewise.
4024 * gdb.threads/pending-step.exp: Likewise.
4025 * gdb.threads/print-threads.exp: Likewise.
4026 * gdb.threads/sigstep-threads.exp: Likewise.
4027 * gdb.threads/staticthreads.exp: Likewise.
4028 * gdb.threads/tls.exp: Likewise.
4030 2016-03-09 Pedro Alves <palves@redhat.com>
4032 * gdb.base/command-line-input.exp: New file.
4034 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4036 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
4037 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
4038 * gdb.trace/pending.exp: Accept leading dot before function name.
4039 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
4040 * lib/trace-support.exp: Set registers for ppc.
4042 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4044 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
4045 use it for disassembly; accept .main in addition to main in backtrace.
4047 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
4048 Marcin Kościelnicki <koriakin@0x04.net>
4050 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
4051 (gdb_recursion_test_ptr): New global variable.
4052 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
4054 (gdb_c_test): Ditto.
4056 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4058 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
4061 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4063 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
4064 (bar): Add bar_start_lbl label.
4065 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
4066 of foo/bar for emitting DWARF and tracing.
4068 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
4070 * analyze-racy-logs.py: Set executable bit.
4072 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
4074 * Makefile.in (DEFAULT_RACY_ITER): New variable.
4075 (CHECK_TARGET_TMP): Likewise.
4076 (check-single-racy): New rule.
4077 (check-parallel-racy): Likewise.
4078 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
4079 (do-check-parallel-racy): New rule.
4080 (check-racy/%.exp): Likewise.
4081 * README (Racy testcases): New section.
4082 * analyze-racy-logs.py: New file.
4084 2016-03-03 Doug Evans <dje@google.com>
4086 * gdb.base/skip.exp: Use with_test_prefix.
4088 2016-03-03 Yao Qi <yao.qi@linaro.org>
4090 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
4091 Invoke step_over_syscall "clone" and break_cond_on_syscall
4093 * gdb.base/step-over-clone.c: New file.
4095 2016-03-03 Yao Qi <yao.qi@linaro.org>
4097 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
4100 2016-03-03 Yao Qi <yao.qi@linaro.org>
4102 * gdb.base/disp-step-fork.c: Rename to ...
4103 * gdb.base/step-over-fork.c: ... it. New file.
4104 * gdb.base/disp-step-vfork.c: Rename to ...
4105 * gdb.base/step-over-vfork.c: ... it. New file.
4106 * gdb.base/disp-step-syscall.exp: Rename to ...
4107 * gdb.base/step-over-syscall.exp: ... it. New file.
4108 (disp_step_cross_syscall): Rename to ...
4109 (step_over_syscall): ... it.
4111 2016-03-03 Yao Qi <yao.qi@linaro.org>
4113 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
4114 If target supports condition evaluation on target, invoke
4115 break_cond_on_syscall for fork and vfork.
4117 2016-03-03 Yao Qi <yao.qi@linaro.org>
4119 * gdb.base/disp-step-syscall.exp: Don't invoke
4120 support_displaced_stepping.
4121 (disp_step_cross_syscall): Test with displaced stepping off and
4124 2016-03-03 Yao Qi <yao.qi@linaro.org>
4126 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
4129 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
4132 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4134 * gdb.fortran/vla-history.exp: Remove breakpoint.
4136 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4138 * gdb.fortran/vla-history.exp: Lookup array elements and printing
4141 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4143 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
4146 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4148 * gdb.mi/vla.f90: Nullify pointer after declaration.
4150 2016-03-01 Pedro Alves <palves@redhat.com>
4152 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
4154 2016-03-01 Pedro Alves <palves@redhat.com>
4156 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
4157 before anything else.
4158 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
4160 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
4161 before anything else.
4162 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
4164 2016-03-01 Pedro Alves <palves@redhat.com>
4166 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
4168 2016-03-01 Yao Qi <yao.qi@linaro.org>
4170 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
4171 prepare_for_testing.
4173 2016-03-01 Yao Qi <yao.qi@linaro.org>
4175 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
4177 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4179 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
4180 manually constructing the output path.
4182 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4184 * gdb.arch/s390-stackless.S: New.
4185 * gdb.arch/s390-stackless.exp: New.
4187 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
4189 * gdb.dlang/circular.c: New file.
4190 * gdb.dlang/circular.exp: New file.
4192 2016-02-26 Yao Qi <yao.qi@linaro.org>
4194 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
4195 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
4196 (testcases): Update.
4198 2016-02-26 Yao Qi <yao.qi@linaro.org>
4200 * gdb.reverse/aarch64.c: Rename to ...
4201 * gdb.reverse/insn-reverse.c: ... it.
4202 * gdb.reverse/aarch64.exp: Rename to ...
4203 * gdb.reverse/insn-reverse.exp: ... it.
4205 2016-02-26 Yao Qi <yao.qi@linaro.org>
4207 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
4208 (testcase_ftype): New.
4209 (testcases): New array.
4211 (main): Call each element in testcases.
4212 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
4213 (read_testcase): New.
4214 Do the tests in a loop.
4216 2016-02-25 Yao Qi <yao.qi@linaro.org>
4218 * gdb.base/branches.c: Remove.
4220 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4223 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
4225 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4227 * gdb.trace/ftrace.exp: Remove unnecessary target check.
4229 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4231 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
4232 change x86_64 call_insn to 'callq'.
4234 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4236 * gdb.trace/tfile-avx.c: Move to...
4237 * gdb.trace/tracefile-pseudo-reg.c: Here.
4238 * gdb.trace/tfile-avx.exp: Move to...
4239 * gdb.trace/tracefile-pseudo-reg.exp: Here.
4241 2016-02-24 Gary Benson <gbenson@redhat.com>
4243 * gdb.base/attach-pie-noexec.exp: Do not expect an error
4246 2016-02-23 Doug Evans <dje@google.com>
4248 * gdb.base/skip.c (test_skip): New function.
4249 (end_test_skip_file_and_function): New function.
4250 (test_skip_file_and_function): New function.
4251 * gdb.base/skip1.c (test_skip): New function.
4252 (skip1_test_skip_file_and_function): New function.
4253 * gdb.base/skip.exp: Add tests for new skip options.
4254 * gdb.base/skip-solib.exp: Update expected output.
4255 * gdb.perf/skip-command.cc: New file.
4256 * gdb.perf/skip-command.exp: New file.
4257 * gdb.perf/skip-command.py: New file.
4259 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
4261 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
4262 info registers pattern.
4264 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
4266 * lib/future.exp: Add D support.
4267 (gdb_find_gdc): New proc.
4268 (gdb_default_target_compile): Add D support.
4270 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
4272 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
4274 (trace_speed_test): Determine the iteration count for a time
4275 between 15..30 seconds.
4277 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
4279 * gdb.arch/i386-mpx-sigsegv.c: New file.
4280 * gdb.arch/i386-mpx-sigsegv.exp: New file.
4281 * gdb.arch/i386-mpx-simple_segv.c: New file.
4282 * gdb.arch/i386-mpx-simple_segv.exp: New file.
4284 2016-02-18 Yao Qi <yao.qi@linaro.org>
4286 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4287 Don't call setup_kfail.
4289 2016-02-18 Yao Qi <yao.qi@linaro.org>
4291 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4292 Set "set breakpoint condition-evaluation" per $cond_bp_target.
4294 2016-02-16 Doug Evans <dje@google.com>
4296 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
4297 * gdb.base/skip1.c: Ditto.
4298 * gdb.base/skip.exp: Whitespace cleanup.
4300 2016-02-16 Don Breazeal <donb@codesourcery.com>
4303 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4304 Remove kfail for PR remote/19496.
4306 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4308 * lib/gdb.exp (standard_temp_file): Return a path specific to
4309 the runtest invocation.
4311 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4313 * gdb.trace/save-trace.exp: Change relative path to be in the
4314 standard output directory.
4316 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4318 * gdb.arch/i386-prologue.c: Add missing prototypes.
4320 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4322 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
4323 * gdb.arch/i386-prologue.exp: Likewise.
4324 * gdb.arch/i386-size.exp: Likewise.
4326 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
4328 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
4329 define object file path.
4330 * gdb.btrace/gcore.exp: Use standard_output_file to define core
4332 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
4333 standard_output_file to define binfile.
4335 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4337 Fix compatibility with recent gfortran-5.3.1.
4338 * gdb.fortran/vla-history.exp (print vla1 allocated)
4339 (print vla2 allocated, print $2, print $3): Remove
4340 (print $4): Rename to ...
4341 (print $2): ... here.
4342 (print $9): Rename to ...
4343 (print $5): ... here.
4344 (print $10): Rename to ...
4345 (print $6): ... here.
4346 * gdb.fortran/vla.f90: Add pvla initialization.
4348 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4350 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
4352 * gdb.fortran/vla-value-sub.exp: Likewise.
4354 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
4356 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
4358 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
4360 * i386-biarch-core.exp: Define corefile using
4361 standard_output_file.
4363 2016-02-12 Yao Qi <yao.qi@linaro.org>
4365 * gdb.arch/arm-single-step-kernel-helper.c: New.
4366 * gdb.arch/arm-single-step-kernel-helper.exp: New.
4368 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
4370 * gdb.btrace/tailcall-only.exp: New.
4371 * gdb.btrace/tailcall-only.c: New.
4372 * gdb.btrace/x86_64-tailcall-only.S: New.
4373 * gdb.btrace/i686-tailcall-only.S: New.
4375 2016-02-11 Pedro Alves <palves@redhat.com>
4377 * README (Parallel testing): Add missing double quotes.
4379 2016-02-11 Pedro Alves <palves@redhat.com>
4381 * README (Parallel testing): New section.
4382 (GDB_PARALLEL): Rewrite.
4383 (FORCE_PARALLEL): Document.
4385 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
4387 * gdb.trace/tfile-avx.c: New test.
4388 * gdb.trace/tfile-avx.exp: New test.
4390 2016-02-09 Keith Seitz <keiths@redhat.com>
4392 PR breakpoints/19546
4393 * gdb.base/infcall-exec.c: New file.
4394 * gdb.base/infcall-exec2.c: New file.
4395 * gdb.base/infcall-exec.exp: New file.
4397 2016-02-09 Keith Seitz <keiths@redhat.com>
4399 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
4400 (toplevel): Call test_bkpt_address.
4402 2016-02-09 Keith Seitz <keiths@redhat.com>
4405 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
4406 (toplevel): Call test_bkpt_address.
4408 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
4410 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
4412 * configure: Regenerate.
4414 2016-02-09 Pedro Alves <palves@redhat.com>
4416 PR breakpoints/19548
4417 * gdb.base/execl-update-breakpoints.c (some_function): New
4420 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
4421 Tighten expected GDB output.
4423 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4425 * Makefile.in (ALL_SUBDIRS): Remove.
4426 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
4427 (distclean maintainer-clean realclean): Likewise.
4428 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
4429 * configure: Regenerate.
4430 * gdb.ada/Makefile.in: Delete.
4431 * gdb.arch/Makefile.in: Likewise.
4432 * gdb.asm/Makefile.in: Likewise.
4433 * gdb.base/Makefile.in: Likewise.
4434 * gdb.btrace/Makefile.in: Likewise.
4435 * gdb.cell/Makefile.in: Likewise.
4436 * gdb.compile/Makefile.in: Likewise.
4437 * gdb.cp/Makefile.in: Likewise.
4438 * gdb.disasm/Makefile.in: Likewise.
4439 * gdb.dlang/Makefile.in: Likewise.
4440 * gdb.dwarf2/Makefile.in: Likewise.
4441 * gdb.fortran/Makefile.in: Likewise.
4442 * gdb.gdb/Makefile.in: Likewise.
4443 * gdb.go/Makefile.in: Likewise.
4444 * gdb.guile/Makefile.in: Likewise.
4445 * gdb.java/Makefile.in: Likewise.
4446 * gdb.linespec/Makefile.in: Likewise.
4447 * gdb.mi/Makefile.in: Likewise.
4448 * gdb.modula2/Makefile.in: Likewise.
4449 * gdb.multi/Makefile.in: Likewise.
4450 * gdb.objc/Makefile.in: Likewise.
4451 * gdb.opencl/Makefile.in: Likewise.
4452 * gdb.opt/Makefile.in: Likewise.
4453 * gdb.pascal/Makefile.in: Likewise.
4454 * gdb.perf/Makefile.in: Likewise.
4455 * gdb.python/Makefile.in: Likewise.
4456 * gdb.reverse/Makefile.in: Likewise.
4457 * gdb.server/Makefile.in: Likewise.
4458 * gdb.stabs/Makefile.in: Likewise.
4459 * gdb.threads/Makefile.in: Likewise.
4460 * gdb.trace/Makefile.in: Likewise.
4461 * gdb.xml/Makefile.in: Likewise.
4462 * lib/gdb.exp (make_gdb_parallel_path): Add check for
4464 (standard_output_file): Remove check for GDB_PARALLEL, always
4465 return path in outputs/$subdir/$testname.
4467 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4469 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
4470 (site.exp): Assign abs_srcdir to tcl's srcdir.
4472 2016-02-04 Yao Qi <yao.qi@linaro.org>
4474 * gdb.base/foll-exec-mode.c: Include limits.h.
4475 (main): Add parameters argc and argv. Get directory from
4477 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
4479 * gdb.base/foll-exec.c: Include limits.h.
4480 (main): Add parameters argc and argv.
4481 Get directory from argv[0].
4482 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
4483 Adjust tests on the number of lines as source code changed.
4484 * gdb.base/foll-vfork-exit.c: Include limits.h.
4485 (main): Add one line of statement before vfork.
4486 * gdb.base/foll-vfork.c: Include limits.h and string.h.
4487 (main): Add parameters argc and argv. Get directory from
4489 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
4490 (setup_gdb): Set tbreak to skip some source lines.
4491 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
4492 (main): Add parameters argc and argv. Get directory from
4494 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
4496 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
4497 (main): Add parameters argc and argv. Get directory from
4499 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
4502 2016-02-01 Doug Evans <dje@google.com>
4504 * gdb.base/skip.exp: Clean up multiple references to same test name.
4506 2016-02-01 Pedro Alves <palves@redhat.com>
4509 * gdb.threads/forking-threads-plus-breakpoint.exp
4510 (displaced_stepping_supported): New global.
4511 (probe_displaced_stepping_support): New procedure.
4512 (do_test): Add 'displaced' parameter, and use it.
4513 (top level): Check for displaced stepping support. Add displaced
4514 stepping on/off testing axis.
4516 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4518 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
4519 pointer. Don't perform further tests on the unassociated pointer
4520 if the first test fails.
4522 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4524 * gdb.base/max-value-size.c: New file.
4525 * gdb.base/max-value-size.exp: New file.
4526 * gdb.base/huge.exp: Disable max-value-size for this test.
4528 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
4530 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4532 2016-01-28 Yao Qi <yao.qi@linaro.org>
4534 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
4536 2016-01-25 Pedro Alves <palves@redhat.com>
4539 * gdb.base/fork-running-state.c: New file.
4540 * gdb.base/fork-running-state.exp: New file.
4542 2016-01-25 Pedro Alves <palves@redhat.com>
4545 * gdb.base/catch-fork-kill.c: New file.
4546 * gdb.base/catch-fork-kill.exp: New file.
4548 2016-01-25 Pedro Alves <palves@redhat.com>
4550 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
4551 Delete, moved to lib/gdb.exp.
4552 * gdb.threads/forking-threads-plus-breakpoint.exp
4553 (foreach_with_prefix): Likewise.
4554 * gdb.threads/process-dies-while-handling-bp.exp
4555 (foreach_with_prefix): Likewise.
4556 * lib/gdb.exp (foreach_with_prefix): New procedure.
4558 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
4560 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
4561 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
4563 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
4565 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
4568 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4569 Pedro Alves <palves@redhat.com>
4571 Fix testsuite compatibility with Guile.
4572 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
4575 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4577 Fix testsuite compatibility with Guile.
4578 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
4579 (thread 1): New test for backtrace through signal handler.
4581 2016-01-22 Yao Qi <yao.qi@linaro.org>
4584 * gdb.base/multi-forks.c: Include
4585 ../lib/unbuffer_output.c
4586 (main): Call gdb_unbuffer_output.
4588 2016-01-21 Doug Evans <dje@google.com>
4590 * lib/ada.exp (gdb_compile_ada): Fix typo.
4592 2016-01-21 Joel Brobecker <brobecker@adacore.com>
4594 * gdb.base/break-fun-addr.exp: New file.
4595 * gdb.base/break-fun-addr1.c: New file.
4596 * gdb.base/break-fun-addr2.c: New file.
4598 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
4600 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
4601 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
4604 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4606 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
4607 when GDB can not set the vector return value. Add more comments
4610 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
4612 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
4615 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4617 * Makefile.in (DO_RUNTEST): Add --status and update usages.
4619 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4621 * Makefile.in (check-single): Pass --status to runtest.
4622 (check/%.exp): Likewise.
4624 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4626 * Makefile.in (check-parallel): Propagate return code from make
4629 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
4631 * gdb.trace/ftrace.exp: Fix expected message on continue.
4632 * gdb.trace/pending.exp: Fix expected message on continue.
4633 * gdb.trace/trace-break.exp: Fix expected message on continue.
4635 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
4637 * lib/gdb.exp (gdb_test): Remove unused global references.
4639 2016-01-18 Pedro Alves <palves@redhat.com>
4641 * gdb.base/async-shell.exp: Adjust expected output.
4642 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
4643 * gdb.base/siginfo-thread.exp: Adjust expected output.
4644 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
4645 * gdb.java/jnpe.exp: Adjust expected output.
4646 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
4647 * gdb.threads/continue-pending-status.exp: Adjust expected output.
4648 * gdb.threads/leader-exit.exp: Adjust expected output.
4649 * gdb.threads/manythreads.exp: Adjust expected output.
4650 * gdb.threads/pthreads.exp: Adjust expected output.
4651 * gdb.threads/schedlock.exp: Adjust expected output.
4652 * gdb.threads/siginfo-threads.exp: Adjust expected output.
4653 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
4655 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
4657 * gdb.threads/sigthread.exp: Adjust expected output.
4658 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
4660 2016-01-18 Yao Qi <yao.qi@linaro.org>
4662 * gdb.guile/scm-section-script.c: Replace @progbits with
4664 * gdb.python/py-section-script.c: Likewise.
4666 2016-01-15 Pedro Alves <palves@redhat.com>
4668 * gdb.multi/tids.exp: Test star wildcard ranges.
4670 2016-01-15 Pedro Alves <palves@redhat.com>
4672 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4673 command from "thread apply" invocation.
4674 (thr_apply_info_thr_invalid): Default the expected output to the
4676 (top level): Add tests that use convenience variables. Add tests
4677 for "thread apply" with a valid TID list, but missing the command.
4679 2016-01-13 Pedro Alves <palves@redhat.com>
4681 * gdb.base/default.exp: Expect $_gthread as well.
4682 * gdb.multi/tids.exp: Test $_gthread.
4683 * gdb.threads/thread-specific.exp: Test $_gthread.
4685 2016-01-13 Pedro Alves <palves@redhat.com>
4687 * gdb.multi/tids.exp: Test "info threads -gid".
4689 2016-01-13 Pedro Alves <palves@redhat.com>
4691 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4693 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
4695 2016-01-07 Pedro Alves <palves@redhat.com>
4697 * gdb.base/break.exp: Adjust to output changes.
4698 * gdb.base/hbreak2.exp: Likewise.
4699 * gdb.base/sepdebug.exp: Likewise.
4700 * gdb.base/watch_thread_num.exp: Likewise.
4701 * gdb.linespec/keywords.exp: Likewise.
4702 * gdb.multi/info-threads.exp: Likewise.
4703 * gdb.threads/thread-find.exp: Likewise.
4704 * gdb.multi/tids.c: New file.
4705 * gdb.multi/tids.exp: New file.
4707 2016-01-13 Pedro Alves <palves@redhat.com>
4709 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
4711 2016-01-13 Pedro Alves <palves@redhat.com>
4713 * gdb.base/default.exp: Expect $_inferior as well.
4714 * gdb.multi/base.exp: Test $_inferior.
4716 2016-01-13 Pedro Alves <palves@redhat.com>
4718 PR breakpoints/19388
4719 * gdb.base/catch-signal-siginfo-cond.c: New file.
4720 * gdb.base/catch-signal-siginfo-cond.exp: New file.
4722 2016-01-12 Josh Stone <jistone@redhat.com>
4723 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4725 * gdb.base/catch-syscall.c (do_execve): New variable.
4726 (main): Conditionally trigger an execve.
4727 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
4728 (test_catch_syscall_execve): New, check entry/return across execve.
4729 (do_syscall_tests): Call test_catch_syscall_execve.
4731 2016-01-12 Pedro Alves <palves@redhat.com>
4733 * gdb.base/random-signal.exp (do_test): New procedure, with body
4734 of testcase moved in.
4736 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4737 Pedro Alves <palves@redhat.com>
4739 * gdb.base/funcargs.exp (finish from indirectly called function):
4740 Reintroduce the case for 'First'.
4742 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4743 Pedro Alves <palves@redhat.com>
4745 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4746 (tcatch_vfork_then_child_follow_exec)
4747 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
4750 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4752 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
4753 and repeats to unlimited.
4754 * gdb.python/py-value.exp: Likewise.
4755 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
4756 and repeats to unlimited.
4758 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4760 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
4761 and reordering the functions.
4762 * gdb.multi/hangout.c: Likewise.
4763 * gdb.multi/hello.c: Likewise.
4765 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
4767 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
4769 (SingleStatisticTestResult.report): Use dict.keys instead of
4772 2016-01-06 Pedro Alves <palves@redhat.com>
4774 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
4776 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
4778 * gdb.btrace/dlopen.exp: New.
4779 * gdb.btrace/dlopen.c: New.
4780 * gdb.btrace/dlopen-dso.c: New.
4782 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
4784 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4785 PATTERN argument is optional.
4787 2015-12-24 Joel Brobecker <brobecker@adacore.com>
4789 * lib/ada.exp (target_compile_ada_from_dir): New function.
4790 (gdb_compile_ada): Reimplement avoiding the use of project files.
4791 * gdb.ada/gnat_ada.gpr: Delete.
4792 * gdb.ada/cond_lang.exp: Adjust test to make path before
4794 * gdb.ada/small_reg_param.exp: Likewise.
4796 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4798 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4800 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4802 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4805 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4807 * gdb.base/break.exp: Remove dead code.
4808 * gdb.base/sepdebug.exp: Likewise.
4810 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4812 * gdb.asm/asm-source.exp: Remove HP-UX references.
4813 * gdb.base/annota1.exp: Likewise.
4814 * gdb.base/annota3.exp: Likewise.
4815 * gdb.base/attach.exp: Likewise.
4816 * gdb.base/bigcore.exp: Likewise.
4817 * gdb.base/break.exp: Likewise.
4818 * gdb.base/call-ar-st.exp: Likewise.
4819 * gdb.base/callfuncs.exp: Likewise.
4820 * gdb.base/catch-fork-static.exp: Likewise.
4821 * gdb.base/display.exp: Likewise.
4822 * gdb.base/foll-exec-mode.exp: Likewise.
4823 * gdb.base/foll-exec.exp: Likewise.
4824 * gdb.base/foll-fork.exp: Likewise.
4825 * gdb.base/foll-vfork.exp: Likewise.
4826 * gdb.base/funcargs.exp: Likewise.
4827 * gdb.base/hbreak2.exp: Likewise.
4828 * gdb.base/inferior-died.exp: Likewise.
4829 * gdb.base/interrupt.exp: Likewise.
4830 * gdb.base/multi-forks.exp: Likewise.
4831 * gdb.base/nodebug.exp: Likewise.
4832 * gdb.base/sepdebug.exp: Likewise.
4833 * gdb.base/solib1.c: Likewise.
4834 * gdb.base/step-test.exp: Likewise.
4835 * gdb.mi/non-stop.c: Likewise.
4836 * gdb.mi/pthreads.c: Likewise.
4837 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4838 * gdb.threads/pthreads.c: Likewise.
4839 * gdb.threads/staticthreads.exp: Likewise.
4840 * lib/future.exp: Likewise.
4841 * lib/gdb.exp: Likewise.
4842 * gdb.base/so-indr-cl.c: Remove.
4843 * gdb.base/so-indr-cl.exp: Likewise.
4844 * gdb.base/solib.c: Likewise.
4845 * gdb.base/solib.exp: Likewise.
4846 * gdb.base/solib2.c: Likewise.
4848 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4850 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4851 * gdb.base/call-ar-st.exp: Likewise.
4852 * gdb.base/callfuncs.exp: Likewise.
4853 * gdb.base/condbreak.exp: Likewise.
4854 * gdb.base/constvars.exp: Likewise.
4855 * gdb.base/hbreak2.exp: Likewise.
4856 * gdb.base/langs.exp: Likewise.
4857 * gdb.base/list.exp: Likewise.
4858 * gdb.base/long_long.exp: Likewise.
4859 * gdb.base/ptype.exp: Likewise.
4860 * gdb.base/scope.exp: Likewise.
4861 * gdb.base/signals.exp: Likewise.
4862 * gdb.base/so-impl-ld.exp: Likewise.
4863 * gdb.base/varargs.exp: Likewise.
4864 * gdb.base/volatile.exp: Likewise.
4865 * gdb.base/whatis.exp: Likewise.
4866 * gdb.cp/cplusfuncs.exp: Likewise.
4867 * gdb.cp/inherit.exp: Likewise.
4868 * gdb.cp/local.exp: Likewise.
4869 * gdb.cp/member-ptr.exp: Likewise.
4870 * gdb.cp/method.exp: Likewise.
4871 * gdb.cp/overload.exp: Likewise.
4872 * gdb.cp/templates.exp: Likewise.
4873 * gdb.stabs/weird.exp: Likewise.
4874 * lib/compiler.c: Likewise.
4875 * lib/compiler.cc: Likewise.
4876 * lib/cp-support.exp: Likewise.
4877 * lib/gdb.exp: Likewise.
4879 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
4881 * configure.ac: Remove HP-UX case.
4882 * configure: Regenerate.
4884 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
4886 * lib/gdb.exp (gdb_compile): Add function doc.
4888 2015-12-17 Pedro Alves <palves@redhat.com>
4891 * gdb.multi/info-threads.exp: New file.
4893 2015-12-15 Yao Qi <yao.qi@linaro.org>
4895 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
4898 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4900 * gdb.base/history-duplicates.exp: Skip if no readline support.
4902 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4904 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
4906 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4908 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
4910 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4912 * gdb.base/completion.exp: Skip tests that interrupt GDB with
4913 ctrl-C if nointerrupts target property is set.
4914 * gdb.base/double-prompt-target-event-error.exp: Likewise.
4915 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
4916 * gdb.base/paginate-bg-execution.exp: Likewise.
4917 * gdb.base/paginate-execution-startup.exp: Likewise.
4918 * gdb.base/random-signal.exp: Likewise.
4919 * gdb.base/range-stepping.exp: Likewise.
4920 * gdb.cp/annota2.exp: Likewise.
4921 * gdb.cp/annota3.exp: Likewise.
4922 * gdb.gdb/selftest.exp: Likewise.
4923 * gdb.threads/continue-pending-status.exp: Likewise.
4924 * gdb.threads/leader-exit.exp: Likewise.
4925 * gdb.threads/manythreads.exp: Likewise.
4926 * gdb.threads/pthreads.exp: Likewise.
4927 * gdb.threads/schedlock.exp: Likewise.
4928 * gdb.threads/sigthread.exp: Likewise.
4930 2015-12-11 Don Breazeal <donb@codesourcery.com>
4932 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
4934 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
4935 * gdb.base/foll-exec.exp (main): Enable for target remote.
4936 * gdb.base/foll-fork.exp (main): Likewise.
4937 * gdb.base/foll-vfork.exp (main): Likewise.
4938 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
4939 (proc continue_to_exit_bp_loc): Use clean_restart.
4940 * gdb.base/pie-execl.exp (main): Disable for target remote.
4941 * gdb.base/watch-vfork.exp (main): Enable for target remote.
4942 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
4943 * gdb.threads/execl.exp (main): Likewise.
4944 * gdb.threads/fork-child-threads.exp (main): Likewise.
4945 * gdb.threads/fork-plus-threads.exp (main): Disable for target
4947 * gdb.threads/fork-thread-pending.exp (main): Enable for target
4949 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
4950 pid.tid style ptids, instead of just tid.
4951 * gdb.threads/thread-execl.exp (main): Enable for target remote.
4952 * gdb.threads/watchpoint-fork.exp (main): Likewise.
4953 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
4954 ptids, instead of just tid.
4956 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4958 * gdb.base/list.exp (test_list_forward): Add end of file error
4960 (test_repeat_list_command): Add end of file error test.
4961 (test_list_backwards): Add beginning of file error test.
4963 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4965 * gdb.base/list.exp (test_list_invalid_args): New function,
4966 defined, and called.
4968 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4970 * gdb.base/list.exp (test_list): Make test names unique.
4972 2015-12-11 Yao Qi <yao.qi@linaro.org>
4974 * gdb.base/coremaker2.c: Remove.
4976 2015-12-10 Pedro Alves <palves@redhat.com>
4978 * gdb.multi/base.exp: Remove stale "spaces" references.
4980 2015-12-10 Pedro Alves <palves@redhat.com>
4982 * gdb.multi/base.exp: Don't use nowarnings.
4983 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
4984 * gdb.multi/hangout.c: Include stdio.h.
4985 * gdb.multi/hello.c: Include stdlib.h.
4986 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
4987 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
4988 * gdb.multi/multi-arch.exp: Don't use nowarnings.
4990 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
4992 * gdb.dwarf2/dw2-ranges-base.c: New file.
4993 * gdb.dwarf2/dw2-ranges-base.exp: New file.
4994 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
4995 support additional line table, and debug ranges generation.
4996 (Dwarf::ranges): New function, generate .debug_ranges.
4997 (Dwarf::lines): Support generating simple line table programs.
4998 (Dwarf::assemble): Initialise new namespace variables.
5000 2015-12-09 Kevin Buettner <kevinb@redhat.com>
5002 * gdb.base/async.exp (proc test_background): Add case for
5003 asynchronous execution not supported.
5005 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
5007 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
5008 format and change test names to make them unique.
5010 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
5011 Pedro Alves <pedro@redhat.com>
5014 Add checking of floatformats setup on x86_64 hosts.
5015 * gdb.arch/i386-float.S (main): Load bigval and smallval.
5016 (smallval, bigval): New labels/constants.
5017 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
5018 float" after loading bigval and smallval.
5020 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
5022 * gdb.ada/fun_overload_menu.exp: New testcase.
5023 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
5025 2015-12-04 Josh Stone <jistone@redhat.com>
5027 * gdb.base/catch-fork-static.exp: New.
5029 2015-12-03 Yao Qi <yao.qi@linaro.org>
5031 * gdb.base/sizeof.c: Don't include stdio.h and
5032 ../lib/unbuffer_output.c.
5033 (main): New variable 'size' and 'value'. Remove printf and
5034 gdb_unbuffer_output. Assign return value to size and value.
5035 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
5037 (check_sizeof): Check the result by printing variable 'size'.
5038 (check_valueof): Check the result by printing variable 'value'.
5040 2015-12-01 Yao Qi <yao.qi@linaro.org>
5042 * gdb.base/disp-step-syscall.exp: Define syscall instruction
5043 for aarch64*-*-linux* target.
5045 2015-11-30 Pedro Alves <palves@redhat.com>
5047 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
5049 2015-11-30 Pedro Alves <palves@redhat.com>
5051 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
5052 Handle non-stop mode vCont replies.
5054 2015-11-30 Pedro Alves <palves@redhat.com>
5056 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
5057 prepare_for_testing. Start gdb with "set non-stop on" appended to
5058 GDBFLAGS. Lax expected stop output.
5060 2015-11-27 Yao Qi <yao.qi@linaro.org>
5062 * gdb.arch/arm-neon.exp: New.
5063 * gdb.arch/arm-neon.c: New.
5065 2015-11-27 Yao Qi <yao.qi@linaro.org>
5067 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
5069 2015-11-27 Yao Qi <yao.qi@linaro.org>
5071 * gdb.cp/annota2.exp: Allow multiple occurrences of the
5072 frames-invalid annotation.
5074 2015-11-27 Yao Qi <yao.qi@linaro.org>
5076 * gdb.cp/annota2.exp: Use ${frames_invalid}.
5078 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
5080 * gdb.threads/names.exp: New file.
5081 * gdb.threads/names.c: New file.
5082 * README: Mention gdb,no_thread_names.
5084 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
5087 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
5090 2015-11-24 Pedro Alves <palves@redhat.com>
5093 * gdb.base/display.exp: Expect displays to be sorted in ascending
5094 order. Use multi_line.
5095 * gdb.base/solib-display.exp: Likewise.
5097 2015-11-24 Pedro Alves <palves@redhat.com>
5100 * gdb.base/display.exp: Expect displays to be sorted in ascending
5101 order. Use multi_line.
5102 * gdb.base/solib-display.exp: Likewise.
5104 2015-11-24 Pedro Alves <palves@redhat.com>
5107 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
5108 threads in ascending order.
5109 * gdb.base/foll-fork.exp: Likewise.
5110 * gdb.base/foll-vfork.exp: Likewise.
5111 * gdb.base/multi-forks.exp: Likewise.
5112 * gdb.mi/mi-nonstop.exp: Likewise.
5113 * gdb.mi/mi-nsintrall.exp: Likewise.
5114 * gdb.multi/base.exp: Likewise.
5115 * gdb.multi/multi-arch.exp: Likewise.
5116 * gdb.python/py-inferior.exp: Likewise.
5117 * gdb.threads/break-while-running.exp: Likewise.
5118 * gdb.threads/execl.exp: Likewise.
5119 * gdb.threads/gcore-thread.exp: Likewise.
5120 * gdb.threads/info-threads-cur-sal.exp: Likewise.
5121 * gdb.threads/kill.exp: Likewise.
5122 * gdb.threads/linux-dp.exp: Likewise.
5123 * gdb.threads/multiple-step-overs.exp: Likewise.
5124 * gdb.threads/next-bp-other-thread.exp: Likewise.
5125 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
5126 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
5127 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
5128 * gdb.threads/thread-find.exp: Likewise.
5129 * gdb.threads/tls.exp: Likewise.
5130 * lib/mi-support.exp (mi_reverse_list): Delete.
5131 (mi_check_thread_states): No longer reverse list.
5133 2015-11-24 Pedro Alves <palves@redhat.com>
5135 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
5138 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
5140 * gdb.trace/actions.c: Include trace-common.h.
5141 (main): Add a location for a fast tracepoint.
5142 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
5143 the normal tracepoints.
5144 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
5146 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
5148 * save-trace.exp: Factor out code to these...
5149 (gdb_save_tracepoints): New.
5150 (gdb_load_tracepoints): New.
5151 (do_save_load_test): New.
5153 2015-11-23 Kevin Buettner <kevinb@redhat.com>
5155 * gdb.base/asmlabel.exp: New test.
5156 * gdb.base/asmlabel.c: New test case.
5158 2015-11-23 Joel Brobecker <brobecker@adacore.com>
5160 * gdb.base/wrong_frame_bt_full-main.c: New file.
5161 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
5162 * gdb.base/wrong_frame_bt_full.exp: New file.
5164 2015-11-23 Joel Brobecker <brobecker@adacore.com>
5166 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
5168 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
5170 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
5171 pstate register when comparing registers values in
5172 sparc64-*-linux-gnu targets to avoid spurious differences.
5174 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
5176 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
5178 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
5180 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
5181 as type argument to gdb_compile.
5182 * gdb.base/nested-subp2.exp: Likewise.
5183 * gdb.base/nested-subp3.exp: Likewise.
5185 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
5187 * lib/dwarf.exp (_note): Fix left shift of negative value.
5188 * gdb.trace/trace-condition.exp: Likewise.
5190 2015-11-13 Yao Qi <yao.qi@linaro.org>
5192 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
5193 comments about d10v.
5194 (test_scalar_returns): Likewise.
5195 * gdb.base/d10v.ld: Remove.
5196 * gdb.base/overlays.exp: Remove the target triplet checking for
5198 * gdb.base/structs.exp (test_struct_returns): Remove the
5199 comments about d10v.
5200 (test_struct_calls): Likewise.
5202 2015-11-13 Yao Qi <yao.qi@linaro.org>
5204 * gdb.base/gnu_vector.exp: Check the return value by "p res".
5205 * gdb.base/gnu_vector.c: Don't include stdio.h.
5206 (main): Don't print res and call add_some_intvecs.
5208 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
5210 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
5213 (func4): Use FAST_TRACEPOINT_LABEL.
5214 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
5217 (thread_function): Use FAST_TRACEPOINT_LABEL.
5218 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
5220 (marker): Use FAST_TRACEPOINT_LABEL.
5221 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
5222 (pendfunc1): Remove.
5223 (pendfunc): Use FAST_TRACEPOINT_LABEL.
5224 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
5226 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
5227 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
5230 (marker): Use FAST_TRACEPOINT_LABEL.
5231 * gdb.trace/trace-common.h: New header.
5232 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
5235 (marker): Use FAST_TRACEPOINT_LABEL.
5236 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
5238 (thread_function): Use FAST_TRACEPOINT_LABEL.
5240 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
5242 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
5244 * gdb.trace/change-loc.exp: Use global pcreg definition.
5245 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
5246 * gdb.trace/entry-values.exp: Use global spreg definition, add $
5248 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
5249 * gdb.trace/pending.exp: Likewise.
5250 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
5251 * gdb.trace/trace-break.exp: Likewise.
5252 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
5254 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
5255 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
5257 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
5259 2015-11-09 Joel Brobecker <brobecker@adacore.com>
5261 * gdb.ada/fin_fun_out: New testcase.
5263 2015-11-07 Kevin Buettner <kevinb@redhat.com>
5265 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
5266 value associated with DW_AT_byte_size.
5267 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
5268 constants for DW_AT_byte_size, DW_AT_lower_bound, and
5271 2015-11-07 Kevin Buettner <kevinb@redhat.com>
5273 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
5274 (gdb_target_symbol_prefix_flags): Define in terms of _asm
5276 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
5277 gdb.dwarf2/dw2-canonicalize-type.exp,
5278 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
5279 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
5280 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
5281 provided by gdb_target_symbol_prefix_flags_asm.
5282 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
5283 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
5284 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
5285 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
5286 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
5287 macros where needed). Use this macro for symbols which require
5288 the prefix provided by SYMBOL_PREFIX.
5290 2015-11-05 Kevin Buettner <kevinb@redhat.com>
5292 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
5294 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
5295 representing expressions, of more than one list element.
5296 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
5297 to prepend linker symbol prefix to f.
5298 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
5299 table_1 and table_2.
5300 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
5301 Likewise, for f and g.
5302 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
5304 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
5306 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
5307 table_1_ptr and table_2_ptr.
5309 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5310 Joel Brobecker <brobecker@adacore.com>
5312 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
5314 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
5316 * gdb.reverse/s390-mvcle.c: New test.
5317 * gdb.reverse/s390-mvcle.exp: New file.
5318 * lib/gdb.exp: Enable reverse tests on s390*-linux.
5320 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5322 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
5324 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5326 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
5328 * gdb.reverse/getresuid-reverse.exp: Likewise.
5329 * gdb.reverse/pipe-reverse.exp: Likewise.
5330 * gdb.reverse/readv-reverse.exp: Likewise.
5331 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5332 * gdb.reverse/time-reverse.exp: Likewise.
5333 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
5335 2015-10-30 Yao Qi <yao.qi@linaro.org>
5337 * gdb.threads/wp-replication.c (watch_count_done): Remove.
5338 (empty_cycle): Remove.
5339 (main): Don't call empty_cycle. Don't use watch_count_done.
5340 * gdb.threads/wp-replication.exp: Don't set breakpoint on
5341 empty_cycle. Rewrite the code counting HW watchpoints.
5343 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
5345 * gdb.reverse/fstatat-reverse.c: New test.
5346 * gdb.reverse/fstatat-reverse.exp: New file.
5347 * gdb.reverse/getresuid-reverse.c: New test.
5348 * gdb.reverse/getresuid-reverse.exp: New file.
5349 * gdb.reverse/pipe-reverse.c: New test.
5350 * gdb.reverse/pipe-reverse.exp: New file.
5351 * gdb.reverse/readv-reverse.c: New test.
5352 * gdb.reverse/readv-reverse.exp: New file.
5353 * gdb.reverse/recvmsg-reverse.c: New test.
5354 * gdb.reverse/recvmsg-reverse.exp: New file.
5355 * gdb.reverse/time-reverse.c: New test.
5356 * gdb.reverse/time-reverse.exp: New file.
5357 * gdb.reverse/waitpid-reverse.c: New test.
5358 * gdb.reverse/waitpid-reverse.exp: New file.
5360 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5362 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
5364 2015-10-26 Doug Evans <dje@google.com>
5367 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
5368 * gdb.dwarf2/bad-regnum.c: New file.
5369 * gdb.dwarf2/bad-regnum.exp: New file.
5371 2015-10-26 Doug Evans <dje@google.com>
5374 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
5377 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5379 * gdb.compile/compile.exp (compile code globalvar): Update expectation
5380 for a change by "Mention language in compile error message".
5382 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
5385 * gdb.python/py-type.c (C::a_method): New.
5386 (C::a_const_method): New.
5387 (C::a_static_method): New.
5389 * gdb.python/py-type.exp (test_fields): Test getting fields
5390 from function and method.
5392 2015-10-21 Keven Boell <keven.boell@intel.com>
5394 * gdb.fortran/vla-alloc-assoc.exp: New file.
5395 * gdb.fortran/vla-datatypes.exp: New file.
5396 * gdb.fortran/vla-datatypes.f90: New file.
5397 * gdb.fortran/vla-history.exp: New file.
5398 * gdb.fortran/vla-ptype-sub.exp: New file.
5399 * gdb.fortran/vla-ptype.exp: New file.
5400 * gdb.fortran/vla-sizeof.exp: New file.
5401 * gdb.fortran/vla-sub.f90: New file.
5402 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
5403 * gdb.fortran/vla-value-sub-finish.exp: New file.
5404 * gdb.fortran/vla-value-sub.exp: New file.
5405 * gdb.fortran/vla-value.exp: New file.
5406 * gdb.fortran/vla-ptr-info.exp: New file.
5407 * gdb.mi/mi-vla-fortran.exp: New file.
5408 * gdb.mi/vla.f90: New file.
5410 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
5412 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
5413 of hardwired timeout value.
5415 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5416 Pedro Alves <palves@redhat.com>
5418 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
5419 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
5421 2015-10-19 Josh Stone <jistone@redhat.com>
5423 * gdb.base/catch-syscall.c: Include <sched.h>.
5424 (unknown_syscall): New variable.
5425 (main): Trigger a vfork and an unknown syscall.
5426 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
5427 (unknown_syscall_number): Likewise.
5428 (check_call_to_syscall): Accept an optional syscall pattern.
5429 (check_return_from_syscall): Likewise.
5430 (check_continue): Likewise.
5431 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
5432 (test_catch_syscall_skipping_return): New test toggling off 'catch
5433 syscall' to step over the syscall return, then toggling back on.
5434 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
5435 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
5436 (do_syscall_tests): Call test_catch_syscall_without_args and
5437 test_catch_syscall_mid_vfork.
5438 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
5439 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
5441 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
5443 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
5444 print g_vE): Add new pass patterns.
5445 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
5446 print various symbol names for vptr fields.
5448 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
5450 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
5453 2015-10-12 Yao Qi <yao.qi@linaro.org>
5455 * gdb.arch/disp-step-insn-reloc.exp: New test case.
5457 2015-10-12 Yao Qi <yao.qi@linaro.org>
5459 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
5460 is aarch64*-*-linux*.
5462 2015-10-12 Yao Qi <yao.qi@linaro.org>
5464 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
5465 (can_relocate_bcond_true): ... it.
5466 (can_relocate_bcond_false): New function.
5468 (can_relocate_bl): Likewise.
5469 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
5472 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
5474 * gdb.base/nested-addr.c: New file.
5475 * gdb.base/nested-addr.exp: New testcase.
5477 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
5479 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
5480 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
5481 its output. Ignore the output of "record goto begin" and instead
5482 check that GDB is replaying.
5484 2015-10-09 Pedro Alves <palves@redhat.com>
5486 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
5487 (top level): Use it in the run with no args test.
5489 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
5491 * gdb.dlang/properties.exp: New file.
5493 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
5495 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
5496 whether or not address 0x1000 is mapped on the target.
5498 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
5500 * gdb.python/py-type.exp: Do not run tests if binaries fail to
5503 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
5505 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
5506 instruction-history test.
5508 2015-09-28 Doug Evans <dje@google.com>
5510 * gdb.base/gcore.c (array_func): Add reference to static_array.
5512 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
5514 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
5517 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
5519 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
5520 short or char as base type.
5522 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
5524 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
5525 to allow any size enum.
5527 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
5529 * gdb.ada/array_ptr_renaming.exp: New testcase.
5530 * gdb.ada/array_ptr_renaming/foo.adb: New file.
5531 * gdb.ada/array_ptr_renaming/pack.ads: New file.
5533 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5535 * gdb.trace/ftrace-lock.c: New file.
5536 * gdb.trace/ftrace-lock.exp: New file.
5538 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5540 * gdb.arch/insn-reloc.c: New file.
5541 * gdb.arch/ftrace-insn-reloc.exp: New file.
5543 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5545 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
5547 * gdb.trace/pendshr1.c (pendfunc): Likewise.
5548 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
5549 * gdb.trace/range-stepping.c: Likewise.
5550 * gdb.trace/trace-break.c: Likewise.
5551 * gdb.trace/trace-mt.c (thread_function): Likewise.
5552 * gdb.trace/ftrace.c (marker): Likewise.
5553 * gdb.trace/trace-condition.c (marker): Likewise.
5554 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
5555 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
5558 2015-09-18 Doug Evans <xdje42@gmail.com>
5560 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
5561 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
5563 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5565 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
5568 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5570 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
5571 the pending breakpoint. Remove timeout override for "Run till
5572 MI pending breakpoint on pendfunc3 on thread 2" test.
5574 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5576 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
5579 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5581 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
5582 in breakpoint filename pattern.
5584 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5586 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
5588 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5590 * gdb.linespec/explicit.exp: Check for readline support for
5591 tab-completion tests. Fix obvious typo.
5593 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5595 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
5598 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5600 * gdb.btrace/non-stop.c: New.
5601 * gdb.btrace/non-stop.exp: New.
5603 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
5604 Yao Qi <yao.qi@linaro.org>
5606 * gdb.trace/trace-condition.c: New file.
5607 * gdb.trace/trace-condition.exp: New file.
5609 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
5611 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
5612 for testing bytecode compilation.
5614 2015-09-16 Pedro Alves <palves@redhat.com>
5615 Sandra Loosemore <sandra@codesourcery.com>
5617 * gdb.threads/non-stop-fair-events.c (timeout): New global.
5618 (SECONDS): Redefine.
5619 (main): Call pthread_kill and alarm early.
5620 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
5622 (test): If the target can't hardware step and doesn't support
5623 displaced stepping, increase the timeout.
5625 2015-09-16 Pedro Alves <palves@redhat.com>
5627 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
5628 (enable_debug): New procedures.
5629 (test): Use them. Bail out if waiting for threads fails.
5630 (top level): Bail out if a test fails.
5632 2015-09-16 Yao Qi <yao.qi@linaro.org>
5634 * gdb.asm/asm-source.exp: Set asm-arch for
5635 aarch64*-*-* target.
5636 * gdb.asm/aarch64.inc: New file.
5638 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
5640 * gdb.ada/array_of_variable_length.exp: New testcase.
5641 * gdb.ada/array_of_variable_length/foo.adb: New file.
5642 * gdb.ada/array_of_variable_length/pck.adb: New file.
5643 * gdb.ada/array_of_variable_length/pck.ads: New file.
5645 2015-09-15 Doug Evans <dje@google.com>
5647 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
5648 of function static local variable.
5650 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5652 * gdb.threads/tls-so_extern.exp: New test file.
5653 * gdb.threads/tls-so_extern.c: New test file.
5654 * gdb.threads/tls-so_extern_main.c: New test file.
5656 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5658 * gdb.opt/solib-intra-step-lib.c: New file.
5659 * gdb.opt/solib-intra-step-main.c: New file.
5660 * gdb.opt/solib-intra-step.exp: New file.
5662 2015-09-15 Pedro Alves <palves@redhat.com>
5664 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
5665 gdb_continue_to_breakpoint instead of gdb_test_multiple.
5667 2015-09-14 Pedro Alves <palves@redhat.com>
5669 * gdb.base/hook-stop-continue.c: Delete.
5670 * gdb.base/hook-stop-continue.exp: Delete.
5671 * gdb.base/hook-stop-frame.c: Delete.
5672 * gdb.base/hook-stop-frame.exp: Delete.
5673 * gdb.base/hook-stop.c: New file.
5674 * gdb.base/hook-stop.exp: New file.
5676 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
5678 * gdb.ada/access_to_packed_array.exp: New testcase.
5679 * gdb.ada/access_to_packed_array/foo.adb: New file.
5680 * gdb.ada/access_to_packed_array/pack.adb: New file.
5681 * gdb.ada/access_to_packed_array/pack.ads: New file.
5683 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
5685 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
5688 2015-09-11 Don Breazeal <donb@codesourcery.com>
5690 * gdb.base/foll-exec.c: Add copyright header. Fix
5692 * gdb.base/foll-exec.exp (zap_session): Delete proc.
5693 (do_exec_tests): Use clean_restart in place of zap_session,
5694 and for test initialization. Fix formatting issues. Use
5695 fail in place of perror.
5696 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
5697 an expect statement to match an expression with output from
5698 the program under debug.
5699 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
5700 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
5701 * gdb.threads/non-ldr-exc-2.exp: Likewise.
5702 * gdb.threads/non-ldr-exc-3.exp: Likewise.
5703 * gdb.threads/non-ldr-exc-4.exp: Likewise.
5705 2015-09-09 Doug Evans <dje@google.com>
5707 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
5709 2015-09-09 Doug Evans <dje@google.com>
5711 * gdb.base/pie-execl.exp: Fix result test of build_executable.
5713 2015-09-09 Doug Evans <dje@google.com>
5715 * gdb.base/savedregs.exp: Fix typo.
5717 2015-09-09 Pedro Alves <palves@redhat.com>
5719 * gdb.mi/mi-cli.exp: Add CLI finish tests.
5721 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
5723 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
5724 command actually switches threads. Give up on remaining
5725 tests if target fails to stop at breakpoint.
5727 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
5729 * gdb.ada/funcall_char.exp: New testcase.
5730 * gdb.ada/funcall_char/foo.adb: New file.
5732 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
5734 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
5735 expected outputs. Add two testcases for completing ambiguous
5737 * gdb.ada/complete/aux_pck.adb: New file.
5738 * gdb.ada/complete/aux_pck.ads: New file.
5739 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
5740 Ambiguous_Func functions.
5741 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
5742 * gdb.ada/complete/pck.adb: Likewise.
5744 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
5746 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
5747 failures to run the test program under GDB.
5749 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
5751 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
5754 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
5756 * gdb.base/run-after-attach.exp: New test file.
5757 * gdb.base/run-after-attach.c: New test file.
5759 2015-08-26 Don Breazeal <donb@codesourcery.com>
5761 * gdb.base/foll-exec-2.c: New test program.
5762 * gdb.base/foll-exec-2.exp: New test.
5764 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
5766 * gdb.base/nested-subp1.exp: New file.
5767 * gdb.base/nested-subp1.c: New file.
5768 * gdb.base/nested-subp2.exp: New file.
5769 * gdb.base/nested-subp2.c: New file.
5770 * gdb.base/nested-subp3.exp: New file.
5771 * gdb.base/nested-subp3.c: New file.
5773 2015-08-24 Pedro Alves <palves@redhat.com>
5775 * gdb.server/connect-without-multi-process.c: New file.
5776 * gdb.server/connect-without-multi-process.exp: New file.
5778 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5780 * gdb.opt/inline-markers.c: Make z int.
5782 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5784 * gdb.opt/inline-markers.c: Make z volatile.
5786 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5788 * gdb.opt/inline-bt.c: New volatile global z.
5789 * gdb.opt/inline-cmds.c: Likewise.
5790 * gdb.opt/inline-locals.c: Likewise.
5791 * gdb.opt/inline-markers.c: New extern global z.
5793 (inline_fn): Likewise.
5795 2015-08-24 Pedro Alves <palves@redhat.com>
5797 * config/m32r-stub.exp: Remove file.
5798 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5799 * gdb.base/call-rt-st.exp: Likewise.
5800 * gdb.base/call-strs.exp: Likewise.
5801 * gdb.base/default.exp: Remove references to h8300-*-hms and
5803 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5805 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5807 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5808 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5809 and "return" use KFAIL when GDB can not read/write the vector
5812 2015-08-21 Gary Benson <gbenson@redhat.com>
5814 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5816 2015-08-20 Pedro Alves <palves@redhat.com>
5818 * gdb.server/solib-list.exp: No longer expect an interior stop in
5821 2015-08-20 Pedro Alves <palves@redhat.com>
5823 * gdb.server/connect-stopped-target.c: New file.
5824 * gdb.server/connect-stopped-target.exp: New file.
5826 2015-08-20 Pedro Alves <palves@redhat.com>
5828 * gdb.dwarf2/comp-unit-lang.exp: New file.
5829 * gdb.dwarf2/comp-unit-lang.c: New file.
5831 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5833 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5834 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5836 2015-08-19 Kevin Buettner <kevinb@redhat.com>
5838 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5839 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5841 2015-08-18 Doug Evans <dje@google.com>
5842 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5844 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5845 skip_python_tests. New arg prompt_regexp.
5846 (skip_python_tests): New function.
5847 * lib/mi-support.exp (mi_skip_python_tests): New function.
5848 * gdb.python/py-mi-objfile-gdb.py: New file.
5849 * gdb.python/py-mi-objfile.c: New file.
5850 * gdb.python/py-mi-objfile.exp: New file.
5852 2015-08-17 Keith Seitz <keiths@redhat.com>
5854 * gdb.linespec/explicit.exp: Move strace test from here ...
5855 * gdb.trace/strace.exp: ... to here.
5857 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5859 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5860 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5862 2015-08-14 Doug Evans <xdje42@gmail.com>
5864 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5865 inferior before selecting a new file.
5867 2015-08-14 Doug Evans <xdje42@gmail.com>
5869 * gdb.mi/mi-disassemble.exp: Update.
5870 * gdb.base/disasm-optim.S: New file.
5871 * gdb.base/disasm-optim.c: New file.
5872 * gdb.base/disasm-optim.h: New file.
5873 * gdb.base/disasm-optim.exp: New file.
5875 2015-08-14 Keith Seitz <keiths@redhat.com>
5877 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
5880 2015-08-13 Joel Brobecker <brobecker@adacore.com>
5882 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
5884 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
5886 * gdb.ada/fun_renaming.exp: New testcase.
5887 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
5888 * gdb.ada/fun_renaming/pack.adb: New file.
5889 * gdb.ada/fun_renaming/pack.ads: New file.
5891 2015-08-12 Keith Seitz <keiths@redhat.com>
5893 * gdb.base/dso2dso.exp: Pass basename of source file in call to
5894 gdb_get_line_number.
5896 2015-08-12 Joel Brobecker <brobecker@adacore.com>
5898 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
5899 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
5900 gdb.base/dso2dso.exp: New files.
5902 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
5903 Pedro Alves <palves@redhat.com>
5904 Keith Seitz <keiths@redhat.com>
5906 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
5909 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5911 * gdb.base/gdbhistsize-history.exp
5912 (test_histsize_history_setting): Use save_vars.
5913 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5915 (test_no_truncation_of_unlimited_history_file): Use save_vars.
5916 * gdb.base/readline.exp: Use save_vars.
5918 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5920 * lib/gdb.exp (save_vars): New proc.
5922 2015-08-11 Keith Seitz <keiths@redhat.com>
5924 * gdb.base/help.exp: Update help_breakpoint_text.
5926 2015-08-11 Keith Seitz <keiths@redhat.com>
5928 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
5929 (at toplevel): Call test_explicit_breakpoints.
5930 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
5932 * lib/mi-support.exp (mi_make_breakpoint): Add support for
5933 breakpoint conditions, "-cond".
5935 2015-08-11 Keith Seitz <keiths@redhat.com>
5937 * gdb.linespec/3explicit.c: New file.
5938 * gdb.linespec/cpexplicit.cc: New file.
5939 * gdb.linespec/cpexplicit.exp: New file.
5940 * gdb.linespec/explicit.c: New file.
5941 * gdb.linespec/explicit.exp: New file.
5942 * gdb.linespec/explicit2.c: New file.
5943 * gdb.linespec/ls-errs.exp: Add explicit location tests.
5944 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
5945 before using in the matching pattern.
5946 Clarify that `prefix' is a regular expression.
5948 2015-08-11 Keith Seitz <keiths@redhat.com>
5950 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
5952 Add tests for missing ",FMT" and ",".
5954 2015-08-10 Doug Evans <dje@google.com>
5955 Keith Seitz <keiths@redhat.com>
5958 * gdb.base/completion.exp: Add location completer tests.
5960 2015-08-07 Pedro Alves <palves@redhat.com>
5962 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
5964 (top level): Run do_test with and without displaced stepping.
5966 2015-08-07 Pedro Alves <palves@redhat.com>
5968 * gdb.base/valgrind-disp-step.c: New file.
5969 * gdb.base/valgrind-disp-step.exp: New file.
5971 2015-08-07 Pedro Alves <palves@redhat.com>
5973 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
5975 (main): Add alarm. Run an infinite loop instead of calling
5977 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
5979 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
5981 (main): Add alarm. Run an infinite loop instead of calling
5983 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
5986 2015-08-07 Pedro Alves <palves@redhat.com>
5988 * gdb.base/checkpoint-ns.exp: New file.
5989 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
5992 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
5994 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
5995 * gdb.btrace/instruction_history.exp: Update.
5996 * gdb.btrace/tsx.exp: New.
5997 * gdb.btrace/tsx.c: New.
5999 2015-08-06 Pedro Alves <palves@redhat.com>
6001 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
6003 * gdb.reverse/until-precsave.exp: Bump timeouts.
6005 2015-08-06 Pedro Alves <palves@redhat.com>
6007 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
6009 2015-08-06 Pedro Alves <palves@redhat.com>
6012 * gdb.threads/process-dies-while-handling-bp.c: New file.
6013 * gdb.threads/process-dies-while-handling-bp.exp: New file.
6015 2015-08-06 Pedro Alves <palves@redhat.com>
6017 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
6018 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
6020 2015-08-05 Pedro Alves <palves@redhat.com>
6022 * gdb.threads/next-while-other-thread-longjmps.c: New file.
6023 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
6025 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
6027 * gdb.base/bp-permanent.exp: Report test as unsupported if
6028 the target cannot stop at the permanent breakpoint.
6030 2015-08-03 Doug Evans <dje@google.com>
6032 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
6035 2015-08-03 Doug Evans <dje@google.com>
6037 * Makefile.in (workers/%.worker, build-perf): New rule.
6038 (GDB_PERFTEST_MODE): New variable.
6039 (check-perf): Use it.
6040 (clean): Clean up gdb.perf parallel build subdirs.
6041 * lib/build-piece.exp: New file.
6042 * lib/gdb.exp (make_gdb_parallel_path): New function
6043 (standard_output_file, standard_temp_file): Call it.
6044 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6046 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
6048 2015-08-03 Doug Evans <dje@google.com>
6050 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
6051 (LOG_FILE_NAME): New global.
6052 (TextReporter.__init__): Initialize self.txt_sum.
6053 (TextReporter.report): Add support for multiple data-points.
6054 Move report to perftest.sum, put raw data in perftest.log.
6055 (TextReporter.start): Open sum and log files.
6056 (TextReporter.end): Close sum and log files.
6057 * gdb.perf/lib/perftest/testresult.py
6058 (SingleStatisticTestResult.record): Handle multiple data-points.
6060 2015-07-31 Pedro Alves <palves@redhat.com>
6062 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
6063 Use spawn_id_get_pid. Wait for spawn id after eof. Use
6064 kill_wait_spawned_process instead of explicit "kill -9".
6065 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
6066 returning a spawn id instead of a pid. Use spawn_id_get_pid and
6067 kill_wait_spawned_process.
6068 * gdb.base/attach-twice.exp: Likewise.
6069 * gdb.base/attach.exp: Likewise.
6070 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
6072 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
6073 returning a spawn id instead of a pid. Use spawn_id_get_pid and
6074 kill_wait_spawned_process.
6075 * gdb.base/valgrind-infcall.exp: Likewise.
6076 * gdb.multi/multi-attach.exp: Likewise.
6077 * gdb.python/py-prompt.exp: Likewise.
6078 * gdb.python/py-sync-interp.exp: Likewise.
6079 * gdb.server/ext-attach.exp: Likewise.
6080 * gdb.threads/attach-into-signal.exp (corefunc): Use
6081 spawn_wait_for_attach, spawn_id_get_pid and
6082 kill_wait_spawned_process.
6083 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
6084 spawn_wait_for_attach returning a spawn id instead of a pid. Use
6085 spawn_id_get_pid and kill_wait_spawned_process.
6086 * gdb.threads/attach-stopped.exp (corefunc): Use
6087 spawn_wait_for_attach, spawn_id_get_pid and
6088 kill_wait_spawned_process.
6089 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
6090 Use spawn_id_get_pid. Wait for spawn id after eof. Use
6091 kill_wait_spawned_process instead of explicit "kill -9".
6092 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
6093 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
6094 (spawn_wait_for_attach): Use spawn instead of exec to spawn
6095 processes. Don't map cygwin/windows pids here. Now returns a
6098 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6100 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
6101 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
6104 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6106 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
6108 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6111 2014-05-21 Mark Wielaard <mjw@redhat.com>
6113 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6115 2015-07-30 Pedro Alves <palves@redhat.com>
6117 * linux-low.c (handle_extended_wait): Set the child's last
6118 reported status to TARGET_WAITKIND_STOPPED.
6120 2015-07-30 Pedro Alves <palves@redhat.com>
6123 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
6124 only shows inferior 1.
6126 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
6127 Pedro Alves <palves@redhat.com>
6130 * gdb.threads/fork-plus-threads.c: New file.
6131 * gdb.threads/fork-plus-threads.exp: New file.
6133 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6135 * gdb.base/batch-preserve-term-settings.exp
6136 (test_terminal_settings_preserved_after_cli_exit): Use
6139 2015-07-29 Pedro Alves <palves@redhat.com>
6140 Don Breazeal <donb@codesourcery.com>
6142 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
6143 output from both inferior_spawn_id and gdb_spawn_id.
6145 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
6147 * gdb.threads/attach-into-signal.exp (corefunc): Use
6148 with_test_prefix on nested loops, uniquefying the test messages.
6150 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
6152 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
6155 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6157 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
6159 (test_terminal_settings_preserved_after_sigterm): New test.
6161 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6163 * gdb.base/batch-preserve-term-settings.exp
6164 (test_terminal_settings_preserved_after_cli_exit): New test.
6166 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6168 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
6169 manipulation of saved_gdbflags.
6170 (test_terminal_settings_preserved): Remove global declaration of
6171 the unused variable pagination_prompt. Remove manipulation of
6172 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
6175 2015-07-29 Pedro Alves <palves@redhat.com>
6177 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
6179 2015-07-29 Pedro Alves <palves@redhat.com>
6181 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
6184 2015-07-29 Pedro Alves <palves@redhat.com>
6186 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
6187 (main): Call gdb_unbuffer_output.
6188 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
6189 (main): Call gdb_unbuffer_output.
6190 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
6191 (main): Call gdb_unbuffer_output.
6192 * gdb.base/call-strs.exp: Adjust to step over the
6193 gdb_unbuffer_output call.
6194 * gdb.base/catch-gdb-caused-signals.c: Include
6195 "../lib/unbuffer_output.c".
6196 (main): Call gdb_unbuffer_output.
6197 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
6198 (main): Call gdb_unbuffer_output.
6199 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
6200 (main): Call gdb_unbuffer_output.
6201 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
6202 (main): Call gdb_unbuffer_output.
6203 * gdb.base/shlib-call.exp: Adjust to step over the
6204 gdb_unbuffer_output call.
6205 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
6206 (main): Call gdb_unbuffer_output.
6207 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
6208 (main): Call gdb_unbuffer_output.
6209 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
6210 (main): Rename to ...
6212 (main): Reimplement.
6213 * gdb.base/varargs.exp: Run to test instead of to main.
6214 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
6215 (main): Call gdb_unbuffer_output.
6217 2015-07-29 Pedro Alves <palves@redhat.com>
6219 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
6220 factore out from mi_continue_dprintf. For call-style dprintfs,
6221 expect dprintf output out of $inferior_spawn_id.
6222 (mi_continue_dprintf): Use mi_expect_dprintf.
6223 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
6224 (main): Call gdb_unbuffer_output.
6226 2015-07-29 Pedro Alves <palves@redhat.com>
6228 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
6229 (default_mi_gdb_start): Set inferior_spawn_id instead of
6230 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
6232 (mi_gdb_test): Always expect inferior output from both
6233 $inferior_spawn_id and $gdb_spawn_id.
6235 2015-07-29 Pedro Alves <palves@redhat.com>
6237 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
6238 send_inferior and $inferior_spawn_id.
6240 2015-07-29 Pedro Alves <palves@redhat.com>
6242 * gdb.gdb/complaints.exp (test_initial_complaints)
6243 (test_serial_complaints, test_short_complaints): Use
6245 (test_empty_complaint): Handle $inferior_spawn_id !=
6248 2015-07-29 Pedro Alves <palves@redhat.com>
6250 * gdb.base/varargs.exp: Use gdb_test_stdio.
6252 2015-07-29 Pedro Alves <palves@redhat.com>
6254 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
6256 2015-07-29 Pedro Alves <palves@redhat.com>
6258 * gdb.base/ending-run.exp: Use gdb_test_stdio.
6260 2015-07-29 Pedro Alves <palves@redhat.com>
6262 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
6263 parameter into two new parameters, "inf_result" and "gdb_result".
6264 Expect inferior output and gdb output from $inferior_spawn_id and
6265 $gdb_spawn_id, respectively. Adjust all callers.
6267 2015-07-29 Pedro Alves <palves@redhat.com>
6269 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
6270 of gdb_test_sequence.
6272 2015-07-29 Pedro Alves <palves@redhat.com>
6274 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
6275 (saw_spurious_output): Expect inferior output from
6276 $inferior_spawn_id. Use gdb_test_stdio.
6278 2015-07-29 Pedro Alves <palves@redhat.com>
6280 * gdb.base/dprintf.exp: Use standard_testfile. Change
6281 prepare_for_testing call.
6282 (srcfile): Don't set.
6283 (restart): New procedure.
6284 (test_dprintf): New procecure, use to continue over dprintfs.
6285 (test_call, test_agent): New procedures, tests moved here.
6286 Restart gdb and recreate dprintfs. Adjust expected output.
6288 2015-07-29 Pedro Alves <palves@redhat.com>
6290 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
6292 2015-07-29 Pedro Alves <palves@redhat.com>
6294 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
6296 2015-07-29 Pedro Alves <palves@redhat.com>
6298 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
6301 2015-07-29 Pedro Alves <palves@redhat.com>
6303 * lib/gdb.exp (gdb_test_stdio): New procedure.
6305 2015-07-29 Pedro Alves <palves@redhat.com>
6307 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
6309 2015-07-29 Pedro Alves <palves@redhat.com>
6311 * gdb.base/call-signal-resume.exp: Remove check for
6312 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
6313 * gdb.base/unwindonsignal.exp: Likewise.
6314 * gdb.base/call-signals.c (gen_signal): Remove printf call.
6315 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
6317 2015-07-29 Pedro Alves <palves@redhat.com>
6319 * gdb.base/siginfo-addr.c (pass): New function.
6320 (handler): Call it iff si_addr is correct.
6321 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
6322 Set a breakpoint at "pass" and continue to it.
6324 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
6326 * gdb.python/py-objfile.exp: Make some tests have unique names.
6327 * gdb.python/py-pp-registration.exp: Likewise.
6329 2015-07-28 Pedro Alves <palves@redhat.com>
6331 * gdb.server/server-exec-info.exp: Issue a "disconnect".
6333 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6335 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
6337 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6339 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
6341 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
6343 * gdb.base/gdb-sigterm-2.exp: New test.
6345 2015-07-25 Doug Evans <xdje42@gmail.com>
6348 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6349 (workers/%.worker, build-perf): New rule.
6350 (GDB_PERFTEST_MODE): New variable.
6351 (check-perf): Use it.
6352 (clean): Clean up gdb.perf parallel build subdirs.
6353 * lib/build-piece.exp: New file.
6354 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6355 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6357 (standard_temp_file): Ditto.
6358 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6361 2015-07-24 Doug Evans <dje@google.com>
6363 * gdb.perf/lib/perftest/utils.py: New file.
6364 * gdb.perf/gm-hello.cc: New file.
6365 * gdb.perf/gm-pervasive-typedef.cc: New file.
6366 * gdb.perf/gm-pervasive-typedef.h: New file.
6367 * gdb.perf/gm-std.cc: New file.
6368 * gdb.perf/gm-std.h: New file.
6369 * gdb.perf/gm-use-cerr.cc: New file.
6370 * gdb.perf/gm-utils.h: New file.
6371 * gdb.perf/gmonster-null-lookup.py: New file.
6372 * gdb.perf/gmonster-pervasive-typedef.py: New file.
6373 * gdb.perf/gmonster-print-cerr.py: New file.
6374 * gdb.perf/gmonster-ptype-string.py: New file.
6375 * gdb.perf/gmonster-runto-main.py: New file.
6376 * gdb.perf/gmonster-select-file.py: New file.
6377 * gdb.perf/gmonster1-null-lookup.exp: New file.
6378 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
6379 * gdb.perf/gmonster1-print-cerr.exp: New file.
6380 * gdb.perf/gmonster1-ptype-string.exp: New file.
6381 * gdb.perf/gmonster1-runto-main.exp: New file.
6382 * gdb.perf/gmonster1-select-file.exp: New file.
6383 * gdb.perf/gmonster1.cc: New file.
6384 * gdb.perf/gmonster1.exp: New file.
6385 * gdb.perf/gmonster2-null-lookup.exp: New file.
6386 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
6387 * gdb.perf/gmonster2-print-cerr.exp: New file.
6388 * gdb.perf/gmonster2-ptype-string.exp: New file.
6389 * gdb.perf/gmonster2-runto-main.exp: New file.
6390 * gdb.perf/gmonster2-select-file.exp: New file.
6391 * gdb.perf/gmonster2.cc: New file.
6392 * gdb.perf/gmonster2.exp: New file.
6394 2015-07-24 Doug Evans <dje@google.com>
6396 * gdb.perf/README: New file.
6397 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
6398 * lib/gen-perf-test.exp: New file.
6400 2015-07-24 Doug Evans <dje@google.com>
6402 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
6403 (PerfTest::startup): New function.
6404 (PerfTest::run): Return result of calling body.
6405 (PerfTest::assemble): Rewrite.
6406 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
6407 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
6408 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
6409 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
6410 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
6412 2015-07-24 Doug Evans <dje@google.com>
6414 * lib/gdb.exp (clean_restart): Make executable optional.
6416 2015-07-24 Doug Evans <dje@google.com>
6418 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
6419 compiler_info references.
6420 * gdb.cp/temargs.exp: Ditto.
6421 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
6422 (get_compiler_info): Early exit if already computed. Set compiler_info
6423 to "unknown" if there was a problem.
6424 (test_compiler_info): Add function comment. Call get_compiler_info.
6426 2015-07-24 Doug Evans <dje@google.com>
6428 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6429 (workers/%.worker, build-perf): New rule.
6430 (GDB_PERFTEST_MODE): New variable.
6431 (check-perf): Use it.
6432 (clean): Clean up gdb.perf parallel build subdirs.
6433 * lib/build-piece.exp: New file.
6434 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6435 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6437 (standard_temp_file): Ditto.
6438 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6441 2015-07-24 Doug Evans <dje@google.com>
6443 * lib/future.exp (gdb_default_target_compile): New option
6445 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
6448 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
6450 * gdb.base/catch-syscall.exp: Call gdb_exit before
6453 2015-07-24 Pedro Alves <palves@redhat.com>
6455 * gdb.python/py-events.exp: Accept output between the stop event
6457 * gdb.python/py-evsignal.exp: Likewise.
6458 * gdb.python/py-evthreads.exp: Likewise.
6460 2015-07-24 Pedro Alves <palves@redhat.com>
6463 * gdb.threads/non-ldr-exit.c: New file.
6464 * gdb.threads/non-ldr-exit.exp: New file.
6466 2015-07-24 Yao Qi <yao.qi@linaro.org>
6468 * gdb.server/ext-wrapper.exp: Test --wrapper option when
6471 2015-07-24 Yao Qi <yao.qi@linaro.org>
6473 * gdb.server/ext-restart.exp: New file.
6475 2015-07-24 Yao Qi <yao.qi@linaro.org>
6477 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
6479 * gdb.server/ext-wrapper.exp: New file.
6481 2015-07-23 Doug Evans <dje@google.com>
6483 * gdb.dwarf2/dw2-dummy-cu.S: New file.
6484 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
6486 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
6488 * gdb.ada/var_arr_typedef.exp: New testcase.
6489 * gdb.ada/var_arr_typedef/pack.adb: New file.
6490 * gdb.ada/var_arr_typedef/pack.ads: New file.
6491 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
6493 2015-07-20 Joel Brobecker <brobecker@adacore.com>
6495 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
6497 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6499 * gdb.arch/i386-biarch-core.exp: Replace istarget
6500 by "complete set gnutarget". Remove expectation for the "core-file"
6503 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6505 Revert the previous commit:
6506 Tests for validate symbol file using build-id.
6508 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
6510 Tests for validate symbol file using build-id.
6511 * gdb.base/solib-mismatch-lib.c: New file.
6512 * gdb.base/solib-mismatch-libmod.c: New file.
6513 * gdb.base/solib-mismatch.c: New file.
6514 * gdb.base/solib-mismatch.exp: New file.
6516 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
6518 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
6520 * gdb.base/sigbpt.exp (stepi_out): Likewise.
6521 * gdb.base/siginfo.exp: Likewise.
6522 * gdb.base/sigstep.exp (advance, advancei): Likewise.
6524 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
6526 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
6528 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
6530 * gdb.trace/range-stepping.exp: Check that the target supports
6533 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6535 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
6537 2015-07-14 Pedro Alves <palves@redhat.com>
6539 * gdb.base/killed-outside.exp: New file.
6540 * gdb.base/killed-outside.c: New file.
6542 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6544 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
6546 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
6548 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6550 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
6551 infcall tests instead of setting up for KFAIL.
6553 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
6555 * gdb.btrace/record_goto-step.exp: New.
6557 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6560 * gdb.compile/compile.c (struct struct_type): Add volatile to
6562 * gdb.compile/compile.exp
6563 (compile code struct_object.selffield = &struct_object): Skip further
6564 struct_object tests if this one xfails.
6566 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
6569 * gdb.trace/ax.exp: Add test.
6571 2015-07-07 Yao Qi <yao.qi@linaro.org>
6573 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
6574 instead of istarget "aarch64*-*-*".
6575 * gdb.arch/aarch64-fp.exp: Likewise.
6576 * gdb.base/float.exp: Likewise.
6577 * gdb.reverse/aarch64.exp: Likewise.
6578 * lib/gdb.exp (is_aarch64_target): New proc.
6580 2015-07-07 Yao Qi <yao.qi@linaro.org>
6582 * lib/gdb.exp (is_aarch32_target): New proc.
6583 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
6584 instead of "istarget "arm*-*-*"".
6585 * gdb.arch/arm-disp-step.exp: Likewise.
6586 * gdb.arch/thumb-bx-pc.exp: Likewise.
6587 * gdb.arch/thumb-prologue.exp: Likewise.
6588 * gdb.arch/thumb-singlestep.exp: Likewise.
6589 * gdb.base/disp-step-syscall.exp: Likewise.
6590 * gdb.base/float.exp: Likewise.
6592 2015-07-07 Yao Qi <yao.qi@linaro.org>
6594 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
6595 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
6597 2015-07-07 Yao Qi <yao.qi@linaro.org>
6599 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
6600 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
6602 * gdb.multi/multi-arch.exp: Likewise.
6604 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
6606 * gdb.python/py-lazy-string.exp: Add missing parentheses to
6609 2015-07-07 Yao Qi <yao.qi@linaro.org>
6611 * gdb.arch/thumb-singlestep.exp: Do one more single step.
6613 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
6615 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
6616 '[' and ']' characters.
6618 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
6620 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6622 2015-06-29 Pedro Alves <palves@redhat.com>
6625 * gdb.threads/hand-call-new-thread.c: New file.
6626 * gdb.threads/hand-call-new-thread.c: New file.
6628 2015-06-26 Keith Seitz <keiths@redhat.com>
6629 Doug Evans <dje@google.com>
6632 * gdb.cp/var-tag-2.cc: New file.
6633 * gdb.cp/var-tag-3.cc: New file.
6634 * gdb.cp/var-tag-4.cc: New file.
6635 * gdb.cp/var-tag.cc: New file.
6636 * gdb.cp/var-tag.exp: New file.
6638 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6640 * gdb.base/history-duplicates.exp: New test.
6642 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6644 * gdb.base/completion.exp: Test the completion of the "focus"
6647 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6649 * gdb.arch/amd64-prologue-skip.S: New file.
6650 * gdb.arch/amd64-prologue-skip.exp: New file.
6652 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
6654 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
6655 is_address_zero_readable check.
6657 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
6659 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
6660 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
6662 2015-06-24 Yao Qi <yao.qi@linaro.org>
6664 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
6667 2015-06-24 Yao Qi <yao.qi@linaro.org>
6669 * lib/gdb.exp (supports_get_siginfo_type): New proc.
6670 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
6671 * gdb.base/siginfo-thread.exp: Likewise.
6673 2015-06-22 Yao Qi <yao.qi@linaro.org>
6675 * boards/remote-gdbserver-on-localhost.exp: Add comments.
6677 2015-06-22 Yao Qi <yao.qi@linaro.org>
6679 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
6681 (skip_hw_watchpoint_tests): Likewise.
6683 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
6685 * gdb.base/gdbinit-history.exp: Test the interaction between
6686 setting GDBHISTSIZE and setting the history size via .gdbinit.
6688 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6691 * gdb.base/gdbhistsize-history.exp: New test.
6693 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6695 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
6697 * gdb.base/readline.exp: Likewise.
6699 2015-06-17 Yao Qi <yao.qi@linaro.org>
6701 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
6704 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6706 * gdb.base/gdbinit-history.exp: Add test case to check that
6707 an unlimited history file does not get truncated on exit.
6709 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6711 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
6712 (VECTOR): New macro. Use it...
6713 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6714 ...for these typedefs.
6715 (int8, char1, int1, double1): New typedefs.
6716 (struct just_int2, struct two_int2): New structures.
6717 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
6718 (add_structvecs, add_singlevecs): New functions.
6719 (main): Call add_some_intvecs twice.
6720 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
6721 the compile and exit upon failure. Try compiling for the "native"
6722 architecture. Test inferior function calls with vector arguments
6723 and vector return value handling with "finish" and "return".
6725 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
6727 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
6728 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
6730 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
6732 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6734 PR breakpoints/16465
6735 * gdb.mi/mi-dprintf-pending.c: New file.
6736 * gdb.mi/mi-dprintf-pending.exp: New test.
6737 * gdb.mi/mi-dprintf-pendshr.c: New file.
6739 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6740 Mircea Gherzan <mircea.gherzan@intel.com>
6742 * gdb.arch/i386-mpx-map.c: New file.
6743 * gdb.arch/i386-mpx-map.exp: New File.
6745 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6747 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
6748 * gdb.arch/i386-mpx.exp: Indentation fixed.
6750 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6752 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
6753 function and improved indentation.
6754 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
6755 gdb_test_multiple. Added additional tests to skip the test.
6757 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6759 * gdb.arch/i386-avx512.c: Change path in include file.
6760 * gdb.arch/i386-avx512.exp: Change include dir path
6762 * gdb.arch/i386-mpx.c: Change path in include file.
6763 * gdb.arch/i386-mpx.exp: Change include dir path compilation
6766 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6768 * gdb.compile/compile-print.exp (compile print *vararray@3)
6769 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
6771 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6773 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
6774 (do not keep jit in memory): ... this.
6775 (expect 5): Change it to ...
6776 (expect no 5): ... this.
6778 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
6781 * gdb.mi/mi-detach.exp: New file.
6783 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6786 * gdb.arch/amd64-tailcall-self.S: New file.
6787 * gdb.arch/amd64-tailcall-self.c: New file.
6788 * gdb.arch/amd64-tailcall-self.exp: New file.
6790 2015-05-28 Don Breazeal <donb@codesourcery.com>
6792 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6793 tests for remote targets by checking is_target_gdbserver.
6795 2015-05-27 Doug Evans <dje@google.com>
6797 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6798 * gdb.dwarf2/opaque-type-lookup.c: New file.
6799 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6801 2015-05-26 Doug Evans <dje@google.com>
6803 * gdb.cp/iostream.cc: New file.
6804 * gdb.cp/iostream.exp: New file.
6806 2015-05-26 Doug Evans <dje@google.com>
6808 * gdb.dwarf2/dw2-op-call.exp: Update.
6809 * gdb.dwarf2/dw4-sig-types.exp: Update.
6810 * gdb.dwarf2/implptr.exp: Update.
6811 * gdb.mi/mi-cmd-param-changed.exp: Update.
6813 2015-05-26 Doug Evans <dje@google.com>
6815 * gdb.python/py-lazy-string.c: New file.
6816 * gdb.python/py-lazy-string.exp: New file.
6817 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6818 (main): Update. Add estring3.
6819 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6820 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6822 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6823 Yao Qi <yao.qi@linaro.org>
6825 * gdb.reverse/aarch64.c: New.
6826 * gdb.reverse/aarch64.exp: New.
6828 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6830 * lib/gdb.exp (supports_process_record): Return true for
6832 (supports_reverse): Likewise.
6834 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6836 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6837 Use with_test_prefix.
6839 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6841 * gdb.base/completion.exp: Add test for completion of layout
6844 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6846 * lib/gdb.exp (skip_tui_tests): New proc.
6847 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6849 2015-05-19 Pedro Alves <palves@redhat.com>
6851 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6852 Save the whole env array instead of just HOME. Unset HISTSIZE in
6853 the environment while testing. Restore whole environment
6856 2015-05-16 Doug Evans <xdje42@gmail.com>
6858 * gdb.guile/scm-ports.c: New file.
6859 * gdb.guile/scm-ports.exp: Add memory port tests.
6861 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6863 * gdb.compile/compile-print.c: New file.
6864 * gdb.compile/compile-print.exp: New file.
6866 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6868 * gdb.compile/compile-ops.exp: Cast param to void.
6869 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6870 (compile code struct_object.selffield = &struct_object): Add xfail.
6872 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6874 * gdb.ada/arr_enum_with_gap: New testcase.
6876 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6878 * gdb.ada/byte_packed_arr: New testcase.
6880 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6882 * gdb.ada/pckd_neg: New testcase.
6884 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
6887 * gdb.base/gdbinit-history.exp: New test.
6888 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
6889 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
6891 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
6893 * gdb.python/py-xmethods.cc: Enhance test case.
6894 * gdb.python/py-xmethods.exp: New tests.
6895 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
6897 (B_indexoper): Likewise.
6898 (global_dm_list) : Add new xmethod worker functions.
6900 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
6902 * gdb.base/coredump-filter.exp: Correctly unset
6903 "coredump_var_addr" array.
6905 2015-05-08 Pedro Alves <palves@redhat.com>
6907 * gdb.server/non-existing-program.exp: Unset spawn_id.
6909 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
6912 * gdb.python/py-xmethods.exp: Add tests.
6914 2015-05-08 Yao Qi <yao.qi@linaro.org>
6917 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
6918 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
6919 function set_coredump_filter, and remove remote_exec call.
6920 Remove argument ipid. Callers update.
6921 (top level): Don't get inferior's PID.
6923 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
6925 * gdb.base/watch_thread_num.exp: Skip test on targets without
6928 2015-05-06 Pedro Alves <palves@redhat.com>
6931 * gdb.server/non-existing-program.exp: New file.
6933 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6935 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
6937 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6939 * gdb.ada/out_of_line_in_inlined: New testcase.
6941 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6943 * gdb.ada/var_rec_arr: New testcase.
6945 2015-04-30 Yao Qi <yao.qi@linaro.org>
6947 * gdb.base/break-idempotent.exp: If
6948 skip_hw_watchpoint_multi_tests returns true, skip the tests
6949 on "rwatch" and "awatch".
6951 2015-04-30 Yao Qi <yao.qi@linaro.org>
6953 * gdb.base/relativedebug.exp: Invoke gdb command
6954 "info sharedlibrary", and if libc.so doesn't have debug info,
6957 2015-04-29 Doug Evans <dje@google.com>
6959 * gdb.python/py-xmethods.exp: Add ptype tests.
6960 * gdb.python/py-xmethods.py (E_method_char_worker): Add
6961 get_result_type method.
6963 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6965 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
6966 the target does not support hardware watchpoints.
6968 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6970 * gdb.base/break-always.exp: Abort testing if writing to memory
6973 2015-04-28 Doug Evans <dje@google.com>
6975 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
6976 * gdb.python/py-pp-registration.exp: ... here. New file.
6977 * gdb.python/py-pp-registration.c: New file.
6978 * gdb.python/py-pp-registration.py: New file.
6980 2015-04-28 Doug Evans <dje@google.com>
6982 * gdb.python/py-bad-printers.c: New file.
6983 * gdb.python/py-bad-printers.py: New file.
6984 * gdb.python/py-bad-printers.exp: New file.
6986 2015-04-28 Sasha Smundak <asmundak@google.com>
6988 * gdb.python/py-type.exp: New test.
6990 2015-04-28 Andy Wingo <wingo@igalia.com>
6992 * gdb.python/py-parameter.exp:
6993 * gdb.guile/scm-parameter.exp: Escape the path that we are
6994 matching against, as it might contain characters that are special
6995 to regular expressions.
6997 2015-04-27 Joel Brobecker <brobecker@adacore.com>
6999 * gdb.ada/rec_comp: New testcase.
7001 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
7003 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
7006 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
7008 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
7009 new tests for verilog output.
7011 2015-04-24 Yao Qi <yao.qi@linaro.org>
7013 * boards/remote-gdbserver-on-localhost.exp: New file.
7015 2015-04-23 Pedro Alves <palves@redhat.com>
7017 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
7018 $inferior_spawn_id instead of $inferior_spawn_id directly. On
7019 "end of file", remove $inferior_spawn_id from the indirect list.
7021 2015-04-23 Pedro Alves <palves@redhat.com>
7023 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
7025 2015-04-23 Pedro Alves <palves@redhat.com>
7027 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
7028 on $any_spawn_id instead of only on $gdb_spawn_id.
7030 2015-04-21 Pierre Muller <muller@sourceware.org>
7033 * lib/pascal.exp (gpc_compile): Add new option "class".
7034 (fpc_compile): Likewise.
7035 * gdb.pascal/case-insensitive-symbols.pas: New file.
7036 * gdb.pascal/case-insensitive-symbols.exp: New file.
7038 2015-04-20 Gary Benson <gbenson@redhat.com>
7040 * gdb.base/attach.exp: Fix three extended remote failures.
7042 2015-04-17 Gary Benson <gbenson@redhat.com>
7044 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
7045 the main executable over the remote protocol.
7047 2015-04-16 Pedro Alves <palves@redhat.com>
7049 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
7050 a new gdbserver if gdbserver_reconnect_p is set.
7052 2015-04-16 Pedro Alves <palves@redhat.com>
7054 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
7055 is set, don't exit gdbserver.
7057 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7059 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
7060 appropriate .insn, such that an older assembler can be used.
7061 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
7062 the z/Architecture instruction set on 31-bit targets as well.
7064 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7066 * gdb.go/handcall.exp: Remove all logic related to the first
7067 breakpoint and rely on go_runto_main instead.
7068 * gdb.go/strings.exp: Likewise.
7069 * gdb.go/unsafe.exp: Likewise.
7070 * gdb.go/hello.exp: Likewise. Also rename the remaining
7071 breakpoint marker to "breakpoint 1".
7072 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
7073 * gdb.go/strings.go: Likewise.
7074 * gdb.go/unsafe.go: Likewise.
7075 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
7076 "set breakpoint 2 here" and rename the remaining breakpoint marker
7079 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
7081 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
7082 if itertools.imap is not present.
7083 * gdb.python/py-objfile.exp: Add parentheses.
7084 * gdb.python/py-type.exp: Same.
7085 * gdb.python/py-unwind-maint.py: Same.
7087 2015-04-15 Yao Qi <yao.qi@linaro.org>
7089 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
7090 of ":$ptr_size" and set its form explicitly.
7092 2015-04-15 Pedro Alves <palves@redhat.com>
7093 Yao Qi <yao.qi@linaro.org>
7095 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
7096 timeout by factor of 4.
7097 (test_regular_watch): Likewise.
7098 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
7099 * gdb.reverse/sigall-reverse.exp: Likewise.
7100 * gdb.reverse/until-precsave.exp: Likewise.
7101 * lib/gdb.exp (with_timeout_factor): New proc.
7102 (gdb_expect): Move some code to ...
7103 (get_largest_timeout): ... here. New procedure.
7105 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
7107 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
7109 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
7111 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
7112 to write to the .text section.
7114 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
7116 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
7117 Handle the case of targets that do not provide PID information.
7119 2015-04-13 Yao Qi <yao.qi@linaro.org>
7121 * lib/gdbserver-support.exp (gdb_exit): Catch exception
7122 and use expect instead of gdb_expect.
7124 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
7126 * gdb.base/coredump-filter.exp: Rename variable "addr" to
7127 "coredump_var_addr" to avoid naming conflict with other testcases.
7129 2015-04-10 Pedro Alves <palves@redhat.com>
7131 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
7132 gdb_test_sequence and gdb_assert.
7134 2015-04-10 Pedro Alves <palves@redhat.com>
7136 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
7137 test messages that don't include the breakpoint address.
7139 2015-04-10 Yao Qi <yao.qi@linaro.org>
7141 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
7142 false for some offset and width combinations which aren't
7143 supported by linux kernel.
7145 2015-04-10 Pedro Alves <palves@redhat.com>
7147 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
7148 procedure, factored out from ...
7149 (top level): ... here. Add "set displaced-stepping" testing axis.
7150 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
7151 parameter "displaced". Use it.
7152 (top level): Use foreach and add "set displaced-stepping" testing
7155 2015-04-10 Pedro Alves <palves@redhat.com>
7157 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
7159 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
7160 both the address of the instruction that triggers the watchpoint
7161 and the address of the instruction immediately after, and use
7162 those addresses for the test. Fix comment.
7164 2015-04-10 Pedro Alves <palves@redhat.com>
7166 * gdb.base/sigstep.exp (breakpoint_to_handler)
7167 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
7168 Test "backtrace" in handler.
7169 (breakpoint_over_handler): New parameter 'displaced'. Use it.
7170 (top level): Add new "displaced" test axis to
7171 breakpoint_to_handler, breakpoint_to_handler_entry and
7172 breakpoint_over_handler.
7174 2015-04-10 Pedro Alves <palves@redhat.com>
7177 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
7179 2015-04-10 Yao Qi <yao.qi@linaro.org>
7181 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
7182 (test_add_rn_pc): New function.
7183 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
7184 (top level): Invoke test_add_rn_pc.
7186 2015-04-10 Pedro Alves <palves@redhat.com>
7189 * gdb.base/step-over-no-symbols.exp: New file.
7191 2015-04-09 Andy Wingo <wingo@igalia.com>
7193 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
7194 after the Python tests.
7196 2015-04-08 Keith Seitz <keiths@redhat.com>
7199 * gdb.python/py-completion.exp: New tests for completion.
7200 * gdb.python/py-completion.py (CompleteLimit1): New class.
7201 (CompleteLimit2): Likewise.
7202 (CompleteLimit3): Likewise.
7203 (CompleteLimit4): Likewise.
7204 (CompleteLimit5): Likewise.
7205 (CompleteLimit6): Likewise.
7206 (CompleteLimit7): Likewise.
7208 2015-04-08 Pedro Alves <palves@redhat.com>
7212 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
7214 (main): Install it as SIGUSR1 handler.
7215 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
7216 parameter. Always use "setup" as prefix. Toggle "set
7217 displaced-stepping" off/on depending on global. Don't switch to
7219 (top level): Add displaced stepping "off/on" test axis. Update
7220 "setup" calls. Wrap each subtest with with_test_prefix. Test
7221 continuing with a queued signal in each thread.
7223 2015-04-08 Pedro Alves <palves@redhat.com>
7225 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
7226 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
7227 gdb_breakpoint instead of gdb_test that doesn't expect anything.
7228 Return early if running to main fails.
7229 * gdb.trace/while-stepping.exp: Likewise.
7231 2015-04-07 Pedro Alves <palves@redhat.com>
7233 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
7234 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
7235 interact with inferior program.
7237 2015-04-07 Pedro Alves <palves@redhat.com>
7239 * lib/gdb.exp (inferior_spawn_id): New global.
7240 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
7241 spawn id after processing the user code.
7242 (default_gdb_start): Set inferior_spawn_id.
7243 (send_inferior): New procedure.
7244 * lib/gdbserver-support.exp (gdbserver_start): Set
7246 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
7248 2015-04-07 Pedro Alves <palves@redhat.com>
7250 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
7251 * lib/gdbserver-support.exp (gdbserver_start): Make
7252 $server_spawn_id global.
7253 (gdbserver_start): Don't wait for gdbserver's spawn id with
7255 (close_gdbserver): New procedure.
7256 (gdb_exit): Rename the default version and reimplement.
7258 2015-04-07 Pedro Alves <palves@redhat.com>
7260 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
7261 append the substituted item, not the original item.
7263 2015-04-07 Pedro Alves <palves@redhat.com>
7265 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
7268 2015-04-07 Pedro Alves <palves@redhat.com>
7270 * gdb.base/interrupt.exp: Don't handle the case of the inferior
7271 output appearing once only.
7273 2015-04-07 Pedro Alves <palves@redhat.com>
7275 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
7276 that doesn't expect anything. Return early if running to main
7279 2015-04-07 Yao Qi <yao.qi@linaro.org>
7281 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
7282 (child_function): Call alarm.
7283 (main): Move call to alarm into the loop.
7284 * gdb.threads/non-stop-fair-events.exp: Build program with
7287 2015-04-06 Doug Evans <xdje42@gmail.com>
7289 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
7290 Fix dest parameter to board_info.
7291 (fpc_compile): Ditto.
7292 (gdb_compile_pascal): Rename dest arg to destfile.
7294 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
7296 * gdb.ada/funcall_ref.exp: New file.
7297 * gdb.ada/funcall_ref/foo.adb: New file.
7299 2015-04-02 Yao Qi <yao.qi@linaro.org>
7301 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
7304 2015-04-02 Gary Benson <gbenson@redhat.com>
7306 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
7308 2015-04-01 Sasha Smundak <asmundak@google.com>
7310 * gdb.python/py-unwind-maint.c: New file.
7311 * gdb.python/py-unwind-maint.exp: New test.
7312 * gdb.python/py-unwind-maint.py: New file.
7313 * gdb.python/py-unwind.c: New file.
7314 * gdb.python/py-unwind.exp: New test.
7315 * gdb.python/py-unwind.py: New test.
7317 2015-04-01 Pedro Alves <palves@redhat.com>
7319 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
7320 to fail instead of non-existent $test.
7322 2015-04-01 Pedro Alves <palves@redhat.com>
7324 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
7325 GDBFLAGS if not empty.
7327 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
7329 * gdb.ada/complete.exp: Remove "multi_line".
7330 * gdb.ada/info_exc.exp: Remove "multi_line".
7331 * gdb.ada/packed_tagged.exp: Remove "multi_line".
7332 * gdb.ada/ptype_field.exp: Remove "multi_line".
7333 * gdb.ada/sym_print_name.exp: Remove "multi_line".
7334 * gdb.ada/tagged.exp: Remove "multi_line".
7335 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
7337 * gdb.btrace/delta.exp: Likewise.
7338 * gdb.btrace/exception.exp: Likewise.
7339 * gdb.btrace/function_call_history.exp: Likewise.
7340 * gdb.btrace/instruction_history.exp: Likewise.
7341 * gdb.btrace/nohist.exp: Likewise.
7342 * gdb.btrace/record_goto.exp: Likewise.
7343 * gdb.btrace/segv.exp: Likewise.
7344 * gdb.btrace/stepi.exp: Likewise.
7345 * gdb.btrace/tailcall.exp: Likewise.
7346 * gdb.btrace/unknown_functions.exp: Likewise.
7347 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
7348 * lib/gdb.exp: Add the "multi_line" helper.
7350 2015-04-01 Pedro Alves <palves@redhat.com>
7352 * gdb.threads/tid-reuse.c: New file.
7353 * gdb.threads/tid-reuse.exp: New file.
7355 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
7358 * gdb.base/coredump-filter.c: New file.
7359 * gdb.base/coredump-filter.exp: Likewise.
7361 2015-03-27 Petr Machata <pmachata@redhat.com>
7363 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
7364 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
7365 (Dwarf::assemble): Initialize them.
7366 (Dwarf::lines): New function.
7368 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
7370 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
7371 SYMBOL_PREFIX for x86_64-*-cygwin.
7373 2015-03-26 Andy Wingo <wingo@igalia.com>
7376 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
7377 const_value but not a location.
7378 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
7379 location defined in non-main CUs are visible.
7381 2015-03-26 Yao Qi <yao.qi@linaro.org>
7384 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
7385 Add a line number entry for the same line.
7386 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
7387 Add a line number entry for the same line.
7389 2015-03-26 Yao Qi <yao.qi@linaro.org>
7391 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
7393 (func): Likewise. Add .Lfunc_1 label.
7395 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
7400 2015-03-26 Yao Qi <yao.qi@linaro.org>
7402 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
7403 Call gdb_compile instead to compile each .s files without debug
7406 2015-03-26 Yao Qi <yao.qi@linaro.org>
7408 * gdb.base/savedregs.exp (process_saved_regs): Make
7409 "Saved registers:" optional in the pattern.
7411 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7413 * gdb.btrace/next.exp: Merged into step.exp.
7414 * gdb.btrace/finish.exp: Merged into step.exp.
7415 * gdb.btrace/nexti.exp: Merged into stepi.exp.
7416 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
7417 "record goto" and checking the exact replay position.
7418 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
7419 check for "Recording format" in "info record" output.
7420 * gdb.btrace/record_goto.exp: Choose test file based on target.
7421 * gdb.btrace/x86-record_goto.S: Renamed into ...
7422 * gdb.btrace/x86_64-record_goto.S: ... this.
7423 * gdb.btrace/i686-record_goto.S: New.
7424 * gdb.btrace/x86-tailcall.S: Renamed into ...
7425 * gdb.btrace/x86_64-tailcall.S: ... this.
7426 * gdb.btrace/i686-tailcall.S: New.
7427 * gdb.btrace/x86-tailcall.c: Renamed into ...
7428 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
7429 separate statements. Update test.
7430 * gdb.btrace/delta.exp: Use record_goto.c as test file.
7431 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
7432 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
7433 * gdb.btrace/tailcall.exp: Choose test file based on target.
7434 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
7436 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7438 * gdb.btrace/exception.exp: Increase BTS buffer size.
7440 2015-03-24 Pedro Alves <palves@redhat.com>
7442 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
7444 2015-03-24 Pedro Alves <palves@redhat.com>
7446 * gdb.threads/schedlock.exp (test_step): No longer expect that
7447 "set scheduler-locking step" with "next" over a function call runs
7450 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7452 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
7454 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7456 PR breakpoints/16466
7457 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
7458 * gdb.mi/mi-pending.c (thread_func): New function.
7459 (int main): Add threading support required.
7460 * gdb.mi/mi-pending.exp: Add tests for this issue.
7461 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
7462 (pendfunc2): Remove stdio dependency.
7463 * gdb.mi/mi-pendshr2.c: New file.
7465 2015-03-23 Keith Seitz <keiths@redhat.com>
7467 * gdb.linespec/keywords.c: New file.
7468 * gdb.linespec/keywords.exp: New file.
7470 2015-03-23 Keith Seitz <keiths@redhat.com>
7473 * gdb.dwarf2/staticvirtual.exp: New test.
7475 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7477 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
7478 * README: Remove HP-UX and gdb.hp.
7480 * configure: Regenerate.
7481 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
7482 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
7483 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
7484 gdb.hp/gdb.defects/Makefile.
7485 * gdb.hp/Makefile.in: File deleted.
7486 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
7487 * gdb.hp/gdb.aCC/optimize.c: File deleted.
7488 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
7489 * gdb.hp/gdb.aCC/run.c: File deleted.
7490 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
7491 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
7492 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
7493 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
7494 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
7495 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
7496 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
7497 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
7498 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
7499 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
7500 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
7501 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
7502 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
7503 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
7504 * gdb.hp/gdb.base-hp/reg.s: File deleted.
7505 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
7506 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
7507 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
7508 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
7509 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
7510 * gdb.hp/gdb.compat/Makefile.in: File deleted.
7511 * gdb.hp/gdb.compat/average.c: File deleted.
7512 * gdb.hp/gdb.compat/sum.c: File deleted.
7513 * gdb.hp/gdb.compat/xdb.c: File deleted.
7514 * gdb.hp/gdb.compat/xdb0.c: File deleted.
7515 * gdb.hp/gdb.compat/xdb0.h: File deleted.
7516 * gdb.hp/gdb.compat/xdb1.c: File deleted.
7517 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
7518 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
7519 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
7520 * gdb.hp/gdb.defects/Makefile.in: File deleted.
7521 * gdb.hp/gdb.defects/bs14602.c: File deleted.
7522 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
7523 * gdb.hp/gdb.defects/solib-d.c: File deleted.
7524 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
7525 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
7526 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
7527 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
7528 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
7529 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
7530 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
7531 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
7532 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
7533 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
7534 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
7535 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
7536 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
7537 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
7538 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
7539 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
7540 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
7541 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
7542 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
7543 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
7544 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
7545 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
7546 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
7547 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
7548 * gdb.hp/tools/odump: File deleted.
7550 2015-03-19 Pedro Alves <palves@redhat.com>
7552 * gdb.threads/continue-pending-status.exp (saw_thread_2)
7553 (saw_thread_3): New globals.
7554 (top level): Increment them when an event for the corresponding
7556 (no thread starvation): New test.
7558 2015-03-19 Pedro Alves <palves@redhat.com>
7560 * gdb.threads/continue-pending-status.c: New file.
7561 * gdb.threads/continue-pending-status.exp: New file.
7563 2015-03-18 Pedro Alves <palves@redhat.com>
7565 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7566 Use gdb_is_target_remote instead of is_remote. Use
7567 gdb_test_multiple instead of gdb_expect. Exit early if
7568 gdb_test_multiple hits its internal matches. Tighten stepi tests
7569 expected output. Fail on exit with any signal, instead of just
7572 2015-03-18 Yao Qi <yao.qi@linaro.org>
7575 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
7577 * gdb.base/catch-syscall.exp: Don't skip it on
7578 aarch64*-*-linux* target. Remove elements in all_syscalls.
7579 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
7581 (setup_all_syscalls): New proc.
7583 2015-03-16 Yao Qi <yao.qi@linaro.org>
7585 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
7586 (top level): Skip tests if valid_addr_p returns false for
7589 2015-03-11 Andy Wingo <wingo@igalia.com>
7591 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
7593 2015-03-11 Yao Qi <yao.qi@linaro.org>
7595 * gdb.base/catch-syscall.exp: Fix typo in comments.
7597 2015-03-11 Yao Qi <yao.qi@linaro.org>
7599 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
7601 2015-03-09 Pedro Alves <palves@redhat.com>
7603 * dg-extract-results.py: Delete.
7605 2015-03-09 Pedro Alves <palves@redhat.com>
7607 Merge dg-extract-results.sh from GCC upstream (r218843).
7609 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
7610 * dg-extract-results.sh: Use --text with grep to avoid issues with
7611 binary files. Fall back to cat -v, if that doesn't work.
7613 2015-03-05 Pedro Alves <palves@redhat.com>
7615 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
7617 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
7619 * lib/mi-support.exp (mi_expect_interrupt): Accept
7620 alternative event for when in all-stop mode.
7622 2015-03-04 Pedro Alves <palves@redhat.com>
7624 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
7626 2015-03-04 Mark Kettenis <kettenis@gnu.org>
7628 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
7630 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7632 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
7633 regexps for GDB's current line display, accept a hex address
7634 preceding the line number.
7636 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7638 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
7639 the 'arch1' variable for "s390*-linux*" targets.
7641 2015-03-04 Pedro Alves <palves@redhat.com>
7643 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
7644 (main): Pass missing retval argument to pthread_join call.
7646 2015-03-02 Pedro Alves <palves@redhat.com>
7648 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
7649 (top level): Call do_test with non-stop as well.
7651 2015-03-02 Pedro Alves <palves@redhat.com>
7653 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
7656 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7658 * gdb.arch/s390-vregs.exp: New test.
7659 * gdb.arch/s390-vregs.S: New file.
7661 2015-02-27 Pedro Alves <palves@redhat.com>
7663 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
7664 call to catch_command_errors.
7665 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
7666 catch_command_errors.
7668 2015-02-27 Pedro Alves <palves@redhat.com>
7670 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
7671 "true" for boolean result.
7672 * gdb.gdb/selftest.exp (test_with_self): Also accept full
7675 2015-02-27 Pedro Alves <palves@redhat.com>
7677 * lib/unbuffer_output.c: New file.
7678 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
7679 (main): Call gdb_unbuffer_output.
7681 2015-02-27 Yao Qi <yao.qi@linaro.org>
7683 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
7686 2015-02-26 Doug Evans <dje@google.com>
7688 * gdb.cp/class2.cc (Dbase, D): New classes.
7689 (main): New local delta.
7690 * gdb.cp/class2.exp: Test printing delta.
7691 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
7692 (dynbar): New global.
7693 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
7695 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7697 * gdb.compile/compile-ifunc.c: New file.
7698 * gdb.compile/compile-ifunc.exp: New file.
7700 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
7702 * gdb.base/structs.exp: Check for correct struct on finish.
7704 2015-02-26 Yao Qi <yao.qi@linaro.org>
7706 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
7709 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7711 * gdb.arch/cordic.ko.bz2: New file.
7712 * gdb.arch/cordic.ko.debug.bz2: New file.
7713 * gdb.arch/ppc64-symtab-cordic.exp: New file.
7715 2015-02-25 Yao Qi <yao.qi@linaro.org>
7717 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
7718 aarch64*-*-* target.
7720 2015-02-23 Pedro Alves <palves@redhat.com>
7722 * lib/gdb.exp (delete_breakpoints): Rewrite using
7725 2015-02-23 Pedro Alves <palves@redhat.com>
7727 * gdb.base/info-os.c: Include stdlib.h.
7729 2015-02-22 Doug Evans <xdje42@gmail.com>
7732 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
7733 is read after symbols have been re-read.
7734 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
7735 * gdb.ada/exec_changed/second.adb (Second): Ditto.
7737 2015-02-21 Doug Evans <dje@google.com>
7739 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
7741 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7744 * gdb.arch/i386-biarch-core.core.bz2: New file.
7745 * gdb.arch/i386-biarch-core.exp: New file.
7747 2015-02-21 Pedro Alves <palves@redhat.com>
7749 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
7752 2015-02-20 Pedro Alves <palves@redhat.com>
7754 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
7757 2015-02-20 Pedro Alves <palves@redhat.com>
7759 * gdb.threads/multi-create-ns-info-thr.exp: New file.
7761 2015-02-20 Pedro Alves <palves@redhat.com>
7763 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
7764 clean_restart before gdb_target_supports_trace.
7766 2015-02-20 Pedro Alves <palves@redhat.com>
7769 * gdb.threads/clone-thread_db.c: New file.
7770 * gdb.threads/clone-thread_db.exp: New file.
7772 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
7774 PR breakpoints/16812
7775 * gdb.base/catch-gdb-caused-signals.c: New file.
7776 * gdb.base/catch-gdb-caused-signals.exp: New file.
7778 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
7780 * configure: Regenerated.
7781 * configure.ac: Use GDB_AC_TRANSFORM.
7782 * aclocal.m4: sinclude ../transform.m4.
7784 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7786 * lib/dtrace.exp: New file.
7787 * gdb.base/dtrace-probe.exp: Likewise.
7788 * gdb.base/dtrace-probe.d: Likewise.
7789 * gdb.base/dtrace-probe.c: Likewise.
7790 * lib/pdtrace.in: Likewise.
7791 * configure.ac: Output variables with the transformed names of
7792 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7793 * configure: Regenerated.
7795 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7797 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7798 expected message when trying to access $_probe_* convenience
7799 variables while not on a probe.
7801 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7803 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7805 2015-02-11 Pedro Alves <pedro@codesourcery.com>
7807 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7808 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7810 2015-02-10 Doug Evans <xdje42@gmail.com>
7812 * lib/gdb.exp (gdb_load): Always return a result.
7814 2015-02-10 Pedro Alves <palves@redhat.com>
7816 * gdb.threads/signal-sigtrap.c: New file.
7817 * gdb.threads/signal-sigtrap.exp: New file.
7819 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7821 * gdb.trace/no-attach-trace.c: New file.
7822 * gdb.trace/no-attach-trace.exp: New file.
7824 2015-02-09 Mark Wielaard <mjw@redhat.com>
7826 * gdb.dwarf2/atomic.c: New file.
7827 * gdb.dwarf2/atomic-type.exp: Likewise.
7829 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7831 * gdb.btrace/buffer-size.exp: Update "info record" output.
7832 * gdb.btrace/delta.exp: Update "info record" output.
7833 * gdb.btrace/enable.exp: Update "info record" output.
7834 * gdb.btrace/finish.exp: Update "info record" output.
7835 * gdb.btrace/instruction_history.exp: Update "info record" output.
7836 * gdb.btrace/next.exp: Update "info record" output.
7837 * gdb.btrace/nexti.exp: Update "info record" output.
7838 * gdb.btrace/step.exp: Update "info record" output.
7839 * gdb.btrace/stepi.exp: Update "info record" output.
7840 * gdb.btrace/nohist.exp: Update "info record" output.
7842 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7844 * gdb.btrace/buffer-size: New.
7846 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7848 * gdb.btrace/delta.exp: Update "info record" output.
7849 * gdb.btrace/enable.exp: Update "info record" output.
7850 * gdb.btrace/finish.exp: Update "info record" output.
7851 * gdb.btrace/instruction_history.exp: Update "info record" output.
7852 * gdb.btrace/next.exp: Update "info record" output.
7853 * gdb.btrace/nexti.exp: Update "info record" output.
7854 * gdb.btrace/step.exp: Update "info record" output.
7855 * gdb.btrace/stepi.exp: Update "info record" output.
7856 * gdb.btrace/nohist.exp: Update "info record" output.
7858 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7861 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7863 2015-02-06 Pedro Alves <palves@redhat.com>
7865 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7867 (seconds_left, again): New globals.
7868 (main): Wait seconds_left in a 1-second sleep loop instead of
7869 sleeping 180 seconds. If 'again' is set, reset the seconds
7871 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7872 'again' in the inferior before detaching. Print the seconds left.
7873 (options): New global.
7874 (top level): Build program with -DTIMEOUT=$timeout.
7876 2015-02-06 Pedro Alves <palves@redhat.com>
7878 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
7879 determine how many seconds to pass to 'alarm'.
7880 * gdb.base/gdb-sigterm.exp (top level): Build program with
7882 (do_test): Return success/failure indication. Add more verbose
7883 logging. Don't fail if 200 single steps are seen. Instead, fail
7884 when the test times out.
7885 (passes): New global.
7886 (top level): Break the testing loop if testing fails on any
7887 iteration. Use gdb_assert.
7889 2015-02-04 Don Breazeal <donb@codesourcery.com>
7891 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
7892 and initialize them.
7893 (ipc_cleanup): New function.
7894 (main): Don't declare shmid, semid, and msqid. Add a call to
7895 atexit so that we call ipc_cleanup on exit.
7897 2015-02-04 Pedro Alves <palves@redhat.com>
7899 * boards/native-extended-gdbserver.exp: Remove any target variant
7900 specifications from the board name before clearing the isremote
7901 flag from board_info.
7903 2015-01-31 Doug Evans <xdje42@gmail.com>
7905 * gdb.base/maint.exp <maint print type argc>: Update expected output.
7907 2015-01-31 Gary Benson <gbenson@redhat.com>
7909 * gdb.base/completion.exp: Disable completion limiting for
7910 existing tests. Add new tests to check completion limiting.
7911 * gdb.linespec/ls-errs.exp: Disable completion limiting.
7913 2015-01-31 Doug Evans <xdje42@gmail.com>
7915 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
7917 2015-01-31 Doug Evans <xdje42@gmail.com>
7919 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
7920 entries. Duplicate file section script entries.
7921 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
7922 inlined entries. Add test for safe-path rejection.
7923 * gdb.python/py-section-script.c: Add duplicate inlined section script
7924 entries. Duplicate file section script entries.
7925 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
7926 inlined entries. Add test for safe-path rejection.
7928 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7930 * gdb.ada/disc_arr_bound: New testcase.
7932 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7934 * gdb.ada/mi_var_array: New testcase.
7936 2015-01-27 Doug Evans <dje@google.com>
7938 * gdb.python/py-objfile.exp: Add tests for objfile.username.
7939 Add test for objfile.filename, objfile.username after objfile
7942 2015-01-26 Joel Brobecker <brobecker@adacore.com>
7944 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
7945 the second test to print the name attribute of value
7946 returned by the call to gdb.lookup_type, and adjust
7947 the expected output accordingly.
7949 2015-01-25 Mark Wielaard <mjw@redhat.com>
7951 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
7952 * gdb.base/disp-step-fork.c: Include unistd.h.
7953 * gdb.base/siginfo-obj.c: Include stdio.h.
7954 * gdb.base/siginfo-thread.c: Likewise.
7955 * gdb.mi/non-stop.c: Include unistd.h.
7956 * gdb.mi/nsthrexec.c: Include stdio.h.
7957 * gdb.mi/pthreads.c: Include unistd.h.
7958 * gdb.modula2/unbounded1.c (main): Declare returns int.
7959 * gdb.reverse/consecutive-reverse.c: Likewise.
7960 * gdb.threads/create-fail.c: Include unistd.h.
7961 * gdb.threads/killed.c: Likewise.
7962 * gdb.threads/linux-dp.c: Likewise.
7963 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
7964 * gdb.threads/non-ldr-exc-2.c: Likewise.
7965 * gdb.threads/non-ldr-exc-3.c: Likewise.
7966 * gdb.threads/non-ldr-exc-4.c: Likewise.
7967 * gdb.threads/pthreads.c: Include unistd.h.
7968 (main): Declare returns int.
7969 * gdb.threads/tls-main.c (foo): New declaration.
7970 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
7972 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
7974 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
7975 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
7977 2015-01-15 Mark Wielaard <mjw@redhat.com>
7979 * gdb.base/noreturn-return.c: New file.
7980 * gdb.base/noreturn-return.exp: New file.
7981 * gdb.base/noreturn-finish.c: New file.
7982 * gdb.base/noreturn-finish.exp: New file.
7984 2015-01-23 Pedro Alves <palves@redhat.com>
7986 * gdb.threads/continue-pending-after-query.c: New file.
7987 * gdb.threads/continue-pending-after-query.exp: New file.
7989 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
7990 Simon Marchi <simon.marchi@ericsson.com>
7992 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
7993 * gdb.base/valgrind-db-attach.exp: Same.
7994 * gdb.base/valgrind-infcall.exp: Same.
7995 * lib/mi-support.exp (default_mi_gdb_start): Same.
7996 * lib/prompt.exp (default_prompt_gdb_start): Same.
7997 * lib/gdb.exp (default_gdb_spawn): Same.
7998 (gdb_interact): New.
8001 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8003 * gdb.compile/compile.exp (pointer to jit function): New test.
8005 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
8007 * lib/gdb.exp (supports_process_record): Return true for
8009 (supports_reverse): Likewise.
8011 2015-01-15 Don Breazeal <donb@codesourcery.com>
8013 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
8014 instead of checking whether the target board is remote and
8015 use spawn_wait_for_attach instead of exec/sleep.
8016 * gdb.base/attach-twice.exp: Likewise.
8018 2015-01-15 Joel Brobecker <brobecker@adacore.com>
8020 * gdb.ada/var_arr_attrs: New testcase.
8022 2015-01-14 Pedro Alves <palves@redhat.com>
8023 Joel Brobecker <brobecker@adacore.com>
8026 * gdb.base/bp-cmds-execution-x-script.c: New file.
8027 * gdb.base/bp-cmds-execution-x-script.exp: New file.
8028 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
8030 2015-01-14 Pedro Alves <palves@redhat.com>
8033 * gdb.base/batch-preserve-term-settings.c: New file.
8034 * gdb.base/batch-preserve-term-settings.exp: New file.
8036 2015-01-13 Doug Evans <dje@google.com>
8038 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
8041 2015-01-13 Joel Brobecker <brobecker@adacore.com>
8043 * Makefile.in (clean mostlyclean): Do not delete *.py.
8045 2015-01-13 Joel Brobecker <brobecker@adacore.com>
8047 * gdb.python/py-lookup-type.exp: New file.
8049 2015-01-12 Pedro Alves <palves@redhat.com>
8051 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
8052 restore GDBFLAGS before returning.
8054 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8056 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
8057 is_amd64_regs_target and is_x86_like_target.
8059 2015-01-11 Doug Evans <xdje42@gmail.com>
8061 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
8062 is given without an explicit form.
8063 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
8065 * gdb.dwarf/corrupt.exp: Ditto.
8066 * gdb.dwarf2/enum-type.exp: Ditto.
8067 * gdb.trace/entry-values.exp: Ditto.
8068 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
8070 2015-01-11 Doug Evans <xdje42@gmail.com>
8073 * gdb.base/maint.exp: Remove references to "maint demangle".
8074 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
8075 Add tests for explicitly specifying language to demangle.
8076 * gdb.dlang/demangle.exp: Ditto.
8078 2015-01-09 Pedro Alves <palves@redhat.com>
8080 * gdb.threads/non-stop-fair-events.c: New file.
8081 * gdb.threads/non-stop-fair-events.exp: New file.
8083 2015-01-09 Pedro Alves <palves@redhat.com>
8085 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
8086 the global scope. Set a breakpoint after all threads are started
8087 rather than stepping over two source lines. Expect the prompt.
8088 * gdb.base/watch_thread_num.c (threads_started_barrier): New
8091 (main): Use threads_started_barrier to wait for all threads to
8092 start. Main thread no longer calls thread_function. Exit after
8094 (loop): New function.
8095 (thread_function): Wait on threads_started_barrier barrier. Call
8096 'loop' at each iteration.
8097 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
8098 threads have started, instead of hardcoding number of "next"
8099 steps. Use an access watchpoint instead of a write watchpoint.
8101 2015-01-09 Pedro Alves <palves@redhat.com>
8103 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
8104 (thread_func): Wait on barrier.
8105 (main): Wait for all threads to start before stopping GDB.
8106 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
8108 (thread1_func, thread2_func): Wait on barrier.
8109 (main): Wait for all threads to start before stopping GDB.
8110 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
8112 (thread1_func, thread2_func): Wait on barrier.
8113 (main): Wait for all threads to start before stopping GDB.
8115 2015-01-09 Pedro Alves <palves@redhat.com>
8117 * gdb.threads/attach-many-short-lived-threads.c: New file.
8118 * gdb.threads/attach-many-short-lived-threads.exp: New file.
8120 2014-01-09 Pedro Alves <palves@redhat.com>
8122 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
8123 instead of to thread 2.
8124 * gdb.threads/signal-command-multiple-signals-pending.c (main):
8125 Add barrier around each pthread_create call instead of around all
8127 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
8128 Set a break on thread_function and have the child threads hit it
8131 2015-01-09 Pedro Alves <palves@redhat.com>
8133 * lib/gdb.exp (can_spawn_for_attach): New procedure.
8134 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
8136 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
8137 checking whether the target board is remote.
8138 * gdb.multi/multi-attach.exp: Likewise.
8139 * gdb.python/py-sync-interp.exp: Likewise.
8140 * gdb.server/ext-attach.exp: Likewise.
8141 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
8142 tests that need to attach, instead of checking whether the target
8143 board is remote at the top of the file.
8145 2015-01-08 Yao Qi <yao@codesourcery.com>
8147 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
8149 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8151 Fix testcase compilation.
8152 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
8154 2015-01-06 Joel Brobecker <brobecker@adacore.com>
8156 * gdb.python/py-type.exp: Add a couple test about empty
8157 array creation, and negative-length array creation.
8159 2015-01-02 Doug Evans <xdje42@gmail.com>
8161 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
8163 2015-01-02 Doug Evans <dje@google.com>
8165 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
8167 2014-12-29 Yao Qi <yao@codesourcery.com>
8169 * gdb.trace/entry-values.exp: Update comments. Rename variable
8170 bar_call_foo to returned_from_foo.
8172 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
8175 * gdb.linespec/break-asm-file.c: New file.
8176 * gdb.linespec/break-asm-file.exp: New file.
8177 * gdb.linespec/break-asm-file0.s: New file.
8178 * gdb.linespec/break-asm-file1.s: New file.
8180 2014-12-18 Nigel Stephens <nigel@mips.com>
8181 Maciej W. Rozycki <macro@codesourcery.com>
8183 * gdb.base/float.exp: Handle the new output from "info float" on
8186 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8188 Fix MinGW compilation.
8189 * gdb.compile/compile-ops.exp: Update untested message if
8190 !skip_compile_feature_tests.
8191 * gdb.compile/compile-setjmp.exp: Likewise.
8192 * gdb.compile/compile-tls.exp: Likewise.
8193 * gdb.compile/compile.exp: Likewise.
8194 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
8195 supported on this host".
8197 2014-12-16 Doug Evans <xdje42@gmail.com>
8199 * boards/stabs.exp: New file.
8201 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
8203 * gdb.base/completion.exp: Adjust to format changes of "maint
8204 print user-registers".
8206 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
8209 * gdb.arch/aarch64-fp.c: New file.
8210 * gdb.arch/aarch64-fp.exp: New file.
8212 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8214 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
8215 r210637, r210913, r211666, r215400, r215817).
8217 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
8218 * dg-extract-results.py: New file.
8219 * dg-extract-results.sh: Use it if the environment seems
8222 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
8224 * dg-extract-results.py (parse_run): Handle warnings that
8225 are printed before a test harness is run.
8227 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
8229 * dg-extract-results.py (Named): Remove __cmp__ method.
8230 (output_variation): Use a key to sort variation.harnesses.
8232 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
8234 * dg-extract-results.py: For Python 3, force sys.stdout to
8235 handle surrogate escape sequences.
8236 (safe_open): New function.
8237 (output_segment, main): Use it.
8239 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
8241 * dg-extract-results.py (Prog.result_re): Include options
8244 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
8246 * dg-extract-results.py (output_variation): Always sort if
8249 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
8251 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
8252 as long as we get pagination notifications.
8254 2014-12-15 Jason Merrill <jason@redhat.com>
8256 * Makefile.in (check-gdb.%): Restore.
8257 * README: Mention it.
8259 2014-12-13 Joel Brobecker <brobecker@adacore.com>
8261 * gdb.ada/str_uninit: New testcase.
8263 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8266 * gdb.base/vla-stub-define.c: New file.
8267 * gdb.base/vla-stub.c: New file.
8268 * gdb.base/vla-stub.exp: New file.
8270 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
8271 Jan Kratochvil <jan.kratochvil@redhat.com>
8272 Tom Tromey <tromey@redhat.com>
8274 * configure.ac: Add gdb.compile/.
8275 * configure: Regenerate.
8276 * gdb.compile/Makefile.in: New file.
8277 * gdb.compile/compile-ops.exp: New file.
8278 * gdb.compile/compile-ops.c: New file.
8279 * gdb.compile/compile-tls.c: New file.
8280 * gdb.compile/compile-tls.exp: New file.
8281 * gdb.compile/compile-constvar.S: New file.
8282 * gdb.compile/compile-constvar.c: New file.
8283 * gdb.compile/compile-mod.c: New file.
8284 * gdb.compile/compile-nodebug.c: New file.
8285 * gdb.compile/compile-setjmp-mod.c: New file.
8286 * gdb.compile/compile-setjmp.c: New file.
8287 * gdb.compile/compile-setjmp.exp: New file.
8288 * gdb.compile/compile-shlib.c: New file.
8289 * gdb.compile/compile.c: New file.
8290 * gdb.compile/compile.exp: New file.
8291 * lib/gdb.exp (skip_compile_feature_tests): New proc.
8293 2014-12-12 Tom Tromey <tromey@redhat.com>
8295 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
8296 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
8298 2014-12-12 Doug Evans <dje@google.com>
8300 * lib/gdb-python.exp (get_python_valueof): New function.
8301 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
8303 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8305 * gdb.base/completion.exp: Add test for completion of "info
8308 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
8310 * gdb.base/func-ptrs.c: New file.
8311 * gdb.base/func-ptrs.exp: New file.
8313 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8315 PR breakpoints/17012
8316 * gdb.base/dprintf-detach.c: New file.
8317 * gdb.base/dprintf-detach.exp: New file.
8319 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8321 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
8322 * lib/gdb.exp (target_is_gdbserver): New procedure.
8324 2014-12-08 Doug Evans <dje@google.com>
8326 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
8328 2014-12-05 Yao Qi <yao@codesourcery.com>
8330 * gdb.guile/scm-error.exp: Remove the third argument to
8331 gdb_remote_download.
8332 * gdb.guile/scm-frame-args.exp: Likewise.
8333 * gdb.guile/scm-section-script.exp: Likewise.
8335 2014-12-05 Yao Qi <yao@codesourcery.com>
8337 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
8339 2014-12-04 Doug Evans <dje@google.com>
8341 * gdb.python/py-objfile.exp: Add tests for
8342 objfile.add_separate_debug_file.
8344 2014-12-04 Doug Evans <dje@google.com>
8346 * lib/gdb.exp (get_build_id): New function.
8347 (build_id_debug_filename_get): Rewrite to use it.
8348 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
8350 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
8352 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
8353 `method(long)', not just 0x0.
8354 * gdb.cp/nsalias.exp: Align code labels to 4.
8355 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
8356 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
8357 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
8358 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
8359 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
8360 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
8362 2014-12-02 Doug Evans <dje@google.com>
8365 * gdb.cp/anon-ns.cc: Move guts of this file to ...
8366 * gdb.cp/anon-ns2.cc: ... here. New file.
8367 * gdb.cp/anon-ns.exp: Update.
8369 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
8371 * gdb.python/py-events.py (inferior_call_handler): New.
8372 (register_changed_handler, memory_changed_handler): New.
8373 (test_events.invoke): Register new handlers.
8374 * gdb.python/py-events.exp: Add tests for inferior call,
8375 memory_changed and register_changed events.
8377 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
8379 * gdb.base/execl-update-breakpoints.exp: Specify the link address
8380 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
8381 if the linker doesn't understand this.
8383 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
8385 * gdb.python/python.exp: Change expected reply to help().
8387 2014-12-01 Yao Qi <yao@codesourcery.com>
8389 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
8390 AC_CONFIG_SUBDIRS(gdb.gdbtk).
8391 * configure: Re-generated.
8393 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
8395 * gdb.cp/chained-calls.cc: New file.
8396 * gdb.cp/chained-calls.exp: New file.
8397 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
8399 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
8401 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
8402 * gdb.dwarf2/symtab-producer.exp: Same.
8403 * gdb.gdb/python-interrupts.exp: Same.
8404 * gdb.gdb/python-selftest.exp: Same.
8405 * gdb.python/py-linetable.exp: Same.
8406 * gdb.python/py-type.exp: Same.
8407 * gdb.python/py-value-cc.exp: Same.
8408 * gdb.python/py-value.exp: Same.
8410 2014-11-28 Yao Qi <yao@codesourcery.com>
8412 * gdb.base/break-probes.exp: Match library name prefixed with
8415 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
8417 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
8418 test expected output. Add parentheses for the call to print.
8419 Remove L suffix from integers.
8421 2014-11-26 Doug Evans <dje@google.com>
8423 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
8425 2014-11-22 Yao Qi <yao@codesourcery.com>
8427 * gdb.trace/entry-values.c: Remove asms.
8428 (foo): Add foo_label.
8429 (bar): Add bar_label.
8430 * gdb.trace/entry-values.exp: Remove code computing foo's
8431 length and bar's length.
8432 (Dwarf::assemble): Invoke function_range for bar and use
8433 MACRO_AT_func for foo.
8435 2014-11-22 Yao Qi <yao@codesourcery.com>
8437 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
8438 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
8439 Use .Lgcc43_procstart instead of gcc43.
8441 2014-11-21 Joel Brobecker <brobecker@adacore.com>
8443 * gdb.ada/n_arr_bound: New testcase.
8445 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
8447 PR breakpoints/10737
8448 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
8449 test_catch_syscall_multi_arch.
8450 (test_catch_syscall_multi_arch): New function.
8452 2014-11-20 Doug Evans <xdje42@gmail.com>
8454 * gdb.base/maint.exp: Update expected output.
8456 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8458 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
8459 4-byte instruction on S390.
8461 2014-11-19 Joel Brobecker <brobecker@adacore.com>
8463 * gdb.ada/arr_arr: New testcase.
8465 2014-11-19 Joel Brobecker <brobecker@adacore.com>
8467 * gdb.ada/pkd_arr_elem: New Testcase.
8469 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
8471 * gdb.reverse/break-precsave: Expect completion message for
8473 * gdb.reverse/consecutive-precsave.exp: Likewise.
8474 * gdb.reverse/finish-precsave.exp: Likewise.
8475 * gdb.reverse/i386-precsave.exp: Likewise.
8476 * gdb.reverse/machinestate-precsave.exp: Likewise.
8477 * gdb.reverse/sigall-precsave.exp: Likewise.
8478 * gdb.reverse/solib-precsave.exp: Likewise.
8479 * gdb.reverse/step-precsave.exp: Likewise.
8480 * gdb.reverse/until-precsave.exp: Likewise.
8481 * gdb.reverse/watch-precsave.exp: Likewise.
8483 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8485 * gdb.base/bp-permanent.c: Include unistd.h.
8486 * gdb.python/py-framefilter-mi.c (main): Add return type.
8487 * gdb.python/py-framefilter.c (main): Likewise.
8488 * gdb.trace/actions-changed.c (main): Likewise.
8490 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8492 * gdb.mi/until.c: Add eye-catchers.
8493 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
8496 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8498 * gdb.base/condbreak.exp: Drop references to removed non-prototype
8499 function header variants in break1.c.
8500 * gdb.base/ena-dis-br.exp: Likewise.
8501 * gdb.base/hbreak2.exp: Likewise.
8502 * gdb.reverse/until-precsave.exp: Drop references to removed
8503 non-prototype function header variants in ur1.c.
8504 * gdb.reverse/until-reverse.exp: Likewise.
8506 2014-11-17 Petr Machata <pmachata@redhat.com>
8508 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
8509 ${_cu_offset_size} bytes abbrev offset.
8511 2014-11-15 Doug Evans <xdje42@gmail.com>
8514 * gdb.base/line-symtabs.exp: New file.
8515 * gdb.base/line-symtabs.c: New file.
8516 * gdb.base/line-symtabs.h: New file.
8518 2014-11-14 Yao Qi <yao@codesourcery.com>
8520 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
8521 (func): Add label func_label.
8522 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
8523 Replace low_pc and high_pc with MACRO_AT_range.
8524 Replace name, low_pc and high_pc with MACRO_AT_func.
8526 2014-11-14 Yao Qi <yao@codesourcery.com>
8528 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
8529 Replace name, low_pc and high_pc with MACRO_AT_func.
8531 2014-11-14 Yao Qi <yao@codesourcery.com>
8533 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
8534 produce debug information.
8535 * gdb.dwarf2/implptr-optimized-out.S: Removed.
8537 2014-11-14 Yao Qi <yao@codesourcery.com>
8539 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
8540 object and get function length.
8541 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
8543 (top-level): Replace gdb_compile and clean_restart with
8544 prepare_for_testing.
8545 * gdb.dwarf2/main.c (main): Add label main_label.
8547 2014-11-14 Yao Qi <yao@codesourcery.com>
8549 * lib/dwarf.exp (function_range): New procedure.
8550 (Dwarf::_handle_macro_at_func): New procedure.
8551 (Dwarf::_handle_macro_at_range): New procedure.
8552 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
8554 2014-11-14 Yao Qi <yao@codesourcery.com>
8556 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
8557 (_handle_attribute): New procedure.
8559 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8561 * gdb.ada/cond_lang/foo.c (callme): Add return type.
8562 * gdb.base/call-sc.c (zed): Likewise.
8563 * gdb.base/checkpoint.c (main): Likewise.
8564 * gdb.base/dump.c (main): Likewise.
8565 * gdb.base/gcore.c (main): Likewise.
8566 * gdb.base/huge.c (main): Likewise.
8567 * gdb.base/multi-forks.c (main): Likewise.
8568 * gdb.base/pr10179-a.c (main): Likewise.
8569 * gdb.base/savedregs.c (main): Likewise.
8570 * gdb.base/sigaltstack.c (main): Likewise.
8571 * gdb.base/siginfo.c (main): Likewise.
8572 * gdb.base/structs.c (zed): Likewise.
8573 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
8574 * gdb.mi/mi-syn-frame.c (main): Likewise.
8575 * gdb.mi/until.c (foo, main): Likewise.
8576 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
8577 * gdb.base/solib-weak.c (foo): Declare.
8578 * gdb.base/attach-twice.c: Include stdio.h.
8579 * gdb.base/weaklib1.c: Likewise.
8580 * gdb.base/weaklib2.c: Likewise.
8581 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
8582 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
8584 * gdb.base/attach-pie-misread.c: Include stdlib.h.
8585 * gdb.mi/mi-exit-code.c: Likewise.
8586 * gdb.base/break-interp-lib.c: Include string.h.
8587 * gdb.base/coremaker.c: Likewise.
8588 * gdb.base/testenv.c: Likewise.
8589 * gdb.python/py-finish-breakpoint.c: Likewise.
8590 * gdb.base/inferior-died.c: Include sys/wait.h.
8591 * gdb.base/fileio.c: Include time.h.
8592 * gdb.base/async-shell.c: Include unistd.h.
8593 * gdb.base/dprintf-non-stop.c: Likewise.
8594 * gdb.base/info-os.c: Likewise.
8595 * gdb.mi/mi-console.c: Likewise.
8596 * gdb.mi/watch-nonstop.c: Likewise.
8597 * gdb.python/py-events.c: Likewise.
8598 * gdb.base/async.c (baz): Move up before its invocation.
8599 * gdb.base/code_elim2.c (my_global_func): Likewise.
8600 * gdb.base/skip-solib-lib.c (multiply): Likewise.
8601 * gdb.base/advance.c (func2): Likewise.
8603 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8605 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
8607 * gdb.base/annota3.c: Likewise.
8608 * gdb.base/async.c: Likewise.
8609 * gdb.base/average.c: Likewise.
8610 * gdb.base/call-ar-st.c: Likewise.
8611 * gdb.base/call-rt-st.c: Likewise.
8612 * gdb.base/call-sc.c: Likewise.
8613 * gdb.base/call-strs.c: Likewise.
8614 * gdb.base/ending-run.c: Likewise.
8615 * gdb.base/execd-prog.c: Likewise.
8616 * gdb.base/exprs.c: Likewise.
8617 * gdb.base/foll-exec.c: Likewise.
8618 * gdb.base/foll-fork.c: Likewise.
8619 * gdb.base/foll-vfork.c: Likewise.
8620 * gdb.base/funcargs.c: Likewise.
8621 * gdb.base/gcore.c: Likewise.
8622 * gdb.base/jump.c: Likewise.
8623 * gdb.base/langs0.c: Likewise.
8624 * gdb.base/langs1.c: Likewise.
8625 * gdb.base/langs2.c: Likewise.
8626 * gdb.base/mips_pro.c: Likewise.
8627 * gdb.base/nodebug.c: Likewise.
8628 * gdb.base/opaque0.c: Likewise.
8629 * gdb.base/opaque1.c: Likewise.
8630 * gdb.base/recurse.c: Likewise.
8631 * gdb.base/run.c: Likewise.
8632 * gdb.base/scope0.c: Likewise.
8633 * gdb.base/scope1.c: Likewise.
8634 * gdb.base/setshow.c: Likewise.
8635 * gdb.base/setvar.c: Likewise.
8636 * gdb.base/shmain.c: Likewise.
8637 * gdb.base/shr1.c: Likewise.
8638 * gdb.base/shr2.c: Likewise.
8639 * gdb.base/sigall.c: Likewise.
8640 * gdb.base/signals.c: Likewise.
8641 * gdb.base/so-indr-cl.c: Likewise.
8642 * gdb.base/solib2.c: Likewise.
8643 * gdb.base/structs.c: Likewise.
8644 * gdb.base/sum.c: Likewise.
8645 * gdb.base/vforked-prog.c: Likewise.
8646 * gdb.base/watchpoint.c: Likewise.
8647 * gdb.reverse/shr2.c: Likewise.
8648 * gdb.reverse/until-reverse.c: Likewise.
8649 * gdb.reverse/ur1.c: Likewise.
8650 * gdb.reverse/watch-reverse.c: Likewise.
8652 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8654 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
8656 * gdb.base/sepdebug.exp: Drop references to removed code.
8658 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8660 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
8661 variant. Preserve original line numbering.
8662 * gdb.base/list1.c: Likewise.
8664 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8666 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
8668 * gdb.base/break1.c: Likewise.
8669 * gdb.base/break.exp: Drop references to removed code.
8671 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8673 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
8676 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8678 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
8680 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8682 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
8683 logic into perform_all_tests() and invoke it with and without
8684 function header prototypes.
8685 (do_function_calls): Remove conditional XFAIL for PR 5318.
8686 (rerun_and_prepare): Remove duplicate code.
8687 (perform_all_tests): New. Main logic moved here.
8689 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8691 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
8692 code guarded by #ifdef NO_PROTOTYPES.
8693 (t_double_many_args): Likewise.
8694 (DEF_FUNC_MANY_ARGS_1): Likewise.
8695 (DEF_FUNC_VALUES_1): Likewise.
8696 (t_structs_ldc): Renamed from t_structs_fc in conditional code
8697 guarded by #ifdef PROTOTYPES.
8699 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8701 * gdb.mi/mi-console.c: Add eye-catcher.
8702 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
8703 instead of literal line number.
8705 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8707 * gdb.base/shr2.c: Add eye-catcher.
8708 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
8711 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8713 * gdb.base/jump.c: Add eye-catchers.
8714 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
8717 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8719 * gdb.base/execd-prog.c: Add eye-catchers.
8720 * gdb.base/foll-exec.c: Likewise.
8721 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
8724 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8726 * gdb.base/ending-run.c: Add eye-catchers.
8727 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
8728 literal line numbers.
8730 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8732 * gdb.base/call-rt-st.c: Add eye-catchers.
8733 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
8734 literal line numbers.
8736 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8738 * gdb.base/call-ar-st.c: Add eye-catchers.
8739 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
8740 literal line numbers.
8742 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8744 * gdb.base/average.c: Add eye-catchers.
8745 * gdb.base/sum.c: Likewise.
8746 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
8747 regexps dynamically.
8749 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8751 * gdb.base/solib1.c: Add eye-catchers.
8752 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
8753 literal line numbers.
8755 2014-11-12 Pedro Alves <palves@redhat.com>
8757 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
8760 2014-11-12 Pedro Alves <palves@redhat.com>
8762 * gdb.arch/i386-bp_permanent.c: New file.
8763 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
8764 (srcfile): Set to i386-bp_permanent.c.
8765 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
8766 that stepi does not execute the 'leave' instruction, instead of
8767 testing it does execute.
8768 * gdb.base/bp-permanent.c: New file.
8769 * gdb.base/bp-permanent.exp: New file.
8771 2014-11-10 Doug Evans <xdje42@gmail.com>
8774 * gdb.base/symtab-search-order.exp: New file.
8775 * gdb.base/symtab-search-order.c: New file.
8776 * gdb.base/symtab-search-order-1.c: New file.
8777 * gdb.base/symtab-search-order-shlib-1.c: New file.
8779 2014-11-07 Pedro Alves <palves@redhat.com>
8782 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8785 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8788 * gdb.cp/pr17494.cc: New file.
8789 * gdb.cp/pr17494.exp: New file.
8791 2014-11-02 Yao Qi <yao@codesourcery.com>
8793 * gdb.python/python.exp: Get working directory and match the
8794 output of "set extended-prompt \\w " with it.
8796 2014-10-30 Doug Evans <dje@google.com>
8798 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8800 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8803 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
8805 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8806 * gdb.base/realname-expand.exp: Likewise.
8807 * gdb.linespec/macro-relative.exp: Likewise.
8809 2014-10-29 Pedro Alves <palves@redhat.com>
8812 * gdb.threads/schedlock.c (some_function): New function.
8813 (call_function): New global.
8814 (MAYBE_CALL_SOME_FUNCTION): New macro.
8815 (thread_function): Call it.
8816 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8817 and use it instead of a global counter. Adjust all callers.
8818 (get_current_thread): Use "find current thread" for test message
8819 here rather than having all callers pass down the same string.
8820 (goto_loop): New procedure, factored out from ...
8821 (my_continue): ... this.
8822 (step_ten_loops): Change parameter from test message to command to
8824 (list_count): Delete global.
8825 (check_result): New procedure, factored out from duplicate top
8827 (continue tests): Wrap in with_test_prefix.
8828 (test_step): New procedure, factored out from duplicate top level
8830 (top level): Test "step" in combination with all scheduler-locking
8831 modes. Test "next" in combination with all scheduler-locking
8832 modes, and in combination with stepping over a function call or
8834 * gdb.threads/next-bp-other-thread.c: New file.
8835 * gdb.threads/next-bp-other-thread.exp: New file.
8837 2014-10-29 Pedro Alves <palves@redhat.com>
8840 * gdb.python/python.exp: Test a multi-line command that spawns
8842 * gdb.base/multi-line-starts-subshell.exp: New file.
8844 2014-10-29 Yao Qi <yao@codesourcery.com>
8846 * gdb.base/fileio.exp: Make directories on host.
8848 2014-10-29 Yao Qi <yao@codesourcery.com>
8850 * gdb.base/fileio.c (test_write): Close the file.
8852 2014-10-28 Pedro Alves <palves@redhat.com>
8855 * gdb.base/sigstep.c (no_handler): New global.
8856 (main): If 'no_handler is true, set the signal handlers to
8858 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8859 with_sw_watch and no_handler parameters. Handle them.
8860 (top level) <stepping over handler when stopped at a breakpoint
8861 test>: Add a test axis for testing with a software watchpoint, and
8862 another for testing with the signal handler set to SIG_IGN.
8863 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8864 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8866 2014-10-28 Pedro Alves <palves@redhat.com>
8869 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8870 * gdb.base/sigstep.exp (other_handler_location): New global.
8871 (advance): Support stepping into the signal handler, and running
8872 commands while in the handler.
8873 (in_handler_map): New global.
8874 (top level): In the advance test, add combinations for getting
8875 into the handler with stepping commands, and for running commands
8876 in the handler. Add comment descripting the advancei tests.
8878 2014-10-28 Pedro Alves <palves@redhat.com>
8880 * gdb.base/sigstep.exp: Use build_executable instead of
8881 prepare_for_testing.
8882 (top level): Move code that starts GDB, runs to main and creates a
8884 (restart): ... this new procedure.
8885 (top level): Move backtrace from signal handler test to ...
8886 (validate_backtrace): ... this new procedure.
8887 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
8888 with_test_prefix. Always restart GDB.
8889 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
8890 with_test_prefix. Always restart GDB. No need to delete
8891 breakpoints after the test.
8892 (test_skip_handler): Remove prefix parameter.
8893 (skip_over_handler, breakpoint_to_handler)
8894 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
8895 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
8896 restart GDB. No need to delete breakpoints after the test.
8897 (top level): Use foreach to call the test procedures with
8900 2014-10-28 Pedro Alves <palves@redhat.com>
8902 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
8903 instead of GNATS numbers.
8904 * gdb.base/sigbpt.exp: Likewise.
8905 * gdb.base/siginfo.exp: Likewise.
8906 * gdb.base/sigstep.exp: Likewise.
8908 2014-10-27 Pedro Alves <palves@redhat.com>
8910 * gdb.base/sigstep.c (dummy): New global.
8911 (main): Issue a couple writes to the new global.
8912 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
8914 (skip_over_handler): Use test_skip_handler.
8915 (top level): Call skip_over_handler for stepi and nexti too.
8916 (breakpoint_over_handler): Use test_skip_handler.
8917 (top level): Call breakpoint_over_handler for stepi and nexti too.
8919 2014-10-27 Yao Qi <yao@codesourcery.com>
8921 * gdb.trace/tfile.c (adjust_function_address)
8922 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
8923 function descriptor.
8925 2014-10-24 Don Breazeal <donb@codesourcery.com>
8927 * gdb.base/foll-fork.exp (test_follow_fork,
8928 catch_fork_child_follow): Check for updated fork messages emitted
8930 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
8931 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
8932 vfork_and_exec_child_follow_through_step): Check for updated vfork
8933 messages emitted from infrun.c.
8935 2014-10-24 Pedro Alves <palves@redhat.com>
8937 * gdb.base/corefile.exp: Remove references to ultrix.
8938 * gdb.base/interrupt.exp: Likewise.
8939 * gdb.base/whatis.exp: Likewise.
8940 * gdb.gdb/selftest.exp: Likewise.
8941 * gdb.threads/manythreads.exp: Likewise.
8942 * gdb.threads/print-threads.exp: Likewise.
8943 * gdb.threads/pthreads.exp:: Likewise.
8944 * gdb.threads/schedlock.exp: Likewise.
8946 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
8948 * gdb.cp/non-trivial-retval.cc: Add a test case.
8949 * gdb.cp/non-trivial-retval.exp: Add a test.
8951 2014-10-20 Yao Qi <yao@codesourcery.com>
8953 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
8954 * gdb.python/py-objfile-script-gdb.py: New file.
8955 * gdb.python/py-objfile-script.exp: Update reference to
8956 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
8957 of remote_download. Remove the dest file.
8959 2014-10-20 Yao Qi <yao@codesourcery.com>
8961 * gdb.base/checkpoint.exp: Don't remove file copied on host.
8962 * gdb.base/step-line.exp: Likewise.
8963 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8964 * gdb.dwarf2/dw2-basic.exp: Likewise.
8965 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8966 * gdb.dwarf2/dw2-filename.exp: Likewise.
8967 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8968 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8969 * gdb.dwarf2/dw2-producer.exp: Likewise.
8970 * gdb.dwarf2/mac-fileno.exp: Likewise.
8971 * gdb.python/py-frame-args.exp: Likewise.
8972 * gdb.python/py-framefilter.exp: Likewise.
8973 * gdb.python/py-mi.exp: Likewise.
8974 * gdb.python/py-objfile-script.exp: Likewise
8975 * gdb.python/py-pp-integral.exp: Likewise.
8976 * gdb.python/py-pp-re-notag.exp: Likewise.
8977 * gdb.python/py-prettyprint.exp: Likewise.
8978 * gdb.python/py-section-script.exp: Likewise.
8979 * gdb.python/py-typeprint.exp: Likewise.
8980 * gdb.python/py-xmethods.exp: Likewise.
8981 * gdb.stabs/weird.exp: Likewise.
8982 * gdb.xml/tdesc-regs.exp: Likewise.
8984 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
8986 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
8987 (out_cu): Use addr_len for the size of addresses.
8988 (out_line): Likewise. Size DW_LNE_set_address instruction
8989 according to addr_len.
8990 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
8991 (FUNC): Add START_INSNS to definition.
8993 2014-10-18 Yao Qi <yao@codesourcery.com>
8995 * gdb.base/argv0-symlink.exp: Check argv[0] value if
8996 gdb_has_argv0 return true.
8997 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
8998 check [target_info exists noargs], check [gdb_has_argv0]
9000 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9001 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
9004 2014-10-17 Doug Evans <dje@google.com>
9006 * gdb.python/py-events.exp: Update expected output for clear_objfiles
9008 * gdb.python/py-events.py: Add clear_objfiles event.
9010 2014-10-17 Doug Evans <dje@google.com>
9012 * gdb.python/py-objfile.exp: Test progspace attribute.
9014 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
9016 * gdb.guile/scm-breakpoint.exp: Do not assume any
9017 directory separators when matching source file paths.
9018 * gdb.python/py-breakpoint.exp: Likewise.
9019 * gdb.reverse/break-precsave.exp: Likewise.
9020 * gdb.reverse/break-reverse.exp: Likewise.
9021 * gdb.reverse/consecutive-precsave.exp: Likewise.
9022 * gdb.reverse/finish-precsave.exp: Likewise.
9023 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
9024 * gdb.reverse/finish-reverse.exp: Likewise.
9025 * gdb.reverse/i386-precsave.exp: Likewise.
9026 * gdb.reverse/i387-env-reverse.exp: Likewise.
9027 * gdb.reverse/i387-stack-reverse.exp: Likewise.
9028 * gdb.reverse/machinestate-precsave.exp: Likewise.
9029 * gdb.reverse/machinestate.exp: Likewise.
9030 * gdb.reverse/sigall-precsave.exp: Likewise.
9031 * gdb.reverse/solib-precsave.exp: Likewise.
9032 * gdb.reverse/step-precsave.exp: Likewise.
9033 * gdb.reverse/until-precsave.exp: Likewise.
9034 * gdb.reverse/watch-precsave.exp: Likewise.
9035 * gdb.reverse/watch-reverse.exp: Likewise.
9037 2014-10-17 Yao Qi <yao@codesourcery.com>
9039 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
9040 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
9042 2014-10-17 Pedro Alves <palves@redhat.com>
9045 * gdb.base/bg-execution-repeat.c: New file.
9046 * gdb.base/bg-execution-repeat.exp: New file.
9048 2014-10-17 Pedro Alves <palves@redhat.com>
9051 * gdb.base/continue-all-already-running.c: New file.
9052 * gdb.base/continue-all-already-running.exp: New file.
9054 2014-10-17 Pedro Alves <palves@redhat.com>
9057 * gdb.base/annota-input-while-running.c: New file.
9058 * gdb.base/annota-input-while-running.exp: New file.
9060 2014-10-17 Pedro Alves <palves@redhat.com>
9062 * gdb.base/callfuncs.exp: emove references to osf.
9063 * gdb.base/sigall.exp: Likewise.
9064 * gdb.gdb/selftest.exp: Likewise.
9065 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9066 * gdb.mi/non-stop.c: Likewise.
9067 * gdb.mi/pthreads.c: Likewise.
9068 * gdb.reverse/sigall-precsave.exp: Likewise.
9069 * gdb.reverse/sigall-reverse.exp: Likewise.
9070 * gdb.threads/pthreads.c: Likewise.
9071 * gdb.threads/pthreads.exp: Likewise.
9073 2014-10-17 Yao Qi <yao@codesourcery.com>
9075 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
9076 check 'target_info exists noargs'.
9077 (test_command_prompt_position): Likewise.
9078 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
9080 (progvar_simple_while_test): Likewise.
9081 (progvar_complex_if_while_test): Likewise.
9082 (if_while_breakpoint_command_test): Likewise.
9083 (infrun_breakpoint_command_test): Likewise.
9084 (breakpoint_command_test): Likewise.
9085 (watchpoint_command_test): Likewise.
9086 (bp_deleted_in_command_test): Likewise.
9087 (temporary_breakpoint_commands): Likewise.
9089 2014-10-16 Yao Qi <yao@codesourcery.com>
9091 * gdb.base/remotetimeout.exp: Remove noargs checking.
9093 2014-10-15 Pedro Alves <palves@redhat.com>
9096 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
9097 * gdb.base/breakpoint-in-ro-region.exp
9098 (probe_target_hardware_step): New procedure.
9099 (top level): Probe hardware stepping and hardware breakpoint
9100 support. Test stepping through a read-only region, with both
9101 "breakpoint auto-hw" on and off and both "always-inserted" on and
9104 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
9106 * gdb.dlang/demangle.exp: Update for demangling changes.
9108 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
9110 * gdb.cp/non-trivial-retval.cc: Add new test cases.
9111 * gdb.cp/non-trivial-retval.exp: Add new tests.
9113 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
9117 * gdb.cp/non-trivial-retval.cc: New file.
9118 * gdb.cp/non-trivial-retval.exp: New file.
9120 2014-10-15 Yao Qi <yao@codesourcery.com>
9122 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
9125 2014-10-15 Yao Qi <yao@codesourcery.com>
9127 * gdb.python/py-symbol.exp: Match file base name if host is
9128 remote, otherwise match file name with dir name.
9129 * gdb.python/py-symtab.exp: Likewise.
9130 * gdb.python/python.exp: Likewise.
9132 2014-10-15 Yao Qi <yao@codesourcery.com>
9134 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
9136 * gdb.python/py-symtab.exp: Likewise.
9137 * gdb.python/python.exp: Remove trailing ".*". Fix typo
9140 2014-10-14 Joel Brobecker <brobecker@adacore.com>
9142 * gdb.ada/addr_arith: New testcase.
9144 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
9146 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
9147 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
9148 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
9149 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
9151 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
9153 * gdb.arch/stap-eval-lang-ada.S: Likewise.
9154 * gdb.arch/stap-eval-lang-ada.c: Likewise.
9155 * gdb.arch/stap-eval-lang-ada.exp: New file.
9157 2014-10-14 Yao Qi <yao@codesourcery.com>
9159 * gdb.mi/mi-var-child.c (nothing1): New function.
9160 (nothing2): New function.
9161 (do_children_tests): Set function pointers by nothing1 and
9163 * gdb.mi/mi-var-child.exp: Step over new added statements.
9164 Update test to match the new output.
9165 * gdb.mi/var-cmd.c (nothing1): New function.
9166 (nothing2): New function.
9167 (do_children_tests): Set function pointers by nothing1 and
9169 * gdb.mi/mi-var-display.exp: Update test to match output.
9170 Step to the line specified by $line_dct_nothing.
9171 Increase the number of lines to step.
9173 2014-10-14 Yao Qi <yao@codesourcery.com>
9175 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
9177 * gdb.mi/mi2-var-child.exp: Likewise.
9179 2014-10-13 Doug Evans <dje@google.com>
9181 * gdb.python/py-objfile.exp: Change name of file name test.
9183 2014-10-13 Doug Evans <dje@google.com>
9185 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
9186 from the start of the CU.
9188 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9189 Yao Qi <yao@codesourcery.com>
9191 Fix "save breakpoints" for "catch" command.
9192 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
9193 Remove -nonewline. Match also the added "main" line.
9195 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9197 Fix "save breakpoints" for "disable $bpnum" command.
9198 * gdb.base/save-bp.c (main): Add label.
9199 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
9201 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9203 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
9205 2014-10-11 Yao Qi <yao@codesourcery.com>
9207 * gdb.server/server-kill.exp: Execute command
9208 "set remote trace-status-packet on" before "tstatus".
9210 2014-10-11 Yao Qi <yao@codesourcery.com>
9212 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
9213 (main): Call getppid.
9214 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
9215 and continue to it. Read variable "server_pid".
9217 2014-10-11 Yao Qi <yao@codesourcery.com>
9219 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
9221 2014-10-11 Yao Qi <yao@codesourcery.com>
9223 * gdb.threads/thread-find.exp: Don't execute command
9225 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
9226 * gdb.threads/linux-dp.exp: Don't check the condition
9227 $threads_created equals to zero.
9229 2014-10-10 Pedro Alves <palves@redhat.com>
9231 * gdb.base/bigcore.exp: Remove references to IRIX.
9232 * gdb.base/funcargs.exp: Likewise.
9233 * gdb.base/interrupt.exp: Likewise.
9234 * gdb.base/mips_pro.exp: Likewise.
9235 * gdb.base/nodebug.exp: Likewise.
9236 * gdb.base/setvar.exp: Likewise.
9237 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
9239 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9240 Pedro Alves <palves@redhat.com>
9243 * gdb.base/vdso-warning.c: New file.
9244 * gdb.base/vdso-warning.exp: New file.
9246 2014-10-02 Doug Evans <dje@google.com>
9248 * gdb.base/structs.c (main): Don't run forever.
9250 2014-10-02 Pedro Alves <palves@redhat.com>
9252 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
9253 (top level) <stop threads 1, stop threads 2>: Use it.
9255 2014-10-02 Pedro Alves <palves@redhat.com>
9257 * gdb.threads/break-while-running.exp (test): Add new
9258 'update_thread_list' argument. Skip "info threads" if false.
9259 (top level): Add new 'update_thread_list' axis.
9261 2014-10-02 Pedro Alves <palves@redhat.com>
9263 PR breakpoints/17431
9264 * gdb.base/execl-update-breakpoints.c: New file.
9265 * gdb.base/execl-update-breakpoints.exp: New file.
9267 2014-10-01 Pedro Alves <palves@redhat.com>
9269 * gdb.base/breakpoint-in-ro-region.c: New file.
9270 * gdb.base/breakpoint-in-ro-region.exp: New file.
9272 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
9274 * gdb.mi/mi-exit-code.exp: New file.
9275 * gdb.mi/mi-exit-code.c: New file.
9277 2014-09-30 Yao Qi <yao@codesourcery.com>
9279 * lib/prelink-support.exp (build_executable_own_libs): Error if
9280 the target isn't native.
9282 2014-09-30 Yao Qi <yao@codesourcery.com>
9284 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
9287 2014-09-22 Pedro Alves <palves@redhat.com>
9289 * gdb.threads/break-while-running.exp: New file.
9290 * gdb.threads/break-while-running.c: New file.
9292 2014-09-19 Yao Qi <yao@codesourcery.com>
9294 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
9295 Invoke test. Restart GDB with --readnow and invoke test again.
9297 2014-09-19 Yao Qi <yao@codesourcery.com>
9299 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
9300 proc set_breakpoint_on_gcd_function. Invoke
9301 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
9302 invoke set_breakpoint_on_gcd_function again.
9304 2014-09-18 Doug Evans <dje@google.com>
9306 * gdb.dwarf2/symtab-producer.exp: New file.
9308 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9310 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
9311 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
9312 * gdb.base/global-var-nested-by-dso.c: Likewise.
9313 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9315 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9316 Pedro Alves <palves@redhat.com>
9318 * gdb.base/watch-bitfields.exp: Pass string other than test file
9319 name to prepare_for_testing.
9320 (watch): New procedure.
9321 (expect_watchpoint): Use with_test_prefix.
9322 (top level): Factor out tests to ...
9323 (test_watch_location, test_regular_watch): ... these new
9324 procedures, and use with_test_prefix and gdb_continue_to_end.
9326 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
9328 PR breakpoints/12526
9329 * gdb.base/watch-bitfields.exp: New file.
9330 * gdb.base/watch-bitfields.c: New file.
9332 2014-09-16 Pedro Alves <palves@redhat.com>
9334 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
9335 software and hardware addresses, not software address against
9338 2014-09-16 Pedro Alves <palves@redhat.com>
9340 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
9341 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
9343 2014-09-16 Pedro Alves <palves@redhat.com>
9345 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
9347 * gdb.base/a2-run.exp: Remove all code guarded by istarget
9348 "*-*-vxworks*" throughout.
9349 * gdb.base/break.exp: Likewise.
9350 * gdb.base/default.exp: Likewise.
9351 * gdb.base/scope.exp: Likewise.
9352 * gdb.base/sepdebug.exp: Likewise.
9353 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
9355 * gdb.base/run.c: Likewise.
9356 * gdb.base/sepdebug.c: Likewise.
9357 * gdb.hp/gdb.aCC/run.c: Likewise.
9358 * gdb.reverse/until-reverse.c: Likewise.
9359 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
9361 2014-09-16 Yao Qi <yao@codesourcery.com>
9363 * boards/local-remote-host-native.exp: New file.
9365 2014-09-14 Doug Evans <xdje42@gmail.com>
9367 * gdb.threads/queue-signal.c (thread_count): New variable.
9368 (thread_count_mutex, thread_count_condvar): New variables.
9369 (incr_thread_count, wait_all_threads_running): New functions.
9370 (main): Wait for all threads to be in their thread functions.
9372 2014-09-13 Doug Evans <xdje42@gmail.com>
9374 * gdb.threads/queue-signal.c: New file.
9375 * gdb.threads/queue-signal.exp: New file.
9377 2014-09-13 Doug Evans <xdje42@gmail.com>
9379 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
9380 be consistent with what default_gdb_init uses.
9381 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
9382 the plain text of the prompt. Add some logging printfs.
9383 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
9385 2014-09-12 Pedro Alves <palves@redhat.com>
9387 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
9388 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
9389 * gdb.arch/i386-size-overlap.exp: Likewise.
9390 * gdb.arch/i386-size.exp: Likewise.
9391 * gdb.arch/i386-unwind.exp: Likewise.
9392 * gdb.base/a2-run.exp: Likewise.
9393 * gdb.base/break.exp: Likewise.
9394 * gdb.base/charset.exp: Likewise.
9395 * gdb.base/chng-syms.exp: Likewise.
9396 * gdb.base/commands.exp: Likewise.
9397 * gdb.base/dbx.exp: Likewise.
9398 * gdb.base/find.exp: Likewise.
9399 * gdb.base/funcargs.exp: Likewise.
9400 * gdb.base/jit-simple.exp: Likewise.
9401 * gdb.base/reread.exp: Likewise.
9402 * gdb.base/sepdebug.exp: Likewise.
9403 * gdb.base/step-bt.exp: Likewise.
9404 * gdb.cp/mb-inline.exp: Likewise.
9405 * gdb.cp/mb-templates.exp: Likewise.
9406 * gdb.objc/basicclass.exp: Likewise.
9407 * gdb.threads/killed.exp: Likewise.
9409 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9412 * gdb.arch/powerpc-stackless.S: New file.
9413 * gdb.arch/powerpc-stackless.exp: New file.
9415 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9417 * gdb.base/attach.c: Include unistd.h.
9418 (main): Call alarm. Add label postloop.
9419 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
9420 gdb_breakpoint, gdb_continue_to_breakpoint.
9421 (test_command_line_attach_run): Kill ${testpid} in one exit path.
9423 2014-09-11 Pedro Alves <palves@redhat.com>
9426 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
9427 * gdb.base/attach.exp (test_command_line_attach_run): New
9429 (top level): Call it.
9431 2014-09-11 Pedro Alves <palves@redhat.com>
9433 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
9434 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
9435 (do_command_attach_tests): Use spawn_wait_for_attach.
9436 * gdb.base/solib-overlap.exp: Likewise.
9437 * gdb.multi/multi-attach.exp: Likewise.
9438 * gdb.python/py-prompt.exp: Likewise.
9439 * gdb.python/py-sync-interp.exp: Likewise.
9440 * gdb.server/ext-attach.exp: Likewise.
9442 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
9444 * gdb.fortran/array-element.exp: Remove unexpected "continue"
9445 command in testcase. Simplify testcase.
9447 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9449 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
9451 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9453 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
9455 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9457 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
9459 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9461 * gdb.dwarf2/dynarr-ptr.c: New file.
9462 * gdb.dwarf2/dynarr-ptr.exp: New file.
9464 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9466 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
9467 of 30 rather than hardcoding 120 for a slow test case. Take the
9468 `gdb,timeout' target setting into account for this calculation.
9469 Don't extend the timeout for the test cases that don't need it.
9471 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9473 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
9474 a factor of 2 for a slow test case. Take the `gdb,timeout'
9475 target setting into account for this calculation.
9476 * gdb.reverse/until-precsave.exp: Increase the timeout by
9477 a factor of 15 and 3 respectively rather than adding 120
9478 for a pair of slow test cases. Take the `gdb,timeout'
9479 target setting into account for this calculation.
9481 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9483 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
9484 timeout, don't pass one down to gdb_expect.
9485 (gdb_expect): Rework timeout selection.
9487 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9489 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
9490 exception on timeout.
9491 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
9492 (gdbserver_start_extended): Catch any `gdbserver_start' error
9494 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
9495 * lib/mi-support.exp (mi_gdb_target_load): Catch any
9496 `gdbserver_gdb_load' error exceptions.
9498 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9500 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
9501 120 on waiting for the TCP socket to open.
9503 2014-09-09 Doug Evans <xdje42@gmail.com>
9505 * gdb.base/default.exp (show_conv_list): Add _caller_is,
9506 _caller_matches, _any_caller_is, _any_caller_matches.
9508 2014-09-09 Doug Evans <xdje42@gmail.com>
9510 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
9512 2014-09-09 Yao Qi <yao@codesourcery.com>
9514 * gdb.mi/mi-var-display.exp: Set print symbol off.
9516 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
9519 * gdb.base/commands.exp: Add tests to verify user-defined
9520 commands with empty bodies.
9521 * gdb.python/py-cmd.exp: Test that we don't show user-defined
9522 python commands in `show user command`.
9523 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
9524 scheme commands in `show user command`.
9526 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9529 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
9530 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
9531 * gdb.python/py-framefilter-invalidarg.exp: New file.
9532 * gdb.python/py-framefilter-invalidarg.py: New file.
9534 2014-09-06 Doug Evans <xdje42@gmail.com>
9537 * gdb.python/py-caller-is.c: New file.
9538 * gdb.python/py-caller-is.exp: New file.
9540 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
9543 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
9544 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
9546 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
9549 * gdb.fortran/print-formatted.exp: New file.
9550 * gdb.fortran/print-formatted.f90: Likewise.
9552 2014-09-03 Sasha Smundak <asmundak@google.com>
9554 * gdb.python/py-frame.exp: Test Frame.read_register.
9556 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
9559 * gdb.python/py-completion.exp: New file.
9560 * gdb.python/py-completion.py: Likewise.
9562 2014-08-28 Doug Evans <dje@google.com>
9564 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
9565 eax,etc. are live with values set by gdb and thus the compiler can't
9567 * gdb.arch/i386-pseudo.c (main): Ditto.
9569 2014-08-27 Doug Evans <dje@google.com>
9571 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
9573 2014-08-25 Doug Evans <dje@google.com>
9575 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
9578 2014-08-25 Doug Evans <dje@google.com>
9580 * gdb.threads/thread-execl.exp: #include <stdio.h>.
9582 2014-08-24 Yao Qi <yao@codesourcery.com>
9584 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
9586 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
9588 2014-08-22 Doug Evans <dje@google.com>
9591 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
9592 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
9593 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
9595 2014-08-22 Yao Qi <yao@codesourcery.com>
9597 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
9598 * gdb.python/py-finish-breakpoint2.exp: Likewise.
9599 * gdb.python/python.exp: Likewise. Use .py file on the host
9600 instead of the build.
9602 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9604 * gdb.threads/gcore-stale-thread.c: New file.
9605 * gdb.threads/gcore-stale-thread.exp: New file.
9607 2014-08-21 Pedro Alves <palves@redhat.com>
9609 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
9610 * gdb.base/gcore-relro-pie.exp: Likewise.
9611 * gdb.base/gcore-relro.exp: Likewise.
9612 * gdb.base/gcore.exp: Likewise.
9613 * gdb.base/print-symbol-loading.exp: Likewise.
9614 * gdb.threads/gcore-thread.exp: Likewise.
9615 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
9617 2014-08-20 Pedro Alves <palves@redhat.com>
9618 Jan Kratochvil <jan.kratochvil@redhat.com>
9620 * Makefile.in (EXTRA_RULES, CC): New variables, get from
9622 (EXPECT): Handle READ1 being set.
9623 (all): Depend on EXTRA_RULES.
9624 (check-read1, expect-read1, read1.so, read1): New rules.
9625 * README (Testsuite Parameters): Document the READ1 make variable.
9626 (Race detection): New section.
9627 * configure: Regenerate.
9628 * configure.ac: If build==host==target, and running under a
9629 GNU/glibc system, add read1 to the extra Makefile rules.
9630 (EXTRA_RULES): AC_SUBST it.
9631 * lib/read1.c: New file.
9633 2014-08-20 Joel Brobecker <brobecker@adacore.com>
9635 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
9636 the handling of variables declared as a typedef to an array
9637 which a DW_AT_data_location attribute.
9639 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
9640 Pedro Alves <palves@redhat.com>
9644 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
9647 2014-08-19 Pedro Alves <palves@redhat.com>
9649 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
9651 2014-08-19 Yao Qi <yao@codesourcery.com>
9653 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
9656 2014-08-18 David Blaikie <dblaikie@gmail.com>
9658 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
9660 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9662 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
9663 attribute in array range.
9665 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9667 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
9669 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9672 * gdb.cp/pr17132.cc: New file.
9673 * gdb.cp/pr17132.exp: New file.
9675 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9677 * gdb.python/py-xmethods.py (A_getarrayind)
9678 (E_method_char_worker.__call__, E_method_int_worker.__call__):
9679 Use 'print' with function call syntax.
9680 (E_method_matcher.match): Fix tab vs space indentation mixup.
9682 2014-08-15 Yao Qi <yao@codesourcery.com>
9684 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
9687 2014-08-15 Yao Qi <yao@codesourcery.com>
9689 * gdb.cp/casts.exp: Set print symbol off.
9690 * gdb.cp/class2.exp: Likewise.
9691 * gdb.cp/overload.exp: Likewise.
9692 * gdb.cp/templates.exp: Likewise.
9694 2014-08-11 Doug Evans <dje@google.com>
9696 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9697 (test_load_shlib): Update.
9699 2014-08-09 Yao Qi <yao@codesourcery.com>
9701 * gdb.base/display.exp: Invoke is_address_zero_readable.
9702 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
9703 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9704 * gdb.base/hbreak-unmapped.exp: Return if
9705 is_address_zero_readable returns true.
9706 * gdb.base/signest.exp: Likewise.
9707 * gdb.base/signull.exp: Likewise.
9708 * gdb.base/sigbpt.exp: Likewise.
9709 * gdb.guile/scm-disasm.exp: Do the test if
9710 is_address_zero_readable returns false.
9711 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
9712 * gdb.python/py-arch.exp: Likewise.
9713 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
9714 * lib/gdb.exp (is_address_zero_readable): New proc.
9716 2014-08-09 Yao Qi <yao@codesourcery.com>
9719 * gdb.mi/mi-var-display.exp: Make test messages unique.
9721 2014-08-04 Tom Tromey <tromey@redhat.com>
9723 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
9726 2014-08-04 Tom Tromey <tromey@redhat.com>
9728 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
9731 2014-08-01 Joel Brobecker <brobecker@adacore.com>
9733 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9734 inner_vla_struct_object_size.
9735 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
9738 2014-07-30 Pedro Alves <palves@redhat.com>
9740 * gdb.threads/signal-command-handle-nopass.exp (test): Add
9743 2014-07-29 Yao Qi <yao@codesourcery.com>
9746 * gdb.base/until-nodebug.exp: New.
9748 2014-07-28 Doug Evans <xdje42@gmail.com>
9751 * gdb.guile/scm-parameter.exp: Add tests for trying to create
9752 previously existing parameter, and previously ambiguously spelled
9755 2014-07-28 Will Newton <will.newton@linaro.org>
9757 * gdb.base/varargs.exp: Remove KFAILs for ARM.
9759 2014-07-26 Ludovic Courtès <ludo@gnu.org>
9760 Doug Evans <xdje42@gmail.com>
9763 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
9765 2014-07-25 Pedro Alves <palves@redhat.com>
9767 * gdb.threads/signal-command-handle-nopass.c: New file.
9768 * gdb.threads/signal-command-handle-nopass.exp: New file.
9769 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
9770 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
9771 * gdb.threads/signal-delivered-right-thread.c: New file.
9772 * gdb.threads/signal-delivered-right-thread.exp: New file.
9774 2014-07-25 Pedro Alves <palves@redhat.com>
9776 * gdb.base/double-prompt-target-event-error.exp
9777 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
9779 (cancel_pagination_in_target_event): Rework double prompt
9781 * gdb.base/paginate-after-ctrl-c-running.exp
9782 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
9784 * gdb.base/paginate-bg-execution.exp
9785 (test_bg_execution_pagination_return)
9786 (test_bg_execution_pagination_cancel): Remove '-notransfer
9788 * gdb.base/paginate-execution-startup.exp
9789 (test_fg_execution_pagination_return)
9790 (test_fg_execution_pagination_cancel): Remove '-notransfer
9792 * gdb.base/paginate-inferior-exit.exp
9793 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9795 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9796 * lib/gdb.exp (pagination_prompt): Run text through
9798 (gdb_test_multiple): Match $pagination_prompt instead of
9800 (string_to_regexp): Move to lib/gdb-utils.exp.
9802 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9804 * gdb.arch/amd64-entry-value-paramref.S: New file.
9805 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9806 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9807 * gdb.arch/amd64-optimout-repeat.S: New file.
9808 * gdb.arch/amd64-optimout-repeat.c: New file.
9809 * gdb.arch/amd64-optimout-repeat.exp: New file.
9811 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9814 * gdb.base/statistics.exp: New file.
9816 2014-07-17 Doug Evans <dje@google.com>
9819 * gdb.base/maint.exp: Update testing of per-command stats.
9821 2014-07-16 Pedro Alves <palves@redhat.com>
9823 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9824 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9825 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9826 (tfile_write_buf): New functions.
9827 (add_memory_block): Rewrite using the above.
9828 (adjust_function_address): New function.
9829 (FUNCTION_ADDRESS): New macro.
9830 (write_basic_trace_file): Remove short_x local, and use
9831 tfile_write_16. Change type of func_addr local to unsigned long
9832 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9833 here. Cast argument of add_memory_block to char pointer.
9834 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9835 (main): Remove parameters.
9836 * gdb.trace/tfile.exp: Remove nowarnings.
9838 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9840 * gdb.base/debug-expr.exp: Test string evaluation with
9841 "debug expression" on.
9843 2014-07-15 Pedro Alves <palves@redhat.com>
9845 * gdb.base/reread.exp: Use clean_restart.
9847 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9849 * gdb.arch/avr-flash-qualifer.c: New.
9850 * gdb.arch/avr-flash-qualifer.exp: New.
9852 2014-07-14 Pedro Alves <palves@redhat.com>
9854 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9855 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9857 2014-07-14 Pedro Alves <palves@redhat.com>
9859 * gdb.base/double-prompt-target-event-error.c: New file.
9860 * gdb.base/double-prompt-target-event-error.exp: New file.
9862 2014-07-14 Pedro Alves <palves@redhat.com>
9865 * gdb.base/paginate-inferior-exit.c: New file.
9866 * gdb.base/paginate-inferior-exit.exp: New file.
9868 2014-07-14 Pedro Alves <palves@redhat.com>
9871 * gdb.base/paginate-bg-execution.c: New file.
9872 * gdb.base/paginate-bg-execution.exp: New file.
9874 2014-07-14 Pedro Alves <palves@redhat.com>
9877 * gdb.base/paginate-execution-startup.c: New file.
9878 * gdb.base/paginate-execution-startup.exp: New file.
9879 * lib/gdb.exp (pagination_prompt): New global.
9880 (default_gdb_spawn): New procedure, factored out from
9882 (default_gdb_start): Adjust to call default_gdb_spawn.
9883 (gdb_spawn): New procedure.
9885 2014-07-14 Pedro Alves <palves@redhat.com>
9887 * lib/gdb.exp (gdb_assert): New procedure.
9888 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
9890 2014-07-14 Pedro Alves <palves@redhat.com>
9892 * gdb.base/execution-termios.c: New file.
9893 * gdb.base/execution-termios.exp: New file.
9895 2014-07-14 Tom Tromey <tromey@redhat.com>
9897 * gdb.cp/vla-cxx.cc: New file.
9898 * gdb.cp/vla-cxx.exp: New file.
9900 2014-07-14 Tom Tromey <tromey@redhat.com>
9902 * gdb.reverse/rerun-prec.c: New file.
9903 * gdb.reverse/rerun-prec.exp: New file.
9905 2014-07-12 Maciej W. Rozycki <macro@mips.com>
9906 Maciej W. Rozycki <macro@codesourcery.com>
9908 * lib/gdb-utils.exp: New file.
9909 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
9910 inline `gdb_init_command' processing.
9911 (gdb_start_cmd): Likewise.
9912 * lib/mi-support.exp (mi_run_cmd): Likewise.
9913 * README: Document `gdb_init_command' and `gdb_init_commands'.
9915 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9917 Fix false FAIL running under a very long directory name.
9918 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
9919 and "set print elements 10000". Twice.
9921 2014-07-11 Yao Qi <yao@codesourcery.com>
9923 * gdb.base/exprs.exp: "set print symbol off".
9925 2014-07-11 Pedro Alves <palves@redhat.com>
9927 * gdb.threads/kill.c: New file.
9928 * gdb.threads/kill.exp: New file.
9930 2014-07-10 Yao Qi <yao@codesourcery.com>
9932 * gdb.trace/tfile.c (write_basic_trace_file)
9933 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
9934 address written to trace file.
9936 2014-07-09 Pedro Alves <palves@redhat.com>
9938 * gdb.base/attach-wait-input.exp: New file.
9939 * gdb.base/attach-wait-input.c: New file.
9941 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9943 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
9944 setting up test structures.
9945 (main): Call new test function.
9946 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
9947 test function, continue into test function and walk test
9950 2014-07-02 Yao Qi <yao@codesourcery.com>
9952 * gdb.trace/entry-values.c: Define labels 'foo_start' and
9953 'bar_start' at the beginning of functions 'foo' and 'bar'
9955 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
9956 instead of 'foo' and 'bar'.
9958 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
9960 * gdb.btrace/segv.exp: New.
9961 * gdb.btrace/segv.c: New.
9963 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
9965 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
9968 2014-06-30 Mark Wielaard <mjw@redhat.com>
9970 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
9971 vulture, vilify, villar): New volatile array constants.
9972 (vindictive, vegetation): New const volatile array constants.
9973 * gdb.base/volatile.exp: Test volatile and const volatile array
9976 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9978 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
9979 target lacks support for awatch, rwatch, or hbreak.
9981 2014-06-27 Yao Qi <yao@codesourcery.com>
9983 * gdb.multi/dummy-frame-restore.exp: New.
9984 * gdb.multi/dummy-frame-restore.c: New.
9986 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
9988 * gdb.btrace/gcore.exp: New.
9990 2014-06-23 Pedro Alves <palves@redhat.com>
9992 * gdb.base/watchpoint-reuse-slot.c: New file.
9993 * gdb.base/watchpoint-reuse-slot.exp: New file.
9995 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
9997 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
9998 progspace's filename in 'info', 'enable' and 'disable' command
10001 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10003 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
10004 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10005 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
10007 2014-06-20 Gary Benson <gbenson@redhat.com>
10009 * gdb.arch/i386-avx.exp: Fix include file location.
10010 * gdb.arch/i386-sse.exp: Likewise.
10012 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
10014 * gdb.dlang/expression.exp: New file.
10016 2014-06-19 Pedro Alves <palves@redhat.com>
10018 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
10020 (top level): ... here. Iterate running tests under different
10021 scheduler-locking settings.
10023 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
10025 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
10026 to DW_FORM_addr and use non-zero addresses.
10028 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
10031 * gdb.python/py-xmethods.cc: Add global function call counters and
10032 increment them in their respective functions. Remove "cout"
10034 * gdb.python/py-xmethods.exp: Make tests check the global function
10035 call counters instead of depending on inferior IO.
10037 2014-06-18 Don Breazeal <donb@codesourcery.com>
10039 * gdb.base/foll-fork.exp (default_fork_parent_follow):
10041 (explicit_fork_parent_follow): Deleted procedure.
10042 (explicit_fork_child_follow): Deleted procedure.
10043 (test_follow_fork): New procedure.
10044 (do_fork_tests): Replace calls to deleted procedures with
10045 calls to test_follow_fork and reset GDB for subsequent
10048 2014-06-17 Yao Qi <yao@codesourcery.com>
10050 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
10053 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
10055 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
10056 Initialize ptr and S explicitly.
10057 (skip_type_update_when_not_use_rtti_test): Likewise.
10059 2014-06-16 Keith Seitz <keiths@redhat.com>
10062 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
10063 the inferior is started.
10065 2014-06-16 Pedro Alves <palves@redhat.com>
10067 * gdb.base/break-main-file-remove-fail.c: New file.
10068 * gdb.base/break-main-file-remove-fail.exp: New file.
10069 * gdb.base/break-unload-file.exp: Use build_executable instead of
10070 prepare_for_testing.
10071 (test_break): New parameter "initial_load". Handle it.
10072 (top level): Add initial_load cmdline/file axis.
10074 2014-06-12 Tom Tromey <tromey@redhat.com>
10076 * gdb.base/completion.exp: Don't use directory name in test.
10078 2014-06-09 Gary Benson <gbenson@redhat.com>
10080 * gdb.base/sigall.c [Functions to send signals]: Reorder to
10081 separate the always-available ANSI-standard signals from the
10082 signals that require checking.
10084 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
10088 2014-06-07 Keith Seitz <keiths@redhat.com>
10092 * gdb.cp/var-tag.cc: New file.
10093 * gdb.cp/var-tag.exp: New file.
10094 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10095 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10096 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10097 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10099 2014-06-06 Doug Evans <xdje42@gmail.com>
10101 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
10103 2014-06-06 Pedro Alves <palves@redhat.com>
10105 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
10106 in target debug output instead of looking at RSP packets,
10107 disabling the test on any target that uses hardware stepping.
10110 2014-06-06 Pedro Alves <palves@redhat.com>
10112 * gdb.base/break-unload-file.exp: Fix typo.
10114 2014-06-06 Yao Qi <yao@codesourcery.com>
10116 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
10117 from "jit_function" to "^jit_function".
10119 2014-06-06 Yao Qi <yao@codesourcery.com>
10121 * gdb.base/async.c (foo): Add one statement.
10122 * gdb.base/async.exp: Get the next instruction address and
10123 match the output of "nexti" by instruction address. Match
10124 the hex address in the output of "finish".
10126 2014-06-06 Gary Benson <gbenson@redhat.com>
10128 * gdb.base/call-signals.c: Remove preprocessor conditionals
10129 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
10130 SIGSEGV and SIGTERM.
10131 * gdb.base/sigall.c: Likewise.
10132 * gdb.base/unwindonsignal.c: Likewise.
10133 * gdb.reverse/sigall-reverse.c: Likewise.
10135 2014-06-06 Yao Qi <yao@codesourcery.com>
10137 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
10138 readable, skip the test.
10140 2014-06-06 Yao Qi <yao@codesourcery.com>
10142 * gdb.threads/staticthreads.c (thread_function): Move the line
10143 setting breakpoint on forward.
10144 * gdb.threads/staticthreads.exp: Update comments.
10146 2014-06-05 Ludovic Courtès <ludo@gnu.org>
10148 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
10149 "history-append! type error".
10151 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
10153 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
10154 erroneous dprintf expected input.
10156 2014-06-04 Doug Evans <xdje42@gmail.com>
10158 * gdb.guile/scm-generics.exp: Delete.
10160 2014-06-04 Doug Evans <xdje42@gmail.com>
10162 * gdb.guile/scm-breakpoint.exp: Update.
10163 Add tests for breakpoint registration.
10165 2014-06-04 Tom Tromey <tromey@redhat.com>
10167 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
10169 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
10170 inner_vla_struct, vla_union types. Initialize objects of those
10171 types and compute their sizes.
10173 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
10174 Hui Zhu <hui@codesourcery.com>
10176 * gdb.base/fileio.exp: Add test for shell not available as well as
10178 * gdb.base/fileio.c (test_system): Check for shell twice.
10180 2014-06-04 Yao Qi <yao@codesourcery.com>
10182 * gdb.base/auto-connect-native-target.exp: Remove redundant
10183 space from the regexp pattern.
10185 2014-06-04 Yao Qi <yao@codesourcery.com>
10187 * gdb.base/default.exp: Replace "child" with "native" in
10190 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
10192 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
10193 * gdb.python/py-xmethods.exp: New tests to test xmethods.
10194 * gdb.python/py-xmethods.py: Python script supporting the
10195 new testcase and tests.
10197 2014-06-03 Joel Brobecker <brobecker@adacore.com>
10198 Pedro Alves <palves@redhat.com>
10200 PR breakpoints/17000
10201 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
10202 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
10204 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
10206 * gdb.base/subst.exp: Add tests to verify partial path matching
10209 2014-06-03 Pedro Alves <palves@redhat.com>
10211 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
10212 target that doesn't use software single-stepping.
10214 2014-06-03 Pedro Alves <palves@redhat.com>
10216 PR breakpoints/17000
10217 * gdb.base/sss-bp-on-user-bp-2.c: New file.
10218 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
10220 2014-06-02 Doug Evans <xdje42@gmail.com>
10222 * gdb.guile/scm-parameter.exp: New file.
10224 2014-06-02 Doug Evans <xdje42@gmail.com>
10226 * gdb.guile/scm-cmd.c: New file.
10227 * gdb.guile/scm-cmd.exp: New file.
10229 2014-06-02 Doug Evans <xdje42@gmail.com>
10231 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
10232 pretty-printer lookup.
10233 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
10234 (make-pp_s-printer): Call it.
10235 (make-pretty-printer-from-dict): New function.
10236 (lookup-pretty-printer-maker-from-dict): New function.
10237 (*pretty-printer*): Simplify.
10238 (make-objfile-pp_s-printer): New function.
10239 (install-objfile-pretty-printers!): New function.
10240 (make-progspace-pp_s-printer): New function.
10241 (install-progspace-pretty-printers!): New function.
10242 * gdb.guile/scm-progspace.c: New file.
10243 * gdb.guile/scm-progspace.exp: New file.
10245 2014-06-02 Pedro Alves <palves@redhat.com>
10247 * gdb.base/dprintf-bp-same-addr.c: New file.
10248 * gdb.base/dprintf-bp-same-addr.exp: New file.
10250 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10252 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
10253 * gdb.arch/powerpc-power.s: Likewise.
10255 2014-06-02 Joel Brobecker <brobecker@adacore.com>
10257 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
10259 2014-06-01 Yao Qi <yao@codesourcery.com>
10261 * gdb.base/watchpoint.exp (test_watch_location): Check null
10262 pointer can be dereferenced. If not, do the test, otherwise
10265 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
10267 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
10269 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
10271 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
10273 * gdb.arch/amd64-invalid-stack-middle.S: New file.
10274 * gdb.arch/amd64-invalid-stack-middle.c: New file.
10275 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
10276 * gdb.arch/amd64-invalid-stack-top.c: New file.
10277 * gdb.arch/amd64-invalid-stack-top.exp: New file.
10279 2014-05-30 Pedro Alves <palves@redhat.com>
10281 PR breakpoints/17000
10282 * gdb.base/sss-bp-on-user-bp.c: New file.
10283 * gdb.base/sss-bp-on-user-bp.exp: New file.
10285 2014-05-30 David Blaikie <dblaikie@gmail.com>
10287 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
10288 gnu_inline semantics via attribute.
10289 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
10290 source explicitly specifies the required semantics.
10292 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
10294 * gdb.reverse/sigall-reverse.exp: Fix a typo.
10296 2014-05-29 Pedro Alves <palves@redhat.com>
10297 Tom Tromey <tromey@redhat.com>
10299 * gdb.base/async-shell.exp: Don't enable target-async.
10300 * gdb.base/async.exp
10301 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
10303 (top level): Don't test with "target-async".
10304 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
10305 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
10306 * gdb.base/inferior-died.exp: Don't enable target-async.
10307 * gdb.base/interrupt-noterm.exp: Likewise.
10308 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
10309 * gdb.mi/mi-nonstop-exit.exp: Likewise.
10310 * gdb.mi/mi-nonstop.exp: Likewise.
10311 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10312 * gdb.mi/mi-nsintrall.exp: Likewise.
10313 * gdb.mi/mi-nsmoribund.exp: Likewise.
10314 * gdb.mi/mi-nsthrexec.exp: Likewise.
10315 * gdb.mi/mi-watch-nonstop.exp: Likewise.
10316 * gdb.multi/watchpoint-multi.exp: Adjust comment.
10317 * gdb.python/py-evsignal.exp: Don't enable target-async.
10318 * gdb.python/py-evthreads.exp: Likewise.
10319 * gdb.python/py-prompt.exp: Likewise.
10320 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
10321 * gdb.server/solib-list.exp: Don't enable target-async.
10322 * gdb.threads/thread-specific-bp.exp: Likewise.
10323 * lib/mi-support.exp: Adjust to use mi-async.
10325 2014-05-29 Pedro Alves <palves@redhat.com>
10328 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
10329 reason, even in sync mode.
10331 2014-05-29 Pedro Alves <palves@redhat.com>
10332 Hui Zhu <hui@codesourcery.com>
10335 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
10336 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
10337 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
10338 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
10340 2014-05-28 Joel Brobecker <brobecker@adacore.com>
10342 * config/monitor.exp (gdb_target_monitor): Replace use of
10343 "set remotebaud" by "set serial baud".
10345 2014-05-26 Andy Wingo <wingo@igalia.com>
10347 * gdb.guile/scm-breakpoint.exp:
10348 * gdb.guile/scm-gsmob.exp: Update to use plain old object
10349 properties instead of gdb-object-properties.
10351 2014-05-26 Yao Qi <yao@codesourcery.com>
10353 * gdb.server/no-thread-db.exp: Specify source file name
10354 explicitly when setting a breakpoint.
10356 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10358 * gdb.btrace/vdso.c: New.
10359 * gdb.btrace/vdso.exp: New.
10361 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10363 * gdb.base/gcore.exp (capture_command_output): Move ...
10364 * lib/gdb.exp (capture_command_output): ... here.
10366 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10368 * gdb.btrace/data.exp: Test memory access during btrace replay.
10370 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
10372 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
10374 2014-05-21 Pedro Alves <palves@redhat.com>
10377 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
10378 (top level): Test that output related to execution commands is
10379 sent to the console with CLI commands, but not with MI commands.
10380 Test that breakpoint events are always mirrored to the console.
10381 Also expect the new source line to be output after a "next" in
10382 async mode too. Make it a pass/fail test.
10383 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
10385 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
10387 2014-05-21 Pedro Alves <palves@redhat.com>
10389 * gdb.base/list.exp (build_pattern, test_list): New procedures.
10390 Use them to test variations of "list" after reaching a breakpoint.
10391 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
10392 Test "list" with listsize 10 after reaching a breakpoint.
10393 * gdb.python/python.exp (decode_line current location line
10394 number): Adjust expected line number.
10396 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
10398 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
10399 behavior for $args, pass it directly to "run".
10401 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
10403 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
10406 2014-05-21 Pedro Alves <palves@redhat.com>
10408 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
10409 auto-connect-native-target off".
10410 * gdb.base/auto-connect-native-target.c: New file.
10411 * gdb.base/auto-connect-native-target.exp: New file.
10413 2014-05-21 Pedro Alves <palves@redhat.com>
10415 * gdb.base/default.exp: Test "target native" instead of "target
10418 2014-05-21 Mark Wielaard <mjw@redhat.com>
10420 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10422 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10424 Fix TLS access for -static -pthread.
10425 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
10426 <HAVE_TLS> (thread_function, main): Initialize it.
10427 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
10429 <$have_tls != "">: Check TLSVAR.
10431 2014-05-21 Pedro Alves <palves@redhat.com>
10433 * gdb.base/dcache-line-read-error.c: New.
10434 * gdb.base/dcache-line-read-error.exp: New.
10436 2014-05-20 Pedro Alves <palves@redhat.com>
10438 * gdb.base/compare-sections.c: New file.
10439 * gdb.base/compare-sections.exp: New file.
10441 2014-05-20 Pedro Alves <palves@redhat.com>
10443 * gdb.base/break-idempotent.c: New file.
10444 * gdb.base/break-idempotent.exp: New file.
10446 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
10448 * gdb.btrace/nohist.exp: New.
10450 2014-05-20 Yao Qi <yao@codesourcery.com>
10452 * lib/gdb.exp (gdb_init): Set timeout if test file is under
10453 gdb.reverse directory and gdb_reverse_timeout exists in board
10455 * README: Document gdb_reverse_timeout.
10457 2014-05-20 Yao Qi <yao@codesourcery.com>
10459 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
10460 'test_file_name'. Treat args as a string instead of a list.
10461 (gdb_init): Rename argument 'args' by 'test_file_name'.
10463 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10465 * gdb.arch/powerpc-power.exp: New file.
10466 * gdb.arch/powerpc-power.s: New file.
10468 2014-05-16 Doug Evans <dje@google.com>
10470 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
10471 * gdb.base/completion.exp: Check that all expected files exist
10472 before doing file completion.
10474 2014-05-16 Doug Evans <dje@google.com>
10476 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
10478 (do_syscall_tests_without_xml): Update.
10480 2014-05-16 Pedro Alves <palves@redhat.com>
10482 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
10483 instead of "unknown output after running".
10485 2014-05-16 Yao Qi <yao@codesourcery.com>
10487 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
10488 file1.txt from host at the end.
10489 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10491 2014-05-15 Doug Evans <dje@google.com>
10493 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
10494 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
10495 loading file. Add test for TU lookup.
10497 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10499 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
10500 calling "-exec-arguments" or "set args" before running the
10503 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10505 * lib/mi-support.exp (mi_expect_stop): Expect message for
10506 inferiors that exit with non-zero exit code.
10508 2014-05-14 Yao Qi <yao@codesourcery.com>
10510 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
10511 match absolute path on remote host.
10512 (test_file_list_exec_source_files): Remove "/" from the
10515 2014-05-14 Yao Qi <yao@codesourcery.com>
10517 * boards/local-remote-host-notty.exp (${board}_file): New
10520 2014-05-07 Kyle McMartin <kyle@redhat.com>
10522 Pushed by Joel Brobecker <brobecker@adacore.com>.
10523 * gdb.arch/aarch64-atomic-inst.c: New file.
10524 * gdb.arch/aarch64-atomic-inst.exp: New file.
10526 2014-05-07 Yao Qi <yao@codesourcery.com>
10528 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
10529 in current context" too.
10531 2014-05-05 Keith Seitz <keiths@redhat.com>
10533 * gdb.linespec/ls-dollar.exp: Add test for linespec
10534 file:convenience_variable.
10536 2014-05-05 Yao Qi <yao@codesourcery.com>
10538 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
10539 traceframes into tfile and ctf trace files. Read data from
10540 trace file and test collected data.
10541 (gdb_collect_locals_test): Likewise.
10542 (gdb_unavailable_registers_test): Likewise.
10543 (gdb_unavailable_floats): Likewise.
10544 (gdb_collect_globals_test): Likewise.
10545 (top-level): Append "ctf" to trace_file_targets if GDB
10548 2014-05-05 Yao Qi <yao@codesourcery.com>
10550 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
10552 (gdb_collect_args_test_1): ... it. New proc.
10553 (gdb_collect_locals_test): Move some code to ...
10554 (gdb_collect_locals_test_1): ... it. New proc.
10555 (gdb_unavailable_registers_test): Move some code to ...
10556 (gdb_unavailable_registers_test_1): ... it. New proc.
10557 (gdb_unavailable_floats): Move some code to ...
10558 (gdb_unavailable_floats_1): ... it. New proc.
10560 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10562 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
10563 probes to test for bitness recognition.
10564 * gdb.arch/amd64-stap-optional-prefix.exp
10565 (test_probe_value_without_reg): New procedure.
10566 Add code to test for different kinds of bitness.
10568 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10570 PR breakpoints/16889
10571 * gdb.arch/amd64-stap-optional-prefix.S: New file.
10572 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10574 2014-05-01 Pedro Alves <palves@redhat.com>
10576 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
10577 gdb_file_cmd if no file is specified.
10578 * boards/native-extended-gdbserver.exp (gdb_load): Use the
10579 last_loaded_file to set the remote exec-file.
10581 2014-05-01 Pedro Alves <palves@redhat.com>
10583 * boards/local-remote-host.exp: New file.
10585 2014-05-01 Pedro Alves <palves@redhat.com>
10587 * boards/local-remote-host.exp: Rename to ...
10588 * boards/local-remote-host-notty.exp: ... this.
10590 2014-04-28 Joel Brobecker <brobecker@adacore.com>
10592 * gdb.ada/dyn_arrayidx: New testcase.
10594 2014-04-26 Yao Qi <yao@codesourcery.com>
10596 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
10597 and compute the length of function main. Save it in
10599 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
10600 (top-level): Use gdb_compile to compile objects into
10601 executable and restart GDB. Remove invocation to
10602 prepare_for_testing.
10604 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
10605 Pedro Alves <palves@redhat.com>
10608 * gdb.multi/multi-attach.c: New file.
10609 * gdb.multi/multi-attach.exp: New file.
10611 2014-04-25 Pedro Alves <palves@redhat.com>
10613 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
10615 (top level): Test that "set remote conditional-breakpoints-packet
10616 off" works as intended.
10617 * gdb.base/dprintf.exp: Test that "set remote
10618 breakpoint-commands-packet off" works as intended.
10619 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
10621 (top level): Call it.
10622 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
10623 remote fast-tracepoints-packet off" works as intended.
10624 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
10625 * lib/gdb.exp (gdb_is_target_remote): ... here.
10627 2014-04-24 David Blaikie <dblaikie@gmail.com>
10629 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
10630 ensure clang would not discard them.
10631 * gdb.base/gdbvars.c: Ditto.
10632 * gdb.base/memattr.c: Ditto.
10633 * gdb.base/whatis.c: Ditto.
10634 * gdb.python/py-prettyprint.c: Ditto.
10635 * gdb.trace/actions.c: Ditto.
10636 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
10637 ensure clang would not discard it.
10639 2014-04-24 David Blaikie <dblaikie@gmail.com>
10641 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
10642 clang to emit the full definition of type required by the test
10643 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
10645 2014-04-24 David Blaikie <dblaikie@gmail.com>
10647 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
10648 coax Clang into emitting the definition of the type.
10649 * gdb.cp/pr10728-x.h (y): Ditto.
10650 * gdb.cp/pr10728-y.cc (y): Ditto.
10652 2014-04-24 David Blaikie <dblaikie@gmail.com>
10654 * gdb.base/label.exp: XFAIL label related tests under Clang.
10655 * gdb.cp/cplabel.exp: Ditto.
10656 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
10657 under Clang those using labels.
10659 2014-04-25 Yao Qi <yao@codesourcery.com>
10661 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
10663 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
10664 partial_label and double_label.
10666 2014-04-24 David Blaikie <dblaikie@gmail.com>
10668 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
10670 2014-04-24 David Blaikie <dblaikie@gmail.com>
10672 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
10673 of the function to work across GCC and Clang.
10674 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
10675 pointer types (const void ** const V void **).
10677 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
10678 Walfred Tedeschi <walfred.tedeschi@intel.com>
10680 * Makefile.in (EXECUTABLES): Added i386-avx512.
10681 * gdb.arch/i386-avx512.c: New file.
10682 * gdb.arch/i386-avx512.exp: Likewise.
10684 2014-04-23 Keith Seitz <keiths@redhat.com>
10686 * lib/mi-support.exp (mi_list_breakpoints): Delete.
10687 (mi_make_breakpoint_table): New procedure.
10688 (mi_create_breakpoint): Use mi_make_breakpoint
10689 and return the result.
10690 (mi_make_breakpoint): New procedure.
10691 (mi_build_kv_pairs): New procedure.
10693 * gdb.mi/mi-break.exp: Remove unused globals,
10694 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
10695 All callers updated.
10696 * gdb.mi/mi-dprintf.exp: Use variable to track command
10698 Update all callers of mi_create_breakpoint and use
10699 mi_make_breakpoint_table.
10700 Remove any unused global variables.
10701 * gdb.mi/mi-nonstop.exp: Likewise.
10702 * gdb.mi/mi-nsintrall.exp: Likewise.
10703 * gdb.mi/mi-nsmoribund.exp: Likewise.
10704 * gdb.mi/mi-nsthrexec.exp: Likewise.
10705 * gdb.mi/mi-reverse.exp: Likewise.
10706 * gdb.mi/mi-simplerun.exp: Likewise.
10707 * gdb.mi/mi-stepn.exp: Likewise.
10708 * gdb.mi/mi-syn-frame.exp: Likewise.
10709 * gdb.mi/mi-until.exp: Likewise.
10710 * gdb.mi/mi-var-cp.exp: Likewise.
10711 * gdb.mi/mi-var-display.exp: Likewise.
10712 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
10713 * gdb.mi/mi2-var-child.exp: Likewise.
10714 * gdb.mi/mi-vla-c99.exp: Likewise.
10715 * lib/mi-support.exp: Likewise.
10717 From Ian Lance Taylor <iant@cygnus.com>:
10718 * lib/gdb.exp (parse_args): New procedure.
10720 2014-04-23 Pedro Alves <palves@redhat.com>
10722 * gdb.base/break-unload-file.c: New file.
10723 * gdb.base/break-unload-file.exp: New file.
10724 * gdb.base/sym-file-lib.c (baz): New function.
10725 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
10727 (load): Store the segment's mapped size.
10728 (unload): New function.
10729 (unload_shlib): New function.
10730 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
10731 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
10732 set a breakpoint at baz, and call it.
10733 * gdb.base/sym-file.exp: New tests for stale breakpoint
10736 2014-04-23 Pedro Alves <palves@redhat.com>
10738 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
10739 * gdb.base/hbreak-in-shr-unsupported.c: New file.
10740 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
10741 * gdb.base/hbreak-unmapped.c: New file.
10742 * gdb.base/hbreak-unmapped.exp: New file.
10743 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
10744 * lib/gdb.exp (gdb_is_target_remote): ... here.
10746 2014-04-22 Pedro Alves <palves@redhat.com>
10748 * gdb.base/consecutive-step-over.c: New file.
10749 * gdb.base/consecutive-step-over.exp: New file.
10751 2014-04-22 Pedro Alves <palves@redhat.com>
10753 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
10754 instead of send_gdb/gdb_expect.
10756 2014-04-22 Yao Qi <yao@codesourcery.com>
10758 * lib/trace-support.exp (generate_tracefile): New procedure.
10759 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
10761 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
10762 if generate_tracefile returns 1.
10764 2014-04-18 Tom Tromey <palves@redhat.com>
10765 Pedro alves <tromey@redhat.com>
10768 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
10769 with a backtrace limit.
10770 * gdb.python/py-frame-inline.exp: Test running to an inline
10771 function with a backtrace limit, and printing the newest frame.
10772 * gdb.python/py-frame-inline.c (main): Call f.
10774 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10776 * gdb.java/jnpe.exp: Drop srcdir from untested path.
10778 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10780 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
10781 Drop prefix from unsupported source file path.
10783 2014-04-17 Yao Qi <yao@codesourcery.com>
10785 * lib/gdb.exp (with_target_charset): New proc.
10786 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10787 with_target_charset.
10788 (test_print_strings): Likewise.
10789 (test_repeat_bytes): Likewise.
10790 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10793 2014-04-16 Keith Seitz <keiths@redhat.com>
10796 * gdb.dwarf2/corrupt.c: New file.
10797 * gdb.dwarf2/corrupt.exp: New file.
10799 2014-04-16 Keith Seitz <keiths@redhat.com>
10802 * gdb.cp/namelessclass.cc: New file.
10803 * gdb.cp/namelessclass.exp: New file.
10804 * gdb.cp/namelessclass.S: New file.
10806 2014-04-16 Doug Evans <dje@google.com>
10808 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10810 (gdbserver_default_get_comm_port): New function.
10811 (gdbserver_start): Check if board file provided
10812 "gdbserver,get_comm_port" and use it if so.
10813 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10814 (gdb,socketport): Set to "stdio".
10815 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10816 (stdio_gdbserver_template): Delete.
10817 (${board}_get_remote_address): Update.
10818 (${board}_build_remote_cmd): Delete.
10819 (${board}_get_comm_port): New function.
10820 (${board}_spawn): Update.
10821 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10823 (${board}_get_remote_address): Update.
10824 (${board}_get_comm_port): New function.
10826 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
10828 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10829 appearing in any order.
10831 2014-04-15 Doug Evans <dje@google.com>
10833 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10834 uninitialized value of "description".
10836 2014-04-15 Keith Seitz <keiths@redhat.com>
10838 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10839 Remove unused globals.
10840 (test_running_the_program): Likewise.
10841 (test_controlled_execution): Likewise.
10842 (test_controlling_breakpoints): Likewise.
10843 (test_program_termination): Likewise.
10845 2014-04-15 Keith Seitz <keiths@redhat.com>
10847 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10849 (test_rbreak_creation_and_listing): Likewise.
10850 (test_ignore_count): Likewise.
10851 (test_error): Likewise.
10853 2014-04-15 Pedro Alves <palves@redhat.com>
10855 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10856 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10858 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10859 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10860 to sym-file-loader.c.
10861 (struct library): Forward declare.
10862 (load_shlib, lookup_function): Change prototypes.
10863 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10864 (translate_offset): Remove declarations.
10865 (get_text_addr): New declaration.
10866 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10867 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10869 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10870 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10871 here from sym-file-loader.h.
10872 (struct library): New structure.
10873 (load_shlib, lookup_function): Change prototypes and adjust to
10874 work with a struct library.
10875 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10876 (translate_offset): Make static.
10877 (get_text_addr): New function.
10878 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
10880 2014-04-15 Pedro Alves <palves@redhat.com>
10882 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
10884 2014-04-15 Pedro Alves <palves@redhat.com>
10886 * gdb.base/sym-file-loader.c: Include <limits.h>.
10887 (SELF_LINK): New define.
10888 (get_origin): New function.
10889 (load_shlib): Use it.
10890 * gdb.base/sym-file.exp: Don't early return if the target is
10891 remote. Use runto_main, and issue fail is that fails. Use
10893 (shlib_name): Delete.
10894 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
10896 2014-04-15 Pedro Alves <palves@redhat.com>
10898 * gdb.base/sym-file.exp: Remove regex characters from test
10899 message. Don't refer to breakpoint numbers in test messages.
10901 2014-04-14 Keith Seitz <keiths@redhat.com>
10904 * gdb.cp/var-tag.cc: New file.
10905 * gdb.cp/var-tag.exp: New file.
10906 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10907 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10908 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10909 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10911 2014-04-14 Tom Tromey <tromey@redhat.com>
10913 * gdb.cp/classes.exp (test_enums): Handle underlying type.
10914 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
10916 * gdb.cp/enum-class.exp: New file.
10917 * gdb.cp/enum-class.cc: New file.
10919 2014-04-14 Tom Tromey <tromey@redhat.com>
10921 * gdb.dwarf2/enum-type.exp: New file.
10923 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10925 * gdb.mi/mi-vla-c99.exp: New file.
10926 * gdb.mi/vla.c: New file.
10928 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10930 * gdb.base/vla-datatypes.c: New file.
10931 * gdb.base/vla-datatypes.exp: New file.
10933 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10935 * gdb.base/vla-ptr.c: New file.
10936 * gdb.base/vla-ptr.exp: New file.
10938 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10940 * gdb.dwarf2/count.exp: New file.
10942 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10944 * gdb.base/vla-sideeffect.c: New file.
10945 * gdb.base/vla-sideeffect.exp: New file.
10947 2014-04-14 David Blaikie <dblaikie@gmail.com>
10949 * gdb.mi/non-stop.c: Add return value for non-void function return
10951 * gdb.threads/staticthreads.c: Ditto.
10953 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
10954 Doug Evans <xdje42@gmail.com>
10956 * gdb.guile/scm-value.c: Improve test case.
10957 * gdb.guile/scm-value.exp: Add new test.
10959 2014-04-11 David Blaikie <dblaikie@gmail.com>
10961 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
10962 override Clang's default.
10964 2014-04-11 Joel Brobecker <brobecker@adacore.com>
10966 Revert the following changes (regressions):
10968 * gdb.base/vla-sideeffect.c: New file.
10969 * gdb.base/vla-sideeffect.exp: New file.
10971 * gdb.dwarf2/count.exp: New file.
10973 * gdb.base/vla-multi.c: New file.
10974 * gdb.base/vla-multi.exp: New file.
10976 * gdb.base/vla-ptr.c: New file.
10977 * gdb.base/vla-ptr.exp: New file.
10979 * gdb.base/vla-datatypes.c: New file.
10980 * gdb.base/vla-datatypes.exp: New file.
10982 * gdb.mi/mi-vla-c99.exp: New file.
10983 * gdb.mi/vla.c: New file.
10985 2014-04-11 Keith Seitz <keiths@redhat.com>
10988 * gdb.cp/cpsizeof.exp: New file.
10989 * gdb.cp/cpsizeof.cc: New file.
10991 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10993 * gdb.mi/mi-vla-c99.exp: New file.
10994 * gdb.mi/vla.c: New file.
10996 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10998 * gdb.base/vla-datatypes.c: New file.
10999 * gdb.base/vla-datatypes.exp: New file.
11001 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11003 * gdb.base/vla-ptr.c: New file.
11004 * gdb.base/vla-ptr.exp: New file.
11006 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11008 * gdb.base/vla-multi.c: New file.
11009 * gdb.base/vla-multi.exp: New file.
11011 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11013 * gdb.dwarf2/count.exp: New file.
11015 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11017 * gdb.base/vla-sideeffect.c: New file.
11018 * gdb.base/vla-sideeffect.exp: New file.
11020 2014-04-11 Yao Qi <yao@codesourcery.com>
11022 * gdb.base/completion.exp: Check file exists before running tests
11023 on file completion.
11025 2014-04-10 Pedro Alves <palves@redhat.com>
11027 * gdb.base/cond-eval-mode.c: New file.
11028 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
11029 prepare_for_testing to build the new file. Check result of
11031 (test_break, test_watch): New procedures.
11032 (top level): Use them.
11034 2014-04-08 Pierre Muller <muller@sourceware.org>
11036 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
11037 Ctrl-V use for mingw hosts.
11039 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
11041 * gdb.python/py-value.c: Improve test case.
11042 * gdb.python/py-value.exp: Add new test.
11044 2014-04-07 David Blaikie <dblaikie@gmail.com>
11046 * lib/compiler.c: Identify the clang compiler.
11047 * lib/compiler.cc: Ditto.
11049 2014-04-03 Yao Qi <yao@codesourcery.com>
11051 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
11053 2014-04-01 Anton Blanchard <anton@samba.org>
11055 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
11058 2014-04-01 Anton Blanchard <anton@samba.org>
11060 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
11061 prepare_for_testing.
11063 2014-04-01 Anton Blanchard <anton@samba.org>
11065 * gdb.arch/ppc64-atomic-inst.c: Remove.
11066 * gdb.arch/ppc64-atomic-inst.S: New file.
11067 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
11069 2014-03-31 Doug Evans <dje@google.com>
11071 * gdb.base/print-symbol-loading-lib.c: New file.
11072 * gdb.base/print-symbol-loading-main.c: New file.
11073 * gdb.base/print-symbol-loading.exp: New file.
11075 2014-03-31 Yao Qi <yao@codesourcery.com>
11077 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
11079 2014-03-28 Joel Brobecker <brobecker@adacore.com>
11081 * gdb.ada/mi_dyn_arr: New testcase.
11083 2014-03-27 Doug Evans <dje@google.com>
11085 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
11087 2014-03-27 Yao Qi <yao@codesourcery.com>
11089 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
11090 if target is nios2-*-*.
11092 2014-03-26 Yao Qi <yao@codesourcery.com>
11094 * lib/gdb.exp (readline_is_used): New proc.
11095 * gdb.base/completion.exp: Move tests on command complete up.
11096 Skip the rest of tests if readline is not used.
11097 * gdb.ada/complete.exp: Skp the test if readline is not
11099 * gdb.base/filesym.exp: Likewise.
11100 * gdb.base/macscp.exp: Likewise.
11101 * gdb.base/readline-ask.exp: Likewise.
11102 * gdb.base/readline.exp: Likewise.
11103 * gdb.python/py-cmd.exp: Likewise.
11104 * gdb.trace/tfile.exp: Likewise.
11106 2014-03-26 Yao Qi <yao@codesourcery.com>
11108 * gdb.base/macscp.exp: Fix code format issues.
11110 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
11112 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
11113 * gdb.asm/powerpc64le.inc: New file.
11115 2014-03-25 Pedro Alves <palves@redhat.com>
11116 Doug Evans <dje@google.com>
11118 * gdb.base/source-execution.c: New file.
11119 * gdb.base/source-execution.exp: New file.
11120 * gdb.base/source-execution.gdb: New file.
11122 2014-03-24 Doug Evans <dje@google.com>
11124 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
11127 2014-03-24 Hui Zhu <hui@codesourcery.com>
11128 Pedro Alves <palves@redhat.com>
11130 PR breakpoints/16101
11131 * gdb.base/dprintf.exp: Use unsupported rather than changing the
11132 test pass/fail messages. Detect missing support for dprintf when
11133 breakpoints are actually inserted.
11134 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
11135 breakpoints are actually inserted.
11136 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
11139 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11141 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
11143 2014-03-22 Doug Evans <xdje42@gmail.com>
11145 * gdb.python/python.exp (python not supported): Verify multi-line
11146 python command issues an error.
11147 * gdb.guile/guile.exp (guile not supported): Verify multi-line
11148 guile command issues an error.
11150 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
11152 * gdb.threads/thread-specific.exp: Handle the lack of usable
11153 $this_breakpoint and $this_thread.
11155 2014-03-21 Hui Zhu <hui@codesourcery.com>
11157 * gdb.base/attach.exp (do_command_attach_tests): New.
11159 2014-03-20 Tom Tromey <tromey@redhat.com>
11160 Pedro Alves <palves@redhat.com>
11163 * gdb.base/condbreak-call-false.c: New file.
11164 * gdb.base/condbreak-call-false.exp: New file.
11166 2014-03-20 Pedro Alves <palves@redhat.com>
11168 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
11170 (block_signals, unblock_signals): Delete.
11171 (child_function_2, main): Remove references to deleted variable
11174 2014-03-20 Pedro Alves <palves@redhat.com>
11176 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
11177 Use pthread_kill to signal thread 2.
11178 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11179 Adjust to make the test send itself a signal rather than using the
11180 host's "kill" command.
11182 2014-03-20 Pedro Alves <palves@redhat.com>
11184 * gdb.threads/multiple-step-overs.c: New file.
11185 * gdb.threads/multiple-step-overs.exp: New file.
11186 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11187 Adjust expected infrun debug output.
11189 2014-03-20 Pedro Alves <palves@redhat.com>
11191 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
11192 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
11194 2014-03-20 Pedro Alves <palves@redhat.com>
11196 PR breakpoints/7143
11197 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
11198 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
11199 of gdb_test_multiple.
11200 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
11201 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
11203 2014-03-20 Pedro Alves <palves@redhat.com>
11205 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
11206 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
11208 2014-03-19 Pedro Alves <palves@redhat.com>
11210 * gdb.base/async.exp: Remove early return.
11212 2014-03-19 Pedro Alves <palves@redhat.com>
11214 * gdb.base/async.exp (step& tests): Pass explicit test messages.
11216 2014-03-19 Pedro Alves <palves@redhat.com>
11218 * gdb.base/async.exp (test_background): Expect \r\n after
11219 "completed." in the fail pattern.
11221 2014-03-19 Pedro Alves <palves@redhat.com>
11223 * gdb.base/async.exp (test_background): New procedure.
11224 Use it for all background execution command tests.
11226 2014-03-19 Pedro Alves <palves@redhat.com>
11228 * gdb.base/async.exp: Use prepare_for_testing.
11230 2014-03-19 Pedro Alves <palves@redhat.com>
11232 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
11235 2014-03-19 Pedro Alves <palves@redhat.com>
11237 * gdb.base/async.c (main): Add "jump here" and "until here" line
11239 * gdb.base/async.exp (jump_here): New global.
11240 (jump& test): Use it.
11241 (until_here): New global.
11242 (until& test): Use it.
11244 2014-03-19 Pedro Alves <palves@redhat.com>
11246 * gdb.base/async.exp: Don't frob gdb_protocol.
11248 2014-03-18 Doug Evans <xdje42@gmail.com>
11250 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
11251 Fix spelling of exec-done-display.
11253 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
11256 * gdb.base/gdb-sigterm.c: New file.
11257 * gdb.base/gdb-sigterm.exp: New file.
11259 2014-03-18 Pedro Alves <palves@redhat.com>
11262 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
11263 * lib/mi-support.exp (mi_expect_stop): Add special handling for
11266 2014-03-17 Joel Brobecker <brobecker@adacore.com>
11268 * gdb.ada/pckd_arr_ren: New testcase.
11270 2014-03-13 Doug Evans <xdje42@gmail.com>
11273 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
11274 collect after discarding symbols.
11276 2014-03-13 Ludovic Courtès <ludo@gnu.org>
11277 Doug Evans <xdje42@gmail.com>
11279 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
11280 to history survives a gc.
11282 2014-03-13 Pedro Alves <palves@redhat.com>
11284 * gdb.base/default.exp: Don't test "target procfs".
11286 2014-03-13 Pedro Alves <palves@redhat.com>
11288 * gdb.base/default.exp: Update "target child" and "target procfs"
11289 tests to not expect "Unix".
11291 2014-03-12 Tom Tromey <tromey@redhat.com>
11293 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
11294 New procs. Add target-async tests.
11295 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
11296 Add target-async tests.
11298 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11300 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
11301 'func_start' and 'func_end' for the beginning and end of the
11302 function code, respectively.
11303 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
11304 'func_end' instead of 'func' and 'main'.
11306 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11308 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
11309 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
11310 generate the debug info assembler source.
11312 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11314 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
11315 * gdb.dwarf2/arr-subrange.exp: Likewise.
11316 * gdb.dwarf2/dwz.exp: Likewise.
11317 * gdb.dwarf2/method-ptr.exp: Likewise.
11318 * gdb.dwarf2/missing-sig-type.exp: Likewise.
11319 * gdb.dwarf2/subrange.exp: Likewise.
11320 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
11321 * gdb.dwarf2/implptrpiece.exp: Likewise.
11322 * gdb.dwarf2/nostaticblock.exp: Likewise.
11324 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11326 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
11327 directory to absolute path name arguments.
11329 2014-03-10 Joel Brobecker <brobecker@adacore.com>
11331 * gdb.ada/tagged_access: New testcase.
11333 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
11335 * gdb.btrace/data.exp: Update expected output.
11337 2014-03-06 Yao Qi <yao@codesourcery.com>
11339 * gdb.trace/pr16508.exp: New file.
11341 2014-03-05 Pedro Alves <palves@redhat.com>
11344 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
11346 (top level): Adjust to use it. Add tests that exercise breakpoint
11347 interaction with the code-cache.
11349 2014-02-26 Ludovic Courtès <ludo@gnu.org>
11351 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
11352 test for 'history-append!'.
11354 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11356 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
11357 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
11358 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
11359 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
11360 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
11361 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
11363 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11365 * testsuite/gdb.python/py-pp-re-notag.c: New file.
11366 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
11367 * testsuite/gdb.python/py-pp-re-notag.p: New file.
11369 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11371 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
11373 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11375 * gdb.dwarf2/arr-stride.c: New file.
11376 * gdb.dwarf2/arr-stride.exp: New file.
11378 2014-02-26 Pedro Alves <palves@redhat.com>
11380 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
11381 that won't ever trigger. Make sure that GDB reports the correct
11382 breakpoint that caused the stop.
11384 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11387 * gdb.base/auto-load-script: New file.
11388 * gdb.base/auto-load.c: New file.
11389 * gdb.base/auto-load.exp: New file.
11392 * gdb.base/auto-load.exp: Fix out-of-srctree run.
11394 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11396 Fix dw2-icycle.exp -fsanitize=address GDB crash.
11397 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
11399 2014-02-24 Doug Evans <dje@google.com>
11401 * lib/gdb.exp (run_on_host): Log error output if program fails.
11403 2014-02-21 Pedro Alves <palves@redhat.com>
11405 * gdb.threads/step-after-sr-lock.c: Rename to ...
11406 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
11407 * gdb.threads/step-after-sr-lock.exp: Rename to ...
11408 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11411 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
11414 * gdb.arch/amd64-stap-special-operands.exp: New file.
11415 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
11416 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
11417 * gdb.arch/amd64-stap-triplet.S: Likewise.
11418 * gdb.arch/amd64-stap-triplet.c: Likewise.
11420 2014-02-20 Joel Brobecker <brobecker@adacore.com>
11422 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
11423 in .section pseudo-op.
11425 2014-02-20 lin zuojian <manjian2006@gmail.com>
11426 Joel Brobecker <brobecker@adacore.com>
11427 Doug Evans <xdje42@gmail.com>
11430 * gdb.dwarf2/dw2-icycle.S: New file.
11431 * gdb.dwarf2/dw2-icycle.c: New file.
11432 * gdb.dwarf2/dw2-icycle.exp: New file.
11434 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
11436 * gdb.python/py-value-cc.cc: Improve test case to enable testing
11437 operations on gdb.Value objects.
11438 * gdb.python/py-value-cc.exp: Add new test to test operations on
11441 2014-02-18 Doug Evans <dje@google.com>
11443 * Makefile.in (TESTS): New variable.
11444 (expanded_tests, expanded_tests_or_none): New variables
11445 (check-single): Pass $(expanded_tests_or_none) to runtest.
11446 (check-parallel): Only run tests in $(TESTS) if non-empty.
11447 (check/no-matching-tests-found): New rule.
11448 * README: Document TESTS makefile variable.
11450 2014-02-18 Doug Evans <dje@google.com>
11452 * Makefile.in (check-parallel): rm -rf outputs temp.
11454 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11456 Fix "ERROR: no fileid for" in the testsuite.
11457 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
11459 2014-02-12 Doug Evans <dje@google.com>
11461 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
11462 (MISCELLANEOUS): New variable.
11463 (clean): rm -rf $(MISCELLANEOUS).
11464 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
11465 dwp live in the same directory as symlinks, with each symlink pointed
11466 to a differently named file in a different directory.
11468 2014-02-11 Doug Evans <dje@google.com>
11470 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
11471 of Tcl file commands.
11473 2014-02-10 Mark Kettenis <kettenis@gnu.org>
11475 * gdb.threads/step-after-sr-lock.exp: Avoid executing
11476 "kill -SIGUSR1 -1".
11478 2014-02-10 Joel Brobecker <brobecker@adacore.com>
11480 * gdb.ada/tick_length_array_enum_idx: New testcase.
11482 2014-02-10 Doug Evans <xdje42@gmail.com>
11484 * configure.ac (AC_OUTPUT): Add gdb.guile.
11485 * configure: Regenerate.
11486 * lib/gdb-guile.exp: New file.
11487 * lib/gdb.exp (get_target_charset): New function.
11488 * gdb.base/help.exp: Update expected output from "apropos apropos".
11489 * gdb.guile/Makefile.in: New file.
11490 * gdb.guile/guile.exp: New file.
11491 * gdb.guile/scm-arch.c: New file.
11492 * gdb.guile/scm-arch.exp: New file.
11493 * gdb.guile/scm-block.c: New file.
11494 * gdb.guile/scm-block.exp: New file.
11495 * gdb.guile/scm-breakpoint.c: New file.
11496 * gdb.guile/scm-breakpoint.exp: New file.
11497 * gdb.guile/scm-disasm.c: New file.
11498 * gdb.guile/scm-disasm.exp: New file.
11499 * gdb.guile/scm-equal.c: New file.
11500 * gdb.guile/scm-equal.exp: New file.
11501 * gdb.guile/scm-error.exp: New file.
11502 * gdb.guile/scm-error.scm: New file.
11503 * gdb.guile/scm-frame-args.c: New file.
11504 * gdb.guile/scm-frame-args.exp: New file.
11505 * gdb.guile/scm-frame-args.scm: New file.
11506 * gdb.guile/scm-frame-inline.c: New file.
11507 * gdb.guile/scm-frame-inline.exp: New file.
11508 * gdb.guile/scm-frame.c: New file.
11509 * gdb.guile/scm-frame.exp: New file.
11510 * gdb.guile/scm-generics.exp: New file.
11511 * gdb.guile/scm-gsmob.exp: New file.
11512 * gdb.guile/scm-iterator.c: New file.
11513 * gdb.guile/scm-iterator.exp: New file.
11514 * gdb.guile/scm-math.c: New file.
11515 * gdb.guile/scm-math.exp: New file.
11516 * gdb.guile/scm-objfile-script-gdb.in: New file.
11517 * gdb.guile/scm-objfile-script.c: New file.
11518 * gdb.guile/scm-objfile-script.exp: New file.
11519 * gdb.guile/scm-objfile.c: New file.
11520 * gdb.guile/scm-objfile.exp: New file.
11521 * gdb.guile/scm-ports.exp: New file.
11522 * gdb.guile/scm-pretty-print.c: New file.
11523 * gdb.guile/scm-pretty-print.exp: New file.
11524 * gdb.guile/scm-pretty-print.scm: New file.
11525 * gdb.guile/scm-section-script.c: New file.
11526 * gdb.guile/scm-section-script.exp: New file.
11527 * gdb.guile/scm-section-script.scm: New file.
11528 * gdb.guile/scm-symbol.c: New file.
11529 * gdb.guile/scm-symbol.exp: New file.
11530 * gdb.guile/scm-symtab-2.c: New file.
11531 * gdb.guile/scm-symtab.c: New file.
11532 * gdb.guile/scm-symtab.exp: New file.
11533 * gdb.guile/scm-type.c: New file.
11534 * gdb.guile/scm-type.exp: New file.
11535 * gdb.guile/scm-value-cc.cc: New file.
11536 * gdb.guile/scm-value-cc.exp: New file.
11537 * gdb.guile/scm-value.c: New file.
11538 * gdb.guile/scm-value.exp: New file.
11539 * gdb.guile/source2.scm: New file.
11540 * gdb.guile/types-module.cc: New file.
11541 * gdb.guile/types-module.exp: New file.
11543 2014-02-10 Yao Qi <yao@codesourcery.com>
11546 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
11547 * configure: Regenerated.
11548 * Makefile.in: New file.
11550 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11552 * gdb.python/py-framefilter.exp: Fix typo.
11554 2014-02-08 Yao Qi <yao@codesourcery.com>
11556 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
11557 that no =breakpoint-modified is emitted when breakpoints are
11558 modified through MI commands.
11560 2014-02-07 Pedro Alves <pedro@codesourcery.com>
11561 Pedro Alves <palves@redhat.com>
11563 * gdb.threads/step-after-sr-lock.c: New file.
11564 * gdb.threads/step-after-sr-lock.exp: New file.
11566 2014-02-07 Pedro Alves <palves@redhat.com>
11568 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
11570 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11572 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
11573 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
11575 2014-02-06 Doug Evans <xdje42@gmail.com>
11577 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
11580 * gdb.gdb/python-interrupts.exp: New file.
11582 2014-02-05 Yao Qi <yao@codesourcery.com>
11584 * gdb.trace/report.exp (use_collected_data): Test the output
11585 of "info threads" and "info inferiors".
11587 2014-02-05 Yao Qi <yao@codesourcery.com>
11591 2013-05-24 Yao Qi <yao@codesourcery.com>
11593 * gdb.trace/tfile.exp: Test inferior and thread.
11595 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11597 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
11599 * gdb.base/step-bt.c: Call hello via function pointer to make
11600 sure its first instruction is executed on powerpc64le-linux.
11602 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11604 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
11606 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11608 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
11609 of the test patterns for use on little-endian systems.
11611 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11613 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
11614 (decimal_vector): Fix for little-endian.
11616 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11618 * gdb.arch/sparc-sysstep.exp: New file.
11619 * gdb.arch/sparc-sysstep.c: Likewise.
11621 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
11623 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11625 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
11627 2014-01-23 Tom Tromey <tromey@redhat.com>
11629 * gdb.ada/array_char_idx: New testcase.
11631 2014-01-23 Tom Tromey <tromey@redhat.com>
11634 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
11635 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
11638 2014-01-23 Tom Tromey <tromey@redhat.com>
11641 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
11642 string from an inferior frame.
11643 * gdb.python/py-framefilter-mi.exp: Update.
11645 2014-01-22 Doug Evans <dje@google.com>
11647 * gdb.server/server-mon.exp: Add tests for "set debug-format".
11649 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11651 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
11653 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11655 * gdb.trace/entry-values.exp: Remove excess space character from
11656 regex patterns. Handle s390 call instruction.
11658 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11660 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
11661 define "*_start" label. Make "name" static.
11662 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
11663 ${name} by references to ${name}_start.
11665 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11667 * gdb.base/info-macros.exp: Remove "debug" from the compile
11670 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11672 * gdb.dlang/demangle.exp: New file.
11674 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11676 * gdb.dlang/primitive-types.exp: New file.
11678 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11680 * configure.ac: Create gdb.dlang/Makefile.
11681 * configure: Regenerate.
11682 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
11683 * gdb.dlang/Makefile.in: New file.
11684 * lib/d-support.exp: New file.
11685 * lib/gdb.exp (skip_d_tests): New proc.
11687 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11689 * gdb.btrace/delta.exp: Check reverse stepi.
11690 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
11691 * gdb.btrace/finish.exp: New.
11692 * gdb.btrace/next.exp: New.
11693 * gdb.btrace/nexti.exp: New.
11694 * gdb.btrace/record_goto.c: Add comments.
11695 * gdb.btrace/step.exp: New.
11696 * gdb.btrace/stepi.exp: New.
11697 * gdb.btrace/multi-thread-step.c: New.
11698 * gdb.btrace/multi-thread-step.exp: New.
11699 * gdb.btrace/rn-dl-bind.c: New.
11700 * gdb.btrace/rn-dl-bind.exp: New.
11701 * gdb.btrace/data.c: New.
11702 * gdb.btrace/data.exp: New.
11703 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11705 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11707 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
11708 * gdb.btrace/exception.exp: Update.
11709 * gdb.btrace/instruction_history.exp: Update.
11710 * gdb.btrace/record_goto.exp: Update.
11711 * gdb.btrace/tailcall.exp: Update.
11712 * gdb.btrace/unknown_functions.exp: Update.
11713 * gdb.btrace/delta.exp: New.
11715 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11717 * gdb.btrace/record_goto.exp: Add backtrace test.
11718 * gdb.btrace/tailcall.exp: Add backtrace test.
11720 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11722 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
11723 * gdb.btrace/record_goto.c: New.
11724 * gdb.btrace/record_goto.exp: New.
11725 * gdb.btrace/x86-record_goto.S: New.
11727 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11729 * gdb.btrace/function_call_history.exp: Update tests.
11730 * gdb.btrace/instruction_history.exp: Update tests.
11732 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11734 * gdb.btrace/function_call_history.exp: Fix expected field
11735 order for "record function-call-history".
11736 Add new tests for "record function-call-history /c".
11737 * gdb.btrace/exception.cc: New.
11738 * gdb.btrace/exception.exp: New.
11739 * gdb.btrace/tailcall.exp: New.
11740 * gdb.btrace/x86-tailcall.S: New.
11741 * gdb.btrace/x86-tailcall.c: New.
11742 * gdb.btrace/unknown_functions.c: New.
11743 * gdb.btrace/unknown_functions.exp: New.
11744 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11746 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11748 * gdb.btrace/instruction_history.exp: Update.
11749 * gdb.btrace/function_call_history.exp: Update.
11751 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11753 * gdb.btrace/function_call_history.exp: Fix expected function
11755 * gdb.btrace/instruction_history.exp: Initialize traced.
11756 Remove traced_functions.
11758 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11760 * gdb.btrace/function_call_history.exp: Update
11761 * gdb.btrace/instruction_history.exp: Update.
11763 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11765 * gdb.btrace/enable.exp: Update expected text.
11767 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
11769 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
11772 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
11774 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
11776 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11778 * lib/gdb.exp (supports_process_record): Return true for
11779 arm*-linux*. (supports_reverse): Likewise.
11781 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11785 * gdb.python/py-type.c: Enhance test case.
11786 * gdb.python/py-value-cc.cc: Likewise
11787 * gdb.python/py-type.exp: Add new tests.
11788 * gdb.python/py-value-cc.exp: Likewise
11790 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11791 Pedro Alves <palves@redhat.com>
11793 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11794 Make "name" extern.
11795 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11796 references to ${name}_start by references to ${name}.
11798 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11800 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11802 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11804 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11806 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11807 Pedro Alves <palves@redhat.com>
11809 * gdb.mi/mi-info-os.exp: Connect to the target with
11810 mi_gdb_target_load.
11812 2014-01-08 Pedro Alves <palves@redhat.com>
11814 * gdb.threads/reconnect-signal.c: New file.
11815 * gdb.threads/reconnect-signal.exp: New file.
11817 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11819 * gdb.base/source-dir.exp: New file.
11821 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11823 * gdb.ada/mi_interface: New testcase.
11825 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11827 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11828 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11829 gdb.ada/pp-rec-component/pck.ads: New files.
11831 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11833 * gdb.python/py-pp-integral.c: New file.
11834 * gdb.python/py-pp-integral.py: New file.
11835 * gdb.python/py-pp-integral.exp: New file.
11837 For older changes see ChangeLog-1993-2013.
11839 ;; Local Variables:
11840 ;; mode: change-log
11843 ;; version-control: never
11846 Copyright 2014-2017 Free Software Foundation, Inc.
11847 Copying and distribution of this file, with or without modification,
11848 are permitted provided the copyright notice and this notice are preserved.