1 2017-07-17 Pedro Alves <palves@redhat.com>
3 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
5 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
7 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
9 2017-07-14 Tom Tromey <tom@tromey.com>
12 * gdb.rust/simple.exp: Add tests.
14 2017-07-14 Tom Tromey <tom@tromey.com>
16 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
18 2017-07-14 Pedro Alves <palves@redhat.com>
20 * gdb.linespec/base/one/thefile.cc (z1): New function.
21 * gdb.linespec/base/two/thefile.cc (z2): New function.
22 * gdb.linespec/linespec.exp: Add tests.
24 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
26 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
27 to mi_create_breakpoint.
29 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
31 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
34 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
36 * gdb.dlang/demangle.exp: Update for demangling changes.
38 2017-07-09 Tom Tromey <tom@tromey.com>
40 * gdb.dwarf2/shortpiece.exp: New file.
42 2017-07-06 David Blaikie <dblaikie@gmail.com>
44 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
45 built from fissiont-multi-cu{1,2}.c.
46 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
47 except putting 'main' and 'func' in separate CUs in the same DWO file.
48 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
50 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
53 2017-07-06 Pedro Alves <palves@redhat.com>
55 * gdb.python/py-unwind.exp: Test flushregs.
57 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
60 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
61 tests for alias commands and trailing whitespace.
63 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
66 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
69 2017-06-29 Pedro Alves <palves@redhat.com>
71 * gdb.base/printcmds.exp: Add tests.
73 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
76 * gdb.base/reread-readsym.exp: New file.
77 * gdb.base/reread-readsym.c: New file.
79 2017-06-21 Kevin Buettner <kevinb@redhat.com>
81 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
84 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
86 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
88 * gdb.arch/powerpc-power9.s: Likewise.
90 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
92 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
93 on 32-bit x86 targets. Exploit is_*_target macros where
96 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
98 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
101 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
103 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
104 located in one or more DWARF pieces.
106 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
108 * lib/gdb.exp (get_endianness): New proc.
109 * gdb.arch/aarch64-fp.exp: Use it.
110 * gdb.arch/altivec-regs.exp: Likewise.
111 * gdb.arch/e500-regs.exp: Likewise.
112 * gdb.arch/vsx-regs.exp: Likewise.
113 * gdb.base/dump.exp: Likewise.
114 * gdb.base/funcargs.exp: Likewise.
115 * gdb.base/gnu_vector.exp: Likewise.
116 * gdb.dwarf2/formdata16.exp: Likewise.
117 * gdb.dwarf2/implptrpiece.exp: Likewise.
118 * gdb.dwarf2/nonvar-access.exp: Likewise.
119 * gdb.python/py-inferior.exp: Likewise.
120 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
122 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
125 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
126 stack value pieces are taken from the LSB end.
128 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
130 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
131 variable at nonzero offset.
133 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
135 * gdb.dwarf2/var-access.c: New file.
136 * gdb.dwarf2/var-access.exp: New test.
137 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
139 2017-06-12 Tom Tromey <tom@tromey.com>
141 * gdb.dwarf2/formdata16.exp: Add tests.
143 2017-06-12 Tom Tromey <tom@tromey.com>
145 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
147 2017-06-12 Tom Tromey <tom@tromey.com>
150 * gdb.reverse/i386-sse-reverse.exp: Update tests.
151 * gdb.arch/vsx-regs.exp: Update tests.
152 * gdb.arch/s390-vregs.exp (hex128): New proc.
154 * gdb.arch/altivec-regs.exp: Update tests.
156 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
158 * gdb.base/startup-with-shell.c: New file.
159 * gdb.base/startup-with-shell.exp: Likewise.
161 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
163 * gdb.server/non-existing-program.exp: Update regex in order to
164 reflect the fact that gdbserver is now using fork_inferior (with a
165 shell) to startup the inferior.
167 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
169 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
170 support function calls from GDB.
172 2017-05-21 Tom Tromey <tom@tromey.com>
175 * gdb.rust/unsized.exp: New file.
176 * gdb.rust/unsized.rs: New file.
178 2017-05-19 Tom Tromey <tom@tromey.com>
181 * gdb.rust/watch.exp: New file.
182 * gdb.rust/watch.rs: New file.
184 2017-05-18 Tom Tromey <tom@tromey.com>
186 * gdb.rust/simple.exp: Allow Box to be qualified.
188 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
190 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
192 2017-05-18 Pedro Alves <palves@redhat.com>
194 * gdb.base/fileio.c (test_write, test_read, test_close)
195 (test_fstat): Don't print 'ret' in the fail path.
197 2017-05-18 Pedro Alves <palves@redhat.com>
199 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
200 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
201 (test_system, test_rename, test_unlink, test_time): Change
203 * gdb.base/fileio.exp (stop_msg): Adjust.
205 2017-05-18 Pedro Alves <palves@redhat.com>
207 * gdb.base/fileio.c (null_str): New global.
209 * gdb.base/fileio.exp: Remove nowarnings.
211 2017-05-17 Yao Qi <yao.qi@linaro.org>
213 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
215 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
217 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
219 (top-level): Invoke test_set_inferior_tty.
221 2017-05-04 Pedro Alves <palves@redhat.com>
223 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
224 Add parens to print call for Python 3.
226 2017-05-03 Keith Seitz <keiths@redhat.com>
228 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
231 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
233 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
236 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
238 * gdb.python/py-record-btrace.exp: Remove test for
239 gdb.BtraceInstruction.error.
241 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
243 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
245 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
247 * gdb.python/py-record-btrace-threads.c: New file.
248 * gdb.python/py-record-btrace-threads.exp: New file.
250 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
253 * gdb.base/environ.exp: Make test available in all architectures.
254 Move bits related to "info program" testing to
255 gdb.base/info-program.exp. Rewrite tests to use the two new
256 procedures mentione below.
257 (test_set_show_env_var) New procedure.
258 (test_set_show_env_var_equal): Likewise.
259 * gdb.base/info-program.exp: New file.
261 2017-04-27 Keith Seitz <keiths@redhat.com>
263 * gdb.cp/oranking.cc (test15): New function.
264 (main): Call test15 and declare additional variables for testing.
265 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
266 "p foo101('abc')" tests.
267 Add tests for cv qualifier overloads.
268 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
269 "lvalue reference overload" test.
270 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
271 "print value of f1 on Child&& in f2" test.
273 2017-04-19 Pedro Alves <palves@redhat.com>
275 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
277 (top level): Call it.
278 * lib/gdb.exp (gdb_define_cmd): New procedure.
280 2017-04-12 Pedro Alves <palves@redhat.com>
283 * gdb.cp/wide_char_types.c: Include <wchar.h>.
285 * gdb.cp/wide_char_types.exp (wide_char_types_program)
286 (do_test_wide_char, wide_char_types_no_program, top level): Add
289 2017-04-12 Pedro Alves <palves@redhat.com>
292 * gdb.cp/wide_char_types.c: New file.
293 * gdb.cp/wide_char_types.exp: New file.
295 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
298 * gdb.trace/tsv.exp: Add test for "tsave -r".
300 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
302 * gdb.dlang/watch-loc.c: New file.
303 * gdb.dlang/watch-loc.exp: New file.
305 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
307 * gdb.python/py-section-script.exp (sepdebug): New testcases.
309 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
311 * gdb.arch/arc-analyze-prologue.S: New file.
312 * gdb.arch/arc-analyze-prologue.exp: Likewise.
314 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
316 * gdb.arch/arc-decode-insn.S: New file.
317 * gdb.arch/arc-decode-insn.exp: Likewise.
319 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
322 * gdb.arch/sparc64-regs.exp: New file.
323 * gdb.arch/sparc64-regs.S: Likewise.
325 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
327 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
328 and memory view on Python 3.
330 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
331 Keith Seitz <keiths@redhat.com>
334 * gdb.cp/demangle.exp: Add rvalue reference tests.
335 * gdb.cp/rvalue-ref-casts.cc: New file.
336 * gdb.cp/rvalue-ref-casts.exp: New file.
337 * gdb.cp/rvalue-ref-overload.cc: New file.
338 * gdb.cp/rvalue-ref-overload.exp: New file.
339 * gdb.cp/rvalue-ref-params.cc: New file.
340 * gdb.cp/rvalue-ref-params.exp: New file.
341 * gdb.cp/rvalue-ref-sizeof.cc: New file.
342 * gdb.cp/rvalue-ref-sizeof.exp: New file.
343 * gdb.cp/rvalue-ref-types.cc: New file.
344 * gdb.cp/rvalue-ref-types.exp: New file.
345 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
346 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
348 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
350 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
353 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
355 * lib/mi-support.exp (mi_gdb_test): Add additional message
356 for unexpected output.
358 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
360 * gdb.base/examine-backward.c (Barrier): New character array
361 constant, to ensure that TestStrings is preceded by a string
364 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
366 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
367 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
368 and implicit pointer into such a location.
370 2017-03-16 Doug Evans <dje@google.com>
372 * gdb.python/py-lazy-string (pointer): Really add new typedef.
374 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
376 * gdb.cp/m-static.exp: Fix expectation for prototype of
377 test5.single_constructor and single_constructor::single_constructor.
379 2017-03-16 Doug Evans <dje@google.com>
381 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
382 * gdb.guile/scm-lazy-string.c: New file.
383 * gdb.guile/scm-value.exp: Move lazy string tests to ...
384 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
385 for pointer, array, typedef lazy strings.
387 2017-03-16 Doug Evans <dje@google.com>
389 PR python/17728, python/18439, python/18779
390 * gdb.python/py-value.c (main) Delete locals sptr, sn.
391 * gdb.python/py-lazy-string.c (pointer): New typedef.
392 (main): New locals ptr, array, typedef_ptr.
393 * gdb.python/py-value.exp: Move lazy string tests to ...
394 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
395 array, typedef lazy strings.
397 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
399 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
400 Add optional 'test' parameter.
402 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
404 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
405 Skip for versions of DejaGnu < 1.5.
407 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
409 * lib/gdb.exp (dejagnu_version): New proc.
410 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
413 2017-03-10 Keith Seitz <keiths@redhat.com>
416 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
417 type from destructor regexps.
418 Add a branch which actually passes the test.
419 Adjust "ptype t5i" test names.
421 2017-03-08 Pedro Alves <palves@redhat.com>
423 * gdb.base/step-over-exit.exp: Add explicit test message.
425 2017-03-08 Pedro Alves <palves@redhat.com>
428 * gdb.threads/interrupt-while-step-over.c: New file.
429 * gdb.threads/interrupt-while-step-over.exp: New file.
431 2017-03-08 Pedro Alves <palves@redhat.com>
433 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
434 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
436 2017-03-08 Pedro Alves <palves@redhat.com>
438 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
439 PKRU as not supported as a PASS.
441 2017-03-08 Pedro Alves <palves@redhat.com>
443 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
444 prefix instead of $binfile1/$binfile2.
445 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
447 * gdb.python/py-completion.exp: Use "load python file" as test
448 messages instead of unstable path names.
450 2017-03-08 Pedro Alves <palves@redhat.com>
451 Jan Kratochvil <jan.kratochvil@redhat.com>
454 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
456 (top level): Call it.
458 2017-03-08 Pedro Alves <palves@redhat.com>
461 * gdb.tui/tui-nl-filtered-output.exp: New file.
463 2017-03-08 Pedro Alves <palves@redhat.com>
465 * gdb.base/completion.exp: Move TUI completion tests to ...
466 * gdb.tui/completion.exp: ... this new file.
468 2017-03-08 Pedro Alves <palves@redhat.com>
470 * gdb.base/tui-disasm-long-lines.c,
471 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
472 gdb.base/tui-layout.exp: Move to ...
473 * gdb.tui/: ... this new directory.
475 2017-03-07 Pedro Alves <palves@redhat.com>
477 * gdb.base/tui-layout.c: New file.
478 * gdb.base/tui-layout.exp: New file.
480 2017-03-07 Pedro Alves <palves@redhat.com>
482 * gdb.base/tui-layout.c: Rename to ...
483 * gdb.base/tui-disasm-long-lines.c: ... this.
484 * gdb.base/tui-layout.exp: Rename to ...
485 * gdb.base/tui-disasm-long-lines.exp: ... this.
487 2017-03-07 Pedro Alves <palves@redhat.com>
489 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
491 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
493 * i386-mpx-call.c: New file.
494 * i386-mpx-call.exp: New file.
496 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
498 * gdb.arch/powerpc-power.exp: Delete test.
499 * gdb.arch/powerpc-power.s: Likewise.
500 * gdb.disasm/disassembler-options.exp: New test.
501 * gdb.arch/powerpc-altivec.exp: Likewise.
502 * gdb.arch/powerpc-altivec.s: Likewise.
503 * gdb.arch/powerpc-altivec2.exp: Likewise.
504 * gdb.arch/powerpc-altivec2.s: Likewise.
505 * gdb.arch/powerpc-altivec3.exp: Likewise.
506 * gdb.arch/powerpc-altivec3.s: Likewise.
507 * gdb.arch/powerpc-power7.exp: Likewise.
508 * gdb.arch/powerpc-power7.s: Likewise.
509 * gdb.arch/powerpc-power8.exp: Likewise.
510 * gdb.arch/powerpc-power8.s: Likewise.
511 * gdb.arch/powerpc-power9.exp: Likewise.
512 * gdb.arch/powerpc-power9.s: Likewise.
513 * gdb.arch/powerpc-vsx.exp: Likewise.
514 * gdb.arch/powerpc-vsx.s: Likewise.
515 * gdb.arch/powerpc-vsx2.exp: Likewise.
516 * gdb.arch/powerpc-vsx2.s: Likewise.
517 * gdb.arch/powerpc-vsx3.exp: Likewise.
518 * gdb.arch/powerpc-vsx3.s: Likewise.
519 * gdb.arch/arm-disassembler-options.exp: Likewise.
520 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
521 * gdb.arch/s390-disassembler-options.exp: Likewise.
523 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
525 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
526 (check_supported_features): ... this. Changed return type to void.
527 (supports_rdseed): New static global.
528 (rdseed): Check supports_rdseed.
529 (initialize): Call check_supported_features.
531 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
533 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
534 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
536 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
537 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
539 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
541 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
544 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
546 * gdb.dwarf2/formdata16.c: New file.
547 * gdb.dwarf2/formdata16.exp: New file.
548 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
550 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
552 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
553 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
554 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
555 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
558 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
560 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
562 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
565 * gdb.base/maint.exp: Add testcases for when the commands do
568 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
570 * gdb.cp/chained-calls.exp: Use p instead of P.
572 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
574 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
575 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
577 2017-02-14 Tom Tromey <tom@tromey.com>
580 * gdb.python/py-events.exp: Add before_prompt event tests.
582 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
584 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
586 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
588 * gdb.linespec/explicit.c (my_unique_function_name): New function.
589 (main): Call my_unique_function_name.
590 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
591 completion of patterns with a single match.
592 Add missing -re switches to gdb_test_multiple calls.
594 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
596 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
597 return if core file is not recognized.
599 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
601 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
604 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
606 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
609 2017-02-10 Tom Tromey <tom@tromey.com>
611 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
613 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
616 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
618 2017-02-08 Jerome Guitton <guitton@adacore.com>
620 * gdb.base/define.exp: Add test for command abbreviations
623 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
625 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
626 * gdb.reverse/insn-reverse-x86.c: New file.
628 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
631 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
633 2017-02-03 Tom Tromey <tom@tromey.com>
636 * gdb.rust/simple.exp: Add new tests.
638 2017-02-02 Pedro Alves <palves@redhat.com>
640 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
643 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
645 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
646 taking a 2-byte value out of a 4-byte DWARF implicit value on
648 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
649 logic. Add test cases for DW_OP_implicit.
651 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
653 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
655 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
657 * gdb.btrace/enable.exp: Call gdb_exit before
658 skip_gdbserver_tests.
660 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
662 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
665 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
667 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
669 * gdb.btrace/data.exp: Likewise.
670 * gdb.btrace/delta.exp: Likewise.
671 * gdb.btrace/dlopen.exp: Likewise.
672 * gdb.btrace/enable-running.exp: Likewise.
673 * gdb.btrace/enable.exp: Likewise.
674 * gdb.btrace/exception.exp: Likewise.
675 * gdb.btrace/function_call_history.exp: Likewise.
676 * gdb.btrace/gcore.exp: Likewise.
677 * gdb.btrace/instruction_history.exp: Likewise.
678 * gdb.btrace/multi-thread-step.exp: Likewise.
679 * gdb.btrace/nohist.exp: Likewise.
680 * gdb.btrace/non-stop.exp: Likewise.
681 * gdb.btrace/reconnect.exp: Likewise.
682 * gdb.btrace/record_goto-step.exp: Likewise.
683 * gdb.btrace/record_goto.exp: Likewise.
684 * gdb.btrace/rn-dl-bind.exp: Likewise.
685 * gdb.btrace/segv.exp: Likewise.
686 * gdb.btrace/step.exp: Likewise.
687 * gdb.btrace/stepi.exp: Likewise.
688 * gdb.btrace/tailcall-only.exp: Likewise.
689 * gdb.btrace/tailcall.exp: Likewise.
690 * gdb.btrace/tsx.exp: Likewise.
691 * gdb.btrace/unknown_functions.exp: Likewise.
692 * gdb.btrace/vdso.exp: Likewise.
694 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
696 * gdb.btrace/enable-running.c: New.
697 * gdb.btrace/enable-running.exp: New.
699 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
701 * gdb.arch/amd64-gs_base.c: New file.
702 * gdb.arch/amd64-gs_base.exp: New file.
704 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
706 * lib/memory.exp: Remove spurious empty newlines.
708 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
710 * gdb.python/py-bad-printers.exp: Load python file using "source".
711 * gdb.python/py-events.exp: Likewise.
712 * gdb.python/py-evsignal.exp: Likewise.
713 * gdb.python/py-evthreads.exp: Likewise.
714 * gdb.python/py-frame-args.exp: Likewise.
715 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
716 * gdb.python/py-framefilter-mi.exp: Likewise.
717 * gdb.python/py-framefilter.exp: Likewise.
718 * gdb.python/py-mi.exp: Likewise.
719 * gdb.python/py-pp-maint.exp: Likewise.
720 * gdb.python/py-pp-registration.exp: Likewise.
721 * gdb.python/py-prettyprint.exp: Likewise.
722 (run_lang_tests): Likewise.
723 * gdb.python/py-typeprint.exp: Likewise.
725 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
727 * lib/memory.exp: New file.
728 * lib/gdb.exp: Load memory.exp.
729 * gdb.base/memattr.exp (delete_memory): Move proc to
730 lib/memory.exp and rename to delete_memory_regions.
731 Replace delete_memory with delete_memory_regions.
732 Cleanup memory regions before tests.
733 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
736 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
738 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
740 (initialize): New function conditionally defined.
741 (testcases): Move within conditional block.
742 (main): Call initialize.
743 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
744 of gdb.reverse/insn-reverse.c.
745 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
746 gdb.reverse/insn-reverse.c.
748 2017-01-26 Yao Qi <yao.qi@linaro.org>
750 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
751 disassemble on address 0.
753 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
754 Yao Qi <yao.qi@linaro.org>
756 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
757 * gdb.dwarf2/implptr-64bit.S: Remove.
758 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
759 variables in caller's context. Add DW_OP_implicit_value.
761 2017-01-25 Yao Qi <yao.qi@linaro.org>
763 * lib/dwarf.exp (Dwarf::_location): Handle
764 DW_OP_GNU_implicit_pointer with proper size.
766 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
768 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
769 and add untested calls.
771 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
773 * gdb.python/python.exp: Check line number against what GDB thinks
774 the line number is for func1.
776 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
778 * gdb.dlang/debug-expr.exp: New file.
780 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
782 Fix test names for the following files:
784 * gdb.ada/exec_changed.exp
785 * gdb.ada/info_types.exp
786 * gdb.arch/aarch64-atomic-inst.exp
787 * gdb.arch/aarch64-fp.exp
788 * gdb.arch/altivec-abi.exp
789 * gdb.arch/altivec-regs.exp
790 * gdb.arch/amd64-byte.exp
791 * gdb.arch/amd64-disp-step.exp
792 * gdb.arch/amd64-dword.exp
793 * gdb.arch/amd64-entry-value-inline.exp
794 * gdb.arch/amd64-entry-value-param.exp
795 * gdb.arch/amd64-entry-value-paramref.exp
796 * gdb.arch/amd64-entry-value.exp
797 * gdb.arch/amd64-i386-address.exp
798 * gdb.arch/amd64-invalid-stack-middle.exp
799 * gdb.arch/amd64-invalid-stack-top.exp
800 * gdb.arch/amd64-optimout-repeat.exp
801 * gdb.arch/amd64-prologue-skip.exp
802 * gdb.arch/amd64-prologue-xmm.exp
803 * gdb.arch/amd64-stap-special-operands.exp
804 * gdb.arch/amd64-stap-wrong-subexp.exp
805 * gdb.arch/amd64-tailcall-cxx.exp
806 * gdb.arch/amd64-tailcall-noret.exp
807 * gdb.arch/amd64-tailcall-ret.exp
808 * gdb.arch/amd64-tailcall-self.exp
809 * gdb.arch/amd64-word.exp
810 * gdb.arch/arm-bl-branch-dest.exp
811 * gdb.arch/arm-disp-step.exp
812 * gdb.arch/arm-neon.exp
813 * gdb.arch/arm-single-step-kernel-helper.exp
814 * gdb.arch/avr-flash-qualifier.exp
815 * gdb.arch/disp-step-insn-reloc.exp
816 * gdb.arch/e500-abi.exp
817 * gdb.arch/e500-regs.exp
818 * gdb.arch/ftrace-insn-reloc.exp
819 * gdb.arch/i386-avx512.exp
820 * gdb.arch/i386-bp_permanent.exp
821 * gdb.arch/i386-byte.exp
822 * gdb.arch/i386-cfi-notcurrent.exp
823 * gdb.arch/i386-disp-step.exp
824 * gdb.arch/i386-dr3-watch.exp
825 * gdb.arch/i386-float.exp
826 * gdb.arch/i386-gnu-cfi.exp
827 * gdb.arch/i386-mpx-map.exp
828 * gdb.arch/i386-mpx-sigsegv.exp
829 * gdb.arch/i386-mpx-simple_segv.exp
830 * gdb.arch/i386-mpx.exp
831 * gdb.arch/i386-permbkpt.exp
832 * gdb.arch/i386-prologue.exp
833 * gdb.arch/i386-signal.exp
834 * gdb.arch/i386-size-overlap.exp
835 * gdb.arch/i386-unwind.exp
836 * gdb.arch/i386-word.exp
837 * gdb.arch/mips-fcr.exp
838 * gdb.arch/powerpc-d128-regs.exp
839 * gdb.arch/powerpc-stackless.exp
840 * gdb.arch/ppc64-atomic-inst.exp
841 * gdb.arch/s390-stackless.exp
842 * gdb.arch/s390-tdbregs.exp
843 * gdb.arch/s390-vregs.exp
844 * gdb.arch/sparc-sysstep.exp
845 * gdb.arch/thumb-bx-pc.exp
846 * gdb.arch/thumb-singlestep.exp
847 * gdb.arch/thumb2-it.exp
848 * gdb.arch/vsx-regs.exp
849 * gdb.asm/asm-source.exp
850 * gdb.base/a2-run.exp
851 * gdb.base/advance.exp
852 * gdb.base/all-bin.exp
855 * gdb.base/arithmet.exp
856 * gdb.base/async-shell.exp
858 * gdb.base/attach-pie-noexec.exp
859 * gdb.base/attach-twice.exp
860 * gdb.base/auto-load.exp
862 * gdb.base/bitfields.exp
863 * gdb.base/break-always.exp
864 * gdb.base/break-caller-line.exp
865 * gdb.base/break-entry.exp
866 * gdb.base/break-inline.exp
867 * gdb.base/break-on-linker-gcd-function.exp
868 * gdb.base/break-probes.exp
870 * gdb.base/breakpoint-shadow.exp
871 * gdb.base/call-ar-st.exp
872 * gdb.base/call-sc.exp
873 * gdb.base/call-signal-resume.exp
874 * gdb.base/call-strs.exp
875 * gdb.base/callfuncs.exp
876 * gdb.base/catch-fork-static.exp
877 * gdb.base/catch-gdb-caused-signals.exp
878 * gdb.base/catch-load.exp
879 * gdb.base/catch-signal-fork.exp
880 * gdb.base/catch-signal.exp
881 * gdb.base/catch-syscall.exp
882 * gdb.base/charset.exp
883 * gdb.base/checkpoint.exp
884 * gdb.base/chng-syms.exp
885 * gdb.base/code-expr.exp
886 * gdb.base/code_elim.exp
887 * gdb.base/commands.exp
888 * gdb.base/completion.exp
889 * gdb.base/complex.exp
890 * gdb.base/cond-expr.exp
891 * gdb.base/condbreak.exp
892 * gdb.base/consecutive.exp
893 * gdb.base/continue-all-already-running.exp
894 * gdb.base/coredump-filter.exp
895 * gdb.base/corefile.exp
897 * gdb.base/debug-expr.exp
898 * gdb.base/define.exp
900 * gdb.base/disabled-location.exp
901 * gdb.base/disasm-end-cu.exp
902 * gdb.base/disasm-optim.exp
903 * gdb.base/display.exp
904 * gdb.base/duplicate-bp.exp
905 * gdb.base/ena-dis-br.exp
906 * gdb.base/ending-run.exp
907 * gdb.base/enumval.exp
908 * gdb.base/environ.exp
909 * gdb.base/eu-strip-infcall.exp
910 * gdb.base/eval-avoid-side-effects.exp
911 * gdb.base/eval-skip.exp
912 * gdb.base/exitsignal.exp
913 * gdb.base/expand-psymtabs.exp
914 * gdb.base/filesym.exp
915 * gdb.base/find-unmapped.exp
916 * gdb.base/finish.exp
918 * gdb.base/foll-exec-mode.exp
919 * gdb.base/foll-exec.exp
920 * gdb.base/foll-fork.exp
921 * gdb.base/fortran-sym-case.exp
922 * gdb.base/freebpcmd.exp
923 * gdb.base/func-ptr.exp
924 * gdb.base/func-ptrs.exp
925 * gdb.base/funcargs.exp
926 * gdb.base/gcore-buffer-overflow.exp
927 * gdb.base/gcore-relro-pie.exp
928 * gdb.base/gcore-relro.exp
930 * gdb.base/gdb1090.exp
931 * gdb.base/gdb11530.exp
932 * gdb.base/gdb11531.exp
933 * gdb.base/gdb1821.exp
934 * gdb.base/gdbindex-stabs.exp
935 * gdb.base/gdbvars.exp
936 * gdb.base/hbreak.exp
937 * gdb.base/hbreak2.exp
938 * gdb.base/included.exp
939 * gdb.base/infcall-input.exp
940 * gdb.base/inferior-died.exp
941 * gdb.base/infnan.exp
942 * gdb.base/info-macros.exp
943 * gdb.base/info-os.exp
944 * gdb.base/info-proc.exp
945 * gdb.base/info-shared.exp
946 * gdb.base/info-target.exp
947 * gdb.base/infoline.exp
948 * gdb.base/interp.exp
949 * gdb.base/interrupt.exp
950 * gdb.base/jit-reader.exp
951 * gdb.base/jit-simple.exp
952 * gdb.base/kill-after-signal.exp
953 * gdb.base/kill-detach-inferiors-cmd.exp
956 * gdb.base/ldbl_e308.exp
957 * gdb.base/line-symtabs.exp
958 * gdb.base/linespecs.exp
960 * gdb.base/long_long.exp
961 * gdb.base/longest-types.exp
963 * gdb.base/max-value-size.exp
964 * gdb.base/memattr.exp
965 * gdb.base/mips_pro.exp
966 * gdb.base/morestack.exp
967 * gdb.base/moribund-step.exp
968 * gdb.base/multi-forks.exp
969 * gdb.base/nested-addr.exp
970 * gdb.base/nextoverexit.exp
971 * gdb.base/noreturn-finish.exp
972 * gdb.base/noreturn-return.exp
973 * gdb.base/nostdlib.exp
974 * gdb.base/offsets.exp
975 * gdb.base/opaque.exp
977 * gdb.base/permissions.exp
978 * gdb.base/print-symbol-loading.exp
979 * gdb.base/prologue-include.exp
980 * gdb.base/psymtab.exp
982 * gdb.base/random-signal.exp
983 * gdb.base/randomize.exp
984 * gdb.base/range-stepping.exp
985 * gdb.base/readline-ask.exp
986 * gdb.base/recpar.exp
987 * gdb.base/recurse.exp
988 * gdb.base/relational.exp
989 * gdb.base/restore.exp
990 * gdb.base/return-nodebug.exp
991 * gdb.base/return.exp
992 * gdb.base/run-after-attach.exp
993 * gdb.base/save-bp.exp
995 * gdb.base/sect-cmd.exp
996 * gdb.base/set-lang-auto.exp
997 * gdb.base/set-noassign.exp
998 * gdb.base/setvar.exp
999 * gdb.base/sigall.exp
1000 * gdb.base/sigbpt.exp
1001 * gdb.base/siginfo-addr.exp
1002 * gdb.base/siginfo-infcall.exp
1003 * gdb.base/siginfo-obj.exp
1004 * gdb.base/siginfo.exp
1005 * gdb.base/signals-state-child.exp
1006 * gdb.base/signest.exp
1007 * gdb.base/sigstep.exp
1008 * gdb.base/sizeof.exp
1010 * gdb.base/solib-corrupted.exp
1011 * gdb.base/solib-nodir.exp
1012 * gdb.base/solib-search.exp
1013 * gdb.base/stack-checking.exp
1014 * gdb.base/stale-infcall.exp
1015 * gdb.base/stap-probe.exp
1016 * gdb.base/start.exp
1017 * gdb.base/step-break.exp
1018 * gdb.base/step-bt.exp
1019 * gdb.base/step-line.exp
1020 * gdb.base/step-over-exit.exp
1021 * gdb.base/step-over-syscall.exp
1022 * gdb.base/step-resume-infcall.exp
1023 * gdb.base/step-test.exp
1024 * gdb.base/store.exp
1025 * gdb.base/structs3.exp
1026 * gdb.base/sym-file.exp
1027 * gdb.base/symbol-without-target_section.exp
1029 * gdb.base/testenv.exp
1030 * gdb.base/ui-redirect.exp
1031 * gdb.base/until.exp
1032 * gdb.base/unwindonsignal.exp
1033 * gdb.base/value-double-free.exp
1034 * gdb.base/vla-datatypes.exp
1035 * gdb.base/vla-ptr.exp
1036 * gdb.base/vla-sideeffect.exp
1037 * gdb.base/volatile.exp
1038 * gdb.base/watch-cond-infcall.exp
1039 * gdb.base/watch-cond.exp
1040 * gdb.base/watch-non-mem.exp
1041 * gdb.base/watch-read.exp
1042 * gdb.base/watch-vfork.exp
1043 * gdb.base/watchpoint-cond-gone.exp
1044 * gdb.base/watchpoint-delete.exp
1045 * gdb.base/watchpoint-hw-hit-once.exp
1046 * gdb.base/watchpoint-hw.exp
1047 * gdb.base/watchpoint-stops-at-right-insn.exp
1048 * gdb.base/watchpoints.exp
1049 * gdb.base/wchar.exp
1050 * gdb.base/whatis-exp.exp
1051 * gdb.btrace/buffer-size.exp
1052 * gdb.btrace/data.exp
1053 * gdb.btrace/delta.exp
1054 * gdb.btrace/dlopen.exp
1055 * gdb.btrace/enable.exp
1056 * gdb.btrace/exception.exp
1057 * gdb.btrace/function_call_history.exp
1058 * gdb.btrace/gcore.exp
1059 * gdb.btrace/instruction_history.exp
1060 * gdb.btrace/nohist.exp
1061 * gdb.btrace/reconnect.exp
1062 * gdb.btrace/record_goto-step.exp
1063 * gdb.btrace/record_goto.exp
1064 * gdb.btrace/rn-dl-bind.exp
1065 * gdb.btrace/segv.exp
1066 * gdb.btrace/step.exp
1067 * gdb.btrace/stepi.exp
1068 * gdb.btrace/tailcall-only.exp
1069 * gdb.btrace/tailcall.exp
1070 * gdb.btrace/tsx.exp
1071 * gdb.btrace/unknown_functions.exp
1072 * gdb.btrace/vdso.exp
1073 * gdb.compile/compile-ifunc.exp
1074 * gdb.compile/compile-ops.exp
1075 * gdb.compile/compile-print.exp
1076 * gdb.compile/compile-setjmp.exp
1077 * gdb.cp/abstract-origin.exp
1078 * gdb.cp/ambiguous.exp
1079 * gdb.cp/annota2.exp
1080 * gdb.cp/annota3.exp
1081 * gdb.cp/anon-ns.exp
1082 * gdb.cp/anon-struct.exp
1083 * gdb.cp/anon-union.exp
1084 * gdb.cp/arg-reference.exp
1085 * gdb.cp/baseenum.exp
1087 * gdb.cp/breakpoint.exp
1088 * gdb.cp/bs15503.exp
1091 * gdb.cp/chained-calls.exp
1093 * gdb.cp/classes.exp
1094 * gdb.cp/cmpd-minsyms.exp
1095 * gdb.cp/converts.exp
1096 * gdb.cp/cp-relocate.exp
1097 * gdb.cp/cpcompletion.exp
1098 * gdb.cp/cpexprs.exp
1099 * gdb.cp/cplabel.exp
1100 * gdb.cp/cplusfuncs.exp
1101 * gdb.cp/cpsizeof.exp
1103 * gdb.cp/derivation.exp
1104 * gdb.cp/destrprint.exp
1105 * gdb.cp/dispcxx.exp
1106 * gdb.cp/enum-class.exp
1107 * gdb.cp/exception.exp
1108 * gdb.cp/exceptprint.exp
1109 * gdb.cp/expand-psymtabs-cxx.exp
1110 * gdb.cp/expand-sals.exp
1111 * gdb.cp/extern-c.exp
1112 * gdb.cp/filename.exp
1113 * gdb.cp/formatted-ref.exp
1114 * gdb.cp/fpointer.exp
1115 * gdb.cp/gdb1355.exp
1116 * gdb.cp/gdb2495.exp
1118 * gdb.cp/impl-this.exp
1119 * gdb.cp/infcall-dlopen.exp
1120 * gdb.cp/inherit.exp
1121 * gdb.cp/iostream.exp
1125 * gdb.cp/m-static.exp
1126 * gdb.cp/mb-ctor.exp
1127 * gdb.cp/mb-inline.exp
1128 * gdb.cp/mb-templates.exp
1129 * gdb.cp/member-name.exp
1130 * gdb.cp/member-ptr.exp
1131 * gdb.cp/meth-typedefs.exp
1133 * gdb.cp/method2.exp
1134 * gdb.cp/minsym-fallback.exp
1136 * gdb.cp/namelessclass.exp
1137 * gdb.cp/namespace-enum.exp
1138 * gdb.cp/namespace-nested-import.exp
1139 * gdb.cp/namespace.exp
1140 * gdb.cp/nextoverthrow.exp
1141 * gdb.cp/no-dmgl-verbose.exp
1142 * gdb.cp/non-trivial-retval.exp
1143 * gdb.cp/noparam.exp
1145 * gdb.cp/nsimport.exp
1146 * gdb.cp/nsnested.exp
1147 * gdb.cp/nsnoimports.exp
1148 * gdb.cp/nsrecurs.exp
1149 * gdb.cp/nsstress.exp
1150 * gdb.cp/nsusing.exp
1151 * gdb.cp/operator.exp
1152 * gdb.cp/oranking.exp
1153 * gdb.cp/overload-const.exp
1154 * gdb.cp/overload.exp
1155 * gdb.cp/ovldbreak.exp
1157 * gdb.cp/paren-type.exp
1158 * gdb.cp/parse-lang.exp
1159 * gdb.cp/pass-by-ref.exp
1160 * gdb.cp/pr-1023.exp
1161 * gdb.cp/pr-1210.exp
1163 * gdb.cp/pr10687.exp
1164 * gdb.cp/pr12028.exp
1165 * gdb.cp/pr17132.exp
1166 * gdb.cp/pr17494.exp
1170 * gdb.cp/printmethod.exp
1172 * gdb.cp/psymtab-parameter.exp
1173 * gdb.cp/ptype-cv-cp.exp
1174 * gdb.cp/ptype-flags.exp
1175 * gdb.cp/re-set-overloaded.exp
1176 * gdb.cp/ref-types.exp
1178 * gdb.cp/scope-err.exp
1181 * gdb.cp/static-method.exp
1182 * gdb.cp/static-print-quit.exp
1183 * gdb.cp/temargs.exp
1184 * gdb.cp/templates.exp
1185 * gdb.cp/try_catch.exp
1186 * gdb.cp/typedef-operator.exp
1188 * gdb.cp/userdef.exp
1189 * gdb.cp/using-crash.exp
1190 * gdb.cp/var-tag.exp
1191 * gdb.cp/virtbase.exp
1192 * gdb.cp/virtfunc.exp
1193 * gdb.cp/virtfunc2.exp
1194 * gdb.cp/vla-cxx.exp
1195 * gdb.disasm/t01_mov.exp
1196 * gdb.disasm/t02_mova.exp
1197 * gdb.disasm/t03_add.exp
1198 * gdb.disasm/t04_sub.exp
1199 * gdb.disasm/t05_cmp.exp
1200 * gdb.disasm/t06_ari2.exp
1201 * gdb.disasm/t07_ari3.exp
1202 * gdb.disasm/t08_or.exp
1203 * gdb.disasm/t09_xor.exp
1204 * gdb.disasm/t10_and.exp
1205 * gdb.disasm/t11_logs.exp
1206 * gdb.disasm/t12_bit.exp
1207 * gdb.disasm/t13_otr.exp
1208 * gdb.dlang/circular.exp
1209 * gdb.dwarf2/arr-stride.exp
1210 * gdb.dwarf2/arr-subrange.exp
1211 * gdb.dwarf2/atomic-type.exp
1212 * gdb.dwarf2/bad-regnum.exp
1213 * gdb.dwarf2/bitfield-parent-optimized-out.exp
1214 * gdb.dwarf2/callframecfa.exp
1215 * gdb.dwarf2/clztest.exp
1216 * gdb.dwarf2/corrupt.exp
1217 * gdb.dwarf2/data-loc.exp
1218 * gdb.dwarf2/dup-psym.exp
1219 * gdb.dwarf2/dw2-anon-mptr.exp
1220 * gdb.dwarf2/dw2-anonymous-func.exp
1221 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
1222 * gdb.dwarf2/dw2-bad-unresolved.exp
1223 * gdb.dwarf2/dw2-basic.exp
1224 * gdb.dwarf2/dw2-canonicalize-type.exp
1225 * gdb.dwarf2/dw2-case-insensitive.exp
1226 * gdb.dwarf2/dw2-common-block.exp
1227 * gdb.dwarf2/dw2-compdir-oldgcc.exp
1228 * gdb.dwarf2/dw2-compressed.exp
1229 * gdb.dwarf2/dw2-const.exp
1230 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
1231 * gdb.dwarf2/dw2-cu-size.exp
1232 * gdb.dwarf2/dw2-dup-frame.exp
1233 * gdb.dwarf2/dw2-entry-value.exp
1234 * gdb.dwarf2/dw2-icycle.exp
1235 * gdb.dwarf2/dw2-ifort-parameter.exp
1236 * gdb.dwarf2/dw2-inline-break.exp
1237 * gdb.dwarf2/dw2-inline-param.exp
1238 * gdb.dwarf2/dw2-intercu.exp
1239 * gdb.dwarf2/dw2-intermix.exp
1240 * gdb.dwarf2/dw2-lexical-block-bare.exp
1241 * gdb.dwarf2/dw2-linkage-name-trust.exp
1242 * gdb.dwarf2/dw2-minsym-in-cu.exp
1243 * gdb.dwarf2/dw2-noloc.exp
1244 * gdb.dwarf2/dw2-op-call.exp
1245 * gdb.dwarf2/dw2-op-out-param.exp
1246 * gdb.dwarf2/dw2-opt-structptr.exp
1247 * gdb.dwarf2/dw2-param-error.exp
1248 * gdb.dwarf2/dw2-producer.exp
1249 * gdb.dwarf2/dw2-ranges-base.exp
1250 * gdb.dwarf2/dw2-ref-missing-frame.exp
1251 * gdb.dwarf2/dw2-reg-undefined.exp
1252 * gdb.dwarf2/dw2-regno-invalid.exp
1253 * gdb.dwarf2/dw2-restore.exp
1254 * gdb.dwarf2/dw2-restrict.exp
1255 * gdb.dwarf2/dw2-single-line-discriminators.exp
1256 * gdb.dwarf2/dw2-strp.exp
1257 * gdb.dwarf2/dw2-undefined-ret-addr.exp
1258 * gdb.dwarf2/dw2-unresolved.exp
1259 * gdb.dwarf2/dw2-var-zero-addr.exp
1260 * gdb.dwarf2/dw4-sig-types.exp
1261 * gdb.dwarf2/dwz.exp
1262 * gdb.dwarf2/dynarr-ptr.exp
1263 * gdb.dwarf2/enum-type.exp
1264 * gdb.dwarf2/gdb-index.exp
1265 * gdb.dwarf2/implptr-64bit.exp
1266 * gdb.dwarf2/implptr-optimized-out.exp
1267 * gdb.dwarf2/implptr.exp
1268 * gdb.dwarf2/implref-array.exp
1269 * gdb.dwarf2/implref-const.exp
1270 * gdb.dwarf2/implref-global.exp
1271 * gdb.dwarf2/implref-struct.exp
1272 * gdb.dwarf2/mac-fileno.exp
1273 * gdb.dwarf2/main-subprogram.exp
1274 * gdb.dwarf2/member-ptr-forwardref.exp
1275 * gdb.dwarf2/method-ptr.exp
1276 * gdb.dwarf2/missing-sig-type.exp
1277 * gdb.dwarf2/nonvar-access.exp
1278 * gdb.dwarf2/opaque-type-lookup.exp
1279 * gdb.dwarf2/pieces-optimized-out.exp
1280 * gdb.dwarf2/pieces.exp
1281 * gdb.dwarf2/pr10770.exp
1282 * gdb.dwarf2/pr13961.exp
1283 * gdb.dwarf2/staticvirtual.exp
1284 * gdb.dwarf2/subrange.exp
1285 * gdb.dwarf2/symtab-producer.exp
1286 * gdb.dwarf2/trace-crash.exp
1287 * gdb.dwarf2/typeddwarf.exp
1288 * gdb.dwarf2/valop.exp
1289 * gdb.dwarf2/watch-notconst.exp
1290 * gdb.fortran/array-element.exp
1291 * gdb.fortran/charset.exp
1292 * gdb.fortran/common-block.exp
1293 * gdb.fortran/complex.exp
1294 * gdb.fortran/derived-type-function.exp
1295 * gdb.fortran/derived-type.exp
1296 * gdb.fortran/logical.exp
1297 * gdb.fortran/module.exp
1298 * gdb.fortran/multi-dim.exp
1299 * gdb.fortran/nested-funcs.exp
1300 * gdb.fortran/print-formatted.exp
1301 * gdb.fortran/subarray.exp
1302 * gdb.fortran/vla-alloc-assoc.exp
1303 * gdb.fortran/vla-datatypes.exp
1304 * gdb.fortran/vla-history.exp
1305 * gdb.fortran/vla-ptr-info.exp
1306 * gdb.fortran/vla-ptype-sub.exp
1307 * gdb.fortran/vla-ptype.exp
1308 * gdb.fortran/vla-sizeof.exp
1309 * gdb.fortran/vla-type.exp
1310 * gdb.fortran/vla-value-sub-arbitrary.exp
1311 * gdb.fortran/vla-value-sub-finish.exp
1312 * gdb.fortran/vla-value-sub.exp
1313 * gdb.fortran/vla-value.exp
1314 * gdb.fortran/whatis_type.exp
1316 * gdb.go/handcall.exp
1318 * gdb.go/integers.exp
1319 * gdb.go/methods.exp
1320 * gdb.go/package.exp
1321 * gdb.go/strings.exp
1324 * gdb.guile/scm-arch.exp
1325 * gdb.guile/scm-block.exp
1326 * gdb.guile/scm-breakpoint.exp
1327 * gdb.guile/scm-cmd.exp
1328 * gdb.guile/scm-disasm.exp
1329 * gdb.guile/scm-equal.exp
1330 * gdb.guile/scm-frame-args.exp
1331 * gdb.guile/scm-frame-inline.exp
1332 * gdb.guile/scm-frame.exp
1333 * gdb.guile/scm-iterator.exp
1334 * gdb.guile/scm-math.exp
1335 * gdb.guile/scm-objfile.exp
1336 * gdb.guile/scm-ports.exp
1337 * gdb.guile/scm-symbol.exp
1338 * gdb.guile/scm-symtab.exp
1339 * gdb.guile/scm-value-cc.exp
1340 * gdb.guile/types-module.exp
1341 * gdb.linespec/break-ask.exp
1342 * gdb.linespec/cpexplicit.exp
1343 * gdb.linespec/explicit.exp
1344 * gdb.linespec/keywords.exp
1345 * gdb.linespec/linespec.exp
1346 * gdb.linespec/ls-dollar.exp
1347 * gdb.linespec/ls-errs.exp
1348 * gdb.linespec/skip-two.exp
1349 * gdb.linespec/thread.exp
1350 * gdb.mi/mi-async.exp
1351 * gdb.mi/mi-basics.exp
1352 * gdb.mi/mi-break.exp
1353 * gdb.mi/mi-catch-load.exp
1355 * gdb.mi/mi-cmd-param-changed.exp
1356 * gdb.mi/mi-console.exp
1357 * gdb.mi/mi-detach.exp
1358 * gdb.mi/mi-disassemble.exp
1359 * gdb.mi/mi-eval.exp
1360 * gdb.mi/mi-file-transfer.exp
1361 * gdb.mi/mi-file.exp
1362 * gdb.mi/mi-fill-memory.exp
1363 * gdb.mi/mi-inheritance-syntax-error.exp
1364 * gdb.mi/mi-linespec-err-cp.exp
1365 * gdb.mi/mi-logging.exp
1366 * gdb.mi/mi-memory-changed.exp
1367 * gdb.mi/mi-read-memory.exp
1368 * gdb.mi/mi-record-changed.exp
1369 * gdb.mi/mi-reg-undefined.exp
1370 * gdb.mi/mi-regs.exp
1371 * gdb.mi/mi-return.exp
1372 * gdb.mi/mi-reverse.exp
1373 * gdb.mi/mi-simplerun.exp
1374 * gdb.mi/mi-solib.exp
1375 * gdb.mi/mi-stack.exp
1376 * gdb.mi/mi-stepi.exp
1377 * gdb.mi/mi-syn-frame.exp
1378 * gdb.mi/mi-until.exp
1379 * gdb.mi/mi-var-block.exp
1380 * gdb.mi/mi-var-child.exp
1381 * gdb.mi/mi-var-cmd.exp
1382 * gdb.mi/mi-var-cp.exp
1383 * gdb.mi/mi-var-display.exp
1384 * gdb.mi/mi-var-invalidate.exp
1385 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
1386 * gdb.mi/mi-vla-fortran.exp
1387 * gdb.mi/mi-watch.exp
1388 * gdb.mi/mi2-var-child.exp
1389 * gdb.mi/user-selected-context-sync.exp
1390 * gdb.modula2/unbounded-array.exp
1391 * gdb.multi/dummy-frame-restore.exp
1392 * gdb.multi/multi-arch-exec.exp
1393 * gdb.multi/multi-arch.exp
1394 * gdb.multi/tids.exp
1395 * gdb.multi/watchpoint-multi.exp
1396 * gdb.opencl/callfuncs.exp
1397 * gdb.opencl/convs_casts.exp
1398 * gdb.opencl/datatypes.exp
1399 * gdb.opencl/operators.exp
1400 * gdb.opencl/vec_comps.exp
1401 * gdb.opt/clobbered-registers-O2.exp
1402 * gdb.opt/inline-break.exp
1403 * gdb.opt/inline-bt.exp
1404 * gdb.opt/inline-cmds.exp
1405 * gdb.opt/inline-locals.exp
1406 * gdb.pascal/case-insensitive-symbols.exp
1407 * gdb.pascal/floats.exp
1408 * gdb.pascal/gdb11492.exp
1409 * gdb.python/lib-types.exp
1410 * gdb.python/py-arch.exp
1411 * gdb.python/py-as-string.exp
1412 * gdb.python/py-bad-printers.exp
1413 * gdb.python/py-block.exp
1414 * gdb.python/py-breakpoint-create-fail.exp
1415 * gdb.python/py-breakpoint.exp
1416 * gdb.python/py-caller-is.exp
1417 * gdb.python/py-cmd.exp
1418 * gdb.python/py-explore-cc.exp
1419 * gdb.python/py-explore.exp
1420 * gdb.python/py-finish-breakpoint.exp
1421 * gdb.python/py-finish-breakpoint2.exp
1422 * gdb.python/py-frame-args.exp
1423 * gdb.python/py-frame-inline.exp
1424 * gdb.python/py-frame.exp
1425 * gdb.python/py-framefilter-mi.exp
1426 * gdb.python/py-infthread.exp
1427 * gdb.python/py-lazy-string.exp
1428 * gdb.python/py-linetable.exp
1429 * gdb.python/py-mi-events.exp
1430 * gdb.python/py-mi-objfile.exp
1431 * gdb.python/py-mi.exp
1432 * gdb.python/py-objfile.exp
1433 * gdb.python/py-pp-integral.exp
1434 * gdb.python/py-pp-maint.exp
1435 * gdb.python/py-pp-re-notag.exp
1436 * gdb.python/py-pp-registration.exp
1437 * gdb.python/py-recurse-unwind.exp
1438 * gdb.python/py-strfns.exp
1439 * gdb.python/py-symbol.exp
1440 * gdb.python/py-symtab.exp
1441 * gdb.python/py-sync-interp.exp
1442 * gdb.python/py-typeprint.exp
1443 * gdb.python/py-unwind-maint.exp
1444 * gdb.python/py-unwind.exp
1445 * gdb.python/py-value-cc.exp
1446 * gdb.python/py-xmethods.exp
1447 * gdb.reverse/amd64-tailcall-reverse.exp
1448 * gdb.reverse/break-precsave.exp
1449 * gdb.reverse/break-reverse.exp
1450 * gdb.reverse/consecutive-precsave.exp
1451 * gdb.reverse/consecutive-reverse.exp
1452 * gdb.reverse/finish-precsave.exp
1453 * gdb.reverse/finish-reverse-bkpt.exp
1454 * gdb.reverse/finish-reverse.exp
1455 * gdb.reverse/fstatat-reverse.exp
1456 * gdb.reverse/getresuid-reverse.exp
1457 * gdb.reverse/i386-precsave.exp
1458 * gdb.reverse/i386-reverse.exp
1459 * gdb.reverse/i386-sse-reverse.exp
1460 * gdb.reverse/i387-env-reverse.exp
1461 * gdb.reverse/i387-stack-reverse.exp
1462 * gdb.reverse/insn-reverse.exp
1463 * gdb.reverse/machinestate-precsave.exp
1464 * gdb.reverse/machinestate.exp
1465 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1466 * gdb.reverse/pipe-reverse.exp
1467 * gdb.reverse/readv-reverse.exp
1468 * gdb.reverse/recvmsg-reverse.exp
1469 * gdb.reverse/rerun-prec.exp
1470 * gdb.reverse/s390-mvcle.exp
1471 * gdb.reverse/step-precsave.exp
1472 * gdb.reverse/step-reverse.exp
1473 * gdb.reverse/time-reverse.exp
1474 * gdb.reverse/until-precsave.exp
1475 * gdb.reverse/until-reverse.exp
1476 * gdb.reverse/waitpid-reverse.exp
1477 * gdb.reverse/watch-precsave.exp
1478 * gdb.reverse/watch-reverse.exp
1479 * gdb.rust/generics.exp
1480 * gdb.rust/methods.exp
1481 * gdb.rust/modules.exp
1482 * gdb.rust/simple.exp
1483 * gdb.server/connect-with-no-symbol-file.exp
1484 * gdb.server/ext-attach.exp
1485 * gdb.server/ext-restart.exp
1486 * gdb.server/ext-wrapper.exp
1487 * gdb.server/file-transfer.exp
1488 * gdb.server/server-exec-info.exp
1489 * gdb.server/server-kill.exp
1490 * gdb.server/server-mon.exp
1491 * gdb.server/wrapper.exp
1492 * gdb.stabs/exclfwd.exp
1493 * gdb.stabs/gdb11479.exp
1494 * gdb.threads/clone-new-thread-event.exp
1495 * gdb.threads/corethreads.exp
1496 * gdb.threads/current-lwp-dead.exp
1497 * gdb.threads/dlopen-libpthread.exp
1498 * gdb.threads/gcore-thread.exp
1499 * gdb.threads/sigstep-threads.exp
1500 * gdb.threads/watchpoint-fork.exp
1501 * gdb.trace/actions-changed.exp
1502 * gdb.trace/backtrace.exp
1503 * gdb.trace/change-loc.exp
1504 * gdb.trace/circ.exp
1505 * gdb.trace/collection.exp
1506 * gdb.trace/disconnected-tracing.exp
1507 * gdb.trace/ftrace.exp
1508 * gdb.trace/mi-trace-frame-collected.exp
1509 * gdb.trace/mi-trace-unavailable.exp
1510 * gdb.trace/mi-traceframe-changed.exp
1511 * gdb.trace/mi-tsv-changed.exp
1512 * gdb.trace/no-attach-trace.exp
1513 * gdb.trace/passc-dyn.exp
1514 * gdb.trace/qtro.exp
1515 * gdb.trace/range-stepping.exp
1516 * gdb.trace/read-memory.exp
1517 * gdb.trace/save-trace.exp
1518 * gdb.trace/signal.exp
1519 * gdb.trace/status-stop.exp
1520 * gdb.trace/tfile.exp
1521 * gdb.trace/trace-break.exp
1522 * gdb.trace/trace-buffer-size.exp
1523 * gdb.trace/trace-condition.exp
1524 * gdb.trace/tracefile-pseudo-reg.exp
1525 * gdb.trace/tstatus.exp
1526 * gdb.trace/unavailable.exp
1527 * gdb.trace/while-dyn.exp
1528 * gdb.trace/while-stepping.exp
1530 2016-12-22 Doug Evans <xdje42@gmail.com>
1532 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
1535 2016-12-19 Yao Qi <yao.qi@linaro.org>
1537 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
1538 (test_with_self): Don't call do_steps_and_nexts, and remove
1539 code about stepping into xmalloc.
1541 2016-12-09 Yao Qi <yao.qi@linaro.org>
1543 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
1545 2016-12-09 Yao Qi <yao.qi@linaro.org>
1547 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
1549 2016-12-09 Pedro Alves <palves@redhat.com>
1551 * gdb.base/all-architectures-0.exp: New file.
1552 * gdb.base/all-architectures-1.exp: New file.
1553 * gdb.base/all-architectures-2.exp: New file.
1554 * gdb.base/all-architectures-3.exp: New file.
1555 * gdb.base/all-architectures-4.exp: New file.
1556 * gdb.base/all-architectures-5.exp: New file.
1557 * gdb.base/all-architectures-6.exp: New file.
1558 * gdb.base/all-architectures-7.exp: New file.
1559 * gdb.base/all-architectures.exp.in: New file.
1561 2016-12-09 Yao Qi <yao.qi@linaro.org>
1563 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
1565 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1567 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
1569 Remove useless pattern-matching code.
1571 2016-12-02 Pedro Alves <palves@redhat.com>
1573 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
1575 (top level): Call it.
1577 2016-12-02 Pedro Alves <palves@redhat.com>
1579 * gdb.base/commands.exp (user_defined_command_args_stack_test):
1581 (top level): Call it.
1583 2016-12-02 Pedro Alves <palves@redhat.com>
1586 * gdb.base/commands.exp (user_defined_command_args_eval): New
1588 (top level): Call it.
1590 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1592 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
1595 2016-12-02 Tom Tromey <tom@tromey.com>
1597 * gdb.dwarf2/main-subprogram.c: New file.
1598 * gdb.dwarf2/main-subprogram.exp: New file.
1600 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1602 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
1603 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
1604 gdb_test_no_output for a couple of cases.
1605 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
1607 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1609 Fix test names and standardize compilation error messages throughout
1610 the following files:
1613 * gdb.arch/alpha-step.exp
1614 * gdb.arch/e500-prologue.exp
1615 * gdb.arch/ftrace-insn-reloc.exp
1616 * gdb.arch/gdb1291.exp
1617 * gdb.arch/gdb1431.exp
1618 * gdb.arch/gdb1558.exp
1619 * gdb.arch/i386-dr3-watch.exp
1620 * gdb.arch/i386-sse-stack-align.exp
1621 * gdb.arch/ia64-breakpoint-shadow.exp
1622 * gdb.arch/pa-nullify.exp
1623 * gdb.arch/powerpc-aix-prologue.exp
1624 * gdb.arch/thumb-bx-pc.exp
1625 * gdb.base/annota1.exp
1626 * gdb.base/annota3.exp
1627 * gdb.base/arrayidx.exp
1628 * gdb.base/assign.exp
1629 * gdb.base/attach.exp
1632 * gdb.base/bfp-test.exp
1633 * gdb.base/bigcore.exp
1634 * gdb.base/bitfields2.exp
1635 * gdb.base/break-fun-addr.exp
1636 * gdb.base/break-probes.exp
1637 * gdb.base/call-rt-st.exp
1638 * gdb.base/callexit.exp
1639 * gdb.base/catch-fork-kill.exp
1640 * gdb.base/charset.exp
1641 * gdb.base/checkpoint.exp
1642 * gdb.base/comprdebug.exp
1643 * gdb.base/constvars.exp
1644 * gdb.base/coredump-filter.exp
1645 * gdb.base/cursal.exp
1646 * gdb.base/cvexpr.exp
1647 * gdb.base/detach.exp
1648 * gdb.base/display.exp
1649 * gdb.base/dmsym.exp
1650 * gdb.base/dprintf-pending.exp
1651 * gdb.base/dso2dso.exp
1652 * gdb.base/dtrace-probe.exp
1654 * gdb.base/enum_cond.exp
1655 * gdb.base/exe-lock.exp
1656 * gdb.base/exec-invalid-sysroot.exp
1657 * gdb.base/execl-update-breakpoints.exp
1658 * gdb.base/exprs.exp
1659 * gdb.base/fileio.exp
1661 * gdb.base/finish.exp
1662 * gdb.base/fixsection.exp
1663 * gdb.base/foll-vfork.exp
1664 * gdb.base/frame-args.exp
1665 * gdb.base/gcore.exp
1666 * gdb.base/gdb1250.exp
1667 * gdb.base/global-var-nested-by-dso.exp
1668 * gdb.base/gnu-ifunc.exp
1669 * gdb.base/hashline1.exp
1670 * gdb.base/hashline2.exp
1671 * gdb.base/hashline3.exp
1672 * gdb.base/hbreak-in-shr-unsupported.exp
1674 * gdb.base/infcall-input.exp
1675 * gdb.base/info-fun.exp
1676 * gdb.base/info-shared.exp
1677 * gdb.base/jit-simple.exp
1678 * gdb.base/jit-so.exp
1681 * gdb.base/label.exp
1682 * gdb.base/lineinc.exp
1683 * gdb.base/logical.exp
1684 * gdb.base/longjmp.exp
1685 * gdb.base/macscp.exp
1686 * gdb.base/miscexprs.exp
1687 * gdb.base/new-ui-echo.exp
1688 * gdb.base/new-ui-pending-input.exp
1689 * gdb.base/new-ui.exp
1690 * gdb.base/nodebug.exp
1691 * gdb.base/nofield.exp
1692 * gdb.base/offsets.exp
1693 * gdb.base/overlays.exp
1694 * gdb.base/pending.exp
1695 * gdb.base/pointers.exp
1696 * gdb.base/pr11022.exp
1697 * gdb.base/printcmds.exp
1698 * gdb.base/prologue.exp
1699 * gdb.base/ptr-typedef.exp
1700 * gdb.base/realname-expand.exp
1701 * gdb.base/relativedebug.exp
1702 * gdb.base/relocate.exp
1703 * gdb.base/remote.exp
1704 * gdb.base/reread.exp
1705 * gdb.base/return2.exp
1706 * gdb.base/savedregs.exp
1708 * gdb.base/sepdebug.exp
1709 * gdb.base/sepsymtab.exp
1710 * gdb.base/set-inferior-tty.exp
1711 * gdb.base/setshow.exp
1712 * gdb.base/shlib-call.exp
1713 * gdb.base/sigaltstack.exp
1714 * gdb.base/siginfo-addr.exp
1715 * gdb.base/signals.exp
1716 * gdb.base/signull.exp
1717 * gdb.base/sigrepeat.exp
1718 * gdb.base/so-impl-ld.exp
1719 * gdb.base/solib-display.exp
1720 * gdb.base/solib-overlap.exp
1721 * gdb.base/solib-search.exp
1722 * gdb.base/solib-symbol.exp
1723 * gdb.base/structs.exp
1724 * gdb.base/structs2.exp
1725 * gdb.base/symtab-search-order.exp
1726 * gdb.base/twice.exp
1727 * gdb.base/unload.exp
1728 * gdb.base/varargs.exp
1729 * gdb.base/watchpoint-solib.exp
1730 * gdb.base/watchpoint.exp
1731 * gdb.base/whatis.exp
1732 * gdb.base/wrong_frame_bt_full.exp
1733 * gdb.btrace/dlopen.exp
1734 * gdb.cell/ea-standalone.exp
1735 * gdb.cell/ea-test.exp
1736 * gdb.cp/dispcxx.exp
1737 * gdb.cp/gdb2384.exp
1738 * gdb.cp/method2.exp
1739 * gdb.cp/nextoverthrow.exp
1740 * gdb.cp/pr10728.exp
1741 * gdb.disasm/am33.exp
1742 * gdb.disasm/h8300s.exp
1743 * gdb.disasm/mn10300.exp
1744 * gdb.disasm/sh3.exp
1745 * gdb.dwarf2/dw2-dir-file-name.exp
1746 * gdb.fortran/complex.exp
1747 * gdb.fortran/library-module.exp
1748 * gdb.guile/scm-pretty-print.exp
1749 * gdb.guile/scm-symbol.exp
1750 * gdb.guile/scm-type.exp
1751 * gdb.guile/scm-value.exp
1752 * gdb.linespec/linespec.exp
1755 * gdb.mi/mi-breakpoint-changed.exp
1756 * gdb.mi/mi-dprintf-pending.exp
1757 * gdb.mi/mi-dprintf.exp
1758 * gdb.mi/mi-exit-code.exp
1759 * gdb.mi/mi-pending.exp
1760 * gdb.mi/mi-solib.exp
1761 * gdb.mi/new-ui-mi-sync.exp
1762 * gdb.mi/pr11022.exp
1763 * gdb.mi/user-selected-context-sync.exp
1764 * gdb.opt/solib-intra-step.exp
1765 * gdb.python/py-events.exp
1766 * gdb.python/py-finish-breakpoint.exp
1767 * gdb.python/py-mi.exp
1768 * gdb.python/py-prettyprint.exp
1769 * gdb.python/py-shared.exp
1770 * gdb.python/py-symbol.exp
1771 * gdb.python/py-template.exp
1772 * gdb.python/py-type.exp
1773 * gdb.python/py-value.exp
1774 * gdb.reverse/solib-precsave.exp
1775 * gdb.reverse/solib-reverse.exp
1776 * gdb.server/solib-list.exp
1777 * gdb.stabs/weird.exp
1778 * gdb.threads/reconnect-signal.exp
1779 * gdb.threads/stepi-random-signal.exp
1780 * gdb.trace/actions.exp
1782 * gdb.trace/backtrace.exp
1783 * gdb.trace/change-loc.exp
1784 * gdb.trace/deltrace.exp
1785 * gdb.trace/ftrace-lock.exp
1786 * gdb.trace/ftrace.exp
1787 * gdb.trace/infotrace.exp
1788 * gdb.trace/mi-tracepoint-changed.exp
1789 * gdb.trace/packetlen.exp
1790 * gdb.trace/passcount.exp
1791 * gdb.trace/pending.exp
1792 * gdb.trace/range-stepping.exp
1793 * gdb.trace/report.exp
1794 * gdb.trace/stap-trace.exp
1795 * gdb.trace/tfind.exp
1796 * gdb.trace/trace-break.exp
1797 * gdb.trace/trace-condition.exp
1798 * gdb.trace/trace-enable-disable.exp
1799 * gdb.trace/trace-mt.exp
1800 * gdb.trace/tracecmd.exp
1801 * gdb.trace/tspeed.exp
1805 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1807 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1808 with gdb_test_no_output.
1809 Use command as test name.
1811 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1813 Fix test names starting with uppercase throughout the files.
1815 * gdb.ada/assign_1.exp
1816 * gdb.ada/boolean_expr.exp
1817 * gdb.base/arrayidx.exp
1819 * gdb.base/gcore-buffer-overflow.exp
1820 * gdb.base/testenv.exp
1821 * gdb.compile/compile.exp
1822 * gdb.python/py-framefilter-invalidarg.exp
1823 * gdb.python/py-framefilter.exp
1825 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1827 Fix test names starting with uppercase throughout the files.
1829 * gdb.ada/array_return.exp
1830 * gdb.ada/expr_delims.exp
1831 * gdb.ada/mi_dyn_arr.exp
1832 * gdb.ada/mi_interface.exp
1833 * gdb.ada/mi_var_array.exp
1834 * gdb.ada/watch_arg.exp
1835 * gdb.arch/alpha-step.exp
1836 * gdb.arch/altivec-regs.exp
1837 * gdb.arch/e500-regs.exp
1838 * gdb.arch/powerpc-d128-regs.exp
1839 * gdb.base/arrayidx.exp
1840 * gdb.base/break.exp
1841 * gdb.base/checkpoint.exp
1842 * gdb.base/debug-expr.exp
1843 * gdb.base/dmsym.exp
1844 * gdb.base/radix.exp
1845 * gdb.base/sepdebug.exp
1846 * gdb.base/testenv.exp
1847 * gdb.base/watch_thread_num.exp
1848 * gdb.base/watchpoint-cond-gone.exp
1849 * gdb.cell/break.exp
1850 * gdb.cell/ea-cache.exp
1851 * gdb.compile/compile.exp
1852 * gdb.cp/gdb2495.exp
1853 * gdb.gdb/selftest.exp
1854 * gdb.gdb/xfullpath.exp
1856 * gdb.go/integers.exp
1857 * gdb.objc/basicclass.exp
1858 * gdb.pascal/hello.exp
1859 * gdb.pascal/integers.exp
1860 * gdb.python/py-breakpoint.exp
1861 * gdb.python/py-cmd.exp
1862 * gdb.python/py-linetable.exp
1863 * gdb.python/py-xmethods.exp
1864 * gdb.python/python.exp
1865 * gdb.reverse/consecutive-precsave.exp
1866 * gdb.reverse/finish-precsave.exp
1867 * gdb.reverse/i386-precsave.exp
1868 * gdb.reverse/machinestate-precsave.exp
1869 * gdb.reverse/sigall-precsave.exp
1870 * gdb.reverse/solib-precsave.exp
1871 * gdb.reverse/step-precsave.exp
1872 * gdb.reverse/until-precsave.exp
1873 * gdb.reverse/watch-precsave.exp
1874 * gdb.threads/leader-exit.exp
1875 * gdb.threads/pthreads.exp
1876 * gdb.threads/wp-replication.exp
1877 * gdb.trace/actions.exp
1878 * gdb.trace/mi-tsv-changed.exp
1881 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1883 Fix test names starting with uppercase throughout the files.
1885 * gdb.arch/i386-bp_permanent.exp
1886 * gdb.arch/i386-gnu-cfi.exp
1887 * gdb.base/disasm-end-cu.exp
1888 * gdb.base/macscp.exp
1889 * gdb.base/pending.exp
1890 * gdb.base/watch_thread_num.exp
1891 * gdb.cp/exception.exp
1892 * gdb.cp/gdb2495.exp
1894 * gdb.python/py-evsignal.exp
1895 * gdb.python/python.exp
1896 * gdb.trace/tracecmd.exp
1898 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1900 Fix test names starting with uppercase throughout the files.
1902 * gdb.base/charset.exp
1904 * gdb.base/multi-forks.exp
1905 * gdb.guile/scm-progspace.exp
1906 * gdb.opencl/datatypes.exp
1907 * gdb.python/py-block.exp
1908 * gdb.python/py-function.exp
1909 * gdb.python/py-symbol.exp
1910 * gdb.python/py-symtab.exp
1911 * gdb.python/py-xmethods.exp
1912 * gdb.reverse/break-precsave.exp
1913 * gdb.reverse/break-reverse.exp
1914 * gdb.reverse/consecutive-precsave.exp
1915 * gdb.reverse/consecutive-reverse.exp
1916 * gdb.reverse/finish-precsave.exp
1917 * gdb.reverse/finish-reverse-bkpt.exp
1918 * gdb.reverse/finish-reverse.exp
1919 * gdb.reverse/fstatat-reverse.exp
1920 * gdb.reverse/getresuid-reverse.exp
1921 * gdb.reverse/i386-precsave.exp
1922 * gdb.reverse/i386-reverse.exp
1923 * gdb.reverse/i386-sse-reverse.exp
1924 * gdb.reverse/i387-stack-reverse.exp
1925 * gdb.reverse/insn-reverse.exp
1926 * gdb.reverse/machinestate-precsave.exp
1927 * gdb.reverse/machinestate.exp
1928 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1929 * gdb.reverse/pipe-reverse.exp
1930 * gdb.reverse/readv-reverse.exp
1931 * gdb.reverse/recvmsg-reverse.exp
1932 * gdb.reverse/rerun-prec.exp
1933 * gdb.reverse/s390-mvcle.exp
1934 * gdb.reverse/sigall-precsave.exp
1935 * gdb.reverse/sigall-reverse.exp
1936 * gdb.reverse/solib-precsave.exp
1937 * gdb.reverse/solib-reverse.exp
1938 * gdb.reverse/step-precsave.exp
1939 * gdb.reverse/step-reverse.exp
1940 * gdb.reverse/time-reverse.exp
1941 * gdb.reverse/until-precsave.exp
1942 * gdb.reverse/until-reverse.exp
1943 * gdb.reverse/waitpid-reverse.exp
1944 * gdb.reverse/watch-precsave.exp
1945 * gdb.reverse/watch-reverse.exp
1947 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1949 Fix test names starting with uppercase throughout the files.
1951 * gdb.arch/i386-mpx-simple_segv.exp
1952 * gdb.arch/i386-mpx.exp
1953 * gdb.arch/i386-permbkpt.exp
1954 * gdb.arch/pa-nullify.exp
1955 * gdb.arch/powerpc-d128-regs.exp
1956 * gdb.arch/vsx-regs.exp
1957 * gdb.base/bfp-test.exp
1958 * gdb.base/break.exp
1959 * gdb.base/breakpoint-shadow.exp
1960 * gdb.base/callfuncs.exp
1961 * gdb.base/charset.exp
1962 * gdb.base/commands.exp
1963 * gdb.base/completion.exp
1964 * gdb.base/dfp-test.exp
1966 * gdb.base/ending-run.exp
1968 * gdb.base/expand-psymtabs.exp
1969 * gdb.base/float128.exp
1970 * gdb.base/floatn.exp
1971 * gdb.base/foll-exec-mode.exp
1972 * gdb.base/gdb1056.exp
1973 * gdb.base/gdb11531.exp
1974 * gdb.base/kill-after-signal.exp
1975 * gdb.base/multi-forks.exp
1976 * gdb.base/overlays.exp
1977 * gdb.base/pending.exp
1978 * gdb.base/sepdebug.exp
1979 * gdb.base/testenv.exp
1980 * gdb.base/valgrind-db-attach.exp
1981 * gdb.base/watch_thread_num.exp
1982 * gdb.base/watchpoint-cond-gone.exp
1983 * gdb.base/watchpoint.exp
1984 * gdb.base/watchpoints.exp
1985 * gdb.cp/arg-reference.exp
1986 * gdb.cp/baseenum.exp
1987 * gdb.cp/operator.exp
1989 * gdb.dwarf2/dw2-op-out-param.exp
1990 * gdb.dwarf2/dw2-reg-undefined.exp
1993 * gdb.go/integers.exp
1994 * gdb.go/methods.exp
1995 * gdb.go/package.exp
1996 * gdb.guile/scm-parameter.exp
1997 * gdb.guile/scm-progspace.exp
1998 * gdb.guile/scm-value.exp
1999 * gdb.mi/mi-pending.exp
2000 * gdb.mi/user-selected-context-sync.exp
2001 * gdb.multi/multi-attach.exp
2002 * gdb.multi/tids.exp
2003 * gdb.opt/clobbered-registers-O2.exp
2004 * gdb.pascal/floats.exp
2005 * gdb.pascal/integers.exp
2006 * gdb.python/py-block.exp
2007 * gdb.python/py-events.exp
2008 * gdb.python/py-parameter.exp
2009 * gdb.python/py-symbol.exp
2010 * gdb.python/py-symtab.exp
2011 * gdb.python/py-type.exp
2012 * gdb.python/py-value.exp
2013 * gdb.python/py-xmethods.exp
2014 * gdb.python/python.exp
2015 * gdb.reverse/break-precsave.exp
2016 * gdb.reverse/consecutive-precsave.exp
2017 * gdb.reverse/finish-precsave.exp
2018 * gdb.reverse/i386-precsave.exp
2019 * gdb.reverse/machinestate-precsave.exp
2020 * gdb.reverse/sigall-precsave.exp
2021 * gdb.reverse/solib-precsave.exp
2022 * gdb.reverse/step-precsave.exp
2023 * gdb.reverse/until-precsave.exp
2024 * gdb.reverse/watch-precsave.exp
2025 * gdb.server/ext-attach.exp
2026 * gdb.server/ext-restart.exp
2027 * gdb.server/ext-run.exp
2028 * gdb.server/ext-wrapper.exp
2029 * gdb.stabs/gdb11479.exp
2030 * gdb.stabs/weird.exp
2031 * gdb.threads/attach-many-short-lived-threads.exp
2032 * gdb.threads/kill.exp
2033 * gdb.threads/watchpoint-fork.exp
2035 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2037 Fix test names starting with uppercase throughout all the files below.
2039 * gdb.ada/array_return.exp
2040 * gdb.ada/catch_ex.exp
2041 * gdb.ada/info_exc.exp
2042 * gdb.ada/mi_catch_ex.exp
2043 * gdb.ada/mi_dyn_arr.exp
2044 * gdb.ada/mi_ex_cond.exp
2045 * gdb.ada/mi_exc_info.exp
2046 * gdb.ada/mi_interface.exp
2047 * gdb.ada/mi_task_arg.exp
2048 * gdb.ada/mi_task_info.exp
2049 * gdb.ada/mi_var_array.exp
2050 * gdb.arch/alpha-step.exp
2051 * gdb.arch/amd64-disp-step.exp
2052 * gdb.arch/arm-disp-step.exp
2053 * gdb.arch/disp-step-insn-reloc.exp
2054 * gdb.arch/e500-prologue.exp
2055 * gdb.arch/ftrace-insn-reloc.exp
2056 * gdb.arch/gdb1558.exp
2057 * gdb.arch/i386-bp_permanent.exp
2058 * gdb.arch/i386-disp-step.exp
2059 * gdb.arch/i386-float.exp
2060 * gdb.arch/i386-gnu-cfi.exp
2061 * gdb.arch/ia64-breakpoint-shadow.exp
2062 * gdb.arch/mips16-thunks.exp
2063 * gdb.arch/pa-nullify.exp
2064 * gdb.arch/powerpc-aix-prologue.exp
2065 * gdb.arch/powerpc-power.exp
2066 * gdb.arch/ppc-dfp.exp
2067 * gdb.arch/s390-tdbregs.exp
2068 * gdb.arch/spu-info.exp
2069 * gdb.arch/spu-ls.exp
2070 * gdb.arch/thumb-bx-pc.exp
2071 * gdb.base/advance.exp
2072 * gdb.base/annota-input-while-running.exp
2073 * gdb.base/arrayidx.exp
2074 * gdb.base/asmlabel.exp
2075 * gdb.base/async.exp
2076 * gdb.base/attach-wait-input.exp
2077 * gdb.base/auto-connect-native-target.exp
2078 * gdb.base/batch-preserve-term-settings.exp
2079 * gdb.base/bfp-test.exp
2080 * gdb.base/bigcore.exp
2081 * gdb.base/bp-permanent.exp
2082 * gdb.base/break-always.exp
2083 * gdb.base/break-fun-addr.exp
2084 * gdb.base/break-idempotent.exp
2085 * gdb.base/break-main-file-remove-fail.exp
2086 * gdb.base/break-probes.exp
2087 * gdb.base/break-unload-file.exp
2088 * gdb.base/break.exp
2089 * gdb.base/call-ar-st.exp
2090 * gdb.base/call-rt-st.exp
2091 * gdb.base/call-sc.exp
2092 * gdb.base/call-signal-resume.exp
2093 * gdb.base/call-strs.exp
2094 * gdb.base/callexit.exp
2095 * gdb.base/callfuncs.exp
2096 * gdb.base/catch-gdb-caused-signals.exp
2097 * gdb.base/catch-signal-siginfo-cond.exp
2098 * gdb.base/catch-syscall.exp
2099 * gdb.base/compare-sections.exp
2100 * gdb.base/cond-eval-mode.exp
2101 * gdb.base/condbreak-call-false.exp
2102 * gdb.base/consecutive-step-over.exp
2103 * gdb.base/cursal.exp
2104 * gdb.base/disabled-location.exp
2105 * gdb.base/disasm-end-cu.exp
2106 * gdb.base/display.exp
2107 * gdb.base/double-prompt-target-event-error.exp
2108 * gdb.base/dprintf-bp-same-addr.exp
2109 * gdb.base/dprintf-detach.exp
2110 * gdb.base/dprintf-next.exp
2111 * gdb.base/dprintf-non-stop.exp
2112 * gdb.base/dprintf-pending.exp
2113 * gdb.base/dso2dso.exp
2114 * gdb.base/ending-run.exp
2115 * gdb.base/enum_cond.exp
2116 * gdb.base/examine-backward.exp
2117 * gdb.base/exe-lock.exp
2118 * gdb.base/exec-invalid-sysroot.exp
2119 * gdb.base/execl-update-breakpoints.exp
2120 * gdb.base/execution-termios.exp
2121 * gdb.base/fileio.exp
2122 * gdb.base/fixsection.exp
2123 * gdb.base/foll-exec-mode.exp
2124 * gdb.base/foll-exec.exp
2125 * gdb.base/fork-running-state.exp
2126 * gdb.base/frame-args.exp
2127 * gdb.base/fullpath-expand.exp
2128 * gdb.base/func-ptr.exp
2129 * gdb.base/gcore-relro-pie.exp
2130 * gdb.base/gdb1090.exp
2131 * gdb.base/gdb1555.exp
2132 * gdb.base/global-var-nested-by-dso.exp
2133 * gdb.base/gnu-ifunc.exp
2134 * gdb.base/hbreak-in-shr-unsupported.exp
2135 * gdb.base/hbreak-unmapped.exp
2136 * gdb.base/hook-stop.exp
2137 * gdb.base/infcall-input.exp
2138 * gdb.base/info-fun.exp
2139 * gdb.base/info-shared.exp
2140 * gdb.base/interrupt-noterm.exp
2141 * gdb.base/jit-so.exp
2143 * gdb.base/line-symtabs.exp
2145 * gdb.base/longjmp.exp
2146 * gdb.base/macscp.exp
2147 * gdb.base/max-value-size.exp
2148 * gdb.base/nodebug.exp
2149 * gdb.base/nofield.exp
2150 * gdb.base/overlays.exp
2151 * gdb.base/paginate-after-ctrl-c-running.exp
2152 * gdb.base/paginate-bg-execution.exp
2153 * gdb.base/paginate-inferior-exit.exp
2154 * gdb.base/pending.exp
2155 * gdb.base/pr11022.exp
2156 * gdb.base/printcmds.exp
2157 * gdb.base/ptr-typedef.exp
2158 * gdb.base/ptype.exp
2159 * gdb.base/randomize.exp
2160 * gdb.base/range-stepping.exp
2161 * gdb.base/realname-expand.exp
2162 * gdb.base/relativedebug.exp
2163 * gdb.base/remote.exp
2164 * gdb.base/savedregs.exp
2165 * gdb.base/sepdebug.exp
2166 * gdb.base/set-noassign.exp
2167 * gdb.base/shlib-call.exp
2168 * gdb.base/shreloc.exp
2169 * gdb.base/sigaltstack.exp
2170 * gdb.base/sigbpt.exp
2171 * gdb.base/siginfo-addr.exp
2172 * gdb.base/siginfo-obj.exp
2173 * gdb.base/siginfo-thread.exp
2174 * gdb.base/signest.exp
2175 * gdb.base/signull.exp
2176 * gdb.base/sigrepeat.exp
2178 * gdb.base/so-impl-ld.exp
2179 * gdb.base/solib-corrupted.exp
2180 * gdb.base/solib-disc.exp
2181 * gdb.base/solib-display.exp
2182 * gdb.base/solib-overlap.exp
2183 * gdb.base/solib-search.exp
2184 * gdb.base/solib-symbol.exp
2185 * gdb.base/source-execution.exp
2186 * gdb.base/sss-bp-on-user-bp-2.exp
2187 * gdb.base/sss-bp-on-user-bp.exp
2188 * gdb.base/stack-checking.exp
2189 * gdb.base/stale-infcall.exp
2190 * gdb.base/step-break.exp
2191 * gdb.base/step-line.exp
2192 * gdb.base/step-over-exit.exp
2193 * gdb.base/step-test.exp
2194 * gdb.base/structs.exp
2195 * gdb.base/sym-file.exp
2196 * gdb.base/symtab-search-order.exp
2198 * gdb.base/type-opaque.exp
2199 * gdb.base/unload.exp
2200 * gdb.base/until-nodebug.exp
2201 * gdb.base/until.exp
2202 * gdb.base/unwindonsignal.exp
2203 * gdb.base/watch-cond.exp
2204 * gdb.base/watch-non-mem.exp
2205 * gdb.base/watch_thread_num.exp
2206 * gdb.base/watchpoint-reuse-slot.exp
2207 * gdb.base/watchpoint-solib.exp
2208 * gdb.base/watchpoint.exp
2209 * gdb.btrace/dlopen.exp
2211 * gdb.cell/break.exp
2215 * gdb.cell/dwarfaddr.exp
2216 * gdb.cell/ea-cache.exp
2217 * gdb.cell/ea-standalone.exp
2218 * gdb.cell/ea-test.exp
2219 * gdb.cell/f-regs.exp
2221 * gdb.cell/gcore.exp
2222 * gdb.cell/mem-access.exp
2223 * gdb.cell/ptype.exp
2224 * gdb.cell/registers.exp
2225 * gdb.cell/sizeof.exp
2226 * gdb.cell/solib-symbol.exp
2227 * gdb.cell/solib.exp
2228 * gdb.compile/compile-tls.exp
2229 * gdb.cp/exception.exp
2230 * gdb.cp/gdb2495.exp
2232 * gdb.cp/mb-inline.exp
2233 * gdb.cp/mb-templates.exp
2234 * gdb.cp/pr10687.exp
2236 * gdb.cp/scope-err.exp
2237 * gdb.cp/templates.exp
2238 * gdb.cp/virtfunc.exp
2239 * gdb.dwarf2/dw2-dir-file-name.exp
2240 * gdb.dwarf2/dw2-single-line-discriminators.exp
2241 * gdb.fortran/complex.exp
2242 * gdb.fortran/library-module.exp
2243 * gdb.guile/guile.exp
2244 * gdb.guile/scm-cmd.exp
2245 * gdb.guile/scm-frame-inline.exp
2246 * gdb.guile/scm-objfile.exp
2247 * gdb.guile/scm-pretty-print.exp
2248 * gdb.guile/scm-symbol.exp
2249 * gdb.guile/scm-type.exp
2250 * gdb.guile/scm-value.exp
2251 * gdb.linespec/keywords.exp
2252 * gdb.linespec/ls-errs.exp
2253 * gdb.linespec/macro-relative.exp
2254 * gdb.linespec/thread.exp
2255 * gdb.mi/mi-breakpoint-changed.exp
2256 * gdb.mi/mi-dprintf-pending.exp
2257 * gdb.mi/mi-fullname-deleted.exp
2258 * gdb.mi/mi-logging.exp
2259 * gdb.mi/mi-pending.exp
2260 * gdb.mi/mi-solib.exp
2261 * gdb.mi/new-ui-mi-sync.exp
2262 * gdb.mi/user-selected-context-sync.exp
2263 * gdb.multi/dummy-frame-restore.exp
2264 * gdb.multi/multi-arch-exec.exp
2265 * gdb.multi/remove-inferiors.exp
2266 * gdb.multi/watchpoint-multi-exit.exp
2267 * gdb.opt/solib-intra-step.exp
2268 * gdb.perf/backtrace.exp
2269 * gdb.perf/single-step.exp
2270 * gdb.perf/skip-command.exp
2271 * gdb.perf/skip-prologue.exp
2272 * gdb.perf/solib.exp
2273 * gdb.python/lib-types.exp
2274 * gdb.python/py-as-string.exp
2275 * gdb.python/py-bad-printers.exp
2276 * gdb.python/py-block.exp
2277 * gdb.python/py-breakpoint.exp
2278 * gdb.python/py-cmd.exp
2279 * gdb.python/py-events.exp
2280 * gdb.python/py-evthreads.exp
2281 * gdb.python/py-finish-breakpoint.exp
2282 * gdb.python/py-finish-breakpoint2.exp
2283 * gdb.python/py-frame-inline.exp
2284 * gdb.python/py-frame.exp
2285 * gdb.python/py-inferior.exp
2286 * gdb.python/py-infthread.exp
2287 * gdb.python/py-mi.exp
2288 * gdb.python/py-objfile.exp
2289 * gdb.python/py-pp-maint.exp
2290 * gdb.python/py-pp-registration.exp
2291 * gdb.python/py-prettyprint.exp
2292 * gdb.python/py-recurse-unwind.exp
2293 * gdb.python/py-shared.exp
2294 * gdb.python/py-symbol.exp
2295 * gdb.python/py-symtab.exp
2296 * gdb.python/py-template.exp
2297 * gdb.python/py-type.exp
2298 * gdb.python/py-unwind-maint.exp
2299 * gdb.python/py-unwind.exp
2300 * gdb.python/py-value.exp
2301 * gdb.python/python.exp
2302 * gdb.reverse/finish-reverse-bkpt.exp
2303 * gdb.reverse/insn-reverse.exp
2304 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2305 * gdb.reverse/solib-precsave.exp
2306 * gdb.reverse/solib-reverse.exp
2307 * gdb.stabs/gdb11479.exp
2308 * gdb.stabs/weird.exp
2309 * gdb.threads/fork-child-threads.exp
2310 * gdb.threads/fork-plus-threads.exp
2311 * gdb.threads/fork-thread-pending.exp
2312 * gdb.threads/forking-threads-plus-breakpoint.exp
2313 * gdb.threads/hand-call-in-threads.exp
2314 * gdb.threads/interrupted-hand-call.exp
2315 * gdb.threads/linux-dp.exp
2316 * gdb.threads/local-watch-wrong-thread.exp
2317 * gdb.threads/next-while-other-thread-longjmps.exp
2318 * gdb.threads/non-ldr-exit.exp
2319 * gdb.threads/pending-step.exp
2320 * gdb.threads/print-threads.exp
2321 * gdb.threads/process-dies-while-detaching.exp
2322 * gdb.threads/process-dies-while-handling-bp.exp
2323 * gdb.threads/pthreads.exp
2324 * gdb.threads/queue-signal.exp
2325 * gdb.threads/reconnect-signal.exp
2326 * gdb.threads/signal-command-handle-nopass.exp
2327 * gdb.threads/signal-command-multiple-signals-pending.exp
2328 * gdb.threads/signal-delivered-right-thread.exp
2329 * gdb.threads/signal-sigtrap.exp
2330 * gdb.threads/sigthread.exp
2331 * gdb.threads/staticthreads.exp
2332 * gdb.threads/stepi-random-signal.exp
2333 * gdb.threads/thread-unwindonsignal.exp
2334 * gdb.threads/thread_check.exp
2335 * gdb.threads/thread_events.exp
2336 * gdb.threads/tid-reuse.exp
2337 * gdb.threads/tls-nodebug.exp
2338 * gdb.threads/tls-shared.exp
2339 * gdb.threads/tls-so_extern.exp
2340 * gdb.threads/tls.exp
2341 * gdb.threads/wp-replication.exp
2342 * gdb.trace/actions-changed.exp
2343 * gdb.trace/actions.exp
2344 * gdb.trace/backtrace.exp
2345 * gdb.trace/change-loc.exp
2346 * gdb.trace/collection.exp
2347 * gdb.trace/deltrace.exp
2348 * gdb.trace/disconnected-tracing.exp
2349 * gdb.trace/entry-values.exp
2350 * gdb.trace/ftrace-lock.exp
2351 * gdb.trace/ftrace.exp
2352 * gdb.trace/infotrace.exp
2353 * gdb.trace/mi-trace-frame-collected.exp
2354 * gdb.trace/mi-trace-unavailable.exp
2355 * gdb.trace/mi-traceframe-changed.exp
2356 * gdb.trace/mi-tracepoint-changed.exp
2357 * gdb.trace/mi-tsv-changed.exp
2358 * gdb.trace/no-attach-trace.exp
2359 * gdb.trace/packetlen.exp
2360 * gdb.trace/passc-dyn.exp
2361 * gdb.trace/passcount.exp
2362 * gdb.trace/pending.exp
2363 * gdb.trace/pr16508.exp
2364 * gdb.trace/qtro.exp
2365 * gdb.trace/range-stepping.exp
2366 * gdb.trace/read-memory.exp
2367 * gdb.trace/report.exp
2368 * gdb.trace/save-trace.exp
2369 * gdb.trace/signal.exp
2370 * gdb.trace/stap-trace.exp
2371 * gdb.trace/status-stop.exp
2372 * gdb.trace/strace.exp
2373 * gdb.trace/tfile.exp
2374 * gdb.trace/tfind.exp
2375 * gdb.trace/trace-break.exp
2376 * gdb.trace/trace-condition.exp
2377 * gdb.trace/trace-enable-disable.exp
2378 * gdb.trace/trace-mt.exp
2379 * gdb.trace/tracecmd.exp
2380 * gdb.trace/tracefile-pseudo-reg.exp
2381 * gdb.trace/tspeed.exp
2382 * gdb.trace/tstatus.exp
2384 * gdb.trace/unavailable.exp
2385 * gdb.trace/while-dyn.exp
2386 * gdb.trace/while-stepping.exp
2389 * lib/mi-support.exp
2392 * lib/prelink-support.exp
2393 * lib/selftest-support.exp
2395 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
2397 * Makefile.in: Include disable-implicit-rules.mk.
2399 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2401 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
2402 non-byte-aligned bit fields.
2404 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2407 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
2408 respects the DW_AT_data_bit_offset attribute.
2410 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
2412 * gdb.base/default.exp: Fix output of "set language".
2414 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
2416 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
2417 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
2419 * configure.ac: Remove checks for the make program.
2420 * configure: Re-generate.
2422 2016-11-16 Kevin Buettner <kevinb@redhat.com>
2424 * gdb.python/py-recurse-unwind.c (main): Add loop.
2425 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
2426 to read_register() and gdb.parse_and_eval(). Make each code
2427 call a separate case that can be individually tested.
2428 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
2429 proc. Call cont_and_backtrace for each of the code paths that
2430 we want to test in the unwinder.
2432 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
2434 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
2435 the definition of struct S.
2437 2016-11-11 Catherine Moore <clm@codesourcery.com>
2439 * gdb.base/dump.exp: Identify verilog format dump tests as such.
2441 2016-11-09 Pedro Alves <palves@redhat.com>
2443 * gdb.base/commands.exp (runto_or_return): New procedure.
2444 (gdbvar_simple_if_test, gdbvar_simple_while_test)
2445 (gdbvar_complex_if_while_test, progvar_simple_if_test)
2446 (progvar_simple_while_test, progvar_complex_if_while_test)
2447 (if_while_breakpoint_command_test)
2448 (infrun_breakpoint_command_test, breakpoint_command_test)
2449 (user_defined_command_test, watchpoint_command_test)
2450 (test_command_prompt_position, redefine_hook_test)
2451 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
2452 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
2453 multi_line_input and multi_line. Remove gdb_expect and
2454 gdb_stop_suppressing_tests uses.
2455 * lib/gdb.exp (valnum_re): New global.
2456 (multi_line_input): New procedure.
2458 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
2460 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
2462 (test_setup): Define with proc_with_prefix.
2463 (test_cli_inferior): Likewise.
2464 (test_cli_thread): Likewise.
2465 (test_cli_frame): Likewise.
2466 (test_cli_select_frame): Likewise.
2467 (test_cli_up_down): Likewise.
2468 (test_mi_thread_select): Likewise.
2469 (test_mi_stack_select_frame): Likewise.
2470 (test_cli_in_mi_inferior): Likewise.
2471 (test_cli_in_mi_thread): Likewise.
2472 (test_cli_in_mi_frame): Likewise.
2473 (top level): Do not use with_test_prefix_procname.
2475 2016-11-09 Pedro Alves <palves@redhat.com>
2477 * gdb.base/commands.exp (gdbvar_simple_if_test)
2478 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
2479 (progvar_simple_if_test, progvar_simple_while_test)
2480 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
2481 (infrun_breakpoint_command_test, breakpoint_command_test)
2482 (user_defined_command_test, watchpoint_command_test)
2483 (test_command_prompt_position, deprecated_command_test)
2484 (bp_deleted_in_command, temporary_breakpoint_commands)
2485 (stray_arg0_test, source_file_with_indented_comment)
2486 (recursive_source_test, if_commands_test)
2487 (error_clears_commands_left, redefine_hook_test)
2488 (redefine_backtrace_test): Use proc_with_prefix.
2489 * lib/gdb.exp (proc_with_prefix): New proc.
2491 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2493 * gdb.base/tui-layout.c: New file.
2494 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
2495 disassembly window contains very long lines.
2497 2016-11-08 Tom Tromey <tom@tromey.com>
2499 * gdb.python/py-value.exp (test_value_creation): Make "long" test
2502 2016-11-08 Tom Tromey <tom@tromey.com>
2504 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
2507 2016-10-29 Manish Goregaokar <manish@mozilla.com>
2509 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
2511 2016-10-27 Manish Goregaokar <manish@mozilla.com>
2513 * gdb.rust/simple.rs: Add test for univariant enums without
2514 discriminants and for encoded struct-like enums.
2516 2016-10-28 Pedro Alves <palves@redhat.com>
2518 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
2519 gdb_test_multiple, tighten regexps and match symtabs and line
2520 tables incrementally.
2522 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
2524 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
2527 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
2529 * gdb.base/exec-invalid-sysroot.exp: New file.
2531 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2533 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
2535 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2537 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
2539 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
2541 * gdb.base/killed-outside.exp: Remove $options from a call to
2542 `prepare_for_testing'.
2544 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2546 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2547 Change test message.
2549 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2551 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2554 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2556 * gdb.trace/mi-trace-save.exp: New file.
2558 2016-10-13 Yao Qi <yao.qi@linaro.org>
2560 * gdb.base/code_elim.exp (get_var_address): Remove.
2561 * gdb.base/relocate.exp: Likewise.
2562 * gdb.base/shreloc.exp: Likewise.
2563 * lib/gdb.exp (get_var_address): New.
2565 2016-10-13 Yao Qi <yao.qi@linaro.org>
2567 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
2568 floating point tests if $skip_float_test is false.
2570 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
2572 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
2573 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
2575 Add 1 to argc so we guarantee distinct initial/modified argc values.
2577 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2579 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
2581 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2583 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
2584 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2585 * gdb.arch/vsx-regs.exp: Likewise.
2587 2016-10-07 Yao Qi <yao.qi@linaro.org>
2589 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
2591 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
2593 * gdb.python/python.exp: Test decode_line("*0").
2595 2016-10-06 Doug Evans <dje@google.com>
2597 * gdb.python/py-value.exp (test_value_creation): Add test for large
2598 unsigned 64-bit value.
2600 2016-10-06 Tom Tromey <tom@tromey.com>
2602 * gdb.compile/compile.exp: Change java tests to rust.
2603 * gdb.base/setshow.exp: Change java tests to rust.
2604 * gdb.base/default.exp: Remove java from language list.
2605 * README (Examples): Update language example.
2606 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
2608 * lib/gdb.exp (skip_java_tests): Remove.
2609 * lib/java.exp: Remove.
2612 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2614 * gdb.arch/mips-fcr.exp: New test.
2615 * gdb.arch/mips-fcr.c: Source for the new test.
2617 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2619 * gdb.base/solib-disc.exp: Use `standard_output_file'
2622 2016-10-06 Pedro Alves <palves@redhat.com>
2624 * gdb.base/jit-simple-dl.c: New file.
2625 * gdb.base/jit-simple-jit.c: New file, factored out from ...
2626 * gdb.base/jit-simple.c: ... this.
2627 * gdb.base/jit-simple.exp (jit_run): Delete.
2628 (build_jit): New proc.
2629 (jit_test_reread): Recompile either the main program or the shared
2630 library, depending on what is being tested. Skip changing address
2631 if caller wants to. Compare before/after addresses. If testing
2632 standalone, explicitly load the binary. Test "maint info
2634 (top level): Add "standalone vs shared lib" and "change address"
2635 vs "same address" axes.
2637 2016-10-06 Pedro Alves <palves@redhat.com>
2639 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
2642 (jit_test_reread): Use with_test_prefix. Reload the main binary
2643 explicitly. Compare the before/after addresses of the JIT
2646 2016-08-15 Doug Evans <dje@google.com>
2648 * gdb.xml/extra-regs.xml: Update, end field now required, default type
2649 for single bitfields is bool.
2650 * gdb.xml/tdesc-regs.exp: Ditto.
2652 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2654 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
2656 2016-10-05 Yao Qi <yao.qi@linaro.org>
2658 * lib/gdb.exp (support_complex_tests): Return zero if
2659 gdb_skip_float_test return true.
2661 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2662 Simon Marchi <simon.marchi@ericsson.com>
2665 * gdb.mi/user-selected-context-sync.exp: New file.
2666 * gdb.mi/user-selected-context-sync.c: New file.
2668 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2669 Simon Marchi <simon.marchi@ericsson.com>
2672 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
2673 =thread-select-event check.
2675 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2677 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
2678 the compulsory L operand changes.
2679 * gdb.arch/powerpc-power.s: Likewise.
2681 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2683 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
2684 * gdb.base/jit-attach-pie.c: New file.
2685 * gdb.base/jit-attach-pie.exp: New file.
2687 2016-09-28 Pedro Alves <palves@redhat.com>
2689 * gdb.base/infcall-input.c: New file.
2690 * gdb.base/infcall-input.exp: New file.
2692 2016-09-22 Yao Qi <yao.qi@linaro.org>
2694 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
2695 (gdb_exit): Rename it to ...
2696 (gdbserver_gdb_exit): ... Close GDBserver.
2697 (gdb_exit): New proc, call gdbserver_gdb_exit.
2698 (mi_gdb_exit): Likewise.
2700 2016-09-22 Yao Qi <yao.qi@linaro.org>
2702 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
2704 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
2707 2016-09-22 Yao Qi <yao.qi@linaro.org>
2709 * lib/gdbserver-support.exp: Check the existence of
2710 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
2712 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2714 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
2716 2016-09-21 Tom Tromey <tom@tromey.com>
2719 * gdb.base/quit.exp: New file.
2721 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
2723 * .gitignore: New file.
2725 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
2727 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
2730 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2732 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
2734 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2736 * gdb.cp/casts.cc (decltype): Move it ...
2737 (main): ... with its call to ...
2738 * gdb.cp/casts03.cc: ... a new file.
2739 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2741 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2743 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2745 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2747 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2748 and sync up the test with tests in gas/testsuite/gas/ppc.
2749 * gdb.arch/powerpc-power.exp: Likewise.
2751 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2753 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2755 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2756 Jan Kratochvil <jan.kratochvil@redhat.com>
2758 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2759 make m1's definition to be different from m2's. Use 'dummy' as an
2760 argument for probe 'two'.
2762 2016-09-10 Jon Beniston <jon@beniston.com>
2764 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2767 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2769 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2770 variable declaration.
2771 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2772 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2773 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2774 received HWCAP as its argument.
2776 2016-09-06 Pedro Alves <palves@redhat.com>
2778 * gdb.base/new-ui-pending-input.c: New file.
2779 * gdb.base/new-ui-pending-input.exp: New file.
2780 * gdb.exp (clear_gdb_spawn_id): New procedure.
2781 (with_spawn_id): Check whether gdb_spawn_id exists before
2782 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2785 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2787 * gdb.base/float128.c: New file.
2788 * gdb.base/float128.exp: Likewise.
2789 * gdb.base/floatn.c: Likewise.
2790 * gdb.base/floatn.exp: Likewise.
2792 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2794 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2796 2016-09-05 Pedro Alves <palves@redhat.com>
2799 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2800 unwinders are immediately called as side effect of "source" or
2801 "disable unwinder" commands.
2802 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2804 2016-09-02 Yao Qi <yao.qi@linaro.org>
2806 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2807 is true and $type is "float" or "double".
2809 2016-09-02 Yao Qi <yao.qi@linaro.org>
2811 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2813 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2814 * gdb.base/call-rt-st.exp: Likewise.
2815 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2816 return value instead of gdb,skip_float_test.
2817 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2818 (do_function_calls): Use its return value instead of
2819 gdb,skip_float_test.
2820 * gdb.base/finish.exp: Likewise.
2821 * gdb.base/funcargs.exp: Likewise.
2822 * gdb.base/return.exp: Likewise.
2823 * gdb.base/return2.exp: Likewise.
2824 * gdb.base/varargs.exp: Likewise.
2825 * lib/gdb.exp (gdb_skip_float_test): Change it to
2826 gdb_caching_proc. Detect the broken ptrace on arm-linux.
2828 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2830 * gdb.multi/tids.exp: Test "thread apply all".
2832 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2834 * gdb.base/default.exp (tty): Remove.
2836 2016-08-24 Kevin Buettner <kevinb@redhat.com>
2838 * gdb.python/py-recurse-unwind.c: New file.
2839 * gdb.python/py-recurse-unwind.py: New file.
2840 * gdb.python/py-recurse-unwind.exp: New file.
2842 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
2844 * gdb.base/set-inferior-tty.exp: New file.
2845 * gdb.base/set-inferior-tty.c: New file.
2847 2016-08-23 Pedro Alves <palves@redhat.com>
2850 * gdb.base/new-ui-echo.c: New file.
2851 * gdb.base/new-ui-echo.exp: New file.
2853 2016-08-23 Yao Qi <yao.qi@linaro.org>
2855 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
2857 * gdb.server/connect-without-multi-process.exp (do_test):
2860 2016-08-23 Yao Qi <yao.qi@linaro.org>
2862 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
2863 standalone_txt. Delete gdb_txt and standalone_txt on host
2864 and target. Spawn the binary on target. Copy files from
2867 2016-08-22 Pedro Alves <palves@redhat.com>
2870 * gdb.base/vdso-warning.exp: Test core dumps too. Use
2871 with_test_prefix. Factor out bits to ...
2872 (test_no_vdso): ... this new procedure.
2874 2016-08-19 Carl Love <cel@us.ibm.com>
2876 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
2877 maintaining separate logic for constructing the output path.
2878 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2879 * gdb.arch/ppc-dfp.exp: Likewise.
2880 * gdb.arch/ppc-fp.exp: Likewise.
2881 * gdb.arch/vsx-regs.exp: Likewise.
2882 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
2883 binprefix for generating the additional binary files.
2885 2016-08-19 Pedro Alves <palves@redhat.com>
2887 * gdb.trace/mi-trace-frame-collected.exp
2888 (test_trace_frame_collected): On x32, expect two registers.
2890 2016-08-18 Carl Love <cel@us.ibm.com>
2892 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
2893 and sync up the test with tests in gas/testsuite/gas/ppc.
2894 * gdb.arch/powerpc-power.exp: Likewise.
2896 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2898 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
2899 expected error message.
2901 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2903 * gdb.multi/remove-inferiors.exp: New file.
2904 * gdb.multi/remove-inferiors.c: New file.
2906 2016-08-12 Yao Qi <yao.qi@linaro.org>
2908 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
2911 2016-08-10 Pedro Alves <palves@redhat.com>
2914 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
2917 2016-08-09 Pedro Alves <palves@redhat.com>
2918 Simon Marchi <simon.marchi@ericsson.com>
2921 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
2922 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
2924 2016-08-09 Pedro Alves <palves@redhat.com>
2927 * gdb.mi/mi-cmd-error.exp: New file.
2929 2016-08-09 Pedro Alves <palves@redhat.com>
2932 * gdb.base/signals-state-child.c: New file.
2933 * gdb.base/signals-state-child.exp: New file.
2934 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
2936 2016-08-09 Pedro Alves <palves@redhat.com>
2938 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
2940 2016-08-03 Tom Tromey <tom@tromey.com>
2943 * gdb.python/py-frame-inline.exp: Add Frame.function test.
2945 2016-08-01 Yao Qi <yao.qi@linaro.org>
2947 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
2948 variable mode to "multi-process" if $multi_process is 1, otherwise
2949 set it to "single-process".
2951 2016-08-01 Yao Qi <yao.qi@linaro.org>
2953 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
2954 * gdb.cp/cpexprs.exp: Likewise.
2955 * gdb.cp/m-static.exp: Likewise.
2957 2016-07-26 Tom Tromey <tom@tromey.com>
2960 * gdb.threads/tls.exp (check_thread_local): Add python symbol
2963 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
2965 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
2966 selecting assembly source files.
2967 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
2968 assembly source files.
2969 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
2970 assembly source files.
2971 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
2972 selecting assembly source files.
2974 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
2976 * gdb.base/new-ui.exp (do_test_invalid_args): New
2979 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
2981 * gdb.btrace/reconnect.c: New file.
2982 * gdb.btrace/reconnect.exp: New file.
2984 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
2986 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
2987 to test_catch_syscall_group.
2988 (test_catch_syscall_group): New.
2990 2016-07-21 Tom Tromey <tom@tromey.com>
2992 * gdb.rust/simple.rs (main): Use empty struct expression.
2993 * gdb.rust/simple.exp: Add tests for empty struct expression.
2995 2016-07-21 Yao Qi <yao.qi@linaro.org>
2997 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
2998 if gdb_skip_xml_test is true on some targets.
3000 2016-07-21 Yao Qi <yao.qi@linaro.org>
3002 * gdb.server/solib-list.exp: Unset last_loaded_file.
3004 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3006 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
3007 "step into captured_main (args)".
3009 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3011 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
3013 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3015 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
3017 2016-07-19 Pedro Alves <palves@redhat.com>
3019 * gdb.opt/inline-break.exp: Remove optimize=-O2.
3020 * gdb.opt/inline-bt.exp: Likewise.
3021 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
3022 additional_flags=-Winline.
3023 * gdb.opt/inline-locals.exp: Likewise.
3024 * gdb.opt/inline-markers.c (ATTR): Define.
3025 (inlined_fn): Use it.
3027 2016-07-19 Yao Qi <yao.qi@linaro.org>
3029 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
3030 (test_with_self): Remove some code. Remove argument executable.
3031 (top-level): Use do_self_tests.
3033 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
3034 Don Breazeal <donb@codesourcery.com>
3036 * gdb.base/maint.exp: Escape paths used in regular expressions.
3037 * gdb.stabs/weird.exp: Likewise.
3039 2016-07-13 Tom Tromey <tom@tromey.com>
3041 PR python/15620, PR python/18620:
3042 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
3043 (test_bkpt_events): New procs.
3045 2016-07-13 Tom Tromey <tom@tromey.com>
3048 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
3050 (test_watchpoints): Likewise.
3051 (test_bkpt_pending): New proc.
3053 2016-07-13 Tom Tromey <tom@tromey.com>
3056 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
3059 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3061 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
3062 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
3063 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
3065 (g): Rename g_end_lbl to g_label.
3066 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
3068 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
3070 2016-07-12 Tom Tromey <tom@tromey.com>
3073 * gdb.python/py-unwind-maint.exp: Update tests.
3075 2016-07-12 Yao Qi <yao.qi@linaro.org>
3077 * lib/selftest-support.exp (selftest_setup): Match the output
3078 when captured_main is inlined.
3080 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3082 * gdb.fortran/derived-types.exp (result_line, result_line_2):
3084 (print this%a, print this%b, print this): New tests.
3085 * gdb.fortran/derived-types.f90 (this): New object and
3088 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3090 * gdb.ada/arraydim.exp: Remove extra directory level in build
3093 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3095 * lib/ada.exp: Remove extra directory level in build directory.
3096 * gdb.ada/cond_lang.exp: Likewise.
3097 * gdb.ada/exec_changed.exp: Likewise.
3098 * gdb.ada/lang_switch.exp: Likewise.
3100 2016-07-06 Manish Goregaokar <manish@mozilla.com>
3102 * simple.rs: Add test for raw pointer subscripting.
3103 * simple.exp: Add test expectations.
3105 2016-07-05 Yao Qi <yao.qi@linaro.org>
3107 * gdb.mi/mi-reverse.exp: Match =record-started output.
3109 2016-07-01 Pedro Alves <palves@redhat.com>
3111 * gdb.base/jit-reader.exp (info_registers_current_frame): New
3113 (jit_reader_test): Test the jit reader's unwinder.
3114 * gdb.base/jithost.c (jit_function_00_code): New global.
3115 (main): Use memcpy to fill in the mmapped code, instead of poking
3116 bytes manually here.
3117 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
3119 (read_debug_info): Save the function's range.
3120 (read_sp): New function.
3121 (unwind_frame): Use it. Also unwind RBP.
3122 (get_frame_id): Use read_sp.
3123 (gdb_init_reader): Use calloc instead of malloc.
3124 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
3125 parameter. Use gdb_test_multiple.
3127 2016-07-01 Pedro Alves <palves@redhat.com>
3128 Antoine Tremblay <antoine.tremblay@ericsson.com>
3130 * gdb.threads/process-dies-while-detaching.c: New file.
3131 * gdb.threads/process-dies-while-detaching.exp: New file.
3133 2016-07-01 Pedro Alves <palves@redhat.com>
3135 * gdb.multi/watchpoint-multi-exit.c: New file.
3136 * gdb.multi/watchpoint-multi-exit.exp: New file.
3138 2016-06-30 Pedro Alves <palves@redhat.com>
3140 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
3141 unset inferior_spawn_id.
3143 2016-06-30 Pedro Alves <palves@redhat.com>
3145 * lib/mi-support.exp (default_mi_gdb_start): Declare global
3146 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
3148 2016-06-29 Yao Qi <yao.qi@linaro.org>
3150 * gdb.base/return.c: Add copyright header.
3152 2016-06-29 Tom Tromey <tom@tromey.com>
3155 * gdb.python/py-framefilter.exp: Add tests for setting priority
3156 and disabling of non-existent frame filter.
3158 2016-06-29 Yao Qi <yao.qi@linaro.org>
3160 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
3163 2016-06-28 Yao Qi <yao.qi@linaro.org>
3165 * gdb.base/catch-syscall.exp: Remove check on isnative and target
3166 triplets. Start gdb, execute catch syscall, and continue. Check
3167 gdb's output to determine catch syscall is supported.
3169 2016-06-27 Manish Goregaokar <manish@mozilla.com>
3171 * gdb.rust/simple.rs: Add test for returning unit in a function.
3172 * gdb.rust/simple.exp: Add expectation for functions returning
3175 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
3177 * gdb.python/py-breakpoint-create-fail.c,
3178 gdb.python/py-breakpoint-create-fail.exp,
3179 gdb.python/py-breakpoint-create-fail.py: New testcase.
3181 2016-06-25 Manish Goregaokar <manish@mozilla.com>
3184 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
3185 * gdb.rust/simple.exp: Add test expectations for new NonZero
3188 2016-06-24 David Taylor <dtaylor@emc.com>
3190 * gdb.base/offsets.exp: New file.
3191 * gdb.base/offsets.c: New file.
3193 2016-06-23 Tom Tromey <tom@tromey.com>
3196 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
3197 before any filters are loaded.
3199 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
3201 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
3202 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
3204 * gdb.fortran/derived-type-function.exp: New file.
3205 * gdb.fortran/derived-type-function.f90: New file.
3208 2016-06-21 Pedro Alves <palves@redhat.com>
3210 * gdb.base/new-ui.exp: New file.
3211 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
3212 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
3213 (with_spawn_id): New procedure.
3215 2016-06-21 Pedro Alves <palves@redhat.com>
3217 * gdb.mi/mi-exec-run.exp: New file.
3219 2016-06-21 Pedro Alves <palves@redhat.com>
3221 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
3222 breakpoint command's output on the main UI.
3223 (test_break): New procedure, factored out from calls in the top
3225 (top level): Use foreach_with_prefix to test MI as main UI and as
3228 2016-06-21 Pedro Alves <palves@redhat.com>
3230 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
3231 (test_awatch_creation_and_listing)
3232 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
3233 Remove 'type' parameter.
3234 (test_watchpoint_all): New parameter mi_mode. Remove
3236 (top level): Use foreach_with_prefix, and add main/separate UI MI
3239 2016-06-21 Pedro Alves <palves@redhat.com>
3241 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
3242 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
3243 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
3244 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
3245 (gdb_main_spawn_id, mi_spawn_id): Declare and
3247 (mi_create_inferior_pty): New procedure,
3248 factored out from default_mi_gdb_start.
3249 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
3251 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
3252 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
3253 Use mi_create_inferior_pty.
3254 (mi_gdb_start): Use eval to pass down args list.
3256 2016-06-21 Pedro Alves <palves@redhat.com>
3258 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
3259 * gdb.opt/inline-cmds.exp: Add MI tests.
3261 2016-06-21 Pedro Alves <palves@redhat.com>
3263 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
3265 2016-06-21 Pedro Alves <palves@redhat.com>
3267 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
3268 (top level): Use it instead of mi_execute_to.
3270 2016-06-21 Pedro Alves <palves@redhat.com>
3272 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
3273 (cont_handler_str): New.
3274 (signal_stop_handler): Set stop_handler_str instead of printing to
3276 (continue_handler): Set cont_handler_str instead of printing to
3278 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
3279 mi_send_resuming_command. Print stop_handler_str and
3280 cont_handler_str instead of expecting the python events print
3283 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
3285 * gdb.base/jit-reader.exp: New file.
3286 * gdb.base/jithost.c: New file.
3287 * gdb.base/jithost.h: New file.
3288 * gdb.base/jitreader.c : New file.
3289 * gdb.base/jit-protocol.h: New file.
3291 2016-06-17 Yao Qi <yao.qi@linaro.org>
3293 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
3294 parameters follow_fork and detach_on_fork. Set follow-fork-mode
3295 and detach-on-fork. Adjust tests.
3296 (top level): Invoke break_cond_on_syscall with combinations of
3297 syscall, follow-fork-mode and detach-on-fork.
3299 2016-06-17 Yao Qi <yao.qi@linaro.org>
3301 * gdb.base/step-over-exit.c: New.
3302 * gdb.base/step-over-exit.exp: New.
3304 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
3306 * gdb.base/float.exp: Add target check for nds32*-*-*.
3307 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
3309 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
3311 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
3312 for unsupported target features.
3313 * gdb.base/call-rt-st.exp: Likewise.
3314 * gdb.base/call-sc.exp: Likewise.
3315 * gdb.base/call-signal-resume.exp: Likewise.
3316 * gdb.base/call-strs.exp: Likewise.
3317 * gdb.base/callexit.exp: Likewise.
3318 * gdb.base/callfuncs.exp: Likewise.
3319 * gdb.base/nodebug.exp: Likewise.
3320 * gdb.base/printcmds.exp: Likewise.
3321 * gdb.base/ptype.exp: Likewise.
3322 * gdb.base/structs.exp: Likewise.
3323 * gdb.base/unwindonsignal.exp: Likewise.
3324 * gdb.cp/gdb2495.exp: Likewise.
3325 * gdb.cp/templates.exp: Likewise.
3326 * gdb.cp/virtfunc.exp: Likewise.
3327 * gdb.threads/hand-call-in-threads.exp: Likewise.
3328 * gdb.threads/interrupted-hand-call.exp: Likewise.
3329 * gdb.threads/thread-unwindonsignal.exp: Likewise.
3331 2016-06-10 Tom Tromey <tom@tromey.com>
3334 * gdb.rust/expr.exp: Add test for integer constant larger than
3337 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
3339 * gdb.fortran/nested-funcs.exp: New.
3340 * gdb.fortran/nested-funcs.f90: New.
3342 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
3344 * gdb.base/examine-backward.c: New file.
3345 * gdb.base/examine-backward.exp: New file.
3347 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
3349 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
3352 2016-06-02 Tom Tromey <tom@tromey.com>
3355 * gdb.python/py-shared.exp: Add solib_name test.
3357 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
3359 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
3361 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
3364 * gdb.dwarf2/implref.exp: Rename to...
3365 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
3366 * gdb.dwarf2/implref-array.c: New file.
3367 * gdb.dwarf2/implref-array.exp: Likewise.
3368 * gdb.dwarf2/implref-global.c: Likewise.
3369 * gdb.dwarf2/implref-global.exp: Likewise.
3370 * gdb.dwarf2/implref-struct.c: Likewise.
3371 * gdb.dwarf2/implref-struct.exp: Likewise.
3373 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3375 * gdb.trace/trace-condition.exp: Add 64bit tests.
3377 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3379 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
3381 (main): Adapt to 8 to 64 bits types.
3382 * gdb.trace/trace-condition.exp: Add new tests.
3384 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3386 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
3388 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3390 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
3391 Move condition tests...
3392 * gdb.trace/trace-condition.exp: Here.
3394 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3396 * gdb.trace/trace-condition.exp: Add counter-case tests.
3398 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3401 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
3402 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
3404 2016-05-27 Pedro Alves <palves@redhat.com>
3406 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3408 (top level): Call it, and bail out of DejaGnu is known to be bad.
3410 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
3412 * gdb.base/whatis.c: Extend the test case.
3413 * gdb.base/whatis.exp: Add additional tests.
3415 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3417 * gdb.fortran/type.f90: Add pointer variable.
3418 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
3420 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3422 * gdb.fortran/vla-type.exp: Fix testcase name.
3424 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3426 * gdb.fortran/vla-type.exp: Access elements in nested structs.
3428 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3430 * gdb.fortran/type.f90: Add nested structures.
3431 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
3432 * gdb.fortran/derived-type.exp: Adapt expected output.
3433 * gdb.fortran/vla-type.exp: Adapt expected output.
3435 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3437 * gdb.fortran/whatis_type.exp: Adapt expected output.
3439 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3441 * gdb.fortran/print_type.exp: Fix expected output.
3442 * gdb.fortran/whatis_type.exp: Fix expected output.
3444 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3446 * gdb.fortran/whatis_type.exp: Use multi_line.
3448 2016-05-24 Tom Tromey <tom@tromey.com>
3451 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
3452 use value as an index.
3454 2016-05-23 Tom Tromey <tom@tromey.com>
3457 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
3460 2016-05-24 Pedro Alves <palves@redhat.com>
3463 * gdb.threads/clone-attach-detach.c: New file.
3464 * gdb.threads/clone-attach-detach.exp: New file.
3466 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
3468 * gdb.base/annota-input-while-running.exp: Fix syntax error.
3470 2016-05-23 Tom Tromey <tom@tromey.com>
3472 PR python/19438, PR python/18393:
3473 * gdb.python/py-progspace.exp: Add "dir" test.
3474 * gdb.python/py-objfile.exp: Add "dir" test.
3476 2016-05-23 Yao Qi <yao.qi@linaro.org>
3478 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
3479 * gdb.arch/thumb2-it.exp: Likewise.
3481 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
3483 * gdb.mi/mi-threads-interrupt.c: New file.
3484 * gdb.mi/mi-threads-interrupt.exp: New file.
3486 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
3489 * gdb.mi/mi-async-run.exp: New file.
3490 * gdb.mi/mi-async-run.c: New file.
3492 2016-05-17 Tom Tromey <tom@tromey.com>
3493 Manish Goregaokar <manishsmail@gmail.com>
3495 * lib/rust-support.exp: New file.
3496 * lib/gdb.exp (skip_rust_tests): New proc.
3497 (build_executable_from_specs): Handle rust.
3498 * lib/future.exp (gdb_find_rustc): New proc.
3499 (gdb_default_target_compile): Handle rust.
3500 * gdb.rust/expr.exp: New file.
3501 * gdb.rust/generics.exp: New file.
3502 * gdb.rust/generics.rs: New file.
3503 * gdb.rust/methods.exp: New file.
3504 * gdb.rust/methods.rs: New file.
3505 * gdb.rust/modules.exp: New file.
3506 * gdb.rust/modules.rs: New file.
3507 * gdb.rust/simple.exp: New file.
3508 * gdb.rust/simple.rs: New file.
3510 2016-05-17 Tom Tromey <tom@tromey.com>
3512 * gdb.base/default.exp (set language): Add rust.
3514 2016-05-17 Tom Tromey <tom@tromey.com>
3516 * gdb.gdb/unittest.exp: New file.
3518 2016-05-16 Yao Qi <yao.qi@linaro.org>
3520 * gdb.base/batch-preserve-term-settings.exp: Remove variable
3521 shell_prompt. Update shell_prompt_re.
3523 2016-05-12 Doug Evans <dje@google.com>
3526 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
3527 $options when building executable.
3528 * gdb.dwarf2/fission-loclists-pie.S: New file.
3529 * gdb.dwarf2/fission-loclists-pie.exp: New file.
3531 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3533 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
3534 of [is_remote target],
3536 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3538 * lib/gdb.exp (use_gdb_stub): New procedure.
3540 2016-05-03 Yunlian Jiang <yunlian@google.com>
3541 Doug Evans <dje@google.com>
3544 * gdb.dwarf2/dwp-sepdebug.c: New file.
3545 * gdb.dwarf2/dwp-sepdebug.exp: New file.
3547 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3549 * gdb.base/detach.exp: Remove is_remote check.
3551 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3553 * gdb.base/annota-input-while-running.exp: Don't check for
3554 [is_remote target]. Enable annotations after running to main.
3555 Remove unused "set test..." line.
3557 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3559 * gdb.trace/trace-enable-disable.exp: New file.
3560 * gdb.trace/trace-enable-disable.c: New file.
3562 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3564 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
3565 use it in info sharedlibrary test.
3566 * gdb.trace/ftrace-lock.exp: Likewise.
3567 * gdb.trace/ftrace.exp: Likewise.
3568 * gdb.trace/range-stepping.exp: Likewise.
3569 * gdb.trace/trace-break.exp: Likewise.
3570 * gdb.trace/trace-condition.exp: Likewise.
3571 * gdb.trace/trace-mt.exp: Likewise.
3573 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3575 * lib/gdb.exp (gdb_load_shlibs): Rename to...
3576 (gdb_load_shlib): ... this.
3577 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
3579 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3580 * gdb.base/ctxobj.exp: Likewise.
3581 * gdb.base/dprintf-pending.exp: Likewise.
3582 * gdb.base/dso2dso.exp: Likewise.
3583 * gdb.base/fixsection.exp: Likewise.
3584 * gdb.base/gcore-relro.exp: Likewise.
3585 * gdb.base/gdb1555.exp: Likewise.
3586 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3587 * gdb.base/gnu-ifunc.exp: Likewise.
3588 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
3589 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3590 * gdb.base/pending.exp: Likewise.
3591 * gdb.base/print-file-var.exp: Likewise.
3592 * gdb.base/print-symbol-loading.exp: Likewise.
3593 * gdb.base/shlib-call.exp: Likewise.
3594 * gdb.base/shreloc.exp: Likewise.
3595 * gdb.base/so-impl-ld.exp: Likewise.
3596 * gdb.base/solib-disc.exp: Likewise.
3597 * gdb.base/solib-nodir.exp: Likewise.
3598 * gdb.base/solib-overlap.exp: Likewise.
3599 * gdb.base/solib-symbol.exp: Likewise.
3600 * gdb.base/solib-weak.exp (do_test): Likewise.
3601 * gdb.base/sym-file.exp: Likewise.
3602 * gdb.base/symtab-search-order.exp: Likewise.
3603 * gdb.base/type-opaque.exp: Likewise.
3604 * gdb.base/unload.exp: Likewise.
3605 * gdb.base/watchpoint-solib.exp: Likewise.
3606 * gdb.compile/compile.exp: Likewise.
3607 * gdb.cp/gdb2384.exp: Likewise.
3608 * gdb.cp/infcall-dlopen.exp: Likewise.
3609 * gdb.cp/re-set-overloaded.exp: Likewise.
3610 * gdb.fortran/library-module.exp: Likewise.
3611 * gdb.opt/solib-intra-step.exp: Likewise.
3612 * gdb.python/py-finish-breakpoint.exp: Likewise.
3613 * gdb.python/py-shared.exp: Likewise.
3614 * gdb.reverse/solib-precsave.exp: Likewise.
3615 * gdb.reverse/solib-reverse.exp: Likewise.
3616 * gdb.server/solib-list.exp: Likewise.
3617 * gdb.threads/dlopen-libpthread.exp: Likewise.
3618 * gdb.threads/tls-shared.exp: Likewise.
3619 * gdb.threads/tls-so_extern.exp: Likewise.
3620 * gdb.trace/change-loc.exp: Likewise.
3621 * gdb.trace/ftrace-lock.exp: Likewise.
3622 * gdb.trace/ftrace.exp: Likewise.
3623 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
3624 * gdb.trace/pending.exp: Likewise.
3625 * gdb.trace/range-stepping.exp: Likewise.
3626 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
3627 (strace_info_marker): Likewise.
3628 (strace_probe_marker): Likewise.
3629 (strace_trace_on_same_addr): Likewise.
3630 (strace_trace_on_diff_addr): Likewise.
3631 * gdb.trace/trace-break.exp: Likewise.
3632 * gdb.trace/trace-condition.exp: Likewise.
3633 * gdb.trace/trace-mt.exp: Likewise.
3635 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3637 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
3638 result of gdb_remote_download.
3639 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
3640 * gdb.base/dso2dso.exp: Likewise.
3641 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3642 * gdb.base/print-file-var.exp: Likewise.
3643 * gdb.base/shlib-call.exp: Likewise.
3644 * gdb.base/shreloc.exp: Likewise.
3645 * gdb.base/solib-overlap.exp: Likewise.
3646 * gdb.base/solib-weak.exp (do_test): Likewise.
3647 * gdb.base/unload.exp: Likewise.
3649 2016-04-27 Yao Qi <yao.qi@linaro.org>
3651 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
3654 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3656 * vla-type.exp: Print structure from toplevel.
3658 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3660 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
3662 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
3665 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3667 * gdb.fortran/vla-type.f90: New file.
3668 * gdb.fortran/vla-type.exp: New file.
3670 2016-04-25 Yao Qi <yao.qi@linaro.org>
3672 * gdb.base/branch-to-self.c: New file.
3673 * gdb.base/branch-to-self.exp: New file.
3675 2016-04-22 Yao Qi <yao.qi@linaro.org>
3677 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
3680 2016-04-22 Yao Qi <yao.qi@linaro.org>
3682 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
3683 * gdb.base/annota3.exp: Likewise.
3685 2016-04-22 Yao Qi <yao.qi@linaro.org>
3687 * gdb.reverse/step-precsave.exp: Do one step and test program
3688 stops in "callee" and do multiple steps until program goes out
3690 * gdb.reverse/step-reverse.exp: Likewise.
3692 2016-04-22 Yao Qi <yao.qi@linaro.org>
3694 * gdb.trace/signal.exp: Also pass if
3695 $tracepoint_hits($i) > $iterations.
3697 2016-04-22 Yao Qi <yao.qi@linaro.org>
3699 * gdb.trace/signal.c: New file.
3700 * gdb.trace/signal.exp: New file.
3702 2016-04-19 Doug Evans <xdje42@gmail.com>
3704 * gdb.base/bad-file.exp: New file.
3706 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3708 * gdb.dwarf2/implref.exp: New file.
3710 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3712 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
3713 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
3714 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
3715 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
3716 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
3717 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
3718 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
3719 * lib/fortran.exp (fortran_int4): New procedure.
3720 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
3721 (fortran_logical4): Likewise.
3723 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
3725 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
3727 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3729 * lib/compiler.c: Add Intel specific preprocessor macros.
3730 * lib/compiler.cc: Likewise.
3732 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
3734 * gdb.server/connect-with-no-symbol-file.c: New file.
3735 * gdb.server/connect-with-no-symbol-file.exp: New file.
3737 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3739 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3741 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3743 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3744 standard output directory.
3746 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3748 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3750 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3752 * gdb.btrace/instruction_history.c (loop): Add declaration.
3754 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3756 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3758 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3760 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3761 parentheses to print.
3762 (continue_handler): Likewise.
3764 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3766 * gdb.server/solib-list.exp: Remove is_remote check.
3767 Pass shlib= to gdb_compile. Don't link shared library with
3768 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3769 Run binary filename through "readlink -f" on the target.
3771 2016-04-08 Pedro Alves <palves@redhat.com>
3773 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3774 interpreter filename as argument to gdbserver_spawn.
3775 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3776 Return empty if $last_loaded_file does not exist.
3778 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3780 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3781 * gdb.base/jit-main.c: Use exit after usage.
3783 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3785 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3786 GDBHISTSIZE prior to the tests.
3787 * gdb.base/gdbinit-history.exp: Likewise.
3789 2016-04-07 Pedro Alves <palves@redhat.com>
3791 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3792 instead of build_executable. Use gdb_load_shlibs.
3794 2016-04-07 Yao Qi <yao.qi@linaro.org>
3796 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3797 Execute "si" command.
3799 2016-04-07 Yao Qi <yao.qi@linaro.org>
3801 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3802 number instead of the comments on some line.
3804 2016-04-06 Don Breazeal <donb@codesourcery.com>
3806 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3807 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3809 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3811 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3812 standard_output_file. Remove unused binfile variable.
3814 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
3816 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3817 * gdb.python/py-mi-objfile.exp: Match "list main" output
3820 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3822 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3825 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3827 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
3829 * gdb.trace/ftrace.exp: Likewise.
3830 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
3832 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
3833 (gdb_load_shlibs): Copy libraries to test directory when testing
3834 natively. Only set solib-search-path if testing remotely.
3835 * lib/mi-support.exp (mi_load_shlibs): Likewise.
3837 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3839 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
3840 gdb_download. Use it even if the target is not remote.
3841 * gdb.base/jit.exp (compile_jit_test): Likewise.
3842 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
3843 output directory if the destination board is local, otherwise use
3844 the standard remote_download from DejaGnu.
3845 (gdb_download): Remove.
3846 (gdb_load_shlibs): Use gdb_remote_download instead of
3848 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3849 Use gdb_remote_download instead of gdb_download. Use it even if
3850 the target is not remote.
3851 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
3852 instead of gdb_download.
3854 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
3856 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
3857 (test_insert_delete_modify): Call mi_load_shlibs before trying to
3860 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
3863 * gdb.base/printcmds.exp: Add artificial arrays tests.
3865 2016-03-31 Pedro Alves <palves@redhat.com>
3868 * gdb.base/jit-main.c: Include unistd.h.
3869 (ATTACH): Define to 0 if not already defined.
3870 (wait_for_gdb, mypid): New globals.
3871 (WAIT_FOR_GDB): New macro.
3872 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
3873 some breakpoint locations.
3874 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
3876 (one_jit_test): Add REATTACH parameter, and handle it. Use
3877 continue_to_test_location.
3878 (top level): Test attach, and adjusts calls to one_jit_test.
3880 2016-03-31 Pedro Alves <palves@redhat.com>
3883 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
3884 BINSUFFIX parameter, and handle it.
3885 (top level): Adjust calls compile_jit_test.
3887 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
3890 * gdb.python/py-mi-events-gdb.py: New file.
3891 * gdb.python/py-mi-events.c: New file.
3892 * gdb.python/py-mi-events.exp: New file.
3894 2016-03-30 Yao Qi <yao.qi@linaro.org>
3896 * gdb.reverse/until-precsave.exp: Match function name only.
3897 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
3898 Move malloc to a condition block.
3899 * gdb.reverse/until-reverse.exp: Match function name only.
3901 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
3903 * gdb.trace/ftrace.exp: Set arg0exp for s390.
3904 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
3905 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
3906 variable for GPR 0 instead of assuming it is register 0.
3907 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
3908 * lib/trace-support.exp: Add s390 registers.
3910 2016-03-29 Yao Qi <yao.qi@linaro.org>
3912 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
3914 2016-03-24 Yao Qi <yao.qi@linaro.org>
3916 * gdb.reverse/break-reverse.exp: Add quotation mark in the
3919 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3921 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
3922 maintaining separate logic for constructing the output path.
3924 2016-03-16 Don Breazeal <donb@codesourcery.com>
3926 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3927 Retry fork and waitpid on interrupted system call errors.
3928 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3929 Use with_timeout_factor to increase timeout by factor of 10.
3931 2016-03-15 Don Breazeal <donb@codesourcery.com>
3933 * gdb.cp/scope-err.cc: New test program.
3934 * gdb.cp/scope-err.exp: New test script.
3935 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
3936 lines and "set breakpoint here" comment.
3937 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
3938 Fixed some whitespace and format issues.
3939 * gdb.mi/mi-linespec-err-cp.cc: New test program.
3940 * gdb.mi/mi-linespec-err-cp.exp: New test script.
3942 2016-03-15 Doug Evans <dje@google.com>
3944 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
3945 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
3946 All callers updated. Add tests for enums, mixed flags register.
3948 2016-03-15 Doug Evans <dje@google.com>
3950 * gdb.base/skip.c (main): Call test_skip_file_and_function.
3951 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
3953 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
3955 * gdb.base/default.exp: Add $_as_string to the list of expected
3956 convenience functions.
3958 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
3960 * gdb.base/maint.exp: New tests for 'maint info line-table'.
3962 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
3964 * gdb.python/py-as-string.exp: New file.
3965 * gdb.python/py-as-string.c: New file.
3967 2016-03-09 Pedro Alves <palves@redhat.com>
3969 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
3970 signal" -> "Thread NN received signal" output change.
3971 * gdb.threads/ia64-sigill.exp: Likewise.
3972 * gdb.threads/linux-dp.exp: Likewise.
3973 * gdb.threads/manythreads.exp: Likewise.
3974 * gdb.threads/pending-step.exp: Likewise.
3975 * gdb.threads/print-threads.exp: Likewise.
3976 * gdb.threads/sigstep-threads.exp: Likewise.
3977 * gdb.threads/staticthreads.exp: Likewise.
3978 * gdb.threads/tls.exp: Likewise.
3980 2016-03-09 Pedro Alves <palves@redhat.com>
3982 * gdb.base/command-line-input.exp: New file.
3984 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3986 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
3987 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
3988 * gdb.trace/pending.exp: Accept leading dot before function name.
3989 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
3990 * lib/trace-support.exp: Set registers for ppc.
3992 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
3994 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
3995 use it for disassembly; accept .main in addition to main in backtrace.
3997 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
3998 Marcin Kościelnicki <koriakin@0x04.net>
4000 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
4001 (gdb_recursion_test_ptr): New global variable.
4002 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
4004 (gdb_c_test): Ditto.
4006 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4008 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
4011 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4013 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
4014 (bar): Add bar_start_lbl label.
4015 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
4016 of foo/bar for emitting DWARF and tracing.
4018 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
4020 * analyze-racy-logs.py: Set executable bit.
4022 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
4024 * Makefile.in (DEFAULT_RACY_ITER): New variable.
4025 (CHECK_TARGET_TMP): Likewise.
4026 (check-single-racy): New rule.
4027 (check-parallel-racy): Likewise.
4028 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
4029 (do-check-parallel-racy): New rule.
4030 (check-racy/%.exp): Likewise.
4031 * README (Racy testcases): New section.
4032 * analyze-racy-logs.py: New file.
4034 2016-03-03 Doug Evans <dje@google.com>
4036 * gdb.base/skip.exp: Use with_test_prefix.
4038 2016-03-03 Yao Qi <yao.qi@linaro.org>
4040 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
4041 Invoke step_over_syscall "clone" and break_cond_on_syscall
4043 * gdb.base/step-over-clone.c: New file.
4045 2016-03-03 Yao Qi <yao.qi@linaro.org>
4047 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
4050 2016-03-03 Yao Qi <yao.qi@linaro.org>
4052 * gdb.base/disp-step-fork.c: Rename to ...
4053 * gdb.base/step-over-fork.c: ... it. New file.
4054 * gdb.base/disp-step-vfork.c: Rename to ...
4055 * gdb.base/step-over-vfork.c: ... it. New file.
4056 * gdb.base/disp-step-syscall.exp: Rename to ...
4057 * gdb.base/step-over-syscall.exp: ... it. New file.
4058 (disp_step_cross_syscall): Rename to ...
4059 (step_over_syscall): ... it.
4061 2016-03-03 Yao Qi <yao.qi@linaro.org>
4063 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
4064 If target supports condition evaluation on target, invoke
4065 break_cond_on_syscall for fork and vfork.
4067 2016-03-03 Yao Qi <yao.qi@linaro.org>
4069 * gdb.base/disp-step-syscall.exp: Don't invoke
4070 support_displaced_stepping.
4071 (disp_step_cross_syscall): Test with displaced stepping off and
4074 2016-03-03 Yao Qi <yao.qi@linaro.org>
4076 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
4079 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
4082 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4084 * gdb.fortran/vla-history.exp: Remove breakpoint.
4086 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4088 * gdb.fortran/vla-history.exp: Lookup array elements and printing
4091 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4093 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
4096 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4098 * gdb.mi/vla.f90: Nullify pointer after declaration.
4100 2016-03-01 Pedro Alves <palves@redhat.com>
4102 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
4104 2016-03-01 Pedro Alves <palves@redhat.com>
4106 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
4107 before anything else.
4108 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
4110 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
4111 before anything else.
4112 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
4114 2016-03-01 Pedro Alves <palves@redhat.com>
4116 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
4118 2016-03-01 Yao Qi <yao.qi@linaro.org>
4120 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
4121 prepare_for_testing.
4123 2016-03-01 Yao Qi <yao.qi@linaro.org>
4125 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
4127 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4129 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
4130 manually constructing the output path.
4132 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4134 * gdb.arch/s390-stackless.S: New.
4135 * gdb.arch/s390-stackless.exp: New.
4137 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
4139 * gdb.dlang/circular.c: New file.
4140 * gdb.dlang/circular.exp: New file.
4142 2016-02-26 Yao Qi <yao.qi@linaro.org>
4144 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
4145 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
4146 (testcases): Update.
4148 2016-02-26 Yao Qi <yao.qi@linaro.org>
4150 * gdb.reverse/aarch64.c: Rename to ...
4151 * gdb.reverse/insn-reverse.c: ... it.
4152 * gdb.reverse/aarch64.exp: Rename to ...
4153 * gdb.reverse/insn-reverse.exp: ... it.
4155 2016-02-26 Yao Qi <yao.qi@linaro.org>
4157 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
4158 (testcase_ftype): New.
4159 (testcases): New array.
4161 (main): Call each element in testcases.
4162 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
4163 (read_testcase): New.
4164 Do the tests in a loop.
4166 2016-02-25 Yao Qi <yao.qi@linaro.org>
4168 * gdb.base/branches.c: Remove.
4170 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4173 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
4175 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4177 * gdb.trace/ftrace.exp: Remove unnecessary target check.
4179 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4181 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
4182 change x86_64 call_insn to 'callq'.
4184 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4186 * gdb.trace/tfile-avx.c: Move to...
4187 * gdb.trace/tracefile-pseudo-reg.c: Here.
4188 * gdb.trace/tfile-avx.exp: Move to...
4189 * gdb.trace/tracefile-pseudo-reg.exp: Here.
4191 2016-02-24 Gary Benson <gbenson@redhat.com>
4193 * gdb.base/attach-pie-noexec.exp: Do not expect an error
4196 2016-02-23 Doug Evans <dje@google.com>
4198 * gdb.base/skip.c (test_skip): New function.
4199 (end_test_skip_file_and_function): New function.
4200 (test_skip_file_and_function): New function.
4201 * gdb.base/skip1.c (test_skip): New function.
4202 (skip1_test_skip_file_and_function): New function.
4203 * gdb.base/skip.exp: Add tests for new skip options.
4204 * gdb.base/skip-solib.exp: Update expected output.
4205 * gdb.perf/skip-command.cc: New file.
4206 * gdb.perf/skip-command.exp: New file.
4207 * gdb.perf/skip-command.py: New file.
4209 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
4211 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
4212 info registers pattern.
4214 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
4216 * lib/future.exp: Add D support.
4217 (gdb_find_gdc): New proc.
4218 (gdb_default_target_compile): Add D support.
4220 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
4222 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
4224 (trace_speed_test): Determine the iteration count for a time
4225 between 15..30 seconds.
4227 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
4229 * gdb.arch/i386-mpx-sigsegv.c: New file.
4230 * gdb.arch/i386-mpx-sigsegv.exp: New file.
4231 * gdb.arch/i386-mpx-simple_segv.c: New file.
4232 * gdb.arch/i386-mpx-simple_segv.exp: New file.
4234 2016-02-18 Yao Qi <yao.qi@linaro.org>
4236 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4237 Don't call setup_kfail.
4239 2016-02-18 Yao Qi <yao.qi@linaro.org>
4241 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4242 Set "set breakpoint condition-evaluation" per $cond_bp_target.
4244 2016-02-16 Doug Evans <dje@google.com>
4246 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
4247 * gdb.base/skip1.c: Ditto.
4248 * gdb.base/skip.exp: Whitespace cleanup.
4250 2016-02-16 Don Breazeal <donb@codesourcery.com>
4253 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4254 Remove kfail for PR remote/19496.
4256 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4258 * lib/gdb.exp (standard_temp_file): Return a path specific to
4259 the runtest invocation.
4261 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4263 * gdb.trace/save-trace.exp: Change relative path to be in the
4264 standard output directory.
4266 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4268 * gdb.arch/i386-prologue.c: Add missing prototypes.
4270 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4272 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
4273 * gdb.arch/i386-prologue.exp: Likewise.
4274 * gdb.arch/i386-size.exp: Likewise.
4276 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
4278 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
4279 define object file path.
4280 * gdb.btrace/gcore.exp: Use standard_output_file to define core
4282 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
4283 standard_output_file to define binfile.
4285 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4287 Fix compatibility with recent gfortran-5.3.1.
4288 * gdb.fortran/vla-history.exp (print vla1 allocated)
4289 (print vla2 allocated, print $2, print $3): Remove
4290 (print $4): Rename to ...
4291 (print $2): ... here.
4292 (print $9): Rename to ...
4293 (print $5): ... here.
4294 (print $10): Rename to ...
4295 (print $6): ... here.
4296 * gdb.fortran/vla.f90: Add pvla initialization.
4298 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4300 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
4302 * gdb.fortran/vla-value-sub.exp: Likewise.
4304 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
4306 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
4308 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
4310 * i386-biarch-core.exp: Define corefile using
4311 standard_output_file.
4313 2016-02-12 Yao Qi <yao.qi@linaro.org>
4315 * gdb.arch/arm-single-step-kernel-helper.c: New.
4316 * gdb.arch/arm-single-step-kernel-helper.exp: New.
4318 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
4320 * gdb.btrace/tailcall-only.exp: New.
4321 * gdb.btrace/tailcall-only.c: New.
4322 * gdb.btrace/x86_64-tailcall-only.S: New.
4323 * gdb.btrace/i686-tailcall-only.S: New.
4325 2016-02-11 Pedro Alves <palves@redhat.com>
4327 * README (Parallel testing): Add missing double quotes.
4329 2016-02-11 Pedro Alves <palves@redhat.com>
4331 * README (Parallel testing): New section.
4332 (GDB_PARALLEL): Rewrite.
4333 (FORCE_PARALLEL): Document.
4335 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
4337 * gdb.trace/tfile-avx.c: New test.
4338 * gdb.trace/tfile-avx.exp: New test.
4340 2016-02-09 Keith Seitz <keiths@redhat.com>
4342 PR breakpoints/19546
4343 * gdb.base/infcall-exec.c: New file.
4344 * gdb.base/infcall-exec2.c: New file.
4345 * gdb.base/infcall-exec.exp: New file.
4347 2016-02-09 Keith Seitz <keiths@redhat.com>
4349 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
4350 (toplevel): Call test_bkpt_address.
4352 2016-02-09 Keith Seitz <keiths@redhat.com>
4355 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
4356 (toplevel): Call test_bkpt_address.
4358 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
4360 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
4362 * configure: Regenerate.
4364 2016-02-09 Pedro Alves <palves@redhat.com>
4366 PR breakpoints/19548
4367 * gdb.base/execl-update-breakpoints.c (some_function): New
4370 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
4371 Tighten expected GDB output.
4373 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4375 * Makefile.in (ALL_SUBDIRS): Remove.
4376 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
4377 (distclean maintainer-clean realclean): Likewise.
4378 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
4379 * configure: Regenerate.
4380 * gdb.ada/Makefile.in: Delete.
4381 * gdb.arch/Makefile.in: Likewise.
4382 * gdb.asm/Makefile.in: Likewise.
4383 * gdb.base/Makefile.in: Likewise.
4384 * gdb.btrace/Makefile.in: Likewise.
4385 * gdb.cell/Makefile.in: Likewise.
4386 * gdb.compile/Makefile.in: Likewise.
4387 * gdb.cp/Makefile.in: Likewise.
4388 * gdb.disasm/Makefile.in: Likewise.
4389 * gdb.dlang/Makefile.in: Likewise.
4390 * gdb.dwarf2/Makefile.in: Likewise.
4391 * gdb.fortran/Makefile.in: Likewise.
4392 * gdb.gdb/Makefile.in: Likewise.
4393 * gdb.go/Makefile.in: Likewise.
4394 * gdb.guile/Makefile.in: Likewise.
4395 * gdb.java/Makefile.in: Likewise.
4396 * gdb.linespec/Makefile.in: Likewise.
4397 * gdb.mi/Makefile.in: Likewise.
4398 * gdb.modula2/Makefile.in: Likewise.
4399 * gdb.multi/Makefile.in: Likewise.
4400 * gdb.objc/Makefile.in: Likewise.
4401 * gdb.opencl/Makefile.in: Likewise.
4402 * gdb.opt/Makefile.in: Likewise.
4403 * gdb.pascal/Makefile.in: Likewise.
4404 * gdb.perf/Makefile.in: Likewise.
4405 * gdb.python/Makefile.in: Likewise.
4406 * gdb.reverse/Makefile.in: Likewise.
4407 * gdb.server/Makefile.in: Likewise.
4408 * gdb.stabs/Makefile.in: Likewise.
4409 * gdb.threads/Makefile.in: Likewise.
4410 * gdb.trace/Makefile.in: Likewise.
4411 * gdb.xml/Makefile.in: Likewise.
4412 * lib/gdb.exp (make_gdb_parallel_path): Add check for
4414 (standard_output_file): Remove check for GDB_PARALLEL, always
4415 return path in outputs/$subdir/$testname.
4417 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4419 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
4420 (site.exp): Assign abs_srcdir to tcl's srcdir.
4422 2016-02-04 Yao Qi <yao.qi@linaro.org>
4424 * gdb.base/foll-exec-mode.c: Include limits.h.
4425 (main): Add parameters argc and argv. Get directory from
4427 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
4429 * gdb.base/foll-exec.c: Include limits.h.
4430 (main): Add parameters argc and argv.
4431 Get directory from argv[0].
4432 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
4433 Adjust tests on the number of lines as source code changed.
4434 * gdb.base/foll-vfork-exit.c: Include limits.h.
4435 (main): Add one line of statement before vfork.
4436 * gdb.base/foll-vfork.c: Include limits.h and string.h.
4437 (main): Add parameters argc and argv. Get directory from
4439 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
4440 (setup_gdb): Set tbreak to skip some source lines.
4441 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
4442 (main): Add parameters argc and argv. Get directory from
4444 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
4446 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
4447 (main): Add parameters argc and argv. Get directory from
4449 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
4452 2016-02-01 Doug Evans <dje@google.com>
4454 * gdb.base/skip.exp: Clean up multiple references to same test name.
4456 2016-02-01 Pedro Alves <palves@redhat.com>
4459 * gdb.threads/forking-threads-plus-breakpoint.exp
4460 (displaced_stepping_supported): New global.
4461 (probe_displaced_stepping_support): New procedure.
4462 (do_test): Add 'displaced' parameter, and use it.
4463 (top level): Check for displaced stepping support. Add displaced
4464 stepping on/off testing axis.
4466 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4468 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
4469 pointer. Don't perform further tests on the unassociated pointer
4470 if the first test fails.
4472 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4474 * gdb.base/max-value-size.c: New file.
4475 * gdb.base/max-value-size.exp: New file.
4476 * gdb.base/huge.exp: Disable max-value-size for this test.
4478 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
4480 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4482 2016-01-28 Yao Qi <yao.qi@linaro.org>
4484 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
4486 2016-01-25 Pedro Alves <palves@redhat.com>
4489 * gdb.base/fork-running-state.c: New file.
4490 * gdb.base/fork-running-state.exp: New file.
4492 2016-01-25 Pedro Alves <palves@redhat.com>
4495 * gdb.base/catch-fork-kill.c: New file.
4496 * gdb.base/catch-fork-kill.exp: New file.
4498 2016-01-25 Pedro Alves <palves@redhat.com>
4500 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
4501 Delete, moved to lib/gdb.exp.
4502 * gdb.threads/forking-threads-plus-breakpoint.exp
4503 (foreach_with_prefix): Likewise.
4504 * gdb.threads/process-dies-while-handling-bp.exp
4505 (foreach_with_prefix): Likewise.
4506 * lib/gdb.exp (foreach_with_prefix): New procedure.
4508 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
4510 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
4511 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
4513 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
4515 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
4518 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4519 Pedro Alves <palves@redhat.com>
4521 Fix testsuite compatibility with Guile.
4522 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
4525 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4527 Fix testsuite compatibility with Guile.
4528 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
4529 (thread 1): New test for backtrace through signal handler.
4531 2016-01-22 Yao Qi <yao.qi@linaro.org>
4534 * gdb.base/multi-forks.c: Include
4535 ../lib/unbuffer_output.c
4536 (main): Call gdb_unbuffer_output.
4538 2016-01-21 Doug Evans <dje@google.com>
4540 * lib/ada.exp (gdb_compile_ada): Fix typo.
4542 2016-01-21 Joel Brobecker <brobecker@adacore.com>
4544 * gdb.base/break-fun-addr.exp: New file.
4545 * gdb.base/break-fun-addr1.c: New file.
4546 * gdb.base/break-fun-addr2.c: New file.
4548 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
4550 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
4551 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
4554 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4556 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
4557 when GDB can not set the vector return value. Add more comments
4560 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
4562 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
4565 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4567 * Makefile.in (DO_RUNTEST): Add --status and update usages.
4569 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4571 * Makefile.in (check-single): Pass --status to runtest.
4572 (check/%.exp): Likewise.
4574 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4576 * Makefile.in (check-parallel): Propagate return code from make
4579 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
4581 * gdb.trace/ftrace.exp: Fix expected message on continue.
4582 * gdb.trace/pending.exp: Fix expected message on continue.
4583 * gdb.trace/trace-break.exp: Fix expected message on continue.
4585 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
4587 * lib/gdb.exp (gdb_test): Remove unused global references.
4589 2016-01-18 Pedro Alves <palves@redhat.com>
4591 * gdb.base/async-shell.exp: Adjust expected output.
4592 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
4593 * gdb.base/siginfo-thread.exp: Adjust expected output.
4594 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
4595 * gdb.java/jnpe.exp: Adjust expected output.
4596 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
4597 * gdb.threads/continue-pending-status.exp: Adjust expected output.
4598 * gdb.threads/leader-exit.exp: Adjust expected output.
4599 * gdb.threads/manythreads.exp: Adjust expected output.
4600 * gdb.threads/pthreads.exp: Adjust expected output.
4601 * gdb.threads/schedlock.exp: Adjust expected output.
4602 * gdb.threads/siginfo-threads.exp: Adjust expected output.
4603 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
4605 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
4607 * gdb.threads/sigthread.exp: Adjust expected output.
4608 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
4610 2016-01-18 Yao Qi <yao.qi@linaro.org>
4612 * gdb.guile/scm-section-script.c: Replace @progbits with
4614 * gdb.python/py-section-script.c: Likewise.
4616 2016-01-15 Pedro Alves <palves@redhat.com>
4618 * gdb.multi/tids.exp: Test star wildcard ranges.
4620 2016-01-15 Pedro Alves <palves@redhat.com>
4622 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4623 command from "thread apply" invocation.
4624 (thr_apply_info_thr_invalid): Default the expected output to the
4626 (top level): Add tests that use convenience variables. Add tests
4627 for "thread apply" with a valid TID list, but missing the command.
4629 2016-01-13 Pedro Alves <palves@redhat.com>
4631 * gdb.base/default.exp: Expect $_gthread as well.
4632 * gdb.multi/tids.exp: Test $_gthread.
4633 * gdb.threads/thread-specific.exp: Test $_gthread.
4635 2016-01-13 Pedro Alves <palves@redhat.com>
4637 * gdb.multi/tids.exp: Test "info threads -gid".
4639 2016-01-13 Pedro Alves <palves@redhat.com>
4641 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4643 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
4645 2016-01-07 Pedro Alves <palves@redhat.com>
4647 * gdb.base/break.exp: Adjust to output changes.
4648 * gdb.base/hbreak2.exp: Likewise.
4649 * gdb.base/sepdebug.exp: Likewise.
4650 * gdb.base/watch_thread_num.exp: Likewise.
4651 * gdb.linespec/keywords.exp: Likewise.
4652 * gdb.multi/info-threads.exp: Likewise.
4653 * gdb.threads/thread-find.exp: Likewise.
4654 * gdb.multi/tids.c: New file.
4655 * gdb.multi/tids.exp: New file.
4657 2016-01-13 Pedro Alves <palves@redhat.com>
4659 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
4661 2016-01-13 Pedro Alves <palves@redhat.com>
4663 * gdb.base/default.exp: Expect $_inferior as well.
4664 * gdb.multi/base.exp: Test $_inferior.
4666 2016-01-13 Pedro Alves <palves@redhat.com>
4668 PR breakpoints/19388
4669 * gdb.base/catch-signal-siginfo-cond.c: New file.
4670 * gdb.base/catch-signal-siginfo-cond.exp: New file.
4672 2016-01-12 Josh Stone <jistone@redhat.com>
4673 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4675 * gdb.base/catch-syscall.c (do_execve): New variable.
4676 (main): Conditionally trigger an execve.
4677 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
4678 (test_catch_syscall_execve): New, check entry/return across execve.
4679 (do_syscall_tests): Call test_catch_syscall_execve.
4681 2016-01-12 Pedro Alves <palves@redhat.com>
4683 * gdb.base/random-signal.exp (do_test): New procedure, with body
4684 of testcase moved in.
4686 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4687 Pedro Alves <palves@redhat.com>
4689 * gdb.base/funcargs.exp (finish from indirectly called function):
4690 Reintroduce the case for 'First'.
4692 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4693 Pedro Alves <palves@redhat.com>
4695 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4696 (tcatch_vfork_then_child_follow_exec)
4697 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
4700 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4702 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
4703 and repeats to unlimited.
4704 * gdb.python/py-value.exp: Likewise.
4705 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
4706 and repeats to unlimited.
4708 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4710 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
4711 and reordering the functions.
4712 * gdb.multi/hangout.c: Likewise.
4713 * gdb.multi/hello.c: Likewise.
4715 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
4717 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
4719 (SingleStatisticTestResult.report): Use dict.keys instead of
4722 2016-01-06 Pedro Alves <palves@redhat.com>
4724 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
4726 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
4728 * gdb.btrace/dlopen.exp: New.
4729 * gdb.btrace/dlopen.c: New.
4730 * gdb.btrace/dlopen-dso.c: New.
4732 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
4734 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4735 PATTERN argument is optional.
4737 2015-12-24 Joel Brobecker <brobecker@adacore.com>
4739 * lib/ada.exp (target_compile_ada_from_dir): New function.
4740 (gdb_compile_ada): Reimplement avoiding the use of project files.
4741 * gdb.ada/gnat_ada.gpr: Delete.
4742 * gdb.ada/cond_lang.exp: Adjust test to make path before
4744 * gdb.ada/small_reg_param.exp: Likewise.
4746 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4748 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4750 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4752 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4755 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4757 * gdb.base/break.exp: Remove dead code.
4758 * gdb.base/sepdebug.exp: Likewise.
4760 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4762 * gdb.asm/asm-source.exp: Remove HP-UX references.
4763 * gdb.base/annota1.exp: Likewise.
4764 * gdb.base/annota3.exp: Likewise.
4765 * gdb.base/attach.exp: Likewise.
4766 * gdb.base/bigcore.exp: Likewise.
4767 * gdb.base/break.exp: Likewise.
4768 * gdb.base/call-ar-st.exp: Likewise.
4769 * gdb.base/callfuncs.exp: Likewise.
4770 * gdb.base/catch-fork-static.exp: Likewise.
4771 * gdb.base/display.exp: Likewise.
4772 * gdb.base/foll-exec-mode.exp: Likewise.
4773 * gdb.base/foll-exec.exp: Likewise.
4774 * gdb.base/foll-fork.exp: Likewise.
4775 * gdb.base/foll-vfork.exp: Likewise.
4776 * gdb.base/funcargs.exp: Likewise.
4777 * gdb.base/hbreak2.exp: Likewise.
4778 * gdb.base/inferior-died.exp: Likewise.
4779 * gdb.base/interrupt.exp: Likewise.
4780 * gdb.base/multi-forks.exp: Likewise.
4781 * gdb.base/nodebug.exp: Likewise.
4782 * gdb.base/sepdebug.exp: Likewise.
4783 * gdb.base/solib1.c: Likewise.
4784 * gdb.base/step-test.exp: Likewise.
4785 * gdb.mi/non-stop.c: Likewise.
4786 * gdb.mi/pthreads.c: Likewise.
4787 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4788 * gdb.threads/pthreads.c: Likewise.
4789 * gdb.threads/staticthreads.exp: Likewise.
4790 * lib/future.exp: Likewise.
4791 * lib/gdb.exp: Likewise.
4792 * gdb.base/so-indr-cl.c: Remove.
4793 * gdb.base/so-indr-cl.exp: Likewise.
4794 * gdb.base/solib.c: Likewise.
4795 * gdb.base/solib.exp: Likewise.
4796 * gdb.base/solib2.c: Likewise.
4798 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4800 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4801 * gdb.base/call-ar-st.exp: Likewise.
4802 * gdb.base/callfuncs.exp: Likewise.
4803 * gdb.base/condbreak.exp: Likewise.
4804 * gdb.base/constvars.exp: Likewise.
4805 * gdb.base/hbreak2.exp: Likewise.
4806 * gdb.base/langs.exp: Likewise.
4807 * gdb.base/list.exp: Likewise.
4808 * gdb.base/long_long.exp: Likewise.
4809 * gdb.base/ptype.exp: Likewise.
4810 * gdb.base/scope.exp: Likewise.
4811 * gdb.base/signals.exp: Likewise.
4812 * gdb.base/so-impl-ld.exp: Likewise.
4813 * gdb.base/varargs.exp: Likewise.
4814 * gdb.base/volatile.exp: Likewise.
4815 * gdb.base/whatis.exp: Likewise.
4816 * gdb.cp/cplusfuncs.exp: Likewise.
4817 * gdb.cp/inherit.exp: Likewise.
4818 * gdb.cp/local.exp: Likewise.
4819 * gdb.cp/member-ptr.exp: Likewise.
4820 * gdb.cp/method.exp: Likewise.
4821 * gdb.cp/overload.exp: Likewise.
4822 * gdb.cp/templates.exp: Likewise.
4823 * gdb.stabs/weird.exp: Likewise.
4824 * lib/compiler.c: Likewise.
4825 * lib/compiler.cc: Likewise.
4826 * lib/cp-support.exp: Likewise.
4827 * lib/gdb.exp: Likewise.
4829 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
4831 * configure.ac: Remove HP-UX case.
4832 * configure: Regenerate.
4834 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
4836 * lib/gdb.exp (gdb_compile): Add function doc.
4838 2015-12-17 Pedro Alves <palves@redhat.com>
4841 * gdb.multi/info-threads.exp: New file.
4843 2015-12-15 Yao Qi <yao.qi@linaro.org>
4845 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
4848 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4850 * gdb.base/history-duplicates.exp: Skip if no readline support.
4852 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4854 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
4856 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4858 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
4860 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4862 * gdb.base/completion.exp: Skip tests that interrupt GDB with
4863 ctrl-C if nointerrupts target property is set.
4864 * gdb.base/double-prompt-target-event-error.exp: Likewise.
4865 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
4866 * gdb.base/paginate-bg-execution.exp: Likewise.
4867 * gdb.base/paginate-execution-startup.exp: Likewise.
4868 * gdb.base/random-signal.exp: Likewise.
4869 * gdb.base/range-stepping.exp: Likewise.
4870 * gdb.cp/annota2.exp: Likewise.
4871 * gdb.cp/annota3.exp: Likewise.
4872 * gdb.gdb/selftest.exp: Likewise.
4873 * gdb.threads/continue-pending-status.exp: Likewise.
4874 * gdb.threads/leader-exit.exp: Likewise.
4875 * gdb.threads/manythreads.exp: Likewise.
4876 * gdb.threads/pthreads.exp: Likewise.
4877 * gdb.threads/schedlock.exp: Likewise.
4878 * gdb.threads/sigthread.exp: Likewise.
4880 2015-12-11 Don Breazeal <donb@codesourcery.com>
4882 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
4884 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
4885 * gdb.base/foll-exec.exp (main): Enable for target remote.
4886 * gdb.base/foll-fork.exp (main): Likewise.
4887 * gdb.base/foll-vfork.exp (main): Likewise.
4888 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
4889 (proc continue_to_exit_bp_loc): Use clean_restart.
4890 * gdb.base/pie-execl.exp (main): Disable for target remote.
4891 * gdb.base/watch-vfork.exp (main): Enable for target remote.
4892 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
4893 * gdb.threads/execl.exp (main): Likewise.
4894 * gdb.threads/fork-child-threads.exp (main): Likewise.
4895 * gdb.threads/fork-plus-threads.exp (main): Disable for target
4897 * gdb.threads/fork-thread-pending.exp (main): Enable for target
4899 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
4900 pid.tid style ptids, instead of just tid.
4901 * gdb.threads/thread-execl.exp (main): Enable for target remote.
4902 * gdb.threads/watchpoint-fork.exp (main): Likewise.
4903 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
4904 ptids, instead of just tid.
4906 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4908 * gdb.base/list.exp (test_list_forward): Add end of file error
4910 (test_repeat_list_command): Add end of file error test.
4911 (test_list_backwards): Add beginning of file error test.
4913 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4915 * gdb.base/list.exp (test_list_invalid_args): New function,
4916 defined, and called.
4918 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4920 * gdb.base/list.exp (test_list): Make test names unique.
4922 2015-12-11 Yao Qi <yao.qi@linaro.org>
4924 * gdb.base/coremaker2.c: Remove.
4926 2015-12-10 Pedro Alves <palves@redhat.com>
4928 * gdb.multi/base.exp: Remove stale "spaces" references.
4930 2015-12-10 Pedro Alves <palves@redhat.com>
4932 * gdb.multi/base.exp: Don't use nowarnings.
4933 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
4934 * gdb.multi/hangout.c: Include stdio.h.
4935 * gdb.multi/hello.c: Include stdlib.h.
4936 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
4937 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
4938 * gdb.multi/multi-arch.exp: Don't use nowarnings.
4940 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
4942 * gdb.dwarf2/dw2-ranges-base.c: New file.
4943 * gdb.dwarf2/dw2-ranges-base.exp: New file.
4944 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
4945 support additional line table, and debug ranges generation.
4946 (Dwarf::ranges): New function, generate .debug_ranges.
4947 (Dwarf::lines): Support generating simple line table programs.
4948 (Dwarf::assemble): Initialise new namespace variables.
4950 2015-12-09 Kevin Buettner <kevinb@redhat.com>
4952 * gdb.base/async.exp (proc test_background): Add case for
4953 asynchronous execution not supported.
4955 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
4957 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
4958 format and change test names to make them unique.
4960 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
4961 Pedro Alves <pedro@redhat.com>
4964 Add checking of floatformats setup on x86_64 hosts.
4965 * gdb.arch/i386-float.S (main): Load bigval and smallval.
4966 (smallval, bigval): New labels/constants.
4967 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
4968 float" after loading bigval and smallval.
4970 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
4972 * gdb.ada/fun_overload_menu.exp: New testcase.
4973 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
4975 2015-12-04 Josh Stone <jistone@redhat.com>
4977 * gdb.base/catch-fork-static.exp: New.
4979 2015-12-03 Yao Qi <yao.qi@linaro.org>
4981 * gdb.base/sizeof.c: Don't include stdio.h and
4982 ../lib/unbuffer_output.c.
4983 (main): New variable 'size' and 'value'. Remove printf and
4984 gdb_unbuffer_output. Assign return value to size and value.
4985 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
4987 (check_sizeof): Check the result by printing variable 'size'.
4988 (check_valueof): Check the result by printing variable 'value'.
4990 2015-12-01 Yao Qi <yao.qi@linaro.org>
4992 * gdb.base/disp-step-syscall.exp: Define syscall instruction
4993 for aarch64*-*-linux* target.
4995 2015-11-30 Pedro Alves <palves@redhat.com>
4997 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
4999 2015-11-30 Pedro Alves <palves@redhat.com>
5001 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
5002 Handle non-stop mode vCont replies.
5004 2015-11-30 Pedro Alves <palves@redhat.com>
5006 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
5007 prepare_for_testing. Start gdb with "set non-stop on" appended to
5008 GDBFLAGS. Lax expected stop output.
5010 2015-11-27 Yao Qi <yao.qi@linaro.org>
5012 * gdb.arch/arm-neon.exp: New.
5013 * gdb.arch/arm-neon.c: New.
5015 2015-11-27 Yao Qi <yao.qi@linaro.org>
5017 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
5019 2015-11-27 Yao Qi <yao.qi@linaro.org>
5021 * gdb.cp/annota2.exp: Allow multiple occurrences of the
5022 frames-invalid annotation.
5024 2015-11-27 Yao Qi <yao.qi@linaro.org>
5026 * gdb.cp/annota2.exp: Use ${frames_invalid}.
5028 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
5030 * gdb.threads/names.exp: New file.
5031 * gdb.threads/names.c: New file.
5032 * README: Mention gdb,no_thread_names.
5034 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
5037 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
5040 2015-11-24 Pedro Alves <palves@redhat.com>
5043 * gdb.base/display.exp: Expect displays to be sorted in ascending
5044 order. Use multi_line.
5045 * gdb.base/solib-display.exp: Likewise.
5047 2015-11-24 Pedro Alves <palves@redhat.com>
5050 * gdb.base/display.exp: Expect displays to be sorted in ascending
5051 order. Use multi_line.
5052 * gdb.base/solib-display.exp: Likewise.
5054 2015-11-24 Pedro Alves <palves@redhat.com>
5057 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
5058 threads in ascending order.
5059 * gdb.base/foll-fork.exp: Likewise.
5060 * gdb.base/foll-vfork.exp: Likewise.
5061 * gdb.base/multi-forks.exp: Likewise.
5062 * gdb.mi/mi-nonstop.exp: Likewise.
5063 * gdb.mi/mi-nsintrall.exp: Likewise.
5064 * gdb.multi/base.exp: Likewise.
5065 * gdb.multi/multi-arch.exp: Likewise.
5066 * gdb.python/py-inferior.exp: Likewise.
5067 * gdb.threads/break-while-running.exp: Likewise.
5068 * gdb.threads/execl.exp: Likewise.
5069 * gdb.threads/gcore-thread.exp: Likewise.
5070 * gdb.threads/info-threads-cur-sal.exp: Likewise.
5071 * gdb.threads/kill.exp: Likewise.
5072 * gdb.threads/linux-dp.exp: Likewise.
5073 * gdb.threads/multiple-step-overs.exp: Likewise.
5074 * gdb.threads/next-bp-other-thread.exp: Likewise.
5075 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
5076 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
5077 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
5078 * gdb.threads/thread-find.exp: Likewise.
5079 * gdb.threads/tls.exp: Likewise.
5080 * lib/mi-support.exp (mi_reverse_list): Delete.
5081 (mi_check_thread_states): No longer reverse list.
5083 2015-11-24 Pedro Alves <palves@redhat.com>
5085 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
5088 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
5090 * gdb.trace/actions.c: Include trace-common.h.
5091 (main): Add a location for a fast tracepoint.
5092 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
5093 the normal tracepoints.
5094 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
5096 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
5098 * save-trace.exp: Factor out code to these...
5099 (gdb_save_tracepoints): New.
5100 (gdb_load_tracepoints): New.
5101 (do_save_load_test): New.
5103 2015-11-23 Kevin Buettner <kevinb@redhat.com>
5105 * gdb.base/asmlabel.exp: New test.
5106 * gdb.base/asmlabel.c: New test case.
5108 2015-11-23 Joel Brobecker <brobecker@adacore.com>
5110 * gdb.base/wrong_frame_bt_full-main.c: New file.
5111 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
5112 * gdb.base/wrong_frame_bt_full.exp: New file.
5114 2015-11-23 Joel Brobecker <brobecker@adacore.com>
5116 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
5118 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
5120 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
5121 pstate register when comparing registers values in
5122 sparc64-*-linux-gnu targets to avoid spurious differences.
5124 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
5126 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
5128 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
5130 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
5131 as type argument to gdb_compile.
5132 * gdb.base/nested-subp2.exp: Likewise.
5133 * gdb.base/nested-subp3.exp: Likewise.
5135 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
5137 * lib/dwarf.exp (_note): Fix left shift of negative value.
5138 * gdb.trace/trace-condition.exp: Likewise.
5140 2015-11-13 Yao Qi <yao.qi@linaro.org>
5142 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
5143 comments about d10v.
5144 (test_scalar_returns): Likewise.
5145 * gdb.base/d10v.ld: Remove.
5146 * gdb.base/overlays.exp: Remove the target triplet checking for
5148 * gdb.base/structs.exp (test_struct_returns): Remove the
5149 comments about d10v.
5150 (test_struct_calls): Likewise.
5152 2015-11-13 Yao Qi <yao.qi@linaro.org>
5154 * gdb.base/gnu_vector.exp: Check the return value by "p res".
5155 * gdb.base/gnu_vector.c: Don't include stdio.h.
5156 (main): Don't print res and call add_some_intvecs.
5158 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
5160 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
5163 (func4): Use FAST_TRACEPOINT_LABEL.
5164 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
5167 (thread_function): Use FAST_TRACEPOINT_LABEL.
5168 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
5170 (marker): Use FAST_TRACEPOINT_LABEL.
5171 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
5172 (pendfunc1): Remove.
5173 (pendfunc): Use FAST_TRACEPOINT_LABEL.
5174 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
5176 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
5177 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
5180 (marker): Use FAST_TRACEPOINT_LABEL.
5181 * gdb.trace/trace-common.h: New header.
5182 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
5185 (marker): Use FAST_TRACEPOINT_LABEL.
5186 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
5188 (thread_function): Use FAST_TRACEPOINT_LABEL.
5190 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
5192 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
5194 * gdb.trace/change-loc.exp: Use global pcreg definition.
5195 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
5196 * gdb.trace/entry-values.exp: Use global spreg definition, add $
5198 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
5199 * gdb.trace/pending.exp: Likewise.
5200 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
5201 * gdb.trace/trace-break.exp: Likewise.
5202 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
5204 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
5205 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
5207 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
5209 2015-11-09 Joel Brobecker <brobecker@adacore.com>
5211 * gdb.ada/fin_fun_out: New testcase.
5213 2015-11-07 Kevin Buettner <kevinb@redhat.com>
5215 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
5216 value associated with DW_AT_byte_size.
5217 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
5218 constants for DW_AT_byte_size, DW_AT_lower_bound, and
5221 2015-11-07 Kevin Buettner <kevinb@redhat.com>
5223 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
5224 (gdb_target_symbol_prefix_flags): Define in terms of _asm
5226 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
5227 gdb.dwarf2/dw2-canonicalize-type.exp,
5228 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
5229 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
5230 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
5231 provided by gdb_target_symbol_prefix_flags_asm.
5232 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
5233 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
5234 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
5235 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
5236 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
5237 macros where needed). Use this macro for symbols which require
5238 the prefix provided by SYMBOL_PREFIX.
5240 2015-11-05 Kevin Buettner <kevinb@redhat.com>
5242 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
5244 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
5245 representing expressions, of more than one list element.
5246 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
5247 to prepend linker symbol prefix to f.
5248 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
5249 table_1 and table_2.
5250 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
5251 Likewise, for f and g.
5252 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
5254 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
5256 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
5257 table_1_ptr and table_2_ptr.
5259 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5260 Joel Brobecker <brobecker@adacore.com>
5262 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
5264 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
5266 * gdb.reverse/s390-mvcle.c: New test.
5267 * gdb.reverse/s390-mvcle.exp: New file.
5268 * lib/gdb.exp: Enable reverse tests on s390*-linux.
5270 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5272 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
5274 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5276 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
5278 * gdb.reverse/getresuid-reverse.exp: Likewise.
5279 * gdb.reverse/pipe-reverse.exp: Likewise.
5280 * gdb.reverse/readv-reverse.exp: Likewise.
5281 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5282 * gdb.reverse/time-reverse.exp: Likewise.
5283 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
5285 2015-10-30 Yao Qi <yao.qi@linaro.org>
5287 * gdb.threads/wp-replication.c (watch_count_done): Remove.
5288 (empty_cycle): Remove.
5289 (main): Don't call empty_cycle. Don't use watch_count_done.
5290 * gdb.threads/wp-replication.exp: Don't set breakpoint on
5291 empty_cycle. Rewrite the code counting HW watchpoints.
5293 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
5295 * gdb.reverse/fstatat-reverse.c: New test.
5296 * gdb.reverse/fstatat-reverse.exp: New file.
5297 * gdb.reverse/getresuid-reverse.c: New test.
5298 * gdb.reverse/getresuid-reverse.exp: New file.
5299 * gdb.reverse/pipe-reverse.c: New test.
5300 * gdb.reverse/pipe-reverse.exp: New file.
5301 * gdb.reverse/readv-reverse.c: New test.
5302 * gdb.reverse/readv-reverse.exp: New file.
5303 * gdb.reverse/recvmsg-reverse.c: New test.
5304 * gdb.reverse/recvmsg-reverse.exp: New file.
5305 * gdb.reverse/time-reverse.c: New test.
5306 * gdb.reverse/time-reverse.exp: New file.
5307 * gdb.reverse/waitpid-reverse.c: New test.
5308 * gdb.reverse/waitpid-reverse.exp: New file.
5310 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5312 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
5314 2015-10-26 Doug Evans <dje@google.com>
5317 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
5318 * gdb.dwarf2/bad-regnum.c: New file.
5319 * gdb.dwarf2/bad-regnum.exp: New file.
5321 2015-10-26 Doug Evans <dje@google.com>
5324 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
5327 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5329 * gdb.compile/compile.exp (compile code globalvar): Update expectation
5330 for a change by "Mention language in compile error message".
5332 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
5335 * gdb.python/py-type.c (C::a_method): New.
5336 (C::a_const_method): New.
5337 (C::a_static_method): New.
5339 * gdb.python/py-type.exp (test_fields): Test getting fields
5340 from function and method.
5342 2015-10-21 Keven Boell <keven.boell@intel.com>
5344 * gdb.fortran/vla-alloc-assoc.exp: New file.
5345 * gdb.fortran/vla-datatypes.exp: New file.
5346 * gdb.fortran/vla-datatypes.f90: New file.
5347 * gdb.fortran/vla-history.exp: New file.
5348 * gdb.fortran/vla-ptype-sub.exp: New file.
5349 * gdb.fortran/vla-ptype.exp: New file.
5350 * gdb.fortran/vla-sizeof.exp: New file.
5351 * gdb.fortran/vla-sub.f90: New file.
5352 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
5353 * gdb.fortran/vla-value-sub-finish.exp: New file.
5354 * gdb.fortran/vla-value-sub.exp: New file.
5355 * gdb.fortran/vla-value.exp: New file.
5356 * gdb.fortran/vla-ptr-info.exp: New file.
5357 * gdb.mi/mi-vla-fortran.exp: New file.
5358 * gdb.mi/vla.f90: New file.
5360 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
5362 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
5363 of hardwired timeout value.
5365 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5366 Pedro Alves <palves@redhat.com>
5368 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
5369 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
5371 2015-10-19 Josh Stone <jistone@redhat.com>
5373 * gdb.base/catch-syscall.c: Include <sched.h>.
5374 (unknown_syscall): New variable.
5375 (main): Trigger a vfork and an unknown syscall.
5376 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
5377 (unknown_syscall_number): Likewise.
5378 (check_call_to_syscall): Accept an optional syscall pattern.
5379 (check_return_from_syscall): Likewise.
5380 (check_continue): Likewise.
5381 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
5382 (test_catch_syscall_skipping_return): New test toggling off 'catch
5383 syscall' to step over the syscall return, then toggling back on.
5384 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
5385 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
5386 (do_syscall_tests): Call test_catch_syscall_without_args and
5387 test_catch_syscall_mid_vfork.
5388 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
5389 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
5391 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
5393 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
5394 print g_vE): Add new pass patterns.
5395 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
5396 print various symbol names for vptr fields.
5398 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
5400 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
5403 2015-10-12 Yao Qi <yao.qi@linaro.org>
5405 * gdb.arch/disp-step-insn-reloc.exp: New test case.
5407 2015-10-12 Yao Qi <yao.qi@linaro.org>
5409 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
5410 is aarch64*-*-linux*.
5412 2015-10-12 Yao Qi <yao.qi@linaro.org>
5414 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
5415 (can_relocate_bcond_true): ... it.
5416 (can_relocate_bcond_false): New function.
5418 (can_relocate_bl): Likewise.
5419 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
5422 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
5424 * gdb.base/nested-addr.c: New file.
5425 * gdb.base/nested-addr.exp: New testcase.
5427 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
5429 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
5430 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
5431 its output. Ignore the output of "record goto begin" and instead
5432 check that GDB is replaying.
5434 2015-10-09 Pedro Alves <palves@redhat.com>
5436 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
5437 (top level): Use it in the run with no args test.
5439 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
5441 * gdb.dlang/properties.exp: New file.
5443 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
5445 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
5446 whether or not address 0x1000 is mapped on the target.
5448 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
5450 * gdb.python/py-type.exp: Do not run tests if binaries fail to
5453 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
5455 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
5456 instruction-history test.
5458 2015-09-28 Doug Evans <dje@google.com>
5460 * gdb.base/gcore.c (array_func): Add reference to static_array.
5462 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
5464 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
5467 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
5469 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
5470 short or char as base type.
5472 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
5474 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
5475 to allow any size enum.
5477 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
5479 * gdb.ada/array_ptr_renaming.exp: New testcase.
5480 * gdb.ada/array_ptr_renaming/foo.adb: New file.
5481 * gdb.ada/array_ptr_renaming/pack.ads: New file.
5483 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5485 * gdb.trace/ftrace-lock.c: New file.
5486 * gdb.trace/ftrace-lock.exp: New file.
5488 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5490 * gdb.arch/insn-reloc.c: New file.
5491 * gdb.arch/ftrace-insn-reloc.exp: New file.
5493 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5495 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
5497 * gdb.trace/pendshr1.c (pendfunc): Likewise.
5498 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
5499 * gdb.trace/range-stepping.c: Likewise.
5500 * gdb.trace/trace-break.c: Likewise.
5501 * gdb.trace/trace-mt.c (thread_function): Likewise.
5502 * gdb.trace/ftrace.c (marker): Likewise.
5503 * gdb.trace/trace-condition.c (marker): Likewise.
5504 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
5505 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
5508 2015-09-18 Doug Evans <xdje42@gmail.com>
5510 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
5511 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
5513 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5515 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
5518 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5520 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
5521 the pending breakpoint. Remove timeout override for "Run till
5522 MI pending breakpoint on pendfunc3 on thread 2" test.
5524 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5526 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
5529 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5531 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
5532 in breakpoint filename pattern.
5534 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5536 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
5538 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5540 * gdb.linespec/explicit.exp: Check for readline support for
5541 tab-completion tests. Fix obvious typo.
5543 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5545 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
5548 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5550 * gdb.btrace/non-stop.c: New.
5551 * gdb.btrace/non-stop.exp: New.
5553 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
5554 Yao Qi <yao.qi@linaro.org>
5556 * gdb.trace/trace-condition.c: New file.
5557 * gdb.trace/trace-condition.exp: New file.
5559 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
5561 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
5562 for testing bytecode compilation.
5564 2015-09-16 Pedro Alves <palves@redhat.com>
5565 Sandra Loosemore <sandra@codesourcery.com>
5567 * gdb.threads/non-stop-fair-events.c (timeout): New global.
5568 (SECONDS): Redefine.
5569 (main): Call pthread_kill and alarm early.
5570 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
5572 (test): If the target can't hardware step and doesn't support
5573 displaced stepping, increase the timeout.
5575 2015-09-16 Pedro Alves <palves@redhat.com>
5577 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
5578 (enable_debug): New procedures.
5579 (test): Use them. Bail out if waiting for threads fails.
5580 (top level): Bail out if a test fails.
5582 2015-09-16 Yao Qi <yao.qi@linaro.org>
5584 * gdb.asm/asm-source.exp: Set asm-arch for
5585 aarch64*-*-* target.
5586 * gdb.asm/aarch64.inc: New file.
5588 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
5590 * gdb.ada/array_of_variable_length.exp: New testcase.
5591 * gdb.ada/array_of_variable_length/foo.adb: New file.
5592 * gdb.ada/array_of_variable_length/pck.adb: New file.
5593 * gdb.ada/array_of_variable_length/pck.ads: New file.
5595 2015-09-15 Doug Evans <dje@google.com>
5597 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
5598 of function static local variable.
5600 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5602 * gdb.threads/tls-so_extern.exp: New test file.
5603 * gdb.threads/tls-so_extern.c: New test file.
5604 * gdb.threads/tls-so_extern_main.c: New test file.
5606 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5608 * gdb.opt/solib-intra-step-lib.c: New file.
5609 * gdb.opt/solib-intra-step-main.c: New file.
5610 * gdb.opt/solib-intra-step.exp: New file.
5612 2015-09-15 Pedro Alves <palves@redhat.com>
5614 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
5615 gdb_continue_to_breakpoint instead of gdb_test_multiple.
5617 2015-09-14 Pedro Alves <palves@redhat.com>
5619 * gdb.base/hook-stop-continue.c: Delete.
5620 * gdb.base/hook-stop-continue.exp: Delete.
5621 * gdb.base/hook-stop-frame.c: Delete.
5622 * gdb.base/hook-stop-frame.exp: Delete.
5623 * gdb.base/hook-stop.c: New file.
5624 * gdb.base/hook-stop.exp: New file.
5626 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
5628 * gdb.ada/access_to_packed_array.exp: New testcase.
5629 * gdb.ada/access_to_packed_array/foo.adb: New file.
5630 * gdb.ada/access_to_packed_array/pack.adb: New file.
5631 * gdb.ada/access_to_packed_array/pack.ads: New file.
5633 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
5635 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
5638 2015-09-11 Don Breazeal <donb@codesourcery.com>
5640 * gdb.base/foll-exec.c: Add copyright header. Fix
5642 * gdb.base/foll-exec.exp (zap_session): Delete proc.
5643 (do_exec_tests): Use clean_restart in place of zap_session,
5644 and for test initialization. Fix formatting issues. Use
5645 fail in place of perror.
5646 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
5647 an expect statement to match an expression with output from
5648 the program under debug.
5649 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
5650 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
5651 * gdb.threads/non-ldr-exc-2.exp: Likewise.
5652 * gdb.threads/non-ldr-exc-3.exp: Likewise.
5653 * gdb.threads/non-ldr-exc-4.exp: Likewise.
5655 2015-09-09 Doug Evans <dje@google.com>
5657 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
5659 2015-09-09 Doug Evans <dje@google.com>
5661 * gdb.base/pie-execl.exp: Fix result test of build_executable.
5663 2015-09-09 Doug Evans <dje@google.com>
5665 * gdb.base/savedregs.exp: Fix typo.
5667 2015-09-09 Pedro Alves <palves@redhat.com>
5669 * gdb.mi/mi-cli.exp: Add CLI finish tests.
5671 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
5673 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
5674 command actually switches threads. Give up on remaining
5675 tests if target fails to stop at breakpoint.
5677 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
5679 * gdb.ada/funcall_char.exp: New testcase.
5680 * gdb.ada/funcall_char/foo.adb: New file.
5682 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
5684 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
5685 expected outputs. Add two testcases for completing ambiguous
5687 * gdb.ada/complete/aux_pck.adb: New file.
5688 * gdb.ada/complete/aux_pck.ads: New file.
5689 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
5690 Ambiguous_Func functions.
5691 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
5692 * gdb.ada/complete/pck.adb: Likewise.
5694 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
5696 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
5697 failures to run the test program under GDB.
5699 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
5701 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
5704 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
5706 * gdb.base/run-after-attach.exp: New test file.
5707 * gdb.base/run-after-attach.c: New test file.
5709 2015-08-26 Don Breazeal <donb@codesourcery.com>
5711 * gdb.base/foll-exec-2.c: New test program.
5712 * gdb.base/foll-exec-2.exp: New test.
5714 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
5716 * gdb.base/nested-subp1.exp: New file.
5717 * gdb.base/nested-subp1.c: New file.
5718 * gdb.base/nested-subp2.exp: New file.
5719 * gdb.base/nested-subp2.c: New file.
5720 * gdb.base/nested-subp3.exp: New file.
5721 * gdb.base/nested-subp3.c: New file.
5723 2015-08-24 Pedro Alves <palves@redhat.com>
5725 * gdb.server/connect-without-multi-process.c: New file.
5726 * gdb.server/connect-without-multi-process.exp: New file.
5728 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5730 * gdb.opt/inline-markers.c: Make z int.
5732 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5734 * gdb.opt/inline-markers.c: Make z volatile.
5736 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5738 * gdb.opt/inline-bt.c: New volatile global z.
5739 * gdb.opt/inline-cmds.c: Likewise.
5740 * gdb.opt/inline-locals.c: Likewise.
5741 * gdb.opt/inline-markers.c: New extern global z.
5743 (inline_fn): Likewise.
5745 2015-08-24 Pedro Alves <palves@redhat.com>
5747 * config/m32r-stub.exp: Remove file.
5748 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5749 * gdb.base/call-rt-st.exp: Likewise.
5750 * gdb.base/call-strs.exp: Likewise.
5751 * gdb.base/default.exp: Remove references to h8300-*-hms and
5753 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5755 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5757 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5758 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5759 and "return" use KFAIL when GDB can not read/write the vector
5762 2015-08-21 Gary Benson <gbenson@redhat.com>
5764 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5766 2015-08-20 Pedro Alves <palves@redhat.com>
5768 * gdb.server/solib-list.exp: No longer expect an interior stop in
5771 2015-08-20 Pedro Alves <palves@redhat.com>
5773 * gdb.server/connect-stopped-target.c: New file.
5774 * gdb.server/connect-stopped-target.exp: New file.
5776 2015-08-20 Pedro Alves <palves@redhat.com>
5778 * gdb.dwarf2/comp-unit-lang.exp: New file.
5779 * gdb.dwarf2/comp-unit-lang.c: New file.
5781 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5783 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5784 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5786 2015-08-19 Kevin Buettner <kevinb@redhat.com>
5788 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5789 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5791 2015-08-18 Doug Evans <dje@google.com>
5792 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5794 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5795 skip_python_tests. New arg prompt_regexp.
5796 (skip_python_tests): New function.
5797 * lib/mi-support.exp (mi_skip_python_tests): New function.
5798 * gdb.python/py-mi-objfile-gdb.py: New file.
5799 * gdb.python/py-mi-objfile.c: New file.
5800 * gdb.python/py-mi-objfile.exp: New file.
5802 2015-08-17 Keith Seitz <keiths@redhat.com>
5804 * gdb.linespec/explicit.exp: Move strace test from here ...
5805 * gdb.trace/strace.exp: ... to here.
5807 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5809 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5810 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5812 2015-08-14 Doug Evans <xdje42@gmail.com>
5814 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5815 inferior before selecting a new file.
5817 2015-08-14 Doug Evans <xdje42@gmail.com>
5819 * gdb.mi/mi-disassemble.exp: Update.
5820 * gdb.base/disasm-optim.S: New file.
5821 * gdb.base/disasm-optim.c: New file.
5822 * gdb.base/disasm-optim.h: New file.
5823 * gdb.base/disasm-optim.exp: New file.
5825 2015-08-14 Keith Seitz <keiths@redhat.com>
5827 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
5830 2015-08-13 Joel Brobecker <brobecker@adacore.com>
5832 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
5834 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
5836 * gdb.ada/fun_renaming.exp: New testcase.
5837 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
5838 * gdb.ada/fun_renaming/pack.adb: New file.
5839 * gdb.ada/fun_renaming/pack.ads: New file.
5841 2015-08-12 Keith Seitz <keiths@redhat.com>
5843 * gdb.base/dso2dso.exp: Pass basename of source file in call to
5844 gdb_get_line_number.
5846 2015-08-12 Joel Brobecker <brobecker@adacore.com>
5848 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
5849 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
5850 gdb.base/dso2dso.exp: New files.
5852 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
5853 Pedro Alves <palves@redhat.com>
5854 Keith Seitz <keiths@redhat.com>
5856 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
5859 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5861 * gdb.base/gdbhistsize-history.exp
5862 (test_histsize_history_setting): Use save_vars.
5863 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5865 (test_no_truncation_of_unlimited_history_file): Use save_vars.
5866 * gdb.base/readline.exp: Use save_vars.
5868 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5870 * lib/gdb.exp (save_vars): New proc.
5872 2015-08-11 Keith Seitz <keiths@redhat.com>
5874 * gdb.base/help.exp: Update help_breakpoint_text.
5876 2015-08-11 Keith Seitz <keiths@redhat.com>
5878 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
5879 (at toplevel): Call test_explicit_breakpoints.
5880 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
5882 * lib/mi-support.exp (mi_make_breakpoint): Add support for
5883 breakpoint conditions, "-cond".
5885 2015-08-11 Keith Seitz <keiths@redhat.com>
5887 * gdb.linespec/3explicit.c: New file.
5888 * gdb.linespec/cpexplicit.cc: New file.
5889 * gdb.linespec/cpexplicit.exp: New file.
5890 * gdb.linespec/explicit.c: New file.
5891 * gdb.linespec/explicit.exp: New file.
5892 * gdb.linespec/explicit2.c: New file.
5893 * gdb.linespec/ls-errs.exp: Add explicit location tests.
5894 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
5895 before using in the matching pattern.
5896 Clarify that `prefix' is a regular expression.
5898 2015-08-11 Keith Seitz <keiths@redhat.com>
5900 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
5902 Add tests for missing ",FMT" and ",".
5904 2015-08-10 Doug Evans <dje@google.com>
5905 Keith Seitz <keiths@redhat.com>
5908 * gdb.base/completion.exp: Add location completer tests.
5910 2015-08-07 Pedro Alves <palves@redhat.com>
5912 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
5914 (top level): Run do_test with and without displaced stepping.
5916 2015-08-07 Pedro Alves <palves@redhat.com>
5918 * gdb.base/valgrind-disp-step.c: New file.
5919 * gdb.base/valgrind-disp-step.exp: New file.
5921 2015-08-07 Pedro Alves <palves@redhat.com>
5923 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
5925 (main): Add alarm. Run an infinite loop instead of calling
5927 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
5929 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
5931 (main): Add alarm. Run an infinite loop instead of calling
5933 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
5936 2015-08-07 Pedro Alves <palves@redhat.com>
5938 * gdb.base/checkpoint-ns.exp: New file.
5939 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
5942 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
5944 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
5945 * gdb.btrace/instruction_history.exp: Update.
5946 * gdb.btrace/tsx.exp: New.
5947 * gdb.btrace/tsx.c: New.
5949 2015-08-06 Pedro Alves <palves@redhat.com>
5951 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
5953 * gdb.reverse/until-precsave.exp: Bump timeouts.
5955 2015-08-06 Pedro Alves <palves@redhat.com>
5957 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
5959 2015-08-06 Pedro Alves <palves@redhat.com>
5962 * gdb.threads/process-dies-while-handling-bp.c: New file.
5963 * gdb.threads/process-dies-while-handling-bp.exp: New file.
5965 2015-08-06 Pedro Alves <palves@redhat.com>
5967 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
5968 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
5970 2015-08-05 Pedro Alves <palves@redhat.com>
5972 * gdb.threads/next-while-other-thread-longjmps.c: New file.
5973 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
5975 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
5977 * gdb.base/bp-permanent.exp: Report test as unsupported if
5978 the target cannot stop at the permanent breakpoint.
5980 2015-08-03 Doug Evans <dje@google.com>
5982 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
5985 2015-08-03 Doug Evans <dje@google.com>
5987 * Makefile.in (workers/%.worker, build-perf): New rule.
5988 (GDB_PERFTEST_MODE): New variable.
5989 (check-perf): Use it.
5990 (clean): Clean up gdb.perf parallel build subdirs.
5991 * lib/build-piece.exp: New file.
5992 * lib/gdb.exp (make_gdb_parallel_path): New function
5993 (standard_output_file, standard_temp_file): Call it.
5994 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
5996 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
5998 2015-08-03 Doug Evans <dje@google.com>
6000 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
6001 (LOG_FILE_NAME): New global.
6002 (TextReporter.__init__): Initialize self.txt_sum.
6003 (TextReporter.report): Add support for multiple data-points.
6004 Move report to perftest.sum, put raw data in perftest.log.
6005 (TextReporter.start): Open sum and log files.
6006 (TextReporter.end): Close sum and log files.
6007 * gdb.perf/lib/perftest/testresult.py
6008 (SingleStatisticTestResult.record): Handle multiple data-points.
6010 2015-07-31 Pedro Alves <palves@redhat.com>
6012 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
6013 Use spawn_id_get_pid. Wait for spawn id after eof. Use
6014 kill_wait_spawned_process instead of explicit "kill -9".
6015 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
6016 returning a spawn id instead of a pid. Use spawn_id_get_pid and
6017 kill_wait_spawned_process.
6018 * gdb.base/attach-twice.exp: Likewise.
6019 * gdb.base/attach.exp: Likewise.
6020 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
6022 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
6023 returning a spawn id instead of a pid. Use spawn_id_get_pid and
6024 kill_wait_spawned_process.
6025 * gdb.base/valgrind-infcall.exp: Likewise.
6026 * gdb.multi/multi-attach.exp: Likewise.
6027 * gdb.python/py-prompt.exp: Likewise.
6028 * gdb.python/py-sync-interp.exp: Likewise.
6029 * gdb.server/ext-attach.exp: Likewise.
6030 * gdb.threads/attach-into-signal.exp (corefunc): Use
6031 spawn_wait_for_attach, spawn_id_get_pid and
6032 kill_wait_spawned_process.
6033 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
6034 spawn_wait_for_attach returning a spawn id instead of a pid. Use
6035 spawn_id_get_pid and kill_wait_spawned_process.
6036 * gdb.threads/attach-stopped.exp (corefunc): Use
6037 spawn_wait_for_attach, spawn_id_get_pid and
6038 kill_wait_spawned_process.
6039 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
6040 Use spawn_id_get_pid. Wait for spawn id after eof. Use
6041 kill_wait_spawned_process instead of explicit "kill -9".
6042 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
6043 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
6044 (spawn_wait_for_attach): Use spawn instead of exec to spawn
6045 processes. Don't map cygwin/windows pids here. Now returns a
6048 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6050 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
6051 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
6054 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6056 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
6058 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6061 2014-05-21 Mark Wielaard <mjw@redhat.com>
6063 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6065 2015-07-30 Pedro Alves <palves@redhat.com>
6067 * linux-low.c (handle_extended_wait): Set the child's last
6068 reported status to TARGET_WAITKIND_STOPPED.
6070 2015-07-30 Pedro Alves <palves@redhat.com>
6073 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
6074 only shows inferior 1.
6076 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
6077 Pedro Alves <palves@redhat.com>
6080 * gdb.threads/fork-plus-threads.c: New file.
6081 * gdb.threads/fork-plus-threads.exp: New file.
6083 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6085 * gdb.base/batch-preserve-term-settings.exp
6086 (test_terminal_settings_preserved_after_cli_exit): Use
6089 2015-07-29 Pedro Alves <palves@redhat.com>
6090 Don Breazeal <donb@codesourcery.com>
6092 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
6093 output from both inferior_spawn_id and gdb_spawn_id.
6095 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
6097 * gdb.threads/attach-into-signal.exp (corefunc): Use
6098 with_test_prefix on nested loops, uniquefying the test messages.
6100 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
6102 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
6105 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6107 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
6109 (test_terminal_settings_preserved_after_sigterm): New test.
6111 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6113 * gdb.base/batch-preserve-term-settings.exp
6114 (test_terminal_settings_preserved_after_cli_exit): New test.
6116 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6118 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
6119 manipulation of saved_gdbflags.
6120 (test_terminal_settings_preserved): Remove global declaration of
6121 the unused variable pagination_prompt. Remove manipulation of
6122 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
6125 2015-07-29 Pedro Alves <palves@redhat.com>
6127 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
6129 2015-07-29 Pedro Alves <palves@redhat.com>
6131 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
6134 2015-07-29 Pedro Alves <palves@redhat.com>
6136 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
6137 (main): Call gdb_unbuffer_output.
6138 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
6139 (main): Call gdb_unbuffer_output.
6140 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
6141 (main): Call gdb_unbuffer_output.
6142 * gdb.base/call-strs.exp: Adjust to step over the
6143 gdb_unbuffer_output call.
6144 * gdb.base/catch-gdb-caused-signals.c: Include
6145 "../lib/unbuffer_output.c".
6146 (main): Call gdb_unbuffer_output.
6147 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
6148 (main): Call gdb_unbuffer_output.
6149 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
6150 (main): Call gdb_unbuffer_output.
6151 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
6152 (main): Call gdb_unbuffer_output.
6153 * gdb.base/shlib-call.exp: Adjust to step over the
6154 gdb_unbuffer_output call.
6155 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
6156 (main): Call gdb_unbuffer_output.
6157 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
6158 (main): Call gdb_unbuffer_output.
6159 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
6160 (main): Rename to ...
6162 (main): Reimplement.
6163 * gdb.base/varargs.exp: Run to test instead of to main.
6164 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
6165 (main): Call gdb_unbuffer_output.
6167 2015-07-29 Pedro Alves <palves@redhat.com>
6169 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
6170 factore out from mi_continue_dprintf. For call-style dprintfs,
6171 expect dprintf output out of $inferior_spawn_id.
6172 (mi_continue_dprintf): Use mi_expect_dprintf.
6173 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
6174 (main): Call gdb_unbuffer_output.
6176 2015-07-29 Pedro Alves <palves@redhat.com>
6178 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
6179 (default_mi_gdb_start): Set inferior_spawn_id instead of
6180 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
6182 (mi_gdb_test): Always expect inferior output from both
6183 $inferior_spawn_id and $gdb_spawn_id.
6185 2015-07-29 Pedro Alves <palves@redhat.com>
6187 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
6188 send_inferior and $inferior_spawn_id.
6190 2015-07-29 Pedro Alves <palves@redhat.com>
6192 * gdb.gdb/complaints.exp (test_initial_complaints)
6193 (test_serial_complaints, test_short_complaints): Use
6195 (test_empty_complaint): Handle $inferior_spawn_id !=
6198 2015-07-29 Pedro Alves <palves@redhat.com>
6200 * gdb.base/varargs.exp: Use gdb_test_stdio.
6202 2015-07-29 Pedro Alves <palves@redhat.com>
6204 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
6206 2015-07-29 Pedro Alves <palves@redhat.com>
6208 * gdb.base/ending-run.exp: Use gdb_test_stdio.
6210 2015-07-29 Pedro Alves <palves@redhat.com>
6212 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
6213 parameter into two new parameters, "inf_result" and "gdb_result".
6214 Expect inferior output and gdb output from $inferior_spawn_id and
6215 $gdb_spawn_id, respectively. Adjust all callers.
6217 2015-07-29 Pedro Alves <palves@redhat.com>
6219 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
6220 of gdb_test_sequence.
6222 2015-07-29 Pedro Alves <palves@redhat.com>
6224 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
6225 (saw_spurious_output): Expect inferior output from
6226 $inferior_spawn_id. Use gdb_test_stdio.
6228 2015-07-29 Pedro Alves <palves@redhat.com>
6230 * gdb.base/dprintf.exp: Use standard_testfile. Change
6231 prepare_for_testing call.
6232 (srcfile): Don't set.
6233 (restart): New procedure.
6234 (test_dprintf): New procecure, use to continue over dprintfs.
6235 (test_call, test_agent): New procedures, tests moved here.
6236 Restart gdb and recreate dprintfs. Adjust expected output.
6238 2015-07-29 Pedro Alves <palves@redhat.com>
6240 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
6242 2015-07-29 Pedro Alves <palves@redhat.com>
6244 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
6246 2015-07-29 Pedro Alves <palves@redhat.com>
6248 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
6251 2015-07-29 Pedro Alves <palves@redhat.com>
6253 * lib/gdb.exp (gdb_test_stdio): New procedure.
6255 2015-07-29 Pedro Alves <palves@redhat.com>
6257 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
6259 2015-07-29 Pedro Alves <palves@redhat.com>
6261 * gdb.base/call-signal-resume.exp: Remove check for
6262 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
6263 * gdb.base/unwindonsignal.exp: Likewise.
6264 * gdb.base/call-signals.c (gen_signal): Remove printf call.
6265 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
6267 2015-07-29 Pedro Alves <palves@redhat.com>
6269 * gdb.base/siginfo-addr.c (pass): New function.
6270 (handler): Call it iff si_addr is correct.
6271 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
6272 Set a breakpoint at "pass" and continue to it.
6274 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
6276 * gdb.python/py-objfile.exp: Make some tests have unique names.
6277 * gdb.python/py-pp-registration.exp: Likewise.
6279 2015-07-28 Pedro Alves <palves@redhat.com>
6281 * gdb.server/server-exec-info.exp: Issue a "disconnect".
6283 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6285 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
6287 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6289 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
6291 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
6293 * gdb.base/gdb-sigterm-2.exp: New test.
6295 2015-07-25 Doug Evans <xdje42@gmail.com>
6298 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6299 (workers/%.worker, build-perf): New rule.
6300 (GDB_PERFTEST_MODE): New variable.
6301 (check-perf): Use it.
6302 (clean): Clean up gdb.perf parallel build subdirs.
6303 * lib/build-piece.exp: New file.
6304 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6305 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6307 (standard_temp_file): Ditto.
6308 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6311 2015-07-24 Doug Evans <dje@google.com>
6313 * gdb.perf/lib/perftest/utils.py: New file.
6314 * gdb.perf/gm-hello.cc: New file.
6315 * gdb.perf/gm-pervasive-typedef.cc: New file.
6316 * gdb.perf/gm-pervasive-typedef.h: New file.
6317 * gdb.perf/gm-std.cc: New file.
6318 * gdb.perf/gm-std.h: New file.
6319 * gdb.perf/gm-use-cerr.cc: New file.
6320 * gdb.perf/gm-utils.h: New file.
6321 * gdb.perf/gmonster-null-lookup.py: New file.
6322 * gdb.perf/gmonster-pervasive-typedef.py: New file.
6323 * gdb.perf/gmonster-print-cerr.py: New file.
6324 * gdb.perf/gmonster-ptype-string.py: New file.
6325 * gdb.perf/gmonster-runto-main.py: New file.
6326 * gdb.perf/gmonster-select-file.py: New file.
6327 * gdb.perf/gmonster1-null-lookup.exp: New file.
6328 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
6329 * gdb.perf/gmonster1-print-cerr.exp: New file.
6330 * gdb.perf/gmonster1-ptype-string.exp: New file.
6331 * gdb.perf/gmonster1-runto-main.exp: New file.
6332 * gdb.perf/gmonster1-select-file.exp: New file.
6333 * gdb.perf/gmonster1.cc: New file.
6334 * gdb.perf/gmonster1.exp: New file.
6335 * gdb.perf/gmonster2-null-lookup.exp: New file.
6336 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
6337 * gdb.perf/gmonster2-print-cerr.exp: New file.
6338 * gdb.perf/gmonster2-ptype-string.exp: New file.
6339 * gdb.perf/gmonster2-runto-main.exp: New file.
6340 * gdb.perf/gmonster2-select-file.exp: New file.
6341 * gdb.perf/gmonster2.cc: New file.
6342 * gdb.perf/gmonster2.exp: New file.
6344 2015-07-24 Doug Evans <dje@google.com>
6346 * gdb.perf/README: New file.
6347 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
6348 * lib/gen-perf-test.exp: New file.
6350 2015-07-24 Doug Evans <dje@google.com>
6352 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
6353 (PerfTest::startup): New function.
6354 (PerfTest::run): Return result of calling body.
6355 (PerfTest::assemble): Rewrite.
6356 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
6357 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
6358 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
6359 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
6360 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
6362 2015-07-24 Doug Evans <dje@google.com>
6364 * lib/gdb.exp (clean_restart): Make executable optional.
6366 2015-07-24 Doug Evans <dje@google.com>
6368 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
6369 compiler_info references.
6370 * gdb.cp/temargs.exp: Ditto.
6371 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
6372 (get_compiler_info): Early exit if already computed. Set compiler_info
6373 to "unknown" if there was a problem.
6374 (test_compiler_info): Add function comment. Call get_compiler_info.
6376 2015-07-24 Doug Evans <dje@google.com>
6378 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6379 (workers/%.worker, build-perf): New rule.
6380 (GDB_PERFTEST_MODE): New variable.
6381 (check-perf): Use it.
6382 (clean): Clean up gdb.perf parallel build subdirs.
6383 * lib/build-piece.exp: New file.
6384 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6385 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6387 (standard_temp_file): Ditto.
6388 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6391 2015-07-24 Doug Evans <dje@google.com>
6393 * lib/future.exp (gdb_default_target_compile): New option
6395 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
6398 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
6400 * gdb.base/catch-syscall.exp: Call gdb_exit before
6403 2015-07-24 Pedro Alves <palves@redhat.com>
6405 * gdb.python/py-events.exp: Accept output between the stop event
6407 * gdb.python/py-evsignal.exp: Likewise.
6408 * gdb.python/py-evthreads.exp: Likewise.
6410 2015-07-24 Pedro Alves <palves@redhat.com>
6413 * gdb.threads/non-ldr-exit.c: New file.
6414 * gdb.threads/non-ldr-exit.exp: New file.
6416 2015-07-24 Yao Qi <yao.qi@linaro.org>
6418 * gdb.server/ext-wrapper.exp: Test --wrapper option when
6421 2015-07-24 Yao Qi <yao.qi@linaro.org>
6423 * gdb.server/ext-restart.exp: New file.
6425 2015-07-24 Yao Qi <yao.qi@linaro.org>
6427 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
6429 * gdb.server/ext-wrapper.exp: New file.
6431 2015-07-23 Doug Evans <dje@google.com>
6433 * gdb.dwarf2/dw2-dummy-cu.S: New file.
6434 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
6436 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
6438 * gdb.ada/var_arr_typedef.exp: New testcase.
6439 * gdb.ada/var_arr_typedef/pack.adb: New file.
6440 * gdb.ada/var_arr_typedef/pack.ads: New file.
6441 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
6443 2015-07-20 Joel Brobecker <brobecker@adacore.com>
6445 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
6447 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6449 * gdb.arch/i386-biarch-core.exp: Replace istarget
6450 by "complete set gnutarget". Remove expectation for the "core-file"
6453 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6455 Revert the previous commit:
6456 Tests for validate symbol file using build-id.
6458 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
6460 Tests for validate symbol file using build-id.
6461 * gdb.base/solib-mismatch-lib.c: New file.
6462 * gdb.base/solib-mismatch-libmod.c: New file.
6463 * gdb.base/solib-mismatch.c: New file.
6464 * gdb.base/solib-mismatch.exp: New file.
6466 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
6468 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
6470 * gdb.base/sigbpt.exp (stepi_out): Likewise.
6471 * gdb.base/siginfo.exp: Likewise.
6472 * gdb.base/sigstep.exp (advance, advancei): Likewise.
6474 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
6476 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
6478 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
6480 * gdb.trace/range-stepping.exp: Check that the target supports
6483 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6485 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
6487 2015-07-14 Pedro Alves <palves@redhat.com>
6489 * gdb.base/killed-outside.exp: New file.
6490 * gdb.base/killed-outside.c: New file.
6492 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6494 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
6496 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
6498 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6500 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
6501 infcall tests instead of setting up for KFAIL.
6503 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
6505 * gdb.btrace/record_goto-step.exp: New.
6507 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6510 * gdb.compile/compile.c (struct struct_type): Add volatile to
6512 * gdb.compile/compile.exp
6513 (compile code struct_object.selffield = &struct_object): Skip further
6514 struct_object tests if this one xfails.
6516 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
6519 * gdb.trace/ax.exp: Add test.
6521 2015-07-07 Yao Qi <yao.qi@linaro.org>
6523 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
6524 instead of istarget "aarch64*-*-*".
6525 * gdb.arch/aarch64-fp.exp: Likewise.
6526 * gdb.base/float.exp: Likewise.
6527 * gdb.reverse/aarch64.exp: Likewise.
6528 * lib/gdb.exp (is_aarch64_target): New proc.
6530 2015-07-07 Yao Qi <yao.qi@linaro.org>
6532 * lib/gdb.exp (is_aarch32_target): New proc.
6533 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
6534 instead of "istarget "arm*-*-*"".
6535 * gdb.arch/arm-disp-step.exp: Likewise.
6536 * gdb.arch/thumb-bx-pc.exp: Likewise.
6537 * gdb.arch/thumb-prologue.exp: Likewise.
6538 * gdb.arch/thumb-singlestep.exp: Likewise.
6539 * gdb.base/disp-step-syscall.exp: Likewise.
6540 * gdb.base/float.exp: Likewise.
6542 2015-07-07 Yao Qi <yao.qi@linaro.org>
6544 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
6545 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
6547 2015-07-07 Yao Qi <yao.qi@linaro.org>
6549 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
6550 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
6552 * gdb.multi/multi-arch.exp: Likewise.
6554 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
6556 * gdb.python/py-lazy-string.exp: Add missing parentheses to
6559 2015-07-07 Yao Qi <yao.qi@linaro.org>
6561 * gdb.arch/thumb-singlestep.exp: Do one more single step.
6563 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
6565 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
6566 '[' and ']' characters.
6568 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
6570 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6572 2015-06-29 Pedro Alves <palves@redhat.com>
6575 * gdb.threads/hand-call-new-thread.c: New file.
6576 * gdb.threads/hand-call-new-thread.c: New file.
6578 2015-06-26 Keith Seitz <keiths@redhat.com>
6579 Doug Evans <dje@google.com>
6582 * gdb.cp/var-tag-2.cc: New file.
6583 * gdb.cp/var-tag-3.cc: New file.
6584 * gdb.cp/var-tag-4.cc: New file.
6585 * gdb.cp/var-tag.cc: New file.
6586 * gdb.cp/var-tag.exp: New file.
6588 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6590 * gdb.base/history-duplicates.exp: New test.
6592 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6594 * gdb.base/completion.exp: Test the completion of the "focus"
6597 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6599 * gdb.arch/amd64-prologue-skip.S: New file.
6600 * gdb.arch/amd64-prologue-skip.exp: New file.
6602 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
6604 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
6605 is_address_zero_readable check.
6607 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
6609 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
6610 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
6612 2015-06-24 Yao Qi <yao.qi@linaro.org>
6614 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
6617 2015-06-24 Yao Qi <yao.qi@linaro.org>
6619 * lib/gdb.exp (supports_get_siginfo_type): New proc.
6620 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
6621 * gdb.base/siginfo-thread.exp: Likewise.
6623 2015-06-22 Yao Qi <yao.qi@linaro.org>
6625 * boards/remote-gdbserver-on-localhost.exp: Add comments.
6627 2015-06-22 Yao Qi <yao.qi@linaro.org>
6629 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
6631 (skip_hw_watchpoint_tests): Likewise.
6633 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
6635 * gdb.base/gdbinit-history.exp: Test the interaction between
6636 setting GDBHISTSIZE and setting the history size via .gdbinit.
6638 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6641 * gdb.base/gdbhistsize-history.exp: New test.
6643 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6645 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
6647 * gdb.base/readline.exp: Likewise.
6649 2015-06-17 Yao Qi <yao.qi@linaro.org>
6651 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
6654 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6656 * gdb.base/gdbinit-history.exp: Add test case to check that
6657 an unlimited history file does not get truncated on exit.
6659 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6661 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
6662 (VECTOR): New macro. Use it...
6663 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6664 ...for these typedefs.
6665 (int8, char1, int1, double1): New typedefs.
6666 (struct just_int2, struct two_int2): New structures.
6667 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
6668 (add_structvecs, add_singlevecs): New functions.
6669 (main): Call add_some_intvecs twice.
6670 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
6671 the compile and exit upon failure. Try compiling for the "native"
6672 architecture. Test inferior function calls with vector arguments
6673 and vector return value handling with "finish" and "return".
6675 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
6677 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
6678 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
6680 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
6682 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6684 PR breakpoints/16465
6685 * gdb.mi/mi-dprintf-pending.c: New file.
6686 * gdb.mi/mi-dprintf-pending.exp: New test.
6687 * gdb.mi/mi-dprintf-pendshr.c: New file.
6689 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6690 Mircea Gherzan <mircea.gherzan@intel.com>
6692 * gdb.arch/i386-mpx-map.c: New file.
6693 * gdb.arch/i386-mpx-map.exp: New File.
6695 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6697 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
6698 * gdb.arch/i386-mpx.exp: Indentation fixed.
6700 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6702 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
6703 function and improved indentation.
6704 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
6705 gdb_test_multiple. Added additional tests to skip the test.
6707 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6709 * gdb.arch/i386-avx512.c: Change path in include file.
6710 * gdb.arch/i386-avx512.exp: Change include dir path
6712 * gdb.arch/i386-mpx.c: Change path in include file.
6713 * gdb.arch/i386-mpx.exp: Change include dir path compilation
6716 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6718 * gdb.compile/compile-print.exp (compile print *vararray@3)
6719 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
6721 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6723 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
6724 (do not keep jit in memory): ... this.
6725 (expect 5): Change it to ...
6726 (expect no 5): ... this.
6728 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
6731 * gdb.mi/mi-detach.exp: New file.
6733 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6736 * gdb.arch/amd64-tailcall-self.S: New file.
6737 * gdb.arch/amd64-tailcall-self.c: New file.
6738 * gdb.arch/amd64-tailcall-self.exp: New file.
6740 2015-05-28 Don Breazeal <donb@codesourcery.com>
6742 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6743 tests for remote targets by checking is_target_gdbserver.
6745 2015-05-27 Doug Evans <dje@google.com>
6747 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6748 * gdb.dwarf2/opaque-type-lookup.c: New file.
6749 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6751 2015-05-26 Doug Evans <dje@google.com>
6753 * gdb.cp/iostream.cc: New file.
6754 * gdb.cp/iostream.exp: New file.
6756 2015-05-26 Doug Evans <dje@google.com>
6758 * gdb.dwarf2/dw2-op-call.exp: Update.
6759 * gdb.dwarf2/dw4-sig-types.exp: Update.
6760 * gdb.dwarf2/implptr.exp: Update.
6761 * gdb.mi/mi-cmd-param-changed.exp: Update.
6763 2015-05-26 Doug Evans <dje@google.com>
6765 * gdb.python/py-lazy-string.c: New file.
6766 * gdb.python/py-lazy-string.exp: New file.
6767 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6768 (main): Update. Add estring3.
6769 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6770 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6772 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6773 Yao Qi <yao.qi@linaro.org>
6775 * gdb.reverse/aarch64.c: New.
6776 * gdb.reverse/aarch64.exp: New.
6778 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6780 * lib/gdb.exp (supports_process_record): Return true for
6782 (supports_reverse): Likewise.
6784 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6786 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6787 Use with_test_prefix.
6789 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6791 * gdb.base/completion.exp: Add test for completion of layout
6794 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6796 * lib/gdb.exp (skip_tui_tests): New proc.
6797 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6799 2015-05-19 Pedro Alves <palves@redhat.com>
6801 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6802 Save the whole env array instead of just HOME. Unset HISTSIZE in
6803 the environment while testing. Restore whole environment
6806 2015-05-16 Doug Evans <xdje42@gmail.com>
6808 * gdb.guile/scm-ports.c: New file.
6809 * gdb.guile/scm-ports.exp: Add memory port tests.
6811 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6813 * gdb.compile/compile-print.c: New file.
6814 * gdb.compile/compile-print.exp: New file.
6816 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6818 * gdb.compile/compile-ops.exp: Cast param to void.
6819 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6820 (compile code struct_object.selffield = &struct_object): Add xfail.
6822 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6824 * gdb.ada/arr_enum_with_gap: New testcase.
6826 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6828 * gdb.ada/byte_packed_arr: New testcase.
6830 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6832 * gdb.ada/pckd_neg: New testcase.
6834 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
6837 * gdb.base/gdbinit-history.exp: New test.
6838 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
6839 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
6841 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
6843 * gdb.python/py-xmethods.cc: Enhance test case.
6844 * gdb.python/py-xmethods.exp: New tests.
6845 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
6847 (B_indexoper): Likewise.
6848 (global_dm_list) : Add new xmethod worker functions.
6850 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
6852 * gdb.base/coredump-filter.exp: Correctly unset
6853 "coredump_var_addr" array.
6855 2015-05-08 Pedro Alves <palves@redhat.com>
6857 * gdb.server/non-existing-program.exp: Unset spawn_id.
6859 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
6862 * gdb.python/py-xmethods.exp: Add tests.
6864 2015-05-08 Yao Qi <yao.qi@linaro.org>
6867 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
6868 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
6869 function set_coredump_filter, and remove remote_exec call.
6870 Remove argument ipid. Callers update.
6871 (top level): Don't get inferior's PID.
6873 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
6875 * gdb.base/watch_thread_num.exp: Skip test on targets without
6878 2015-05-06 Pedro Alves <palves@redhat.com>
6881 * gdb.server/non-existing-program.exp: New file.
6883 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6885 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
6887 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6889 * gdb.ada/out_of_line_in_inlined: New testcase.
6891 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6893 * gdb.ada/var_rec_arr: New testcase.
6895 2015-04-30 Yao Qi <yao.qi@linaro.org>
6897 * gdb.base/break-idempotent.exp: If
6898 skip_hw_watchpoint_multi_tests returns true, skip the tests
6899 on "rwatch" and "awatch".
6901 2015-04-30 Yao Qi <yao.qi@linaro.org>
6903 * gdb.base/relativedebug.exp: Invoke gdb command
6904 "info sharedlibrary", and if libc.so doesn't have debug info,
6907 2015-04-29 Doug Evans <dje@google.com>
6909 * gdb.python/py-xmethods.exp: Add ptype tests.
6910 * gdb.python/py-xmethods.py (E_method_char_worker): Add
6911 get_result_type method.
6913 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6915 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
6916 the target does not support hardware watchpoints.
6918 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6920 * gdb.base/break-always.exp: Abort testing if writing to memory
6923 2015-04-28 Doug Evans <dje@google.com>
6925 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
6926 * gdb.python/py-pp-registration.exp: ... here. New file.
6927 * gdb.python/py-pp-registration.c: New file.
6928 * gdb.python/py-pp-registration.py: New file.
6930 2015-04-28 Doug Evans <dje@google.com>
6932 * gdb.python/py-bad-printers.c: New file.
6933 * gdb.python/py-bad-printers.py: New file.
6934 * gdb.python/py-bad-printers.exp: New file.
6936 2015-04-28 Sasha Smundak <asmundak@google.com>
6938 * gdb.python/py-type.exp: New test.
6940 2015-04-28 Andy Wingo <wingo@igalia.com>
6942 * gdb.python/py-parameter.exp:
6943 * gdb.guile/scm-parameter.exp: Escape the path that we are
6944 matching against, as it might contain characters that are special
6945 to regular expressions.
6947 2015-04-27 Joel Brobecker <brobecker@adacore.com>
6949 * gdb.ada/rec_comp: New testcase.
6951 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
6953 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
6956 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
6958 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
6959 new tests for verilog output.
6961 2015-04-24 Yao Qi <yao.qi@linaro.org>
6963 * boards/remote-gdbserver-on-localhost.exp: New file.
6965 2015-04-23 Pedro Alves <palves@redhat.com>
6967 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
6968 $inferior_spawn_id instead of $inferior_spawn_id directly. On
6969 "end of file", remove $inferior_spawn_id from the indirect list.
6971 2015-04-23 Pedro Alves <palves@redhat.com>
6973 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
6975 2015-04-23 Pedro Alves <palves@redhat.com>
6977 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
6978 on $any_spawn_id instead of only on $gdb_spawn_id.
6980 2015-04-21 Pierre Muller <muller@sourceware.org>
6983 * lib/pascal.exp (gpc_compile): Add new option "class".
6984 (fpc_compile): Likewise.
6985 * gdb.pascal/case-insensitive-symbols.pas: New file.
6986 * gdb.pascal/case-insensitive-symbols.exp: New file.
6988 2015-04-20 Gary Benson <gbenson@redhat.com>
6990 * gdb.base/attach.exp: Fix three extended remote failures.
6992 2015-04-17 Gary Benson <gbenson@redhat.com>
6994 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
6995 the main executable over the remote protocol.
6997 2015-04-16 Pedro Alves <palves@redhat.com>
6999 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
7000 a new gdbserver if gdbserver_reconnect_p is set.
7002 2015-04-16 Pedro Alves <palves@redhat.com>
7004 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
7005 is set, don't exit gdbserver.
7007 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7009 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
7010 appropriate .insn, such that an older assembler can be used.
7011 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
7012 the z/Architecture instruction set on 31-bit targets as well.
7014 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7016 * gdb.go/handcall.exp: Remove all logic related to the first
7017 breakpoint and rely on go_runto_main instead.
7018 * gdb.go/strings.exp: Likewise.
7019 * gdb.go/unsafe.exp: Likewise.
7020 * gdb.go/hello.exp: Likewise. Also rename the remaining
7021 breakpoint marker to "breakpoint 1".
7022 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
7023 * gdb.go/strings.go: Likewise.
7024 * gdb.go/unsafe.go: Likewise.
7025 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
7026 "set breakpoint 2 here" and rename the remaining breakpoint marker
7029 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
7031 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
7032 if itertools.imap is not present.
7033 * gdb.python/py-objfile.exp: Add parentheses.
7034 * gdb.python/py-type.exp: Same.
7035 * gdb.python/py-unwind-maint.py: Same.
7037 2015-04-15 Yao Qi <yao.qi@linaro.org>
7039 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
7040 of ":$ptr_size" and set its form explicitly.
7042 2015-04-15 Pedro Alves <palves@redhat.com>
7043 Yao Qi <yao.qi@linaro.org>
7045 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
7046 timeout by factor of 4.
7047 (test_regular_watch): Likewise.
7048 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
7049 * gdb.reverse/sigall-reverse.exp: Likewise.
7050 * gdb.reverse/until-precsave.exp: Likewise.
7051 * lib/gdb.exp (with_timeout_factor): New proc.
7052 (gdb_expect): Move some code to ...
7053 (get_largest_timeout): ... here. New procedure.
7055 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
7057 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
7059 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
7061 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
7062 to write to the .text section.
7064 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
7066 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
7067 Handle the case of targets that do not provide PID information.
7069 2015-04-13 Yao Qi <yao.qi@linaro.org>
7071 * lib/gdbserver-support.exp (gdb_exit): Catch exception
7072 and use expect instead of gdb_expect.
7074 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
7076 * gdb.base/coredump-filter.exp: Rename variable "addr" to
7077 "coredump_var_addr" to avoid naming conflict with other testcases.
7079 2015-04-10 Pedro Alves <palves@redhat.com>
7081 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
7082 gdb_test_sequence and gdb_assert.
7084 2015-04-10 Pedro Alves <palves@redhat.com>
7086 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
7087 test messages that don't include the breakpoint address.
7089 2015-04-10 Yao Qi <yao.qi@linaro.org>
7091 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
7092 false for some offset and width combinations which aren't
7093 supported by linux kernel.
7095 2015-04-10 Pedro Alves <palves@redhat.com>
7097 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
7098 procedure, factored out from ...
7099 (top level): ... here. Add "set displaced-stepping" testing axis.
7100 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
7101 parameter "displaced". Use it.
7102 (top level): Use foreach and add "set displaced-stepping" testing
7105 2015-04-10 Pedro Alves <palves@redhat.com>
7107 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
7109 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
7110 both the address of the instruction that triggers the watchpoint
7111 and the address of the instruction immediately after, and use
7112 those addresses for the test. Fix comment.
7114 2015-04-10 Pedro Alves <palves@redhat.com>
7116 * gdb.base/sigstep.exp (breakpoint_to_handler)
7117 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
7118 Test "backtrace" in handler.
7119 (breakpoint_over_handler): New parameter 'displaced'. Use it.
7120 (top level): Add new "displaced" test axis to
7121 breakpoint_to_handler, breakpoint_to_handler_entry and
7122 breakpoint_over_handler.
7124 2015-04-10 Pedro Alves <palves@redhat.com>
7127 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
7129 2015-04-10 Yao Qi <yao.qi@linaro.org>
7131 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
7132 (test_add_rn_pc): New function.
7133 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
7134 (top level): Invoke test_add_rn_pc.
7136 2015-04-10 Pedro Alves <palves@redhat.com>
7139 * gdb.base/step-over-no-symbols.exp: New file.
7141 2015-04-09 Andy Wingo <wingo@igalia.com>
7143 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
7144 after the Python tests.
7146 2015-04-08 Keith Seitz <keiths@redhat.com>
7149 * gdb.python/py-completion.exp: New tests for completion.
7150 * gdb.python/py-completion.py (CompleteLimit1): New class.
7151 (CompleteLimit2): Likewise.
7152 (CompleteLimit3): Likewise.
7153 (CompleteLimit4): Likewise.
7154 (CompleteLimit5): Likewise.
7155 (CompleteLimit6): Likewise.
7156 (CompleteLimit7): Likewise.
7158 2015-04-08 Pedro Alves <palves@redhat.com>
7162 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
7164 (main): Install it as SIGUSR1 handler.
7165 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
7166 parameter. Always use "setup" as prefix. Toggle "set
7167 displaced-stepping" off/on depending on global. Don't switch to
7169 (top level): Add displaced stepping "off/on" test axis. Update
7170 "setup" calls. Wrap each subtest with with_test_prefix. Test
7171 continuing with a queued signal in each thread.
7173 2015-04-08 Pedro Alves <palves@redhat.com>
7175 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
7176 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
7177 gdb_breakpoint instead of gdb_test that doesn't expect anything.
7178 Return early if running to main fails.
7179 * gdb.trace/while-stepping.exp: Likewise.
7181 2015-04-07 Pedro Alves <palves@redhat.com>
7183 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
7184 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
7185 interact with inferior program.
7187 2015-04-07 Pedro Alves <palves@redhat.com>
7189 * lib/gdb.exp (inferior_spawn_id): New global.
7190 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
7191 spawn id after processing the user code.
7192 (default_gdb_start): Set inferior_spawn_id.
7193 (send_inferior): New procedure.
7194 * lib/gdbserver-support.exp (gdbserver_start): Set
7196 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
7198 2015-04-07 Pedro Alves <palves@redhat.com>
7200 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
7201 * lib/gdbserver-support.exp (gdbserver_start): Make
7202 $server_spawn_id global.
7203 (gdbserver_start): Don't wait for gdbserver's spawn id with
7205 (close_gdbserver): New procedure.
7206 (gdb_exit): Rename the default version and reimplement.
7208 2015-04-07 Pedro Alves <palves@redhat.com>
7210 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
7211 append the substituted item, not the original item.
7213 2015-04-07 Pedro Alves <palves@redhat.com>
7215 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
7218 2015-04-07 Pedro Alves <palves@redhat.com>
7220 * gdb.base/interrupt.exp: Don't handle the case of the inferior
7221 output appearing once only.
7223 2015-04-07 Pedro Alves <palves@redhat.com>
7225 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
7226 that doesn't expect anything. Return early if running to main
7229 2015-04-07 Yao Qi <yao.qi@linaro.org>
7231 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
7232 (child_function): Call alarm.
7233 (main): Move call to alarm into the loop.
7234 * gdb.threads/non-stop-fair-events.exp: Build program with
7237 2015-04-06 Doug Evans <xdje42@gmail.com>
7239 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
7240 Fix dest parameter to board_info.
7241 (fpc_compile): Ditto.
7242 (gdb_compile_pascal): Rename dest arg to destfile.
7244 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
7246 * gdb.ada/funcall_ref.exp: New file.
7247 * gdb.ada/funcall_ref/foo.adb: New file.
7249 2015-04-02 Yao Qi <yao.qi@linaro.org>
7251 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
7254 2015-04-02 Gary Benson <gbenson@redhat.com>
7256 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
7258 2015-04-01 Sasha Smundak <asmundak@google.com>
7260 * gdb.python/py-unwind-maint.c: New file.
7261 * gdb.python/py-unwind-maint.exp: New test.
7262 * gdb.python/py-unwind-maint.py: New file.
7263 * gdb.python/py-unwind.c: New file.
7264 * gdb.python/py-unwind.exp: New test.
7265 * gdb.python/py-unwind.py: New test.
7267 2015-04-01 Pedro Alves <palves@redhat.com>
7269 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
7270 to fail instead of non-existent $test.
7272 2015-04-01 Pedro Alves <palves@redhat.com>
7274 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
7275 GDBFLAGS if not empty.
7277 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
7279 * gdb.ada/complete.exp: Remove "multi_line".
7280 * gdb.ada/info_exc.exp: Remove "multi_line".
7281 * gdb.ada/packed_tagged.exp: Remove "multi_line".
7282 * gdb.ada/ptype_field.exp: Remove "multi_line".
7283 * gdb.ada/sym_print_name.exp: Remove "multi_line".
7284 * gdb.ada/tagged.exp: Remove "multi_line".
7285 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
7287 * gdb.btrace/delta.exp: Likewise.
7288 * gdb.btrace/exception.exp: Likewise.
7289 * gdb.btrace/function_call_history.exp: Likewise.
7290 * gdb.btrace/instruction_history.exp: Likewise.
7291 * gdb.btrace/nohist.exp: Likewise.
7292 * gdb.btrace/record_goto.exp: Likewise.
7293 * gdb.btrace/segv.exp: Likewise.
7294 * gdb.btrace/stepi.exp: Likewise.
7295 * gdb.btrace/tailcall.exp: Likewise.
7296 * gdb.btrace/unknown_functions.exp: Likewise.
7297 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
7298 * lib/gdb.exp: Add the "multi_line" helper.
7300 2015-04-01 Pedro Alves <palves@redhat.com>
7302 * gdb.threads/tid-reuse.c: New file.
7303 * gdb.threads/tid-reuse.exp: New file.
7305 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
7308 * gdb.base/coredump-filter.c: New file.
7309 * gdb.base/coredump-filter.exp: Likewise.
7311 2015-03-27 Petr Machata <pmachata@redhat.com>
7313 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
7314 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
7315 (Dwarf::assemble): Initialize them.
7316 (Dwarf::lines): New function.
7318 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
7320 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
7321 SYMBOL_PREFIX for x86_64-*-cygwin.
7323 2015-03-26 Andy Wingo <wingo@igalia.com>
7326 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
7327 const_value but not a location.
7328 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
7329 location defined in non-main CUs are visible.
7331 2015-03-26 Yao Qi <yao.qi@linaro.org>
7334 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
7335 Add a line number entry for the same line.
7336 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
7337 Add a line number entry for the same line.
7339 2015-03-26 Yao Qi <yao.qi@linaro.org>
7341 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
7343 (func): Likewise. Add .Lfunc_1 label.
7345 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
7350 2015-03-26 Yao Qi <yao.qi@linaro.org>
7352 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
7353 Call gdb_compile instead to compile each .s files without debug
7356 2015-03-26 Yao Qi <yao.qi@linaro.org>
7358 * gdb.base/savedregs.exp (process_saved_regs): Make
7359 "Saved registers:" optional in the pattern.
7361 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7363 * gdb.btrace/next.exp: Merged into step.exp.
7364 * gdb.btrace/finish.exp: Merged into step.exp.
7365 * gdb.btrace/nexti.exp: Merged into stepi.exp.
7366 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
7367 "record goto" and checking the exact replay position.
7368 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
7369 check for "Recording format" in "info record" output.
7370 * gdb.btrace/record_goto.exp: Choose test file based on target.
7371 * gdb.btrace/x86-record_goto.S: Renamed into ...
7372 * gdb.btrace/x86_64-record_goto.S: ... this.
7373 * gdb.btrace/i686-record_goto.S: New.
7374 * gdb.btrace/x86-tailcall.S: Renamed into ...
7375 * gdb.btrace/x86_64-tailcall.S: ... this.
7376 * gdb.btrace/i686-tailcall.S: New.
7377 * gdb.btrace/x86-tailcall.c: Renamed into ...
7378 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
7379 separate statements. Update test.
7380 * gdb.btrace/delta.exp: Use record_goto.c as test file.
7381 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
7382 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
7383 * gdb.btrace/tailcall.exp: Choose test file based on target.
7384 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
7386 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7388 * gdb.btrace/exception.exp: Increase BTS buffer size.
7390 2015-03-24 Pedro Alves <palves@redhat.com>
7392 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
7394 2015-03-24 Pedro Alves <palves@redhat.com>
7396 * gdb.threads/schedlock.exp (test_step): No longer expect that
7397 "set scheduler-locking step" with "next" over a function call runs
7400 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7402 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
7404 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7406 PR breakpoints/16466
7407 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
7408 * gdb.mi/mi-pending.c (thread_func): New function.
7409 (int main): Add threading support required.
7410 * gdb.mi/mi-pending.exp: Add tests for this issue.
7411 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
7412 (pendfunc2): Remove stdio dependency.
7413 * gdb.mi/mi-pendshr2.c: New file.
7415 2015-03-23 Keith Seitz <keiths@redhat.com>
7417 * gdb.linespec/keywords.c: New file.
7418 * gdb.linespec/keywords.exp: New file.
7420 2015-03-23 Keith Seitz <keiths@redhat.com>
7423 * gdb.dwarf2/staticvirtual.exp: New test.
7425 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7427 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
7428 * README: Remove HP-UX and gdb.hp.
7430 * configure: Regenerate.
7431 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
7432 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
7433 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
7434 gdb.hp/gdb.defects/Makefile.
7435 * gdb.hp/Makefile.in: File deleted.
7436 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
7437 * gdb.hp/gdb.aCC/optimize.c: File deleted.
7438 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
7439 * gdb.hp/gdb.aCC/run.c: File deleted.
7440 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
7441 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
7442 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
7443 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
7444 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
7445 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
7446 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
7447 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
7448 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
7449 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
7450 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
7451 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
7452 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
7453 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
7454 * gdb.hp/gdb.base-hp/reg.s: File deleted.
7455 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
7456 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
7457 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
7458 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
7459 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
7460 * gdb.hp/gdb.compat/Makefile.in: File deleted.
7461 * gdb.hp/gdb.compat/average.c: File deleted.
7462 * gdb.hp/gdb.compat/sum.c: File deleted.
7463 * gdb.hp/gdb.compat/xdb.c: File deleted.
7464 * gdb.hp/gdb.compat/xdb0.c: File deleted.
7465 * gdb.hp/gdb.compat/xdb0.h: File deleted.
7466 * gdb.hp/gdb.compat/xdb1.c: File deleted.
7467 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
7468 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
7469 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
7470 * gdb.hp/gdb.defects/Makefile.in: File deleted.
7471 * gdb.hp/gdb.defects/bs14602.c: File deleted.
7472 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
7473 * gdb.hp/gdb.defects/solib-d.c: File deleted.
7474 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
7475 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
7476 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
7477 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
7478 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
7479 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
7480 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
7481 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
7482 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
7483 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
7484 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
7485 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
7486 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
7487 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
7488 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
7489 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
7490 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
7491 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
7492 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
7493 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
7494 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
7495 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
7496 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
7497 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
7498 * gdb.hp/tools/odump: File deleted.
7500 2015-03-19 Pedro Alves <palves@redhat.com>
7502 * gdb.threads/continue-pending-status.exp (saw_thread_2)
7503 (saw_thread_3): New globals.
7504 (top level): Increment them when an event for the corresponding
7506 (no thread starvation): New test.
7508 2015-03-19 Pedro Alves <palves@redhat.com>
7510 * gdb.threads/continue-pending-status.c: New file.
7511 * gdb.threads/continue-pending-status.exp: New file.
7513 2015-03-18 Pedro Alves <palves@redhat.com>
7515 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7516 Use gdb_is_target_remote instead of is_remote. Use
7517 gdb_test_multiple instead of gdb_expect. Exit early if
7518 gdb_test_multiple hits its internal matches. Tighten stepi tests
7519 expected output. Fail on exit with any signal, instead of just
7522 2015-03-18 Yao Qi <yao.qi@linaro.org>
7525 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
7527 * gdb.base/catch-syscall.exp: Don't skip it on
7528 aarch64*-*-linux* target. Remove elements in all_syscalls.
7529 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
7531 (setup_all_syscalls): New proc.
7533 2015-03-16 Yao Qi <yao.qi@linaro.org>
7535 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
7536 (top level): Skip tests if valid_addr_p returns false for
7539 2015-03-11 Andy Wingo <wingo@igalia.com>
7541 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
7543 2015-03-11 Yao Qi <yao.qi@linaro.org>
7545 * gdb.base/catch-syscall.exp: Fix typo in comments.
7547 2015-03-11 Yao Qi <yao.qi@linaro.org>
7549 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
7551 2015-03-09 Pedro Alves <palves@redhat.com>
7553 * dg-extract-results.py: Delete.
7555 2015-03-09 Pedro Alves <palves@redhat.com>
7557 Merge dg-extract-results.sh from GCC upstream (r218843).
7559 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
7560 * dg-extract-results.sh: Use --text with grep to avoid issues with
7561 binary files. Fall back to cat -v, if that doesn't work.
7563 2015-03-05 Pedro Alves <palves@redhat.com>
7565 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
7567 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
7569 * lib/mi-support.exp (mi_expect_interrupt): Accept
7570 alternative event for when in all-stop mode.
7572 2015-03-04 Pedro Alves <palves@redhat.com>
7574 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
7576 2015-03-04 Mark Kettenis <kettenis@gnu.org>
7578 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
7580 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7582 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
7583 regexps for GDB's current line display, accept a hex address
7584 preceding the line number.
7586 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7588 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
7589 the 'arch1' variable for "s390*-linux*" targets.
7591 2015-03-04 Pedro Alves <palves@redhat.com>
7593 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
7594 (main): Pass missing retval argument to pthread_join call.
7596 2015-03-02 Pedro Alves <palves@redhat.com>
7598 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
7599 (top level): Call do_test with non-stop as well.
7601 2015-03-02 Pedro Alves <palves@redhat.com>
7603 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
7606 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7608 * gdb.arch/s390-vregs.exp: New test.
7609 * gdb.arch/s390-vregs.S: New file.
7611 2015-02-27 Pedro Alves <palves@redhat.com>
7613 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
7614 call to catch_command_errors.
7615 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
7616 catch_command_errors.
7618 2015-02-27 Pedro Alves <palves@redhat.com>
7620 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
7621 "true" for boolean result.
7622 * gdb.gdb/selftest.exp (test_with_self): Also accept full
7625 2015-02-27 Pedro Alves <palves@redhat.com>
7627 * lib/unbuffer_output.c: New file.
7628 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
7629 (main): Call gdb_unbuffer_output.
7631 2015-02-27 Yao Qi <yao.qi@linaro.org>
7633 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
7636 2015-02-26 Doug Evans <dje@google.com>
7638 * gdb.cp/class2.cc (Dbase, D): New classes.
7639 (main): New local delta.
7640 * gdb.cp/class2.exp: Test printing delta.
7641 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
7642 (dynbar): New global.
7643 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
7645 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7647 * gdb.compile/compile-ifunc.c: New file.
7648 * gdb.compile/compile-ifunc.exp: New file.
7650 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
7652 * gdb.base/structs.exp: Check for correct struct on finish.
7654 2015-02-26 Yao Qi <yao.qi@linaro.org>
7656 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
7659 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7661 * gdb.arch/cordic.ko.bz2: New file.
7662 * gdb.arch/cordic.ko.debug.bz2: New file.
7663 * gdb.arch/ppc64-symtab-cordic.exp: New file.
7665 2015-02-25 Yao Qi <yao.qi@linaro.org>
7667 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
7668 aarch64*-*-* target.
7670 2015-02-23 Pedro Alves <palves@redhat.com>
7672 * lib/gdb.exp (delete_breakpoints): Rewrite using
7675 2015-02-23 Pedro Alves <palves@redhat.com>
7677 * gdb.base/info-os.c: Include stdlib.h.
7679 2015-02-22 Doug Evans <xdje42@gmail.com>
7682 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
7683 is read after symbols have been re-read.
7684 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
7685 * gdb.ada/exec_changed/second.adb (Second): Ditto.
7687 2015-02-21 Doug Evans <dje@google.com>
7689 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
7691 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7694 * gdb.arch/i386-biarch-core.core.bz2: New file.
7695 * gdb.arch/i386-biarch-core.exp: New file.
7697 2015-02-21 Pedro Alves <palves@redhat.com>
7699 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
7702 2015-02-20 Pedro Alves <palves@redhat.com>
7704 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
7707 2015-02-20 Pedro Alves <palves@redhat.com>
7709 * gdb.threads/multi-create-ns-info-thr.exp: New file.
7711 2015-02-20 Pedro Alves <palves@redhat.com>
7713 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
7714 clean_restart before gdb_target_supports_trace.
7716 2015-02-20 Pedro Alves <palves@redhat.com>
7719 * gdb.threads/clone-thread_db.c: New file.
7720 * gdb.threads/clone-thread_db.exp: New file.
7722 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
7724 PR breakpoints/16812
7725 * gdb.base/catch-gdb-caused-signals.c: New file.
7726 * gdb.base/catch-gdb-caused-signals.exp: New file.
7728 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
7730 * configure: Regenerated.
7731 * configure.ac: Use GDB_AC_TRANSFORM.
7732 * aclocal.m4: sinclude ../transform.m4.
7734 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7736 * lib/dtrace.exp: New file.
7737 * gdb.base/dtrace-probe.exp: Likewise.
7738 * gdb.base/dtrace-probe.d: Likewise.
7739 * gdb.base/dtrace-probe.c: Likewise.
7740 * lib/pdtrace.in: Likewise.
7741 * configure.ac: Output variables with the transformed names of
7742 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7743 * configure: Regenerated.
7745 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7747 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7748 expected message when trying to access $_probe_* convenience
7749 variables while not on a probe.
7751 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7753 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7755 2015-02-11 Pedro Alves <pedro@codesourcery.com>
7757 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7758 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7760 2015-02-10 Doug Evans <xdje42@gmail.com>
7762 * lib/gdb.exp (gdb_load): Always return a result.
7764 2015-02-10 Pedro Alves <palves@redhat.com>
7766 * gdb.threads/signal-sigtrap.c: New file.
7767 * gdb.threads/signal-sigtrap.exp: New file.
7769 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7771 * gdb.trace/no-attach-trace.c: New file.
7772 * gdb.trace/no-attach-trace.exp: New file.
7774 2015-02-09 Mark Wielaard <mjw@redhat.com>
7776 * gdb.dwarf2/atomic.c: New file.
7777 * gdb.dwarf2/atomic-type.exp: Likewise.
7779 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7781 * gdb.btrace/buffer-size.exp: Update "info record" output.
7782 * gdb.btrace/delta.exp: Update "info record" output.
7783 * gdb.btrace/enable.exp: Update "info record" output.
7784 * gdb.btrace/finish.exp: Update "info record" output.
7785 * gdb.btrace/instruction_history.exp: Update "info record" output.
7786 * gdb.btrace/next.exp: Update "info record" output.
7787 * gdb.btrace/nexti.exp: Update "info record" output.
7788 * gdb.btrace/step.exp: Update "info record" output.
7789 * gdb.btrace/stepi.exp: Update "info record" output.
7790 * gdb.btrace/nohist.exp: Update "info record" output.
7792 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7794 * gdb.btrace/buffer-size: New.
7796 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7798 * gdb.btrace/delta.exp: Update "info record" output.
7799 * gdb.btrace/enable.exp: Update "info record" output.
7800 * gdb.btrace/finish.exp: Update "info record" output.
7801 * gdb.btrace/instruction_history.exp: Update "info record" output.
7802 * gdb.btrace/next.exp: Update "info record" output.
7803 * gdb.btrace/nexti.exp: Update "info record" output.
7804 * gdb.btrace/step.exp: Update "info record" output.
7805 * gdb.btrace/stepi.exp: Update "info record" output.
7806 * gdb.btrace/nohist.exp: Update "info record" output.
7808 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7811 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7813 2015-02-06 Pedro Alves <palves@redhat.com>
7815 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7817 (seconds_left, again): New globals.
7818 (main): Wait seconds_left in a 1-second sleep loop instead of
7819 sleeping 180 seconds. If 'again' is set, reset the seconds
7821 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7822 'again' in the inferior before detaching. Print the seconds left.
7823 (options): New global.
7824 (top level): Build program with -DTIMEOUT=$timeout.
7826 2015-02-06 Pedro Alves <palves@redhat.com>
7828 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
7829 determine how many seconds to pass to 'alarm'.
7830 * gdb.base/gdb-sigterm.exp (top level): Build program with
7832 (do_test): Return success/failure indication. Add more verbose
7833 logging. Don't fail if 200 single steps are seen. Instead, fail
7834 when the test times out.
7835 (passes): New global.
7836 (top level): Break the testing loop if testing fails on any
7837 iteration. Use gdb_assert.
7839 2015-02-04 Don Breazeal <donb@codesourcery.com>
7841 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
7842 and initialize them.
7843 (ipc_cleanup): New function.
7844 (main): Don't declare shmid, semid, and msqid. Add a call to
7845 atexit so that we call ipc_cleanup on exit.
7847 2015-02-04 Pedro Alves <palves@redhat.com>
7849 * boards/native-extended-gdbserver.exp: Remove any target variant
7850 specifications from the board name before clearing the isremote
7851 flag from board_info.
7853 2015-01-31 Doug Evans <xdje42@gmail.com>
7855 * gdb.base/maint.exp <maint print type argc>: Update expected output.
7857 2015-01-31 Gary Benson <gbenson@redhat.com>
7859 * gdb.base/completion.exp: Disable completion limiting for
7860 existing tests. Add new tests to check completion limiting.
7861 * gdb.linespec/ls-errs.exp: Disable completion limiting.
7863 2015-01-31 Doug Evans <xdje42@gmail.com>
7865 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
7867 2015-01-31 Doug Evans <xdje42@gmail.com>
7869 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
7870 entries. Duplicate file section script entries.
7871 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
7872 inlined entries. Add test for safe-path rejection.
7873 * gdb.python/py-section-script.c: Add duplicate inlined section script
7874 entries. Duplicate file section script entries.
7875 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
7876 inlined entries. Add test for safe-path rejection.
7878 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7880 * gdb.ada/disc_arr_bound: New testcase.
7882 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7884 * gdb.ada/mi_var_array: New testcase.
7886 2015-01-27 Doug Evans <dje@google.com>
7888 * gdb.python/py-objfile.exp: Add tests for objfile.username.
7889 Add test for objfile.filename, objfile.username after objfile
7892 2015-01-26 Joel Brobecker <brobecker@adacore.com>
7894 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
7895 the second test to print the name attribute of value
7896 returned by the call to gdb.lookup_type, and adjust
7897 the expected output accordingly.
7899 2015-01-25 Mark Wielaard <mjw@redhat.com>
7901 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
7902 * gdb.base/disp-step-fork.c: Include unistd.h.
7903 * gdb.base/siginfo-obj.c: Include stdio.h.
7904 * gdb.base/siginfo-thread.c: Likewise.
7905 * gdb.mi/non-stop.c: Include unistd.h.
7906 * gdb.mi/nsthrexec.c: Include stdio.h.
7907 * gdb.mi/pthreads.c: Include unistd.h.
7908 * gdb.modula2/unbounded1.c (main): Declare returns int.
7909 * gdb.reverse/consecutive-reverse.c: Likewise.
7910 * gdb.threads/create-fail.c: Include unistd.h.
7911 * gdb.threads/killed.c: Likewise.
7912 * gdb.threads/linux-dp.c: Likewise.
7913 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
7914 * gdb.threads/non-ldr-exc-2.c: Likewise.
7915 * gdb.threads/non-ldr-exc-3.c: Likewise.
7916 * gdb.threads/non-ldr-exc-4.c: Likewise.
7917 * gdb.threads/pthreads.c: Include unistd.h.
7918 (main): Declare returns int.
7919 * gdb.threads/tls-main.c (foo): New declaration.
7920 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
7922 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
7924 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
7925 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
7927 2015-01-15 Mark Wielaard <mjw@redhat.com>
7929 * gdb.base/noreturn-return.c: New file.
7930 * gdb.base/noreturn-return.exp: New file.
7931 * gdb.base/noreturn-finish.c: New file.
7932 * gdb.base/noreturn-finish.exp: New file.
7934 2015-01-23 Pedro Alves <palves@redhat.com>
7936 * gdb.threads/continue-pending-after-query.c: New file.
7937 * gdb.threads/continue-pending-after-query.exp: New file.
7939 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
7940 Simon Marchi <simon.marchi@ericsson.com>
7942 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
7943 * gdb.base/valgrind-db-attach.exp: Same.
7944 * gdb.base/valgrind-infcall.exp: Same.
7945 * lib/mi-support.exp (default_mi_gdb_start): Same.
7946 * lib/prompt.exp (default_prompt_gdb_start): Same.
7947 * lib/gdb.exp (default_gdb_spawn): Same.
7948 (gdb_interact): New.
7951 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7953 * gdb.compile/compile.exp (pointer to jit function): New test.
7955 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
7957 * lib/gdb.exp (supports_process_record): Return true for
7959 (supports_reverse): Likewise.
7961 2015-01-15 Don Breazeal <donb@codesourcery.com>
7963 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
7964 instead of checking whether the target board is remote and
7965 use spawn_wait_for_attach instead of exec/sleep.
7966 * gdb.base/attach-twice.exp: Likewise.
7968 2015-01-15 Joel Brobecker <brobecker@adacore.com>
7970 * gdb.ada/var_arr_attrs: New testcase.
7972 2015-01-14 Pedro Alves <palves@redhat.com>
7973 Joel Brobecker <brobecker@adacore.com>
7976 * gdb.base/bp-cmds-execution-x-script.c: New file.
7977 * gdb.base/bp-cmds-execution-x-script.exp: New file.
7978 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
7980 2015-01-14 Pedro Alves <palves@redhat.com>
7983 * gdb.base/batch-preserve-term-settings.c: New file.
7984 * gdb.base/batch-preserve-term-settings.exp: New file.
7986 2015-01-13 Doug Evans <dje@google.com>
7988 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
7991 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7993 * Makefile.in (clean mostlyclean): Do not delete *.py.
7995 2015-01-13 Joel Brobecker <brobecker@adacore.com>
7997 * gdb.python/py-lookup-type.exp: New file.
7999 2015-01-12 Pedro Alves <palves@redhat.com>
8001 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
8002 restore GDBFLAGS before returning.
8004 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8006 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
8007 is_amd64_regs_target and is_x86_like_target.
8009 2015-01-11 Doug Evans <xdje42@gmail.com>
8011 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
8012 is given without an explicit form.
8013 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
8015 * gdb.dwarf/corrupt.exp: Ditto.
8016 * gdb.dwarf2/enum-type.exp: Ditto.
8017 * gdb.trace/entry-values.exp: Ditto.
8018 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
8020 2015-01-11 Doug Evans <xdje42@gmail.com>
8023 * gdb.base/maint.exp: Remove references to "maint demangle".
8024 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
8025 Add tests for explicitly specifying language to demangle.
8026 * gdb.dlang/demangle.exp: Ditto.
8028 2015-01-09 Pedro Alves <palves@redhat.com>
8030 * gdb.threads/non-stop-fair-events.c: New file.
8031 * gdb.threads/non-stop-fair-events.exp: New file.
8033 2015-01-09 Pedro Alves <palves@redhat.com>
8035 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
8036 the global scope. Set a breakpoint after all threads are started
8037 rather than stepping over two source lines. Expect the prompt.
8038 * gdb.base/watch_thread_num.c (threads_started_barrier): New
8041 (main): Use threads_started_barrier to wait for all threads to
8042 start. Main thread no longer calls thread_function. Exit after
8044 (loop): New function.
8045 (thread_function): Wait on threads_started_barrier barrier. Call
8046 'loop' at each iteration.
8047 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
8048 threads have started, instead of hardcoding number of "next"
8049 steps. Use an access watchpoint instead of a write watchpoint.
8051 2015-01-09 Pedro Alves <palves@redhat.com>
8053 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
8054 (thread_func): Wait on barrier.
8055 (main): Wait for all threads to start before stopping GDB.
8056 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
8058 (thread1_func, thread2_func): Wait on barrier.
8059 (main): Wait for all threads to start before stopping GDB.
8060 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
8062 (thread1_func, thread2_func): Wait on barrier.
8063 (main): Wait for all threads to start before stopping GDB.
8065 2015-01-09 Pedro Alves <palves@redhat.com>
8067 * gdb.threads/attach-many-short-lived-threads.c: New file.
8068 * gdb.threads/attach-many-short-lived-threads.exp: New file.
8070 2014-01-09 Pedro Alves <palves@redhat.com>
8072 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
8073 instead of to thread 2.
8074 * gdb.threads/signal-command-multiple-signals-pending.c (main):
8075 Add barrier around each pthread_create call instead of around all
8077 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
8078 Set a break on thread_function and have the child threads hit it
8081 2015-01-09 Pedro Alves <palves@redhat.com>
8083 * lib/gdb.exp (can_spawn_for_attach): New procedure.
8084 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
8086 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
8087 checking whether the target board is remote.
8088 * gdb.multi/multi-attach.exp: Likewise.
8089 * gdb.python/py-sync-interp.exp: Likewise.
8090 * gdb.server/ext-attach.exp: Likewise.
8091 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
8092 tests that need to attach, instead of checking whether the target
8093 board is remote at the top of the file.
8095 2015-01-08 Yao Qi <yao@codesourcery.com>
8097 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
8099 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8101 Fix testcase compilation.
8102 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
8104 2015-01-06 Joel Brobecker <brobecker@adacore.com>
8106 * gdb.python/py-type.exp: Add a couple test about empty
8107 array creation, and negative-length array creation.
8109 2015-01-02 Doug Evans <xdje42@gmail.com>
8111 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
8113 2015-01-02 Doug Evans <dje@google.com>
8115 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
8117 2014-12-29 Yao Qi <yao@codesourcery.com>
8119 * gdb.trace/entry-values.exp: Update comments. Rename variable
8120 bar_call_foo to returned_from_foo.
8122 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
8125 * gdb.linespec/break-asm-file.c: New file.
8126 * gdb.linespec/break-asm-file.exp: New file.
8127 * gdb.linespec/break-asm-file0.s: New file.
8128 * gdb.linespec/break-asm-file1.s: New file.
8130 2014-12-18 Nigel Stephens <nigel@mips.com>
8131 Maciej W. Rozycki <macro@codesourcery.com>
8133 * gdb.base/float.exp: Handle the new output from "info float" on
8136 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8138 Fix MinGW compilation.
8139 * gdb.compile/compile-ops.exp: Update untested message if
8140 !skip_compile_feature_tests.
8141 * gdb.compile/compile-setjmp.exp: Likewise.
8142 * gdb.compile/compile-tls.exp: Likewise.
8143 * gdb.compile/compile.exp: Likewise.
8144 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
8145 supported on this host".
8147 2014-12-16 Doug Evans <xdje42@gmail.com>
8149 * boards/stabs.exp: New file.
8151 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
8153 * gdb.base/completion.exp: Adjust to format changes of "maint
8154 print user-registers".
8156 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
8159 * gdb.arch/aarch64-fp.c: New file.
8160 * gdb.arch/aarch64-fp.exp: New file.
8162 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8164 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
8165 r210637, r210913, r211666, r215400, r215817).
8167 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
8168 * dg-extract-results.py: New file.
8169 * dg-extract-results.sh: Use it if the environment seems
8172 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
8174 * dg-extract-results.py (parse_run): Handle warnings that
8175 are printed before a test harness is run.
8177 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
8179 * dg-extract-results.py (Named): Remove __cmp__ method.
8180 (output_variation): Use a key to sort variation.harnesses.
8182 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
8184 * dg-extract-results.py: For Python 3, force sys.stdout to
8185 handle surrogate escape sequences.
8186 (safe_open): New function.
8187 (output_segment, main): Use it.
8189 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
8191 * dg-extract-results.py (Prog.result_re): Include options
8194 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
8196 * dg-extract-results.py (output_variation): Always sort if
8199 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
8201 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
8202 as long as we get pagination notifications.
8204 2014-12-15 Jason Merrill <jason@redhat.com>
8206 * Makefile.in (check-gdb.%): Restore.
8207 * README: Mention it.
8209 2014-12-13 Joel Brobecker <brobecker@adacore.com>
8211 * gdb.ada/str_uninit: New testcase.
8213 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8216 * gdb.base/vla-stub-define.c: New file.
8217 * gdb.base/vla-stub.c: New file.
8218 * gdb.base/vla-stub.exp: New file.
8220 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
8221 Jan Kratochvil <jan.kratochvil@redhat.com>
8222 Tom Tromey <tromey@redhat.com>
8224 * configure.ac: Add gdb.compile/.
8225 * configure: Regenerate.
8226 * gdb.compile/Makefile.in: New file.
8227 * gdb.compile/compile-ops.exp: New file.
8228 * gdb.compile/compile-ops.c: New file.
8229 * gdb.compile/compile-tls.c: New file.
8230 * gdb.compile/compile-tls.exp: New file.
8231 * gdb.compile/compile-constvar.S: New file.
8232 * gdb.compile/compile-constvar.c: New file.
8233 * gdb.compile/compile-mod.c: New file.
8234 * gdb.compile/compile-nodebug.c: New file.
8235 * gdb.compile/compile-setjmp-mod.c: New file.
8236 * gdb.compile/compile-setjmp.c: New file.
8237 * gdb.compile/compile-setjmp.exp: New file.
8238 * gdb.compile/compile-shlib.c: New file.
8239 * gdb.compile/compile.c: New file.
8240 * gdb.compile/compile.exp: New file.
8241 * lib/gdb.exp (skip_compile_feature_tests): New proc.
8243 2014-12-12 Tom Tromey <tromey@redhat.com>
8245 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
8246 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
8248 2014-12-12 Doug Evans <dje@google.com>
8250 * lib/gdb-python.exp (get_python_valueof): New function.
8251 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
8253 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8255 * gdb.base/completion.exp: Add test for completion of "info
8258 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
8260 * gdb.base/func-ptrs.c: New file.
8261 * gdb.base/func-ptrs.exp: New file.
8263 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8265 PR breakpoints/17012
8266 * gdb.base/dprintf-detach.c: New file.
8267 * gdb.base/dprintf-detach.exp: New file.
8269 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8271 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
8272 * lib/gdb.exp (target_is_gdbserver): New procedure.
8274 2014-12-08 Doug Evans <dje@google.com>
8276 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
8278 2014-12-05 Yao Qi <yao@codesourcery.com>
8280 * gdb.guile/scm-error.exp: Remove the third argument to
8281 gdb_remote_download.
8282 * gdb.guile/scm-frame-args.exp: Likewise.
8283 * gdb.guile/scm-section-script.exp: Likewise.
8285 2014-12-05 Yao Qi <yao@codesourcery.com>
8287 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
8289 2014-12-04 Doug Evans <dje@google.com>
8291 * gdb.python/py-objfile.exp: Add tests for
8292 objfile.add_separate_debug_file.
8294 2014-12-04 Doug Evans <dje@google.com>
8296 * lib/gdb.exp (get_build_id): New function.
8297 (build_id_debug_filename_get): Rewrite to use it.
8298 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
8300 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
8302 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
8303 `method(long)', not just 0x0.
8304 * gdb.cp/nsalias.exp: Align code labels to 4.
8305 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
8306 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
8307 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
8308 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
8309 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
8310 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
8312 2014-12-02 Doug Evans <dje@google.com>
8315 * gdb.cp/anon-ns.cc: Move guts of this file to ...
8316 * gdb.cp/anon-ns2.cc: ... here. New file.
8317 * gdb.cp/anon-ns.exp: Update.
8319 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
8321 * gdb.python/py-events.py (inferior_call_handler): New.
8322 (register_changed_handler, memory_changed_handler): New.
8323 (test_events.invoke): Register new handlers.
8324 * gdb.python/py-events.exp: Add tests for inferior call,
8325 memory_changed and register_changed events.
8327 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
8329 * gdb.base/execl-update-breakpoints.exp: Specify the link address
8330 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
8331 if the linker doesn't understand this.
8333 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
8335 * gdb.python/python.exp: Change expected reply to help().
8337 2014-12-01 Yao Qi <yao@codesourcery.com>
8339 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
8340 AC_CONFIG_SUBDIRS(gdb.gdbtk).
8341 * configure: Re-generated.
8343 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
8345 * gdb.cp/chained-calls.cc: New file.
8346 * gdb.cp/chained-calls.exp: New file.
8347 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
8349 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
8351 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
8352 * gdb.dwarf2/symtab-producer.exp: Same.
8353 * gdb.gdb/python-interrupts.exp: Same.
8354 * gdb.gdb/python-selftest.exp: Same.
8355 * gdb.python/py-linetable.exp: Same.
8356 * gdb.python/py-type.exp: Same.
8357 * gdb.python/py-value-cc.exp: Same.
8358 * gdb.python/py-value.exp: Same.
8360 2014-11-28 Yao Qi <yao@codesourcery.com>
8362 * gdb.base/break-probes.exp: Match library name prefixed with
8365 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
8367 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
8368 test expected output. Add parentheses for the call to print.
8369 Remove L suffix from integers.
8371 2014-11-26 Doug Evans <dje@google.com>
8373 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
8375 2014-11-22 Yao Qi <yao@codesourcery.com>
8377 * gdb.trace/entry-values.c: Remove asms.
8378 (foo): Add foo_label.
8379 (bar): Add bar_label.
8380 * gdb.trace/entry-values.exp: Remove code computing foo's
8381 length and bar's length.
8382 (Dwarf::assemble): Invoke function_range for bar and use
8383 MACRO_AT_func for foo.
8385 2014-11-22 Yao Qi <yao@codesourcery.com>
8387 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
8388 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
8389 Use .Lgcc43_procstart instead of gcc43.
8391 2014-11-21 Joel Brobecker <brobecker@adacore.com>
8393 * gdb.ada/n_arr_bound: New testcase.
8395 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
8397 PR breakpoints/10737
8398 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
8399 test_catch_syscall_multi_arch.
8400 (test_catch_syscall_multi_arch): New function.
8402 2014-11-20 Doug Evans <xdje42@gmail.com>
8404 * gdb.base/maint.exp: Update expected output.
8406 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8408 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
8409 4-byte instruction on S390.
8411 2014-11-19 Joel Brobecker <brobecker@adacore.com>
8413 * gdb.ada/arr_arr: New testcase.
8415 2014-11-19 Joel Brobecker <brobecker@adacore.com>
8417 * gdb.ada/pkd_arr_elem: New Testcase.
8419 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
8421 * gdb.reverse/break-precsave: Expect completion message for
8423 * gdb.reverse/consecutive-precsave.exp: Likewise.
8424 * gdb.reverse/finish-precsave.exp: Likewise.
8425 * gdb.reverse/i386-precsave.exp: Likewise.
8426 * gdb.reverse/machinestate-precsave.exp: Likewise.
8427 * gdb.reverse/sigall-precsave.exp: Likewise.
8428 * gdb.reverse/solib-precsave.exp: Likewise.
8429 * gdb.reverse/step-precsave.exp: Likewise.
8430 * gdb.reverse/until-precsave.exp: Likewise.
8431 * gdb.reverse/watch-precsave.exp: Likewise.
8433 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8435 * gdb.base/bp-permanent.c: Include unistd.h.
8436 * gdb.python/py-framefilter-mi.c (main): Add return type.
8437 * gdb.python/py-framefilter.c (main): Likewise.
8438 * gdb.trace/actions-changed.c (main): Likewise.
8440 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8442 * gdb.mi/until.c: Add eye-catchers.
8443 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
8446 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8448 * gdb.base/condbreak.exp: Drop references to removed non-prototype
8449 function header variants in break1.c.
8450 * gdb.base/ena-dis-br.exp: Likewise.
8451 * gdb.base/hbreak2.exp: Likewise.
8452 * gdb.reverse/until-precsave.exp: Drop references to removed
8453 non-prototype function header variants in ur1.c.
8454 * gdb.reverse/until-reverse.exp: Likewise.
8456 2014-11-17 Petr Machata <pmachata@redhat.com>
8458 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
8459 ${_cu_offset_size} bytes abbrev offset.
8461 2014-11-15 Doug Evans <xdje42@gmail.com>
8464 * gdb.base/line-symtabs.exp: New file.
8465 * gdb.base/line-symtabs.c: New file.
8466 * gdb.base/line-symtabs.h: New file.
8468 2014-11-14 Yao Qi <yao@codesourcery.com>
8470 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
8471 (func): Add label func_label.
8472 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
8473 Replace low_pc and high_pc with MACRO_AT_range.
8474 Replace name, low_pc and high_pc with MACRO_AT_func.
8476 2014-11-14 Yao Qi <yao@codesourcery.com>
8478 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
8479 Replace name, low_pc and high_pc with MACRO_AT_func.
8481 2014-11-14 Yao Qi <yao@codesourcery.com>
8483 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
8484 produce debug information.
8485 * gdb.dwarf2/implptr-optimized-out.S: Removed.
8487 2014-11-14 Yao Qi <yao@codesourcery.com>
8489 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
8490 object and get function length.
8491 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
8493 (top-level): Replace gdb_compile and clean_restart with
8494 prepare_for_testing.
8495 * gdb.dwarf2/main.c (main): Add label main_label.
8497 2014-11-14 Yao Qi <yao@codesourcery.com>
8499 * lib/dwarf.exp (function_range): New procedure.
8500 (Dwarf::_handle_macro_at_func): New procedure.
8501 (Dwarf::_handle_macro_at_range): New procedure.
8502 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
8504 2014-11-14 Yao Qi <yao@codesourcery.com>
8506 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
8507 (_handle_attribute): New procedure.
8509 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8511 * gdb.ada/cond_lang/foo.c (callme): Add return type.
8512 * gdb.base/call-sc.c (zed): Likewise.
8513 * gdb.base/checkpoint.c (main): Likewise.
8514 * gdb.base/dump.c (main): Likewise.
8515 * gdb.base/gcore.c (main): Likewise.
8516 * gdb.base/huge.c (main): Likewise.
8517 * gdb.base/multi-forks.c (main): Likewise.
8518 * gdb.base/pr10179-a.c (main): Likewise.
8519 * gdb.base/savedregs.c (main): Likewise.
8520 * gdb.base/sigaltstack.c (main): Likewise.
8521 * gdb.base/siginfo.c (main): Likewise.
8522 * gdb.base/structs.c (zed): Likewise.
8523 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
8524 * gdb.mi/mi-syn-frame.c (main): Likewise.
8525 * gdb.mi/until.c (foo, main): Likewise.
8526 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
8527 * gdb.base/solib-weak.c (foo): Declare.
8528 * gdb.base/attach-twice.c: Include stdio.h.
8529 * gdb.base/weaklib1.c: Likewise.
8530 * gdb.base/weaklib2.c: Likewise.
8531 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
8532 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
8534 * gdb.base/attach-pie-misread.c: Include stdlib.h.
8535 * gdb.mi/mi-exit-code.c: Likewise.
8536 * gdb.base/break-interp-lib.c: Include string.h.
8537 * gdb.base/coremaker.c: Likewise.
8538 * gdb.base/testenv.c: Likewise.
8539 * gdb.python/py-finish-breakpoint.c: Likewise.
8540 * gdb.base/inferior-died.c: Include sys/wait.h.
8541 * gdb.base/fileio.c: Include time.h.
8542 * gdb.base/async-shell.c: Include unistd.h.
8543 * gdb.base/dprintf-non-stop.c: Likewise.
8544 * gdb.base/info-os.c: Likewise.
8545 * gdb.mi/mi-console.c: Likewise.
8546 * gdb.mi/watch-nonstop.c: Likewise.
8547 * gdb.python/py-events.c: Likewise.
8548 * gdb.base/async.c (baz): Move up before its invocation.
8549 * gdb.base/code_elim2.c (my_global_func): Likewise.
8550 * gdb.base/skip-solib-lib.c (multiply): Likewise.
8551 * gdb.base/advance.c (func2): Likewise.
8553 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8555 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
8557 * gdb.base/annota3.c: Likewise.
8558 * gdb.base/async.c: Likewise.
8559 * gdb.base/average.c: Likewise.
8560 * gdb.base/call-ar-st.c: Likewise.
8561 * gdb.base/call-rt-st.c: Likewise.
8562 * gdb.base/call-sc.c: Likewise.
8563 * gdb.base/call-strs.c: Likewise.
8564 * gdb.base/ending-run.c: Likewise.
8565 * gdb.base/execd-prog.c: Likewise.
8566 * gdb.base/exprs.c: Likewise.
8567 * gdb.base/foll-exec.c: Likewise.
8568 * gdb.base/foll-fork.c: Likewise.
8569 * gdb.base/foll-vfork.c: Likewise.
8570 * gdb.base/funcargs.c: Likewise.
8571 * gdb.base/gcore.c: Likewise.
8572 * gdb.base/jump.c: Likewise.
8573 * gdb.base/langs0.c: Likewise.
8574 * gdb.base/langs1.c: Likewise.
8575 * gdb.base/langs2.c: Likewise.
8576 * gdb.base/mips_pro.c: Likewise.
8577 * gdb.base/nodebug.c: Likewise.
8578 * gdb.base/opaque0.c: Likewise.
8579 * gdb.base/opaque1.c: Likewise.
8580 * gdb.base/recurse.c: Likewise.
8581 * gdb.base/run.c: Likewise.
8582 * gdb.base/scope0.c: Likewise.
8583 * gdb.base/scope1.c: Likewise.
8584 * gdb.base/setshow.c: Likewise.
8585 * gdb.base/setvar.c: Likewise.
8586 * gdb.base/shmain.c: Likewise.
8587 * gdb.base/shr1.c: Likewise.
8588 * gdb.base/shr2.c: Likewise.
8589 * gdb.base/sigall.c: Likewise.
8590 * gdb.base/signals.c: Likewise.
8591 * gdb.base/so-indr-cl.c: Likewise.
8592 * gdb.base/solib2.c: Likewise.
8593 * gdb.base/structs.c: Likewise.
8594 * gdb.base/sum.c: Likewise.
8595 * gdb.base/vforked-prog.c: Likewise.
8596 * gdb.base/watchpoint.c: Likewise.
8597 * gdb.reverse/shr2.c: Likewise.
8598 * gdb.reverse/until-reverse.c: Likewise.
8599 * gdb.reverse/ur1.c: Likewise.
8600 * gdb.reverse/watch-reverse.c: Likewise.
8602 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8604 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
8606 * gdb.base/sepdebug.exp: Drop references to removed code.
8608 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8610 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
8611 variant. Preserve original line numbering.
8612 * gdb.base/list1.c: Likewise.
8614 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8616 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
8618 * gdb.base/break1.c: Likewise.
8619 * gdb.base/break.exp: Drop references to removed code.
8621 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8623 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
8626 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8628 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
8630 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8632 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
8633 logic into perform_all_tests() and invoke it with and without
8634 function header prototypes.
8635 (do_function_calls): Remove conditional XFAIL for PR 5318.
8636 (rerun_and_prepare): Remove duplicate code.
8637 (perform_all_tests): New. Main logic moved here.
8639 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8641 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
8642 code guarded by #ifdef NO_PROTOTYPES.
8643 (t_double_many_args): Likewise.
8644 (DEF_FUNC_MANY_ARGS_1): Likewise.
8645 (DEF_FUNC_VALUES_1): Likewise.
8646 (t_structs_ldc): Renamed from t_structs_fc in conditional code
8647 guarded by #ifdef PROTOTYPES.
8649 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8651 * gdb.mi/mi-console.c: Add eye-catcher.
8652 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
8653 instead of literal line number.
8655 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8657 * gdb.base/shr2.c: Add eye-catcher.
8658 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
8661 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8663 * gdb.base/jump.c: Add eye-catchers.
8664 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
8667 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8669 * gdb.base/execd-prog.c: Add eye-catchers.
8670 * gdb.base/foll-exec.c: Likewise.
8671 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
8674 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8676 * gdb.base/ending-run.c: Add eye-catchers.
8677 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
8678 literal line numbers.
8680 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8682 * gdb.base/call-rt-st.c: Add eye-catchers.
8683 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
8684 literal line numbers.
8686 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8688 * gdb.base/call-ar-st.c: Add eye-catchers.
8689 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
8690 literal line numbers.
8692 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8694 * gdb.base/average.c: Add eye-catchers.
8695 * gdb.base/sum.c: Likewise.
8696 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
8697 regexps dynamically.
8699 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8701 * gdb.base/solib1.c: Add eye-catchers.
8702 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
8703 literal line numbers.
8705 2014-11-12 Pedro Alves <palves@redhat.com>
8707 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
8710 2014-11-12 Pedro Alves <palves@redhat.com>
8712 * gdb.arch/i386-bp_permanent.c: New file.
8713 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
8714 (srcfile): Set to i386-bp_permanent.c.
8715 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
8716 that stepi does not execute the 'leave' instruction, instead of
8717 testing it does execute.
8718 * gdb.base/bp-permanent.c: New file.
8719 * gdb.base/bp-permanent.exp: New file.
8721 2014-11-10 Doug Evans <xdje42@gmail.com>
8724 * gdb.base/symtab-search-order.exp: New file.
8725 * gdb.base/symtab-search-order.c: New file.
8726 * gdb.base/symtab-search-order-1.c: New file.
8727 * gdb.base/symtab-search-order-shlib-1.c: New file.
8729 2014-11-07 Pedro Alves <palves@redhat.com>
8732 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8735 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8738 * gdb.cp/pr17494.cc: New file.
8739 * gdb.cp/pr17494.exp: New file.
8741 2014-11-02 Yao Qi <yao@codesourcery.com>
8743 * gdb.python/python.exp: Get working directory and match the
8744 output of "set extended-prompt \\w " with it.
8746 2014-10-30 Doug Evans <dje@google.com>
8748 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8750 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8753 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
8755 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8756 * gdb.base/realname-expand.exp: Likewise.
8757 * gdb.linespec/macro-relative.exp: Likewise.
8759 2014-10-29 Pedro Alves <palves@redhat.com>
8762 * gdb.threads/schedlock.c (some_function): New function.
8763 (call_function): New global.
8764 (MAYBE_CALL_SOME_FUNCTION): New macro.
8765 (thread_function): Call it.
8766 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8767 and use it instead of a global counter. Adjust all callers.
8768 (get_current_thread): Use "find current thread" for test message
8769 here rather than having all callers pass down the same string.
8770 (goto_loop): New procedure, factored out from ...
8771 (my_continue): ... this.
8772 (step_ten_loops): Change parameter from test message to command to
8774 (list_count): Delete global.
8775 (check_result): New procedure, factored out from duplicate top
8777 (continue tests): Wrap in with_test_prefix.
8778 (test_step): New procedure, factored out from duplicate top level
8780 (top level): Test "step" in combination with all scheduler-locking
8781 modes. Test "next" in combination with all scheduler-locking
8782 modes, and in combination with stepping over a function call or
8784 * gdb.threads/next-bp-other-thread.c: New file.
8785 * gdb.threads/next-bp-other-thread.exp: New file.
8787 2014-10-29 Pedro Alves <palves@redhat.com>
8790 * gdb.python/python.exp: Test a multi-line command that spawns
8792 * gdb.base/multi-line-starts-subshell.exp: New file.
8794 2014-10-29 Yao Qi <yao@codesourcery.com>
8796 * gdb.base/fileio.exp: Make directories on host.
8798 2014-10-29 Yao Qi <yao@codesourcery.com>
8800 * gdb.base/fileio.c (test_write): Close the file.
8802 2014-10-28 Pedro Alves <palves@redhat.com>
8805 * gdb.base/sigstep.c (no_handler): New global.
8806 (main): If 'no_handler is true, set the signal handlers to
8808 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8809 with_sw_watch and no_handler parameters. Handle them.
8810 (top level) <stepping over handler when stopped at a breakpoint
8811 test>: Add a test axis for testing with a software watchpoint, and
8812 another for testing with the signal handler set to SIG_IGN.
8813 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8814 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8816 2014-10-28 Pedro Alves <palves@redhat.com>
8819 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8820 * gdb.base/sigstep.exp (other_handler_location): New global.
8821 (advance): Support stepping into the signal handler, and running
8822 commands while in the handler.
8823 (in_handler_map): New global.
8824 (top level): In the advance test, add combinations for getting
8825 into the handler with stepping commands, and for running commands
8826 in the handler. Add comment descripting the advancei tests.
8828 2014-10-28 Pedro Alves <palves@redhat.com>
8830 * gdb.base/sigstep.exp: Use build_executable instead of
8831 prepare_for_testing.
8832 (top level): Move code that starts GDB, runs to main and creates a
8834 (restart): ... this new procedure.
8835 (top level): Move backtrace from signal handler test to ...
8836 (validate_backtrace): ... this new procedure.
8837 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
8838 with_test_prefix. Always restart GDB.
8839 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
8840 with_test_prefix. Always restart GDB. No need to delete
8841 breakpoints after the test.
8842 (test_skip_handler): Remove prefix parameter.
8843 (skip_over_handler, breakpoint_to_handler)
8844 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
8845 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
8846 restart GDB. No need to delete breakpoints after the test.
8847 (top level): Use foreach to call the test procedures with
8850 2014-10-28 Pedro Alves <palves@redhat.com>
8852 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
8853 instead of GNATS numbers.
8854 * gdb.base/sigbpt.exp: Likewise.
8855 * gdb.base/siginfo.exp: Likewise.
8856 * gdb.base/sigstep.exp: Likewise.
8858 2014-10-27 Pedro Alves <palves@redhat.com>
8860 * gdb.base/sigstep.c (dummy): New global.
8861 (main): Issue a couple writes to the new global.
8862 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
8864 (skip_over_handler): Use test_skip_handler.
8865 (top level): Call skip_over_handler for stepi and nexti too.
8866 (breakpoint_over_handler): Use test_skip_handler.
8867 (top level): Call breakpoint_over_handler for stepi and nexti too.
8869 2014-10-27 Yao Qi <yao@codesourcery.com>
8871 * gdb.trace/tfile.c (adjust_function_address)
8872 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
8873 function descriptor.
8875 2014-10-24 Don Breazeal <donb@codesourcery.com>
8877 * gdb.base/foll-fork.exp (test_follow_fork,
8878 catch_fork_child_follow): Check for updated fork messages emitted
8880 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
8881 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
8882 vfork_and_exec_child_follow_through_step): Check for updated vfork
8883 messages emitted from infrun.c.
8885 2014-10-24 Pedro Alves <palves@redhat.com>
8887 * gdb.base/corefile.exp: Remove references to ultrix.
8888 * gdb.base/interrupt.exp: Likewise.
8889 * gdb.base/whatis.exp: Likewise.
8890 * gdb.gdb/selftest.exp: Likewise.
8891 * gdb.threads/manythreads.exp: Likewise.
8892 * gdb.threads/print-threads.exp: Likewise.
8893 * gdb.threads/pthreads.exp:: Likewise.
8894 * gdb.threads/schedlock.exp: Likewise.
8896 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
8898 * gdb.cp/non-trivial-retval.cc: Add a test case.
8899 * gdb.cp/non-trivial-retval.exp: Add a test.
8901 2014-10-20 Yao Qi <yao@codesourcery.com>
8903 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
8904 * gdb.python/py-objfile-script-gdb.py: New file.
8905 * gdb.python/py-objfile-script.exp: Update reference to
8906 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
8907 of remote_download. Remove the dest file.
8909 2014-10-20 Yao Qi <yao@codesourcery.com>
8911 * gdb.base/checkpoint.exp: Don't remove file copied on host.
8912 * gdb.base/step-line.exp: Likewise.
8913 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8914 * gdb.dwarf2/dw2-basic.exp: Likewise.
8915 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8916 * gdb.dwarf2/dw2-filename.exp: Likewise.
8917 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8918 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8919 * gdb.dwarf2/dw2-producer.exp: Likewise.
8920 * gdb.dwarf2/mac-fileno.exp: Likewise.
8921 * gdb.python/py-frame-args.exp: Likewise.
8922 * gdb.python/py-framefilter.exp: Likewise.
8923 * gdb.python/py-mi.exp: Likewise.
8924 * gdb.python/py-objfile-script.exp: Likewise
8925 * gdb.python/py-pp-integral.exp: Likewise.
8926 * gdb.python/py-pp-re-notag.exp: Likewise.
8927 * gdb.python/py-prettyprint.exp: Likewise.
8928 * gdb.python/py-section-script.exp: Likewise.
8929 * gdb.python/py-typeprint.exp: Likewise.
8930 * gdb.python/py-xmethods.exp: Likewise.
8931 * gdb.stabs/weird.exp: Likewise.
8932 * gdb.xml/tdesc-regs.exp: Likewise.
8934 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
8936 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
8937 (out_cu): Use addr_len for the size of addresses.
8938 (out_line): Likewise. Size DW_LNE_set_address instruction
8939 according to addr_len.
8940 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
8941 (FUNC): Add START_INSNS to definition.
8943 2014-10-18 Yao Qi <yao@codesourcery.com>
8945 * gdb.base/argv0-symlink.exp: Check argv[0] value if
8946 gdb_has_argv0 return true.
8947 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
8948 check [target_info exists noargs], check [gdb_has_argv0]
8950 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
8951 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
8954 2014-10-17 Doug Evans <dje@google.com>
8956 * gdb.python/py-events.exp: Update expected output for clear_objfiles
8958 * gdb.python/py-events.py: Add clear_objfiles event.
8960 2014-10-17 Doug Evans <dje@google.com>
8962 * gdb.python/py-objfile.exp: Test progspace attribute.
8964 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
8966 * gdb.guile/scm-breakpoint.exp: Do not assume any
8967 directory separators when matching source file paths.
8968 * gdb.python/py-breakpoint.exp: Likewise.
8969 * gdb.reverse/break-precsave.exp: Likewise.
8970 * gdb.reverse/break-reverse.exp: Likewise.
8971 * gdb.reverse/consecutive-precsave.exp: Likewise.
8972 * gdb.reverse/finish-precsave.exp: Likewise.
8973 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
8974 * gdb.reverse/finish-reverse.exp: Likewise.
8975 * gdb.reverse/i386-precsave.exp: Likewise.
8976 * gdb.reverse/i387-env-reverse.exp: Likewise.
8977 * gdb.reverse/i387-stack-reverse.exp: Likewise.
8978 * gdb.reverse/machinestate-precsave.exp: Likewise.
8979 * gdb.reverse/machinestate.exp: Likewise.
8980 * gdb.reverse/sigall-precsave.exp: Likewise.
8981 * gdb.reverse/solib-precsave.exp: Likewise.
8982 * gdb.reverse/step-precsave.exp: Likewise.
8983 * gdb.reverse/until-precsave.exp: Likewise.
8984 * gdb.reverse/watch-precsave.exp: Likewise.
8985 * gdb.reverse/watch-reverse.exp: Likewise.
8987 2014-10-17 Yao Qi <yao@codesourcery.com>
8989 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
8990 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
8992 2014-10-17 Pedro Alves <palves@redhat.com>
8995 * gdb.base/bg-execution-repeat.c: New file.
8996 * gdb.base/bg-execution-repeat.exp: New file.
8998 2014-10-17 Pedro Alves <palves@redhat.com>
9001 * gdb.base/continue-all-already-running.c: New file.
9002 * gdb.base/continue-all-already-running.exp: New file.
9004 2014-10-17 Pedro Alves <palves@redhat.com>
9007 * gdb.base/annota-input-while-running.c: New file.
9008 * gdb.base/annota-input-while-running.exp: New file.
9010 2014-10-17 Pedro Alves <palves@redhat.com>
9012 * gdb.base/callfuncs.exp: emove references to osf.
9013 * gdb.base/sigall.exp: Likewise.
9014 * gdb.gdb/selftest.exp: Likewise.
9015 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9016 * gdb.mi/non-stop.c: Likewise.
9017 * gdb.mi/pthreads.c: Likewise.
9018 * gdb.reverse/sigall-precsave.exp: Likewise.
9019 * gdb.reverse/sigall-reverse.exp: Likewise.
9020 * gdb.threads/pthreads.c: Likewise.
9021 * gdb.threads/pthreads.exp: Likewise.
9023 2014-10-17 Yao Qi <yao@codesourcery.com>
9025 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
9026 check 'target_info exists noargs'.
9027 (test_command_prompt_position): Likewise.
9028 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
9030 (progvar_simple_while_test): Likewise.
9031 (progvar_complex_if_while_test): Likewise.
9032 (if_while_breakpoint_command_test): Likewise.
9033 (infrun_breakpoint_command_test): Likewise.
9034 (breakpoint_command_test): Likewise.
9035 (watchpoint_command_test): Likewise.
9036 (bp_deleted_in_command_test): Likewise.
9037 (temporary_breakpoint_commands): Likewise.
9039 2014-10-16 Yao Qi <yao@codesourcery.com>
9041 * gdb.base/remotetimeout.exp: Remove noargs checking.
9043 2014-10-15 Pedro Alves <palves@redhat.com>
9046 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
9047 * gdb.base/breakpoint-in-ro-region.exp
9048 (probe_target_hardware_step): New procedure.
9049 (top level): Probe hardware stepping and hardware breakpoint
9050 support. Test stepping through a read-only region, with both
9051 "breakpoint auto-hw" on and off and both "always-inserted" on and
9054 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
9056 * gdb.dlang/demangle.exp: Update for demangling changes.
9058 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
9060 * gdb.cp/non-trivial-retval.cc: Add new test cases.
9061 * gdb.cp/non-trivial-retval.exp: Add new tests.
9063 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
9067 * gdb.cp/non-trivial-retval.cc: New file.
9068 * gdb.cp/non-trivial-retval.exp: New file.
9070 2014-10-15 Yao Qi <yao@codesourcery.com>
9072 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
9075 2014-10-15 Yao Qi <yao@codesourcery.com>
9077 * gdb.python/py-symbol.exp: Match file base name if host is
9078 remote, otherwise match file name with dir name.
9079 * gdb.python/py-symtab.exp: Likewise.
9080 * gdb.python/python.exp: Likewise.
9082 2014-10-15 Yao Qi <yao@codesourcery.com>
9084 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
9086 * gdb.python/py-symtab.exp: Likewise.
9087 * gdb.python/python.exp: Remove trailing ".*". Fix typo
9090 2014-10-14 Joel Brobecker <brobecker@adacore.com>
9092 * gdb.ada/addr_arith: New testcase.
9094 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
9096 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
9097 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
9098 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
9099 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
9101 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
9103 * gdb.arch/stap-eval-lang-ada.S: Likewise.
9104 * gdb.arch/stap-eval-lang-ada.c: Likewise.
9105 * gdb.arch/stap-eval-lang-ada.exp: New file.
9107 2014-10-14 Yao Qi <yao@codesourcery.com>
9109 * gdb.mi/mi-var-child.c (nothing1): New function.
9110 (nothing2): New function.
9111 (do_children_tests): Set function pointers by nothing1 and
9113 * gdb.mi/mi-var-child.exp: Step over new added statements.
9114 Update test to match the new output.
9115 * gdb.mi/var-cmd.c (nothing1): New function.
9116 (nothing2): New function.
9117 (do_children_tests): Set function pointers by nothing1 and
9119 * gdb.mi/mi-var-display.exp: Update test to match output.
9120 Step to the line specified by $line_dct_nothing.
9121 Increase the number of lines to step.
9123 2014-10-14 Yao Qi <yao@codesourcery.com>
9125 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
9127 * gdb.mi/mi2-var-child.exp: Likewise.
9129 2014-10-13 Doug Evans <dje@google.com>
9131 * gdb.python/py-objfile.exp: Change name of file name test.
9133 2014-10-13 Doug Evans <dje@google.com>
9135 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
9136 from the start of the CU.
9138 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9139 Yao Qi <yao@codesourcery.com>
9141 Fix "save breakpoints" for "catch" command.
9142 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
9143 Remove -nonewline. Match also the added "main" line.
9145 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9147 Fix "save breakpoints" for "disable $bpnum" command.
9148 * gdb.base/save-bp.c (main): Add label.
9149 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
9151 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9153 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
9155 2014-10-11 Yao Qi <yao@codesourcery.com>
9157 * gdb.server/server-kill.exp: Execute command
9158 "set remote trace-status-packet on" before "tstatus".
9160 2014-10-11 Yao Qi <yao@codesourcery.com>
9162 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
9163 (main): Call getppid.
9164 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
9165 and continue to it. Read variable "server_pid".
9167 2014-10-11 Yao Qi <yao@codesourcery.com>
9169 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
9171 2014-10-11 Yao Qi <yao@codesourcery.com>
9173 * gdb.threads/thread-find.exp: Don't execute command
9175 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
9176 * gdb.threads/linux-dp.exp: Don't check the condition
9177 $threads_created equals to zero.
9179 2014-10-10 Pedro Alves <palves@redhat.com>
9181 * gdb.base/bigcore.exp: Remove references to IRIX.
9182 * gdb.base/funcargs.exp: Likewise.
9183 * gdb.base/interrupt.exp: Likewise.
9184 * gdb.base/mips_pro.exp: Likewise.
9185 * gdb.base/nodebug.exp: Likewise.
9186 * gdb.base/setvar.exp: Likewise.
9187 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
9189 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9190 Pedro Alves <palves@redhat.com>
9193 * gdb.base/vdso-warning.c: New file.
9194 * gdb.base/vdso-warning.exp: New file.
9196 2014-10-02 Doug Evans <dje@google.com>
9198 * gdb.base/structs.c (main): Don't run forever.
9200 2014-10-02 Pedro Alves <palves@redhat.com>
9202 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
9203 (top level) <stop threads 1, stop threads 2>: Use it.
9205 2014-10-02 Pedro Alves <palves@redhat.com>
9207 * gdb.threads/break-while-running.exp (test): Add new
9208 'update_thread_list' argument. Skip "info threads" if false.
9209 (top level): Add new 'update_thread_list' axis.
9211 2014-10-02 Pedro Alves <palves@redhat.com>
9213 PR breakpoints/17431
9214 * gdb.base/execl-update-breakpoints.c: New file.
9215 * gdb.base/execl-update-breakpoints.exp: New file.
9217 2014-10-01 Pedro Alves <palves@redhat.com>
9219 * gdb.base/breakpoint-in-ro-region.c: New file.
9220 * gdb.base/breakpoint-in-ro-region.exp: New file.
9222 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
9224 * gdb.mi/mi-exit-code.exp: New file.
9225 * gdb.mi/mi-exit-code.c: New file.
9227 2014-09-30 Yao Qi <yao@codesourcery.com>
9229 * lib/prelink-support.exp (build_executable_own_libs): Error if
9230 the target isn't native.
9232 2014-09-30 Yao Qi <yao@codesourcery.com>
9234 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
9237 2014-09-22 Pedro Alves <palves@redhat.com>
9239 * gdb.threads/break-while-running.exp: New file.
9240 * gdb.threads/break-while-running.c: New file.
9242 2014-09-19 Yao Qi <yao@codesourcery.com>
9244 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
9245 Invoke test. Restart GDB with --readnow and invoke test again.
9247 2014-09-19 Yao Qi <yao@codesourcery.com>
9249 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
9250 proc set_breakpoint_on_gcd_function. Invoke
9251 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
9252 invoke set_breakpoint_on_gcd_function again.
9254 2014-09-18 Doug Evans <dje@google.com>
9256 * gdb.dwarf2/symtab-producer.exp: New file.
9258 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9260 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
9261 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
9262 * gdb.base/global-var-nested-by-dso.c: Likewise.
9263 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9265 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9266 Pedro Alves <palves@redhat.com>
9268 * gdb.base/watch-bitfields.exp: Pass string other than test file
9269 name to prepare_for_testing.
9270 (watch): New procedure.
9271 (expect_watchpoint): Use with_test_prefix.
9272 (top level): Factor out tests to ...
9273 (test_watch_location, test_regular_watch): ... these new
9274 procedures, and use with_test_prefix and gdb_continue_to_end.
9276 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
9278 PR breakpoints/12526
9279 * gdb.base/watch-bitfields.exp: New file.
9280 * gdb.base/watch-bitfields.c: New file.
9282 2014-09-16 Pedro Alves <palves@redhat.com>
9284 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
9285 software and hardware addresses, not software address against
9288 2014-09-16 Pedro Alves <palves@redhat.com>
9290 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
9291 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
9293 2014-09-16 Pedro Alves <palves@redhat.com>
9295 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
9297 * gdb.base/a2-run.exp: Remove all code guarded by istarget
9298 "*-*-vxworks*" throughout.
9299 * gdb.base/break.exp: Likewise.
9300 * gdb.base/default.exp: Likewise.
9301 * gdb.base/scope.exp: Likewise.
9302 * gdb.base/sepdebug.exp: Likewise.
9303 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
9305 * gdb.base/run.c: Likewise.
9306 * gdb.base/sepdebug.c: Likewise.
9307 * gdb.hp/gdb.aCC/run.c: Likewise.
9308 * gdb.reverse/until-reverse.c: Likewise.
9309 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
9311 2014-09-16 Yao Qi <yao@codesourcery.com>
9313 * boards/local-remote-host-native.exp: New file.
9315 2014-09-14 Doug Evans <xdje42@gmail.com>
9317 * gdb.threads/queue-signal.c (thread_count): New variable.
9318 (thread_count_mutex, thread_count_condvar): New variables.
9319 (incr_thread_count, wait_all_threads_running): New functions.
9320 (main): Wait for all threads to be in their thread functions.
9322 2014-09-13 Doug Evans <xdje42@gmail.com>
9324 * gdb.threads/queue-signal.c: New file.
9325 * gdb.threads/queue-signal.exp: New file.
9327 2014-09-13 Doug Evans <xdje42@gmail.com>
9329 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
9330 be consistent with what default_gdb_init uses.
9331 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
9332 the plain text of the prompt. Add some logging printfs.
9333 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
9335 2014-09-12 Pedro Alves <palves@redhat.com>
9337 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
9338 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
9339 * gdb.arch/i386-size-overlap.exp: Likewise.
9340 * gdb.arch/i386-size.exp: Likewise.
9341 * gdb.arch/i386-unwind.exp: Likewise.
9342 * gdb.base/a2-run.exp: Likewise.
9343 * gdb.base/break.exp: Likewise.
9344 * gdb.base/charset.exp: Likewise.
9345 * gdb.base/chng-syms.exp: Likewise.
9346 * gdb.base/commands.exp: Likewise.
9347 * gdb.base/dbx.exp: Likewise.
9348 * gdb.base/find.exp: Likewise.
9349 * gdb.base/funcargs.exp: Likewise.
9350 * gdb.base/jit-simple.exp: Likewise.
9351 * gdb.base/reread.exp: Likewise.
9352 * gdb.base/sepdebug.exp: Likewise.
9353 * gdb.base/step-bt.exp: Likewise.
9354 * gdb.cp/mb-inline.exp: Likewise.
9355 * gdb.cp/mb-templates.exp: Likewise.
9356 * gdb.objc/basicclass.exp: Likewise.
9357 * gdb.threads/killed.exp: Likewise.
9359 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9362 * gdb.arch/powerpc-stackless.S: New file.
9363 * gdb.arch/powerpc-stackless.exp: New file.
9365 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9367 * gdb.base/attach.c: Include unistd.h.
9368 (main): Call alarm. Add label postloop.
9369 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
9370 gdb_breakpoint, gdb_continue_to_breakpoint.
9371 (test_command_line_attach_run): Kill ${testpid} in one exit path.
9373 2014-09-11 Pedro Alves <palves@redhat.com>
9376 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
9377 * gdb.base/attach.exp (test_command_line_attach_run): New
9379 (top level): Call it.
9381 2014-09-11 Pedro Alves <palves@redhat.com>
9383 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
9384 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
9385 (do_command_attach_tests): Use spawn_wait_for_attach.
9386 * gdb.base/solib-overlap.exp: Likewise.
9387 * gdb.multi/multi-attach.exp: Likewise.
9388 * gdb.python/py-prompt.exp: Likewise.
9389 * gdb.python/py-sync-interp.exp: Likewise.
9390 * gdb.server/ext-attach.exp: Likewise.
9392 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
9394 * gdb.fortran/array-element.exp: Remove unexpected "continue"
9395 command in testcase. Simplify testcase.
9397 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9399 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
9401 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9403 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
9405 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9407 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
9409 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9411 * gdb.dwarf2/dynarr-ptr.c: New file.
9412 * gdb.dwarf2/dynarr-ptr.exp: New file.
9414 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9416 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
9417 of 30 rather than hardcoding 120 for a slow test case. Take the
9418 `gdb,timeout' target setting into account for this calculation.
9419 Don't extend the timeout for the test cases that don't need it.
9421 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9423 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
9424 a factor of 2 for a slow test case. Take the `gdb,timeout'
9425 target setting into account for this calculation.
9426 * gdb.reverse/until-precsave.exp: Increase the timeout by
9427 a factor of 15 and 3 respectively rather than adding 120
9428 for a pair of slow test cases. Take the `gdb,timeout'
9429 target setting into account for this calculation.
9431 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9433 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
9434 timeout, don't pass one down to gdb_expect.
9435 (gdb_expect): Rework timeout selection.
9437 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9439 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
9440 exception on timeout.
9441 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
9442 (gdbserver_start_extended): Catch any `gdbserver_start' error
9444 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
9445 * lib/mi-support.exp (mi_gdb_target_load): Catch any
9446 `gdbserver_gdb_load' error exceptions.
9448 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9450 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
9451 120 on waiting for the TCP socket to open.
9453 2014-09-09 Doug Evans <xdje42@gmail.com>
9455 * gdb.base/default.exp (show_conv_list): Add _caller_is,
9456 _caller_matches, _any_caller_is, _any_caller_matches.
9458 2014-09-09 Doug Evans <xdje42@gmail.com>
9460 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
9462 2014-09-09 Yao Qi <yao@codesourcery.com>
9464 * gdb.mi/mi-var-display.exp: Set print symbol off.
9466 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
9469 * gdb.base/commands.exp: Add tests to verify user-defined
9470 commands with empty bodies.
9471 * gdb.python/py-cmd.exp: Test that we don't show user-defined
9472 python commands in `show user command`.
9473 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
9474 scheme commands in `show user command`.
9476 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9479 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
9480 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
9481 * gdb.python/py-framefilter-invalidarg.exp: New file.
9482 * gdb.python/py-framefilter-invalidarg.py: New file.
9484 2014-09-06 Doug Evans <xdje42@gmail.com>
9487 * gdb.python/py-caller-is.c: New file.
9488 * gdb.python/py-caller-is.exp: New file.
9490 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
9493 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
9494 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
9496 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
9499 * gdb.fortran/print-formatted.exp: New file.
9500 * gdb.fortran/print-formatted.f90: Likewise.
9502 2014-09-03 Sasha Smundak <asmundak@google.com>
9504 * gdb.python/py-frame.exp: Test Frame.read_register.
9506 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
9509 * gdb.python/py-completion.exp: New file.
9510 * gdb.python/py-completion.py: Likewise.
9512 2014-08-28 Doug Evans <dje@google.com>
9514 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
9515 eax,etc. are live with values set by gdb and thus the compiler can't
9517 * gdb.arch/i386-pseudo.c (main): Ditto.
9519 2014-08-27 Doug Evans <dje@google.com>
9521 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
9523 2014-08-25 Doug Evans <dje@google.com>
9525 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
9528 2014-08-25 Doug Evans <dje@google.com>
9530 * gdb.threads/thread-execl.exp: #include <stdio.h>.
9532 2014-08-24 Yao Qi <yao@codesourcery.com>
9534 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
9536 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
9538 2014-08-22 Doug Evans <dje@google.com>
9541 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
9542 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
9543 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
9545 2014-08-22 Yao Qi <yao@codesourcery.com>
9547 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
9548 * gdb.python/py-finish-breakpoint2.exp: Likewise.
9549 * gdb.python/python.exp: Likewise. Use .py file on the host
9550 instead of the build.
9552 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9554 * gdb.threads/gcore-stale-thread.c: New file.
9555 * gdb.threads/gcore-stale-thread.exp: New file.
9557 2014-08-21 Pedro Alves <palves@redhat.com>
9559 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
9560 * gdb.base/gcore-relro-pie.exp: Likewise.
9561 * gdb.base/gcore-relro.exp: Likewise.
9562 * gdb.base/gcore.exp: Likewise.
9563 * gdb.base/print-symbol-loading.exp: Likewise.
9564 * gdb.threads/gcore-thread.exp: Likewise.
9565 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
9567 2014-08-20 Pedro Alves <palves@redhat.com>
9568 Jan Kratochvil <jan.kratochvil@redhat.com>
9570 * Makefile.in (EXTRA_RULES, CC): New variables, get from
9572 (EXPECT): Handle READ1 being set.
9573 (all): Depend on EXTRA_RULES.
9574 (check-read1, expect-read1, read1.so, read1): New rules.
9575 * README (Testsuite Parameters): Document the READ1 make variable.
9576 (Race detection): New section.
9577 * configure: Regenerate.
9578 * configure.ac: If build==host==target, and running under a
9579 GNU/glibc system, add read1 to the extra Makefile rules.
9580 (EXTRA_RULES): AC_SUBST it.
9581 * lib/read1.c: New file.
9583 2014-08-20 Joel Brobecker <brobecker@adacore.com>
9585 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
9586 the handling of variables declared as a typedef to an array
9587 which a DW_AT_data_location attribute.
9589 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
9590 Pedro Alves <palves@redhat.com>
9594 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
9597 2014-08-19 Pedro Alves <palves@redhat.com>
9599 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
9601 2014-08-19 Yao Qi <yao@codesourcery.com>
9603 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
9606 2014-08-18 David Blaikie <dblaikie@gmail.com>
9608 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
9610 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9612 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
9613 attribute in array range.
9615 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9617 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
9619 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9622 * gdb.cp/pr17132.cc: New file.
9623 * gdb.cp/pr17132.exp: New file.
9625 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9627 * gdb.python/py-xmethods.py (A_getarrayind)
9628 (E_method_char_worker.__call__, E_method_int_worker.__call__):
9629 Use 'print' with function call syntax.
9630 (E_method_matcher.match): Fix tab vs space indentation mixup.
9632 2014-08-15 Yao Qi <yao@codesourcery.com>
9634 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
9637 2014-08-15 Yao Qi <yao@codesourcery.com>
9639 * gdb.cp/casts.exp: Set print symbol off.
9640 * gdb.cp/class2.exp: Likewise.
9641 * gdb.cp/overload.exp: Likewise.
9642 * gdb.cp/templates.exp: Likewise.
9644 2014-08-11 Doug Evans <dje@google.com>
9646 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9647 (test_load_shlib): Update.
9649 2014-08-09 Yao Qi <yao@codesourcery.com>
9651 * gdb.base/display.exp: Invoke is_address_zero_readable.
9652 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
9653 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9654 * gdb.base/hbreak-unmapped.exp: Return if
9655 is_address_zero_readable returns true.
9656 * gdb.base/signest.exp: Likewise.
9657 * gdb.base/signull.exp: Likewise.
9658 * gdb.base/sigbpt.exp: Likewise.
9659 * gdb.guile/scm-disasm.exp: Do the test if
9660 is_address_zero_readable returns false.
9661 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
9662 * gdb.python/py-arch.exp: Likewise.
9663 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
9664 * lib/gdb.exp (is_address_zero_readable): New proc.
9666 2014-08-09 Yao Qi <yao@codesourcery.com>
9669 * gdb.mi/mi-var-display.exp: Make test messages unique.
9671 2014-08-04 Tom Tromey <tromey@redhat.com>
9673 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
9676 2014-08-04 Tom Tromey <tromey@redhat.com>
9678 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
9681 2014-08-01 Joel Brobecker <brobecker@adacore.com>
9683 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9684 inner_vla_struct_object_size.
9685 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
9688 2014-07-30 Pedro Alves <palves@redhat.com>
9690 * gdb.threads/signal-command-handle-nopass.exp (test): Add
9693 2014-07-29 Yao Qi <yao@codesourcery.com>
9696 * gdb.base/until-nodebug.exp: New.
9698 2014-07-28 Doug Evans <xdje42@gmail.com>
9701 * gdb.guile/scm-parameter.exp: Add tests for trying to create
9702 previously existing parameter, and previously ambiguously spelled
9705 2014-07-28 Will Newton <will.newton@linaro.org>
9707 * gdb.base/varargs.exp: Remove KFAILs for ARM.
9709 2014-07-26 Ludovic Courtès <ludo@gnu.org>
9710 Doug Evans <xdje42@gmail.com>
9713 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
9715 2014-07-25 Pedro Alves <palves@redhat.com>
9717 * gdb.threads/signal-command-handle-nopass.c: New file.
9718 * gdb.threads/signal-command-handle-nopass.exp: New file.
9719 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
9720 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
9721 * gdb.threads/signal-delivered-right-thread.c: New file.
9722 * gdb.threads/signal-delivered-right-thread.exp: New file.
9724 2014-07-25 Pedro Alves <palves@redhat.com>
9726 * gdb.base/double-prompt-target-event-error.exp
9727 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
9729 (cancel_pagination_in_target_event): Rework double prompt
9731 * gdb.base/paginate-after-ctrl-c-running.exp
9732 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
9734 * gdb.base/paginate-bg-execution.exp
9735 (test_bg_execution_pagination_return)
9736 (test_bg_execution_pagination_cancel): Remove '-notransfer
9738 * gdb.base/paginate-execution-startup.exp
9739 (test_fg_execution_pagination_return)
9740 (test_fg_execution_pagination_cancel): Remove '-notransfer
9742 * gdb.base/paginate-inferior-exit.exp
9743 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9745 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9746 * lib/gdb.exp (pagination_prompt): Run text through
9748 (gdb_test_multiple): Match $pagination_prompt instead of
9750 (string_to_regexp): Move to lib/gdb-utils.exp.
9752 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9754 * gdb.arch/amd64-entry-value-paramref.S: New file.
9755 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9756 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9757 * gdb.arch/amd64-optimout-repeat.S: New file.
9758 * gdb.arch/amd64-optimout-repeat.c: New file.
9759 * gdb.arch/amd64-optimout-repeat.exp: New file.
9761 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9764 * gdb.base/statistics.exp: New file.
9766 2014-07-17 Doug Evans <dje@google.com>
9769 * gdb.base/maint.exp: Update testing of per-command stats.
9771 2014-07-16 Pedro Alves <palves@redhat.com>
9773 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9774 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9775 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9776 (tfile_write_buf): New functions.
9777 (add_memory_block): Rewrite using the above.
9778 (adjust_function_address): New function.
9779 (FUNCTION_ADDRESS): New macro.
9780 (write_basic_trace_file): Remove short_x local, and use
9781 tfile_write_16. Change type of func_addr local to unsigned long
9782 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9783 here. Cast argument of add_memory_block to char pointer.
9784 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9785 (main): Remove parameters.
9786 * gdb.trace/tfile.exp: Remove nowarnings.
9788 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9790 * gdb.base/debug-expr.exp: Test string evaluation with
9791 "debug expression" on.
9793 2014-07-15 Pedro Alves <palves@redhat.com>
9795 * gdb.base/reread.exp: Use clean_restart.
9797 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9799 * gdb.arch/avr-flash-qualifer.c: New.
9800 * gdb.arch/avr-flash-qualifer.exp: New.
9802 2014-07-14 Pedro Alves <palves@redhat.com>
9804 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9805 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9807 2014-07-14 Pedro Alves <palves@redhat.com>
9809 * gdb.base/double-prompt-target-event-error.c: New file.
9810 * gdb.base/double-prompt-target-event-error.exp: New file.
9812 2014-07-14 Pedro Alves <palves@redhat.com>
9815 * gdb.base/paginate-inferior-exit.c: New file.
9816 * gdb.base/paginate-inferior-exit.exp: New file.
9818 2014-07-14 Pedro Alves <palves@redhat.com>
9821 * gdb.base/paginate-bg-execution.c: New file.
9822 * gdb.base/paginate-bg-execution.exp: New file.
9824 2014-07-14 Pedro Alves <palves@redhat.com>
9827 * gdb.base/paginate-execution-startup.c: New file.
9828 * gdb.base/paginate-execution-startup.exp: New file.
9829 * lib/gdb.exp (pagination_prompt): New global.
9830 (default_gdb_spawn): New procedure, factored out from
9832 (default_gdb_start): Adjust to call default_gdb_spawn.
9833 (gdb_spawn): New procedure.
9835 2014-07-14 Pedro Alves <palves@redhat.com>
9837 * lib/gdb.exp (gdb_assert): New procedure.
9838 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
9840 2014-07-14 Pedro Alves <palves@redhat.com>
9842 * gdb.base/execution-termios.c: New file.
9843 * gdb.base/execution-termios.exp: New file.
9845 2014-07-14 Tom Tromey <tromey@redhat.com>
9847 * gdb.cp/vla-cxx.cc: New file.
9848 * gdb.cp/vla-cxx.exp: New file.
9850 2014-07-14 Tom Tromey <tromey@redhat.com>
9852 * gdb.reverse/rerun-prec.c: New file.
9853 * gdb.reverse/rerun-prec.exp: New file.
9855 2014-07-12 Maciej W. Rozycki <macro@mips.com>
9856 Maciej W. Rozycki <macro@codesourcery.com>
9858 * lib/gdb-utils.exp: New file.
9859 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
9860 inline `gdb_init_command' processing.
9861 (gdb_start_cmd): Likewise.
9862 * lib/mi-support.exp (mi_run_cmd): Likewise.
9863 * README: Document `gdb_init_command' and `gdb_init_commands'.
9865 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9867 Fix false FAIL running under a very long directory name.
9868 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
9869 and "set print elements 10000". Twice.
9871 2014-07-11 Yao Qi <yao@codesourcery.com>
9873 * gdb.base/exprs.exp: "set print symbol off".
9875 2014-07-11 Pedro Alves <palves@redhat.com>
9877 * gdb.threads/kill.c: New file.
9878 * gdb.threads/kill.exp: New file.
9880 2014-07-10 Yao Qi <yao@codesourcery.com>
9882 * gdb.trace/tfile.c (write_basic_trace_file)
9883 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
9884 address written to trace file.
9886 2014-07-09 Pedro Alves <palves@redhat.com>
9888 * gdb.base/attach-wait-input.exp: New file.
9889 * gdb.base/attach-wait-input.c: New file.
9891 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9893 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
9894 setting up test structures.
9895 (main): Call new test function.
9896 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
9897 test function, continue into test function and walk test
9900 2014-07-02 Yao Qi <yao@codesourcery.com>
9902 * gdb.trace/entry-values.c: Define labels 'foo_start' and
9903 'bar_start' at the beginning of functions 'foo' and 'bar'
9905 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
9906 instead of 'foo' and 'bar'.
9908 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
9910 * gdb.btrace/segv.exp: New.
9911 * gdb.btrace/segv.c: New.
9913 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
9915 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
9918 2014-06-30 Mark Wielaard <mjw@redhat.com>
9920 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
9921 vulture, vilify, villar): New volatile array constants.
9922 (vindictive, vegetation): New const volatile array constants.
9923 * gdb.base/volatile.exp: Test volatile and const volatile array
9926 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9928 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
9929 target lacks support for awatch, rwatch, or hbreak.
9931 2014-06-27 Yao Qi <yao@codesourcery.com>
9933 * gdb.multi/dummy-frame-restore.exp: New.
9934 * gdb.multi/dummy-frame-restore.c: New.
9936 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
9938 * gdb.btrace/gcore.exp: New.
9940 2014-06-23 Pedro Alves <palves@redhat.com>
9942 * gdb.base/watchpoint-reuse-slot.c: New file.
9943 * gdb.base/watchpoint-reuse-slot.exp: New file.
9945 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
9947 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
9948 progspace's filename in 'info', 'enable' and 'disable' command
9951 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9953 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
9954 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
9955 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
9957 2014-06-20 Gary Benson <gbenson@redhat.com>
9959 * gdb.arch/i386-avx.exp: Fix include file location.
9960 * gdb.arch/i386-sse.exp: Likewise.
9962 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
9964 * gdb.dlang/expression.exp: New file.
9966 2014-06-19 Pedro Alves <palves@redhat.com>
9968 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
9970 (top level): ... here. Iterate running tests under different
9971 scheduler-locking settings.
9973 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
9975 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
9976 to DW_FORM_addr and use non-zero addresses.
9978 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
9981 * gdb.python/py-xmethods.cc: Add global function call counters and
9982 increment them in their respective functions. Remove "cout"
9984 * gdb.python/py-xmethods.exp: Make tests check the global function
9985 call counters instead of depending on inferior IO.
9987 2014-06-18 Don Breazeal <donb@codesourcery.com>
9989 * gdb.base/foll-fork.exp (default_fork_parent_follow):
9991 (explicit_fork_parent_follow): Deleted procedure.
9992 (explicit_fork_child_follow): Deleted procedure.
9993 (test_follow_fork): New procedure.
9994 (do_fork_tests): Replace calls to deleted procedures with
9995 calls to test_follow_fork and reset GDB for subsequent
9998 2014-06-17 Yao Qi <yao@codesourcery.com>
10000 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
10003 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
10005 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
10006 Initialize ptr and S explicitly.
10007 (skip_type_update_when_not_use_rtti_test): Likewise.
10009 2014-06-16 Keith Seitz <keiths@redhat.com>
10012 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
10013 the inferior is started.
10015 2014-06-16 Pedro Alves <palves@redhat.com>
10017 * gdb.base/break-main-file-remove-fail.c: New file.
10018 * gdb.base/break-main-file-remove-fail.exp: New file.
10019 * gdb.base/break-unload-file.exp: Use build_executable instead of
10020 prepare_for_testing.
10021 (test_break): New parameter "initial_load". Handle it.
10022 (top level): Add initial_load cmdline/file axis.
10024 2014-06-12 Tom Tromey <tromey@redhat.com>
10026 * gdb.base/completion.exp: Don't use directory name in test.
10028 2014-06-09 Gary Benson <gbenson@redhat.com>
10030 * gdb.base/sigall.c [Functions to send signals]: Reorder to
10031 separate the always-available ANSI-standard signals from the
10032 signals that require checking.
10034 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
10038 2014-06-07 Keith Seitz <keiths@redhat.com>
10042 * gdb.cp/var-tag.cc: New file.
10043 * gdb.cp/var-tag.exp: New file.
10044 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10045 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10046 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10047 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10049 2014-06-06 Doug Evans <xdje42@gmail.com>
10051 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
10053 2014-06-06 Pedro Alves <palves@redhat.com>
10055 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
10056 in target debug output instead of looking at RSP packets,
10057 disabling the test on any target that uses hardware stepping.
10060 2014-06-06 Pedro Alves <palves@redhat.com>
10062 * gdb.base/break-unload-file.exp: Fix typo.
10064 2014-06-06 Yao Qi <yao@codesourcery.com>
10066 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
10067 from "jit_function" to "^jit_function".
10069 2014-06-06 Yao Qi <yao@codesourcery.com>
10071 * gdb.base/async.c (foo): Add one statement.
10072 * gdb.base/async.exp: Get the next instruction address and
10073 match the output of "nexti" by instruction address. Match
10074 the hex address in the output of "finish".
10076 2014-06-06 Gary Benson <gbenson@redhat.com>
10078 * gdb.base/call-signals.c: Remove preprocessor conditionals
10079 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
10080 SIGSEGV and SIGTERM.
10081 * gdb.base/sigall.c: Likewise.
10082 * gdb.base/unwindonsignal.c: Likewise.
10083 * gdb.reverse/sigall-reverse.c: Likewise.
10085 2014-06-06 Yao Qi <yao@codesourcery.com>
10087 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
10088 readable, skip the test.
10090 2014-06-06 Yao Qi <yao@codesourcery.com>
10092 * gdb.threads/staticthreads.c (thread_function): Move the line
10093 setting breakpoint on forward.
10094 * gdb.threads/staticthreads.exp: Update comments.
10096 2014-06-05 Ludovic Courtès <ludo@gnu.org>
10098 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
10099 "history-append! type error".
10101 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
10103 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
10104 erroneous dprintf expected input.
10106 2014-06-04 Doug Evans <xdje42@gmail.com>
10108 * gdb.guile/scm-generics.exp: Delete.
10110 2014-06-04 Doug Evans <xdje42@gmail.com>
10112 * gdb.guile/scm-breakpoint.exp: Update.
10113 Add tests for breakpoint registration.
10115 2014-06-04 Tom Tromey <tromey@redhat.com>
10117 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
10119 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
10120 inner_vla_struct, vla_union types. Initialize objects of those
10121 types and compute their sizes.
10123 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
10124 Hui Zhu <hui@codesourcery.com>
10126 * gdb.base/fileio.exp: Add test for shell not available as well as
10128 * gdb.base/fileio.c (test_system): Check for shell twice.
10130 2014-06-04 Yao Qi <yao@codesourcery.com>
10132 * gdb.base/auto-connect-native-target.exp: Remove redundant
10133 space from the regexp pattern.
10135 2014-06-04 Yao Qi <yao@codesourcery.com>
10137 * gdb.base/default.exp: Replace "child" with "native" in
10140 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
10142 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
10143 * gdb.python/py-xmethods.exp: New tests to test xmethods.
10144 * gdb.python/py-xmethods.py: Python script supporting the
10145 new testcase and tests.
10147 2014-06-03 Joel Brobecker <brobecker@adacore.com>
10148 Pedro Alves <palves@redhat.com>
10150 PR breakpoints/17000
10151 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
10152 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
10154 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
10156 * gdb.base/subst.exp: Add tests to verify partial path matching
10159 2014-06-03 Pedro Alves <palves@redhat.com>
10161 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
10162 target that doesn't use software single-stepping.
10164 2014-06-03 Pedro Alves <palves@redhat.com>
10166 PR breakpoints/17000
10167 * gdb.base/sss-bp-on-user-bp-2.c: New file.
10168 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
10170 2014-06-02 Doug Evans <xdje42@gmail.com>
10172 * gdb.guile/scm-parameter.exp: New file.
10174 2014-06-02 Doug Evans <xdje42@gmail.com>
10176 * gdb.guile/scm-cmd.c: New file.
10177 * gdb.guile/scm-cmd.exp: New file.
10179 2014-06-02 Doug Evans <xdje42@gmail.com>
10181 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
10182 pretty-printer lookup.
10183 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
10184 (make-pp_s-printer): Call it.
10185 (make-pretty-printer-from-dict): New function.
10186 (lookup-pretty-printer-maker-from-dict): New function.
10187 (*pretty-printer*): Simplify.
10188 (make-objfile-pp_s-printer): New function.
10189 (install-objfile-pretty-printers!): New function.
10190 (make-progspace-pp_s-printer): New function.
10191 (install-progspace-pretty-printers!): New function.
10192 * gdb.guile/scm-progspace.c: New file.
10193 * gdb.guile/scm-progspace.exp: New file.
10195 2014-06-02 Pedro Alves <palves@redhat.com>
10197 * gdb.base/dprintf-bp-same-addr.c: New file.
10198 * gdb.base/dprintf-bp-same-addr.exp: New file.
10200 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10202 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
10203 * gdb.arch/powerpc-power.s: Likewise.
10205 2014-06-02 Joel Brobecker <brobecker@adacore.com>
10207 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
10209 2014-06-01 Yao Qi <yao@codesourcery.com>
10211 * gdb.base/watchpoint.exp (test_watch_location): Check null
10212 pointer can be dereferenced. If not, do the test, otherwise
10215 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
10217 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
10219 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
10221 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
10223 * gdb.arch/amd64-invalid-stack-middle.S: New file.
10224 * gdb.arch/amd64-invalid-stack-middle.c: New file.
10225 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
10226 * gdb.arch/amd64-invalid-stack-top.c: New file.
10227 * gdb.arch/amd64-invalid-stack-top.exp: New file.
10229 2014-05-30 Pedro Alves <palves@redhat.com>
10231 PR breakpoints/17000
10232 * gdb.base/sss-bp-on-user-bp.c: New file.
10233 * gdb.base/sss-bp-on-user-bp.exp: New file.
10235 2014-05-30 David Blaikie <dblaikie@gmail.com>
10237 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
10238 gnu_inline semantics via attribute.
10239 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
10240 source explicitly specifies the required semantics.
10242 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
10244 * gdb.reverse/sigall-reverse.exp: Fix a typo.
10246 2014-05-29 Pedro Alves <palves@redhat.com>
10247 Tom Tromey <tromey@redhat.com>
10249 * gdb.base/async-shell.exp: Don't enable target-async.
10250 * gdb.base/async.exp
10251 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
10253 (top level): Don't test with "target-async".
10254 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
10255 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
10256 * gdb.base/inferior-died.exp: Don't enable target-async.
10257 * gdb.base/interrupt-noterm.exp: Likewise.
10258 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
10259 * gdb.mi/mi-nonstop-exit.exp: Likewise.
10260 * gdb.mi/mi-nonstop.exp: Likewise.
10261 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10262 * gdb.mi/mi-nsintrall.exp: Likewise.
10263 * gdb.mi/mi-nsmoribund.exp: Likewise.
10264 * gdb.mi/mi-nsthrexec.exp: Likewise.
10265 * gdb.mi/mi-watch-nonstop.exp: Likewise.
10266 * gdb.multi/watchpoint-multi.exp: Adjust comment.
10267 * gdb.python/py-evsignal.exp: Don't enable target-async.
10268 * gdb.python/py-evthreads.exp: Likewise.
10269 * gdb.python/py-prompt.exp: Likewise.
10270 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
10271 * gdb.server/solib-list.exp: Don't enable target-async.
10272 * gdb.threads/thread-specific-bp.exp: Likewise.
10273 * lib/mi-support.exp: Adjust to use mi-async.
10275 2014-05-29 Pedro Alves <palves@redhat.com>
10278 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
10279 reason, even in sync mode.
10281 2014-05-29 Pedro Alves <palves@redhat.com>
10282 Hui Zhu <hui@codesourcery.com>
10285 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
10286 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
10287 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
10288 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
10290 2014-05-28 Joel Brobecker <brobecker@adacore.com>
10292 * config/monitor.exp (gdb_target_monitor): Replace use of
10293 "set remotebaud" by "set serial baud".
10295 2014-05-26 Andy Wingo <wingo@igalia.com>
10297 * gdb.guile/scm-breakpoint.exp:
10298 * gdb.guile/scm-gsmob.exp: Update to use plain old object
10299 properties instead of gdb-object-properties.
10301 2014-05-26 Yao Qi <yao@codesourcery.com>
10303 * gdb.server/no-thread-db.exp: Specify source file name
10304 explicitly when setting a breakpoint.
10306 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10308 * gdb.btrace/vdso.c: New.
10309 * gdb.btrace/vdso.exp: New.
10311 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10313 * gdb.base/gcore.exp (capture_command_output): Move ...
10314 * lib/gdb.exp (capture_command_output): ... here.
10316 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10318 * gdb.btrace/data.exp: Test memory access during btrace replay.
10320 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
10322 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
10324 2014-05-21 Pedro Alves <palves@redhat.com>
10327 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
10328 (top level): Test that output related to execution commands is
10329 sent to the console with CLI commands, but not with MI commands.
10330 Test that breakpoint events are always mirrored to the console.
10331 Also expect the new source line to be output after a "next" in
10332 async mode too. Make it a pass/fail test.
10333 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
10335 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
10337 2014-05-21 Pedro Alves <palves@redhat.com>
10339 * gdb.base/list.exp (build_pattern, test_list): New procedures.
10340 Use them to test variations of "list" after reaching a breakpoint.
10341 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
10342 Test "list" with listsize 10 after reaching a breakpoint.
10343 * gdb.python/python.exp (decode_line current location line
10344 number): Adjust expected line number.
10346 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
10348 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
10349 behavior for $args, pass it directly to "run".
10351 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
10353 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
10356 2014-05-21 Pedro Alves <palves@redhat.com>
10358 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
10359 auto-connect-native-target off".
10360 * gdb.base/auto-connect-native-target.c: New file.
10361 * gdb.base/auto-connect-native-target.exp: New file.
10363 2014-05-21 Pedro Alves <palves@redhat.com>
10365 * gdb.base/default.exp: Test "target native" instead of "target
10368 2014-05-21 Mark Wielaard <mjw@redhat.com>
10370 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10372 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10374 Fix TLS access for -static -pthread.
10375 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
10376 <HAVE_TLS> (thread_function, main): Initialize it.
10377 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
10379 <$have_tls != "">: Check TLSVAR.
10381 2014-05-21 Pedro Alves <palves@redhat.com>
10383 * gdb.base/dcache-line-read-error.c: New.
10384 * gdb.base/dcache-line-read-error.exp: New.
10386 2014-05-20 Pedro Alves <palves@redhat.com>
10388 * gdb.base/compare-sections.c: New file.
10389 * gdb.base/compare-sections.exp: New file.
10391 2014-05-20 Pedro Alves <palves@redhat.com>
10393 * gdb.base/break-idempotent.c: New file.
10394 * gdb.base/break-idempotent.exp: New file.
10396 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
10398 * gdb.btrace/nohist.exp: New.
10400 2014-05-20 Yao Qi <yao@codesourcery.com>
10402 * lib/gdb.exp (gdb_init): Set timeout if test file is under
10403 gdb.reverse directory and gdb_reverse_timeout exists in board
10405 * README: Document gdb_reverse_timeout.
10407 2014-05-20 Yao Qi <yao@codesourcery.com>
10409 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
10410 'test_file_name'. Treat args as a string instead of a list.
10411 (gdb_init): Rename argument 'args' by 'test_file_name'.
10413 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10415 * gdb.arch/powerpc-power.exp: New file.
10416 * gdb.arch/powerpc-power.s: New file.
10418 2014-05-16 Doug Evans <dje@google.com>
10420 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
10421 * gdb.base/completion.exp: Check that all expected files exist
10422 before doing file completion.
10424 2014-05-16 Doug Evans <dje@google.com>
10426 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
10428 (do_syscall_tests_without_xml): Update.
10430 2014-05-16 Pedro Alves <palves@redhat.com>
10432 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
10433 instead of "unknown output after running".
10435 2014-05-16 Yao Qi <yao@codesourcery.com>
10437 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
10438 file1.txt from host at the end.
10439 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10441 2014-05-15 Doug Evans <dje@google.com>
10443 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
10444 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
10445 loading file. Add test for TU lookup.
10447 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10449 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
10450 calling "-exec-arguments" or "set args" before running the
10453 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10455 * lib/mi-support.exp (mi_expect_stop): Expect message for
10456 inferiors that exit with non-zero exit code.
10458 2014-05-14 Yao Qi <yao@codesourcery.com>
10460 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
10461 match absolute path on remote host.
10462 (test_file_list_exec_source_files): Remove "/" from the
10465 2014-05-14 Yao Qi <yao@codesourcery.com>
10467 * boards/local-remote-host-notty.exp (${board}_file): New
10470 2014-05-07 Kyle McMartin <kyle@redhat.com>
10472 Pushed by Joel Brobecker <brobecker@adacore.com>.
10473 * gdb.arch/aarch64-atomic-inst.c: New file.
10474 * gdb.arch/aarch64-atomic-inst.exp: New file.
10476 2014-05-07 Yao Qi <yao@codesourcery.com>
10478 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
10479 in current context" too.
10481 2014-05-05 Keith Seitz <keiths@redhat.com>
10483 * gdb.linespec/ls-dollar.exp: Add test for linespec
10484 file:convenience_variable.
10486 2014-05-05 Yao Qi <yao@codesourcery.com>
10488 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
10489 traceframes into tfile and ctf trace files. Read data from
10490 trace file and test collected data.
10491 (gdb_collect_locals_test): Likewise.
10492 (gdb_unavailable_registers_test): Likewise.
10493 (gdb_unavailable_floats): Likewise.
10494 (gdb_collect_globals_test): Likewise.
10495 (top-level): Append "ctf" to trace_file_targets if GDB
10498 2014-05-05 Yao Qi <yao@codesourcery.com>
10500 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
10502 (gdb_collect_args_test_1): ... it. New proc.
10503 (gdb_collect_locals_test): Move some code to ...
10504 (gdb_collect_locals_test_1): ... it. New proc.
10505 (gdb_unavailable_registers_test): Move some code to ...
10506 (gdb_unavailable_registers_test_1): ... it. New proc.
10507 (gdb_unavailable_floats): Move some code to ...
10508 (gdb_unavailable_floats_1): ... it. New proc.
10510 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10512 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
10513 probes to test for bitness recognition.
10514 * gdb.arch/amd64-stap-optional-prefix.exp
10515 (test_probe_value_without_reg): New procedure.
10516 Add code to test for different kinds of bitness.
10518 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10520 PR breakpoints/16889
10521 * gdb.arch/amd64-stap-optional-prefix.S: New file.
10522 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10524 2014-05-01 Pedro Alves <palves@redhat.com>
10526 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
10527 gdb_file_cmd if no file is specified.
10528 * boards/native-extended-gdbserver.exp (gdb_load): Use the
10529 last_loaded_file to set the remote exec-file.
10531 2014-05-01 Pedro Alves <palves@redhat.com>
10533 * boards/local-remote-host.exp: New file.
10535 2014-05-01 Pedro Alves <palves@redhat.com>
10537 * boards/local-remote-host.exp: Rename to ...
10538 * boards/local-remote-host-notty.exp: ... this.
10540 2014-04-28 Joel Brobecker <brobecker@adacore.com>
10542 * gdb.ada/dyn_arrayidx: New testcase.
10544 2014-04-26 Yao Qi <yao@codesourcery.com>
10546 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
10547 and compute the length of function main. Save it in
10549 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
10550 (top-level): Use gdb_compile to compile objects into
10551 executable and restart GDB. Remove invocation to
10552 prepare_for_testing.
10554 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
10555 Pedro Alves <palves@redhat.com>
10558 * gdb.multi/multi-attach.c: New file.
10559 * gdb.multi/multi-attach.exp: New file.
10561 2014-04-25 Pedro Alves <palves@redhat.com>
10563 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
10565 (top level): Test that "set remote conditional-breakpoints-packet
10566 off" works as intended.
10567 * gdb.base/dprintf.exp: Test that "set remote
10568 breakpoint-commands-packet off" works as intended.
10569 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
10571 (top level): Call it.
10572 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
10573 remote fast-tracepoints-packet off" works as intended.
10574 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
10575 * lib/gdb.exp (gdb_is_target_remote): ... here.
10577 2014-04-24 David Blaikie <dblaikie@gmail.com>
10579 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
10580 ensure clang would not discard them.
10581 * gdb.base/gdbvars.c: Ditto.
10582 * gdb.base/memattr.c: Ditto.
10583 * gdb.base/whatis.c: Ditto.
10584 * gdb.python/py-prettyprint.c: Ditto.
10585 * gdb.trace/actions.c: Ditto.
10586 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
10587 ensure clang would not discard it.
10589 2014-04-24 David Blaikie <dblaikie@gmail.com>
10591 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
10592 clang to emit the full definition of type required by the test
10593 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
10595 2014-04-24 David Blaikie <dblaikie@gmail.com>
10597 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
10598 coax Clang into emitting the definition of the type.
10599 * gdb.cp/pr10728-x.h (y): Ditto.
10600 * gdb.cp/pr10728-y.cc (y): Ditto.
10602 2014-04-24 David Blaikie <dblaikie@gmail.com>
10604 * gdb.base/label.exp: XFAIL label related tests under Clang.
10605 * gdb.cp/cplabel.exp: Ditto.
10606 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
10607 under Clang those using labels.
10609 2014-04-25 Yao Qi <yao@codesourcery.com>
10611 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
10613 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
10614 partial_label and double_label.
10616 2014-04-24 David Blaikie <dblaikie@gmail.com>
10618 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
10620 2014-04-24 David Blaikie <dblaikie@gmail.com>
10622 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
10623 of the function to work across GCC and Clang.
10624 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
10625 pointer types (const void ** const V void **).
10627 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
10628 Walfred Tedeschi <walfred.tedeschi@intel.com>
10630 * Makefile.in (EXECUTABLES): Added i386-avx512.
10631 * gdb.arch/i386-avx512.c: New file.
10632 * gdb.arch/i386-avx512.exp: Likewise.
10634 2014-04-23 Keith Seitz <keiths@redhat.com>
10636 * lib/mi-support.exp (mi_list_breakpoints): Delete.
10637 (mi_make_breakpoint_table): New procedure.
10638 (mi_create_breakpoint): Use mi_make_breakpoint
10639 and return the result.
10640 (mi_make_breakpoint): New procedure.
10641 (mi_build_kv_pairs): New procedure.
10643 * gdb.mi/mi-break.exp: Remove unused globals,
10644 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
10645 All callers updated.
10646 * gdb.mi/mi-dprintf.exp: Use variable to track command
10648 Update all callers of mi_create_breakpoint and use
10649 mi_make_breakpoint_table.
10650 Remove any unused global variables.
10651 * gdb.mi/mi-nonstop.exp: Likewise.
10652 * gdb.mi/mi-nsintrall.exp: Likewise.
10653 * gdb.mi/mi-nsmoribund.exp: Likewise.
10654 * gdb.mi/mi-nsthrexec.exp: Likewise.
10655 * gdb.mi/mi-reverse.exp: Likewise.
10656 * gdb.mi/mi-simplerun.exp: Likewise.
10657 * gdb.mi/mi-stepn.exp: Likewise.
10658 * gdb.mi/mi-syn-frame.exp: Likewise.
10659 * gdb.mi/mi-until.exp: Likewise.
10660 * gdb.mi/mi-var-cp.exp: Likewise.
10661 * gdb.mi/mi-var-display.exp: Likewise.
10662 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
10663 * gdb.mi/mi2-var-child.exp: Likewise.
10664 * gdb.mi/mi-vla-c99.exp: Likewise.
10665 * lib/mi-support.exp: Likewise.
10667 From Ian Lance Taylor <iant@cygnus.com>:
10668 * lib/gdb.exp (parse_args): New procedure.
10670 2014-04-23 Pedro Alves <palves@redhat.com>
10672 * gdb.base/break-unload-file.c: New file.
10673 * gdb.base/break-unload-file.exp: New file.
10674 * gdb.base/sym-file-lib.c (baz): New function.
10675 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
10677 (load): Store the segment's mapped size.
10678 (unload): New function.
10679 (unload_shlib): New function.
10680 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
10681 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
10682 set a breakpoint at baz, and call it.
10683 * gdb.base/sym-file.exp: New tests for stale breakpoint
10686 2014-04-23 Pedro Alves <palves@redhat.com>
10688 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
10689 * gdb.base/hbreak-in-shr-unsupported.c: New file.
10690 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
10691 * gdb.base/hbreak-unmapped.c: New file.
10692 * gdb.base/hbreak-unmapped.exp: New file.
10693 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
10694 * lib/gdb.exp (gdb_is_target_remote): ... here.
10696 2014-04-22 Pedro Alves <palves@redhat.com>
10698 * gdb.base/consecutive-step-over.c: New file.
10699 * gdb.base/consecutive-step-over.exp: New file.
10701 2014-04-22 Pedro Alves <palves@redhat.com>
10703 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
10704 instead of send_gdb/gdb_expect.
10706 2014-04-22 Yao Qi <yao@codesourcery.com>
10708 * lib/trace-support.exp (generate_tracefile): New procedure.
10709 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
10711 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
10712 if generate_tracefile returns 1.
10714 2014-04-18 Tom Tromey <palves@redhat.com>
10715 Pedro alves <tromey@redhat.com>
10718 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
10719 with a backtrace limit.
10720 * gdb.python/py-frame-inline.exp: Test running to an inline
10721 function with a backtrace limit, and printing the newest frame.
10722 * gdb.python/py-frame-inline.c (main): Call f.
10724 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10726 * gdb.java/jnpe.exp: Drop srcdir from untested path.
10728 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10730 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
10731 Drop prefix from unsupported source file path.
10733 2014-04-17 Yao Qi <yao@codesourcery.com>
10735 * lib/gdb.exp (with_target_charset): New proc.
10736 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10737 with_target_charset.
10738 (test_print_strings): Likewise.
10739 (test_repeat_bytes): Likewise.
10740 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10743 2014-04-16 Keith Seitz <keiths@redhat.com>
10746 * gdb.dwarf2/corrupt.c: New file.
10747 * gdb.dwarf2/corrupt.exp: New file.
10749 2014-04-16 Keith Seitz <keiths@redhat.com>
10752 * gdb.cp/namelessclass.cc: New file.
10753 * gdb.cp/namelessclass.exp: New file.
10754 * gdb.cp/namelessclass.S: New file.
10756 2014-04-16 Doug Evans <dje@google.com>
10758 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10760 (gdbserver_default_get_comm_port): New function.
10761 (gdbserver_start): Check if board file provided
10762 "gdbserver,get_comm_port" and use it if so.
10763 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10764 (gdb,socketport): Set to "stdio".
10765 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10766 (stdio_gdbserver_template): Delete.
10767 (${board}_get_remote_address): Update.
10768 (${board}_build_remote_cmd): Delete.
10769 (${board}_get_comm_port): New function.
10770 (${board}_spawn): Update.
10771 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10773 (${board}_get_remote_address): Update.
10774 (${board}_get_comm_port): New function.
10776 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
10778 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10779 appearing in any order.
10781 2014-04-15 Doug Evans <dje@google.com>
10783 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10784 uninitialized value of "description".
10786 2014-04-15 Keith Seitz <keiths@redhat.com>
10788 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10789 Remove unused globals.
10790 (test_running_the_program): Likewise.
10791 (test_controlled_execution): Likewise.
10792 (test_controlling_breakpoints): Likewise.
10793 (test_program_termination): Likewise.
10795 2014-04-15 Keith Seitz <keiths@redhat.com>
10797 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10799 (test_rbreak_creation_and_listing): Likewise.
10800 (test_ignore_count): Likewise.
10801 (test_error): Likewise.
10803 2014-04-15 Pedro Alves <palves@redhat.com>
10805 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10806 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10808 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10809 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10810 to sym-file-loader.c.
10811 (struct library): Forward declare.
10812 (load_shlib, lookup_function): Change prototypes.
10813 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10814 (translate_offset): Remove declarations.
10815 (get_text_addr): New declaration.
10816 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10817 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10819 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10820 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10821 here from sym-file-loader.h.
10822 (struct library): New structure.
10823 (load_shlib, lookup_function): Change prototypes and adjust to
10824 work with a struct library.
10825 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10826 (translate_offset): Make static.
10827 (get_text_addr): New function.
10828 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
10830 2014-04-15 Pedro Alves <palves@redhat.com>
10832 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
10834 2014-04-15 Pedro Alves <palves@redhat.com>
10836 * gdb.base/sym-file-loader.c: Include <limits.h>.
10837 (SELF_LINK): New define.
10838 (get_origin): New function.
10839 (load_shlib): Use it.
10840 * gdb.base/sym-file.exp: Don't early return if the target is
10841 remote. Use runto_main, and issue fail is that fails. Use
10843 (shlib_name): Delete.
10844 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
10846 2014-04-15 Pedro Alves <palves@redhat.com>
10848 * gdb.base/sym-file.exp: Remove regex characters from test
10849 message. Don't refer to breakpoint numbers in test messages.
10851 2014-04-14 Keith Seitz <keiths@redhat.com>
10854 * gdb.cp/var-tag.cc: New file.
10855 * gdb.cp/var-tag.exp: New file.
10856 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10857 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10858 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10859 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10861 2014-04-14 Tom Tromey <tromey@redhat.com>
10863 * gdb.cp/classes.exp (test_enums): Handle underlying type.
10864 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
10866 * gdb.cp/enum-class.exp: New file.
10867 * gdb.cp/enum-class.cc: New file.
10869 2014-04-14 Tom Tromey <tromey@redhat.com>
10871 * gdb.dwarf2/enum-type.exp: New file.
10873 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10875 * gdb.mi/mi-vla-c99.exp: New file.
10876 * gdb.mi/vla.c: New file.
10878 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10880 * gdb.base/vla-datatypes.c: New file.
10881 * gdb.base/vla-datatypes.exp: New file.
10883 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10885 * gdb.base/vla-ptr.c: New file.
10886 * gdb.base/vla-ptr.exp: New file.
10888 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10890 * gdb.dwarf2/count.exp: New file.
10892 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10894 * gdb.base/vla-sideeffect.c: New file.
10895 * gdb.base/vla-sideeffect.exp: New file.
10897 2014-04-14 David Blaikie <dblaikie@gmail.com>
10899 * gdb.mi/non-stop.c: Add return value for non-void function return
10901 * gdb.threads/staticthreads.c: Ditto.
10903 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
10904 Doug Evans <xdje42@gmail.com>
10906 * gdb.guile/scm-value.c: Improve test case.
10907 * gdb.guile/scm-value.exp: Add new test.
10909 2014-04-11 David Blaikie <dblaikie@gmail.com>
10911 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
10912 override Clang's default.
10914 2014-04-11 Joel Brobecker <brobecker@adacore.com>
10916 Revert the following changes (regressions):
10918 * gdb.base/vla-sideeffect.c: New file.
10919 * gdb.base/vla-sideeffect.exp: New file.
10921 * gdb.dwarf2/count.exp: New file.
10923 * gdb.base/vla-multi.c: New file.
10924 * gdb.base/vla-multi.exp: New file.
10926 * gdb.base/vla-ptr.c: New file.
10927 * gdb.base/vla-ptr.exp: New file.
10929 * gdb.base/vla-datatypes.c: New file.
10930 * gdb.base/vla-datatypes.exp: New file.
10932 * gdb.mi/mi-vla-c99.exp: New file.
10933 * gdb.mi/vla.c: New file.
10935 2014-04-11 Keith Seitz <keiths@redhat.com>
10938 * gdb.cp/cpsizeof.exp: New file.
10939 * gdb.cp/cpsizeof.cc: New file.
10941 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10943 * gdb.mi/mi-vla-c99.exp: New file.
10944 * gdb.mi/vla.c: New file.
10946 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10948 * gdb.base/vla-datatypes.c: New file.
10949 * gdb.base/vla-datatypes.exp: New file.
10951 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10953 * gdb.base/vla-ptr.c: New file.
10954 * gdb.base/vla-ptr.exp: New file.
10956 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10958 * gdb.base/vla-multi.c: New file.
10959 * gdb.base/vla-multi.exp: New file.
10961 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10963 * gdb.dwarf2/count.exp: New file.
10965 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
10967 * gdb.base/vla-sideeffect.c: New file.
10968 * gdb.base/vla-sideeffect.exp: New file.
10970 2014-04-11 Yao Qi <yao@codesourcery.com>
10972 * gdb.base/completion.exp: Check file exists before running tests
10973 on file completion.
10975 2014-04-10 Pedro Alves <palves@redhat.com>
10977 * gdb.base/cond-eval-mode.c: New file.
10978 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
10979 prepare_for_testing to build the new file. Check result of
10981 (test_break, test_watch): New procedures.
10982 (top level): Use them.
10984 2014-04-08 Pierre Muller <muller@sourceware.org>
10986 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
10987 Ctrl-V use for mingw hosts.
10989 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
10991 * gdb.python/py-value.c: Improve test case.
10992 * gdb.python/py-value.exp: Add new test.
10994 2014-04-07 David Blaikie <dblaikie@gmail.com>
10996 * lib/compiler.c: Identify the clang compiler.
10997 * lib/compiler.cc: Ditto.
10999 2014-04-03 Yao Qi <yao@codesourcery.com>
11001 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
11003 2014-04-01 Anton Blanchard <anton@samba.org>
11005 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
11008 2014-04-01 Anton Blanchard <anton@samba.org>
11010 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
11011 prepare_for_testing.
11013 2014-04-01 Anton Blanchard <anton@samba.org>
11015 * gdb.arch/ppc64-atomic-inst.c: Remove.
11016 * gdb.arch/ppc64-atomic-inst.S: New file.
11017 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
11019 2014-03-31 Doug Evans <dje@google.com>
11021 * gdb.base/print-symbol-loading-lib.c: New file.
11022 * gdb.base/print-symbol-loading-main.c: New file.
11023 * gdb.base/print-symbol-loading.exp: New file.
11025 2014-03-31 Yao Qi <yao@codesourcery.com>
11027 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
11029 2014-03-28 Joel Brobecker <brobecker@adacore.com>
11031 * gdb.ada/mi_dyn_arr: New testcase.
11033 2014-03-27 Doug Evans <dje@google.com>
11035 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
11037 2014-03-27 Yao Qi <yao@codesourcery.com>
11039 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
11040 if target is nios2-*-*.
11042 2014-03-26 Yao Qi <yao@codesourcery.com>
11044 * lib/gdb.exp (readline_is_used): New proc.
11045 * gdb.base/completion.exp: Move tests on command complete up.
11046 Skip the rest of tests if readline is not used.
11047 * gdb.ada/complete.exp: Skp the test if readline is not
11049 * gdb.base/filesym.exp: Likewise.
11050 * gdb.base/macscp.exp: Likewise.
11051 * gdb.base/readline-ask.exp: Likewise.
11052 * gdb.base/readline.exp: Likewise.
11053 * gdb.python/py-cmd.exp: Likewise.
11054 * gdb.trace/tfile.exp: Likewise.
11056 2014-03-26 Yao Qi <yao@codesourcery.com>
11058 * gdb.base/macscp.exp: Fix code format issues.
11060 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
11062 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
11063 * gdb.asm/powerpc64le.inc: New file.
11065 2014-03-25 Pedro Alves <palves@redhat.com>
11066 Doug Evans <dje@google.com>
11068 * gdb.base/source-execution.c: New file.
11069 * gdb.base/source-execution.exp: New file.
11070 * gdb.base/source-execution.gdb: New file.
11072 2014-03-24 Doug Evans <dje@google.com>
11074 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
11077 2014-03-24 Hui Zhu <hui@codesourcery.com>
11078 Pedro Alves <palves@redhat.com>
11080 PR breakpoints/16101
11081 * gdb.base/dprintf.exp: Use unsupported rather than changing the
11082 test pass/fail messages. Detect missing support for dprintf when
11083 breakpoints are actually inserted.
11084 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
11085 breakpoints are actually inserted.
11086 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
11089 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11091 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
11093 2014-03-22 Doug Evans <xdje42@gmail.com>
11095 * gdb.python/python.exp (python not supported): Verify multi-line
11096 python command issues an error.
11097 * gdb.guile/guile.exp (guile not supported): Verify multi-line
11098 guile command issues an error.
11100 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
11102 * gdb.threads/thread-specific.exp: Handle the lack of usable
11103 $this_breakpoint and $this_thread.
11105 2014-03-21 Hui Zhu <hui@codesourcery.com>
11107 * gdb.base/attach.exp (do_command_attach_tests): New.
11109 2014-03-20 Tom Tromey <tromey@redhat.com>
11110 Pedro Alves <palves@redhat.com>
11113 * gdb.base/condbreak-call-false.c: New file.
11114 * gdb.base/condbreak-call-false.exp: New file.
11116 2014-03-20 Pedro Alves <palves@redhat.com>
11118 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
11120 (block_signals, unblock_signals): Delete.
11121 (child_function_2, main): Remove references to deleted variable
11124 2014-03-20 Pedro Alves <palves@redhat.com>
11126 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
11127 Use pthread_kill to signal thread 2.
11128 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11129 Adjust to make the test send itself a signal rather than using the
11130 host's "kill" command.
11132 2014-03-20 Pedro Alves <palves@redhat.com>
11134 * gdb.threads/multiple-step-overs.c: New file.
11135 * gdb.threads/multiple-step-overs.exp: New file.
11136 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11137 Adjust expected infrun debug output.
11139 2014-03-20 Pedro Alves <palves@redhat.com>
11141 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
11142 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
11144 2014-03-20 Pedro Alves <palves@redhat.com>
11146 PR breakpoints/7143
11147 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
11148 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
11149 of gdb_test_multiple.
11150 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
11151 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
11153 2014-03-20 Pedro Alves <palves@redhat.com>
11155 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
11156 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
11158 2014-03-19 Pedro Alves <palves@redhat.com>
11160 * gdb.base/async.exp: Remove early return.
11162 2014-03-19 Pedro Alves <palves@redhat.com>
11164 * gdb.base/async.exp (step& tests): Pass explicit test messages.
11166 2014-03-19 Pedro Alves <palves@redhat.com>
11168 * gdb.base/async.exp (test_background): Expect \r\n after
11169 "completed." in the fail pattern.
11171 2014-03-19 Pedro Alves <palves@redhat.com>
11173 * gdb.base/async.exp (test_background): New procedure.
11174 Use it for all background execution command tests.
11176 2014-03-19 Pedro Alves <palves@redhat.com>
11178 * gdb.base/async.exp: Use prepare_for_testing.
11180 2014-03-19 Pedro Alves <palves@redhat.com>
11182 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
11185 2014-03-19 Pedro Alves <palves@redhat.com>
11187 * gdb.base/async.c (main): Add "jump here" and "until here" line
11189 * gdb.base/async.exp (jump_here): New global.
11190 (jump& test): Use it.
11191 (until_here): New global.
11192 (until& test): Use it.
11194 2014-03-19 Pedro Alves <palves@redhat.com>
11196 * gdb.base/async.exp: Don't frob gdb_protocol.
11198 2014-03-18 Doug Evans <xdje42@gmail.com>
11200 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
11201 Fix spelling of exec-done-display.
11203 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
11206 * gdb.base/gdb-sigterm.c: New file.
11207 * gdb.base/gdb-sigterm.exp: New file.
11209 2014-03-18 Pedro Alves <palves@redhat.com>
11212 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
11213 * lib/mi-support.exp (mi_expect_stop): Add special handling for
11216 2014-03-17 Joel Brobecker <brobecker@adacore.com>
11218 * gdb.ada/pckd_arr_ren: New testcase.
11220 2014-03-13 Doug Evans <xdje42@gmail.com>
11223 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
11224 collect after discarding symbols.
11226 2014-03-13 Ludovic Courtès <ludo@gnu.org>
11227 Doug Evans <xdje42@gmail.com>
11229 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
11230 to history survives a gc.
11232 2014-03-13 Pedro Alves <palves@redhat.com>
11234 * gdb.base/default.exp: Don't test "target procfs".
11236 2014-03-13 Pedro Alves <palves@redhat.com>
11238 * gdb.base/default.exp: Update "target child" and "target procfs"
11239 tests to not expect "Unix".
11241 2014-03-12 Tom Tromey <tromey@redhat.com>
11243 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
11244 New procs. Add target-async tests.
11245 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
11246 Add target-async tests.
11248 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11250 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
11251 'func_start' and 'func_end' for the beginning and end of the
11252 function code, respectively.
11253 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
11254 'func_end' instead of 'func' and 'main'.
11256 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11258 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
11259 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
11260 generate the debug info assembler source.
11262 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11264 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
11265 * gdb.dwarf2/arr-subrange.exp: Likewise.
11266 * gdb.dwarf2/dwz.exp: Likewise.
11267 * gdb.dwarf2/method-ptr.exp: Likewise.
11268 * gdb.dwarf2/missing-sig-type.exp: Likewise.
11269 * gdb.dwarf2/subrange.exp: Likewise.
11270 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
11271 * gdb.dwarf2/implptrpiece.exp: Likewise.
11272 * gdb.dwarf2/nostaticblock.exp: Likewise.
11274 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11276 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
11277 directory to absolute path name arguments.
11279 2014-03-10 Joel Brobecker <brobecker@adacore.com>
11281 * gdb.ada/tagged_access: New testcase.
11283 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
11285 * gdb.btrace/data.exp: Update expected output.
11287 2014-03-06 Yao Qi <yao@codesourcery.com>
11289 * gdb.trace/pr16508.exp: New file.
11291 2014-03-05 Pedro Alves <palves@redhat.com>
11294 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
11296 (top level): Adjust to use it. Add tests that exercise breakpoint
11297 interaction with the code-cache.
11299 2014-02-26 Ludovic Courtès <ludo@gnu.org>
11301 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
11302 test for 'history-append!'.
11304 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11306 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
11307 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
11308 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
11309 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
11310 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
11311 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
11313 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11315 * testsuite/gdb.python/py-pp-re-notag.c: New file.
11316 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
11317 * testsuite/gdb.python/py-pp-re-notag.p: New file.
11319 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11321 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
11323 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11325 * gdb.dwarf2/arr-stride.c: New file.
11326 * gdb.dwarf2/arr-stride.exp: New file.
11328 2014-02-26 Pedro Alves <palves@redhat.com>
11330 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
11331 that won't ever trigger. Make sure that GDB reports the correct
11332 breakpoint that caused the stop.
11334 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11337 * gdb.base/auto-load-script: New file.
11338 * gdb.base/auto-load.c: New file.
11339 * gdb.base/auto-load.exp: New file.
11342 * gdb.base/auto-load.exp: Fix out-of-srctree run.
11344 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11346 Fix dw2-icycle.exp -fsanitize=address GDB crash.
11347 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
11349 2014-02-24 Doug Evans <dje@google.com>
11351 * lib/gdb.exp (run_on_host): Log error output if program fails.
11353 2014-02-21 Pedro Alves <palves@redhat.com>
11355 * gdb.threads/step-after-sr-lock.c: Rename to ...
11356 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
11357 * gdb.threads/step-after-sr-lock.exp: Rename to ...
11358 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11361 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
11364 * gdb.arch/amd64-stap-special-operands.exp: New file.
11365 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
11366 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
11367 * gdb.arch/amd64-stap-triplet.S: Likewise.
11368 * gdb.arch/amd64-stap-triplet.c: Likewise.
11370 2014-02-20 Joel Brobecker <brobecker@adacore.com>
11372 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
11373 in .section pseudo-op.
11375 2014-02-20 lin zuojian <manjian2006@gmail.com>
11376 Joel Brobecker <brobecker@adacore.com>
11377 Doug Evans <xdje42@gmail.com>
11380 * gdb.dwarf2/dw2-icycle.S: New file.
11381 * gdb.dwarf2/dw2-icycle.c: New file.
11382 * gdb.dwarf2/dw2-icycle.exp: New file.
11384 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
11386 * gdb.python/py-value-cc.cc: Improve test case to enable testing
11387 operations on gdb.Value objects.
11388 * gdb.python/py-value-cc.exp: Add new test to test operations on
11391 2014-02-18 Doug Evans <dje@google.com>
11393 * Makefile.in (TESTS): New variable.
11394 (expanded_tests, expanded_tests_or_none): New variables
11395 (check-single): Pass $(expanded_tests_or_none) to runtest.
11396 (check-parallel): Only run tests in $(TESTS) if non-empty.
11397 (check/no-matching-tests-found): New rule.
11398 * README: Document TESTS makefile variable.
11400 2014-02-18 Doug Evans <dje@google.com>
11402 * Makefile.in (check-parallel): rm -rf outputs temp.
11404 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11406 Fix "ERROR: no fileid for" in the testsuite.
11407 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
11409 2014-02-12 Doug Evans <dje@google.com>
11411 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
11412 (MISCELLANEOUS): New variable.
11413 (clean): rm -rf $(MISCELLANEOUS).
11414 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
11415 dwp live in the same directory as symlinks, with each symlink pointed
11416 to a differently named file in a different directory.
11418 2014-02-11 Doug Evans <dje@google.com>
11420 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
11421 of Tcl file commands.
11423 2014-02-10 Mark Kettenis <kettenis@gnu.org>
11425 * gdb.threads/step-after-sr-lock.exp: Avoid executing
11426 "kill -SIGUSR1 -1".
11428 2014-02-10 Joel Brobecker <brobecker@adacore.com>
11430 * gdb.ada/tick_length_array_enum_idx: New testcase.
11432 2014-02-10 Doug Evans <xdje42@gmail.com>
11434 * configure.ac (AC_OUTPUT): Add gdb.guile.
11435 * configure: Regenerate.
11436 * lib/gdb-guile.exp: New file.
11437 * lib/gdb.exp (get_target_charset): New function.
11438 * gdb.base/help.exp: Update expected output from "apropos apropos".
11439 * gdb.guile/Makefile.in: New file.
11440 * gdb.guile/guile.exp: New file.
11441 * gdb.guile/scm-arch.c: New file.
11442 * gdb.guile/scm-arch.exp: New file.
11443 * gdb.guile/scm-block.c: New file.
11444 * gdb.guile/scm-block.exp: New file.
11445 * gdb.guile/scm-breakpoint.c: New file.
11446 * gdb.guile/scm-breakpoint.exp: New file.
11447 * gdb.guile/scm-disasm.c: New file.
11448 * gdb.guile/scm-disasm.exp: New file.
11449 * gdb.guile/scm-equal.c: New file.
11450 * gdb.guile/scm-equal.exp: New file.
11451 * gdb.guile/scm-error.exp: New file.
11452 * gdb.guile/scm-error.scm: New file.
11453 * gdb.guile/scm-frame-args.c: New file.
11454 * gdb.guile/scm-frame-args.exp: New file.
11455 * gdb.guile/scm-frame-args.scm: New file.
11456 * gdb.guile/scm-frame-inline.c: New file.
11457 * gdb.guile/scm-frame-inline.exp: New file.
11458 * gdb.guile/scm-frame.c: New file.
11459 * gdb.guile/scm-frame.exp: New file.
11460 * gdb.guile/scm-generics.exp: New file.
11461 * gdb.guile/scm-gsmob.exp: New file.
11462 * gdb.guile/scm-iterator.c: New file.
11463 * gdb.guile/scm-iterator.exp: New file.
11464 * gdb.guile/scm-math.c: New file.
11465 * gdb.guile/scm-math.exp: New file.
11466 * gdb.guile/scm-objfile-script-gdb.in: New file.
11467 * gdb.guile/scm-objfile-script.c: New file.
11468 * gdb.guile/scm-objfile-script.exp: New file.
11469 * gdb.guile/scm-objfile.c: New file.
11470 * gdb.guile/scm-objfile.exp: New file.
11471 * gdb.guile/scm-ports.exp: New file.
11472 * gdb.guile/scm-pretty-print.c: New file.
11473 * gdb.guile/scm-pretty-print.exp: New file.
11474 * gdb.guile/scm-pretty-print.scm: New file.
11475 * gdb.guile/scm-section-script.c: New file.
11476 * gdb.guile/scm-section-script.exp: New file.
11477 * gdb.guile/scm-section-script.scm: New file.
11478 * gdb.guile/scm-symbol.c: New file.
11479 * gdb.guile/scm-symbol.exp: New file.
11480 * gdb.guile/scm-symtab-2.c: New file.
11481 * gdb.guile/scm-symtab.c: New file.
11482 * gdb.guile/scm-symtab.exp: New file.
11483 * gdb.guile/scm-type.c: New file.
11484 * gdb.guile/scm-type.exp: New file.
11485 * gdb.guile/scm-value-cc.cc: New file.
11486 * gdb.guile/scm-value-cc.exp: New file.
11487 * gdb.guile/scm-value.c: New file.
11488 * gdb.guile/scm-value.exp: New file.
11489 * gdb.guile/source2.scm: New file.
11490 * gdb.guile/types-module.cc: New file.
11491 * gdb.guile/types-module.exp: New file.
11493 2014-02-10 Yao Qi <yao@codesourcery.com>
11496 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
11497 * configure: Regenerated.
11498 * Makefile.in: New file.
11500 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11502 * gdb.python/py-framefilter.exp: Fix typo.
11504 2014-02-08 Yao Qi <yao@codesourcery.com>
11506 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
11507 that no =breakpoint-modified is emitted when breakpoints are
11508 modified through MI commands.
11510 2014-02-07 Pedro Alves <pedro@codesourcery.com>
11511 Pedro Alves <palves@redhat.com>
11513 * gdb.threads/step-after-sr-lock.c: New file.
11514 * gdb.threads/step-after-sr-lock.exp: New file.
11516 2014-02-07 Pedro Alves <palves@redhat.com>
11518 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
11520 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11522 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
11523 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
11525 2014-02-06 Doug Evans <xdje42@gmail.com>
11527 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
11530 * gdb.gdb/python-interrupts.exp: New file.
11532 2014-02-05 Yao Qi <yao@codesourcery.com>
11534 * gdb.trace/report.exp (use_collected_data): Test the output
11535 of "info threads" and "info inferiors".
11537 2014-02-05 Yao Qi <yao@codesourcery.com>
11541 2013-05-24 Yao Qi <yao@codesourcery.com>
11543 * gdb.trace/tfile.exp: Test inferior and thread.
11545 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11547 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
11549 * gdb.base/step-bt.c: Call hello via function pointer to make
11550 sure its first instruction is executed on powerpc64le-linux.
11552 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11554 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
11556 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11558 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
11559 of the test patterns for use on little-endian systems.
11561 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11563 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
11564 (decimal_vector): Fix for little-endian.
11566 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11568 * gdb.arch/sparc-sysstep.exp: New file.
11569 * gdb.arch/sparc-sysstep.c: Likewise.
11571 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
11573 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11575 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
11577 2014-01-23 Tom Tromey <tromey@redhat.com>
11579 * gdb.ada/array_char_idx: New testcase.
11581 2014-01-23 Tom Tromey <tromey@redhat.com>
11584 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
11585 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
11588 2014-01-23 Tom Tromey <tromey@redhat.com>
11591 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
11592 string from an inferior frame.
11593 * gdb.python/py-framefilter-mi.exp: Update.
11595 2014-01-22 Doug Evans <dje@google.com>
11597 * gdb.server/server-mon.exp: Add tests for "set debug-format".
11599 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11601 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
11603 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11605 * gdb.trace/entry-values.exp: Remove excess space character from
11606 regex patterns. Handle s390 call instruction.
11608 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11610 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
11611 define "*_start" label. Make "name" static.
11612 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
11613 ${name} by references to ${name}_start.
11615 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11617 * gdb.base/info-macros.exp: Remove "debug" from the compile
11620 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11622 * gdb.dlang/demangle.exp: New file.
11624 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11626 * gdb.dlang/primitive-types.exp: New file.
11628 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11630 * configure.ac: Create gdb.dlang/Makefile.
11631 * configure: Regenerate.
11632 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
11633 * gdb.dlang/Makefile.in: New file.
11634 * lib/d-support.exp: New file.
11635 * lib/gdb.exp (skip_d_tests): New proc.
11637 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11639 * gdb.btrace/delta.exp: Check reverse stepi.
11640 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
11641 * gdb.btrace/finish.exp: New.
11642 * gdb.btrace/next.exp: New.
11643 * gdb.btrace/nexti.exp: New.
11644 * gdb.btrace/record_goto.c: Add comments.
11645 * gdb.btrace/step.exp: New.
11646 * gdb.btrace/stepi.exp: New.
11647 * gdb.btrace/multi-thread-step.c: New.
11648 * gdb.btrace/multi-thread-step.exp: New.
11649 * gdb.btrace/rn-dl-bind.c: New.
11650 * gdb.btrace/rn-dl-bind.exp: New.
11651 * gdb.btrace/data.c: New.
11652 * gdb.btrace/data.exp: New.
11653 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11655 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11657 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
11658 * gdb.btrace/exception.exp: Update.
11659 * gdb.btrace/instruction_history.exp: Update.
11660 * gdb.btrace/record_goto.exp: Update.
11661 * gdb.btrace/tailcall.exp: Update.
11662 * gdb.btrace/unknown_functions.exp: Update.
11663 * gdb.btrace/delta.exp: New.
11665 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11667 * gdb.btrace/record_goto.exp: Add backtrace test.
11668 * gdb.btrace/tailcall.exp: Add backtrace test.
11670 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11672 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
11673 * gdb.btrace/record_goto.c: New.
11674 * gdb.btrace/record_goto.exp: New.
11675 * gdb.btrace/x86-record_goto.S: New.
11677 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11679 * gdb.btrace/function_call_history.exp: Update tests.
11680 * gdb.btrace/instruction_history.exp: Update tests.
11682 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11684 * gdb.btrace/function_call_history.exp: Fix expected field
11685 order for "record function-call-history".
11686 Add new tests for "record function-call-history /c".
11687 * gdb.btrace/exception.cc: New.
11688 * gdb.btrace/exception.exp: New.
11689 * gdb.btrace/tailcall.exp: New.
11690 * gdb.btrace/x86-tailcall.S: New.
11691 * gdb.btrace/x86-tailcall.c: New.
11692 * gdb.btrace/unknown_functions.c: New.
11693 * gdb.btrace/unknown_functions.exp: New.
11694 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11696 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11698 * gdb.btrace/instruction_history.exp: Update.
11699 * gdb.btrace/function_call_history.exp: Update.
11701 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11703 * gdb.btrace/function_call_history.exp: Fix expected function
11705 * gdb.btrace/instruction_history.exp: Initialize traced.
11706 Remove traced_functions.
11708 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11710 * gdb.btrace/function_call_history.exp: Update
11711 * gdb.btrace/instruction_history.exp: Update.
11713 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11715 * gdb.btrace/enable.exp: Update expected text.
11717 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
11719 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
11722 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
11724 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
11726 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11728 * lib/gdb.exp (supports_process_record): Return true for
11729 arm*-linux*. (supports_reverse): Likewise.
11731 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11735 * gdb.python/py-type.c: Enhance test case.
11736 * gdb.python/py-value-cc.cc: Likewise
11737 * gdb.python/py-type.exp: Add new tests.
11738 * gdb.python/py-value-cc.exp: Likewise
11740 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11741 Pedro Alves <palves@redhat.com>
11743 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11744 Make "name" extern.
11745 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11746 references to ${name}_start by references to ${name}.
11748 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11750 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11752 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11754 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11756 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11757 Pedro Alves <palves@redhat.com>
11759 * gdb.mi/mi-info-os.exp: Connect to the target with
11760 mi_gdb_target_load.
11762 2014-01-08 Pedro Alves <palves@redhat.com>
11764 * gdb.threads/reconnect-signal.c: New file.
11765 * gdb.threads/reconnect-signal.exp: New file.
11767 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11769 * gdb.base/source-dir.exp: New file.
11771 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11773 * gdb.ada/mi_interface: New testcase.
11775 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11777 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11778 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11779 gdb.ada/pp-rec-component/pck.ads: New files.
11781 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11783 * gdb.python/py-pp-integral.c: New file.
11784 * gdb.python/py-pp-integral.py: New file.
11785 * gdb.python/py-pp-integral.exp: New file.
11787 For older changes see ChangeLog-1993-2013.
11789 ;; Local Variables:
11790 ;; mode: change-log
11793 ;; version-control: never
11796 Copyright 2014-2017 Free Software Foundation, Inc.
11797 Copying and distribution of this file, with or without modification,
11798 are permitted provided the copyright notice and this notice are preserved.