1 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3 * lib/gdb.exp (universal_compile_options): New caching proc.
4 (gdb_compile): Suppress GCC's coloring of messages.
6 2017-08-14 Tom Tromey <tom@tromey.com>
9 * gdb.base/printcmds.exp (test_radices): New function.
10 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
11 * gdb.base/sizeof.exp (check_valueof): Use p/d.
12 * lib/gdb.exp (get_integer_valueof): Use p/d.
14 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
16 * lib/gdb.exp (get_valueof): Don't capture end-of-line
19 2017-08-05 Tom Tromey <tom@tromey.com>
21 * gdb.rust/simple.exp: Allow String to appear in a different
24 2017-07-26 Yao Qi <yao.qi@linaro.org>
26 * gdb.gdb/unittest.exp: Invoke command
27 "maintenance check xml-descriptions".
29 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
31 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
33 (hex128): Drop erroneous calculation of parameters.
35 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
37 * gdb.python/py-unwind.exp: Disable stack protection when
40 2017-07-20 Pedro Alves <palves@redhat.com>
42 * gdb.base/default.exp (set language): Adjust expected output.
44 2017-07-20 Pedro Alves <palves@redhat.com>
46 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
47 (test_minsym): ... this, and make static.
48 (get_pck__foo__bar__minsym): Rename to ...
49 (get_test_minsym): ... this.
50 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
51 symbol names and comments.
52 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
53 (get_test_minsym): ... this.
54 (pck__foo__bar__minsym__2): Rename to ...
55 (test_minsym): ... this.
58 2017-07-17 Pedro Alves <palves@redhat.com>
60 * gdb.base/completion.exp: Adjust expected output.
61 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
64 2017-07-17 Pedro Alves <palves@redhat.com>
66 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
68 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
70 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
72 2017-07-14 Tom Tromey <tom@tromey.com>
75 * gdb.rust/simple.exp: Add tests.
77 2017-07-14 Tom Tromey <tom@tromey.com>
79 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
81 2017-07-14 Pedro Alves <palves@redhat.com>
83 * gdb.linespec/base/one/thefile.cc (z1): New function.
84 * gdb.linespec/base/two/thefile.cc (z2): New function.
85 * gdb.linespec/linespec.exp: Add tests.
87 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
89 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
90 to mi_create_breakpoint.
92 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
94 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
97 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
99 * gdb.dlang/demangle.exp: Update for demangling changes.
101 2017-07-09 Tom Tromey <tom@tromey.com>
103 * gdb.dwarf2/shortpiece.exp: New file.
105 2017-07-06 David Blaikie <dblaikie@gmail.com>
107 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
108 built from fissiont-multi-cu{1,2}.c.
109 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
110 except putting 'main' and 'func' in separate CUs in the same DWO file.
111 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
113 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
116 2017-07-06 Pedro Alves <palves@redhat.com>
118 * gdb.python/py-unwind.exp: Test flushregs.
120 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
123 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
124 tests for alias commands and trailing whitespace.
126 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
129 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
132 2017-06-29 Pedro Alves <palves@redhat.com>
134 * gdb.base/printcmds.exp: Add tests.
136 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
139 * gdb.base/reread-readsym.exp: New file.
140 * gdb.base/reread-readsym.c: New file.
142 2017-06-21 Kevin Buettner <kevinb@redhat.com>
144 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
147 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
149 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
151 * gdb.arch/powerpc-power9.s: Likewise.
153 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
155 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
156 on 32-bit x86 targets. Exploit is_*_target macros where
159 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
161 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
164 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
166 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
167 located in one or more DWARF pieces.
169 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
171 * lib/gdb.exp (get_endianness): New proc.
172 * gdb.arch/aarch64-fp.exp: Use it.
173 * gdb.arch/altivec-regs.exp: Likewise.
174 * gdb.arch/e500-regs.exp: Likewise.
175 * gdb.arch/vsx-regs.exp: Likewise.
176 * gdb.base/dump.exp: Likewise.
177 * gdb.base/funcargs.exp: Likewise.
178 * gdb.base/gnu_vector.exp: Likewise.
179 * gdb.dwarf2/formdata16.exp: Likewise.
180 * gdb.dwarf2/implptrpiece.exp: Likewise.
181 * gdb.dwarf2/nonvar-access.exp: Likewise.
182 * gdb.python/py-inferior.exp: Likewise.
183 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
185 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
188 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
189 stack value pieces are taken from the LSB end.
191 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
193 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
194 variable at nonzero offset.
196 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
198 * gdb.dwarf2/var-access.c: New file.
199 * gdb.dwarf2/var-access.exp: New test.
200 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
202 2017-06-12 Tom Tromey <tom@tromey.com>
204 * gdb.dwarf2/formdata16.exp: Add tests.
206 2017-06-12 Tom Tromey <tom@tromey.com>
208 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
210 2017-06-12 Tom Tromey <tom@tromey.com>
213 * gdb.reverse/i386-sse-reverse.exp: Update tests.
214 * gdb.arch/vsx-regs.exp: Update tests.
215 * gdb.arch/s390-vregs.exp (hex128): New proc.
217 * gdb.arch/altivec-regs.exp: Update tests.
219 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
221 * gdb.base/startup-with-shell.c: New file.
222 * gdb.base/startup-with-shell.exp: Likewise.
224 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
226 * gdb.server/non-existing-program.exp: Update regex in order to
227 reflect the fact that gdbserver is now using fork_inferior (with a
228 shell) to startup the inferior.
230 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
232 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
233 support function calls from GDB.
235 2017-05-21 Tom Tromey <tom@tromey.com>
238 * gdb.rust/unsized.exp: New file.
239 * gdb.rust/unsized.rs: New file.
241 2017-05-19 Tom Tromey <tom@tromey.com>
244 * gdb.rust/watch.exp: New file.
245 * gdb.rust/watch.rs: New file.
247 2017-05-18 Tom Tromey <tom@tromey.com>
249 * gdb.rust/simple.exp: Allow Box to be qualified.
251 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
253 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
255 2017-05-18 Pedro Alves <palves@redhat.com>
257 * gdb.base/fileio.c (test_write, test_read, test_close)
258 (test_fstat): Don't print 'ret' in the fail path.
260 2017-05-18 Pedro Alves <palves@redhat.com>
262 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
263 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
264 (test_system, test_rename, test_unlink, test_time): Change
266 * gdb.base/fileio.exp (stop_msg): Adjust.
268 2017-05-18 Pedro Alves <palves@redhat.com>
270 * gdb.base/fileio.c (null_str): New global.
272 * gdb.base/fileio.exp: Remove nowarnings.
274 2017-05-17 Yao Qi <yao.qi@linaro.org>
276 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
278 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
280 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
282 (top-level): Invoke test_set_inferior_tty.
284 2017-05-04 Pedro Alves <palves@redhat.com>
286 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
287 Add parens to print call for Python 3.
289 2017-05-03 Keith Seitz <keiths@redhat.com>
291 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
294 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
296 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
299 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
301 * gdb.python/py-record-btrace.exp: Remove test for
302 gdb.BtraceInstruction.error.
304 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
306 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
308 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
310 * gdb.python/py-record-btrace-threads.c: New file.
311 * gdb.python/py-record-btrace-threads.exp: New file.
313 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
316 * gdb.base/environ.exp: Make test available in all architectures.
317 Move bits related to "info program" testing to
318 gdb.base/info-program.exp. Rewrite tests to use the two new
319 procedures mentione below.
320 (test_set_show_env_var) New procedure.
321 (test_set_show_env_var_equal): Likewise.
322 * gdb.base/info-program.exp: New file.
324 2017-04-27 Keith Seitz <keiths@redhat.com>
326 * gdb.cp/oranking.cc (test15): New function.
327 (main): Call test15 and declare additional variables for testing.
328 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
329 "p foo101('abc')" tests.
330 Add tests for cv qualifier overloads.
331 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
332 "lvalue reference overload" test.
333 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
334 "print value of f1 on Child&& in f2" test.
336 2017-04-19 Pedro Alves <palves@redhat.com>
338 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
340 (top level): Call it.
341 * lib/gdb.exp (gdb_define_cmd): New procedure.
343 2017-04-12 Pedro Alves <palves@redhat.com>
346 * gdb.cp/wide_char_types.c: Include <wchar.h>.
348 * gdb.cp/wide_char_types.exp (wide_char_types_program)
349 (do_test_wide_char, wide_char_types_no_program, top level): Add
352 2017-04-12 Pedro Alves <palves@redhat.com>
355 * gdb.cp/wide_char_types.c: New file.
356 * gdb.cp/wide_char_types.exp: New file.
358 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
361 * gdb.trace/tsv.exp: Add test for "tsave -r".
363 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
365 * gdb.dlang/watch-loc.c: New file.
366 * gdb.dlang/watch-loc.exp: New file.
368 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
370 * gdb.python/py-section-script.exp (sepdebug): New testcases.
372 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
374 * gdb.arch/arc-analyze-prologue.S: New file.
375 * gdb.arch/arc-analyze-prologue.exp: Likewise.
377 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
379 * gdb.arch/arc-decode-insn.S: New file.
380 * gdb.arch/arc-decode-insn.exp: Likewise.
382 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
385 * gdb.arch/sparc64-regs.exp: New file.
386 * gdb.arch/sparc64-regs.S: Likewise.
388 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
390 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
391 and memory view on Python 3.
393 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
394 Keith Seitz <keiths@redhat.com>
397 * gdb.cp/demangle.exp: Add rvalue reference tests.
398 * gdb.cp/rvalue-ref-casts.cc: New file.
399 * gdb.cp/rvalue-ref-casts.exp: New file.
400 * gdb.cp/rvalue-ref-overload.cc: New file.
401 * gdb.cp/rvalue-ref-overload.exp: New file.
402 * gdb.cp/rvalue-ref-params.cc: New file.
403 * gdb.cp/rvalue-ref-params.exp: New file.
404 * gdb.cp/rvalue-ref-sizeof.cc: New file.
405 * gdb.cp/rvalue-ref-sizeof.exp: New file.
406 * gdb.cp/rvalue-ref-types.cc: New file.
407 * gdb.cp/rvalue-ref-types.exp: New file.
408 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
409 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
411 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
413 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
416 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
418 * lib/mi-support.exp (mi_gdb_test): Add additional message
419 for unexpected output.
421 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
423 * gdb.base/examine-backward.c (Barrier): New character array
424 constant, to ensure that TestStrings is preceded by a string
427 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
429 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
430 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
431 and implicit pointer into such a location.
433 2017-03-16 Doug Evans <dje@google.com>
435 * gdb.python/py-lazy-string (pointer): Really add new typedef.
437 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
439 * gdb.cp/m-static.exp: Fix expectation for prototype of
440 test5.single_constructor and single_constructor::single_constructor.
442 2017-03-16 Doug Evans <dje@google.com>
444 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
445 * gdb.guile/scm-lazy-string.c: New file.
446 * gdb.guile/scm-value.exp: Move lazy string tests to ...
447 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
448 for pointer, array, typedef lazy strings.
450 2017-03-16 Doug Evans <dje@google.com>
452 PR python/17728, python/18439, python/18779
453 * gdb.python/py-value.c (main) Delete locals sptr, sn.
454 * gdb.python/py-lazy-string.c (pointer): New typedef.
455 (main): New locals ptr, array, typedef_ptr.
456 * gdb.python/py-value.exp: Move lazy string tests to ...
457 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
458 array, typedef lazy strings.
460 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
462 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
463 Add optional 'test' parameter.
465 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
467 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
468 Skip for versions of DejaGnu < 1.5.
470 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
472 * lib/gdb.exp (dejagnu_version): New proc.
473 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
476 2017-03-10 Keith Seitz <keiths@redhat.com>
479 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
480 type from destructor regexps.
481 Add a branch which actually passes the test.
482 Adjust "ptype t5i" test names.
484 2017-03-08 Pedro Alves <palves@redhat.com>
486 * gdb.base/step-over-exit.exp: Add explicit test message.
488 2017-03-08 Pedro Alves <palves@redhat.com>
491 * gdb.threads/interrupt-while-step-over.c: New file.
492 * gdb.threads/interrupt-while-step-over.exp: New file.
494 2017-03-08 Pedro Alves <palves@redhat.com>
496 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
497 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
499 2017-03-08 Pedro Alves <palves@redhat.com>
501 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
502 PKRU as not supported as a PASS.
504 2017-03-08 Pedro Alves <palves@redhat.com>
506 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
507 prefix instead of $binfile1/$binfile2.
508 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
510 * gdb.python/py-completion.exp: Use "load python file" as test
511 messages instead of unstable path names.
513 2017-03-08 Pedro Alves <palves@redhat.com>
514 Jan Kratochvil <jan.kratochvil@redhat.com>
517 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
519 (top level): Call it.
521 2017-03-08 Pedro Alves <palves@redhat.com>
524 * gdb.tui/tui-nl-filtered-output.exp: New file.
526 2017-03-08 Pedro Alves <palves@redhat.com>
528 * gdb.base/completion.exp: Move TUI completion tests to ...
529 * gdb.tui/completion.exp: ... this new file.
531 2017-03-08 Pedro Alves <palves@redhat.com>
533 * gdb.base/tui-disasm-long-lines.c,
534 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
535 gdb.base/tui-layout.exp: Move to ...
536 * gdb.tui/: ... this new directory.
538 2017-03-07 Pedro Alves <palves@redhat.com>
540 * gdb.base/tui-layout.c: New file.
541 * gdb.base/tui-layout.exp: New file.
543 2017-03-07 Pedro Alves <palves@redhat.com>
545 * gdb.base/tui-layout.c: Rename to ...
546 * gdb.base/tui-disasm-long-lines.c: ... this.
547 * gdb.base/tui-layout.exp: Rename to ...
548 * gdb.base/tui-disasm-long-lines.exp: ... this.
550 2017-03-07 Pedro Alves <palves@redhat.com>
552 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
554 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
556 * i386-mpx-call.c: New file.
557 * i386-mpx-call.exp: New file.
559 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
561 * gdb.arch/powerpc-power.exp: Delete test.
562 * gdb.arch/powerpc-power.s: Likewise.
563 * gdb.disasm/disassembler-options.exp: New test.
564 * gdb.arch/powerpc-altivec.exp: Likewise.
565 * gdb.arch/powerpc-altivec.s: Likewise.
566 * gdb.arch/powerpc-altivec2.exp: Likewise.
567 * gdb.arch/powerpc-altivec2.s: Likewise.
568 * gdb.arch/powerpc-altivec3.exp: Likewise.
569 * gdb.arch/powerpc-altivec3.s: Likewise.
570 * gdb.arch/powerpc-power7.exp: Likewise.
571 * gdb.arch/powerpc-power7.s: Likewise.
572 * gdb.arch/powerpc-power8.exp: Likewise.
573 * gdb.arch/powerpc-power8.s: Likewise.
574 * gdb.arch/powerpc-power9.exp: Likewise.
575 * gdb.arch/powerpc-power9.s: Likewise.
576 * gdb.arch/powerpc-vsx.exp: Likewise.
577 * gdb.arch/powerpc-vsx.s: Likewise.
578 * gdb.arch/powerpc-vsx2.exp: Likewise.
579 * gdb.arch/powerpc-vsx2.s: Likewise.
580 * gdb.arch/powerpc-vsx3.exp: Likewise.
581 * gdb.arch/powerpc-vsx3.s: Likewise.
582 * gdb.arch/arm-disassembler-options.exp: Likewise.
583 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
584 * gdb.arch/s390-disassembler-options.exp: Likewise.
586 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
588 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
589 (check_supported_features): ... this. Changed return type to void.
590 (supports_rdseed): New static global.
591 (rdseed): Check supports_rdseed.
592 (initialize): Call check_supported_features.
594 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
596 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
597 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
599 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
600 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
602 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
604 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
607 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
609 * gdb.dwarf2/formdata16.c: New file.
610 * gdb.dwarf2/formdata16.exp: New file.
611 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
613 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
615 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
616 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
617 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
618 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
621 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
623 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
625 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
628 * gdb.base/maint.exp: Add testcases for when the commands do
631 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
633 * gdb.cp/chained-calls.exp: Use p instead of P.
635 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
637 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
638 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
640 2017-02-14 Tom Tromey <tom@tromey.com>
643 * gdb.python/py-events.exp: Add before_prompt event tests.
645 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
647 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
649 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
651 * gdb.linespec/explicit.c (my_unique_function_name): New function.
652 (main): Call my_unique_function_name.
653 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
654 completion of patterns with a single match.
655 Add missing -re switches to gdb_test_multiple calls.
657 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
659 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
660 return if core file is not recognized.
662 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
664 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
667 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
669 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
672 2017-02-10 Tom Tromey <tom@tromey.com>
674 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
676 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
679 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
681 2017-02-08 Jerome Guitton <guitton@adacore.com>
683 * gdb.base/define.exp: Add test for command abbreviations
686 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
688 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
689 * gdb.reverse/insn-reverse-x86.c: New file.
691 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
694 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
696 2017-02-03 Tom Tromey <tom@tromey.com>
699 * gdb.rust/simple.exp: Add new tests.
701 2017-02-02 Pedro Alves <palves@redhat.com>
703 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
706 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
708 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
709 taking a 2-byte value out of a 4-byte DWARF implicit value on
711 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
712 logic. Add test cases for DW_OP_implicit.
714 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
716 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
718 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
720 * gdb.btrace/enable.exp: Call gdb_exit before
721 skip_gdbserver_tests.
723 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
725 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
728 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
730 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
732 * gdb.btrace/data.exp: Likewise.
733 * gdb.btrace/delta.exp: Likewise.
734 * gdb.btrace/dlopen.exp: Likewise.
735 * gdb.btrace/enable-running.exp: Likewise.
736 * gdb.btrace/enable.exp: Likewise.
737 * gdb.btrace/exception.exp: Likewise.
738 * gdb.btrace/function_call_history.exp: Likewise.
739 * gdb.btrace/gcore.exp: Likewise.
740 * gdb.btrace/instruction_history.exp: Likewise.
741 * gdb.btrace/multi-thread-step.exp: Likewise.
742 * gdb.btrace/nohist.exp: Likewise.
743 * gdb.btrace/non-stop.exp: Likewise.
744 * gdb.btrace/reconnect.exp: Likewise.
745 * gdb.btrace/record_goto-step.exp: Likewise.
746 * gdb.btrace/record_goto.exp: Likewise.
747 * gdb.btrace/rn-dl-bind.exp: Likewise.
748 * gdb.btrace/segv.exp: Likewise.
749 * gdb.btrace/step.exp: Likewise.
750 * gdb.btrace/stepi.exp: Likewise.
751 * gdb.btrace/tailcall-only.exp: Likewise.
752 * gdb.btrace/tailcall.exp: Likewise.
753 * gdb.btrace/tsx.exp: Likewise.
754 * gdb.btrace/unknown_functions.exp: Likewise.
755 * gdb.btrace/vdso.exp: Likewise.
757 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
759 * gdb.btrace/enable-running.c: New.
760 * gdb.btrace/enable-running.exp: New.
762 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
764 * gdb.arch/amd64-gs_base.c: New file.
765 * gdb.arch/amd64-gs_base.exp: New file.
767 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
769 * lib/memory.exp: Remove spurious empty newlines.
771 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
773 * gdb.python/py-bad-printers.exp: Load python file using "source".
774 * gdb.python/py-events.exp: Likewise.
775 * gdb.python/py-evsignal.exp: Likewise.
776 * gdb.python/py-evthreads.exp: Likewise.
777 * gdb.python/py-frame-args.exp: Likewise.
778 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
779 * gdb.python/py-framefilter-mi.exp: Likewise.
780 * gdb.python/py-framefilter.exp: Likewise.
781 * gdb.python/py-mi.exp: Likewise.
782 * gdb.python/py-pp-maint.exp: Likewise.
783 * gdb.python/py-pp-registration.exp: Likewise.
784 * gdb.python/py-prettyprint.exp: Likewise.
785 (run_lang_tests): Likewise.
786 * gdb.python/py-typeprint.exp: Likewise.
788 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
790 * lib/memory.exp: New file.
791 * lib/gdb.exp: Load memory.exp.
792 * gdb.base/memattr.exp (delete_memory): Move proc to
793 lib/memory.exp and rename to delete_memory_regions.
794 Replace delete_memory with delete_memory_regions.
795 Cleanup memory regions before tests.
796 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
799 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
801 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
803 (initialize): New function conditionally defined.
804 (testcases): Move within conditional block.
805 (main): Call initialize.
806 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
807 of gdb.reverse/insn-reverse.c.
808 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
809 gdb.reverse/insn-reverse.c.
811 2017-01-26 Yao Qi <yao.qi@linaro.org>
813 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
814 disassemble on address 0.
816 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
817 Yao Qi <yao.qi@linaro.org>
819 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
820 * gdb.dwarf2/implptr-64bit.S: Remove.
821 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
822 variables in caller's context. Add DW_OP_implicit_value.
824 2017-01-25 Yao Qi <yao.qi@linaro.org>
826 * lib/dwarf.exp (Dwarf::_location): Handle
827 DW_OP_GNU_implicit_pointer with proper size.
829 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
831 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
832 and add untested calls.
834 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
836 * gdb.python/python.exp: Check line number against what GDB thinks
837 the line number is for func1.
839 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
841 * gdb.dlang/debug-expr.exp: New file.
843 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
845 Fix test names for the following files:
847 * gdb.ada/exec_changed.exp
848 * gdb.ada/info_types.exp
849 * gdb.arch/aarch64-atomic-inst.exp
850 * gdb.arch/aarch64-fp.exp
851 * gdb.arch/altivec-abi.exp
852 * gdb.arch/altivec-regs.exp
853 * gdb.arch/amd64-byte.exp
854 * gdb.arch/amd64-disp-step.exp
855 * gdb.arch/amd64-dword.exp
856 * gdb.arch/amd64-entry-value-inline.exp
857 * gdb.arch/amd64-entry-value-param.exp
858 * gdb.arch/amd64-entry-value-paramref.exp
859 * gdb.arch/amd64-entry-value.exp
860 * gdb.arch/amd64-i386-address.exp
861 * gdb.arch/amd64-invalid-stack-middle.exp
862 * gdb.arch/amd64-invalid-stack-top.exp
863 * gdb.arch/amd64-optimout-repeat.exp
864 * gdb.arch/amd64-prologue-skip.exp
865 * gdb.arch/amd64-prologue-xmm.exp
866 * gdb.arch/amd64-stap-special-operands.exp
867 * gdb.arch/amd64-stap-wrong-subexp.exp
868 * gdb.arch/amd64-tailcall-cxx.exp
869 * gdb.arch/amd64-tailcall-noret.exp
870 * gdb.arch/amd64-tailcall-ret.exp
871 * gdb.arch/amd64-tailcall-self.exp
872 * gdb.arch/amd64-word.exp
873 * gdb.arch/arm-bl-branch-dest.exp
874 * gdb.arch/arm-disp-step.exp
875 * gdb.arch/arm-neon.exp
876 * gdb.arch/arm-single-step-kernel-helper.exp
877 * gdb.arch/avr-flash-qualifier.exp
878 * gdb.arch/disp-step-insn-reloc.exp
879 * gdb.arch/e500-abi.exp
880 * gdb.arch/e500-regs.exp
881 * gdb.arch/ftrace-insn-reloc.exp
882 * gdb.arch/i386-avx512.exp
883 * gdb.arch/i386-bp_permanent.exp
884 * gdb.arch/i386-byte.exp
885 * gdb.arch/i386-cfi-notcurrent.exp
886 * gdb.arch/i386-disp-step.exp
887 * gdb.arch/i386-dr3-watch.exp
888 * gdb.arch/i386-float.exp
889 * gdb.arch/i386-gnu-cfi.exp
890 * gdb.arch/i386-mpx-map.exp
891 * gdb.arch/i386-mpx-sigsegv.exp
892 * gdb.arch/i386-mpx-simple_segv.exp
893 * gdb.arch/i386-mpx.exp
894 * gdb.arch/i386-permbkpt.exp
895 * gdb.arch/i386-prologue.exp
896 * gdb.arch/i386-signal.exp
897 * gdb.arch/i386-size-overlap.exp
898 * gdb.arch/i386-unwind.exp
899 * gdb.arch/i386-word.exp
900 * gdb.arch/mips-fcr.exp
901 * gdb.arch/powerpc-d128-regs.exp
902 * gdb.arch/powerpc-stackless.exp
903 * gdb.arch/ppc64-atomic-inst.exp
904 * gdb.arch/s390-stackless.exp
905 * gdb.arch/s390-tdbregs.exp
906 * gdb.arch/s390-vregs.exp
907 * gdb.arch/sparc-sysstep.exp
908 * gdb.arch/thumb-bx-pc.exp
909 * gdb.arch/thumb-singlestep.exp
910 * gdb.arch/thumb2-it.exp
911 * gdb.arch/vsx-regs.exp
912 * gdb.asm/asm-source.exp
913 * gdb.base/a2-run.exp
914 * gdb.base/advance.exp
915 * gdb.base/all-bin.exp
918 * gdb.base/arithmet.exp
919 * gdb.base/async-shell.exp
921 * gdb.base/attach-pie-noexec.exp
922 * gdb.base/attach-twice.exp
923 * gdb.base/auto-load.exp
925 * gdb.base/bitfields.exp
926 * gdb.base/break-always.exp
927 * gdb.base/break-caller-line.exp
928 * gdb.base/break-entry.exp
929 * gdb.base/break-inline.exp
930 * gdb.base/break-on-linker-gcd-function.exp
931 * gdb.base/break-probes.exp
933 * gdb.base/breakpoint-shadow.exp
934 * gdb.base/call-ar-st.exp
935 * gdb.base/call-sc.exp
936 * gdb.base/call-signal-resume.exp
937 * gdb.base/call-strs.exp
938 * gdb.base/callfuncs.exp
939 * gdb.base/catch-fork-static.exp
940 * gdb.base/catch-gdb-caused-signals.exp
941 * gdb.base/catch-load.exp
942 * gdb.base/catch-signal-fork.exp
943 * gdb.base/catch-signal.exp
944 * gdb.base/catch-syscall.exp
945 * gdb.base/charset.exp
946 * gdb.base/checkpoint.exp
947 * gdb.base/chng-syms.exp
948 * gdb.base/code-expr.exp
949 * gdb.base/code_elim.exp
950 * gdb.base/commands.exp
951 * gdb.base/completion.exp
952 * gdb.base/complex.exp
953 * gdb.base/cond-expr.exp
954 * gdb.base/condbreak.exp
955 * gdb.base/consecutive.exp
956 * gdb.base/continue-all-already-running.exp
957 * gdb.base/coredump-filter.exp
958 * gdb.base/corefile.exp
960 * gdb.base/debug-expr.exp
961 * gdb.base/define.exp
963 * gdb.base/disabled-location.exp
964 * gdb.base/disasm-end-cu.exp
965 * gdb.base/disasm-optim.exp
966 * gdb.base/display.exp
967 * gdb.base/duplicate-bp.exp
968 * gdb.base/ena-dis-br.exp
969 * gdb.base/ending-run.exp
970 * gdb.base/enumval.exp
971 * gdb.base/environ.exp
972 * gdb.base/eu-strip-infcall.exp
973 * gdb.base/eval-avoid-side-effects.exp
974 * gdb.base/eval-skip.exp
975 * gdb.base/exitsignal.exp
976 * gdb.base/expand-psymtabs.exp
977 * gdb.base/filesym.exp
978 * gdb.base/find-unmapped.exp
979 * gdb.base/finish.exp
981 * gdb.base/foll-exec-mode.exp
982 * gdb.base/foll-exec.exp
983 * gdb.base/foll-fork.exp
984 * gdb.base/fortran-sym-case.exp
985 * gdb.base/freebpcmd.exp
986 * gdb.base/func-ptr.exp
987 * gdb.base/func-ptrs.exp
988 * gdb.base/funcargs.exp
989 * gdb.base/gcore-buffer-overflow.exp
990 * gdb.base/gcore-relro-pie.exp
991 * gdb.base/gcore-relro.exp
993 * gdb.base/gdb1090.exp
994 * gdb.base/gdb11530.exp
995 * gdb.base/gdb11531.exp
996 * gdb.base/gdb1821.exp
997 * gdb.base/gdbindex-stabs.exp
998 * gdb.base/gdbvars.exp
999 * gdb.base/hbreak.exp
1000 * gdb.base/hbreak2.exp
1001 * gdb.base/included.exp
1002 * gdb.base/infcall-input.exp
1003 * gdb.base/inferior-died.exp
1004 * gdb.base/infnan.exp
1005 * gdb.base/info-macros.exp
1006 * gdb.base/info-os.exp
1007 * gdb.base/info-proc.exp
1008 * gdb.base/info-shared.exp
1009 * gdb.base/info-target.exp
1010 * gdb.base/infoline.exp
1011 * gdb.base/interp.exp
1012 * gdb.base/interrupt.exp
1013 * gdb.base/jit-reader.exp
1014 * gdb.base/jit-simple.exp
1015 * gdb.base/kill-after-signal.exp
1016 * gdb.base/kill-detach-inferiors-cmd.exp
1017 * gdb.base/label.exp
1018 * gdb.base/langs.exp
1019 * gdb.base/ldbl_e308.exp
1020 * gdb.base/line-symtabs.exp
1021 * gdb.base/linespecs.exp
1023 * gdb.base/long_long.exp
1024 * gdb.base/longest-types.exp
1025 * gdb.base/maint.exp
1026 * gdb.base/max-value-size.exp
1027 * gdb.base/memattr.exp
1028 * gdb.base/mips_pro.exp
1029 * gdb.base/morestack.exp
1030 * gdb.base/moribund-step.exp
1031 * gdb.base/multi-forks.exp
1032 * gdb.base/nested-addr.exp
1033 * gdb.base/nextoverexit.exp
1034 * gdb.base/noreturn-finish.exp
1035 * gdb.base/noreturn-return.exp
1036 * gdb.base/nostdlib.exp
1037 * gdb.base/offsets.exp
1038 * gdb.base/opaque.exp
1039 * gdb.base/pc-fp.exp
1040 * gdb.base/permissions.exp
1041 * gdb.base/print-symbol-loading.exp
1042 * gdb.base/prologue-include.exp
1043 * gdb.base/psymtab.exp
1044 * gdb.base/ptype.exp
1045 * gdb.base/random-signal.exp
1046 * gdb.base/randomize.exp
1047 * gdb.base/range-stepping.exp
1048 * gdb.base/readline-ask.exp
1049 * gdb.base/recpar.exp
1050 * gdb.base/recurse.exp
1051 * gdb.base/relational.exp
1052 * gdb.base/restore.exp
1053 * gdb.base/return-nodebug.exp
1054 * gdb.base/return.exp
1055 * gdb.base/run-after-attach.exp
1056 * gdb.base/save-bp.exp
1057 * gdb.base/scope.exp
1058 * gdb.base/sect-cmd.exp
1059 * gdb.base/set-lang-auto.exp
1060 * gdb.base/set-noassign.exp
1061 * gdb.base/setvar.exp
1062 * gdb.base/sigall.exp
1063 * gdb.base/sigbpt.exp
1064 * gdb.base/siginfo-addr.exp
1065 * gdb.base/siginfo-infcall.exp
1066 * gdb.base/siginfo-obj.exp
1067 * gdb.base/siginfo.exp
1068 * gdb.base/signals-state-child.exp
1069 * gdb.base/signest.exp
1070 * gdb.base/sigstep.exp
1071 * gdb.base/sizeof.exp
1073 * gdb.base/solib-corrupted.exp
1074 * gdb.base/solib-nodir.exp
1075 * gdb.base/solib-search.exp
1076 * gdb.base/stack-checking.exp
1077 * gdb.base/stale-infcall.exp
1078 * gdb.base/stap-probe.exp
1079 * gdb.base/start.exp
1080 * gdb.base/step-break.exp
1081 * gdb.base/step-bt.exp
1082 * gdb.base/step-line.exp
1083 * gdb.base/step-over-exit.exp
1084 * gdb.base/step-over-syscall.exp
1085 * gdb.base/step-resume-infcall.exp
1086 * gdb.base/step-test.exp
1087 * gdb.base/store.exp
1088 * gdb.base/structs3.exp
1089 * gdb.base/sym-file.exp
1090 * gdb.base/symbol-without-target_section.exp
1092 * gdb.base/testenv.exp
1093 * gdb.base/ui-redirect.exp
1094 * gdb.base/until.exp
1095 * gdb.base/unwindonsignal.exp
1096 * gdb.base/value-double-free.exp
1097 * gdb.base/vla-datatypes.exp
1098 * gdb.base/vla-ptr.exp
1099 * gdb.base/vla-sideeffect.exp
1100 * gdb.base/volatile.exp
1101 * gdb.base/watch-cond-infcall.exp
1102 * gdb.base/watch-cond.exp
1103 * gdb.base/watch-non-mem.exp
1104 * gdb.base/watch-read.exp
1105 * gdb.base/watch-vfork.exp
1106 * gdb.base/watchpoint-cond-gone.exp
1107 * gdb.base/watchpoint-delete.exp
1108 * gdb.base/watchpoint-hw-hit-once.exp
1109 * gdb.base/watchpoint-hw.exp
1110 * gdb.base/watchpoint-stops-at-right-insn.exp
1111 * gdb.base/watchpoints.exp
1112 * gdb.base/wchar.exp
1113 * gdb.base/whatis-exp.exp
1114 * gdb.btrace/buffer-size.exp
1115 * gdb.btrace/data.exp
1116 * gdb.btrace/delta.exp
1117 * gdb.btrace/dlopen.exp
1118 * gdb.btrace/enable.exp
1119 * gdb.btrace/exception.exp
1120 * gdb.btrace/function_call_history.exp
1121 * gdb.btrace/gcore.exp
1122 * gdb.btrace/instruction_history.exp
1123 * gdb.btrace/nohist.exp
1124 * gdb.btrace/reconnect.exp
1125 * gdb.btrace/record_goto-step.exp
1126 * gdb.btrace/record_goto.exp
1127 * gdb.btrace/rn-dl-bind.exp
1128 * gdb.btrace/segv.exp
1129 * gdb.btrace/step.exp
1130 * gdb.btrace/stepi.exp
1131 * gdb.btrace/tailcall-only.exp
1132 * gdb.btrace/tailcall.exp
1133 * gdb.btrace/tsx.exp
1134 * gdb.btrace/unknown_functions.exp
1135 * gdb.btrace/vdso.exp
1136 * gdb.compile/compile-ifunc.exp
1137 * gdb.compile/compile-ops.exp
1138 * gdb.compile/compile-print.exp
1139 * gdb.compile/compile-setjmp.exp
1140 * gdb.cp/abstract-origin.exp
1141 * gdb.cp/ambiguous.exp
1142 * gdb.cp/annota2.exp
1143 * gdb.cp/annota3.exp
1144 * gdb.cp/anon-ns.exp
1145 * gdb.cp/anon-struct.exp
1146 * gdb.cp/anon-union.exp
1147 * gdb.cp/arg-reference.exp
1148 * gdb.cp/baseenum.exp
1150 * gdb.cp/breakpoint.exp
1151 * gdb.cp/bs15503.exp
1154 * gdb.cp/chained-calls.exp
1156 * gdb.cp/classes.exp
1157 * gdb.cp/cmpd-minsyms.exp
1158 * gdb.cp/converts.exp
1159 * gdb.cp/cp-relocate.exp
1160 * gdb.cp/cpcompletion.exp
1161 * gdb.cp/cpexprs.exp
1162 * gdb.cp/cplabel.exp
1163 * gdb.cp/cplusfuncs.exp
1164 * gdb.cp/cpsizeof.exp
1166 * gdb.cp/derivation.exp
1167 * gdb.cp/destrprint.exp
1168 * gdb.cp/dispcxx.exp
1169 * gdb.cp/enum-class.exp
1170 * gdb.cp/exception.exp
1171 * gdb.cp/exceptprint.exp
1172 * gdb.cp/expand-psymtabs-cxx.exp
1173 * gdb.cp/expand-sals.exp
1174 * gdb.cp/extern-c.exp
1175 * gdb.cp/filename.exp
1176 * gdb.cp/formatted-ref.exp
1177 * gdb.cp/fpointer.exp
1178 * gdb.cp/gdb1355.exp
1179 * gdb.cp/gdb2495.exp
1181 * gdb.cp/impl-this.exp
1182 * gdb.cp/infcall-dlopen.exp
1183 * gdb.cp/inherit.exp
1184 * gdb.cp/iostream.exp
1188 * gdb.cp/m-static.exp
1189 * gdb.cp/mb-ctor.exp
1190 * gdb.cp/mb-inline.exp
1191 * gdb.cp/mb-templates.exp
1192 * gdb.cp/member-name.exp
1193 * gdb.cp/member-ptr.exp
1194 * gdb.cp/meth-typedefs.exp
1196 * gdb.cp/method2.exp
1197 * gdb.cp/minsym-fallback.exp
1199 * gdb.cp/namelessclass.exp
1200 * gdb.cp/namespace-enum.exp
1201 * gdb.cp/namespace-nested-import.exp
1202 * gdb.cp/namespace.exp
1203 * gdb.cp/nextoverthrow.exp
1204 * gdb.cp/no-dmgl-verbose.exp
1205 * gdb.cp/non-trivial-retval.exp
1206 * gdb.cp/noparam.exp
1208 * gdb.cp/nsimport.exp
1209 * gdb.cp/nsnested.exp
1210 * gdb.cp/nsnoimports.exp
1211 * gdb.cp/nsrecurs.exp
1212 * gdb.cp/nsstress.exp
1213 * gdb.cp/nsusing.exp
1214 * gdb.cp/operator.exp
1215 * gdb.cp/oranking.exp
1216 * gdb.cp/overload-const.exp
1217 * gdb.cp/overload.exp
1218 * gdb.cp/ovldbreak.exp
1220 * gdb.cp/paren-type.exp
1221 * gdb.cp/parse-lang.exp
1222 * gdb.cp/pass-by-ref.exp
1223 * gdb.cp/pr-1023.exp
1224 * gdb.cp/pr-1210.exp
1226 * gdb.cp/pr10687.exp
1227 * gdb.cp/pr12028.exp
1228 * gdb.cp/pr17132.exp
1229 * gdb.cp/pr17494.exp
1233 * gdb.cp/printmethod.exp
1235 * gdb.cp/psymtab-parameter.exp
1236 * gdb.cp/ptype-cv-cp.exp
1237 * gdb.cp/ptype-flags.exp
1238 * gdb.cp/re-set-overloaded.exp
1239 * gdb.cp/ref-types.exp
1241 * gdb.cp/scope-err.exp
1244 * gdb.cp/static-method.exp
1245 * gdb.cp/static-print-quit.exp
1246 * gdb.cp/temargs.exp
1247 * gdb.cp/templates.exp
1248 * gdb.cp/try_catch.exp
1249 * gdb.cp/typedef-operator.exp
1251 * gdb.cp/userdef.exp
1252 * gdb.cp/using-crash.exp
1253 * gdb.cp/var-tag.exp
1254 * gdb.cp/virtbase.exp
1255 * gdb.cp/virtfunc.exp
1256 * gdb.cp/virtfunc2.exp
1257 * gdb.cp/vla-cxx.exp
1258 * gdb.disasm/t01_mov.exp
1259 * gdb.disasm/t02_mova.exp
1260 * gdb.disasm/t03_add.exp
1261 * gdb.disasm/t04_sub.exp
1262 * gdb.disasm/t05_cmp.exp
1263 * gdb.disasm/t06_ari2.exp
1264 * gdb.disasm/t07_ari3.exp
1265 * gdb.disasm/t08_or.exp
1266 * gdb.disasm/t09_xor.exp
1267 * gdb.disasm/t10_and.exp
1268 * gdb.disasm/t11_logs.exp
1269 * gdb.disasm/t12_bit.exp
1270 * gdb.disasm/t13_otr.exp
1271 * gdb.dlang/circular.exp
1272 * gdb.dwarf2/arr-stride.exp
1273 * gdb.dwarf2/arr-subrange.exp
1274 * gdb.dwarf2/atomic-type.exp
1275 * gdb.dwarf2/bad-regnum.exp
1276 * gdb.dwarf2/bitfield-parent-optimized-out.exp
1277 * gdb.dwarf2/callframecfa.exp
1278 * gdb.dwarf2/clztest.exp
1279 * gdb.dwarf2/corrupt.exp
1280 * gdb.dwarf2/data-loc.exp
1281 * gdb.dwarf2/dup-psym.exp
1282 * gdb.dwarf2/dw2-anon-mptr.exp
1283 * gdb.dwarf2/dw2-anonymous-func.exp
1284 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
1285 * gdb.dwarf2/dw2-bad-unresolved.exp
1286 * gdb.dwarf2/dw2-basic.exp
1287 * gdb.dwarf2/dw2-canonicalize-type.exp
1288 * gdb.dwarf2/dw2-case-insensitive.exp
1289 * gdb.dwarf2/dw2-common-block.exp
1290 * gdb.dwarf2/dw2-compdir-oldgcc.exp
1291 * gdb.dwarf2/dw2-compressed.exp
1292 * gdb.dwarf2/dw2-const.exp
1293 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
1294 * gdb.dwarf2/dw2-cu-size.exp
1295 * gdb.dwarf2/dw2-dup-frame.exp
1296 * gdb.dwarf2/dw2-entry-value.exp
1297 * gdb.dwarf2/dw2-icycle.exp
1298 * gdb.dwarf2/dw2-ifort-parameter.exp
1299 * gdb.dwarf2/dw2-inline-break.exp
1300 * gdb.dwarf2/dw2-inline-param.exp
1301 * gdb.dwarf2/dw2-intercu.exp
1302 * gdb.dwarf2/dw2-intermix.exp
1303 * gdb.dwarf2/dw2-lexical-block-bare.exp
1304 * gdb.dwarf2/dw2-linkage-name-trust.exp
1305 * gdb.dwarf2/dw2-minsym-in-cu.exp
1306 * gdb.dwarf2/dw2-noloc.exp
1307 * gdb.dwarf2/dw2-op-call.exp
1308 * gdb.dwarf2/dw2-op-out-param.exp
1309 * gdb.dwarf2/dw2-opt-structptr.exp
1310 * gdb.dwarf2/dw2-param-error.exp
1311 * gdb.dwarf2/dw2-producer.exp
1312 * gdb.dwarf2/dw2-ranges-base.exp
1313 * gdb.dwarf2/dw2-ref-missing-frame.exp
1314 * gdb.dwarf2/dw2-reg-undefined.exp
1315 * gdb.dwarf2/dw2-regno-invalid.exp
1316 * gdb.dwarf2/dw2-restore.exp
1317 * gdb.dwarf2/dw2-restrict.exp
1318 * gdb.dwarf2/dw2-single-line-discriminators.exp
1319 * gdb.dwarf2/dw2-strp.exp
1320 * gdb.dwarf2/dw2-undefined-ret-addr.exp
1321 * gdb.dwarf2/dw2-unresolved.exp
1322 * gdb.dwarf2/dw2-var-zero-addr.exp
1323 * gdb.dwarf2/dw4-sig-types.exp
1324 * gdb.dwarf2/dwz.exp
1325 * gdb.dwarf2/dynarr-ptr.exp
1326 * gdb.dwarf2/enum-type.exp
1327 * gdb.dwarf2/gdb-index.exp
1328 * gdb.dwarf2/implptr-64bit.exp
1329 * gdb.dwarf2/implptr-optimized-out.exp
1330 * gdb.dwarf2/implptr.exp
1331 * gdb.dwarf2/implref-array.exp
1332 * gdb.dwarf2/implref-const.exp
1333 * gdb.dwarf2/implref-global.exp
1334 * gdb.dwarf2/implref-struct.exp
1335 * gdb.dwarf2/mac-fileno.exp
1336 * gdb.dwarf2/main-subprogram.exp
1337 * gdb.dwarf2/member-ptr-forwardref.exp
1338 * gdb.dwarf2/method-ptr.exp
1339 * gdb.dwarf2/missing-sig-type.exp
1340 * gdb.dwarf2/nonvar-access.exp
1341 * gdb.dwarf2/opaque-type-lookup.exp
1342 * gdb.dwarf2/pieces-optimized-out.exp
1343 * gdb.dwarf2/pieces.exp
1344 * gdb.dwarf2/pr10770.exp
1345 * gdb.dwarf2/pr13961.exp
1346 * gdb.dwarf2/staticvirtual.exp
1347 * gdb.dwarf2/subrange.exp
1348 * gdb.dwarf2/symtab-producer.exp
1349 * gdb.dwarf2/trace-crash.exp
1350 * gdb.dwarf2/typeddwarf.exp
1351 * gdb.dwarf2/valop.exp
1352 * gdb.dwarf2/watch-notconst.exp
1353 * gdb.fortran/array-element.exp
1354 * gdb.fortran/charset.exp
1355 * gdb.fortran/common-block.exp
1356 * gdb.fortran/complex.exp
1357 * gdb.fortran/derived-type-function.exp
1358 * gdb.fortran/derived-type.exp
1359 * gdb.fortran/logical.exp
1360 * gdb.fortran/module.exp
1361 * gdb.fortran/multi-dim.exp
1362 * gdb.fortran/nested-funcs.exp
1363 * gdb.fortran/print-formatted.exp
1364 * gdb.fortran/subarray.exp
1365 * gdb.fortran/vla-alloc-assoc.exp
1366 * gdb.fortran/vla-datatypes.exp
1367 * gdb.fortran/vla-history.exp
1368 * gdb.fortran/vla-ptr-info.exp
1369 * gdb.fortran/vla-ptype-sub.exp
1370 * gdb.fortran/vla-ptype.exp
1371 * gdb.fortran/vla-sizeof.exp
1372 * gdb.fortran/vla-type.exp
1373 * gdb.fortran/vla-value-sub-arbitrary.exp
1374 * gdb.fortran/vla-value-sub-finish.exp
1375 * gdb.fortran/vla-value-sub.exp
1376 * gdb.fortran/vla-value.exp
1377 * gdb.fortran/whatis_type.exp
1379 * gdb.go/handcall.exp
1381 * gdb.go/integers.exp
1382 * gdb.go/methods.exp
1383 * gdb.go/package.exp
1384 * gdb.go/strings.exp
1387 * gdb.guile/scm-arch.exp
1388 * gdb.guile/scm-block.exp
1389 * gdb.guile/scm-breakpoint.exp
1390 * gdb.guile/scm-cmd.exp
1391 * gdb.guile/scm-disasm.exp
1392 * gdb.guile/scm-equal.exp
1393 * gdb.guile/scm-frame-args.exp
1394 * gdb.guile/scm-frame-inline.exp
1395 * gdb.guile/scm-frame.exp
1396 * gdb.guile/scm-iterator.exp
1397 * gdb.guile/scm-math.exp
1398 * gdb.guile/scm-objfile.exp
1399 * gdb.guile/scm-ports.exp
1400 * gdb.guile/scm-symbol.exp
1401 * gdb.guile/scm-symtab.exp
1402 * gdb.guile/scm-value-cc.exp
1403 * gdb.guile/types-module.exp
1404 * gdb.linespec/break-ask.exp
1405 * gdb.linespec/cpexplicit.exp
1406 * gdb.linespec/explicit.exp
1407 * gdb.linespec/keywords.exp
1408 * gdb.linespec/linespec.exp
1409 * gdb.linespec/ls-dollar.exp
1410 * gdb.linespec/ls-errs.exp
1411 * gdb.linespec/skip-two.exp
1412 * gdb.linespec/thread.exp
1413 * gdb.mi/mi-async.exp
1414 * gdb.mi/mi-basics.exp
1415 * gdb.mi/mi-break.exp
1416 * gdb.mi/mi-catch-load.exp
1418 * gdb.mi/mi-cmd-param-changed.exp
1419 * gdb.mi/mi-console.exp
1420 * gdb.mi/mi-detach.exp
1421 * gdb.mi/mi-disassemble.exp
1422 * gdb.mi/mi-eval.exp
1423 * gdb.mi/mi-file-transfer.exp
1424 * gdb.mi/mi-file.exp
1425 * gdb.mi/mi-fill-memory.exp
1426 * gdb.mi/mi-inheritance-syntax-error.exp
1427 * gdb.mi/mi-linespec-err-cp.exp
1428 * gdb.mi/mi-logging.exp
1429 * gdb.mi/mi-memory-changed.exp
1430 * gdb.mi/mi-read-memory.exp
1431 * gdb.mi/mi-record-changed.exp
1432 * gdb.mi/mi-reg-undefined.exp
1433 * gdb.mi/mi-regs.exp
1434 * gdb.mi/mi-return.exp
1435 * gdb.mi/mi-reverse.exp
1436 * gdb.mi/mi-simplerun.exp
1437 * gdb.mi/mi-solib.exp
1438 * gdb.mi/mi-stack.exp
1439 * gdb.mi/mi-stepi.exp
1440 * gdb.mi/mi-syn-frame.exp
1441 * gdb.mi/mi-until.exp
1442 * gdb.mi/mi-var-block.exp
1443 * gdb.mi/mi-var-child.exp
1444 * gdb.mi/mi-var-cmd.exp
1445 * gdb.mi/mi-var-cp.exp
1446 * gdb.mi/mi-var-display.exp
1447 * gdb.mi/mi-var-invalidate.exp
1448 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
1449 * gdb.mi/mi-vla-fortran.exp
1450 * gdb.mi/mi-watch.exp
1451 * gdb.mi/mi2-var-child.exp
1452 * gdb.mi/user-selected-context-sync.exp
1453 * gdb.modula2/unbounded-array.exp
1454 * gdb.multi/dummy-frame-restore.exp
1455 * gdb.multi/multi-arch-exec.exp
1456 * gdb.multi/multi-arch.exp
1457 * gdb.multi/tids.exp
1458 * gdb.multi/watchpoint-multi.exp
1459 * gdb.opencl/callfuncs.exp
1460 * gdb.opencl/convs_casts.exp
1461 * gdb.opencl/datatypes.exp
1462 * gdb.opencl/operators.exp
1463 * gdb.opencl/vec_comps.exp
1464 * gdb.opt/clobbered-registers-O2.exp
1465 * gdb.opt/inline-break.exp
1466 * gdb.opt/inline-bt.exp
1467 * gdb.opt/inline-cmds.exp
1468 * gdb.opt/inline-locals.exp
1469 * gdb.pascal/case-insensitive-symbols.exp
1470 * gdb.pascal/floats.exp
1471 * gdb.pascal/gdb11492.exp
1472 * gdb.python/lib-types.exp
1473 * gdb.python/py-arch.exp
1474 * gdb.python/py-as-string.exp
1475 * gdb.python/py-bad-printers.exp
1476 * gdb.python/py-block.exp
1477 * gdb.python/py-breakpoint-create-fail.exp
1478 * gdb.python/py-breakpoint.exp
1479 * gdb.python/py-caller-is.exp
1480 * gdb.python/py-cmd.exp
1481 * gdb.python/py-explore-cc.exp
1482 * gdb.python/py-explore.exp
1483 * gdb.python/py-finish-breakpoint.exp
1484 * gdb.python/py-finish-breakpoint2.exp
1485 * gdb.python/py-frame-args.exp
1486 * gdb.python/py-frame-inline.exp
1487 * gdb.python/py-frame.exp
1488 * gdb.python/py-framefilter-mi.exp
1489 * gdb.python/py-infthread.exp
1490 * gdb.python/py-lazy-string.exp
1491 * gdb.python/py-linetable.exp
1492 * gdb.python/py-mi-events.exp
1493 * gdb.python/py-mi-objfile.exp
1494 * gdb.python/py-mi.exp
1495 * gdb.python/py-objfile.exp
1496 * gdb.python/py-pp-integral.exp
1497 * gdb.python/py-pp-maint.exp
1498 * gdb.python/py-pp-re-notag.exp
1499 * gdb.python/py-pp-registration.exp
1500 * gdb.python/py-recurse-unwind.exp
1501 * gdb.python/py-strfns.exp
1502 * gdb.python/py-symbol.exp
1503 * gdb.python/py-symtab.exp
1504 * gdb.python/py-sync-interp.exp
1505 * gdb.python/py-typeprint.exp
1506 * gdb.python/py-unwind-maint.exp
1507 * gdb.python/py-unwind.exp
1508 * gdb.python/py-value-cc.exp
1509 * gdb.python/py-xmethods.exp
1510 * gdb.reverse/amd64-tailcall-reverse.exp
1511 * gdb.reverse/break-precsave.exp
1512 * gdb.reverse/break-reverse.exp
1513 * gdb.reverse/consecutive-precsave.exp
1514 * gdb.reverse/consecutive-reverse.exp
1515 * gdb.reverse/finish-precsave.exp
1516 * gdb.reverse/finish-reverse-bkpt.exp
1517 * gdb.reverse/finish-reverse.exp
1518 * gdb.reverse/fstatat-reverse.exp
1519 * gdb.reverse/getresuid-reverse.exp
1520 * gdb.reverse/i386-precsave.exp
1521 * gdb.reverse/i386-reverse.exp
1522 * gdb.reverse/i386-sse-reverse.exp
1523 * gdb.reverse/i387-env-reverse.exp
1524 * gdb.reverse/i387-stack-reverse.exp
1525 * gdb.reverse/insn-reverse.exp
1526 * gdb.reverse/machinestate-precsave.exp
1527 * gdb.reverse/machinestate.exp
1528 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1529 * gdb.reverse/pipe-reverse.exp
1530 * gdb.reverse/readv-reverse.exp
1531 * gdb.reverse/recvmsg-reverse.exp
1532 * gdb.reverse/rerun-prec.exp
1533 * gdb.reverse/s390-mvcle.exp
1534 * gdb.reverse/step-precsave.exp
1535 * gdb.reverse/step-reverse.exp
1536 * gdb.reverse/time-reverse.exp
1537 * gdb.reverse/until-precsave.exp
1538 * gdb.reverse/until-reverse.exp
1539 * gdb.reverse/waitpid-reverse.exp
1540 * gdb.reverse/watch-precsave.exp
1541 * gdb.reverse/watch-reverse.exp
1542 * gdb.rust/generics.exp
1543 * gdb.rust/methods.exp
1544 * gdb.rust/modules.exp
1545 * gdb.rust/simple.exp
1546 * gdb.server/connect-with-no-symbol-file.exp
1547 * gdb.server/ext-attach.exp
1548 * gdb.server/ext-restart.exp
1549 * gdb.server/ext-wrapper.exp
1550 * gdb.server/file-transfer.exp
1551 * gdb.server/server-exec-info.exp
1552 * gdb.server/server-kill.exp
1553 * gdb.server/server-mon.exp
1554 * gdb.server/wrapper.exp
1555 * gdb.stabs/exclfwd.exp
1556 * gdb.stabs/gdb11479.exp
1557 * gdb.threads/clone-new-thread-event.exp
1558 * gdb.threads/corethreads.exp
1559 * gdb.threads/current-lwp-dead.exp
1560 * gdb.threads/dlopen-libpthread.exp
1561 * gdb.threads/gcore-thread.exp
1562 * gdb.threads/sigstep-threads.exp
1563 * gdb.threads/watchpoint-fork.exp
1564 * gdb.trace/actions-changed.exp
1565 * gdb.trace/backtrace.exp
1566 * gdb.trace/change-loc.exp
1567 * gdb.trace/circ.exp
1568 * gdb.trace/collection.exp
1569 * gdb.trace/disconnected-tracing.exp
1570 * gdb.trace/ftrace.exp
1571 * gdb.trace/mi-trace-frame-collected.exp
1572 * gdb.trace/mi-trace-unavailable.exp
1573 * gdb.trace/mi-traceframe-changed.exp
1574 * gdb.trace/mi-tsv-changed.exp
1575 * gdb.trace/no-attach-trace.exp
1576 * gdb.trace/passc-dyn.exp
1577 * gdb.trace/qtro.exp
1578 * gdb.trace/range-stepping.exp
1579 * gdb.trace/read-memory.exp
1580 * gdb.trace/save-trace.exp
1581 * gdb.trace/signal.exp
1582 * gdb.trace/status-stop.exp
1583 * gdb.trace/tfile.exp
1584 * gdb.trace/trace-break.exp
1585 * gdb.trace/trace-buffer-size.exp
1586 * gdb.trace/trace-condition.exp
1587 * gdb.trace/tracefile-pseudo-reg.exp
1588 * gdb.trace/tstatus.exp
1589 * gdb.trace/unavailable.exp
1590 * gdb.trace/while-dyn.exp
1591 * gdb.trace/while-stepping.exp
1593 2016-12-22 Doug Evans <xdje42@gmail.com>
1595 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
1598 2016-12-19 Yao Qi <yao.qi@linaro.org>
1600 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
1601 (test_with_self): Don't call do_steps_and_nexts, and remove
1602 code about stepping into xmalloc.
1604 2016-12-09 Yao Qi <yao.qi@linaro.org>
1606 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
1608 2016-12-09 Yao Qi <yao.qi@linaro.org>
1610 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
1612 2016-12-09 Pedro Alves <palves@redhat.com>
1614 * gdb.base/all-architectures-0.exp: New file.
1615 * gdb.base/all-architectures-1.exp: New file.
1616 * gdb.base/all-architectures-2.exp: New file.
1617 * gdb.base/all-architectures-3.exp: New file.
1618 * gdb.base/all-architectures-4.exp: New file.
1619 * gdb.base/all-architectures-5.exp: New file.
1620 * gdb.base/all-architectures-6.exp: New file.
1621 * gdb.base/all-architectures-7.exp: New file.
1622 * gdb.base/all-architectures.exp.in: New file.
1624 2016-12-09 Yao Qi <yao.qi@linaro.org>
1626 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
1628 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1630 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
1632 Remove useless pattern-matching code.
1634 2016-12-02 Pedro Alves <palves@redhat.com>
1636 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
1638 (top level): Call it.
1640 2016-12-02 Pedro Alves <palves@redhat.com>
1642 * gdb.base/commands.exp (user_defined_command_args_stack_test):
1644 (top level): Call it.
1646 2016-12-02 Pedro Alves <palves@redhat.com>
1649 * gdb.base/commands.exp (user_defined_command_args_eval): New
1651 (top level): Call it.
1653 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1655 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
1658 2016-12-02 Tom Tromey <tom@tromey.com>
1660 * gdb.dwarf2/main-subprogram.c: New file.
1661 * gdb.dwarf2/main-subprogram.exp: New file.
1663 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1665 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
1666 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
1667 gdb_test_no_output for a couple of cases.
1668 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
1670 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1672 Fix test names and standardize compilation error messages throughout
1673 the following files:
1676 * gdb.arch/alpha-step.exp
1677 * gdb.arch/e500-prologue.exp
1678 * gdb.arch/ftrace-insn-reloc.exp
1679 * gdb.arch/gdb1291.exp
1680 * gdb.arch/gdb1431.exp
1681 * gdb.arch/gdb1558.exp
1682 * gdb.arch/i386-dr3-watch.exp
1683 * gdb.arch/i386-sse-stack-align.exp
1684 * gdb.arch/ia64-breakpoint-shadow.exp
1685 * gdb.arch/pa-nullify.exp
1686 * gdb.arch/powerpc-aix-prologue.exp
1687 * gdb.arch/thumb-bx-pc.exp
1688 * gdb.base/annota1.exp
1689 * gdb.base/annota3.exp
1690 * gdb.base/arrayidx.exp
1691 * gdb.base/assign.exp
1692 * gdb.base/attach.exp
1695 * gdb.base/bfp-test.exp
1696 * gdb.base/bigcore.exp
1697 * gdb.base/bitfields2.exp
1698 * gdb.base/break-fun-addr.exp
1699 * gdb.base/break-probes.exp
1700 * gdb.base/call-rt-st.exp
1701 * gdb.base/callexit.exp
1702 * gdb.base/catch-fork-kill.exp
1703 * gdb.base/charset.exp
1704 * gdb.base/checkpoint.exp
1705 * gdb.base/comprdebug.exp
1706 * gdb.base/constvars.exp
1707 * gdb.base/coredump-filter.exp
1708 * gdb.base/cursal.exp
1709 * gdb.base/cvexpr.exp
1710 * gdb.base/detach.exp
1711 * gdb.base/display.exp
1712 * gdb.base/dmsym.exp
1713 * gdb.base/dprintf-pending.exp
1714 * gdb.base/dso2dso.exp
1715 * gdb.base/dtrace-probe.exp
1717 * gdb.base/enum_cond.exp
1718 * gdb.base/exe-lock.exp
1719 * gdb.base/exec-invalid-sysroot.exp
1720 * gdb.base/execl-update-breakpoints.exp
1721 * gdb.base/exprs.exp
1722 * gdb.base/fileio.exp
1724 * gdb.base/finish.exp
1725 * gdb.base/fixsection.exp
1726 * gdb.base/foll-vfork.exp
1727 * gdb.base/frame-args.exp
1728 * gdb.base/gcore.exp
1729 * gdb.base/gdb1250.exp
1730 * gdb.base/global-var-nested-by-dso.exp
1731 * gdb.base/gnu-ifunc.exp
1732 * gdb.base/hashline1.exp
1733 * gdb.base/hashline2.exp
1734 * gdb.base/hashline3.exp
1735 * gdb.base/hbreak-in-shr-unsupported.exp
1737 * gdb.base/infcall-input.exp
1738 * gdb.base/info-fun.exp
1739 * gdb.base/info-shared.exp
1740 * gdb.base/jit-simple.exp
1741 * gdb.base/jit-so.exp
1744 * gdb.base/label.exp
1745 * gdb.base/lineinc.exp
1746 * gdb.base/logical.exp
1747 * gdb.base/longjmp.exp
1748 * gdb.base/macscp.exp
1749 * gdb.base/miscexprs.exp
1750 * gdb.base/new-ui-echo.exp
1751 * gdb.base/new-ui-pending-input.exp
1752 * gdb.base/new-ui.exp
1753 * gdb.base/nodebug.exp
1754 * gdb.base/nofield.exp
1755 * gdb.base/offsets.exp
1756 * gdb.base/overlays.exp
1757 * gdb.base/pending.exp
1758 * gdb.base/pointers.exp
1759 * gdb.base/pr11022.exp
1760 * gdb.base/printcmds.exp
1761 * gdb.base/prologue.exp
1762 * gdb.base/ptr-typedef.exp
1763 * gdb.base/realname-expand.exp
1764 * gdb.base/relativedebug.exp
1765 * gdb.base/relocate.exp
1766 * gdb.base/remote.exp
1767 * gdb.base/reread.exp
1768 * gdb.base/return2.exp
1769 * gdb.base/savedregs.exp
1771 * gdb.base/sepdebug.exp
1772 * gdb.base/sepsymtab.exp
1773 * gdb.base/set-inferior-tty.exp
1774 * gdb.base/setshow.exp
1775 * gdb.base/shlib-call.exp
1776 * gdb.base/sigaltstack.exp
1777 * gdb.base/siginfo-addr.exp
1778 * gdb.base/signals.exp
1779 * gdb.base/signull.exp
1780 * gdb.base/sigrepeat.exp
1781 * gdb.base/so-impl-ld.exp
1782 * gdb.base/solib-display.exp
1783 * gdb.base/solib-overlap.exp
1784 * gdb.base/solib-search.exp
1785 * gdb.base/solib-symbol.exp
1786 * gdb.base/structs.exp
1787 * gdb.base/structs2.exp
1788 * gdb.base/symtab-search-order.exp
1789 * gdb.base/twice.exp
1790 * gdb.base/unload.exp
1791 * gdb.base/varargs.exp
1792 * gdb.base/watchpoint-solib.exp
1793 * gdb.base/watchpoint.exp
1794 * gdb.base/whatis.exp
1795 * gdb.base/wrong_frame_bt_full.exp
1796 * gdb.btrace/dlopen.exp
1797 * gdb.cell/ea-standalone.exp
1798 * gdb.cell/ea-test.exp
1799 * gdb.cp/dispcxx.exp
1800 * gdb.cp/gdb2384.exp
1801 * gdb.cp/method2.exp
1802 * gdb.cp/nextoverthrow.exp
1803 * gdb.cp/pr10728.exp
1804 * gdb.disasm/am33.exp
1805 * gdb.disasm/h8300s.exp
1806 * gdb.disasm/mn10300.exp
1807 * gdb.disasm/sh3.exp
1808 * gdb.dwarf2/dw2-dir-file-name.exp
1809 * gdb.fortran/complex.exp
1810 * gdb.fortran/library-module.exp
1811 * gdb.guile/scm-pretty-print.exp
1812 * gdb.guile/scm-symbol.exp
1813 * gdb.guile/scm-type.exp
1814 * gdb.guile/scm-value.exp
1815 * gdb.linespec/linespec.exp
1818 * gdb.mi/mi-breakpoint-changed.exp
1819 * gdb.mi/mi-dprintf-pending.exp
1820 * gdb.mi/mi-dprintf.exp
1821 * gdb.mi/mi-exit-code.exp
1822 * gdb.mi/mi-pending.exp
1823 * gdb.mi/mi-solib.exp
1824 * gdb.mi/new-ui-mi-sync.exp
1825 * gdb.mi/pr11022.exp
1826 * gdb.mi/user-selected-context-sync.exp
1827 * gdb.opt/solib-intra-step.exp
1828 * gdb.python/py-events.exp
1829 * gdb.python/py-finish-breakpoint.exp
1830 * gdb.python/py-mi.exp
1831 * gdb.python/py-prettyprint.exp
1832 * gdb.python/py-shared.exp
1833 * gdb.python/py-symbol.exp
1834 * gdb.python/py-template.exp
1835 * gdb.python/py-type.exp
1836 * gdb.python/py-value.exp
1837 * gdb.reverse/solib-precsave.exp
1838 * gdb.reverse/solib-reverse.exp
1839 * gdb.server/solib-list.exp
1840 * gdb.stabs/weird.exp
1841 * gdb.threads/reconnect-signal.exp
1842 * gdb.threads/stepi-random-signal.exp
1843 * gdb.trace/actions.exp
1845 * gdb.trace/backtrace.exp
1846 * gdb.trace/change-loc.exp
1847 * gdb.trace/deltrace.exp
1848 * gdb.trace/ftrace-lock.exp
1849 * gdb.trace/ftrace.exp
1850 * gdb.trace/infotrace.exp
1851 * gdb.trace/mi-tracepoint-changed.exp
1852 * gdb.trace/packetlen.exp
1853 * gdb.trace/passcount.exp
1854 * gdb.trace/pending.exp
1855 * gdb.trace/range-stepping.exp
1856 * gdb.trace/report.exp
1857 * gdb.trace/stap-trace.exp
1858 * gdb.trace/tfind.exp
1859 * gdb.trace/trace-break.exp
1860 * gdb.trace/trace-condition.exp
1861 * gdb.trace/trace-enable-disable.exp
1862 * gdb.trace/trace-mt.exp
1863 * gdb.trace/tracecmd.exp
1864 * gdb.trace/tspeed.exp
1868 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1870 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1871 with gdb_test_no_output.
1872 Use command as test name.
1874 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1876 Fix test names starting with uppercase throughout the files.
1878 * gdb.ada/assign_1.exp
1879 * gdb.ada/boolean_expr.exp
1880 * gdb.base/arrayidx.exp
1882 * gdb.base/gcore-buffer-overflow.exp
1883 * gdb.base/testenv.exp
1884 * gdb.compile/compile.exp
1885 * gdb.python/py-framefilter-invalidarg.exp
1886 * gdb.python/py-framefilter.exp
1888 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1890 Fix test names starting with uppercase throughout the files.
1892 * gdb.ada/array_return.exp
1893 * gdb.ada/expr_delims.exp
1894 * gdb.ada/mi_dyn_arr.exp
1895 * gdb.ada/mi_interface.exp
1896 * gdb.ada/mi_var_array.exp
1897 * gdb.ada/watch_arg.exp
1898 * gdb.arch/alpha-step.exp
1899 * gdb.arch/altivec-regs.exp
1900 * gdb.arch/e500-regs.exp
1901 * gdb.arch/powerpc-d128-regs.exp
1902 * gdb.base/arrayidx.exp
1903 * gdb.base/break.exp
1904 * gdb.base/checkpoint.exp
1905 * gdb.base/debug-expr.exp
1906 * gdb.base/dmsym.exp
1907 * gdb.base/radix.exp
1908 * gdb.base/sepdebug.exp
1909 * gdb.base/testenv.exp
1910 * gdb.base/watch_thread_num.exp
1911 * gdb.base/watchpoint-cond-gone.exp
1912 * gdb.cell/break.exp
1913 * gdb.cell/ea-cache.exp
1914 * gdb.compile/compile.exp
1915 * gdb.cp/gdb2495.exp
1916 * gdb.gdb/selftest.exp
1917 * gdb.gdb/xfullpath.exp
1919 * gdb.go/integers.exp
1920 * gdb.objc/basicclass.exp
1921 * gdb.pascal/hello.exp
1922 * gdb.pascal/integers.exp
1923 * gdb.python/py-breakpoint.exp
1924 * gdb.python/py-cmd.exp
1925 * gdb.python/py-linetable.exp
1926 * gdb.python/py-xmethods.exp
1927 * gdb.python/python.exp
1928 * gdb.reverse/consecutive-precsave.exp
1929 * gdb.reverse/finish-precsave.exp
1930 * gdb.reverse/i386-precsave.exp
1931 * gdb.reverse/machinestate-precsave.exp
1932 * gdb.reverse/sigall-precsave.exp
1933 * gdb.reverse/solib-precsave.exp
1934 * gdb.reverse/step-precsave.exp
1935 * gdb.reverse/until-precsave.exp
1936 * gdb.reverse/watch-precsave.exp
1937 * gdb.threads/leader-exit.exp
1938 * gdb.threads/pthreads.exp
1939 * gdb.threads/wp-replication.exp
1940 * gdb.trace/actions.exp
1941 * gdb.trace/mi-tsv-changed.exp
1944 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1946 Fix test names starting with uppercase throughout the files.
1948 * gdb.arch/i386-bp_permanent.exp
1949 * gdb.arch/i386-gnu-cfi.exp
1950 * gdb.base/disasm-end-cu.exp
1951 * gdb.base/macscp.exp
1952 * gdb.base/pending.exp
1953 * gdb.base/watch_thread_num.exp
1954 * gdb.cp/exception.exp
1955 * gdb.cp/gdb2495.exp
1957 * gdb.python/py-evsignal.exp
1958 * gdb.python/python.exp
1959 * gdb.trace/tracecmd.exp
1961 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1963 Fix test names starting with uppercase throughout the files.
1965 * gdb.base/charset.exp
1967 * gdb.base/multi-forks.exp
1968 * gdb.guile/scm-progspace.exp
1969 * gdb.opencl/datatypes.exp
1970 * gdb.python/py-block.exp
1971 * gdb.python/py-function.exp
1972 * gdb.python/py-symbol.exp
1973 * gdb.python/py-symtab.exp
1974 * gdb.python/py-xmethods.exp
1975 * gdb.reverse/break-precsave.exp
1976 * gdb.reverse/break-reverse.exp
1977 * gdb.reverse/consecutive-precsave.exp
1978 * gdb.reverse/consecutive-reverse.exp
1979 * gdb.reverse/finish-precsave.exp
1980 * gdb.reverse/finish-reverse-bkpt.exp
1981 * gdb.reverse/finish-reverse.exp
1982 * gdb.reverse/fstatat-reverse.exp
1983 * gdb.reverse/getresuid-reverse.exp
1984 * gdb.reverse/i386-precsave.exp
1985 * gdb.reverse/i386-reverse.exp
1986 * gdb.reverse/i386-sse-reverse.exp
1987 * gdb.reverse/i387-stack-reverse.exp
1988 * gdb.reverse/insn-reverse.exp
1989 * gdb.reverse/machinestate-precsave.exp
1990 * gdb.reverse/machinestate.exp
1991 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1992 * gdb.reverse/pipe-reverse.exp
1993 * gdb.reverse/readv-reverse.exp
1994 * gdb.reverse/recvmsg-reverse.exp
1995 * gdb.reverse/rerun-prec.exp
1996 * gdb.reverse/s390-mvcle.exp
1997 * gdb.reverse/sigall-precsave.exp
1998 * gdb.reverse/sigall-reverse.exp
1999 * gdb.reverse/solib-precsave.exp
2000 * gdb.reverse/solib-reverse.exp
2001 * gdb.reverse/step-precsave.exp
2002 * gdb.reverse/step-reverse.exp
2003 * gdb.reverse/time-reverse.exp
2004 * gdb.reverse/until-precsave.exp
2005 * gdb.reverse/until-reverse.exp
2006 * gdb.reverse/waitpid-reverse.exp
2007 * gdb.reverse/watch-precsave.exp
2008 * gdb.reverse/watch-reverse.exp
2010 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2012 Fix test names starting with uppercase throughout the files.
2014 * gdb.arch/i386-mpx-simple_segv.exp
2015 * gdb.arch/i386-mpx.exp
2016 * gdb.arch/i386-permbkpt.exp
2017 * gdb.arch/pa-nullify.exp
2018 * gdb.arch/powerpc-d128-regs.exp
2019 * gdb.arch/vsx-regs.exp
2020 * gdb.base/bfp-test.exp
2021 * gdb.base/break.exp
2022 * gdb.base/breakpoint-shadow.exp
2023 * gdb.base/callfuncs.exp
2024 * gdb.base/charset.exp
2025 * gdb.base/commands.exp
2026 * gdb.base/completion.exp
2027 * gdb.base/dfp-test.exp
2029 * gdb.base/ending-run.exp
2031 * gdb.base/expand-psymtabs.exp
2032 * gdb.base/float128.exp
2033 * gdb.base/floatn.exp
2034 * gdb.base/foll-exec-mode.exp
2035 * gdb.base/gdb1056.exp
2036 * gdb.base/gdb11531.exp
2037 * gdb.base/kill-after-signal.exp
2038 * gdb.base/multi-forks.exp
2039 * gdb.base/overlays.exp
2040 * gdb.base/pending.exp
2041 * gdb.base/sepdebug.exp
2042 * gdb.base/testenv.exp
2043 * gdb.base/valgrind-db-attach.exp
2044 * gdb.base/watch_thread_num.exp
2045 * gdb.base/watchpoint-cond-gone.exp
2046 * gdb.base/watchpoint.exp
2047 * gdb.base/watchpoints.exp
2048 * gdb.cp/arg-reference.exp
2049 * gdb.cp/baseenum.exp
2050 * gdb.cp/operator.exp
2052 * gdb.dwarf2/dw2-op-out-param.exp
2053 * gdb.dwarf2/dw2-reg-undefined.exp
2056 * gdb.go/integers.exp
2057 * gdb.go/methods.exp
2058 * gdb.go/package.exp
2059 * gdb.guile/scm-parameter.exp
2060 * gdb.guile/scm-progspace.exp
2061 * gdb.guile/scm-value.exp
2062 * gdb.mi/mi-pending.exp
2063 * gdb.mi/user-selected-context-sync.exp
2064 * gdb.multi/multi-attach.exp
2065 * gdb.multi/tids.exp
2066 * gdb.opt/clobbered-registers-O2.exp
2067 * gdb.pascal/floats.exp
2068 * gdb.pascal/integers.exp
2069 * gdb.python/py-block.exp
2070 * gdb.python/py-events.exp
2071 * gdb.python/py-parameter.exp
2072 * gdb.python/py-symbol.exp
2073 * gdb.python/py-symtab.exp
2074 * gdb.python/py-type.exp
2075 * gdb.python/py-value.exp
2076 * gdb.python/py-xmethods.exp
2077 * gdb.python/python.exp
2078 * gdb.reverse/break-precsave.exp
2079 * gdb.reverse/consecutive-precsave.exp
2080 * gdb.reverse/finish-precsave.exp
2081 * gdb.reverse/i386-precsave.exp
2082 * gdb.reverse/machinestate-precsave.exp
2083 * gdb.reverse/sigall-precsave.exp
2084 * gdb.reverse/solib-precsave.exp
2085 * gdb.reverse/step-precsave.exp
2086 * gdb.reverse/until-precsave.exp
2087 * gdb.reverse/watch-precsave.exp
2088 * gdb.server/ext-attach.exp
2089 * gdb.server/ext-restart.exp
2090 * gdb.server/ext-run.exp
2091 * gdb.server/ext-wrapper.exp
2092 * gdb.stabs/gdb11479.exp
2093 * gdb.stabs/weird.exp
2094 * gdb.threads/attach-many-short-lived-threads.exp
2095 * gdb.threads/kill.exp
2096 * gdb.threads/watchpoint-fork.exp
2098 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2100 Fix test names starting with uppercase throughout all the files below.
2102 * gdb.ada/array_return.exp
2103 * gdb.ada/catch_ex.exp
2104 * gdb.ada/info_exc.exp
2105 * gdb.ada/mi_catch_ex.exp
2106 * gdb.ada/mi_dyn_arr.exp
2107 * gdb.ada/mi_ex_cond.exp
2108 * gdb.ada/mi_exc_info.exp
2109 * gdb.ada/mi_interface.exp
2110 * gdb.ada/mi_task_arg.exp
2111 * gdb.ada/mi_task_info.exp
2112 * gdb.ada/mi_var_array.exp
2113 * gdb.arch/alpha-step.exp
2114 * gdb.arch/amd64-disp-step.exp
2115 * gdb.arch/arm-disp-step.exp
2116 * gdb.arch/disp-step-insn-reloc.exp
2117 * gdb.arch/e500-prologue.exp
2118 * gdb.arch/ftrace-insn-reloc.exp
2119 * gdb.arch/gdb1558.exp
2120 * gdb.arch/i386-bp_permanent.exp
2121 * gdb.arch/i386-disp-step.exp
2122 * gdb.arch/i386-float.exp
2123 * gdb.arch/i386-gnu-cfi.exp
2124 * gdb.arch/ia64-breakpoint-shadow.exp
2125 * gdb.arch/mips16-thunks.exp
2126 * gdb.arch/pa-nullify.exp
2127 * gdb.arch/powerpc-aix-prologue.exp
2128 * gdb.arch/powerpc-power.exp
2129 * gdb.arch/ppc-dfp.exp
2130 * gdb.arch/s390-tdbregs.exp
2131 * gdb.arch/spu-info.exp
2132 * gdb.arch/spu-ls.exp
2133 * gdb.arch/thumb-bx-pc.exp
2134 * gdb.base/advance.exp
2135 * gdb.base/annota-input-while-running.exp
2136 * gdb.base/arrayidx.exp
2137 * gdb.base/asmlabel.exp
2138 * gdb.base/async.exp
2139 * gdb.base/attach-wait-input.exp
2140 * gdb.base/auto-connect-native-target.exp
2141 * gdb.base/batch-preserve-term-settings.exp
2142 * gdb.base/bfp-test.exp
2143 * gdb.base/bigcore.exp
2144 * gdb.base/bp-permanent.exp
2145 * gdb.base/break-always.exp
2146 * gdb.base/break-fun-addr.exp
2147 * gdb.base/break-idempotent.exp
2148 * gdb.base/break-main-file-remove-fail.exp
2149 * gdb.base/break-probes.exp
2150 * gdb.base/break-unload-file.exp
2151 * gdb.base/break.exp
2152 * gdb.base/call-ar-st.exp
2153 * gdb.base/call-rt-st.exp
2154 * gdb.base/call-sc.exp
2155 * gdb.base/call-signal-resume.exp
2156 * gdb.base/call-strs.exp
2157 * gdb.base/callexit.exp
2158 * gdb.base/callfuncs.exp
2159 * gdb.base/catch-gdb-caused-signals.exp
2160 * gdb.base/catch-signal-siginfo-cond.exp
2161 * gdb.base/catch-syscall.exp
2162 * gdb.base/compare-sections.exp
2163 * gdb.base/cond-eval-mode.exp
2164 * gdb.base/condbreak-call-false.exp
2165 * gdb.base/consecutive-step-over.exp
2166 * gdb.base/cursal.exp
2167 * gdb.base/disabled-location.exp
2168 * gdb.base/disasm-end-cu.exp
2169 * gdb.base/display.exp
2170 * gdb.base/double-prompt-target-event-error.exp
2171 * gdb.base/dprintf-bp-same-addr.exp
2172 * gdb.base/dprintf-detach.exp
2173 * gdb.base/dprintf-next.exp
2174 * gdb.base/dprintf-non-stop.exp
2175 * gdb.base/dprintf-pending.exp
2176 * gdb.base/dso2dso.exp
2177 * gdb.base/ending-run.exp
2178 * gdb.base/enum_cond.exp
2179 * gdb.base/examine-backward.exp
2180 * gdb.base/exe-lock.exp
2181 * gdb.base/exec-invalid-sysroot.exp
2182 * gdb.base/execl-update-breakpoints.exp
2183 * gdb.base/execution-termios.exp
2184 * gdb.base/fileio.exp
2185 * gdb.base/fixsection.exp
2186 * gdb.base/foll-exec-mode.exp
2187 * gdb.base/foll-exec.exp
2188 * gdb.base/fork-running-state.exp
2189 * gdb.base/frame-args.exp
2190 * gdb.base/fullpath-expand.exp
2191 * gdb.base/func-ptr.exp
2192 * gdb.base/gcore-relro-pie.exp
2193 * gdb.base/gdb1090.exp
2194 * gdb.base/gdb1555.exp
2195 * gdb.base/global-var-nested-by-dso.exp
2196 * gdb.base/gnu-ifunc.exp
2197 * gdb.base/hbreak-in-shr-unsupported.exp
2198 * gdb.base/hbreak-unmapped.exp
2199 * gdb.base/hook-stop.exp
2200 * gdb.base/infcall-input.exp
2201 * gdb.base/info-fun.exp
2202 * gdb.base/info-shared.exp
2203 * gdb.base/interrupt-noterm.exp
2204 * gdb.base/jit-so.exp
2206 * gdb.base/line-symtabs.exp
2208 * gdb.base/longjmp.exp
2209 * gdb.base/macscp.exp
2210 * gdb.base/max-value-size.exp
2211 * gdb.base/nodebug.exp
2212 * gdb.base/nofield.exp
2213 * gdb.base/overlays.exp
2214 * gdb.base/paginate-after-ctrl-c-running.exp
2215 * gdb.base/paginate-bg-execution.exp
2216 * gdb.base/paginate-inferior-exit.exp
2217 * gdb.base/pending.exp
2218 * gdb.base/pr11022.exp
2219 * gdb.base/printcmds.exp
2220 * gdb.base/ptr-typedef.exp
2221 * gdb.base/ptype.exp
2222 * gdb.base/randomize.exp
2223 * gdb.base/range-stepping.exp
2224 * gdb.base/realname-expand.exp
2225 * gdb.base/relativedebug.exp
2226 * gdb.base/remote.exp
2227 * gdb.base/savedregs.exp
2228 * gdb.base/sepdebug.exp
2229 * gdb.base/set-noassign.exp
2230 * gdb.base/shlib-call.exp
2231 * gdb.base/shreloc.exp
2232 * gdb.base/sigaltstack.exp
2233 * gdb.base/sigbpt.exp
2234 * gdb.base/siginfo-addr.exp
2235 * gdb.base/siginfo-obj.exp
2236 * gdb.base/siginfo-thread.exp
2237 * gdb.base/signest.exp
2238 * gdb.base/signull.exp
2239 * gdb.base/sigrepeat.exp
2241 * gdb.base/so-impl-ld.exp
2242 * gdb.base/solib-corrupted.exp
2243 * gdb.base/solib-disc.exp
2244 * gdb.base/solib-display.exp
2245 * gdb.base/solib-overlap.exp
2246 * gdb.base/solib-search.exp
2247 * gdb.base/solib-symbol.exp
2248 * gdb.base/source-execution.exp
2249 * gdb.base/sss-bp-on-user-bp-2.exp
2250 * gdb.base/sss-bp-on-user-bp.exp
2251 * gdb.base/stack-checking.exp
2252 * gdb.base/stale-infcall.exp
2253 * gdb.base/step-break.exp
2254 * gdb.base/step-line.exp
2255 * gdb.base/step-over-exit.exp
2256 * gdb.base/step-test.exp
2257 * gdb.base/structs.exp
2258 * gdb.base/sym-file.exp
2259 * gdb.base/symtab-search-order.exp
2261 * gdb.base/type-opaque.exp
2262 * gdb.base/unload.exp
2263 * gdb.base/until-nodebug.exp
2264 * gdb.base/until.exp
2265 * gdb.base/unwindonsignal.exp
2266 * gdb.base/watch-cond.exp
2267 * gdb.base/watch-non-mem.exp
2268 * gdb.base/watch_thread_num.exp
2269 * gdb.base/watchpoint-reuse-slot.exp
2270 * gdb.base/watchpoint-solib.exp
2271 * gdb.base/watchpoint.exp
2272 * gdb.btrace/dlopen.exp
2274 * gdb.cell/break.exp
2278 * gdb.cell/dwarfaddr.exp
2279 * gdb.cell/ea-cache.exp
2280 * gdb.cell/ea-standalone.exp
2281 * gdb.cell/ea-test.exp
2282 * gdb.cell/f-regs.exp
2284 * gdb.cell/gcore.exp
2285 * gdb.cell/mem-access.exp
2286 * gdb.cell/ptype.exp
2287 * gdb.cell/registers.exp
2288 * gdb.cell/sizeof.exp
2289 * gdb.cell/solib-symbol.exp
2290 * gdb.cell/solib.exp
2291 * gdb.compile/compile-tls.exp
2292 * gdb.cp/exception.exp
2293 * gdb.cp/gdb2495.exp
2295 * gdb.cp/mb-inline.exp
2296 * gdb.cp/mb-templates.exp
2297 * gdb.cp/pr10687.exp
2299 * gdb.cp/scope-err.exp
2300 * gdb.cp/templates.exp
2301 * gdb.cp/virtfunc.exp
2302 * gdb.dwarf2/dw2-dir-file-name.exp
2303 * gdb.dwarf2/dw2-single-line-discriminators.exp
2304 * gdb.fortran/complex.exp
2305 * gdb.fortran/library-module.exp
2306 * gdb.guile/guile.exp
2307 * gdb.guile/scm-cmd.exp
2308 * gdb.guile/scm-frame-inline.exp
2309 * gdb.guile/scm-objfile.exp
2310 * gdb.guile/scm-pretty-print.exp
2311 * gdb.guile/scm-symbol.exp
2312 * gdb.guile/scm-type.exp
2313 * gdb.guile/scm-value.exp
2314 * gdb.linespec/keywords.exp
2315 * gdb.linespec/ls-errs.exp
2316 * gdb.linespec/macro-relative.exp
2317 * gdb.linespec/thread.exp
2318 * gdb.mi/mi-breakpoint-changed.exp
2319 * gdb.mi/mi-dprintf-pending.exp
2320 * gdb.mi/mi-fullname-deleted.exp
2321 * gdb.mi/mi-logging.exp
2322 * gdb.mi/mi-pending.exp
2323 * gdb.mi/mi-solib.exp
2324 * gdb.mi/new-ui-mi-sync.exp
2325 * gdb.mi/user-selected-context-sync.exp
2326 * gdb.multi/dummy-frame-restore.exp
2327 * gdb.multi/multi-arch-exec.exp
2328 * gdb.multi/remove-inferiors.exp
2329 * gdb.multi/watchpoint-multi-exit.exp
2330 * gdb.opt/solib-intra-step.exp
2331 * gdb.perf/backtrace.exp
2332 * gdb.perf/single-step.exp
2333 * gdb.perf/skip-command.exp
2334 * gdb.perf/skip-prologue.exp
2335 * gdb.perf/solib.exp
2336 * gdb.python/lib-types.exp
2337 * gdb.python/py-as-string.exp
2338 * gdb.python/py-bad-printers.exp
2339 * gdb.python/py-block.exp
2340 * gdb.python/py-breakpoint.exp
2341 * gdb.python/py-cmd.exp
2342 * gdb.python/py-events.exp
2343 * gdb.python/py-evthreads.exp
2344 * gdb.python/py-finish-breakpoint.exp
2345 * gdb.python/py-finish-breakpoint2.exp
2346 * gdb.python/py-frame-inline.exp
2347 * gdb.python/py-frame.exp
2348 * gdb.python/py-inferior.exp
2349 * gdb.python/py-infthread.exp
2350 * gdb.python/py-mi.exp
2351 * gdb.python/py-objfile.exp
2352 * gdb.python/py-pp-maint.exp
2353 * gdb.python/py-pp-registration.exp
2354 * gdb.python/py-prettyprint.exp
2355 * gdb.python/py-recurse-unwind.exp
2356 * gdb.python/py-shared.exp
2357 * gdb.python/py-symbol.exp
2358 * gdb.python/py-symtab.exp
2359 * gdb.python/py-template.exp
2360 * gdb.python/py-type.exp
2361 * gdb.python/py-unwind-maint.exp
2362 * gdb.python/py-unwind.exp
2363 * gdb.python/py-value.exp
2364 * gdb.python/python.exp
2365 * gdb.reverse/finish-reverse-bkpt.exp
2366 * gdb.reverse/insn-reverse.exp
2367 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2368 * gdb.reverse/solib-precsave.exp
2369 * gdb.reverse/solib-reverse.exp
2370 * gdb.stabs/gdb11479.exp
2371 * gdb.stabs/weird.exp
2372 * gdb.threads/fork-child-threads.exp
2373 * gdb.threads/fork-plus-threads.exp
2374 * gdb.threads/fork-thread-pending.exp
2375 * gdb.threads/forking-threads-plus-breakpoint.exp
2376 * gdb.threads/hand-call-in-threads.exp
2377 * gdb.threads/interrupted-hand-call.exp
2378 * gdb.threads/linux-dp.exp
2379 * gdb.threads/local-watch-wrong-thread.exp
2380 * gdb.threads/next-while-other-thread-longjmps.exp
2381 * gdb.threads/non-ldr-exit.exp
2382 * gdb.threads/pending-step.exp
2383 * gdb.threads/print-threads.exp
2384 * gdb.threads/process-dies-while-detaching.exp
2385 * gdb.threads/process-dies-while-handling-bp.exp
2386 * gdb.threads/pthreads.exp
2387 * gdb.threads/queue-signal.exp
2388 * gdb.threads/reconnect-signal.exp
2389 * gdb.threads/signal-command-handle-nopass.exp
2390 * gdb.threads/signal-command-multiple-signals-pending.exp
2391 * gdb.threads/signal-delivered-right-thread.exp
2392 * gdb.threads/signal-sigtrap.exp
2393 * gdb.threads/sigthread.exp
2394 * gdb.threads/staticthreads.exp
2395 * gdb.threads/stepi-random-signal.exp
2396 * gdb.threads/thread-unwindonsignal.exp
2397 * gdb.threads/thread_check.exp
2398 * gdb.threads/thread_events.exp
2399 * gdb.threads/tid-reuse.exp
2400 * gdb.threads/tls-nodebug.exp
2401 * gdb.threads/tls-shared.exp
2402 * gdb.threads/tls-so_extern.exp
2403 * gdb.threads/tls.exp
2404 * gdb.threads/wp-replication.exp
2405 * gdb.trace/actions-changed.exp
2406 * gdb.trace/actions.exp
2407 * gdb.trace/backtrace.exp
2408 * gdb.trace/change-loc.exp
2409 * gdb.trace/collection.exp
2410 * gdb.trace/deltrace.exp
2411 * gdb.trace/disconnected-tracing.exp
2412 * gdb.trace/entry-values.exp
2413 * gdb.trace/ftrace-lock.exp
2414 * gdb.trace/ftrace.exp
2415 * gdb.trace/infotrace.exp
2416 * gdb.trace/mi-trace-frame-collected.exp
2417 * gdb.trace/mi-trace-unavailable.exp
2418 * gdb.trace/mi-traceframe-changed.exp
2419 * gdb.trace/mi-tracepoint-changed.exp
2420 * gdb.trace/mi-tsv-changed.exp
2421 * gdb.trace/no-attach-trace.exp
2422 * gdb.trace/packetlen.exp
2423 * gdb.trace/passc-dyn.exp
2424 * gdb.trace/passcount.exp
2425 * gdb.trace/pending.exp
2426 * gdb.trace/pr16508.exp
2427 * gdb.trace/qtro.exp
2428 * gdb.trace/range-stepping.exp
2429 * gdb.trace/read-memory.exp
2430 * gdb.trace/report.exp
2431 * gdb.trace/save-trace.exp
2432 * gdb.trace/signal.exp
2433 * gdb.trace/stap-trace.exp
2434 * gdb.trace/status-stop.exp
2435 * gdb.trace/strace.exp
2436 * gdb.trace/tfile.exp
2437 * gdb.trace/tfind.exp
2438 * gdb.trace/trace-break.exp
2439 * gdb.trace/trace-condition.exp
2440 * gdb.trace/trace-enable-disable.exp
2441 * gdb.trace/trace-mt.exp
2442 * gdb.trace/tracecmd.exp
2443 * gdb.trace/tracefile-pseudo-reg.exp
2444 * gdb.trace/tspeed.exp
2445 * gdb.trace/tstatus.exp
2447 * gdb.trace/unavailable.exp
2448 * gdb.trace/while-dyn.exp
2449 * gdb.trace/while-stepping.exp
2452 * lib/mi-support.exp
2455 * lib/prelink-support.exp
2456 * lib/selftest-support.exp
2458 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
2460 * Makefile.in: Include disable-implicit-rules.mk.
2462 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2464 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
2465 non-byte-aligned bit fields.
2467 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2470 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
2471 respects the DW_AT_data_bit_offset attribute.
2473 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
2475 * gdb.base/default.exp: Fix output of "set language".
2477 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
2479 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
2480 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
2482 * configure.ac: Remove checks for the make program.
2483 * configure: Re-generate.
2485 2016-11-16 Kevin Buettner <kevinb@redhat.com>
2487 * gdb.python/py-recurse-unwind.c (main): Add loop.
2488 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
2489 to read_register() and gdb.parse_and_eval(). Make each code
2490 call a separate case that can be individually tested.
2491 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
2492 proc. Call cont_and_backtrace for each of the code paths that
2493 we want to test in the unwinder.
2495 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
2497 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
2498 the definition of struct S.
2500 2016-11-11 Catherine Moore <clm@codesourcery.com>
2502 * gdb.base/dump.exp: Identify verilog format dump tests as such.
2504 2016-11-09 Pedro Alves <palves@redhat.com>
2506 * gdb.base/commands.exp (runto_or_return): New procedure.
2507 (gdbvar_simple_if_test, gdbvar_simple_while_test)
2508 (gdbvar_complex_if_while_test, progvar_simple_if_test)
2509 (progvar_simple_while_test, progvar_complex_if_while_test)
2510 (if_while_breakpoint_command_test)
2511 (infrun_breakpoint_command_test, breakpoint_command_test)
2512 (user_defined_command_test, watchpoint_command_test)
2513 (test_command_prompt_position, redefine_hook_test)
2514 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
2515 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
2516 multi_line_input and multi_line. Remove gdb_expect and
2517 gdb_stop_suppressing_tests uses.
2518 * lib/gdb.exp (valnum_re): New global.
2519 (multi_line_input): New procedure.
2521 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
2523 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
2525 (test_setup): Define with proc_with_prefix.
2526 (test_cli_inferior): Likewise.
2527 (test_cli_thread): Likewise.
2528 (test_cli_frame): Likewise.
2529 (test_cli_select_frame): Likewise.
2530 (test_cli_up_down): Likewise.
2531 (test_mi_thread_select): Likewise.
2532 (test_mi_stack_select_frame): Likewise.
2533 (test_cli_in_mi_inferior): Likewise.
2534 (test_cli_in_mi_thread): Likewise.
2535 (test_cli_in_mi_frame): Likewise.
2536 (top level): Do not use with_test_prefix_procname.
2538 2016-11-09 Pedro Alves <palves@redhat.com>
2540 * gdb.base/commands.exp (gdbvar_simple_if_test)
2541 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
2542 (progvar_simple_if_test, progvar_simple_while_test)
2543 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
2544 (infrun_breakpoint_command_test, breakpoint_command_test)
2545 (user_defined_command_test, watchpoint_command_test)
2546 (test_command_prompt_position, deprecated_command_test)
2547 (bp_deleted_in_command, temporary_breakpoint_commands)
2548 (stray_arg0_test, source_file_with_indented_comment)
2549 (recursive_source_test, if_commands_test)
2550 (error_clears_commands_left, redefine_hook_test)
2551 (redefine_backtrace_test): Use proc_with_prefix.
2552 * lib/gdb.exp (proc_with_prefix): New proc.
2554 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2556 * gdb.base/tui-layout.c: New file.
2557 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
2558 disassembly window contains very long lines.
2560 2016-11-08 Tom Tromey <tom@tromey.com>
2562 * gdb.python/py-value.exp (test_value_creation): Make "long" test
2565 2016-11-08 Tom Tromey <tom@tromey.com>
2567 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
2570 2016-10-29 Manish Goregaokar <manish@mozilla.com>
2572 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
2574 2016-10-27 Manish Goregaokar <manish@mozilla.com>
2576 * gdb.rust/simple.rs: Add test for univariant enums without
2577 discriminants and for encoded struct-like enums.
2579 2016-10-28 Pedro Alves <palves@redhat.com>
2581 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
2582 gdb_test_multiple, tighten regexps and match symtabs and line
2583 tables incrementally.
2585 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
2587 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
2590 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
2592 * gdb.base/exec-invalid-sysroot.exp: New file.
2594 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2596 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
2598 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2600 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
2602 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
2604 * gdb.base/killed-outside.exp: Remove $options from a call to
2605 `prepare_for_testing'.
2607 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2609 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2610 Change test message.
2612 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2614 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2617 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2619 * gdb.trace/mi-trace-save.exp: New file.
2621 2016-10-13 Yao Qi <yao.qi@linaro.org>
2623 * gdb.base/code_elim.exp (get_var_address): Remove.
2624 * gdb.base/relocate.exp: Likewise.
2625 * gdb.base/shreloc.exp: Likewise.
2626 * lib/gdb.exp (get_var_address): New.
2628 2016-10-13 Yao Qi <yao.qi@linaro.org>
2630 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
2631 floating point tests if $skip_float_test is false.
2633 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
2635 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
2636 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
2638 Add 1 to argc so we guarantee distinct initial/modified argc values.
2640 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2642 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
2644 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2646 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
2647 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2648 * gdb.arch/vsx-regs.exp: Likewise.
2650 2016-10-07 Yao Qi <yao.qi@linaro.org>
2652 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
2654 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
2656 * gdb.python/python.exp: Test decode_line("*0").
2658 2016-10-06 Doug Evans <dje@google.com>
2660 * gdb.python/py-value.exp (test_value_creation): Add test for large
2661 unsigned 64-bit value.
2663 2016-10-06 Tom Tromey <tom@tromey.com>
2665 * gdb.compile/compile.exp: Change java tests to rust.
2666 * gdb.base/setshow.exp: Change java tests to rust.
2667 * gdb.base/default.exp: Remove java from language list.
2668 * README (Examples): Update language example.
2669 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
2671 * lib/gdb.exp (skip_java_tests): Remove.
2672 * lib/java.exp: Remove.
2675 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2677 * gdb.arch/mips-fcr.exp: New test.
2678 * gdb.arch/mips-fcr.c: Source for the new test.
2680 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2682 * gdb.base/solib-disc.exp: Use `standard_output_file'
2685 2016-10-06 Pedro Alves <palves@redhat.com>
2687 * gdb.base/jit-simple-dl.c: New file.
2688 * gdb.base/jit-simple-jit.c: New file, factored out from ...
2689 * gdb.base/jit-simple.c: ... this.
2690 * gdb.base/jit-simple.exp (jit_run): Delete.
2691 (build_jit): New proc.
2692 (jit_test_reread): Recompile either the main program or the shared
2693 library, depending on what is being tested. Skip changing address
2694 if caller wants to. Compare before/after addresses. If testing
2695 standalone, explicitly load the binary. Test "maint info
2697 (top level): Add "standalone vs shared lib" and "change address"
2698 vs "same address" axes.
2700 2016-10-06 Pedro Alves <palves@redhat.com>
2702 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
2705 (jit_test_reread): Use with_test_prefix. Reload the main binary
2706 explicitly. Compare the before/after addresses of the JIT
2709 2016-08-15 Doug Evans <dje@google.com>
2711 * gdb.xml/extra-regs.xml: Update, end field now required, default type
2712 for single bitfields is bool.
2713 * gdb.xml/tdesc-regs.exp: Ditto.
2715 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2717 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
2719 2016-10-05 Yao Qi <yao.qi@linaro.org>
2721 * lib/gdb.exp (support_complex_tests): Return zero if
2722 gdb_skip_float_test return true.
2724 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2725 Simon Marchi <simon.marchi@ericsson.com>
2728 * gdb.mi/user-selected-context-sync.exp: New file.
2729 * gdb.mi/user-selected-context-sync.c: New file.
2731 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2732 Simon Marchi <simon.marchi@ericsson.com>
2735 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
2736 =thread-select-event check.
2738 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2740 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
2741 the compulsory L operand changes.
2742 * gdb.arch/powerpc-power.s: Likewise.
2744 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2746 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
2747 * gdb.base/jit-attach-pie.c: New file.
2748 * gdb.base/jit-attach-pie.exp: New file.
2750 2016-09-28 Pedro Alves <palves@redhat.com>
2752 * gdb.base/infcall-input.c: New file.
2753 * gdb.base/infcall-input.exp: New file.
2755 2016-09-22 Yao Qi <yao.qi@linaro.org>
2757 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
2758 (gdb_exit): Rename it to ...
2759 (gdbserver_gdb_exit): ... Close GDBserver.
2760 (gdb_exit): New proc, call gdbserver_gdb_exit.
2761 (mi_gdb_exit): Likewise.
2763 2016-09-22 Yao Qi <yao.qi@linaro.org>
2765 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
2767 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
2770 2016-09-22 Yao Qi <yao.qi@linaro.org>
2772 * lib/gdbserver-support.exp: Check the existence of
2773 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
2775 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2777 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
2779 2016-09-21 Tom Tromey <tom@tromey.com>
2782 * gdb.base/quit.exp: New file.
2784 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
2786 * .gitignore: New file.
2788 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
2790 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
2793 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2795 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
2797 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2799 * gdb.cp/casts.cc (decltype): Move it ...
2800 (main): ... with its call to ...
2801 * gdb.cp/casts03.cc: ... a new file.
2802 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2804 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2806 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2808 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2810 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2811 and sync up the test with tests in gas/testsuite/gas/ppc.
2812 * gdb.arch/powerpc-power.exp: Likewise.
2814 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2816 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2818 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2819 Jan Kratochvil <jan.kratochvil@redhat.com>
2821 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2822 make m1's definition to be different from m2's. Use 'dummy' as an
2823 argument for probe 'two'.
2825 2016-09-10 Jon Beniston <jon@beniston.com>
2827 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2830 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2832 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2833 variable declaration.
2834 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2835 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2836 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2837 received HWCAP as its argument.
2839 2016-09-06 Pedro Alves <palves@redhat.com>
2841 * gdb.base/new-ui-pending-input.c: New file.
2842 * gdb.base/new-ui-pending-input.exp: New file.
2843 * gdb.exp (clear_gdb_spawn_id): New procedure.
2844 (with_spawn_id): Check whether gdb_spawn_id exists before
2845 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2848 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2850 * gdb.base/float128.c: New file.
2851 * gdb.base/float128.exp: Likewise.
2852 * gdb.base/floatn.c: Likewise.
2853 * gdb.base/floatn.exp: Likewise.
2855 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2857 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2859 2016-09-05 Pedro Alves <palves@redhat.com>
2862 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2863 unwinders are immediately called as side effect of "source" or
2864 "disable unwinder" commands.
2865 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2867 2016-09-02 Yao Qi <yao.qi@linaro.org>
2869 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2870 is true and $type is "float" or "double".
2872 2016-09-02 Yao Qi <yao.qi@linaro.org>
2874 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2876 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2877 * gdb.base/call-rt-st.exp: Likewise.
2878 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2879 return value instead of gdb,skip_float_test.
2880 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2881 (do_function_calls): Use its return value instead of
2882 gdb,skip_float_test.
2883 * gdb.base/finish.exp: Likewise.
2884 * gdb.base/funcargs.exp: Likewise.
2885 * gdb.base/return.exp: Likewise.
2886 * gdb.base/return2.exp: Likewise.
2887 * gdb.base/varargs.exp: Likewise.
2888 * lib/gdb.exp (gdb_skip_float_test): Change it to
2889 gdb_caching_proc. Detect the broken ptrace on arm-linux.
2891 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2893 * gdb.multi/tids.exp: Test "thread apply all".
2895 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2897 * gdb.base/default.exp (tty): Remove.
2899 2016-08-24 Kevin Buettner <kevinb@redhat.com>
2901 * gdb.python/py-recurse-unwind.c: New file.
2902 * gdb.python/py-recurse-unwind.py: New file.
2903 * gdb.python/py-recurse-unwind.exp: New file.
2905 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
2907 * gdb.base/set-inferior-tty.exp: New file.
2908 * gdb.base/set-inferior-tty.c: New file.
2910 2016-08-23 Pedro Alves <palves@redhat.com>
2913 * gdb.base/new-ui-echo.c: New file.
2914 * gdb.base/new-ui-echo.exp: New file.
2916 2016-08-23 Yao Qi <yao.qi@linaro.org>
2918 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
2920 * gdb.server/connect-without-multi-process.exp (do_test):
2923 2016-08-23 Yao Qi <yao.qi@linaro.org>
2925 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
2926 standalone_txt. Delete gdb_txt and standalone_txt on host
2927 and target. Spawn the binary on target. Copy files from
2930 2016-08-22 Pedro Alves <palves@redhat.com>
2933 * gdb.base/vdso-warning.exp: Test core dumps too. Use
2934 with_test_prefix. Factor out bits to ...
2935 (test_no_vdso): ... this new procedure.
2937 2016-08-19 Carl Love <cel@us.ibm.com>
2939 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
2940 maintaining separate logic for constructing the output path.
2941 * gdb.arch/powerpc-d128-regs.exp: Likewise.
2942 * gdb.arch/ppc-dfp.exp: Likewise.
2943 * gdb.arch/ppc-fp.exp: Likewise.
2944 * gdb.arch/vsx-regs.exp: Likewise.
2945 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
2946 binprefix for generating the additional binary files.
2948 2016-08-19 Pedro Alves <palves@redhat.com>
2950 * gdb.trace/mi-trace-frame-collected.exp
2951 (test_trace_frame_collected): On x32, expect two registers.
2953 2016-08-18 Carl Love <cel@us.ibm.com>
2955 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
2956 and sync up the test with tests in gas/testsuite/gas/ppc.
2957 * gdb.arch/powerpc-power.exp: Likewise.
2959 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2961 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
2962 expected error message.
2964 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
2966 * gdb.multi/remove-inferiors.exp: New file.
2967 * gdb.multi/remove-inferiors.c: New file.
2969 2016-08-12 Yao Qi <yao.qi@linaro.org>
2971 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
2974 2016-08-10 Pedro Alves <palves@redhat.com>
2977 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
2980 2016-08-09 Pedro Alves <palves@redhat.com>
2981 Simon Marchi <simon.marchi@ericsson.com>
2984 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
2985 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
2987 2016-08-09 Pedro Alves <palves@redhat.com>
2990 * gdb.mi/mi-cmd-error.exp: New file.
2992 2016-08-09 Pedro Alves <palves@redhat.com>
2995 * gdb.base/signals-state-child.c: New file.
2996 * gdb.base/signals-state-child.exp: New file.
2997 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
2999 2016-08-09 Pedro Alves <palves@redhat.com>
3001 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
3003 2016-08-03 Tom Tromey <tom@tromey.com>
3006 * gdb.python/py-frame-inline.exp: Add Frame.function test.
3008 2016-08-01 Yao Qi <yao.qi@linaro.org>
3010 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
3011 variable mode to "multi-process" if $multi_process is 1, otherwise
3012 set it to "single-process".
3014 2016-08-01 Yao Qi <yao.qi@linaro.org>
3016 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
3017 * gdb.cp/cpexprs.exp: Likewise.
3018 * gdb.cp/m-static.exp: Likewise.
3020 2016-07-26 Tom Tromey <tom@tromey.com>
3023 * gdb.threads/tls.exp (check_thread_local): Add python symbol
3026 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
3028 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
3029 selecting assembly source files.
3030 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
3031 assembly source files.
3032 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
3033 assembly source files.
3034 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
3035 selecting assembly source files.
3037 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
3039 * gdb.base/new-ui.exp (do_test_invalid_args): New
3042 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
3044 * gdb.btrace/reconnect.c: New file.
3045 * gdb.btrace/reconnect.exp: New file.
3047 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
3049 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
3050 to test_catch_syscall_group.
3051 (test_catch_syscall_group): New.
3053 2016-07-21 Tom Tromey <tom@tromey.com>
3055 * gdb.rust/simple.rs (main): Use empty struct expression.
3056 * gdb.rust/simple.exp: Add tests for empty struct expression.
3058 2016-07-21 Yao Qi <yao.qi@linaro.org>
3060 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
3061 if gdb_skip_xml_test is true on some targets.
3063 2016-07-21 Yao Qi <yao.qi@linaro.org>
3065 * gdb.server/solib-list.exp: Unset last_loaded_file.
3067 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3069 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
3070 "step into captured_main (args)".
3072 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3074 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
3076 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3078 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
3080 2016-07-19 Pedro Alves <palves@redhat.com>
3082 * gdb.opt/inline-break.exp: Remove optimize=-O2.
3083 * gdb.opt/inline-bt.exp: Likewise.
3084 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
3085 additional_flags=-Winline.
3086 * gdb.opt/inline-locals.exp: Likewise.
3087 * gdb.opt/inline-markers.c (ATTR): Define.
3088 (inlined_fn): Use it.
3090 2016-07-19 Yao Qi <yao.qi@linaro.org>
3092 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
3093 (test_with_self): Remove some code. Remove argument executable.
3094 (top-level): Use do_self_tests.
3096 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
3097 Don Breazeal <donb@codesourcery.com>
3099 * gdb.base/maint.exp: Escape paths used in regular expressions.
3100 * gdb.stabs/weird.exp: Likewise.
3102 2016-07-13 Tom Tromey <tom@tromey.com>
3104 PR python/15620, PR python/18620:
3105 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
3106 (test_bkpt_events): New procs.
3108 2016-07-13 Tom Tromey <tom@tromey.com>
3111 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
3113 (test_watchpoints): Likewise.
3114 (test_bkpt_pending): New proc.
3116 2016-07-13 Tom Tromey <tom@tromey.com>
3119 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
3122 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3124 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
3125 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
3126 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
3128 (g): Rename g_end_lbl to g_label.
3129 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
3131 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
3133 2016-07-12 Tom Tromey <tom@tromey.com>
3136 * gdb.python/py-unwind-maint.exp: Update tests.
3138 2016-07-12 Yao Qi <yao.qi@linaro.org>
3140 * lib/selftest-support.exp (selftest_setup): Match the output
3141 when captured_main is inlined.
3143 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3145 * gdb.fortran/derived-types.exp (result_line, result_line_2):
3147 (print this%a, print this%b, print this): New tests.
3148 * gdb.fortran/derived-types.f90 (this): New object and
3151 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3153 * gdb.ada/arraydim.exp: Remove extra directory level in build
3156 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3158 * lib/ada.exp: Remove extra directory level in build directory.
3159 * gdb.ada/cond_lang.exp: Likewise.
3160 * gdb.ada/exec_changed.exp: Likewise.
3161 * gdb.ada/lang_switch.exp: Likewise.
3163 2016-07-06 Manish Goregaokar <manish@mozilla.com>
3165 * simple.rs: Add test for raw pointer subscripting.
3166 * simple.exp: Add test expectations.
3168 2016-07-05 Yao Qi <yao.qi@linaro.org>
3170 * gdb.mi/mi-reverse.exp: Match =record-started output.
3172 2016-07-01 Pedro Alves <palves@redhat.com>
3174 * gdb.base/jit-reader.exp (info_registers_current_frame): New
3176 (jit_reader_test): Test the jit reader's unwinder.
3177 * gdb.base/jithost.c (jit_function_00_code): New global.
3178 (main): Use memcpy to fill in the mmapped code, instead of poking
3179 bytes manually here.
3180 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
3182 (read_debug_info): Save the function's range.
3183 (read_sp): New function.
3184 (unwind_frame): Use it. Also unwind RBP.
3185 (get_frame_id): Use read_sp.
3186 (gdb_init_reader): Use calloc instead of malloc.
3187 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
3188 parameter. Use gdb_test_multiple.
3190 2016-07-01 Pedro Alves <palves@redhat.com>
3191 Antoine Tremblay <antoine.tremblay@ericsson.com>
3193 * gdb.threads/process-dies-while-detaching.c: New file.
3194 * gdb.threads/process-dies-while-detaching.exp: New file.
3196 2016-07-01 Pedro Alves <palves@redhat.com>
3198 * gdb.multi/watchpoint-multi-exit.c: New file.
3199 * gdb.multi/watchpoint-multi-exit.exp: New file.
3201 2016-06-30 Pedro Alves <palves@redhat.com>
3203 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
3204 unset inferior_spawn_id.
3206 2016-06-30 Pedro Alves <palves@redhat.com>
3208 * lib/mi-support.exp (default_mi_gdb_start): Declare global
3209 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
3211 2016-06-29 Yao Qi <yao.qi@linaro.org>
3213 * gdb.base/return.c: Add copyright header.
3215 2016-06-29 Tom Tromey <tom@tromey.com>
3218 * gdb.python/py-framefilter.exp: Add tests for setting priority
3219 and disabling of non-existent frame filter.
3221 2016-06-29 Yao Qi <yao.qi@linaro.org>
3223 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
3226 2016-06-28 Yao Qi <yao.qi@linaro.org>
3228 * gdb.base/catch-syscall.exp: Remove check on isnative and target
3229 triplets. Start gdb, execute catch syscall, and continue. Check
3230 gdb's output to determine catch syscall is supported.
3232 2016-06-27 Manish Goregaokar <manish@mozilla.com>
3234 * gdb.rust/simple.rs: Add test for returning unit in a function.
3235 * gdb.rust/simple.exp: Add expectation for functions returning
3238 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
3240 * gdb.python/py-breakpoint-create-fail.c,
3241 gdb.python/py-breakpoint-create-fail.exp,
3242 gdb.python/py-breakpoint-create-fail.py: New testcase.
3244 2016-06-25 Manish Goregaokar <manish@mozilla.com>
3247 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
3248 * gdb.rust/simple.exp: Add test expectations for new NonZero
3251 2016-06-24 David Taylor <dtaylor@emc.com>
3253 * gdb.base/offsets.exp: New file.
3254 * gdb.base/offsets.c: New file.
3256 2016-06-23 Tom Tromey <tom@tromey.com>
3259 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
3260 before any filters are loaded.
3262 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
3264 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
3265 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
3267 * gdb.fortran/derived-type-function.exp: New file.
3268 * gdb.fortran/derived-type-function.f90: New file.
3271 2016-06-21 Pedro Alves <palves@redhat.com>
3273 * gdb.base/new-ui.exp: New file.
3274 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
3275 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
3276 (with_spawn_id): New procedure.
3278 2016-06-21 Pedro Alves <palves@redhat.com>
3280 * gdb.mi/mi-exec-run.exp: New file.
3282 2016-06-21 Pedro Alves <palves@redhat.com>
3284 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
3285 breakpoint command's output on the main UI.
3286 (test_break): New procedure, factored out from calls in the top
3288 (top level): Use foreach_with_prefix to test MI as main UI and as
3291 2016-06-21 Pedro Alves <palves@redhat.com>
3293 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
3294 (test_awatch_creation_and_listing)
3295 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
3296 Remove 'type' parameter.
3297 (test_watchpoint_all): New parameter mi_mode. Remove
3299 (top level): Use foreach_with_prefix, and add main/separate UI MI
3302 2016-06-21 Pedro Alves <palves@redhat.com>
3304 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
3305 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
3306 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
3307 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
3308 (gdb_main_spawn_id, mi_spawn_id): Declare and
3310 (mi_create_inferior_pty): New procedure,
3311 factored out from default_mi_gdb_start.
3312 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
3314 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
3315 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
3316 Use mi_create_inferior_pty.
3317 (mi_gdb_start): Use eval to pass down args list.
3319 2016-06-21 Pedro Alves <palves@redhat.com>
3321 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
3322 * gdb.opt/inline-cmds.exp: Add MI tests.
3324 2016-06-21 Pedro Alves <palves@redhat.com>
3326 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
3328 2016-06-21 Pedro Alves <palves@redhat.com>
3330 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
3331 (top level): Use it instead of mi_execute_to.
3333 2016-06-21 Pedro Alves <palves@redhat.com>
3335 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
3336 (cont_handler_str): New.
3337 (signal_stop_handler): Set stop_handler_str instead of printing to
3339 (continue_handler): Set cont_handler_str instead of printing to
3341 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
3342 mi_send_resuming_command. Print stop_handler_str and
3343 cont_handler_str instead of expecting the python events print
3346 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
3348 * gdb.base/jit-reader.exp: New file.
3349 * gdb.base/jithost.c: New file.
3350 * gdb.base/jithost.h: New file.
3351 * gdb.base/jitreader.c : New file.
3352 * gdb.base/jit-protocol.h: New file.
3354 2016-06-17 Yao Qi <yao.qi@linaro.org>
3356 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
3357 parameters follow_fork and detach_on_fork. Set follow-fork-mode
3358 and detach-on-fork. Adjust tests.
3359 (top level): Invoke break_cond_on_syscall with combinations of
3360 syscall, follow-fork-mode and detach-on-fork.
3362 2016-06-17 Yao Qi <yao.qi@linaro.org>
3364 * gdb.base/step-over-exit.c: New.
3365 * gdb.base/step-over-exit.exp: New.
3367 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
3369 * gdb.base/float.exp: Add target check for nds32*-*-*.
3370 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
3372 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
3374 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
3375 for unsupported target features.
3376 * gdb.base/call-rt-st.exp: Likewise.
3377 * gdb.base/call-sc.exp: Likewise.
3378 * gdb.base/call-signal-resume.exp: Likewise.
3379 * gdb.base/call-strs.exp: Likewise.
3380 * gdb.base/callexit.exp: Likewise.
3381 * gdb.base/callfuncs.exp: Likewise.
3382 * gdb.base/nodebug.exp: Likewise.
3383 * gdb.base/printcmds.exp: Likewise.
3384 * gdb.base/ptype.exp: Likewise.
3385 * gdb.base/structs.exp: Likewise.
3386 * gdb.base/unwindonsignal.exp: Likewise.
3387 * gdb.cp/gdb2495.exp: Likewise.
3388 * gdb.cp/templates.exp: Likewise.
3389 * gdb.cp/virtfunc.exp: Likewise.
3390 * gdb.threads/hand-call-in-threads.exp: Likewise.
3391 * gdb.threads/interrupted-hand-call.exp: Likewise.
3392 * gdb.threads/thread-unwindonsignal.exp: Likewise.
3394 2016-06-10 Tom Tromey <tom@tromey.com>
3397 * gdb.rust/expr.exp: Add test for integer constant larger than
3400 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
3402 * gdb.fortran/nested-funcs.exp: New.
3403 * gdb.fortran/nested-funcs.f90: New.
3405 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
3407 * gdb.base/examine-backward.c: New file.
3408 * gdb.base/examine-backward.exp: New file.
3410 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
3412 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
3415 2016-06-02 Tom Tromey <tom@tromey.com>
3418 * gdb.python/py-shared.exp: Add solib_name test.
3420 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
3422 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
3424 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
3427 * gdb.dwarf2/implref.exp: Rename to...
3428 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
3429 * gdb.dwarf2/implref-array.c: New file.
3430 * gdb.dwarf2/implref-array.exp: Likewise.
3431 * gdb.dwarf2/implref-global.c: Likewise.
3432 * gdb.dwarf2/implref-global.exp: Likewise.
3433 * gdb.dwarf2/implref-struct.c: Likewise.
3434 * gdb.dwarf2/implref-struct.exp: Likewise.
3436 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3438 * gdb.trace/trace-condition.exp: Add 64bit tests.
3440 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3442 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
3444 (main): Adapt to 8 to 64 bits types.
3445 * gdb.trace/trace-condition.exp: Add new tests.
3447 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3449 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
3451 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3453 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
3454 Move condition tests...
3455 * gdb.trace/trace-condition.exp: Here.
3457 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3459 * gdb.trace/trace-condition.exp: Add counter-case tests.
3461 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3464 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
3465 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
3467 2016-05-27 Pedro Alves <palves@redhat.com>
3469 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3471 (top level): Call it, and bail out of DejaGnu is known to be bad.
3473 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
3475 * gdb.base/whatis.c: Extend the test case.
3476 * gdb.base/whatis.exp: Add additional tests.
3478 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3480 * gdb.fortran/type.f90: Add pointer variable.
3481 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
3483 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3485 * gdb.fortran/vla-type.exp: Fix testcase name.
3487 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3489 * gdb.fortran/vla-type.exp: Access elements in nested structs.
3491 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3493 * gdb.fortran/type.f90: Add nested structures.
3494 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
3495 * gdb.fortran/derived-type.exp: Adapt expected output.
3496 * gdb.fortran/vla-type.exp: Adapt expected output.
3498 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3500 * gdb.fortran/whatis_type.exp: Adapt expected output.
3502 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3504 * gdb.fortran/print_type.exp: Fix expected output.
3505 * gdb.fortran/whatis_type.exp: Fix expected output.
3507 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3509 * gdb.fortran/whatis_type.exp: Use multi_line.
3511 2016-05-24 Tom Tromey <tom@tromey.com>
3514 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
3515 use value as an index.
3517 2016-05-23 Tom Tromey <tom@tromey.com>
3520 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
3523 2016-05-24 Pedro Alves <palves@redhat.com>
3526 * gdb.threads/clone-attach-detach.c: New file.
3527 * gdb.threads/clone-attach-detach.exp: New file.
3529 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
3531 * gdb.base/annota-input-while-running.exp: Fix syntax error.
3533 2016-05-23 Tom Tromey <tom@tromey.com>
3535 PR python/19438, PR python/18393:
3536 * gdb.python/py-progspace.exp: Add "dir" test.
3537 * gdb.python/py-objfile.exp: Add "dir" test.
3539 2016-05-23 Yao Qi <yao.qi@linaro.org>
3541 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
3542 * gdb.arch/thumb2-it.exp: Likewise.
3544 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
3546 * gdb.mi/mi-threads-interrupt.c: New file.
3547 * gdb.mi/mi-threads-interrupt.exp: New file.
3549 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
3552 * gdb.mi/mi-async-run.exp: New file.
3553 * gdb.mi/mi-async-run.c: New file.
3555 2016-05-17 Tom Tromey <tom@tromey.com>
3556 Manish Goregaokar <manishsmail@gmail.com>
3558 * lib/rust-support.exp: New file.
3559 * lib/gdb.exp (skip_rust_tests): New proc.
3560 (build_executable_from_specs): Handle rust.
3561 * lib/future.exp (gdb_find_rustc): New proc.
3562 (gdb_default_target_compile): Handle rust.
3563 * gdb.rust/expr.exp: New file.
3564 * gdb.rust/generics.exp: New file.
3565 * gdb.rust/generics.rs: New file.
3566 * gdb.rust/methods.exp: New file.
3567 * gdb.rust/methods.rs: New file.
3568 * gdb.rust/modules.exp: New file.
3569 * gdb.rust/modules.rs: New file.
3570 * gdb.rust/simple.exp: New file.
3571 * gdb.rust/simple.rs: New file.
3573 2016-05-17 Tom Tromey <tom@tromey.com>
3575 * gdb.base/default.exp (set language): Add rust.
3577 2016-05-17 Tom Tromey <tom@tromey.com>
3579 * gdb.gdb/unittest.exp: New file.
3581 2016-05-16 Yao Qi <yao.qi@linaro.org>
3583 * gdb.base/batch-preserve-term-settings.exp: Remove variable
3584 shell_prompt. Update shell_prompt_re.
3586 2016-05-12 Doug Evans <dje@google.com>
3589 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
3590 $options when building executable.
3591 * gdb.dwarf2/fission-loclists-pie.S: New file.
3592 * gdb.dwarf2/fission-loclists-pie.exp: New file.
3594 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3596 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
3597 of [is_remote target],
3599 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3601 * lib/gdb.exp (use_gdb_stub): New procedure.
3603 2016-05-03 Yunlian Jiang <yunlian@google.com>
3604 Doug Evans <dje@google.com>
3607 * gdb.dwarf2/dwp-sepdebug.c: New file.
3608 * gdb.dwarf2/dwp-sepdebug.exp: New file.
3610 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3612 * gdb.base/detach.exp: Remove is_remote check.
3614 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3616 * gdb.base/annota-input-while-running.exp: Don't check for
3617 [is_remote target]. Enable annotations after running to main.
3618 Remove unused "set test..." line.
3620 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3622 * gdb.trace/trace-enable-disable.exp: New file.
3623 * gdb.trace/trace-enable-disable.c: New file.
3625 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3627 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
3628 use it in info sharedlibrary test.
3629 * gdb.trace/ftrace-lock.exp: Likewise.
3630 * gdb.trace/ftrace.exp: Likewise.
3631 * gdb.trace/range-stepping.exp: Likewise.
3632 * gdb.trace/trace-break.exp: Likewise.
3633 * gdb.trace/trace-condition.exp: Likewise.
3634 * gdb.trace/trace-mt.exp: Likewise.
3636 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3638 * lib/gdb.exp (gdb_load_shlibs): Rename to...
3639 (gdb_load_shlib): ... this.
3640 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
3642 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3643 * gdb.base/ctxobj.exp: Likewise.
3644 * gdb.base/dprintf-pending.exp: Likewise.
3645 * gdb.base/dso2dso.exp: Likewise.
3646 * gdb.base/fixsection.exp: Likewise.
3647 * gdb.base/gcore-relro.exp: Likewise.
3648 * gdb.base/gdb1555.exp: Likewise.
3649 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3650 * gdb.base/gnu-ifunc.exp: Likewise.
3651 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
3652 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3653 * gdb.base/pending.exp: Likewise.
3654 * gdb.base/print-file-var.exp: Likewise.
3655 * gdb.base/print-symbol-loading.exp: Likewise.
3656 * gdb.base/shlib-call.exp: Likewise.
3657 * gdb.base/shreloc.exp: Likewise.
3658 * gdb.base/so-impl-ld.exp: Likewise.
3659 * gdb.base/solib-disc.exp: Likewise.
3660 * gdb.base/solib-nodir.exp: Likewise.
3661 * gdb.base/solib-overlap.exp: Likewise.
3662 * gdb.base/solib-symbol.exp: Likewise.
3663 * gdb.base/solib-weak.exp (do_test): Likewise.
3664 * gdb.base/sym-file.exp: Likewise.
3665 * gdb.base/symtab-search-order.exp: Likewise.
3666 * gdb.base/type-opaque.exp: Likewise.
3667 * gdb.base/unload.exp: Likewise.
3668 * gdb.base/watchpoint-solib.exp: Likewise.
3669 * gdb.compile/compile.exp: Likewise.
3670 * gdb.cp/gdb2384.exp: Likewise.
3671 * gdb.cp/infcall-dlopen.exp: Likewise.
3672 * gdb.cp/re-set-overloaded.exp: Likewise.
3673 * gdb.fortran/library-module.exp: Likewise.
3674 * gdb.opt/solib-intra-step.exp: Likewise.
3675 * gdb.python/py-finish-breakpoint.exp: Likewise.
3676 * gdb.python/py-shared.exp: Likewise.
3677 * gdb.reverse/solib-precsave.exp: Likewise.
3678 * gdb.reverse/solib-reverse.exp: Likewise.
3679 * gdb.server/solib-list.exp: Likewise.
3680 * gdb.threads/dlopen-libpthread.exp: Likewise.
3681 * gdb.threads/tls-shared.exp: Likewise.
3682 * gdb.threads/tls-so_extern.exp: Likewise.
3683 * gdb.trace/change-loc.exp: Likewise.
3684 * gdb.trace/ftrace-lock.exp: Likewise.
3685 * gdb.trace/ftrace.exp: Likewise.
3686 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
3687 * gdb.trace/pending.exp: Likewise.
3688 * gdb.trace/range-stepping.exp: Likewise.
3689 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
3690 (strace_info_marker): Likewise.
3691 (strace_probe_marker): Likewise.
3692 (strace_trace_on_same_addr): Likewise.
3693 (strace_trace_on_diff_addr): Likewise.
3694 * gdb.trace/trace-break.exp: Likewise.
3695 * gdb.trace/trace-condition.exp: Likewise.
3696 * gdb.trace/trace-mt.exp: Likewise.
3698 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3700 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
3701 result of gdb_remote_download.
3702 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
3703 * gdb.base/dso2dso.exp: Likewise.
3704 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3705 * gdb.base/print-file-var.exp: Likewise.
3706 * gdb.base/shlib-call.exp: Likewise.
3707 * gdb.base/shreloc.exp: Likewise.
3708 * gdb.base/solib-overlap.exp: Likewise.
3709 * gdb.base/solib-weak.exp (do_test): Likewise.
3710 * gdb.base/unload.exp: Likewise.
3712 2016-04-27 Yao Qi <yao.qi@linaro.org>
3714 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
3717 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3719 * vla-type.exp: Print structure from toplevel.
3721 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3723 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
3725 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
3728 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3730 * gdb.fortran/vla-type.f90: New file.
3731 * gdb.fortran/vla-type.exp: New file.
3733 2016-04-25 Yao Qi <yao.qi@linaro.org>
3735 * gdb.base/branch-to-self.c: New file.
3736 * gdb.base/branch-to-self.exp: New file.
3738 2016-04-22 Yao Qi <yao.qi@linaro.org>
3740 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
3743 2016-04-22 Yao Qi <yao.qi@linaro.org>
3745 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
3746 * gdb.base/annota3.exp: Likewise.
3748 2016-04-22 Yao Qi <yao.qi@linaro.org>
3750 * gdb.reverse/step-precsave.exp: Do one step and test program
3751 stops in "callee" and do multiple steps until program goes out
3753 * gdb.reverse/step-reverse.exp: Likewise.
3755 2016-04-22 Yao Qi <yao.qi@linaro.org>
3757 * gdb.trace/signal.exp: Also pass if
3758 $tracepoint_hits($i) > $iterations.
3760 2016-04-22 Yao Qi <yao.qi@linaro.org>
3762 * gdb.trace/signal.c: New file.
3763 * gdb.trace/signal.exp: New file.
3765 2016-04-19 Doug Evans <xdje42@gmail.com>
3767 * gdb.base/bad-file.exp: New file.
3769 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3771 * gdb.dwarf2/implref.exp: New file.
3773 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3775 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
3776 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
3777 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
3778 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
3779 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
3780 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
3781 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
3782 * lib/fortran.exp (fortran_int4): New procedure.
3783 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
3784 (fortran_logical4): Likewise.
3786 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
3788 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
3790 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3792 * lib/compiler.c: Add Intel specific preprocessor macros.
3793 * lib/compiler.cc: Likewise.
3795 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
3797 * gdb.server/connect-with-no-symbol-file.c: New file.
3798 * gdb.server/connect-with-no-symbol-file.exp: New file.
3800 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3802 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3804 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3806 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3807 standard output directory.
3809 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3811 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3813 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3815 * gdb.btrace/instruction_history.c (loop): Add declaration.
3817 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3819 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3821 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3823 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3824 parentheses to print.
3825 (continue_handler): Likewise.
3827 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3829 * gdb.server/solib-list.exp: Remove is_remote check.
3830 Pass shlib= to gdb_compile. Don't link shared library with
3831 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3832 Run binary filename through "readlink -f" on the target.
3834 2016-04-08 Pedro Alves <palves@redhat.com>
3836 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3837 interpreter filename as argument to gdbserver_spawn.
3838 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3839 Return empty if $last_loaded_file does not exist.
3841 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3843 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3844 * gdb.base/jit-main.c: Use exit after usage.
3846 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3848 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3849 GDBHISTSIZE prior to the tests.
3850 * gdb.base/gdbinit-history.exp: Likewise.
3852 2016-04-07 Pedro Alves <palves@redhat.com>
3854 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3855 instead of build_executable. Use gdb_load_shlibs.
3857 2016-04-07 Yao Qi <yao.qi@linaro.org>
3859 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3860 Execute "si" command.
3862 2016-04-07 Yao Qi <yao.qi@linaro.org>
3864 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3865 number instead of the comments on some line.
3867 2016-04-06 Don Breazeal <donb@codesourcery.com>
3869 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3870 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3872 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3874 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3875 standard_output_file. Remove unused binfile variable.
3877 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
3879 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3880 * gdb.python/py-mi-objfile.exp: Match "list main" output
3883 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3885 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3888 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3890 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
3892 * gdb.trace/ftrace.exp: Likewise.
3893 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
3895 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
3896 (gdb_load_shlibs): Copy libraries to test directory when testing
3897 natively. Only set solib-search-path if testing remotely.
3898 * lib/mi-support.exp (mi_load_shlibs): Likewise.
3900 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
3902 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
3903 gdb_download. Use it even if the target is not remote.
3904 * gdb.base/jit.exp (compile_jit_test): Likewise.
3905 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
3906 output directory if the destination board is local, otherwise use
3907 the standard remote_download from DejaGnu.
3908 (gdb_download): Remove.
3909 (gdb_load_shlibs): Use gdb_remote_download instead of
3911 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3912 Use gdb_remote_download instead of gdb_download. Use it even if
3913 the target is not remote.
3914 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
3915 instead of gdb_download.
3917 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
3919 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
3920 (test_insert_delete_modify): Call mi_load_shlibs before trying to
3923 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
3926 * gdb.base/printcmds.exp: Add artificial arrays tests.
3928 2016-03-31 Pedro Alves <palves@redhat.com>
3931 * gdb.base/jit-main.c: Include unistd.h.
3932 (ATTACH): Define to 0 if not already defined.
3933 (wait_for_gdb, mypid): New globals.
3934 (WAIT_FOR_GDB): New macro.
3935 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
3936 some breakpoint locations.
3937 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
3939 (one_jit_test): Add REATTACH parameter, and handle it. Use
3940 continue_to_test_location.
3941 (top level): Test attach, and adjusts calls to one_jit_test.
3943 2016-03-31 Pedro Alves <palves@redhat.com>
3946 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
3947 BINSUFFIX parameter, and handle it.
3948 (top level): Adjust calls compile_jit_test.
3950 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
3953 * gdb.python/py-mi-events-gdb.py: New file.
3954 * gdb.python/py-mi-events.c: New file.
3955 * gdb.python/py-mi-events.exp: New file.
3957 2016-03-30 Yao Qi <yao.qi@linaro.org>
3959 * gdb.reverse/until-precsave.exp: Match function name only.
3960 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
3961 Move malloc to a condition block.
3962 * gdb.reverse/until-reverse.exp: Match function name only.
3964 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
3966 * gdb.trace/ftrace.exp: Set arg0exp for s390.
3967 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
3968 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
3969 variable for GPR 0 instead of assuming it is register 0.
3970 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
3971 * lib/trace-support.exp: Add s390 registers.
3973 2016-03-29 Yao Qi <yao.qi@linaro.org>
3975 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
3977 2016-03-24 Yao Qi <yao.qi@linaro.org>
3979 * gdb.reverse/break-reverse.exp: Add quotation mark in the
3982 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3984 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
3985 maintaining separate logic for constructing the output path.
3987 2016-03-16 Don Breazeal <donb@codesourcery.com>
3989 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
3990 Retry fork and waitpid on interrupted system call errors.
3991 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
3992 Use with_timeout_factor to increase timeout by factor of 10.
3994 2016-03-15 Don Breazeal <donb@codesourcery.com>
3996 * gdb.cp/scope-err.cc: New test program.
3997 * gdb.cp/scope-err.exp: New test script.
3998 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
3999 lines and "set breakpoint here" comment.
4000 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
4001 Fixed some whitespace and format issues.
4002 * gdb.mi/mi-linespec-err-cp.cc: New test program.
4003 * gdb.mi/mi-linespec-err-cp.exp: New test script.
4005 2016-03-15 Doug Evans <dje@google.com>
4007 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
4008 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
4009 All callers updated. Add tests for enums, mixed flags register.
4011 2016-03-15 Doug Evans <dje@google.com>
4013 * gdb.base/skip.c (main): Call test_skip_file_and_function.
4014 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
4016 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
4018 * gdb.base/default.exp: Add $_as_string to the list of expected
4019 convenience functions.
4021 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
4023 * gdb.base/maint.exp: New tests for 'maint info line-table'.
4025 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
4027 * gdb.python/py-as-string.exp: New file.
4028 * gdb.python/py-as-string.c: New file.
4030 2016-03-09 Pedro Alves <palves@redhat.com>
4032 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
4033 signal" -> "Thread NN received signal" output change.
4034 * gdb.threads/ia64-sigill.exp: Likewise.
4035 * gdb.threads/linux-dp.exp: Likewise.
4036 * gdb.threads/manythreads.exp: Likewise.
4037 * gdb.threads/pending-step.exp: Likewise.
4038 * gdb.threads/print-threads.exp: Likewise.
4039 * gdb.threads/sigstep-threads.exp: Likewise.
4040 * gdb.threads/staticthreads.exp: Likewise.
4041 * gdb.threads/tls.exp: Likewise.
4043 2016-03-09 Pedro Alves <palves@redhat.com>
4045 * gdb.base/command-line-input.exp: New file.
4047 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4049 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
4050 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
4051 * gdb.trace/pending.exp: Accept leading dot before function name.
4052 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
4053 * lib/trace-support.exp: Set registers for ppc.
4055 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4057 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
4058 use it for disassembly; accept .main in addition to main in backtrace.
4060 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
4061 Marcin Kościelnicki <koriakin@0x04.net>
4063 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
4064 (gdb_recursion_test_ptr): New global variable.
4065 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
4067 (gdb_c_test): Ditto.
4069 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4071 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
4074 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4076 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
4077 (bar): Add bar_start_lbl label.
4078 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
4079 of foo/bar for emitting DWARF and tracing.
4081 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
4083 * analyze-racy-logs.py: Set executable bit.
4085 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
4087 * Makefile.in (DEFAULT_RACY_ITER): New variable.
4088 (CHECK_TARGET_TMP): Likewise.
4089 (check-single-racy): New rule.
4090 (check-parallel-racy): Likewise.
4091 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
4092 (do-check-parallel-racy): New rule.
4093 (check-racy/%.exp): Likewise.
4094 * README (Racy testcases): New section.
4095 * analyze-racy-logs.py: New file.
4097 2016-03-03 Doug Evans <dje@google.com>
4099 * gdb.base/skip.exp: Use with_test_prefix.
4101 2016-03-03 Yao Qi <yao.qi@linaro.org>
4103 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
4104 Invoke step_over_syscall "clone" and break_cond_on_syscall
4106 * gdb.base/step-over-clone.c: New file.
4108 2016-03-03 Yao Qi <yao.qi@linaro.org>
4110 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
4113 2016-03-03 Yao Qi <yao.qi@linaro.org>
4115 * gdb.base/disp-step-fork.c: Rename to ...
4116 * gdb.base/step-over-fork.c: ... it. New file.
4117 * gdb.base/disp-step-vfork.c: Rename to ...
4118 * gdb.base/step-over-vfork.c: ... it. New file.
4119 * gdb.base/disp-step-syscall.exp: Rename to ...
4120 * gdb.base/step-over-syscall.exp: ... it. New file.
4121 (disp_step_cross_syscall): Rename to ...
4122 (step_over_syscall): ... it.
4124 2016-03-03 Yao Qi <yao.qi@linaro.org>
4126 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
4127 If target supports condition evaluation on target, invoke
4128 break_cond_on_syscall for fork and vfork.
4130 2016-03-03 Yao Qi <yao.qi@linaro.org>
4132 * gdb.base/disp-step-syscall.exp: Don't invoke
4133 support_displaced_stepping.
4134 (disp_step_cross_syscall): Test with displaced stepping off and
4137 2016-03-03 Yao Qi <yao.qi@linaro.org>
4139 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
4142 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
4145 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4147 * gdb.fortran/vla-history.exp: Remove breakpoint.
4149 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4151 * gdb.fortran/vla-history.exp: Lookup array elements and printing
4154 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4156 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
4159 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4161 * gdb.mi/vla.f90: Nullify pointer after declaration.
4163 2016-03-01 Pedro Alves <palves@redhat.com>
4165 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
4167 2016-03-01 Pedro Alves <palves@redhat.com>
4169 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
4170 before anything else.
4171 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
4173 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
4174 before anything else.
4175 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
4177 2016-03-01 Pedro Alves <palves@redhat.com>
4179 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
4181 2016-03-01 Yao Qi <yao.qi@linaro.org>
4183 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
4184 prepare_for_testing.
4186 2016-03-01 Yao Qi <yao.qi@linaro.org>
4188 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
4190 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4192 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
4193 manually constructing the output path.
4195 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4197 * gdb.arch/s390-stackless.S: New.
4198 * gdb.arch/s390-stackless.exp: New.
4200 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
4202 * gdb.dlang/circular.c: New file.
4203 * gdb.dlang/circular.exp: New file.
4205 2016-02-26 Yao Qi <yao.qi@linaro.org>
4207 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
4208 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
4209 (testcases): Update.
4211 2016-02-26 Yao Qi <yao.qi@linaro.org>
4213 * gdb.reverse/aarch64.c: Rename to ...
4214 * gdb.reverse/insn-reverse.c: ... it.
4215 * gdb.reverse/aarch64.exp: Rename to ...
4216 * gdb.reverse/insn-reverse.exp: ... it.
4218 2016-02-26 Yao Qi <yao.qi@linaro.org>
4220 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
4221 (testcase_ftype): New.
4222 (testcases): New array.
4224 (main): Call each element in testcases.
4225 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
4226 (read_testcase): New.
4227 Do the tests in a loop.
4229 2016-02-25 Yao Qi <yao.qi@linaro.org>
4231 * gdb.base/branches.c: Remove.
4233 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4236 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
4238 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4240 * gdb.trace/ftrace.exp: Remove unnecessary target check.
4242 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4244 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
4245 change x86_64 call_insn to 'callq'.
4247 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4249 * gdb.trace/tfile-avx.c: Move to...
4250 * gdb.trace/tracefile-pseudo-reg.c: Here.
4251 * gdb.trace/tfile-avx.exp: Move to...
4252 * gdb.trace/tracefile-pseudo-reg.exp: Here.
4254 2016-02-24 Gary Benson <gbenson@redhat.com>
4256 * gdb.base/attach-pie-noexec.exp: Do not expect an error
4259 2016-02-23 Doug Evans <dje@google.com>
4261 * gdb.base/skip.c (test_skip): New function.
4262 (end_test_skip_file_and_function): New function.
4263 (test_skip_file_and_function): New function.
4264 * gdb.base/skip1.c (test_skip): New function.
4265 (skip1_test_skip_file_and_function): New function.
4266 * gdb.base/skip.exp: Add tests for new skip options.
4267 * gdb.base/skip-solib.exp: Update expected output.
4268 * gdb.perf/skip-command.cc: New file.
4269 * gdb.perf/skip-command.exp: New file.
4270 * gdb.perf/skip-command.py: New file.
4272 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
4274 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
4275 info registers pattern.
4277 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
4279 * lib/future.exp: Add D support.
4280 (gdb_find_gdc): New proc.
4281 (gdb_default_target_compile): Add D support.
4283 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
4285 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
4287 (trace_speed_test): Determine the iteration count for a time
4288 between 15..30 seconds.
4290 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
4292 * gdb.arch/i386-mpx-sigsegv.c: New file.
4293 * gdb.arch/i386-mpx-sigsegv.exp: New file.
4294 * gdb.arch/i386-mpx-simple_segv.c: New file.
4295 * gdb.arch/i386-mpx-simple_segv.exp: New file.
4297 2016-02-18 Yao Qi <yao.qi@linaro.org>
4299 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4300 Don't call setup_kfail.
4302 2016-02-18 Yao Qi <yao.qi@linaro.org>
4304 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4305 Set "set breakpoint condition-evaluation" per $cond_bp_target.
4307 2016-02-16 Doug Evans <dje@google.com>
4309 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
4310 * gdb.base/skip1.c: Ditto.
4311 * gdb.base/skip.exp: Whitespace cleanup.
4313 2016-02-16 Don Breazeal <donb@codesourcery.com>
4316 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4317 Remove kfail for PR remote/19496.
4319 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4321 * lib/gdb.exp (standard_temp_file): Return a path specific to
4322 the runtest invocation.
4324 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4326 * gdb.trace/save-trace.exp: Change relative path to be in the
4327 standard output directory.
4329 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4331 * gdb.arch/i386-prologue.c: Add missing prototypes.
4333 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4335 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
4336 * gdb.arch/i386-prologue.exp: Likewise.
4337 * gdb.arch/i386-size.exp: Likewise.
4339 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
4341 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
4342 define object file path.
4343 * gdb.btrace/gcore.exp: Use standard_output_file to define core
4345 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
4346 standard_output_file to define binfile.
4348 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4350 Fix compatibility with recent gfortran-5.3.1.
4351 * gdb.fortran/vla-history.exp (print vla1 allocated)
4352 (print vla2 allocated, print $2, print $3): Remove
4353 (print $4): Rename to ...
4354 (print $2): ... here.
4355 (print $9): Rename to ...
4356 (print $5): ... here.
4357 (print $10): Rename to ...
4358 (print $6): ... here.
4359 * gdb.fortran/vla.f90: Add pvla initialization.
4361 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4363 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
4365 * gdb.fortran/vla-value-sub.exp: Likewise.
4367 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
4369 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
4371 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
4373 * i386-biarch-core.exp: Define corefile using
4374 standard_output_file.
4376 2016-02-12 Yao Qi <yao.qi@linaro.org>
4378 * gdb.arch/arm-single-step-kernel-helper.c: New.
4379 * gdb.arch/arm-single-step-kernel-helper.exp: New.
4381 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
4383 * gdb.btrace/tailcall-only.exp: New.
4384 * gdb.btrace/tailcall-only.c: New.
4385 * gdb.btrace/x86_64-tailcall-only.S: New.
4386 * gdb.btrace/i686-tailcall-only.S: New.
4388 2016-02-11 Pedro Alves <palves@redhat.com>
4390 * README (Parallel testing): Add missing double quotes.
4392 2016-02-11 Pedro Alves <palves@redhat.com>
4394 * README (Parallel testing): New section.
4395 (GDB_PARALLEL): Rewrite.
4396 (FORCE_PARALLEL): Document.
4398 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
4400 * gdb.trace/tfile-avx.c: New test.
4401 * gdb.trace/tfile-avx.exp: New test.
4403 2016-02-09 Keith Seitz <keiths@redhat.com>
4405 PR breakpoints/19546
4406 * gdb.base/infcall-exec.c: New file.
4407 * gdb.base/infcall-exec2.c: New file.
4408 * gdb.base/infcall-exec.exp: New file.
4410 2016-02-09 Keith Seitz <keiths@redhat.com>
4412 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
4413 (toplevel): Call test_bkpt_address.
4415 2016-02-09 Keith Seitz <keiths@redhat.com>
4418 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
4419 (toplevel): Call test_bkpt_address.
4421 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
4423 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
4425 * configure: Regenerate.
4427 2016-02-09 Pedro Alves <palves@redhat.com>
4429 PR breakpoints/19548
4430 * gdb.base/execl-update-breakpoints.c (some_function): New
4433 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
4434 Tighten expected GDB output.
4436 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4438 * Makefile.in (ALL_SUBDIRS): Remove.
4439 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
4440 (distclean maintainer-clean realclean): Likewise.
4441 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
4442 * configure: Regenerate.
4443 * gdb.ada/Makefile.in: Delete.
4444 * gdb.arch/Makefile.in: Likewise.
4445 * gdb.asm/Makefile.in: Likewise.
4446 * gdb.base/Makefile.in: Likewise.
4447 * gdb.btrace/Makefile.in: Likewise.
4448 * gdb.cell/Makefile.in: Likewise.
4449 * gdb.compile/Makefile.in: Likewise.
4450 * gdb.cp/Makefile.in: Likewise.
4451 * gdb.disasm/Makefile.in: Likewise.
4452 * gdb.dlang/Makefile.in: Likewise.
4453 * gdb.dwarf2/Makefile.in: Likewise.
4454 * gdb.fortran/Makefile.in: Likewise.
4455 * gdb.gdb/Makefile.in: Likewise.
4456 * gdb.go/Makefile.in: Likewise.
4457 * gdb.guile/Makefile.in: Likewise.
4458 * gdb.java/Makefile.in: Likewise.
4459 * gdb.linespec/Makefile.in: Likewise.
4460 * gdb.mi/Makefile.in: Likewise.
4461 * gdb.modula2/Makefile.in: Likewise.
4462 * gdb.multi/Makefile.in: Likewise.
4463 * gdb.objc/Makefile.in: Likewise.
4464 * gdb.opencl/Makefile.in: Likewise.
4465 * gdb.opt/Makefile.in: Likewise.
4466 * gdb.pascal/Makefile.in: Likewise.
4467 * gdb.perf/Makefile.in: Likewise.
4468 * gdb.python/Makefile.in: Likewise.
4469 * gdb.reverse/Makefile.in: Likewise.
4470 * gdb.server/Makefile.in: Likewise.
4471 * gdb.stabs/Makefile.in: Likewise.
4472 * gdb.threads/Makefile.in: Likewise.
4473 * gdb.trace/Makefile.in: Likewise.
4474 * gdb.xml/Makefile.in: Likewise.
4475 * lib/gdb.exp (make_gdb_parallel_path): Add check for
4477 (standard_output_file): Remove check for GDB_PARALLEL, always
4478 return path in outputs/$subdir/$testname.
4480 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4482 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
4483 (site.exp): Assign abs_srcdir to tcl's srcdir.
4485 2016-02-04 Yao Qi <yao.qi@linaro.org>
4487 * gdb.base/foll-exec-mode.c: Include limits.h.
4488 (main): Add parameters argc and argv. Get directory from
4490 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
4492 * gdb.base/foll-exec.c: Include limits.h.
4493 (main): Add parameters argc and argv.
4494 Get directory from argv[0].
4495 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
4496 Adjust tests on the number of lines as source code changed.
4497 * gdb.base/foll-vfork-exit.c: Include limits.h.
4498 (main): Add one line of statement before vfork.
4499 * gdb.base/foll-vfork.c: Include limits.h and string.h.
4500 (main): Add parameters argc and argv. Get directory from
4502 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
4503 (setup_gdb): Set tbreak to skip some source lines.
4504 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
4505 (main): Add parameters argc and argv. Get directory from
4507 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
4509 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
4510 (main): Add parameters argc and argv. Get directory from
4512 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
4515 2016-02-01 Doug Evans <dje@google.com>
4517 * gdb.base/skip.exp: Clean up multiple references to same test name.
4519 2016-02-01 Pedro Alves <palves@redhat.com>
4522 * gdb.threads/forking-threads-plus-breakpoint.exp
4523 (displaced_stepping_supported): New global.
4524 (probe_displaced_stepping_support): New procedure.
4525 (do_test): Add 'displaced' parameter, and use it.
4526 (top level): Check for displaced stepping support. Add displaced
4527 stepping on/off testing axis.
4529 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4531 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
4532 pointer. Don't perform further tests on the unassociated pointer
4533 if the first test fails.
4535 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4537 * gdb.base/max-value-size.c: New file.
4538 * gdb.base/max-value-size.exp: New file.
4539 * gdb.base/huge.exp: Disable max-value-size for this test.
4541 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
4543 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4545 2016-01-28 Yao Qi <yao.qi@linaro.org>
4547 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
4549 2016-01-25 Pedro Alves <palves@redhat.com>
4552 * gdb.base/fork-running-state.c: New file.
4553 * gdb.base/fork-running-state.exp: New file.
4555 2016-01-25 Pedro Alves <palves@redhat.com>
4558 * gdb.base/catch-fork-kill.c: New file.
4559 * gdb.base/catch-fork-kill.exp: New file.
4561 2016-01-25 Pedro Alves <palves@redhat.com>
4563 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
4564 Delete, moved to lib/gdb.exp.
4565 * gdb.threads/forking-threads-plus-breakpoint.exp
4566 (foreach_with_prefix): Likewise.
4567 * gdb.threads/process-dies-while-handling-bp.exp
4568 (foreach_with_prefix): Likewise.
4569 * lib/gdb.exp (foreach_with_prefix): New procedure.
4571 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
4573 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
4574 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
4576 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
4578 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
4581 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4582 Pedro Alves <palves@redhat.com>
4584 Fix testsuite compatibility with Guile.
4585 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
4588 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4590 Fix testsuite compatibility with Guile.
4591 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
4592 (thread 1): New test for backtrace through signal handler.
4594 2016-01-22 Yao Qi <yao.qi@linaro.org>
4597 * gdb.base/multi-forks.c: Include
4598 ../lib/unbuffer_output.c
4599 (main): Call gdb_unbuffer_output.
4601 2016-01-21 Doug Evans <dje@google.com>
4603 * lib/ada.exp (gdb_compile_ada): Fix typo.
4605 2016-01-21 Joel Brobecker <brobecker@adacore.com>
4607 * gdb.base/break-fun-addr.exp: New file.
4608 * gdb.base/break-fun-addr1.c: New file.
4609 * gdb.base/break-fun-addr2.c: New file.
4611 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
4613 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
4614 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
4617 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4619 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
4620 when GDB can not set the vector return value. Add more comments
4623 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
4625 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
4628 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4630 * Makefile.in (DO_RUNTEST): Add --status and update usages.
4632 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4634 * Makefile.in (check-single): Pass --status to runtest.
4635 (check/%.exp): Likewise.
4637 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4639 * Makefile.in (check-parallel): Propagate return code from make
4642 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
4644 * gdb.trace/ftrace.exp: Fix expected message on continue.
4645 * gdb.trace/pending.exp: Fix expected message on continue.
4646 * gdb.trace/trace-break.exp: Fix expected message on continue.
4648 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
4650 * lib/gdb.exp (gdb_test): Remove unused global references.
4652 2016-01-18 Pedro Alves <palves@redhat.com>
4654 * gdb.base/async-shell.exp: Adjust expected output.
4655 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
4656 * gdb.base/siginfo-thread.exp: Adjust expected output.
4657 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
4658 * gdb.java/jnpe.exp: Adjust expected output.
4659 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
4660 * gdb.threads/continue-pending-status.exp: Adjust expected output.
4661 * gdb.threads/leader-exit.exp: Adjust expected output.
4662 * gdb.threads/manythreads.exp: Adjust expected output.
4663 * gdb.threads/pthreads.exp: Adjust expected output.
4664 * gdb.threads/schedlock.exp: Adjust expected output.
4665 * gdb.threads/siginfo-threads.exp: Adjust expected output.
4666 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
4668 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
4670 * gdb.threads/sigthread.exp: Adjust expected output.
4671 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
4673 2016-01-18 Yao Qi <yao.qi@linaro.org>
4675 * gdb.guile/scm-section-script.c: Replace @progbits with
4677 * gdb.python/py-section-script.c: Likewise.
4679 2016-01-15 Pedro Alves <palves@redhat.com>
4681 * gdb.multi/tids.exp: Test star wildcard ranges.
4683 2016-01-15 Pedro Alves <palves@redhat.com>
4685 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4686 command from "thread apply" invocation.
4687 (thr_apply_info_thr_invalid): Default the expected output to the
4689 (top level): Add tests that use convenience variables. Add tests
4690 for "thread apply" with a valid TID list, but missing the command.
4692 2016-01-13 Pedro Alves <palves@redhat.com>
4694 * gdb.base/default.exp: Expect $_gthread as well.
4695 * gdb.multi/tids.exp: Test $_gthread.
4696 * gdb.threads/thread-specific.exp: Test $_gthread.
4698 2016-01-13 Pedro Alves <palves@redhat.com>
4700 * gdb.multi/tids.exp: Test "info threads -gid".
4702 2016-01-13 Pedro Alves <palves@redhat.com>
4704 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4706 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
4708 2016-01-07 Pedro Alves <palves@redhat.com>
4710 * gdb.base/break.exp: Adjust to output changes.
4711 * gdb.base/hbreak2.exp: Likewise.
4712 * gdb.base/sepdebug.exp: Likewise.
4713 * gdb.base/watch_thread_num.exp: Likewise.
4714 * gdb.linespec/keywords.exp: Likewise.
4715 * gdb.multi/info-threads.exp: Likewise.
4716 * gdb.threads/thread-find.exp: Likewise.
4717 * gdb.multi/tids.c: New file.
4718 * gdb.multi/tids.exp: New file.
4720 2016-01-13 Pedro Alves <palves@redhat.com>
4722 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
4724 2016-01-13 Pedro Alves <palves@redhat.com>
4726 * gdb.base/default.exp: Expect $_inferior as well.
4727 * gdb.multi/base.exp: Test $_inferior.
4729 2016-01-13 Pedro Alves <palves@redhat.com>
4731 PR breakpoints/19388
4732 * gdb.base/catch-signal-siginfo-cond.c: New file.
4733 * gdb.base/catch-signal-siginfo-cond.exp: New file.
4735 2016-01-12 Josh Stone <jistone@redhat.com>
4736 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4738 * gdb.base/catch-syscall.c (do_execve): New variable.
4739 (main): Conditionally trigger an execve.
4740 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
4741 (test_catch_syscall_execve): New, check entry/return across execve.
4742 (do_syscall_tests): Call test_catch_syscall_execve.
4744 2016-01-12 Pedro Alves <palves@redhat.com>
4746 * gdb.base/random-signal.exp (do_test): New procedure, with body
4747 of testcase moved in.
4749 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4750 Pedro Alves <palves@redhat.com>
4752 * gdb.base/funcargs.exp (finish from indirectly called function):
4753 Reintroduce the case for 'First'.
4755 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4756 Pedro Alves <palves@redhat.com>
4758 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4759 (tcatch_vfork_then_child_follow_exec)
4760 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
4763 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4765 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
4766 and repeats to unlimited.
4767 * gdb.python/py-value.exp: Likewise.
4768 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
4769 and repeats to unlimited.
4771 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4773 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
4774 and reordering the functions.
4775 * gdb.multi/hangout.c: Likewise.
4776 * gdb.multi/hello.c: Likewise.
4778 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
4780 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
4782 (SingleStatisticTestResult.report): Use dict.keys instead of
4785 2016-01-06 Pedro Alves <palves@redhat.com>
4787 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
4789 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
4791 * gdb.btrace/dlopen.exp: New.
4792 * gdb.btrace/dlopen.c: New.
4793 * gdb.btrace/dlopen-dso.c: New.
4795 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
4797 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4798 PATTERN argument is optional.
4800 2015-12-24 Joel Brobecker <brobecker@adacore.com>
4802 * lib/ada.exp (target_compile_ada_from_dir): New function.
4803 (gdb_compile_ada): Reimplement avoiding the use of project files.
4804 * gdb.ada/gnat_ada.gpr: Delete.
4805 * gdb.ada/cond_lang.exp: Adjust test to make path before
4807 * gdb.ada/small_reg_param.exp: Likewise.
4809 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4811 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4813 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4815 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4818 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4820 * gdb.base/break.exp: Remove dead code.
4821 * gdb.base/sepdebug.exp: Likewise.
4823 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4825 * gdb.asm/asm-source.exp: Remove HP-UX references.
4826 * gdb.base/annota1.exp: Likewise.
4827 * gdb.base/annota3.exp: Likewise.
4828 * gdb.base/attach.exp: Likewise.
4829 * gdb.base/bigcore.exp: Likewise.
4830 * gdb.base/break.exp: Likewise.
4831 * gdb.base/call-ar-st.exp: Likewise.
4832 * gdb.base/callfuncs.exp: Likewise.
4833 * gdb.base/catch-fork-static.exp: Likewise.
4834 * gdb.base/display.exp: Likewise.
4835 * gdb.base/foll-exec-mode.exp: Likewise.
4836 * gdb.base/foll-exec.exp: Likewise.
4837 * gdb.base/foll-fork.exp: Likewise.
4838 * gdb.base/foll-vfork.exp: Likewise.
4839 * gdb.base/funcargs.exp: Likewise.
4840 * gdb.base/hbreak2.exp: Likewise.
4841 * gdb.base/inferior-died.exp: Likewise.
4842 * gdb.base/interrupt.exp: Likewise.
4843 * gdb.base/multi-forks.exp: Likewise.
4844 * gdb.base/nodebug.exp: Likewise.
4845 * gdb.base/sepdebug.exp: Likewise.
4846 * gdb.base/solib1.c: Likewise.
4847 * gdb.base/step-test.exp: Likewise.
4848 * gdb.mi/non-stop.c: Likewise.
4849 * gdb.mi/pthreads.c: Likewise.
4850 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4851 * gdb.threads/pthreads.c: Likewise.
4852 * gdb.threads/staticthreads.exp: Likewise.
4853 * lib/future.exp: Likewise.
4854 * lib/gdb.exp: Likewise.
4855 * gdb.base/so-indr-cl.c: Remove.
4856 * gdb.base/so-indr-cl.exp: Likewise.
4857 * gdb.base/solib.c: Likewise.
4858 * gdb.base/solib.exp: Likewise.
4859 * gdb.base/solib2.c: Likewise.
4861 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4863 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4864 * gdb.base/call-ar-st.exp: Likewise.
4865 * gdb.base/callfuncs.exp: Likewise.
4866 * gdb.base/condbreak.exp: Likewise.
4867 * gdb.base/constvars.exp: Likewise.
4868 * gdb.base/hbreak2.exp: Likewise.
4869 * gdb.base/langs.exp: Likewise.
4870 * gdb.base/list.exp: Likewise.
4871 * gdb.base/long_long.exp: Likewise.
4872 * gdb.base/ptype.exp: Likewise.
4873 * gdb.base/scope.exp: Likewise.
4874 * gdb.base/signals.exp: Likewise.
4875 * gdb.base/so-impl-ld.exp: Likewise.
4876 * gdb.base/varargs.exp: Likewise.
4877 * gdb.base/volatile.exp: Likewise.
4878 * gdb.base/whatis.exp: Likewise.
4879 * gdb.cp/cplusfuncs.exp: Likewise.
4880 * gdb.cp/inherit.exp: Likewise.
4881 * gdb.cp/local.exp: Likewise.
4882 * gdb.cp/member-ptr.exp: Likewise.
4883 * gdb.cp/method.exp: Likewise.
4884 * gdb.cp/overload.exp: Likewise.
4885 * gdb.cp/templates.exp: Likewise.
4886 * gdb.stabs/weird.exp: Likewise.
4887 * lib/compiler.c: Likewise.
4888 * lib/compiler.cc: Likewise.
4889 * lib/cp-support.exp: Likewise.
4890 * lib/gdb.exp: Likewise.
4892 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
4894 * configure.ac: Remove HP-UX case.
4895 * configure: Regenerate.
4897 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
4899 * lib/gdb.exp (gdb_compile): Add function doc.
4901 2015-12-17 Pedro Alves <palves@redhat.com>
4904 * gdb.multi/info-threads.exp: New file.
4906 2015-12-15 Yao Qi <yao.qi@linaro.org>
4908 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
4911 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4913 * gdb.base/history-duplicates.exp: Skip if no readline support.
4915 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4917 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
4919 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4921 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
4923 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
4925 * gdb.base/completion.exp: Skip tests that interrupt GDB with
4926 ctrl-C if nointerrupts target property is set.
4927 * gdb.base/double-prompt-target-event-error.exp: Likewise.
4928 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
4929 * gdb.base/paginate-bg-execution.exp: Likewise.
4930 * gdb.base/paginate-execution-startup.exp: Likewise.
4931 * gdb.base/random-signal.exp: Likewise.
4932 * gdb.base/range-stepping.exp: Likewise.
4933 * gdb.cp/annota2.exp: Likewise.
4934 * gdb.cp/annota3.exp: Likewise.
4935 * gdb.gdb/selftest.exp: Likewise.
4936 * gdb.threads/continue-pending-status.exp: Likewise.
4937 * gdb.threads/leader-exit.exp: Likewise.
4938 * gdb.threads/manythreads.exp: Likewise.
4939 * gdb.threads/pthreads.exp: Likewise.
4940 * gdb.threads/schedlock.exp: Likewise.
4941 * gdb.threads/sigthread.exp: Likewise.
4943 2015-12-11 Don Breazeal <donb@codesourcery.com>
4945 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
4947 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
4948 * gdb.base/foll-exec.exp (main): Enable for target remote.
4949 * gdb.base/foll-fork.exp (main): Likewise.
4950 * gdb.base/foll-vfork.exp (main): Likewise.
4951 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
4952 (proc continue_to_exit_bp_loc): Use clean_restart.
4953 * gdb.base/pie-execl.exp (main): Disable for target remote.
4954 * gdb.base/watch-vfork.exp (main): Enable for target remote.
4955 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
4956 * gdb.threads/execl.exp (main): Likewise.
4957 * gdb.threads/fork-child-threads.exp (main): Likewise.
4958 * gdb.threads/fork-plus-threads.exp (main): Disable for target
4960 * gdb.threads/fork-thread-pending.exp (main): Enable for target
4962 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
4963 pid.tid style ptids, instead of just tid.
4964 * gdb.threads/thread-execl.exp (main): Enable for target remote.
4965 * gdb.threads/watchpoint-fork.exp (main): Likewise.
4966 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
4967 ptids, instead of just tid.
4969 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4971 * gdb.base/list.exp (test_list_forward): Add end of file error
4973 (test_repeat_list_command): Add end of file error test.
4974 (test_list_backwards): Add beginning of file error test.
4976 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4978 * gdb.base/list.exp (test_list_invalid_args): New function,
4979 defined, and called.
4981 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
4983 * gdb.base/list.exp (test_list): Make test names unique.
4985 2015-12-11 Yao Qi <yao.qi@linaro.org>
4987 * gdb.base/coremaker2.c: Remove.
4989 2015-12-10 Pedro Alves <palves@redhat.com>
4991 * gdb.multi/base.exp: Remove stale "spaces" references.
4993 2015-12-10 Pedro Alves <palves@redhat.com>
4995 * gdb.multi/base.exp: Don't use nowarnings.
4996 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
4997 * gdb.multi/hangout.c: Include stdio.h.
4998 * gdb.multi/hello.c: Include stdlib.h.
4999 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
5000 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
5001 * gdb.multi/multi-arch.exp: Don't use nowarnings.
5003 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
5005 * gdb.dwarf2/dw2-ranges-base.c: New file.
5006 * gdb.dwarf2/dw2-ranges-base.exp: New file.
5007 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
5008 support additional line table, and debug ranges generation.
5009 (Dwarf::ranges): New function, generate .debug_ranges.
5010 (Dwarf::lines): Support generating simple line table programs.
5011 (Dwarf::assemble): Initialise new namespace variables.
5013 2015-12-09 Kevin Buettner <kevinb@redhat.com>
5015 * gdb.base/async.exp (proc test_background): Add case for
5016 asynchronous execution not supported.
5018 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
5020 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
5021 format and change test names to make them unique.
5023 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
5024 Pedro Alves <pedro@redhat.com>
5027 Add checking of floatformats setup on x86_64 hosts.
5028 * gdb.arch/i386-float.S (main): Load bigval and smallval.
5029 (smallval, bigval): New labels/constants.
5030 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
5031 float" after loading bigval and smallval.
5033 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
5035 * gdb.ada/fun_overload_menu.exp: New testcase.
5036 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
5038 2015-12-04 Josh Stone <jistone@redhat.com>
5040 * gdb.base/catch-fork-static.exp: New.
5042 2015-12-03 Yao Qi <yao.qi@linaro.org>
5044 * gdb.base/sizeof.c: Don't include stdio.h and
5045 ../lib/unbuffer_output.c.
5046 (main): New variable 'size' and 'value'. Remove printf and
5047 gdb_unbuffer_output. Assign return value to size and value.
5048 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
5050 (check_sizeof): Check the result by printing variable 'size'.
5051 (check_valueof): Check the result by printing variable 'value'.
5053 2015-12-01 Yao Qi <yao.qi@linaro.org>
5055 * gdb.base/disp-step-syscall.exp: Define syscall instruction
5056 for aarch64*-*-linux* target.
5058 2015-11-30 Pedro Alves <palves@redhat.com>
5060 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
5062 2015-11-30 Pedro Alves <palves@redhat.com>
5064 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
5065 Handle non-stop mode vCont replies.
5067 2015-11-30 Pedro Alves <palves@redhat.com>
5069 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
5070 prepare_for_testing. Start gdb with "set non-stop on" appended to
5071 GDBFLAGS. Lax expected stop output.
5073 2015-11-27 Yao Qi <yao.qi@linaro.org>
5075 * gdb.arch/arm-neon.exp: New.
5076 * gdb.arch/arm-neon.c: New.
5078 2015-11-27 Yao Qi <yao.qi@linaro.org>
5080 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
5082 2015-11-27 Yao Qi <yao.qi@linaro.org>
5084 * gdb.cp/annota2.exp: Allow multiple occurrences of the
5085 frames-invalid annotation.
5087 2015-11-27 Yao Qi <yao.qi@linaro.org>
5089 * gdb.cp/annota2.exp: Use ${frames_invalid}.
5091 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
5093 * gdb.threads/names.exp: New file.
5094 * gdb.threads/names.c: New file.
5095 * README: Mention gdb,no_thread_names.
5097 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
5100 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
5103 2015-11-24 Pedro Alves <palves@redhat.com>
5106 * gdb.base/display.exp: Expect displays to be sorted in ascending
5107 order. Use multi_line.
5108 * gdb.base/solib-display.exp: Likewise.
5110 2015-11-24 Pedro Alves <palves@redhat.com>
5113 * gdb.base/display.exp: Expect displays to be sorted in ascending
5114 order. Use multi_line.
5115 * gdb.base/solib-display.exp: Likewise.
5117 2015-11-24 Pedro Alves <palves@redhat.com>
5120 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
5121 threads in ascending order.
5122 * gdb.base/foll-fork.exp: Likewise.
5123 * gdb.base/foll-vfork.exp: Likewise.
5124 * gdb.base/multi-forks.exp: Likewise.
5125 * gdb.mi/mi-nonstop.exp: Likewise.
5126 * gdb.mi/mi-nsintrall.exp: Likewise.
5127 * gdb.multi/base.exp: Likewise.
5128 * gdb.multi/multi-arch.exp: Likewise.
5129 * gdb.python/py-inferior.exp: Likewise.
5130 * gdb.threads/break-while-running.exp: Likewise.
5131 * gdb.threads/execl.exp: Likewise.
5132 * gdb.threads/gcore-thread.exp: Likewise.
5133 * gdb.threads/info-threads-cur-sal.exp: Likewise.
5134 * gdb.threads/kill.exp: Likewise.
5135 * gdb.threads/linux-dp.exp: Likewise.
5136 * gdb.threads/multiple-step-overs.exp: Likewise.
5137 * gdb.threads/next-bp-other-thread.exp: Likewise.
5138 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
5139 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
5140 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
5141 * gdb.threads/thread-find.exp: Likewise.
5142 * gdb.threads/tls.exp: Likewise.
5143 * lib/mi-support.exp (mi_reverse_list): Delete.
5144 (mi_check_thread_states): No longer reverse list.
5146 2015-11-24 Pedro Alves <palves@redhat.com>
5148 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
5151 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
5153 * gdb.trace/actions.c: Include trace-common.h.
5154 (main): Add a location for a fast tracepoint.
5155 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
5156 the normal tracepoints.
5157 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
5159 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
5161 * save-trace.exp: Factor out code to these...
5162 (gdb_save_tracepoints): New.
5163 (gdb_load_tracepoints): New.
5164 (do_save_load_test): New.
5166 2015-11-23 Kevin Buettner <kevinb@redhat.com>
5168 * gdb.base/asmlabel.exp: New test.
5169 * gdb.base/asmlabel.c: New test case.
5171 2015-11-23 Joel Brobecker <brobecker@adacore.com>
5173 * gdb.base/wrong_frame_bt_full-main.c: New file.
5174 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
5175 * gdb.base/wrong_frame_bt_full.exp: New file.
5177 2015-11-23 Joel Brobecker <brobecker@adacore.com>
5179 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
5181 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
5183 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
5184 pstate register when comparing registers values in
5185 sparc64-*-linux-gnu targets to avoid spurious differences.
5187 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
5189 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
5191 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
5193 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
5194 as type argument to gdb_compile.
5195 * gdb.base/nested-subp2.exp: Likewise.
5196 * gdb.base/nested-subp3.exp: Likewise.
5198 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
5200 * lib/dwarf.exp (_note): Fix left shift of negative value.
5201 * gdb.trace/trace-condition.exp: Likewise.
5203 2015-11-13 Yao Qi <yao.qi@linaro.org>
5205 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
5206 comments about d10v.
5207 (test_scalar_returns): Likewise.
5208 * gdb.base/d10v.ld: Remove.
5209 * gdb.base/overlays.exp: Remove the target triplet checking for
5211 * gdb.base/structs.exp (test_struct_returns): Remove the
5212 comments about d10v.
5213 (test_struct_calls): Likewise.
5215 2015-11-13 Yao Qi <yao.qi@linaro.org>
5217 * gdb.base/gnu_vector.exp: Check the return value by "p res".
5218 * gdb.base/gnu_vector.c: Don't include stdio.h.
5219 (main): Don't print res and call add_some_intvecs.
5221 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
5223 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
5226 (func4): Use FAST_TRACEPOINT_LABEL.
5227 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
5230 (thread_function): Use FAST_TRACEPOINT_LABEL.
5231 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
5233 (marker): Use FAST_TRACEPOINT_LABEL.
5234 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
5235 (pendfunc1): Remove.
5236 (pendfunc): Use FAST_TRACEPOINT_LABEL.
5237 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
5239 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
5240 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
5243 (marker): Use FAST_TRACEPOINT_LABEL.
5244 * gdb.trace/trace-common.h: New header.
5245 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
5248 (marker): Use FAST_TRACEPOINT_LABEL.
5249 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
5251 (thread_function): Use FAST_TRACEPOINT_LABEL.
5253 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
5255 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
5257 * gdb.trace/change-loc.exp: Use global pcreg definition.
5258 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
5259 * gdb.trace/entry-values.exp: Use global spreg definition, add $
5261 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
5262 * gdb.trace/pending.exp: Likewise.
5263 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
5264 * gdb.trace/trace-break.exp: Likewise.
5265 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
5267 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
5268 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
5270 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
5272 2015-11-09 Joel Brobecker <brobecker@adacore.com>
5274 * gdb.ada/fin_fun_out: New testcase.
5276 2015-11-07 Kevin Buettner <kevinb@redhat.com>
5278 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
5279 value associated with DW_AT_byte_size.
5280 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
5281 constants for DW_AT_byte_size, DW_AT_lower_bound, and
5284 2015-11-07 Kevin Buettner <kevinb@redhat.com>
5286 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
5287 (gdb_target_symbol_prefix_flags): Define in terms of _asm
5289 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
5290 gdb.dwarf2/dw2-canonicalize-type.exp,
5291 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
5292 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
5293 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
5294 provided by gdb_target_symbol_prefix_flags_asm.
5295 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
5296 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
5297 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
5298 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
5299 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
5300 macros where needed). Use this macro for symbols which require
5301 the prefix provided by SYMBOL_PREFIX.
5303 2015-11-05 Kevin Buettner <kevinb@redhat.com>
5305 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
5307 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
5308 representing expressions, of more than one list element.
5309 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
5310 to prepend linker symbol prefix to f.
5311 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
5312 table_1 and table_2.
5313 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
5314 Likewise, for f and g.
5315 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
5317 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
5319 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
5320 table_1_ptr and table_2_ptr.
5322 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5323 Joel Brobecker <brobecker@adacore.com>
5325 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
5327 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
5329 * gdb.reverse/s390-mvcle.c: New test.
5330 * gdb.reverse/s390-mvcle.exp: New file.
5331 * lib/gdb.exp: Enable reverse tests on s390*-linux.
5333 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5335 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
5337 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5339 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
5341 * gdb.reverse/getresuid-reverse.exp: Likewise.
5342 * gdb.reverse/pipe-reverse.exp: Likewise.
5343 * gdb.reverse/readv-reverse.exp: Likewise.
5344 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5345 * gdb.reverse/time-reverse.exp: Likewise.
5346 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
5348 2015-10-30 Yao Qi <yao.qi@linaro.org>
5350 * gdb.threads/wp-replication.c (watch_count_done): Remove.
5351 (empty_cycle): Remove.
5352 (main): Don't call empty_cycle. Don't use watch_count_done.
5353 * gdb.threads/wp-replication.exp: Don't set breakpoint on
5354 empty_cycle. Rewrite the code counting HW watchpoints.
5356 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
5358 * gdb.reverse/fstatat-reverse.c: New test.
5359 * gdb.reverse/fstatat-reverse.exp: New file.
5360 * gdb.reverse/getresuid-reverse.c: New test.
5361 * gdb.reverse/getresuid-reverse.exp: New file.
5362 * gdb.reverse/pipe-reverse.c: New test.
5363 * gdb.reverse/pipe-reverse.exp: New file.
5364 * gdb.reverse/readv-reverse.c: New test.
5365 * gdb.reverse/readv-reverse.exp: New file.
5366 * gdb.reverse/recvmsg-reverse.c: New test.
5367 * gdb.reverse/recvmsg-reverse.exp: New file.
5368 * gdb.reverse/time-reverse.c: New test.
5369 * gdb.reverse/time-reverse.exp: New file.
5370 * gdb.reverse/waitpid-reverse.c: New test.
5371 * gdb.reverse/waitpid-reverse.exp: New file.
5373 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5375 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
5377 2015-10-26 Doug Evans <dje@google.com>
5380 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
5381 * gdb.dwarf2/bad-regnum.c: New file.
5382 * gdb.dwarf2/bad-regnum.exp: New file.
5384 2015-10-26 Doug Evans <dje@google.com>
5387 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
5390 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5392 * gdb.compile/compile.exp (compile code globalvar): Update expectation
5393 for a change by "Mention language in compile error message".
5395 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
5398 * gdb.python/py-type.c (C::a_method): New.
5399 (C::a_const_method): New.
5400 (C::a_static_method): New.
5402 * gdb.python/py-type.exp (test_fields): Test getting fields
5403 from function and method.
5405 2015-10-21 Keven Boell <keven.boell@intel.com>
5407 * gdb.fortran/vla-alloc-assoc.exp: New file.
5408 * gdb.fortran/vla-datatypes.exp: New file.
5409 * gdb.fortran/vla-datatypes.f90: New file.
5410 * gdb.fortran/vla-history.exp: New file.
5411 * gdb.fortran/vla-ptype-sub.exp: New file.
5412 * gdb.fortran/vla-ptype.exp: New file.
5413 * gdb.fortran/vla-sizeof.exp: New file.
5414 * gdb.fortran/vla-sub.f90: New file.
5415 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
5416 * gdb.fortran/vla-value-sub-finish.exp: New file.
5417 * gdb.fortran/vla-value-sub.exp: New file.
5418 * gdb.fortran/vla-value.exp: New file.
5419 * gdb.fortran/vla-ptr-info.exp: New file.
5420 * gdb.mi/mi-vla-fortran.exp: New file.
5421 * gdb.mi/vla.f90: New file.
5423 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
5425 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
5426 of hardwired timeout value.
5428 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5429 Pedro Alves <palves@redhat.com>
5431 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
5432 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
5434 2015-10-19 Josh Stone <jistone@redhat.com>
5436 * gdb.base/catch-syscall.c: Include <sched.h>.
5437 (unknown_syscall): New variable.
5438 (main): Trigger a vfork and an unknown syscall.
5439 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
5440 (unknown_syscall_number): Likewise.
5441 (check_call_to_syscall): Accept an optional syscall pattern.
5442 (check_return_from_syscall): Likewise.
5443 (check_continue): Likewise.
5444 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
5445 (test_catch_syscall_skipping_return): New test toggling off 'catch
5446 syscall' to step over the syscall return, then toggling back on.
5447 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
5448 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
5449 (do_syscall_tests): Call test_catch_syscall_without_args and
5450 test_catch_syscall_mid_vfork.
5451 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
5452 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
5454 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
5456 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
5457 print g_vE): Add new pass patterns.
5458 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
5459 print various symbol names for vptr fields.
5461 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
5463 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
5466 2015-10-12 Yao Qi <yao.qi@linaro.org>
5468 * gdb.arch/disp-step-insn-reloc.exp: New test case.
5470 2015-10-12 Yao Qi <yao.qi@linaro.org>
5472 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
5473 is aarch64*-*-linux*.
5475 2015-10-12 Yao Qi <yao.qi@linaro.org>
5477 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
5478 (can_relocate_bcond_true): ... it.
5479 (can_relocate_bcond_false): New function.
5481 (can_relocate_bl): Likewise.
5482 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
5485 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
5487 * gdb.base/nested-addr.c: New file.
5488 * gdb.base/nested-addr.exp: New testcase.
5490 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
5492 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
5493 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
5494 its output. Ignore the output of "record goto begin" and instead
5495 check that GDB is replaying.
5497 2015-10-09 Pedro Alves <palves@redhat.com>
5499 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
5500 (top level): Use it in the run with no args test.
5502 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
5504 * gdb.dlang/properties.exp: New file.
5506 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
5508 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
5509 whether or not address 0x1000 is mapped on the target.
5511 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
5513 * gdb.python/py-type.exp: Do not run tests if binaries fail to
5516 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
5518 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
5519 instruction-history test.
5521 2015-09-28 Doug Evans <dje@google.com>
5523 * gdb.base/gcore.c (array_func): Add reference to static_array.
5525 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
5527 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
5530 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
5532 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
5533 short or char as base type.
5535 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
5537 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
5538 to allow any size enum.
5540 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
5542 * gdb.ada/array_ptr_renaming.exp: New testcase.
5543 * gdb.ada/array_ptr_renaming/foo.adb: New file.
5544 * gdb.ada/array_ptr_renaming/pack.ads: New file.
5546 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5548 * gdb.trace/ftrace-lock.c: New file.
5549 * gdb.trace/ftrace-lock.exp: New file.
5551 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5553 * gdb.arch/insn-reloc.c: New file.
5554 * gdb.arch/ftrace-insn-reloc.exp: New file.
5556 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5558 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
5560 * gdb.trace/pendshr1.c (pendfunc): Likewise.
5561 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
5562 * gdb.trace/range-stepping.c: Likewise.
5563 * gdb.trace/trace-break.c: Likewise.
5564 * gdb.trace/trace-mt.c (thread_function): Likewise.
5565 * gdb.trace/ftrace.c (marker): Likewise.
5566 * gdb.trace/trace-condition.c (marker): Likewise.
5567 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
5568 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
5571 2015-09-18 Doug Evans <xdje42@gmail.com>
5573 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
5574 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
5576 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5578 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
5581 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5583 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
5584 the pending breakpoint. Remove timeout override for "Run till
5585 MI pending breakpoint on pendfunc3 on thread 2" test.
5587 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5589 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
5592 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5594 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
5595 in breakpoint filename pattern.
5597 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5599 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
5601 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5603 * gdb.linespec/explicit.exp: Check for readline support for
5604 tab-completion tests. Fix obvious typo.
5606 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5608 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
5611 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5613 * gdb.btrace/non-stop.c: New.
5614 * gdb.btrace/non-stop.exp: New.
5616 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
5617 Yao Qi <yao.qi@linaro.org>
5619 * gdb.trace/trace-condition.c: New file.
5620 * gdb.trace/trace-condition.exp: New file.
5622 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
5624 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
5625 for testing bytecode compilation.
5627 2015-09-16 Pedro Alves <palves@redhat.com>
5628 Sandra Loosemore <sandra@codesourcery.com>
5630 * gdb.threads/non-stop-fair-events.c (timeout): New global.
5631 (SECONDS): Redefine.
5632 (main): Call pthread_kill and alarm early.
5633 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
5635 (test): If the target can't hardware step and doesn't support
5636 displaced stepping, increase the timeout.
5638 2015-09-16 Pedro Alves <palves@redhat.com>
5640 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
5641 (enable_debug): New procedures.
5642 (test): Use them. Bail out if waiting for threads fails.
5643 (top level): Bail out if a test fails.
5645 2015-09-16 Yao Qi <yao.qi@linaro.org>
5647 * gdb.asm/asm-source.exp: Set asm-arch for
5648 aarch64*-*-* target.
5649 * gdb.asm/aarch64.inc: New file.
5651 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
5653 * gdb.ada/array_of_variable_length.exp: New testcase.
5654 * gdb.ada/array_of_variable_length/foo.adb: New file.
5655 * gdb.ada/array_of_variable_length/pck.adb: New file.
5656 * gdb.ada/array_of_variable_length/pck.ads: New file.
5658 2015-09-15 Doug Evans <dje@google.com>
5660 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
5661 of function static local variable.
5663 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5665 * gdb.threads/tls-so_extern.exp: New test file.
5666 * gdb.threads/tls-so_extern.c: New test file.
5667 * gdb.threads/tls-so_extern_main.c: New test file.
5669 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5671 * gdb.opt/solib-intra-step-lib.c: New file.
5672 * gdb.opt/solib-intra-step-main.c: New file.
5673 * gdb.opt/solib-intra-step.exp: New file.
5675 2015-09-15 Pedro Alves <palves@redhat.com>
5677 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
5678 gdb_continue_to_breakpoint instead of gdb_test_multiple.
5680 2015-09-14 Pedro Alves <palves@redhat.com>
5682 * gdb.base/hook-stop-continue.c: Delete.
5683 * gdb.base/hook-stop-continue.exp: Delete.
5684 * gdb.base/hook-stop-frame.c: Delete.
5685 * gdb.base/hook-stop-frame.exp: Delete.
5686 * gdb.base/hook-stop.c: New file.
5687 * gdb.base/hook-stop.exp: New file.
5689 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
5691 * gdb.ada/access_to_packed_array.exp: New testcase.
5692 * gdb.ada/access_to_packed_array/foo.adb: New file.
5693 * gdb.ada/access_to_packed_array/pack.adb: New file.
5694 * gdb.ada/access_to_packed_array/pack.ads: New file.
5696 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
5698 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
5701 2015-09-11 Don Breazeal <donb@codesourcery.com>
5703 * gdb.base/foll-exec.c: Add copyright header. Fix
5705 * gdb.base/foll-exec.exp (zap_session): Delete proc.
5706 (do_exec_tests): Use clean_restart in place of zap_session,
5707 and for test initialization. Fix formatting issues. Use
5708 fail in place of perror.
5709 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
5710 an expect statement to match an expression with output from
5711 the program under debug.
5712 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
5713 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
5714 * gdb.threads/non-ldr-exc-2.exp: Likewise.
5715 * gdb.threads/non-ldr-exc-3.exp: Likewise.
5716 * gdb.threads/non-ldr-exc-4.exp: Likewise.
5718 2015-09-09 Doug Evans <dje@google.com>
5720 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
5722 2015-09-09 Doug Evans <dje@google.com>
5724 * gdb.base/pie-execl.exp: Fix result test of build_executable.
5726 2015-09-09 Doug Evans <dje@google.com>
5728 * gdb.base/savedregs.exp: Fix typo.
5730 2015-09-09 Pedro Alves <palves@redhat.com>
5732 * gdb.mi/mi-cli.exp: Add CLI finish tests.
5734 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
5736 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
5737 command actually switches threads. Give up on remaining
5738 tests if target fails to stop at breakpoint.
5740 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
5742 * gdb.ada/funcall_char.exp: New testcase.
5743 * gdb.ada/funcall_char/foo.adb: New file.
5745 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
5747 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
5748 expected outputs. Add two testcases for completing ambiguous
5750 * gdb.ada/complete/aux_pck.adb: New file.
5751 * gdb.ada/complete/aux_pck.ads: New file.
5752 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
5753 Ambiguous_Func functions.
5754 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
5755 * gdb.ada/complete/pck.adb: Likewise.
5757 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
5759 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
5760 failures to run the test program under GDB.
5762 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
5764 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
5767 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
5769 * gdb.base/run-after-attach.exp: New test file.
5770 * gdb.base/run-after-attach.c: New test file.
5772 2015-08-26 Don Breazeal <donb@codesourcery.com>
5774 * gdb.base/foll-exec-2.c: New test program.
5775 * gdb.base/foll-exec-2.exp: New test.
5777 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
5779 * gdb.base/nested-subp1.exp: New file.
5780 * gdb.base/nested-subp1.c: New file.
5781 * gdb.base/nested-subp2.exp: New file.
5782 * gdb.base/nested-subp2.c: New file.
5783 * gdb.base/nested-subp3.exp: New file.
5784 * gdb.base/nested-subp3.c: New file.
5786 2015-08-24 Pedro Alves <palves@redhat.com>
5788 * gdb.server/connect-without-multi-process.c: New file.
5789 * gdb.server/connect-without-multi-process.exp: New file.
5791 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5793 * gdb.opt/inline-markers.c: Make z int.
5795 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5797 * gdb.opt/inline-markers.c: Make z volatile.
5799 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5801 * gdb.opt/inline-bt.c: New volatile global z.
5802 * gdb.opt/inline-cmds.c: Likewise.
5803 * gdb.opt/inline-locals.c: Likewise.
5804 * gdb.opt/inline-markers.c: New extern global z.
5806 (inline_fn): Likewise.
5808 2015-08-24 Pedro Alves <palves@redhat.com>
5810 * config/m32r-stub.exp: Remove file.
5811 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5812 * gdb.base/call-rt-st.exp: Likewise.
5813 * gdb.base/call-strs.exp: Likewise.
5814 * gdb.base/default.exp: Remove references to h8300-*-hms and
5816 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5818 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5820 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5821 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5822 and "return" use KFAIL when GDB can not read/write the vector
5825 2015-08-21 Gary Benson <gbenson@redhat.com>
5827 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5829 2015-08-20 Pedro Alves <palves@redhat.com>
5831 * gdb.server/solib-list.exp: No longer expect an interior stop in
5834 2015-08-20 Pedro Alves <palves@redhat.com>
5836 * gdb.server/connect-stopped-target.c: New file.
5837 * gdb.server/connect-stopped-target.exp: New file.
5839 2015-08-20 Pedro Alves <palves@redhat.com>
5841 * gdb.dwarf2/comp-unit-lang.exp: New file.
5842 * gdb.dwarf2/comp-unit-lang.c: New file.
5844 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5846 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5847 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5849 2015-08-19 Kevin Buettner <kevinb@redhat.com>
5851 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5852 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5854 2015-08-18 Doug Evans <dje@google.com>
5855 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5857 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5858 skip_python_tests. New arg prompt_regexp.
5859 (skip_python_tests): New function.
5860 * lib/mi-support.exp (mi_skip_python_tests): New function.
5861 * gdb.python/py-mi-objfile-gdb.py: New file.
5862 * gdb.python/py-mi-objfile.c: New file.
5863 * gdb.python/py-mi-objfile.exp: New file.
5865 2015-08-17 Keith Seitz <keiths@redhat.com>
5867 * gdb.linespec/explicit.exp: Move strace test from here ...
5868 * gdb.trace/strace.exp: ... to here.
5870 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5872 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5873 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5875 2015-08-14 Doug Evans <xdje42@gmail.com>
5877 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5878 inferior before selecting a new file.
5880 2015-08-14 Doug Evans <xdje42@gmail.com>
5882 * gdb.mi/mi-disassemble.exp: Update.
5883 * gdb.base/disasm-optim.S: New file.
5884 * gdb.base/disasm-optim.c: New file.
5885 * gdb.base/disasm-optim.h: New file.
5886 * gdb.base/disasm-optim.exp: New file.
5888 2015-08-14 Keith Seitz <keiths@redhat.com>
5890 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
5893 2015-08-13 Joel Brobecker <brobecker@adacore.com>
5895 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
5897 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
5899 * gdb.ada/fun_renaming.exp: New testcase.
5900 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
5901 * gdb.ada/fun_renaming/pack.adb: New file.
5902 * gdb.ada/fun_renaming/pack.ads: New file.
5904 2015-08-12 Keith Seitz <keiths@redhat.com>
5906 * gdb.base/dso2dso.exp: Pass basename of source file in call to
5907 gdb_get_line_number.
5909 2015-08-12 Joel Brobecker <brobecker@adacore.com>
5911 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
5912 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
5913 gdb.base/dso2dso.exp: New files.
5915 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
5916 Pedro Alves <palves@redhat.com>
5917 Keith Seitz <keiths@redhat.com>
5919 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
5922 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5924 * gdb.base/gdbhistsize-history.exp
5925 (test_histsize_history_setting): Use save_vars.
5926 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
5928 (test_no_truncation_of_unlimited_history_file): Use save_vars.
5929 * gdb.base/readline.exp: Use save_vars.
5931 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
5933 * lib/gdb.exp (save_vars): New proc.
5935 2015-08-11 Keith Seitz <keiths@redhat.com>
5937 * gdb.base/help.exp: Update help_breakpoint_text.
5939 2015-08-11 Keith Seitz <keiths@redhat.com>
5941 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
5942 (at toplevel): Call test_explicit_breakpoints.
5943 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
5945 * lib/mi-support.exp (mi_make_breakpoint): Add support for
5946 breakpoint conditions, "-cond".
5948 2015-08-11 Keith Seitz <keiths@redhat.com>
5950 * gdb.linespec/3explicit.c: New file.
5951 * gdb.linespec/cpexplicit.cc: New file.
5952 * gdb.linespec/cpexplicit.exp: New file.
5953 * gdb.linespec/explicit.c: New file.
5954 * gdb.linespec/explicit.exp: New file.
5955 * gdb.linespec/explicit2.c: New file.
5956 * gdb.linespec/ls-errs.exp: Add explicit location tests.
5957 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
5958 before using in the matching pattern.
5959 Clarify that `prefix' is a regular expression.
5961 2015-08-11 Keith Seitz <keiths@redhat.com>
5963 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
5965 Add tests for missing ",FMT" and ",".
5967 2015-08-10 Doug Evans <dje@google.com>
5968 Keith Seitz <keiths@redhat.com>
5971 * gdb.base/completion.exp: Add location completer tests.
5973 2015-08-07 Pedro Alves <palves@redhat.com>
5975 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
5977 (top level): Run do_test with and without displaced stepping.
5979 2015-08-07 Pedro Alves <palves@redhat.com>
5981 * gdb.base/valgrind-disp-step.c: New file.
5982 * gdb.base/valgrind-disp-step.exp: New file.
5984 2015-08-07 Pedro Alves <palves@redhat.com>
5986 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
5988 (main): Add alarm. Run an infinite loop instead of calling
5990 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
5992 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
5994 (main): Add alarm. Run an infinite loop instead of calling
5996 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
5999 2015-08-07 Pedro Alves <palves@redhat.com>
6001 * gdb.base/checkpoint-ns.exp: New file.
6002 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
6005 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
6007 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
6008 * gdb.btrace/instruction_history.exp: Update.
6009 * gdb.btrace/tsx.exp: New.
6010 * gdb.btrace/tsx.c: New.
6012 2015-08-06 Pedro Alves <palves@redhat.com>
6014 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
6016 * gdb.reverse/until-precsave.exp: Bump timeouts.
6018 2015-08-06 Pedro Alves <palves@redhat.com>
6020 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
6022 2015-08-06 Pedro Alves <palves@redhat.com>
6025 * gdb.threads/process-dies-while-handling-bp.c: New file.
6026 * gdb.threads/process-dies-while-handling-bp.exp: New file.
6028 2015-08-06 Pedro Alves <palves@redhat.com>
6030 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
6031 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
6033 2015-08-05 Pedro Alves <palves@redhat.com>
6035 * gdb.threads/next-while-other-thread-longjmps.c: New file.
6036 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
6038 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
6040 * gdb.base/bp-permanent.exp: Report test as unsupported if
6041 the target cannot stop at the permanent breakpoint.
6043 2015-08-03 Doug Evans <dje@google.com>
6045 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
6048 2015-08-03 Doug Evans <dje@google.com>
6050 * Makefile.in (workers/%.worker, build-perf): New rule.
6051 (GDB_PERFTEST_MODE): New variable.
6052 (check-perf): Use it.
6053 (clean): Clean up gdb.perf parallel build subdirs.
6054 * lib/build-piece.exp: New file.
6055 * lib/gdb.exp (make_gdb_parallel_path): New function
6056 (standard_output_file, standard_temp_file): Call it.
6057 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6059 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
6061 2015-08-03 Doug Evans <dje@google.com>
6063 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
6064 (LOG_FILE_NAME): New global.
6065 (TextReporter.__init__): Initialize self.txt_sum.
6066 (TextReporter.report): Add support for multiple data-points.
6067 Move report to perftest.sum, put raw data in perftest.log.
6068 (TextReporter.start): Open sum and log files.
6069 (TextReporter.end): Close sum and log files.
6070 * gdb.perf/lib/perftest/testresult.py
6071 (SingleStatisticTestResult.record): Handle multiple data-points.
6073 2015-07-31 Pedro Alves <palves@redhat.com>
6075 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
6076 Use spawn_id_get_pid. Wait for spawn id after eof. Use
6077 kill_wait_spawned_process instead of explicit "kill -9".
6078 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
6079 returning a spawn id instead of a pid. Use spawn_id_get_pid and
6080 kill_wait_spawned_process.
6081 * gdb.base/attach-twice.exp: Likewise.
6082 * gdb.base/attach.exp: Likewise.
6083 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
6085 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
6086 returning a spawn id instead of a pid. Use spawn_id_get_pid and
6087 kill_wait_spawned_process.
6088 * gdb.base/valgrind-infcall.exp: Likewise.
6089 * gdb.multi/multi-attach.exp: Likewise.
6090 * gdb.python/py-prompt.exp: Likewise.
6091 * gdb.python/py-sync-interp.exp: Likewise.
6092 * gdb.server/ext-attach.exp: Likewise.
6093 * gdb.threads/attach-into-signal.exp (corefunc): Use
6094 spawn_wait_for_attach, spawn_id_get_pid and
6095 kill_wait_spawned_process.
6096 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
6097 spawn_wait_for_attach returning a spawn id instead of a pid. Use
6098 spawn_id_get_pid and kill_wait_spawned_process.
6099 * gdb.threads/attach-stopped.exp (corefunc): Use
6100 spawn_wait_for_attach, spawn_id_get_pid and
6101 kill_wait_spawned_process.
6102 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
6103 Use spawn_id_get_pid. Wait for spawn id after eof. Use
6104 kill_wait_spawned_process instead of explicit "kill -9".
6105 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
6106 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
6107 (spawn_wait_for_attach): Use spawn instead of exec to spawn
6108 processes. Don't map cygwin/windows pids here. Now returns a
6111 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6113 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
6114 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
6117 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6119 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
6121 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6124 2014-05-21 Mark Wielaard <mjw@redhat.com>
6126 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6128 2015-07-30 Pedro Alves <palves@redhat.com>
6130 * linux-low.c (handle_extended_wait): Set the child's last
6131 reported status to TARGET_WAITKIND_STOPPED.
6133 2015-07-30 Pedro Alves <palves@redhat.com>
6136 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
6137 only shows inferior 1.
6139 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
6140 Pedro Alves <palves@redhat.com>
6143 * gdb.threads/fork-plus-threads.c: New file.
6144 * gdb.threads/fork-plus-threads.exp: New file.
6146 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6148 * gdb.base/batch-preserve-term-settings.exp
6149 (test_terminal_settings_preserved_after_cli_exit): Use
6152 2015-07-29 Pedro Alves <palves@redhat.com>
6153 Don Breazeal <donb@codesourcery.com>
6155 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
6156 output from both inferior_spawn_id and gdb_spawn_id.
6158 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
6160 * gdb.threads/attach-into-signal.exp (corefunc): Use
6161 with_test_prefix on nested loops, uniquefying the test messages.
6163 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
6165 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
6168 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6170 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
6172 (test_terminal_settings_preserved_after_sigterm): New test.
6174 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6176 * gdb.base/batch-preserve-term-settings.exp
6177 (test_terminal_settings_preserved_after_cli_exit): New test.
6179 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6181 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
6182 manipulation of saved_gdbflags.
6183 (test_terminal_settings_preserved): Remove global declaration of
6184 the unused variable pagination_prompt. Remove manipulation of
6185 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
6188 2015-07-29 Pedro Alves <palves@redhat.com>
6190 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
6192 2015-07-29 Pedro Alves <palves@redhat.com>
6194 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
6197 2015-07-29 Pedro Alves <palves@redhat.com>
6199 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
6200 (main): Call gdb_unbuffer_output.
6201 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
6202 (main): Call gdb_unbuffer_output.
6203 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
6204 (main): Call gdb_unbuffer_output.
6205 * gdb.base/call-strs.exp: Adjust to step over the
6206 gdb_unbuffer_output call.
6207 * gdb.base/catch-gdb-caused-signals.c: Include
6208 "../lib/unbuffer_output.c".
6209 (main): Call gdb_unbuffer_output.
6210 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
6211 (main): Call gdb_unbuffer_output.
6212 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
6213 (main): Call gdb_unbuffer_output.
6214 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
6215 (main): Call gdb_unbuffer_output.
6216 * gdb.base/shlib-call.exp: Adjust to step over the
6217 gdb_unbuffer_output call.
6218 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
6219 (main): Call gdb_unbuffer_output.
6220 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
6221 (main): Call gdb_unbuffer_output.
6222 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
6223 (main): Rename to ...
6225 (main): Reimplement.
6226 * gdb.base/varargs.exp: Run to test instead of to main.
6227 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
6228 (main): Call gdb_unbuffer_output.
6230 2015-07-29 Pedro Alves <palves@redhat.com>
6232 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
6233 factore out from mi_continue_dprintf. For call-style dprintfs,
6234 expect dprintf output out of $inferior_spawn_id.
6235 (mi_continue_dprintf): Use mi_expect_dprintf.
6236 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
6237 (main): Call gdb_unbuffer_output.
6239 2015-07-29 Pedro Alves <palves@redhat.com>
6241 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
6242 (default_mi_gdb_start): Set inferior_spawn_id instead of
6243 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
6245 (mi_gdb_test): Always expect inferior output from both
6246 $inferior_spawn_id and $gdb_spawn_id.
6248 2015-07-29 Pedro Alves <palves@redhat.com>
6250 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
6251 send_inferior and $inferior_spawn_id.
6253 2015-07-29 Pedro Alves <palves@redhat.com>
6255 * gdb.gdb/complaints.exp (test_initial_complaints)
6256 (test_serial_complaints, test_short_complaints): Use
6258 (test_empty_complaint): Handle $inferior_spawn_id !=
6261 2015-07-29 Pedro Alves <palves@redhat.com>
6263 * gdb.base/varargs.exp: Use gdb_test_stdio.
6265 2015-07-29 Pedro Alves <palves@redhat.com>
6267 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
6269 2015-07-29 Pedro Alves <palves@redhat.com>
6271 * gdb.base/ending-run.exp: Use gdb_test_stdio.
6273 2015-07-29 Pedro Alves <palves@redhat.com>
6275 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
6276 parameter into two new parameters, "inf_result" and "gdb_result".
6277 Expect inferior output and gdb output from $inferior_spawn_id and
6278 $gdb_spawn_id, respectively. Adjust all callers.
6280 2015-07-29 Pedro Alves <palves@redhat.com>
6282 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
6283 of gdb_test_sequence.
6285 2015-07-29 Pedro Alves <palves@redhat.com>
6287 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
6288 (saw_spurious_output): Expect inferior output from
6289 $inferior_spawn_id. Use gdb_test_stdio.
6291 2015-07-29 Pedro Alves <palves@redhat.com>
6293 * gdb.base/dprintf.exp: Use standard_testfile. Change
6294 prepare_for_testing call.
6295 (srcfile): Don't set.
6296 (restart): New procedure.
6297 (test_dprintf): New procecure, use to continue over dprintfs.
6298 (test_call, test_agent): New procedures, tests moved here.
6299 Restart gdb and recreate dprintfs. Adjust expected output.
6301 2015-07-29 Pedro Alves <palves@redhat.com>
6303 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
6305 2015-07-29 Pedro Alves <palves@redhat.com>
6307 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
6309 2015-07-29 Pedro Alves <palves@redhat.com>
6311 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
6314 2015-07-29 Pedro Alves <palves@redhat.com>
6316 * lib/gdb.exp (gdb_test_stdio): New procedure.
6318 2015-07-29 Pedro Alves <palves@redhat.com>
6320 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
6322 2015-07-29 Pedro Alves <palves@redhat.com>
6324 * gdb.base/call-signal-resume.exp: Remove check for
6325 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
6326 * gdb.base/unwindonsignal.exp: Likewise.
6327 * gdb.base/call-signals.c (gen_signal): Remove printf call.
6328 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
6330 2015-07-29 Pedro Alves <palves@redhat.com>
6332 * gdb.base/siginfo-addr.c (pass): New function.
6333 (handler): Call it iff si_addr is correct.
6334 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
6335 Set a breakpoint at "pass" and continue to it.
6337 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
6339 * gdb.python/py-objfile.exp: Make some tests have unique names.
6340 * gdb.python/py-pp-registration.exp: Likewise.
6342 2015-07-28 Pedro Alves <palves@redhat.com>
6344 * gdb.server/server-exec-info.exp: Issue a "disconnect".
6346 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6348 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
6350 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6352 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
6354 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
6356 * gdb.base/gdb-sigterm-2.exp: New test.
6358 2015-07-25 Doug Evans <xdje42@gmail.com>
6361 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6362 (workers/%.worker, build-perf): New rule.
6363 (GDB_PERFTEST_MODE): New variable.
6364 (check-perf): Use it.
6365 (clean): Clean up gdb.perf parallel build subdirs.
6366 * lib/build-piece.exp: New file.
6367 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6368 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6370 (standard_temp_file): Ditto.
6371 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6374 2015-07-24 Doug Evans <dje@google.com>
6376 * gdb.perf/lib/perftest/utils.py: New file.
6377 * gdb.perf/gm-hello.cc: New file.
6378 * gdb.perf/gm-pervasive-typedef.cc: New file.
6379 * gdb.perf/gm-pervasive-typedef.h: New file.
6380 * gdb.perf/gm-std.cc: New file.
6381 * gdb.perf/gm-std.h: New file.
6382 * gdb.perf/gm-use-cerr.cc: New file.
6383 * gdb.perf/gm-utils.h: New file.
6384 * gdb.perf/gmonster-null-lookup.py: New file.
6385 * gdb.perf/gmonster-pervasive-typedef.py: New file.
6386 * gdb.perf/gmonster-print-cerr.py: New file.
6387 * gdb.perf/gmonster-ptype-string.py: New file.
6388 * gdb.perf/gmonster-runto-main.py: New file.
6389 * gdb.perf/gmonster-select-file.py: New file.
6390 * gdb.perf/gmonster1-null-lookup.exp: New file.
6391 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
6392 * gdb.perf/gmonster1-print-cerr.exp: New file.
6393 * gdb.perf/gmonster1-ptype-string.exp: New file.
6394 * gdb.perf/gmonster1-runto-main.exp: New file.
6395 * gdb.perf/gmonster1-select-file.exp: New file.
6396 * gdb.perf/gmonster1.cc: New file.
6397 * gdb.perf/gmonster1.exp: New file.
6398 * gdb.perf/gmonster2-null-lookup.exp: New file.
6399 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
6400 * gdb.perf/gmonster2-print-cerr.exp: New file.
6401 * gdb.perf/gmonster2-ptype-string.exp: New file.
6402 * gdb.perf/gmonster2-runto-main.exp: New file.
6403 * gdb.perf/gmonster2-select-file.exp: New file.
6404 * gdb.perf/gmonster2.cc: New file.
6405 * gdb.perf/gmonster2.exp: New file.
6407 2015-07-24 Doug Evans <dje@google.com>
6409 * gdb.perf/README: New file.
6410 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
6411 * lib/gen-perf-test.exp: New file.
6413 2015-07-24 Doug Evans <dje@google.com>
6415 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
6416 (PerfTest::startup): New function.
6417 (PerfTest::run): Return result of calling body.
6418 (PerfTest::assemble): Rewrite.
6419 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
6420 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
6421 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
6422 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
6423 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
6425 2015-07-24 Doug Evans <dje@google.com>
6427 * lib/gdb.exp (clean_restart): Make executable optional.
6429 2015-07-24 Doug Evans <dje@google.com>
6431 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
6432 compiler_info references.
6433 * gdb.cp/temargs.exp: Ditto.
6434 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
6435 (get_compiler_info): Early exit if already computed. Set compiler_info
6436 to "unknown" if there was a problem.
6437 (test_compiler_info): Add function comment. Call get_compiler_info.
6439 2015-07-24 Doug Evans <dje@google.com>
6441 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6442 (workers/%.worker, build-perf): New rule.
6443 (GDB_PERFTEST_MODE): New variable.
6444 (check-perf): Use it.
6445 (clean): Clean up gdb.perf parallel build subdirs.
6446 * lib/build-piece.exp: New file.
6447 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6448 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6450 (standard_temp_file): Ditto.
6451 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6454 2015-07-24 Doug Evans <dje@google.com>
6456 * lib/future.exp (gdb_default_target_compile): New option
6458 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
6461 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
6463 * gdb.base/catch-syscall.exp: Call gdb_exit before
6466 2015-07-24 Pedro Alves <palves@redhat.com>
6468 * gdb.python/py-events.exp: Accept output between the stop event
6470 * gdb.python/py-evsignal.exp: Likewise.
6471 * gdb.python/py-evthreads.exp: Likewise.
6473 2015-07-24 Pedro Alves <palves@redhat.com>
6476 * gdb.threads/non-ldr-exit.c: New file.
6477 * gdb.threads/non-ldr-exit.exp: New file.
6479 2015-07-24 Yao Qi <yao.qi@linaro.org>
6481 * gdb.server/ext-wrapper.exp: Test --wrapper option when
6484 2015-07-24 Yao Qi <yao.qi@linaro.org>
6486 * gdb.server/ext-restart.exp: New file.
6488 2015-07-24 Yao Qi <yao.qi@linaro.org>
6490 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
6492 * gdb.server/ext-wrapper.exp: New file.
6494 2015-07-23 Doug Evans <dje@google.com>
6496 * gdb.dwarf2/dw2-dummy-cu.S: New file.
6497 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
6499 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
6501 * gdb.ada/var_arr_typedef.exp: New testcase.
6502 * gdb.ada/var_arr_typedef/pack.adb: New file.
6503 * gdb.ada/var_arr_typedef/pack.ads: New file.
6504 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
6506 2015-07-20 Joel Brobecker <brobecker@adacore.com>
6508 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
6510 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6512 * gdb.arch/i386-biarch-core.exp: Replace istarget
6513 by "complete set gnutarget". Remove expectation for the "core-file"
6516 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6518 Revert the previous commit:
6519 Tests for validate symbol file using build-id.
6521 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
6523 Tests for validate symbol file using build-id.
6524 * gdb.base/solib-mismatch-lib.c: New file.
6525 * gdb.base/solib-mismatch-libmod.c: New file.
6526 * gdb.base/solib-mismatch.c: New file.
6527 * gdb.base/solib-mismatch.exp: New file.
6529 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
6531 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
6533 * gdb.base/sigbpt.exp (stepi_out): Likewise.
6534 * gdb.base/siginfo.exp: Likewise.
6535 * gdb.base/sigstep.exp (advance, advancei): Likewise.
6537 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
6539 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
6541 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
6543 * gdb.trace/range-stepping.exp: Check that the target supports
6546 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6548 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
6550 2015-07-14 Pedro Alves <palves@redhat.com>
6552 * gdb.base/killed-outside.exp: New file.
6553 * gdb.base/killed-outside.c: New file.
6555 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6557 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
6559 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
6561 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6563 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
6564 infcall tests instead of setting up for KFAIL.
6566 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
6568 * gdb.btrace/record_goto-step.exp: New.
6570 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6573 * gdb.compile/compile.c (struct struct_type): Add volatile to
6575 * gdb.compile/compile.exp
6576 (compile code struct_object.selffield = &struct_object): Skip further
6577 struct_object tests if this one xfails.
6579 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
6582 * gdb.trace/ax.exp: Add test.
6584 2015-07-07 Yao Qi <yao.qi@linaro.org>
6586 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
6587 instead of istarget "aarch64*-*-*".
6588 * gdb.arch/aarch64-fp.exp: Likewise.
6589 * gdb.base/float.exp: Likewise.
6590 * gdb.reverse/aarch64.exp: Likewise.
6591 * lib/gdb.exp (is_aarch64_target): New proc.
6593 2015-07-07 Yao Qi <yao.qi@linaro.org>
6595 * lib/gdb.exp (is_aarch32_target): New proc.
6596 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
6597 instead of "istarget "arm*-*-*"".
6598 * gdb.arch/arm-disp-step.exp: Likewise.
6599 * gdb.arch/thumb-bx-pc.exp: Likewise.
6600 * gdb.arch/thumb-prologue.exp: Likewise.
6601 * gdb.arch/thumb-singlestep.exp: Likewise.
6602 * gdb.base/disp-step-syscall.exp: Likewise.
6603 * gdb.base/float.exp: Likewise.
6605 2015-07-07 Yao Qi <yao.qi@linaro.org>
6607 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
6608 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
6610 2015-07-07 Yao Qi <yao.qi@linaro.org>
6612 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
6613 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
6615 * gdb.multi/multi-arch.exp: Likewise.
6617 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
6619 * gdb.python/py-lazy-string.exp: Add missing parentheses to
6622 2015-07-07 Yao Qi <yao.qi@linaro.org>
6624 * gdb.arch/thumb-singlestep.exp: Do one more single step.
6626 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
6628 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
6629 '[' and ']' characters.
6631 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
6633 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6635 2015-06-29 Pedro Alves <palves@redhat.com>
6638 * gdb.threads/hand-call-new-thread.c: New file.
6639 * gdb.threads/hand-call-new-thread.c: New file.
6641 2015-06-26 Keith Seitz <keiths@redhat.com>
6642 Doug Evans <dje@google.com>
6645 * gdb.cp/var-tag-2.cc: New file.
6646 * gdb.cp/var-tag-3.cc: New file.
6647 * gdb.cp/var-tag-4.cc: New file.
6648 * gdb.cp/var-tag.cc: New file.
6649 * gdb.cp/var-tag.exp: New file.
6651 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6653 * gdb.base/history-duplicates.exp: New test.
6655 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6657 * gdb.base/completion.exp: Test the completion of the "focus"
6660 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6662 * gdb.arch/amd64-prologue-skip.S: New file.
6663 * gdb.arch/amd64-prologue-skip.exp: New file.
6665 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
6667 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
6668 is_address_zero_readable check.
6670 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
6672 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
6673 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
6675 2015-06-24 Yao Qi <yao.qi@linaro.org>
6677 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
6680 2015-06-24 Yao Qi <yao.qi@linaro.org>
6682 * lib/gdb.exp (supports_get_siginfo_type): New proc.
6683 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
6684 * gdb.base/siginfo-thread.exp: Likewise.
6686 2015-06-22 Yao Qi <yao.qi@linaro.org>
6688 * boards/remote-gdbserver-on-localhost.exp: Add comments.
6690 2015-06-22 Yao Qi <yao.qi@linaro.org>
6692 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
6694 (skip_hw_watchpoint_tests): Likewise.
6696 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
6698 * gdb.base/gdbinit-history.exp: Test the interaction between
6699 setting GDBHISTSIZE and setting the history size via .gdbinit.
6701 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6704 * gdb.base/gdbhistsize-history.exp: New test.
6706 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6708 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
6710 * gdb.base/readline.exp: Likewise.
6712 2015-06-17 Yao Qi <yao.qi@linaro.org>
6714 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
6717 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6719 * gdb.base/gdbinit-history.exp: Add test case to check that
6720 an unlimited history file does not get truncated on exit.
6722 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6724 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
6725 (VECTOR): New macro. Use it...
6726 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6727 ...for these typedefs.
6728 (int8, char1, int1, double1): New typedefs.
6729 (struct just_int2, struct two_int2): New structures.
6730 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
6731 (add_structvecs, add_singlevecs): New functions.
6732 (main): Call add_some_intvecs twice.
6733 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
6734 the compile and exit upon failure. Try compiling for the "native"
6735 architecture. Test inferior function calls with vector arguments
6736 and vector return value handling with "finish" and "return".
6738 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
6740 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
6741 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
6743 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
6745 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6747 PR breakpoints/16465
6748 * gdb.mi/mi-dprintf-pending.c: New file.
6749 * gdb.mi/mi-dprintf-pending.exp: New test.
6750 * gdb.mi/mi-dprintf-pendshr.c: New file.
6752 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6753 Mircea Gherzan <mircea.gherzan@intel.com>
6755 * gdb.arch/i386-mpx-map.c: New file.
6756 * gdb.arch/i386-mpx-map.exp: New File.
6758 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6760 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
6761 * gdb.arch/i386-mpx.exp: Indentation fixed.
6763 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6765 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
6766 function and improved indentation.
6767 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
6768 gdb_test_multiple. Added additional tests to skip the test.
6770 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6772 * gdb.arch/i386-avx512.c: Change path in include file.
6773 * gdb.arch/i386-avx512.exp: Change include dir path
6775 * gdb.arch/i386-mpx.c: Change path in include file.
6776 * gdb.arch/i386-mpx.exp: Change include dir path compilation
6779 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6781 * gdb.compile/compile-print.exp (compile print *vararray@3)
6782 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
6784 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6786 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
6787 (do not keep jit in memory): ... this.
6788 (expect 5): Change it to ...
6789 (expect no 5): ... this.
6791 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
6794 * gdb.mi/mi-detach.exp: New file.
6796 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6799 * gdb.arch/amd64-tailcall-self.S: New file.
6800 * gdb.arch/amd64-tailcall-self.c: New file.
6801 * gdb.arch/amd64-tailcall-self.exp: New file.
6803 2015-05-28 Don Breazeal <donb@codesourcery.com>
6805 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6806 tests for remote targets by checking is_target_gdbserver.
6808 2015-05-27 Doug Evans <dje@google.com>
6810 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6811 * gdb.dwarf2/opaque-type-lookup.c: New file.
6812 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6814 2015-05-26 Doug Evans <dje@google.com>
6816 * gdb.cp/iostream.cc: New file.
6817 * gdb.cp/iostream.exp: New file.
6819 2015-05-26 Doug Evans <dje@google.com>
6821 * gdb.dwarf2/dw2-op-call.exp: Update.
6822 * gdb.dwarf2/dw4-sig-types.exp: Update.
6823 * gdb.dwarf2/implptr.exp: Update.
6824 * gdb.mi/mi-cmd-param-changed.exp: Update.
6826 2015-05-26 Doug Evans <dje@google.com>
6828 * gdb.python/py-lazy-string.c: New file.
6829 * gdb.python/py-lazy-string.exp: New file.
6830 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6831 (main): Update. Add estring3.
6832 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6833 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6835 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6836 Yao Qi <yao.qi@linaro.org>
6838 * gdb.reverse/aarch64.c: New.
6839 * gdb.reverse/aarch64.exp: New.
6841 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6843 * lib/gdb.exp (supports_process_record): Return true for
6845 (supports_reverse): Likewise.
6847 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6849 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6850 Use with_test_prefix.
6852 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6854 * gdb.base/completion.exp: Add test for completion of layout
6857 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6859 * lib/gdb.exp (skip_tui_tests): New proc.
6860 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6862 2015-05-19 Pedro Alves <palves@redhat.com>
6864 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6865 Save the whole env array instead of just HOME. Unset HISTSIZE in
6866 the environment while testing. Restore whole environment
6869 2015-05-16 Doug Evans <xdje42@gmail.com>
6871 * gdb.guile/scm-ports.c: New file.
6872 * gdb.guile/scm-ports.exp: Add memory port tests.
6874 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6876 * gdb.compile/compile-print.c: New file.
6877 * gdb.compile/compile-print.exp: New file.
6879 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6881 * gdb.compile/compile-ops.exp: Cast param to void.
6882 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6883 (compile code struct_object.selffield = &struct_object): Add xfail.
6885 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6887 * gdb.ada/arr_enum_with_gap: New testcase.
6889 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6891 * gdb.ada/byte_packed_arr: New testcase.
6893 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6895 * gdb.ada/pckd_neg: New testcase.
6897 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
6900 * gdb.base/gdbinit-history.exp: New test.
6901 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
6902 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
6904 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
6906 * gdb.python/py-xmethods.cc: Enhance test case.
6907 * gdb.python/py-xmethods.exp: New tests.
6908 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
6910 (B_indexoper): Likewise.
6911 (global_dm_list) : Add new xmethod worker functions.
6913 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
6915 * gdb.base/coredump-filter.exp: Correctly unset
6916 "coredump_var_addr" array.
6918 2015-05-08 Pedro Alves <palves@redhat.com>
6920 * gdb.server/non-existing-program.exp: Unset spawn_id.
6922 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
6925 * gdb.python/py-xmethods.exp: Add tests.
6927 2015-05-08 Yao Qi <yao.qi@linaro.org>
6930 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
6931 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
6932 function set_coredump_filter, and remove remote_exec call.
6933 Remove argument ipid. Callers update.
6934 (top level): Don't get inferior's PID.
6936 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
6938 * gdb.base/watch_thread_num.exp: Skip test on targets without
6941 2015-05-06 Pedro Alves <palves@redhat.com>
6944 * gdb.server/non-existing-program.exp: New file.
6946 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6948 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
6950 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6952 * gdb.ada/out_of_line_in_inlined: New testcase.
6954 2015-05-05 Joel Brobecker <brobecker@adacore.com>
6956 * gdb.ada/var_rec_arr: New testcase.
6958 2015-04-30 Yao Qi <yao.qi@linaro.org>
6960 * gdb.base/break-idempotent.exp: If
6961 skip_hw_watchpoint_multi_tests returns true, skip the tests
6962 on "rwatch" and "awatch".
6964 2015-04-30 Yao Qi <yao.qi@linaro.org>
6966 * gdb.base/relativedebug.exp: Invoke gdb command
6967 "info sharedlibrary", and if libc.so doesn't have debug info,
6970 2015-04-29 Doug Evans <dje@google.com>
6972 * gdb.python/py-xmethods.exp: Add ptype tests.
6973 * gdb.python/py-xmethods.py (E_method_char_worker): Add
6974 get_result_type method.
6976 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6978 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
6979 the target does not support hardware watchpoints.
6981 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
6983 * gdb.base/break-always.exp: Abort testing if writing to memory
6986 2015-04-28 Doug Evans <dje@google.com>
6988 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
6989 * gdb.python/py-pp-registration.exp: ... here. New file.
6990 * gdb.python/py-pp-registration.c: New file.
6991 * gdb.python/py-pp-registration.py: New file.
6993 2015-04-28 Doug Evans <dje@google.com>
6995 * gdb.python/py-bad-printers.c: New file.
6996 * gdb.python/py-bad-printers.py: New file.
6997 * gdb.python/py-bad-printers.exp: New file.
6999 2015-04-28 Sasha Smundak <asmundak@google.com>
7001 * gdb.python/py-type.exp: New test.
7003 2015-04-28 Andy Wingo <wingo@igalia.com>
7005 * gdb.python/py-parameter.exp:
7006 * gdb.guile/scm-parameter.exp: Escape the path that we are
7007 matching against, as it might contain characters that are special
7008 to regular expressions.
7010 2015-04-27 Joel Brobecker <brobecker@adacore.com>
7012 * gdb.ada/rec_comp: New testcase.
7014 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
7016 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
7019 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
7021 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
7022 new tests for verilog output.
7024 2015-04-24 Yao Qi <yao.qi@linaro.org>
7026 * boards/remote-gdbserver-on-localhost.exp: New file.
7028 2015-04-23 Pedro Alves <palves@redhat.com>
7030 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
7031 $inferior_spawn_id instead of $inferior_spawn_id directly. On
7032 "end of file", remove $inferior_spawn_id from the indirect list.
7034 2015-04-23 Pedro Alves <palves@redhat.com>
7036 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
7038 2015-04-23 Pedro Alves <palves@redhat.com>
7040 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
7041 on $any_spawn_id instead of only on $gdb_spawn_id.
7043 2015-04-21 Pierre Muller <muller@sourceware.org>
7046 * lib/pascal.exp (gpc_compile): Add new option "class".
7047 (fpc_compile): Likewise.
7048 * gdb.pascal/case-insensitive-symbols.pas: New file.
7049 * gdb.pascal/case-insensitive-symbols.exp: New file.
7051 2015-04-20 Gary Benson <gbenson@redhat.com>
7053 * gdb.base/attach.exp: Fix three extended remote failures.
7055 2015-04-17 Gary Benson <gbenson@redhat.com>
7057 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
7058 the main executable over the remote protocol.
7060 2015-04-16 Pedro Alves <palves@redhat.com>
7062 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
7063 a new gdbserver if gdbserver_reconnect_p is set.
7065 2015-04-16 Pedro Alves <palves@redhat.com>
7067 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
7068 is set, don't exit gdbserver.
7070 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7072 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
7073 appropriate .insn, such that an older assembler can be used.
7074 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
7075 the z/Architecture instruction set on 31-bit targets as well.
7077 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7079 * gdb.go/handcall.exp: Remove all logic related to the first
7080 breakpoint and rely on go_runto_main instead.
7081 * gdb.go/strings.exp: Likewise.
7082 * gdb.go/unsafe.exp: Likewise.
7083 * gdb.go/hello.exp: Likewise. Also rename the remaining
7084 breakpoint marker to "breakpoint 1".
7085 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
7086 * gdb.go/strings.go: Likewise.
7087 * gdb.go/unsafe.go: Likewise.
7088 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
7089 "set breakpoint 2 here" and rename the remaining breakpoint marker
7092 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
7094 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
7095 if itertools.imap is not present.
7096 * gdb.python/py-objfile.exp: Add parentheses.
7097 * gdb.python/py-type.exp: Same.
7098 * gdb.python/py-unwind-maint.py: Same.
7100 2015-04-15 Yao Qi <yao.qi@linaro.org>
7102 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
7103 of ":$ptr_size" and set its form explicitly.
7105 2015-04-15 Pedro Alves <palves@redhat.com>
7106 Yao Qi <yao.qi@linaro.org>
7108 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
7109 timeout by factor of 4.
7110 (test_regular_watch): Likewise.
7111 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
7112 * gdb.reverse/sigall-reverse.exp: Likewise.
7113 * gdb.reverse/until-precsave.exp: Likewise.
7114 * lib/gdb.exp (with_timeout_factor): New proc.
7115 (gdb_expect): Move some code to ...
7116 (get_largest_timeout): ... here. New procedure.
7118 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
7120 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
7122 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
7124 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
7125 to write to the .text section.
7127 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
7129 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
7130 Handle the case of targets that do not provide PID information.
7132 2015-04-13 Yao Qi <yao.qi@linaro.org>
7134 * lib/gdbserver-support.exp (gdb_exit): Catch exception
7135 and use expect instead of gdb_expect.
7137 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
7139 * gdb.base/coredump-filter.exp: Rename variable "addr" to
7140 "coredump_var_addr" to avoid naming conflict with other testcases.
7142 2015-04-10 Pedro Alves <palves@redhat.com>
7144 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
7145 gdb_test_sequence and gdb_assert.
7147 2015-04-10 Pedro Alves <palves@redhat.com>
7149 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
7150 test messages that don't include the breakpoint address.
7152 2015-04-10 Yao Qi <yao.qi@linaro.org>
7154 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
7155 false for some offset and width combinations which aren't
7156 supported by linux kernel.
7158 2015-04-10 Pedro Alves <palves@redhat.com>
7160 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
7161 procedure, factored out from ...
7162 (top level): ... here. Add "set displaced-stepping" testing axis.
7163 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
7164 parameter "displaced". Use it.
7165 (top level): Use foreach and add "set displaced-stepping" testing
7168 2015-04-10 Pedro Alves <palves@redhat.com>
7170 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
7172 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
7173 both the address of the instruction that triggers the watchpoint
7174 and the address of the instruction immediately after, and use
7175 those addresses for the test. Fix comment.
7177 2015-04-10 Pedro Alves <palves@redhat.com>
7179 * gdb.base/sigstep.exp (breakpoint_to_handler)
7180 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
7181 Test "backtrace" in handler.
7182 (breakpoint_over_handler): New parameter 'displaced'. Use it.
7183 (top level): Add new "displaced" test axis to
7184 breakpoint_to_handler, breakpoint_to_handler_entry and
7185 breakpoint_over_handler.
7187 2015-04-10 Pedro Alves <palves@redhat.com>
7190 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
7192 2015-04-10 Yao Qi <yao.qi@linaro.org>
7194 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
7195 (test_add_rn_pc): New function.
7196 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
7197 (top level): Invoke test_add_rn_pc.
7199 2015-04-10 Pedro Alves <palves@redhat.com>
7202 * gdb.base/step-over-no-symbols.exp: New file.
7204 2015-04-09 Andy Wingo <wingo@igalia.com>
7206 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
7207 after the Python tests.
7209 2015-04-08 Keith Seitz <keiths@redhat.com>
7212 * gdb.python/py-completion.exp: New tests for completion.
7213 * gdb.python/py-completion.py (CompleteLimit1): New class.
7214 (CompleteLimit2): Likewise.
7215 (CompleteLimit3): Likewise.
7216 (CompleteLimit4): Likewise.
7217 (CompleteLimit5): Likewise.
7218 (CompleteLimit6): Likewise.
7219 (CompleteLimit7): Likewise.
7221 2015-04-08 Pedro Alves <palves@redhat.com>
7225 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
7227 (main): Install it as SIGUSR1 handler.
7228 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
7229 parameter. Always use "setup" as prefix. Toggle "set
7230 displaced-stepping" off/on depending on global. Don't switch to
7232 (top level): Add displaced stepping "off/on" test axis. Update
7233 "setup" calls. Wrap each subtest with with_test_prefix. Test
7234 continuing with a queued signal in each thread.
7236 2015-04-08 Pedro Alves <palves@redhat.com>
7238 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
7239 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
7240 gdb_breakpoint instead of gdb_test that doesn't expect anything.
7241 Return early if running to main fails.
7242 * gdb.trace/while-stepping.exp: Likewise.
7244 2015-04-07 Pedro Alves <palves@redhat.com>
7246 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
7247 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
7248 interact with inferior program.
7250 2015-04-07 Pedro Alves <palves@redhat.com>
7252 * lib/gdb.exp (inferior_spawn_id): New global.
7253 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
7254 spawn id after processing the user code.
7255 (default_gdb_start): Set inferior_spawn_id.
7256 (send_inferior): New procedure.
7257 * lib/gdbserver-support.exp (gdbserver_start): Set
7259 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
7261 2015-04-07 Pedro Alves <palves@redhat.com>
7263 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
7264 * lib/gdbserver-support.exp (gdbserver_start): Make
7265 $server_spawn_id global.
7266 (gdbserver_start): Don't wait for gdbserver's spawn id with
7268 (close_gdbserver): New procedure.
7269 (gdb_exit): Rename the default version and reimplement.
7271 2015-04-07 Pedro Alves <palves@redhat.com>
7273 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
7274 append the substituted item, not the original item.
7276 2015-04-07 Pedro Alves <palves@redhat.com>
7278 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
7281 2015-04-07 Pedro Alves <palves@redhat.com>
7283 * gdb.base/interrupt.exp: Don't handle the case of the inferior
7284 output appearing once only.
7286 2015-04-07 Pedro Alves <palves@redhat.com>
7288 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
7289 that doesn't expect anything. Return early if running to main
7292 2015-04-07 Yao Qi <yao.qi@linaro.org>
7294 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
7295 (child_function): Call alarm.
7296 (main): Move call to alarm into the loop.
7297 * gdb.threads/non-stop-fair-events.exp: Build program with
7300 2015-04-06 Doug Evans <xdje42@gmail.com>
7302 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
7303 Fix dest parameter to board_info.
7304 (fpc_compile): Ditto.
7305 (gdb_compile_pascal): Rename dest arg to destfile.
7307 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
7309 * gdb.ada/funcall_ref.exp: New file.
7310 * gdb.ada/funcall_ref/foo.adb: New file.
7312 2015-04-02 Yao Qi <yao.qi@linaro.org>
7314 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
7317 2015-04-02 Gary Benson <gbenson@redhat.com>
7319 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
7321 2015-04-01 Sasha Smundak <asmundak@google.com>
7323 * gdb.python/py-unwind-maint.c: New file.
7324 * gdb.python/py-unwind-maint.exp: New test.
7325 * gdb.python/py-unwind-maint.py: New file.
7326 * gdb.python/py-unwind.c: New file.
7327 * gdb.python/py-unwind.exp: New test.
7328 * gdb.python/py-unwind.py: New test.
7330 2015-04-01 Pedro Alves <palves@redhat.com>
7332 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
7333 to fail instead of non-existent $test.
7335 2015-04-01 Pedro Alves <palves@redhat.com>
7337 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
7338 GDBFLAGS if not empty.
7340 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
7342 * gdb.ada/complete.exp: Remove "multi_line".
7343 * gdb.ada/info_exc.exp: Remove "multi_line".
7344 * gdb.ada/packed_tagged.exp: Remove "multi_line".
7345 * gdb.ada/ptype_field.exp: Remove "multi_line".
7346 * gdb.ada/sym_print_name.exp: Remove "multi_line".
7347 * gdb.ada/tagged.exp: Remove "multi_line".
7348 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
7350 * gdb.btrace/delta.exp: Likewise.
7351 * gdb.btrace/exception.exp: Likewise.
7352 * gdb.btrace/function_call_history.exp: Likewise.
7353 * gdb.btrace/instruction_history.exp: Likewise.
7354 * gdb.btrace/nohist.exp: Likewise.
7355 * gdb.btrace/record_goto.exp: Likewise.
7356 * gdb.btrace/segv.exp: Likewise.
7357 * gdb.btrace/stepi.exp: Likewise.
7358 * gdb.btrace/tailcall.exp: Likewise.
7359 * gdb.btrace/unknown_functions.exp: Likewise.
7360 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
7361 * lib/gdb.exp: Add the "multi_line" helper.
7363 2015-04-01 Pedro Alves <palves@redhat.com>
7365 * gdb.threads/tid-reuse.c: New file.
7366 * gdb.threads/tid-reuse.exp: New file.
7368 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
7371 * gdb.base/coredump-filter.c: New file.
7372 * gdb.base/coredump-filter.exp: Likewise.
7374 2015-03-27 Petr Machata <pmachata@redhat.com>
7376 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
7377 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
7378 (Dwarf::assemble): Initialize them.
7379 (Dwarf::lines): New function.
7381 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
7383 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
7384 SYMBOL_PREFIX for x86_64-*-cygwin.
7386 2015-03-26 Andy Wingo <wingo@igalia.com>
7389 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
7390 const_value but not a location.
7391 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
7392 location defined in non-main CUs are visible.
7394 2015-03-26 Yao Qi <yao.qi@linaro.org>
7397 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
7398 Add a line number entry for the same line.
7399 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
7400 Add a line number entry for the same line.
7402 2015-03-26 Yao Qi <yao.qi@linaro.org>
7404 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
7406 (func): Likewise. Add .Lfunc_1 label.
7408 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
7413 2015-03-26 Yao Qi <yao.qi@linaro.org>
7415 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
7416 Call gdb_compile instead to compile each .s files without debug
7419 2015-03-26 Yao Qi <yao.qi@linaro.org>
7421 * gdb.base/savedregs.exp (process_saved_regs): Make
7422 "Saved registers:" optional in the pattern.
7424 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7426 * gdb.btrace/next.exp: Merged into step.exp.
7427 * gdb.btrace/finish.exp: Merged into step.exp.
7428 * gdb.btrace/nexti.exp: Merged into stepi.exp.
7429 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
7430 "record goto" and checking the exact replay position.
7431 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
7432 check for "Recording format" in "info record" output.
7433 * gdb.btrace/record_goto.exp: Choose test file based on target.
7434 * gdb.btrace/x86-record_goto.S: Renamed into ...
7435 * gdb.btrace/x86_64-record_goto.S: ... this.
7436 * gdb.btrace/i686-record_goto.S: New.
7437 * gdb.btrace/x86-tailcall.S: Renamed into ...
7438 * gdb.btrace/x86_64-tailcall.S: ... this.
7439 * gdb.btrace/i686-tailcall.S: New.
7440 * gdb.btrace/x86-tailcall.c: Renamed into ...
7441 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
7442 separate statements. Update test.
7443 * gdb.btrace/delta.exp: Use record_goto.c as test file.
7444 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
7445 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
7446 * gdb.btrace/tailcall.exp: Choose test file based on target.
7447 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
7449 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7451 * gdb.btrace/exception.exp: Increase BTS buffer size.
7453 2015-03-24 Pedro Alves <palves@redhat.com>
7455 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
7457 2015-03-24 Pedro Alves <palves@redhat.com>
7459 * gdb.threads/schedlock.exp (test_step): No longer expect that
7460 "set scheduler-locking step" with "next" over a function call runs
7463 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7465 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
7467 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7469 PR breakpoints/16466
7470 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
7471 * gdb.mi/mi-pending.c (thread_func): New function.
7472 (int main): Add threading support required.
7473 * gdb.mi/mi-pending.exp: Add tests for this issue.
7474 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
7475 (pendfunc2): Remove stdio dependency.
7476 * gdb.mi/mi-pendshr2.c: New file.
7478 2015-03-23 Keith Seitz <keiths@redhat.com>
7480 * gdb.linespec/keywords.c: New file.
7481 * gdb.linespec/keywords.exp: New file.
7483 2015-03-23 Keith Seitz <keiths@redhat.com>
7486 * gdb.dwarf2/staticvirtual.exp: New test.
7488 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7490 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
7491 * README: Remove HP-UX and gdb.hp.
7493 * configure: Regenerate.
7494 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
7495 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
7496 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
7497 gdb.hp/gdb.defects/Makefile.
7498 * gdb.hp/Makefile.in: File deleted.
7499 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
7500 * gdb.hp/gdb.aCC/optimize.c: File deleted.
7501 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
7502 * gdb.hp/gdb.aCC/run.c: File deleted.
7503 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
7504 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
7505 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
7506 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
7507 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
7508 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
7509 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
7510 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
7511 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
7512 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
7513 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
7514 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
7515 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
7516 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
7517 * gdb.hp/gdb.base-hp/reg.s: File deleted.
7518 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
7519 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
7520 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
7521 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
7522 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
7523 * gdb.hp/gdb.compat/Makefile.in: File deleted.
7524 * gdb.hp/gdb.compat/average.c: File deleted.
7525 * gdb.hp/gdb.compat/sum.c: File deleted.
7526 * gdb.hp/gdb.compat/xdb.c: File deleted.
7527 * gdb.hp/gdb.compat/xdb0.c: File deleted.
7528 * gdb.hp/gdb.compat/xdb0.h: File deleted.
7529 * gdb.hp/gdb.compat/xdb1.c: File deleted.
7530 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
7531 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
7532 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
7533 * gdb.hp/gdb.defects/Makefile.in: File deleted.
7534 * gdb.hp/gdb.defects/bs14602.c: File deleted.
7535 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
7536 * gdb.hp/gdb.defects/solib-d.c: File deleted.
7537 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
7538 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
7539 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
7540 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
7541 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
7542 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
7543 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
7544 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
7545 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
7546 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
7547 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
7548 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
7549 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
7550 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
7551 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
7552 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
7553 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
7554 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
7555 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
7556 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
7557 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
7558 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
7559 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
7560 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
7561 * gdb.hp/tools/odump: File deleted.
7563 2015-03-19 Pedro Alves <palves@redhat.com>
7565 * gdb.threads/continue-pending-status.exp (saw_thread_2)
7566 (saw_thread_3): New globals.
7567 (top level): Increment them when an event for the corresponding
7569 (no thread starvation): New test.
7571 2015-03-19 Pedro Alves <palves@redhat.com>
7573 * gdb.threads/continue-pending-status.c: New file.
7574 * gdb.threads/continue-pending-status.exp: New file.
7576 2015-03-18 Pedro Alves <palves@redhat.com>
7578 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7579 Use gdb_is_target_remote instead of is_remote. Use
7580 gdb_test_multiple instead of gdb_expect. Exit early if
7581 gdb_test_multiple hits its internal matches. Tighten stepi tests
7582 expected output. Fail on exit with any signal, instead of just
7585 2015-03-18 Yao Qi <yao.qi@linaro.org>
7588 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
7590 * gdb.base/catch-syscall.exp: Don't skip it on
7591 aarch64*-*-linux* target. Remove elements in all_syscalls.
7592 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
7594 (setup_all_syscalls): New proc.
7596 2015-03-16 Yao Qi <yao.qi@linaro.org>
7598 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
7599 (top level): Skip tests if valid_addr_p returns false for
7602 2015-03-11 Andy Wingo <wingo@igalia.com>
7604 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
7606 2015-03-11 Yao Qi <yao.qi@linaro.org>
7608 * gdb.base/catch-syscall.exp: Fix typo in comments.
7610 2015-03-11 Yao Qi <yao.qi@linaro.org>
7612 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
7614 2015-03-09 Pedro Alves <palves@redhat.com>
7616 * dg-extract-results.py: Delete.
7618 2015-03-09 Pedro Alves <palves@redhat.com>
7620 Merge dg-extract-results.sh from GCC upstream (r218843).
7622 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
7623 * dg-extract-results.sh: Use --text with grep to avoid issues with
7624 binary files. Fall back to cat -v, if that doesn't work.
7626 2015-03-05 Pedro Alves <palves@redhat.com>
7628 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
7630 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
7632 * lib/mi-support.exp (mi_expect_interrupt): Accept
7633 alternative event for when in all-stop mode.
7635 2015-03-04 Pedro Alves <palves@redhat.com>
7637 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
7639 2015-03-04 Mark Kettenis <kettenis@gnu.org>
7641 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
7643 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7645 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
7646 regexps for GDB's current line display, accept a hex address
7647 preceding the line number.
7649 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7651 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
7652 the 'arch1' variable for "s390*-linux*" targets.
7654 2015-03-04 Pedro Alves <palves@redhat.com>
7656 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
7657 (main): Pass missing retval argument to pthread_join call.
7659 2015-03-02 Pedro Alves <palves@redhat.com>
7661 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
7662 (top level): Call do_test with non-stop as well.
7664 2015-03-02 Pedro Alves <palves@redhat.com>
7666 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
7669 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7671 * gdb.arch/s390-vregs.exp: New test.
7672 * gdb.arch/s390-vregs.S: New file.
7674 2015-02-27 Pedro Alves <palves@redhat.com>
7676 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
7677 call to catch_command_errors.
7678 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
7679 catch_command_errors.
7681 2015-02-27 Pedro Alves <palves@redhat.com>
7683 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
7684 "true" for boolean result.
7685 * gdb.gdb/selftest.exp (test_with_self): Also accept full
7688 2015-02-27 Pedro Alves <palves@redhat.com>
7690 * lib/unbuffer_output.c: New file.
7691 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
7692 (main): Call gdb_unbuffer_output.
7694 2015-02-27 Yao Qi <yao.qi@linaro.org>
7696 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
7699 2015-02-26 Doug Evans <dje@google.com>
7701 * gdb.cp/class2.cc (Dbase, D): New classes.
7702 (main): New local delta.
7703 * gdb.cp/class2.exp: Test printing delta.
7704 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
7705 (dynbar): New global.
7706 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
7708 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7710 * gdb.compile/compile-ifunc.c: New file.
7711 * gdb.compile/compile-ifunc.exp: New file.
7713 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
7715 * gdb.base/structs.exp: Check for correct struct on finish.
7717 2015-02-26 Yao Qi <yao.qi@linaro.org>
7719 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
7722 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7724 * gdb.arch/cordic.ko.bz2: New file.
7725 * gdb.arch/cordic.ko.debug.bz2: New file.
7726 * gdb.arch/ppc64-symtab-cordic.exp: New file.
7728 2015-02-25 Yao Qi <yao.qi@linaro.org>
7730 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
7731 aarch64*-*-* target.
7733 2015-02-23 Pedro Alves <palves@redhat.com>
7735 * lib/gdb.exp (delete_breakpoints): Rewrite using
7738 2015-02-23 Pedro Alves <palves@redhat.com>
7740 * gdb.base/info-os.c: Include stdlib.h.
7742 2015-02-22 Doug Evans <xdje42@gmail.com>
7745 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
7746 is read after symbols have been re-read.
7747 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
7748 * gdb.ada/exec_changed/second.adb (Second): Ditto.
7750 2015-02-21 Doug Evans <dje@google.com>
7752 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
7754 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7757 * gdb.arch/i386-biarch-core.core.bz2: New file.
7758 * gdb.arch/i386-biarch-core.exp: New file.
7760 2015-02-21 Pedro Alves <palves@redhat.com>
7762 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
7765 2015-02-20 Pedro Alves <palves@redhat.com>
7767 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
7770 2015-02-20 Pedro Alves <palves@redhat.com>
7772 * gdb.threads/multi-create-ns-info-thr.exp: New file.
7774 2015-02-20 Pedro Alves <palves@redhat.com>
7776 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
7777 clean_restart before gdb_target_supports_trace.
7779 2015-02-20 Pedro Alves <palves@redhat.com>
7782 * gdb.threads/clone-thread_db.c: New file.
7783 * gdb.threads/clone-thread_db.exp: New file.
7785 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
7787 PR breakpoints/16812
7788 * gdb.base/catch-gdb-caused-signals.c: New file.
7789 * gdb.base/catch-gdb-caused-signals.exp: New file.
7791 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
7793 * configure: Regenerated.
7794 * configure.ac: Use GDB_AC_TRANSFORM.
7795 * aclocal.m4: sinclude ../transform.m4.
7797 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7799 * lib/dtrace.exp: New file.
7800 * gdb.base/dtrace-probe.exp: Likewise.
7801 * gdb.base/dtrace-probe.d: Likewise.
7802 * gdb.base/dtrace-probe.c: Likewise.
7803 * lib/pdtrace.in: Likewise.
7804 * configure.ac: Output variables with the transformed names of
7805 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7806 * configure: Regenerated.
7808 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7810 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7811 expected message when trying to access $_probe_* convenience
7812 variables while not on a probe.
7814 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7816 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7818 2015-02-11 Pedro Alves <pedro@codesourcery.com>
7820 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7821 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7823 2015-02-10 Doug Evans <xdje42@gmail.com>
7825 * lib/gdb.exp (gdb_load): Always return a result.
7827 2015-02-10 Pedro Alves <palves@redhat.com>
7829 * gdb.threads/signal-sigtrap.c: New file.
7830 * gdb.threads/signal-sigtrap.exp: New file.
7832 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7834 * gdb.trace/no-attach-trace.c: New file.
7835 * gdb.trace/no-attach-trace.exp: New file.
7837 2015-02-09 Mark Wielaard <mjw@redhat.com>
7839 * gdb.dwarf2/atomic.c: New file.
7840 * gdb.dwarf2/atomic-type.exp: Likewise.
7842 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7844 * gdb.btrace/buffer-size.exp: Update "info record" output.
7845 * gdb.btrace/delta.exp: Update "info record" output.
7846 * gdb.btrace/enable.exp: Update "info record" output.
7847 * gdb.btrace/finish.exp: Update "info record" output.
7848 * gdb.btrace/instruction_history.exp: Update "info record" output.
7849 * gdb.btrace/next.exp: Update "info record" output.
7850 * gdb.btrace/nexti.exp: Update "info record" output.
7851 * gdb.btrace/step.exp: Update "info record" output.
7852 * gdb.btrace/stepi.exp: Update "info record" output.
7853 * gdb.btrace/nohist.exp: Update "info record" output.
7855 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7857 * gdb.btrace/buffer-size: New.
7859 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7861 * gdb.btrace/delta.exp: Update "info record" output.
7862 * gdb.btrace/enable.exp: Update "info record" output.
7863 * gdb.btrace/finish.exp: Update "info record" output.
7864 * gdb.btrace/instruction_history.exp: Update "info record" output.
7865 * gdb.btrace/next.exp: Update "info record" output.
7866 * gdb.btrace/nexti.exp: Update "info record" output.
7867 * gdb.btrace/step.exp: Update "info record" output.
7868 * gdb.btrace/stepi.exp: Update "info record" output.
7869 * gdb.btrace/nohist.exp: Update "info record" output.
7871 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7874 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7876 2015-02-06 Pedro Alves <palves@redhat.com>
7878 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7880 (seconds_left, again): New globals.
7881 (main): Wait seconds_left in a 1-second sleep loop instead of
7882 sleeping 180 seconds. If 'again' is set, reset the seconds
7884 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7885 'again' in the inferior before detaching. Print the seconds left.
7886 (options): New global.
7887 (top level): Build program with -DTIMEOUT=$timeout.
7889 2015-02-06 Pedro Alves <palves@redhat.com>
7891 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
7892 determine how many seconds to pass to 'alarm'.
7893 * gdb.base/gdb-sigterm.exp (top level): Build program with
7895 (do_test): Return success/failure indication. Add more verbose
7896 logging. Don't fail if 200 single steps are seen. Instead, fail
7897 when the test times out.
7898 (passes): New global.
7899 (top level): Break the testing loop if testing fails on any
7900 iteration. Use gdb_assert.
7902 2015-02-04 Don Breazeal <donb@codesourcery.com>
7904 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
7905 and initialize them.
7906 (ipc_cleanup): New function.
7907 (main): Don't declare shmid, semid, and msqid. Add a call to
7908 atexit so that we call ipc_cleanup on exit.
7910 2015-02-04 Pedro Alves <palves@redhat.com>
7912 * boards/native-extended-gdbserver.exp: Remove any target variant
7913 specifications from the board name before clearing the isremote
7914 flag from board_info.
7916 2015-01-31 Doug Evans <xdje42@gmail.com>
7918 * gdb.base/maint.exp <maint print type argc>: Update expected output.
7920 2015-01-31 Gary Benson <gbenson@redhat.com>
7922 * gdb.base/completion.exp: Disable completion limiting for
7923 existing tests. Add new tests to check completion limiting.
7924 * gdb.linespec/ls-errs.exp: Disable completion limiting.
7926 2015-01-31 Doug Evans <xdje42@gmail.com>
7928 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
7930 2015-01-31 Doug Evans <xdje42@gmail.com>
7932 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
7933 entries. Duplicate file section script entries.
7934 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
7935 inlined entries. Add test for safe-path rejection.
7936 * gdb.python/py-section-script.c: Add duplicate inlined section script
7937 entries. Duplicate file section script entries.
7938 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
7939 inlined entries. Add test for safe-path rejection.
7941 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7943 * gdb.ada/disc_arr_bound: New testcase.
7945 2015-01-29 Joel Brobecker <brobecker@adacore.com>
7947 * gdb.ada/mi_var_array: New testcase.
7949 2015-01-27 Doug Evans <dje@google.com>
7951 * gdb.python/py-objfile.exp: Add tests for objfile.username.
7952 Add test for objfile.filename, objfile.username after objfile
7955 2015-01-26 Joel Brobecker <brobecker@adacore.com>
7957 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
7958 the second test to print the name attribute of value
7959 returned by the call to gdb.lookup_type, and adjust
7960 the expected output accordingly.
7962 2015-01-25 Mark Wielaard <mjw@redhat.com>
7964 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
7965 * gdb.base/disp-step-fork.c: Include unistd.h.
7966 * gdb.base/siginfo-obj.c: Include stdio.h.
7967 * gdb.base/siginfo-thread.c: Likewise.
7968 * gdb.mi/non-stop.c: Include unistd.h.
7969 * gdb.mi/nsthrexec.c: Include stdio.h.
7970 * gdb.mi/pthreads.c: Include unistd.h.
7971 * gdb.modula2/unbounded1.c (main): Declare returns int.
7972 * gdb.reverse/consecutive-reverse.c: Likewise.
7973 * gdb.threads/create-fail.c: Include unistd.h.
7974 * gdb.threads/killed.c: Likewise.
7975 * gdb.threads/linux-dp.c: Likewise.
7976 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
7977 * gdb.threads/non-ldr-exc-2.c: Likewise.
7978 * gdb.threads/non-ldr-exc-3.c: Likewise.
7979 * gdb.threads/non-ldr-exc-4.c: Likewise.
7980 * gdb.threads/pthreads.c: Include unistd.h.
7981 (main): Declare returns int.
7982 * gdb.threads/tls-main.c (foo): New declaration.
7983 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
7985 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
7987 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
7988 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
7990 2015-01-15 Mark Wielaard <mjw@redhat.com>
7992 * gdb.base/noreturn-return.c: New file.
7993 * gdb.base/noreturn-return.exp: New file.
7994 * gdb.base/noreturn-finish.c: New file.
7995 * gdb.base/noreturn-finish.exp: New file.
7997 2015-01-23 Pedro Alves <palves@redhat.com>
7999 * gdb.threads/continue-pending-after-query.c: New file.
8000 * gdb.threads/continue-pending-after-query.exp: New file.
8002 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
8003 Simon Marchi <simon.marchi@ericsson.com>
8005 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
8006 * gdb.base/valgrind-db-attach.exp: Same.
8007 * gdb.base/valgrind-infcall.exp: Same.
8008 * lib/mi-support.exp (default_mi_gdb_start): Same.
8009 * lib/prompt.exp (default_prompt_gdb_start): Same.
8010 * lib/gdb.exp (default_gdb_spawn): Same.
8011 (gdb_interact): New.
8014 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8016 * gdb.compile/compile.exp (pointer to jit function): New test.
8018 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
8020 * lib/gdb.exp (supports_process_record): Return true for
8022 (supports_reverse): Likewise.
8024 2015-01-15 Don Breazeal <donb@codesourcery.com>
8026 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
8027 instead of checking whether the target board is remote and
8028 use spawn_wait_for_attach instead of exec/sleep.
8029 * gdb.base/attach-twice.exp: Likewise.
8031 2015-01-15 Joel Brobecker <brobecker@adacore.com>
8033 * gdb.ada/var_arr_attrs: New testcase.
8035 2015-01-14 Pedro Alves <palves@redhat.com>
8036 Joel Brobecker <brobecker@adacore.com>
8039 * gdb.base/bp-cmds-execution-x-script.c: New file.
8040 * gdb.base/bp-cmds-execution-x-script.exp: New file.
8041 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
8043 2015-01-14 Pedro Alves <palves@redhat.com>
8046 * gdb.base/batch-preserve-term-settings.c: New file.
8047 * gdb.base/batch-preserve-term-settings.exp: New file.
8049 2015-01-13 Doug Evans <dje@google.com>
8051 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
8054 2015-01-13 Joel Brobecker <brobecker@adacore.com>
8056 * Makefile.in (clean mostlyclean): Do not delete *.py.
8058 2015-01-13 Joel Brobecker <brobecker@adacore.com>
8060 * gdb.python/py-lookup-type.exp: New file.
8062 2015-01-12 Pedro Alves <palves@redhat.com>
8064 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
8065 restore GDBFLAGS before returning.
8067 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8069 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
8070 is_amd64_regs_target and is_x86_like_target.
8072 2015-01-11 Doug Evans <xdje42@gmail.com>
8074 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
8075 is given without an explicit form.
8076 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
8078 * gdb.dwarf/corrupt.exp: Ditto.
8079 * gdb.dwarf2/enum-type.exp: Ditto.
8080 * gdb.trace/entry-values.exp: Ditto.
8081 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
8083 2015-01-11 Doug Evans <xdje42@gmail.com>
8086 * gdb.base/maint.exp: Remove references to "maint demangle".
8087 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
8088 Add tests for explicitly specifying language to demangle.
8089 * gdb.dlang/demangle.exp: Ditto.
8091 2015-01-09 Pedro Alves <palves@redhat.com>
8093 * gdb.threads/non-stop-fair-events.c: New file.
8094 * gdb.threads/non-stop-fair-events.exp: New file.
8096 2015-01-09 Pedro Alves <palves@redhat.com>
8098 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
8099 the global scope. Set a breakpoint after all threads are started
8100 rather than stepping over two source lines. Expect the prompt.
8101 * gdb.base/watch_thread_num.c (threads_started_barrier): New
8104 (main): Use threads_started_barrier to wait for all threads to
8105 start. Main thread no longer calls thread_function. Exit after
8107 (loop): New function.
8108 (thread_function): Wait on threads_started_barrier barrier. Call
8109 'loop' at each iteration.
8110 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
8111 threads have started, instead of hardcoding number of "next"
8112 steps. Use an access watchpoint instead of a write watchpoint.
8114 2015-01-09 Pedro Alves <palves@redhat.com>
8116 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
8117 (thread_func): Wait on barrier.
8118 (main): Wait for all threads to start before stopping GDB.
8119 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
8121 (thread1_func, thread2_func): Wait on barrier.
8122 (main): Wait for all threads to start before stopping GDB.
8123 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
8125 (thread1_func, thread2_func): Wait on barrier.
8126 (main): Wait for all threads to start before stopping GDB.
8128 2015-01-09 Pedro Alves <palves@redhat.com>
8130 * gdb.threads/attach-many-short-lived-threads.c: New file.
8131 * gdb.threads/attach-many-short-lived-threads.exp: New file.
8133 2014-01-09 Pedro Alves <palves@redhat.com>
8135 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
8136 instead of to thread 2.
8137 * gdb.threads/signal-command-multiple-signals-pending.c (main):
8138 Add barrier around each pthread_create call instead of around all
8140 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
8141 Set a break on thread_function and have the child threads hit it
8144 2015-01-09 Pedro Alves <palves@redhat.com>
8146 * lib/gdb.exp (can_spawn_for_attach): New procedure.
8147 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
8149 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
8150 checking whether the target board is remote.
8151 * gdb.multi/multi-attach.exp: Likewise.
8152 * gdb.python/py-sync-interp.exp: Likewise.
8153 * gdb.server/ext-attach.exp: Likewise.
8154 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
8155 tests that need to attach, instead of checking whether the target
8156 board is remote at the top of the file.
8158 2015-01-08 Yao Qi <yao@codesourcery.com>
8160 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
8162 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8164 Fix testcase compilation.
8165 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
8167 2015-01-06 Joel Brobecker <brobecker@adacore.com>
8169 * gdb.python/py-type.exp: Add a couple test about empty
8170 array creation, and negative-length array creation.
8172 2015-01-02 Doug Evans <xdje42@gmail.com>
8174 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
8176 2015-01-02 Doug Evans <dje@google.com>
8178 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
8180 2014-12-29 Yao Qi <yao@codesourcery.com>
8182 * gdb.trace/entry-values.exp: Update comments. Rename variable
8183 bar_call_foo to returned_from_foo.
8185 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
8188 * gdb.linespec/break-asm-file.c: New file.
8189 * gdb.linespec/break-asm-file.exp: New file.
8190 * gdb.linespec/break-asm-file0.s: New file.
8191 * gdb.linespec/break-asm-file1.s: New file.
8193 2014-12-18 Nigel Stephens <nigel@mips.com>
8194 Maciej W. Rozycki <macro@codesourcery.com>
8196 * gdb.base/float.exp: Handle the new output from "info float" on
8199 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8201 Fix MinGW compilation.
8202 * gdb.compile/compile-ops.exp: Update untested message if
8203 !skip_compile_feature_tests.
8204 * gdb.compile/compile-setjmp.exp: Likewise.
8205 * gdb.compile/compile-tls.exp: Likewise.
8206 * gdb.compile/compile.exp: Likewise.
8207 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
8208 supported on this host".
8210 2014-12-16 Doug Evans <xdje42@gmail.com>
8212 * boards/stabs.exp: New file.
8214 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
8216 * gdb.base/completion.exp: Adjust to format changes of "maint
8217 print user-registers".
8219 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
8222 * gdb.arch/aarch64-fp.c: New file.
8223 * gdb.arch/aarch64-fp.exp: New file.
8225 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8227 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
8228 r210637, r210913, r211666, r215400, r215817).
8230 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
8231 * dg-extract-results.py: New file.
8232 * dg-extract-results.sh: Use it if the environment seems
8235 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
8237 * dg-extract-results.py (parse_run): Handle warnings that
8238 are printed before a test harness is run.
8240 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
8242 * dg-extract-results.py (Named): Remove __cmp__ method.
8243 (output_variation): Use a key to sort variation.harnesses.
8245 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
8247 * dg-extract-results.py: For Python 3, force sys.stdout to
8248 handle surrogate escape sequences.
8249 (safe_open): New function.
8250 (output_segment, main): Use it.
8252 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
8254 * dg-extract-results.py (Prog.result_re): Include options
8257 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
8259 * dg-extract-results.py (output_variation): Always sort if
8262 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
8264 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
8265 as long as we get pagination notifications.
8267 2014-12-15 Jason Merrill <jason@redhat.com>
8269 * Makefile.in (check-gdb.%): Restore.
8270 * README: Mention it.
8272 2014-12-13 Joel Brobecker <brobecker@adacore.com>
8274 * gdb.ada/str_uninit: New testcase.
8276 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8279 * gdb.base/vla-stub-define.c: New file.
8280 * gdb.base/vla-stub.c: New file.
8281 * gdb.base/vla-stub.exp: New file.
8283 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
8284 Jan Kratochvil <jan.kratochvil@redhat.com>
8285 Tom Tromey <tromey@redhat.com>
8287 * configure.ac: Add gdb.compile/.
8288 * configure: Regenerate.
8289 * gdb.compile/Makefile.in: New file.
8290 * gdb.compile/compile-ops.exp: New file.
8291 * gdb.compile/compile-ops.c: New file.
8292 * gdb.compile/compile-tls.c: New file.
8293 * gdb.compile/compile-tls.exp: New file.
8294 * gdb.compile/compile-constvar.S: New file.
8295 * gdb.compile/compile-constvar.c: New file.
8296 * gdb.compile/compile-mod.c: New file.
8297 * gdb.compile/compile-nodebug.c: New file.
8298 * gdb.compile/compile-setjmp-mod.c: New file.
8299 * gdb.compile/compile-setjmp.c: New file.
8300 * gdb.compile/compile-setjmp.exp: New file.
8301 * gdb.compile/compile-shlib.c: New file.
8302 * gdb.compile/compile.c: New file.
8303 * gdb.compile/compile.exp: New file.
8304 * lib/gdb.exp (skip_compile_feature_tests): New proc.
8306 2014-12-12 Tom Tromey <tromey@redhat.com>
8308 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
8309 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
8311 2014-12-12 Doug Evans <dje@google.com>
8313 * lib/gdb-python.exp (get_python_valueof): New function.
8314 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
8316 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8318 * gdb.base/completion.exp: Add test for completion of "info
8321 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
8323 * gdb.base/func-ptrs.c: New file.
8324 * gdb.base/func-ptrs.exp: New file.
8326 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8328 PR breakpoints/17012
8329 * gdb.base/dprintf-detach.c: New file.
8330 * gdb.base/dprintf-detach.exp: New file.
8332 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8334 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
8335 * lib/gdb.exp (target_is_gdbserver): New procedure.
8337 2014-12-08 Doug Evans <dje@google.com>
8339 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
8341 2014-12-05 Yao Qi <yao@codesourcery.com>
8343 * gdb.guile/scm-error.exp: Remove the third argument to
8344 gdb_remote_download.
8345 * gdb.guile/scm-frame-args.exp: Likewise.
8346 * gdb.guile/scm-section-script.exp: Likewise.
8348 2014-12-05 Yao Qi <yao@codesourcery.com>
8350 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
8352 2014-12-04 Doug Evans <dje@google.com>
8354 * gdb.python/py-objfile.exp: Add tests for
8355 objfile.add_separate_debug_file.
8357 2014-12-04 Doug Evans <dje@google.com>
8359 * lib/gdb.exp (get_build_id): New function.
8360 (build_id_debug_filename_get): Rewrite to use it.
8361 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
8363 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
8365 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
8366 `method(long)', not just 0x0.
8367 * gdb.cp/nsalias.exp: Align code labels to 4.
8368 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
8369 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
8370 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
8371 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
8372 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
8373 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
8375 2014-12-02 Doug Evans <dje@google.com>
8378 * gdb.cp/anon-ns.cc: Move guts of this file to ...
8379 * gdb.cp/anon-ns2.cc: ... here. New file.
8380 * gdb.cp/anon-ns.exp: Update.
8382 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
8384 * gdb.python/py-events.py (inferior_call_handler): New.
8385 (register_changed_handler, memory_changed_handler): New.
8386 (test_events.invoke): Register new handlers.
8387 * gdb.python/py-events.exp: Add tests for inferior call,
8388 memory_changed and register_changed events.
8390 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
8392 * gdb.base/execl-update-breakpoints.exp: Specify the link address
8393 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
8394 if the linker doesn't understand this.
8396 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
8398 * gdb.python/python.exp: Change expected reply to help().
8400 2014-12-01 Yao Qi <yao@codesourcery.com>
8402 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
8403 AC_CONFIG_SUBDIRS(gdb.gdbtk).
8404 * configure: Re-generated.
8406 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
8408 * gdb.cp/chained-calls.cc: New file.
8409 * gdb.cp/chained-calls.exp: New file.
8410 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
8412 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
8414 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
8415 * gdb.dwarf2/symtab-producer.exp: Same.
8416 * gdb.gdb/python-interrupts.exp: Same.
8417 * gdb.gdb/python-selftest.exp: Same.
8418 * gdb.python/py-linetable.exp: Same.
8419 * gdb.python/py-type.exp: Same.
8420 * gdb.python/py-value-cc.exp: Same.
8421 * gdb.python/py-value.exp: Same.
8423 2014-11-28 Yao Qi <yao@codesourcery.com>
8425 * gdb.base/break-probes.exp: Match library name prefixed with
8428 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
8430 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
8431 test expected output. Add parentheses for the call to print.
8432 Remove L suffix from integers.
8434 2014-11-26 Doug Evans <dje@google.com>
8436 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
8438 2014-11-22 Yao Qi <yao@codesourcery.com>
8440 * gdb.trace/entry-values.c: Remove asms.
8441 (foo): Add foo_label.
8442 (bar): Add bar_label.
8443 * gdb.trace/entry-values.exp: Remove code computing foo's
8444 length and bar's length.
8445 (Dwarf::assemble): Invoke function_range for bar and use
8446 MACRO_AT_func for foo.
8448 2014-11-22 Yao Qi <yao@codesourcery.com>
8450 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
8451 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
8452 Use .Lgcc43_procstart instead of gcc43.
8454 2014-11-21 Joel Brobecker <brobecker@adacore.com>
8456 * gdb.ada/n_arr_bound: New testcase.
8458 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
8460 PR breakpoints/10737
8461 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
8462 test_catch_syscall_multi_arch.
8463 (test_catch_syscall_multi_arch): New function.
8465 2014-11-20 Doug Evans <xdje42@gmail.com>
8467 * gdb.base/maint.exp: Update expected output.
8469 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8471 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
8472 4-byte instruction on S390.
8474 2014-11-19 Joel Brobecker <brobecker@adacore.com>
8476 * gdb.ada/arr_arr: New testcase.
8478 2014-11-19 Joel Brobecker <brobecker@adacore.com>
8480 * gdb.ada/pkd_arr_elem: New Testcase.
8482 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
8484 * gdb.reverse/break-precsave: Expect completion message for
8486 * gdb.reverse/consecutive-precsave.exp: Likewise.
8487 * gdb.reverse/finish-precsave.exp: Likewise.
8488 * gdb.reverse/i386-precsave.exp: Likewise.
8489 * gdb.reverse/machinestate-precsave.exp: Likewise.
8490 * gdb.reverse/sigall-precsave.exp: Likewise.
8491 * gdb.reverse/solib-precsave.exp: Likewise.
8492 * gdb.reverse/step-precsave.exp: Likewise.
8493 * gdb.reverse/until-precsave.exp: Likewise.
8494 * gdb.reverse/watch-precsave.exp: Likewise.
8496 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8498 * gdb.base/bp-permanent.c: Include unistd.h.
8499 * gdb.python/py-framefilter-mi.c (main): Add return type.
8500 * gdb.python/py-framefilter.c (main): Likewise.
8501 * gdb.trace/actions-changed.c (main): Likewise.
8503 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8505 * gdb.mi/until.c: Add eye-catchers.
8506 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
8509 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8511 * gdb.base/condbreak.exp: Drop references to removed non-prototype
8512 function header variants in break1.c.
8513 * gdb.base/ena-dis-br.exp: Likewise.
8514 * gdb.base/hbreak2.exp: Likewise.
8515 * gdb.reverse/until-precsave.exp: Drop references to removed
8516 non-prototype function header variants in ur1.c.
8517 * gdb.reverse/until-reverse.exp: Likewise.
8519 2014-11-17 Petr Machata <pmachata@redhat.com>
8521 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
8522 ${_cu_offset_size} bytes abbrev offset.
8524 2014-11-15 Doug Evans <xdje42@gmail.com>
8527 * gdb.base/line-symtabs.exp: New file.
8528 * gdb.base/line-symtabs.c: New file.
8529 * gdb.base/line-symtabs.h: New file.
8531 2014-11-14 Yao Qi <yao@codesourcery.com>
8533 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
8534 (func): Add label func_label.
8535 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
8536 Replace low_pc and high_pc with MACRO_AT_range.
8537 Replace name, low_pc and high_pc with MACRO_AT_func.
8539 2014-11-14 Yao Qi <yao@codesourcery.com>
8541 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
8542 Replace name, low_pc and high_pc with MACRO_AT_func.
8544 2014-11-14 Yao Qi <yao@codesourcery.com>
8546 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
8547 produce debug information.
8548 * gdb.dwarf2/implptr-optimized-out.S: Removed.
8550 2014-11-14 Yao Qi <yao@codesourcery.com>
8552 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
8553 object and get function length.
8554 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
8556 (top-level): Replace gdb_compile and clean_restart with
8557 prepare_for_testing.
8558 * gdb.dwarf2/main.c (main): Add label main_label.
8560 2014-11-14 Yao Qi <yao@codesourcery.com>
8562 * lib/dwarf.exp (function_range): New procedure.
8563 (Dwarf::_handle_macro_at_func): New procedure.
8564 (Dwarf::_handle_macro_at_range): New procedure.
8565 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
8567 2014-11-14 Yao Qi <yao@codesourcery.com>
8569 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
8570 (_handle_attribute): New procedure.
8572 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8574 * gdb.ada/cond_lang/foo.c (callme): Add return type.
8575 * gdb.base/call-sc.c (zed): Likewise.
8576 * gdb.base/checkpoint.c (main): Likewise.
8577 * gdb.base/dump.c (main): Likewise.
8578 * gdb.base/gcore.c (main): Likewise.
8579 * gdb.base/huge.c (main): Likewise.
8580 * gdb.base/multi-forks.c (main): Likewise.
8581 * gdb.base/pr10179-a.c (main): Likewise.
8582 * gdb.base/savedregs.c (main): Likewise.
8583 * gdb.base/sigaltstack.c (main): Likewise.
8584 * gdb.base/siginfo.c (main): Likewise.
8585 * gdb.base/structs.c (zed): Likewise.
8586 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
8587 * gdb.mi/mi-syn-frame.c (main): Likewise.
8588 * gdb.mi/until.c (foo, main): Likewise.
8589 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
8590 * gdb.base/solib-weak.c (foo): Declare.
8591 * gdb.base/attach-twice.c: Include stdio.h.
8592 * gdb.base/weaklib1.c: Likewise.
8593 * gdb.base/weaklib2.c: Likewise.
8594 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
8595 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
8597 * gdb.base/attach-pie-misread.c: Include stdlib.h.
8598 * gdb.mi/mi-exit-code.c: Likewise.
8599 * gdb.base/break-interp-lib.c: Include string.h.
8600 * gdb.base/coremaker.c: Likewise.
8601 * gdb.base/testenv.c: Likewise.
8602 * gdb.python/py-finish-breakpoint.c: Likewise.
8603 * gdb.base/inferior-died.c: Include sys/wait.h.
8604 * gdb.base/fileio.c: Include time.h.
8605 * gdb.base/async-shell.c: Include unistd.h.
8606 * gdb.base/dprintf-non-stop.c: Likewise.
8607 * gdb.base/info-os.c: Likewise.
8608 * gdb.mi/mi-console.c: Likewise.
8609 * gdb.mi/watch-nonstop.c: Likewise.
8610 * gdb.python/py-events.c: Likewise.
8611 * gdb.base/async.c (baz): Move up before its invocation.
8612 * gdb.base/code_elim2.c (my_global_func): Likewise.
8613 * gdb.base/skip-solib-lib.c (multiply): Likewise.
8614 * gdb.base/advance.c (func2): Likewise.
8616 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8618 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
8620 * gdb.base/annota3.c: Likewise.
8621 * gdb.base/async.c: Likewise.
8622 * gdb.base/average.c: Likewise.
8623 * gdb.base/call-ar-st.c: Likewise.
8624 * gdb.base/call-rt-st.c: Likewise.
8625 * gdb.base/call-sc.c: Likewise.
8626 * gdb.base/call-strs.c: Likewise.
8627 * gdb.base/ending-run.c: Likewise.
8628 * gdb.base/execd-prog.c: Likewise.
8629 * gdb.base/exprs.c: Likewise.
8630 * gdb.base/foll-exec.c: Likewise.
8631 * gdb.base/foll-fork.c: Likewise.
8632 * gdb.base/foll-vfork.c: Likewise.
8633 * gdb.base/funcargs.c: Likewise.
8634 * gdb.base/gcore.c: Likewise.
8635 * gdb.base/jump.c: Likewise.
8636 * gdb.base/langs0.c: Likewise.
8637 * gdb.base/langs1.c: Likewise.
8638 * gdb.base/langs2.c: Likewise.
8639 * gdb.base/mips_pro.c: Likewise.
8640 * gdb.base/nodebug.c: Likewise.
8641 * gdb.base/opaque0.c: Likewise.
8642 * gdb.base/opaque1.c: Likewise.
8643 * gdb.base/recurse.c: Likewise.
8644 * gdb.base/run.c: Likewise.
8645 * gdb.base/scope0.c: Likewise.
8646 * gdb.base/scope1.c: Likewise.
8647 * gdb.base/setshow.c: Likewise.
8648 * gdb.base/setvar.c: Likewise.
8649 * gdb.base/shmain.c: Likewise.
8650 * gdb.base/shr1.c: Likewise.
8651 * gdb.base/shr2.c: Likewise.
8652 * gdb.base/sigall.c: Likewise.
8653 * gdb.base/signals.c: Likewise.
8654 * gdb.base/so-indr-cl.c: Likewise.
8655 * gdb.base/solib2.c: Likewise.
8656 * gdb.base/structs.c: Likewise.
8657 * gdb.base/sum.c: Likewise.
8658 * gdb.base/vforked-prog.c: Likewise.
8659 * gdb.base/watchpoint.c: Likewise.
8660 * gdb.reverse/shr2.c: Likewise.
8661 * gdb.reverse/until-reverse.c: Likewise.
8662 * gdb.reverse/ur1.c: Likewise.
8663 * gdb.reverse/watch-reverse.c: Likewise.
8665 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8667 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
8669 * gdb.base/sepdebug.exp: Drop references to removed code.
8671 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8673 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
8674 variant. Preserve original line numbering.
8675 * gdb.base/list1.c: Likewise.
8677 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8679 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
8681 * gdb.base/break1.c: Likewise.
8682 * gdb.base/break.exp: Drop references to removed code.
8684 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8686 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
8689 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8691 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
8693 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8695 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
8696 logic into perform_all_tests() and invoke it with and without
8697 function header prototypes.
8698 (do_function_calls): Remove conditional XFAIL for PR 5318.
8699 (rerun_and_prepare): Remove duplicate code.
8700 (perform_all_tests): New. Main logic moved here.
8702 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8704 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
8705 code guarded by #ifdef NO_PROTOTYPES.
8706 (t_double_many_args): Likewise.
8707 (DEF_FUNC_MANY_ARGS_1): Likewise.
8708 (DEF_FUNC_VALUES_1): Likewise.
8709 (t_structs_ldc): Renamed from t_structs_fc in conditional code
8710 guarded by #ifdef PROTOTYPES.
8712 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8714 * gdb.mi/mi-console.c: Add eye-catcher.
8715 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
8716 instead of literal line number.
8718 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8720 * gdb.base/shr2.c: Add eye-catcher.
8721 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
8724 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8726 * gdb.base/jump.c: Add eye-catchers.
8727 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
8730 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8732 * gdb.base/execd-prog.c: Add eye-catchers.
8733 * gdb.base/foll-exec.c: Likewise.
8734 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
8737 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8739 * gdb.base/ending-run.c: Add eye-catchers.
8740 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
8741 literal line numbers.
8743 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8745 * gdb.base/call-rt-st.c: Add eye-catchers.
8746 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
8747 literal line numbers.
8749 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8751 * gdb.base/call-ar-st.c: Add eye-catchers.
8752 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
8753 literal line numbers.
8755 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8757 * gdb.base/average.c: Add eye-catchers.
8758 * gdb.base/sum.c: Likewise.
8759 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
8760 regexps dynamically.
8762 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8764 * gdb.base/solib1.c: Add eye-catchers.
8765 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
8766 literal line numbers.
8768 2014-11-12 Pedro Alves <palves@redhat.com>
8770 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
8773 2014-11-12 Pedro Alves <palves@redhat.com>
8775 * gdb.arch/i386-bp_permanent.c: New file.
8776 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
8777 (srcfile): Set to i386-bp_permanent.c.
8778 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
8779 that stepi does not execute the 'leave' instruction, instead of
8780 testing it does execute.
8781 * gdb.base/bp-permanent.c: New file.
8782 * gdb.base/bp-permanent.exp: New file.
8784 2014-11-10 Doug Evans <xdje42@gmail.com>
8787 * gdb.base/symtab-search-order.exp: New file.
8788 * gdb.base/symtab-search-order.c: New file.
8789 * gdb.base/symtab-search-order-1.c: New file.
8790 * gdb.base/symtab-search-order-shlib-1.c: New file.
8792 2014-11-07 Pedro Alves <palves@redhat.com>
8795 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8798 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8801 * gdb.cp/pr17494.cc: New file.
8802 * gdb.cp/pr17494.exp: New file.
8804 2014-11-02 Yao Qi <yao@codesourcery.com>
8806 * gdb.python/python.exp: Get working directory and match the
8807 output of "set extended-prompt \\w " with it.
8809 2014-10-30 Doug Evans <dje@google.com>
8811 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8813 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8816 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
8818 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8819 * gdb.base/realname-expand.exp: Likewise.
8820 * gdb.linespec/macro-relative.exp: Likewise.
8822 2014-10-29 Pedro Alves <palves@redhat.com>
8825 * gdb.threads/schedlock.c (some_function): New function.
8826 (call_function): New global.
8827 (MAYBE_CALL_SOME_FUNCTION): New macro.
8828 (thread_function): Call it.
8829 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8830 and use it instead of a global counter. Adjust all callers.
8831 (get_current_thread): Use "find current thread" for test message
8832 here rather than having all callers pass down the same string.
8833 (goto_loop): New procedure, factored out from ...
8834 (my_continue): ... this.
8835 (step_ten_loops): Change parameter from test message to command to
8837 (list_count): Delete global.
8838 (check_result): New procedure, factored out from duplicate top
8840 (continue tests): Wrap in with_test_prefix.
8841 (test_step): New procedure, factored out from duplicate top level
8843 (top level): Test "step" in combination with all scheduler-locking
8844 modes. Test "next" in combination with all scheduler-locking
8845 modes, and in combination with stepping over a function call or
8847 * gdb.threads/next-bp-other-thread.c: New file.
8848 * gdb.threads/next-bp-other-thread.exp: New file.
8850 2014-10-29 Pedro Alves <palves@redhat.com>
8853 * gdb.python/python.exp: Test a multi-line command that spawns
8855 * gdb.base/multi-line-starts-subshell.exp: New file.
8857 2014-10-29 Yao Qi <yao@codesourcery.com>
8859 * gdb.base/fileio.exp: Make directories on host.
8861 2014-10-29 Yao Qi <yao@codesourcery.com>
8863 * gdb.base/fileio.c (test_write): Close the file.
8865 2014-10-28 Pedro Alves <palves@redhat.com>
8868 * gdb.base/sigstep.c (no_handler): New global.
8869 (main): If 'no_handler is true, set the signal handlers to
8871 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8872 with_sw_watch and no_handler parameters. Handle them.
8873 (top level) <stepping over handler when stopped at a breakpoint
8874 test>: Add a test axis for testing with a software watchpoint, and
8875 another for testing with the signal handler set to SIG_IGN.
8876 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8877 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8879 2014-10-28 Pedro Alves <palves@redhat.com>
8882 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8883 * gdb.base/sigstep.exp (other_handler_location): New global.
8884 (advance): Support stepping into the signal handler, and running
8885 commands while in the handler.
8886 (in_handler_map): New global.
8887 (top level): In the advance test, add combinations for getting
8888 into the handler with stepping commands, and for running commands
8889 in the handler. Add comment descripting the advancei tests.
8891 2014-10-28 Pedro Alves <palves@redhat.com>
8893 * gdb.base/sigstep.exp: Use build_executable instead of
8894 prepare_for_testing.
8895 (top level): Move code that starts GDB, runs to main and creates a
8897 (restart): ... this new procedure.
8898 (top level): Move backtrace from signal handler test to ...
8899 (validate_backtrace): ... this new procedure.
8900 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
8901 with_test_prefix. Always restart GDB.
8902 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
8903 with_test_prefix. Always restart GDB. No need to delete
8904 breakpoints after the test.
8905 (test_skip_handler): Remove prefix parameter.
8906 (skip_over_handler, breakpoint_to_handler)
8907 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
8908 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
8909 restart GDB. No need to delete breakpoints after the test.
8910 (top level): Use foreach to call the test procedures with
8913 2014-10-28 Pedro Alves <palves@redhat.com>
8915 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
8916 instead of GNATS numbers.
8917 * gdb.base/sigbpt.exp: Likewise.
8918 * gdb.base/siginfo.exp: Likewise.
8919 * gdb.base/sigstep.exp: Likewise.
8921 2014-10-27 Pedro Alves <palves@redhat.com>
8923 * gdb.base/sigstep.c (dummy): New global.
8924 (main): Issue a couple writes to the new global.
8925 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
8927 (skip_over_handler): Use test_skip_handler.
8928 (top level): Call skip_over_handler for stepi and nexti too.
8929 (breakpoint_over_handler): Use test_skip_handler.
8930 (top level): Call breakpoint_over_handler for stepi and nexti too.
8932 2014-10-27 Yao Qi <yao@codesourcery.com>
8934 * gdb.trace/tfile.c (adjust_function_address)
8935 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
8936 function descriptor.
8938 2014-10-24 Don Breazeal <donb@codesourcery.com>
8940 * gdb.base/foll-fork.exp (test_follow_fork,
8941 catch_fork_child_follow): Check for updated fork messages emitted
8943 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
8944 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
8945 vfork_and_exec_child_follow_through_step): Check for updated vfork
8946 messages emitted from infrun.c.
8948 2014-10-24 Pedro Alves <palves@redhat.com>
8950 * gdb.base/corefile.exp: Remove references to ultrix.
8951 * gdb.base/interrupt.exp: Likewise.
8952 * gdb.base/whatis.exp: Likewise.
8953 * gdb.gdb/selftest.exp: Likewise.
8954 * gdb.threads/manythreads.exp: Likewise.
8955 * gdb.threads/print-threads.exp: Likewise.
8956 * gdb.threads/pthreads.exp:: Likewise.
8957 * gdb.threads/schedlock.exp: Likewise.
8959 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
8961 * gdb.cp/non-trivial-retval.cc: Add a test case.
8962 * gdb.cp/non-trivial-retval.exp: Add a test.
8964 2014-10-20 Yao Qi <yao@codesourcery.com>
8966 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
8967 * gdb.python/py-objfile-script-gdb.py: New file.
8968 * gdb.python/py-objfile-script.exp: Update reference to
8969 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
8970 of remote_download. Remove the dest file.
8972 2014-10-20 Yao Qi <yao@codesourcery.com>
8974 * gdb.base/checkpoint.exp: Don't remove file copied on host.
8975 * gdb.base/step-line.exp: Likewise.
8976 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
8977 * gdb.dwarf2/dw2-basic.exp: Likewise.
8978 * gdb.dwarf2/dw2-compressed.exp: Likewise.
8979 * gdb.dwarf2/dw2-filename.exp: Likewise.
8980 * gdb.dwarf2/dw2-intercu.exp: Likewise.
8981 * gdb.dwarf2/dw2-intermix.exp: Likewise.
8982 * gdb.dwarf2/dw2-producer.exp: Likewise.
8983 * gdb.dwarf2/mac-fileno.exp: Likewise.
8984 * gdb.python/py-frame-args.exp: Likewise.
8985 * gdb.python/py-framefilter.exp: Likewise.
8986 * gdb.python/py-mi.exp: Likewise.
8987 * gdb.python/py-objfile-script.exp: Likewise
8988 * gdb.python/py-pp-integral.exp: Likewise.
8989 * gdb.python/py-pp-re-notag.exp: Likewise.
8990 * gdb.python/py-prettyprint.exp: Likewise.
8991 * gdb.python/py-section-script.exp: Likewise.
8992 * gdb.python/py-typeprint.exp: Likewise.
8993 * gdb.python/py-xmethods.exp: Likewise.
8994 * gdb.stabs/weird.exp: Likewise.
8995 * gdb.xml/tdesc-regs.exp: Likewise.
8997 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
8999 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
9000 (out_cu): Use addr_len for the size of addresses.
9001 (out_line): Likewise. Size DW_LNE_set_address instruction
9002 according to addr_len.
9003 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
9004 (FUNC): Add START_INSNS to definition.
9006 2014-10-18 Yao Qi <yao@codesourcery.com>
9008 * gdb.base/argv0-symlink.exp: Check argv[0] value if
9009 gdb_has_argv0 return true.
9010 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
9011 check [target_info exists noargs], check [gdb_has_argv0]
9013 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9014 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
9017 2014-10-17 Doug Evans <dje@google.com>
9019 * gdb.python/py-events.exp: Update expected output for clear_objfiles
9021 * gdb.python/py-events.py: Add clear_objfiles event.
9023 2014-10-17 Doug Evans <dje@google.com>
9025 * gdb.python/py-objfile.exp: Test progspace attribute.
9027 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
9029 * gdb.guile/scm-breakpoint.exp: Do not assume any
9030 directory separators when matching source file paths.
9031 * gdb.python/py-breakpoint.exp: Likewise.
9032 * gdb.reverse/break-precsave.exp: Likewise.
9033 * gdb.reverse/break-reverse.exp: Likewise.
9034 * gdb.reverse/consecutive-precsave.exp: Likewise.
9035 * gdb.reverse/finish-precsave.exp: Likewise.
9036 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
9037 * gdb.reverse/finish-reverse.exp: Likewise.
9038 * gdb.reverse/i386-precsave.exp: Likewise.
9039 * gdb.reverse/i387-env-reverse.exp: Likewise.
9040 * gdb.reverse/i387-stack-reverse.exp: Likewise.
9041 * gdb.reverse/machinestate-precsave.exp: Likewise.
9042 * gdb.reverse/machinestate.exp: Likewise.
9043 * gdb.reverse/sigall-precsave.exp: Likewise.
9044 * gdb.reverse/solib-precsave.exp: Likewise.
9045 * gdb.reverse/step-precsave.exp: Likewise.
9046 * gdb.reverse/until-precsave.exp: Likewise.
9047 * gdb.reverse/watch-precsave.exp: Likewise.
9048 * gdb.reverse/watch-reverse.exp: Likewise.
9050 2014-10-17 Yao Qi <yao@codesourcery.com>
9052 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
9053 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
9055 2014-10-17 Pedro Alves <palves@redhat.com>
9058 * gdb.base/bg-execution-repeat.c: New file.
9059 * gdb.base/bg-execution-repeat.exp: New file.
9061 2014-10-17 Pedro Alves <palves@redhat.com>
9064 * gdb.base/continue-all-already-running.c: New file.
9065 * gdb.base/continue-all-already-running.exp: New file.
9067 2014-10-17 Pedro Alves <palves@redhat.com>
9070 * gdb.base/annota-input-while-running.c: New file.
9071 * gdb.base/annota-input-while-running.exp: New file.
9073 2014-10-17 Pedro Alves <palves@redhat.com>
9075 * gdb.base/callfuncs.exp: emove references to osf.
9076 * gdb.base/sigall.exp: Likewise.
9077 * gdb.gdb/selftest.exp: Likewise.
9078 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9079 * gdb.mi/non-stop.c: Likewise.
9080 * gdb.mi/pthreads.c: Likewise.
9081 * gdb.reverse/sigall-precsave.exp: Likewise.
9082 * gdb.reverse/sigall-reverse.exp: Likewise.
9083 * gdb.threads/pthreads.c: Likewise.
9084 * gdb.threads/pthreads.exp: Likewise.
9086 2014-10-17 Yao Qi <yao@codesourcery.com>
9088 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
9089 check 'target_info exists noargs'.
9090 (test_command_prompt_position): Likewise.
9091 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
9093 (progvar_simple_while_test): Likewise.
9094 (progvar_complex_if_while_test): Likewise.
9095 (if_while_breakpoint_command_test): Likewise.
9096 (infrun_breakpoint_command_test): Likewise.
9097 (breakpoint_command_test): Likewise.
9098 (watchpoint_command_test): Likewise.
9099 (bp_deleted_in_command_test): Likewise.
9100 (temporary_breakpoint_commands): Likewise.
9102 2014-10-16 Yao Qi <yao@codesourcery.com>
9104 * gdb.base/remotetimeout.exp: Remove noargs checking.
9106 2014-10-15 Pedro Alves <palves@redhat.com>
9109 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
9110 * gdb.base/breakpoint-in-ro-region.exp
9111 (probe_target_hardware_step): New procedure.
9112 (top level): Probe hardware stepping and hardware breakpoint
9113 support. Test stepping through a read-only region, with both
9114 "breakpoint auto-hw" on and off and both "always-inserted" on and
9117 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
9119 * gdb.dlang/demangle.exp: Update for demangling changes.
9121 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
9123 * gdb.cp/non-trivial-retval.cc: Add new test cases.
9124 * gdb.cp/non-trivial-retval.exp: Add new tests.
9126 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
9130 * gdb.cp/non-trivial-retval.cc: New file.
9131 * gdb.cp/non-trivial-retval.exp: New file.
9133 2014-10-15 Yao Qi <yao@codesourcery.com>
9135 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
9138 2014-10-15 Yao Qi <yao@codesourcery.com>
9140 * gdb.python/py-symbol.exp: Match file base name if host is
9141 remote, otherwise match file name with dir name.
9142 * gdb.python/py-symtab.exp: Likewise.
9143 * gdb.python/python.exp: Likewise.
9145 2014-10-15 Yao Qi <yao@codesourcery.com>
9147 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
9149 * gdb.python/py-symtab.exp: Likewise.
9150 * gdb.python/python.exp: Remove trailing ".*". Fix typo
9153 2014-10-14 Joel Brobecker <brobecker@adacore.com>
9155 * gdb.ada/addr_arith: New testcase.
9157 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
9159 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
9160 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
9161 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
9162 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
9164 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
9166 * gdb.arch/stap-eval-lang-ada.S: Likewise.
9167 * gdb.arch/stap-eval-lang-ada.c: Likewise.
9168 * gdb.arch/stap-eval-lang-ada.exp: New file.
9170 2014-10-14 Yao Qi <yao@codesourcery.com>
9172 * gdb.mi/mi-var-child.c (nothing1): New function.
9173 (nothing2): New function.
9174 (do_children_tests): Set function pointers by nothing1 and
9176 * gdb.mi/mi-var-child.exp: Step over new added statements.
9177 Update test to match the new output.
9178 * gdb.mi/var-cmd.c (nothing1): New function.
9179 (nothing2): New function.
9180 (do_children_tests): Set function pointers by nothing1 and
9182 * gdb.mi/mi-var-display.exp: Update test to match output.
9183 Step to the line specified by $line_dct_nothing.
9184 Increase the number of lines to step.
9186 2014-10-14 Yao Qi <yao@codesourcery.com>
9188 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
9190 * gdb.mi/mi2-var-child.exp: Likewise.
9192 2014-10-13 Doug Evans <dje@google.com>
9194 * gdb.python/py-objfile.exp: Change name of file name test.
9196 2014-10-13 Doug Evans <dje@google.com>
9198 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
9199 from the start of the CU.
9201 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9202 Yao Qi <yao@codesourcery.com>
9204 Fix "save breakpoints" for "catch" command.
9205 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
9206 Remove -nonewline. Match also the added "main" line.
9208 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9210 Fix "save breakpoints" for "disable $bpnum" command.
9211 * gdb.base/save-bp.c (main): Add label.
9212 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
9214 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9216 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
9218 2014-10-11 Yao Qi <yao@codesourcery.com>
9220 * gdb.server/server-kill.exp: Execute command
9221 "set remote trace-status-packet on" before "tstatus".
9223 2014-10-11 Yao Qi <yao@codesourcery.com>
9225 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
9226 (main): Call getppid.
9227 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
9228 and continue to it. Read variable "server_pid".
9230 2014-10-11 Yao Qi <yao@codesourcery.com>
9232 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
9234 2014-10-11 Yao Qi <yao@codesourcery.com>
9236 * gdb.threads/thread-find.exp: Don't execute command
9238 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
9239 * gdb.threads/linux-dp.exp: Don't check the condition
9240 $threads_created equals to zero.
9242 2014-10-10 Pedro Alves <palves@redhat.com>
9244 * gdb.base/bigcore.exp: Remove references to IRIX.
9245 * gdb.base/funcargs.exp: Likewise.
9246 * gdb.base/interrupt.exp: Likewise.
9247 * gdb.base/mips_pro.exp: Likewise.
9248 * gdb.base/nodebug.exp: Likewise.
9249 * gdb.base/setvar.exp: Likewise.
9250 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
9252 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9253 Pedro Alves <palves@redhat.com>
9256 * gdb.base/vdso-warning.c: New file.
9257 * gdb.base/vdso-warning.exp: New file.
9259 2014-10-02 Doug Evans <dje@google.com>
9261 * gdb.base/structs.c (main): Don't run forever.
9263 2014-10-02 Pedro Alves <palves@redhat.com>
9265 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
9266 (top level) <stop threads 1, stop threads 2>: Use it.
9268 2014-10-02 Pedro Alves <palves@redhat.com>
9270 * gdb.threads/break-while-running.exp (test): Add new
9271 'update_thread_list' argument. Skip "info threads" if false.
9272 (top level): Add new 'update_thread_list' axis.
9274 2014-10-02 Pedro Alves <palves@redhat.com>
9276 PR breakpoints/17431
9277 * gdb.base/execl-update-breakpoints.c: New file.
9278 * gdb.base/execl-update-breakpoints.exp: New file.
9280 2014-10-01 Pedro Alves <palves@redhat.com>
9282 * gdb.base/breakpoint-in-ro-region.c: New file.
9283 * gdb.base/breakpoint-in-ro-region.exp: New file.
9285 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
9287 * gdb.mi/mi-exit-code.exp: New file.
9288 * gdb.mi/mi-exit-code.c: New file.
9290 2014-09-30 Yao Qi <yao@codesourcery.com>
9292 * lib/prelink-support.exp (build_executable_own_libs): Error if
9293 the target isn't native.
9295 2014-09-30 Yao Qi <yao@codesourcery.com>
9297 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
9300 2014-09-22 Pedro Alves <palves@redhat.com>
9302 * gdb.threads/break-while-running.exp: New file.
9303 * gdb.threads/break-while-running.c: New file.
9305 2014-09-19 Yao Qi <yao@codesourcery.com>
9307 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
9308 Invoke test. Restart GDB with --readnow and invoke test again.
9310 2014-09-19 Yao Qi <yao@codesourcery.com>
9312 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
9313 proc set_breakpoint_on_gcd_function. Invoke
9314 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
9315 invoke set_breakpoint_on_gcd_function again.
9317 2014-09-18 Doug Evans <dje@google.com>
9319 * gdb.dwarf2/symtab-producer.exp: New file.
9321 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9323 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
9324 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
9325 * gdb.base/global-var-nested-by-dso.c: Likewise.
9326 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9328 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9329 Pedro Alves <palves@redhat.com>
9331 * gdb.base/watch-bitfields.exp: Pass string other than test file
9332 name to prepare_for_testing.
9333 (watch): New procedure.
9334 (expect_watchpoint): Use with_test_prefix.
9335 (top level): Factor out tests to ...
9336 (test_watch_location, test_regular_watch): ... these new
9337 procedures, and use with_test_prefix and gdb_continue_to_end.
9339 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
9341 PR breakpoints/12526
9342 * gdb.base/watch-bitfields.exp: New file.
9343 * gdb.base/watch-bitfields.c: New file.
9345 2014-09-16 Pedro Alves <palves@redhat.com>
9347 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
9348 software and hardware addresses, not software address against
9351 2014-09-16 Pedro Alves <palves@redhat.com>
9353 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
9354 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
9356 2014-09-16 Pedro Alves <palves@redhat.com>
9358 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
9360 * gdb.base/a2-run.exp: Remove all code guarded by istarget
9361 "*-*-vxworks*" throughout.
9362 * gdb.base/break.exp: Likewise.
9363 * gdb.base/default.exp: Likewise.
9364 * gdb.base/scope.exp: Likewise.
9365 * gdb.base/sepdebug.exp: Likewise.
9366 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
9368 * gdb.base/run.c: Likewise.
9369 * gdb.base/sepdebug.c: Likewise.
9370 * gdb.hp/gdb.aCC/run.c: Likewise.
9371 * gdb.reverse/until-reverse.c: Likewise.
9372 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
9374 2014-09-16 Yao Qi <yao@codesourcery.com>
9376 * boards/local-remote-host-native.exp: New file.
9378 2014-09-14 Doug Evans <xdje42@gmail.com>
9380 * gdb.threads/queue-signal.c (thread_count): New variable.
9381 (thread_count_mutex, thread_count_condvar): New variables.
9382 (incr_thread_count, wait_all_threads_running): New functions.
9383 (main): Wait for all threads to be in their thread functions.
9385 2014-09-13 Doug Evans <xdje42@gmail.com>
9387 * gdb.threads/queue-signal.c: New file.
9388 * gdb.threads/queue-signal.exp: New file.
9390 2014-09-13 Doug Evans <xdje42@gmail.com>
9392 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
9393 be consistent with what default_gdb_init uses.
9394 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
9395 the plain text of the prompt. Add some logging printfs.
9396 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
9398 2014-09-12 Pedro Alves <palves@redhat.com>
9400 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
9401 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
9402 * gdb.arch/i386-size-overlap.exp: Likewise.
9403 * gdb.arch/i386-size.exp: Likewise.
9404 * gdb.arch/i386-unwind.exp: Likewise.
9405 * gdb.base/a2-run.exp: Likewise.
9406 * gdb.base/break.exp: Likewise.
9407 * gdb.base/charset.exp: Likewise.
9408 * gdb.base/chng-syms.exp: Likewise.
9409 * gdb.base/commands.exp: Likewise.
9410 * gdb.base/dbx.exp: Likewise.
9411 * gdb.base/find.exp: Likewise.
9412 * gdb.base/funcargs.exp: Likewise.
9413 * gdb.base/jit-simple.exp: Likewise.
9414 * gdb.base/reread.exp: Likewise.
9415 * gdb.base/sepdebug.exp: Likewise.
9416 * gdb.base/step-bt.exp: Likewise.
9417 * gdb.cp/mb-inline.exp: Likewise.
9418 * gdb.cp/mb-templates.exp: Likewise.
9419 * gdb.objc/basicclass.exp: Likewise.
9420 * gdb.threads/killed.exp: Likewise.
9422 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9425 * gdb.arch/powerpc-stackless.S: New file.
9426 * gdb.arch/powerpc-stackless.exp: New file.
9428 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9430 * gdb.base/attach.c: Include unistd.h.
9431 (main): Call alarm. Add label postloop.
9432 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
9433 gdb_breakpoint, gdb_continue_to_breakpoint.
9434 (test_command_line_attach_run): Kill ${testpid} in one exit path.
9436 2014-09-11 Pedro Alves <palves@redhat.com>
9439 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
9440 * gdb.base/attach.exp (test_command_line_attach_run): New
9442 (top level): Call it.
9444 2014-09-11 Pedro Alves <palves@redhat.com>
9446 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
9447 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
9448 (do_command_attach_tests): Use spawn_wait_for_attach.
9449 * gdb.base/solib-overlap.exp: Likewise.
9450 * gdb.multi/multi-attach.exp: Likewise.
9451 * gdb.python/py-prompt.exp: Likewise.
9452 * gdb.python/py-sync-interp.exp: Likewise.
9453 * gdb.server/ext-attach.exp: Likewise.
9455 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
9457 * gdb.fortran/array-element.exp: Remove unexpected "continue"
9458 command in testcase. Simplify testcase.
9460 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9462 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
9464 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9466 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
9468 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9470 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
9472 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9474 * gdb.dwarf2/dynarr-ptr.c: New file.
9475 * gdb.dwarf2/dynarr-ptr.exp: New file.
9477 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9479 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
9480 of 30 rather than hardcoding 120 for a slow test case. Take the
9481 `gdb,timeout' target setting into account for this calculation.
9482 Don't extend the timeout for the test cases that don't need it.
9484 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9486 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
9487 a factor of 2 for a slow test case. Take the `gdb,timeout'
9488 target setting into account for this calculation.
9489 * gdb.reverse/until-precsave.exp: Increase the timeout by
9490 a factor of 15 and 3 respectively rather than adding 120
9491 for a pair of slow test cases. Take the `gdb,timeout'
9492 target setting into account for this calculation.
9494 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9496 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
9497 timeout, don't pass one down to gdb_expect.
9498 (gdb_expect): Rework timeout selection.
9500 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9502 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
9503 exception on timeout.
9504 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
9505 (gdbserver_start_extended): Catch any `gdbserver_start' error
9507 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
9508 * lib/mi-support.exp (mi_gdb_target_load): Catch any
9509 `gdbserver_gdb_load' error exceptions.
9511 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9513 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
9514 120 on waiting for the TCP socket to open.
9516 2014-09-09 Doug Evans <xdje42@gmail.com>
9518 * gdb.base/default.exp (show_conv_list): Add _caller_is,
9519 _caller_matches, _any_caller_is, _any_caller_matches.
9521 2014-09-09 Doug Evans <xdje42@gmail.com>
9523 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
9525 2014-09-09 Yao Qi <yao@codesourcery.com>
9527 * gdb.mi/mi-var-display.exp: Set print symbol off.
9529 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
9532 * gdb.base/commands.exp: Add tests to verify user-defined
9533 commands with empty bodies.
9534 * gdb.python/py-cmd.exp: Test that we don't show user-defined
9535 python commands in `show user command`.
9536 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
9537 scheme commands in `show user command`.
9539 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9542 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
9543 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
9544 * gdb.python/py-framefilter-invalidarg.exp: New file.
9545 * gdb.python/py-framefilter-invalidarg.py: New file.
9547 2014-09-06 Doug Evans <xdje42@gmail.com>
9550 * gdb.python/py-caller-is.c: New file.
9551 * gdb.python/py-caller-is.exp: New file.
9553 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
9556 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
9557 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
9559 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
9562 * gdb.fortran/print-formatted.exp: New file.
9563 * gdb.fortran/print-formatted.f90: Likewise.
9565 2014-09-03 Sasha Smundak <asmundak@google.com>
9567 * gdb.python/py-frame.exp: Test Frame.read_register.
9569 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
9572 * gdb.python/py-completion.exp: New file.
9573 * gdb.python/py-completion.py: Likewise.
9575 2014-08-28 Doug Evans <dje@google.com>
9577 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
9578 eax,etc. are live with values set by gdb and thus the compiler can't
9580 * gdb.arch/i386-pseudo.c (main): Ditto.
9582 2014-08-27 Doug Evans <dje@google.com>
9584 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
9586 2014-08-25 Doug Evans <dje@google.com>
9588 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
9591 2014-08-25 Doug Evans <dje@google.com>
9593 * gdb.threads/thread-execl.exp: #include <stdio.h>.
9595 2014-08-24 Yao Qi <yao@codesourcery.com>
9597 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
9599 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
9601 2014-08-22 Doug Evans <dje@google.com>
9604 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
9605 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
9606 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
9608 2014-08-22 Yao Qi <yao@codesourcery.com>
9610 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
9611 * gdb.python/py-finish-breakpoint2.exp: Likewise.
9612 * gdb.python/python.exp: Likewise. Use .py file on the host
9613 instead of the build.
9615 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9617 * gdb.threads/gcore-stale-thread.c: New file.
9618 * gdb.threads/gcore-stale-thread.exp: New file.
9620 2014-08-21 Pedro Alves <palves@redhat.com>
9622 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
9623 * gdb.base/gcore-relro-pie.exp: Likewise.
9624 * gdb.base/gcore-relro.exp: Likewise.
9625 * gdb.base/gcore.exp: Likewise.
9626 * gdb.base/print-symbol-loading.exp: Likewise.
9627 * gdb.threads/gcore-thread.exp: Likewise.
9628 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
9630 2014-08-20 Pedro Alves <palves@redhat.com>
9631 Jan Kratochvil <jan.kratochvil@redhat.com>
9633 * Makefile.in (EXTRA_RULES, CC): New variables, get from
9635 (EXPECT): Handle READ1 being set.
9636 (all): Depend on EXTRA_RULES.
9637 (check-read1, expect-read1, read1.so, read1): New rules.
9638 * README (Testsuite Parameters): Document the READ1 make variable.
9639 (Race detection): New section.
9640 * configure: Regenerate.
9641 * configure.ac: If build==host==target, and running under a
9642 GNU/glibc system, add read1 to the extra Makefile rules.
9643 (EXTRA_RULES): AC_SUBST it.
9644 * lib/read1.c: New file.
9646 2014-08-20 Joel Brobecker <brobecker@adacore.com>
9648 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
9649 the handling of variables declared as a typedef to an array
9650 which a DW_AT_data_location attribute.
9652 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
9653 Pedro Alves <palves@redhat.com>
9657 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
9660 2014-08-19 Pedro Alves <palves@redhat.com>
9662 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
9664 2014-08-19 Yao Qi <yao@codesourcery.com>
9666 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
9669 2014-08-18 David Blaikie <dblaikie@gmail.com>
9671 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
9673 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9675 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
9676 attribute in array range.
9678 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9680 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
9682 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9685 * gdb.cp/pr17132.cc: New file.
9686 * gdb.cp/pr17132.exp: New file.
9688 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9690 * gdb.python/py-xmethods.py (A_getarrayind)
9691 (E_method_char_worker.__call__, E_method_int_worker.__call__):
9692 Use 'print' with function call syntax.
9693 (E_method_matcher.match): Fix tab vs space indentation mixup.
9695 2014-08-15 Yao Qi <yao@codesourcery.com>
9697 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
9700 2014-08-15 Yao Qi <yao@codesourcery.com>
9702 * gdb.cp/casts.exp: Set print symbol off.
9703 * gdb.cp/class2.exp: Likewise.
9704 * gdb.cp/overload.exp: Likewise.
9705 * gdb.cp/templates.exp: Likewise.
9707 2014-08-11 Doug Evans <dje@google.com>
9709 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9710 (test_load_shlib): Update.
9712 2014-08-09 Yao Qi <yao@codesourcery.com>
9714 * gdb.base/display.exp: Invoke is_address_zero_readable.
9715 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
9716 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9717 * gdb.base/hbreak-unmapped.exp: Return if
9718 is_address_zero_readable returns true.
9719 * gdb.base/signest.exp: Likewise.
9720 * gdb.base/signull.exp: Likewise.
9721 * gdb.base/sigbpt.exp: Likewise.
9722 * gdb.guile/scm-disasm.exp: Do the test if
9723 is_address_zero_readable returns false.
9724 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
9725 * gdb.python/py-arch.exp: Likewise.
9726 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
9727 * lib/gdb.exp (is_address_zero_readable): New proc.
9729 2014-08-09 Yao Qi <yao@codesourcery.com>
9732 * gdb.mi/mi-var-display.exp: Make test messages unique.
9734 2014-08-04 Tom Tromey <tromey@redhat.com>
9736 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
9739 2014-08-04 Tom Tromey <tromey@redhat.com>
9741 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
9744 2014-08-01 Joel Brobecker <brobecker@adacore.com>
9746 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9747 inner_vla_struct_object_size.
9748 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
9751 2014-07-30 Pedro Alves <palves@redhat.com>
9753 * gdb.threads/signal-command-handle-nopass.exp (test): Add
9756 2014-07-29 Yao Qi <yao@codesourcery.com>
9759 * gdb.base/until-nodebug.exp: New.
9761 2014-07-28 Doug Evans <xdje42@gmail.com>
9764 * gdb.guile/scm-parameter.exp: Add tests for trying to create
9765 previously existing parameter, and previously ambiguously spelled
9768 2014-07-28 Will Newton <will.newton@linaro.org>
9770 * gdb.base/varargs.exp: Remove KFAILs for ARM.
9772 2014-07-26 Ludovic Courtès <ludo@gnu.org>
9773 Doug Evans <xdje42@gmail.com>
9776 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
9778 2014-07-25 Pedro Alves <palves@redhat.com>
9780 * gdb.threads/signal-command-handle-nopass.c: New file.
9781 * gdb.threads/signal-command-handle-nopass.exp: New file.
9782 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
9783 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
9784 * gdb.threads/signal-delivered-right-thread.c: New file.
9785 * gdb.threads/signal-delivered-right-thread.exp: New file.
9787 2014-07-25 Pedro Alves <palves@redhat.com>
9789 * gdb.base/double-prompt-target-event-error.exp
9790 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
9792 (cancel_pagination_in_target_event): Rework double prompt
9794 * gdb.base/paginate-after-ctrl-c-running.exp
9795 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
9797 * gdb.base/paginate-bg-execution.exp
9798 (test_bg_execution_pagination_return)
9799 (test_bg_execution_pagination_cancel): Remove '-notransfer
9801 * gdb.base/paginate-execution-startup.exp
9802 (test_fg_execution_pagination_return)
9803 (test_fg_execution_pagination_cancel): Remove '-notransfer
9805 * gdb.base/paginate-inferior-exit.exp
9806 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9808 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9809 * lib/gdb.exp (pagination_prompt): Run text through
9811 (gdb_test_multiple): Match $pagination_prompt instead of
9813 (string_to_regexp): Move to lib/gdb-utils.exp.
9815 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9817 * gdb.arch/amd64-entry-value-paramref.S: New file.
9818 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9819 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9820 * gdb.arch/amd64-optimout-repeat.S: New file.
9821 * gdb.arch/amd64-optimout-repeat.c: New file.
9822 * gdb.arch/amd64-optimout-repeat.exp: New file.
9824 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9827 * gdb.base/statistics.exp: New file.
9829 2014-07-17 Doug Evans <dje@google.com>
9832 * gdb.base/maint.exp: Update testing of per-command stats.
9834 2014-07-16 Pedro Alves <palves@redhat.com>
9836 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9837 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9838 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9839 (tfile_write_buf): New functions.
9840 (add_memory_block): Rewrite using the above.
9841 (adjust_function_address): New function.
9842 (FUNCTION_ADDRESS): New macro.
9843 (write_basic_trace_file): Remove short_x local, and use
9844 tfile_write_16. Change type of func_addr local to unsigned long
9845 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9846 here. Cast argument of add_memory_block to char pointer.
9847 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9848 (main): Remove parameters.
9849 * gdb.trace/tfile.exp: Remove nowarnings.
9851 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9853 * gdb.base/debug-expr.exp: Test string evaluation with
9854 "debug expression" on.
9856 2014-07-15 Pedro Alves <palves@redhat.com>
9858 * gdb.base/reread.exp: Use clean_restart.
9860 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9862 * gdb.arch/avr-flash-qualifer.c: New.
9863 * gdb.arch/avr-flash-qualifer.exp: New.
9865 2014-07-14 Pedro Alves <palves@redhat.com>
9867 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9868 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9870 2014-07-14 Pedro Alves <palves@redhat.com>
9872 * gdb.base/double-prompt-target-event-error.c: New file.
9873 * gdb.base/double-prompt-target-event-error.exp: New file.
9875 2014-07-14 Pedro Alves <palves@redhat.com>
9878 * gdb.base/paginate-inferior-exit.c: New file.
9879 * gdb.base/paginate-inferior-exit.exp: New file.
9881 2014-07-14 Pedro Alves <palves@redhat.com>
9884 * gdb.base/paginate-bg-execution.c: New file.
9885 * gdb.base/paginate-bg-execution.exp: New file.
9887 2014-07-14 Pedro Alves <palves@redhat.com>
9890 * gdb.base/paginate-execution-startup.c: New file.
9891 * gdb.base/paginate-execution-startup.exp: New file.
9892 * lib/gdb.exp (pagination_prompt): New global.
9893 (default_gdb_spawn): New procedure, factored out from
9895 (default_gdb_start): Adjust to call default_gdb_spawn.
9896 (gdb_spawn): New procedure.
9898 2014-07-14 Pedro Alves <palves@redhat.com>
9900 * lib/gdb.exp (gdb_assert): New procedure.
9901 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
9903 2014-07-14 Pedro Alves <palves@redhat.com>
9905 * gdb.base/execution-termios.c: New file.
9906 * gdb.base/execution-termios.exp: New file.
9908 2014-07-14 Tom Tromey <tromey@redhat.com>
9910 * gdb.cp/vla-cxx.cc: New file.
9911 * gdb.cp/vla-cxx.exp: New file.
9913 2014-07-14 Tom Tromey <tromey@redhat.com>
9915 * gdb.reverse/rerun-prec.c: New file.
9916 * gdb.reverse/rerun-prec.exp: New file.
9918 2014-07-12 Maciej W. Rozycki <macro@mips.com>
9919 Maciej W. Rozycki <macro@codesourcery.com>
9921 * lib/gdb-utils.exp: New file.
9922 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
9923 inline `gdb_init_command' processing.
9924 (gdb_start_cmd): Likewise.
9925 * lib/mi-support.exp (mi_run_cmd): Likewise.
9926 * README: Document `gdb_init_command' and `gdb_init_commands'.
9928 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9930 Fix false FAIL running under a very long directory name.
9931 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
9932 and "set print elements 10000". Twice.
9934 2014-07-11 Yao Qi <yao@codesourcery.com>
9936 * gdb.base/exprs.exp: "set print symbol off".
9938 2014-07-11 Pedro Alves <palves@redhat.com>
9940 * gdb.threads/kill.c: New file.
9941 * gdb.threads/kill.exp: New file.
9943 2014-07-10 Yao Qi <yao@codesourcery.com>
9945 * gdb.trace/tfile.c (write_basic_trace_file)
9946 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
9947 address written to trace file.
9949 2014-07-09 Pedro Alves <palves@redhat.com>
9951 * gdb.base/attach-wait-input.exp: New file.
9952 * gdb.base/attach-wait-input.c: New file.
9954 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
9956 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
9957 setting up test structures.
9958 (main): Call new test function.
9959 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
9960 test function, continue into test function and walk test
9963 2014-07-02 Yao Qi <yao@codesourcery.com>
9965 * gdb.trace/entry-values.c: Define labels 'foo_start' and
9966 'bar_start' at the beginning of functions 'foo' and 'bar'
9968 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
9969 instead of 'foo' and 'bar'.
9971 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
9973 * gdb.btrace/segv.exp: New.
9974 * gdb.btrace/segv.c: New.
9976 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
9978 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
9981 2014-06-30 Mark Wielaard <mjw@redhat.com>
9983 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
9984 vulture, vilify, villar): New volatile array constants.
9985 (vindictive, vegetation): New const volatile array constants.
9986 * gdb.base/volatile.exp: Test volatile and const volatile array
9989 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9991 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
9992 target lacks support for awatch, rwatch, or hbreak.
9994 2014-06-27 Yao Qi <yao@codesourcery.com>
9996 * gdb.multi/dummy-frame-restore.exp: New.
9997 * gdb.multi/dummy-frame-restore.c: New.
9999 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
10001 * gdb.btrace/gcore.exp: New.
10003 2014-06-23 Pedro Alves <palves@redhat.com>
10005 * gdb.base/watchpoint-reuse-slot.c: New file.
10006 * gdb.base/watchpoint-reuse-slot.exp: New file.
10008 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
10010 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
10011 progspace's filename in 'info', 'enable' and 'disable' command
10014 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10016 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
10017 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10018 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
10020 2014-06-20 Gary Benson <gbenson@redhat.com>
10022 * gdb.arch/i386-avx.exp: Fix include file location.
10023 * gdb.arch/i386-sse.exp: Likewise.
10025 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
10027 * gdb.dlang/expression.exp: New file.
10029 2014-06-19 Pedro Alves <palves@redhat.com>
10031 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
10033 (top level): ... here. Iterate running tests under different
10034 scheduler-locking settings.
10036 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
10038 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
10039 to DW_FORM_addr and use non-zero addresses.
10041 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
10044 * gdb.python/py-xmethods.cc: Add global function call counters and
10045 increment them in their respective functions. Remove "cout"
10047 * gdb.python/py-xmethods.exp: Make tests check the global function
10048 call counters instead of depending on inferior IO.
10050 2014-06-18 Don Breazeal <donb@codesourcery.com>
10052 * gdb.base/foll-fork.exp (default_fork_parent_follow):
10054 (explicit_fork_parent_follow): Deleted procedure.
10055 (explicit_fork_child_follow): Deleted procedure.
10056 (test_follow_fork): New procedure.
10057 (do_fork_tests): Replace calls to deleted procedures with
10058 calls to test_follow_fork and reset GDB for subsequent
10061 2014-06-17 Yao Qi <yao@codesourcery.com>
10063 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
10066 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
10068 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
10069 Initialize ptr and S explicitly.
10070 (skip_type_update_when_not_use_rtti_test): Likewise.
10072 2014-06-16 Keith Seitz <keiths@redhat.com>
10075 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
10076 the inferior is started.
10078 2014-06-16 Pedro Alves <palves@redhat.com>
10080 * gdb.base/break-main-file-remove-fail.c: New file.
10081 * gdb.base/break-main-file-remove-fail.exp: New file.
10082 * gdb.base/break-unload-file.exp: Use build_executable instead of
10083 prepare_for_testing.
10084 (test_break): New parameter "initial_load". Handle it.
10085 (top level): Add initial_load cmdline/file axis.
10087 2014-06-12 Tom Tromey <tromey@redhat.com>
10089 * gdb.base/completion.exp: Don't use directory name in test.
10091 2014-06-09 Gary Benson <gbenson@redhat.com>
10093 * gdb.base/sigall.c [Functions to send signals]: Reorder to
10094 separate the always-available ANSI-standard signals from the
10095 signals that require checking.
10097 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
10101 2014-06-07 Keith Seitz <keiths@redhat.com>
10105 * gdb.cp/var-tag.cc: New file.
10106 * gdb.cp/var-tag.exp: New file.
10107 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10108 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10109 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10110 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10112 2014-06-06 Doug Evans <xdje42@gmail.com>
10114 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
10116 2014-06-06 Pedro Alves <palves@redhat.com>
10118 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
10119 in target debug output instead of looking at RSP packets,
10120 disabling the test on any target that uses hardware stepping.
10123 2014-06-06 Pedro Alves <palves@redhat.com>
10125 * gdb.base/break-unload-file.exp: Fix typo.
10127 2014-06-06 Yao Qi <yao@codesourcery.com>
10129 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
10130 from "jit_function" to "^jit_function".
10132 2014-06-06 Yao Qi <yao@codesourcery.com>
10134 * gdb.base/async.c (foo): Add one statement.
10135 * gdb.base/async.exp: Get the next instruction address and
10136 match the output of "nexti" by instruction address. Match
10137 the hex address in the output of "finish".
10139 2014-06-06 Gary Benson <gbenson@redhat.com>
10141 * gdb.base/call-signals.c: Remove preprocessor conditionals
10142 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
10143 SIGSEGV and SIGTERM.
10144 * gdb.base/sigall.c: Likewise.
10145 * gdb.base/unwindonsignal.c: Likewise.
10146 * gdb.reverse/sigall-reverse.c: Likewise.
10148 2014-06-06 Yao Qi <yao@codesourcery.com>
10150 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
10151 readable, skip the test.
10153 2014-06-06 Yao Qi <yao@codesourcery.com>
10155 * gdb.threads/staticthreads.c (thread_function): Move the line
10156 setting breakpoint on forward.
10157 * gdb.threads/staticthreads.exp: Update comments.
10159 2014-06-05 Ludovic Courtès <ludo@gnu.org>
10161 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
10162 "history-append! type error".
10164 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
10166 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
10167 erroneous dprintf expected input.
10169 2014-06-04 Doug Evans <xdje42@gmail.com>
10171 * gdb.guile/scm-generics.exp: Delete.
10173 2014-06-04 Doug Evans <xdje42@gmail.com>
10175 * gdb.guile/scm-breakpoint.exp: Update.
10176 Add tests for breakpoint registration.
10178 2014-06-04 Tom Tromey <tromey@redhat.com>
10180 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
10182 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
10183 inner_vla_struct, vla_union types. Initialize objects of those
10184 types and compute their sizes.
10186 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
10187 Hui Zhu <hui@codesourcery.com>
10189 * gdb.base/fileio.exp: Add test for shell not available as well as
10191 * gdb.base/fileio.c (test_system): Check for shell twice.
10193 2014-06-04 Yao Qi <yao@codesourcery.com>
10195 * gdb.base/auto-connect-native-target.exp: Remove redundant
10196 space from the regexp pattern.
10198 2014-06-04 Yao Qi <yao@codesourcery.com>
10200 * gdb.base/default.exp: Replace "child" with "native" in
10203 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
10205 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
10206 * gdb.python/py-xmethods.exp: New tests to test xmethods.
10207 * gdb.python/py-xmethods.py: Python script supporting the
10208 new testcase and tests.
10210 2014-06-03 Joel Brobecker <brobecker@adacore.com>
10211 Pedro Alves <palves@redhat.com>
10213 PR breakpoints/17000
10214 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
10215 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
10217 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
10219 * gdb.base/subst.exp: Add tests to verify partial path matching
10222 2014-06-03 Pedro Alves <palves@redhat.com>
10224 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
10225 target that doesn't use software single-stepping.
10227 2014-06-03 Pedro Alves <palves@redhat.com>
10229 PR breakpoints/17000
10230 * gdb.base/sss-bp-on-user-bp-2.c: New file.
10231 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
10233 2014-06-02 Doug Evans <xdje42@gmail.com>
10235 * gdb.guile/scm-parameter.exp: New file.
10237 2014-06-02 Doug Evans <xdje42@gmail.com>
10239 * gdb.guile/scm-cmd.c: New file.
10240 * gdb.guile/scm-cmd.exp: New file.
10242 2014-06-02 Doug Evans <xdje42@gmail.com>
10244 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
10245 pretty-printer lookup.
10246 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
10247 (make-pp_s-printer): Call it.
10248 (make-pretty-printer-from-dict): New function.
10249 (lookup-pretty-printer-maker-from-dict): New function.
10250 (*pretty-printer*): Simplify.
10251 (make-objfile-pp_s-printer): New function.
10252 (install-objfile-pretty-printers!): New function.
10253 (make-progspace-pp_s-printer): New function.
10254 (install-progspace-pretty-printers!): New function.
10255 * gdb.guile/scm-progspace.c: New file.
10256 * gdb.guile/scm-progspace.exp: New file.
10258 2014-06-02 Pedro Alves <palves@redhat.com>
10260 * gdb.base/dprintf-bp-same-addr.c: New file.
10261 * gdb.base/dprintf-bp-same-addr.exp: New file.
10263 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10265 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
10266 * gdb.arch/powerpc-power.s: Likewise.
10268 2014-06-02 Joel Brobecker <brobecker@adacore.com>
10270 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
10272 2014-06-01 Yao Qi <yao@codesourcery.com>
10274 * gdb.base/watchpoint.exp (test_watch_location): Check null
10275 pointer can be dereferenced. If not, do the test, otherwise
10278 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
10280 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
10282 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
10284 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
10286 * gdb.arch/amd64-invalid-stack-middle.S: New file.
10287 * gdb.arch/amd64-invalid-stack-middle.c: New file.
10288 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
10289 * gdb.arch/amd64-invalid-stack-top.c: New file.
10290 * gdb.arch/amd64-invalid-stack-top.exp: New file.
10292 2014-05-30 Pedro Alves <palves@redhat.com>
10294 PR breakpoints/17000
10295 * gdb.base/sss-bp-on-user-bp.c: New file.
10296 * gdb.base/sss-bp-on-user-bp.exp: New file.
10298 2014-05-30 David Blaikie <dblaikie@gmail.com>
10300 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
10301 gnu_inline semantics via attribute.
10302 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
10303 source explicitly specifies the required semantics.
10305 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
10307 * gdb.reverse/sigall-reverse.exp: Fix a typo.
10309 2014-05-29 Pedro Alves <palves@redhat.com>
10310 Tom Tromey <tromey@redhat.com>
10312 * gdb.base/async-shell.exp: Don't enable target-async.
10313 * gdb.base/async.exp
10314 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
10316 (top level): Don't test with "target-async".
10317 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
10318 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
10319 * gdb.base/inferior-died.exp: Don't enable target-async.
10320 * gdb.base/interrupt-noterm.exp: Likewise.
10321 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
10322 * gdb.mi/mi-nonstop-exit.exp: Likewise.
10323 * gdb.mi/mi-nonstop.exp: Likewise.
10324 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10325 * gdb.mi/mi-nsintrall.exp: Likewise.
10326 * gdb.mi/mi-nsmoribund.exp: Likewise.
10327 * gdb.mi/mi-nsthrexec.exp: Likewise.
10328 * gdb.mi/mi-watch-nonstop.exp: Likewise.
10329 * gdb.multi/watchpoint-multi.exp: Adjust comment.
10330 * gdb.python/py-evsignal.exp: Don't enable target-async.
10331 * gdb.python/py-evthreads.exp: Likewise.
10332 * gdb.python/py-prompt.exp: Likewise.
10333 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
10334 * gdb.server/solib-list.exp: Don't enable target-async.
10335 * gdb.threads/thread-specific-bp.exp: Likewise.
10336 * lib/mi-support.exp: Adjust to use mi-async.
10338 2014-05-29 Pedro Alves <palves@redhat.com>
10341 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
10342 reason, even in sync mode.
10344 2014-05-29 Pedro Alves <palves@redhat.com>
10345 Hui Zhu <hui@codesourcery.com>
10348 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
10349 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
10350 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
10351 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
10353 2014-05-28 Joel Brobecker <brobecker@adacore.com>
10355 * config/monitor.exp (gdb_target_monitor): Replace use of
10356 "set remotebaud" by "set serial baud".
10358 2014-05-26 Andy Wingo <wingo@igalia.com>
10360 * gdb.guile/scm-breakpoint.exp:
10361 * gdb.guile/scm-gsmob.exp: Update to use plain old object
10362 properties instead of gdb-object-properties.
10364 2014-05-26 Yao Qi <yao@codesourcery.com>
10366 * gdb.server/no-thread-db.exp: Specify source file name
10367 explicitly when setting a breakpoint.
10369 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10371 * gdb.btrace/vdso.c: New.
10372 * gdb.btrace/vdso.exp: New.
10374 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10376 * gdb.base/gcore.exp (capture_command_output): Move ...
10377 * lib/gdb.exp (capture_command_output): ... here.
10379 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10381 * gdb.btrace/data.exp: Test memory access during btrace replay.
10383 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
10385 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
10387 2014-05-21 Pedro Alves <palves@redhat.com>
10390 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
10391 (top level): Test that output related to execution commands is
10392 sent to the console with CLI commands, but not with MI commands.
10393 Test that breakpoint events are always mirrored to the console.
10394 Also expect the new source line to be output after a "next" in
10395 async mode too. Make it a pass/fail test.
10396 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
10398 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
10400 2014-05-21 Pedro Alves <palves@redhat.com>
10402 * gdb.base/list.exp (build_pattern, test_list): New procedures.
10403 Use them to test variations of "list" after reaching a breakpoint.
10404 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
10405 Test "list" with listsize 10 after reaching a breakpoint.
10406 * gdb.python/python.exp (decode_line current location line
10407 number): Adjust expected line number.
10409 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
10411 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
10412 behavior for $args, pass it directly to "run".
10414 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
10416 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
10419 2014-05-21 Pedro Alves <palves@redhat.com>
10421 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
10422 auto-connect-native-target off".
10423 * gdb.base/auto-connect-native-target.c: New file.
10424 * gdb.base/auto-connect-native-target.exp: New file.
10426 2014-05-21 Pedro Alves <palves@redhat.com>
10428 * gdb.base/default.exp: Test "target native" instead of "target
10431 2014-05-21 Mark Wielaard <mjw@redhat.com>
10433 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10435 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10437 Fix TLS access for -static -pthread.
10438 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
10439 <HAVE_TLS> (thread_function, main): Initialize it.
10440 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
10442 <$have_tls != "">: Check TLSVAR.
10444 2014-05-21 Pedro Alves <palves@redhat.com>
10446 * gdb.base/dcache-line-read-error.c: New.
10447 * gdb.base/dcache-line-read-error.exp: New.
10449 2014-05-20 Pedro Alves <palves@redhat.com>
10451 * gdb.base/compare-sections.c: New file.
10452 * gdb.base/compare-sections.exp: New file.
10454 2014-05-20 Pedro Alves <palves@redhat.com>
10456 * gdb.base/break-idempotent.c: New file.
10457 * gdb.base/break-idempotent.exp: New file.
10459 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
10461 * gdb.btrace/nohist.exp: New.
10463 2014-05-20 Yao Qi <yao@codesourcery.com>
10465 * lib/gdb.exp (gdb_init): Set timeout if test file is under
10466 gdb.reverse directory and gdb_reverse_timeout exists in board
10468 * README: Document gdb_reverse_timeout.
10470 2014-05-20 Yao Qi <yao@codesourcery.com>
10472 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
10473 'test_file_name'. Treat args as a string instead of a list.
10474 (gdb_init): Rename argument 'args' by 'test_file_name'.
10476 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10478 * gdb.arch/powerpc-power.exp: New file.
10479 * gdb.arch/powerpc-power.s: New file.
10481 2014-05-16 Doug Evans <dje@google.com>
10483 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
10484 * gdb.base/completion.exp: Check that all expected files exist
10485 before doing file completion.
10487 2014-05-16 Doug Evans <dje@google.com>
10489 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
10491 (do_syscall_tests_without_xml): Update.
10493 2014-05-16 Pedro Alves <palves@redhat.com>
10495 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
10496 instead of "unknown output after running".
10498 2014-05-16 Yao Qi <yao@codesourcery.com>
10500 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
10501 file1.txt from host at the end.
10502 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10504 2014-05-15 Doug Evans <dje@google.com>
10506 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
10507 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
10508 loading file. Add test for TU lookup.
10510 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10512 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
10513 calling "-exec-arguments" or "set args" before running the
10516 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10518 * lib/mi-support.exp (mi_expect_stop): Expect message for
10519 inferiors that exit with non-zero exit code.
10521 2014-05-14 Yao Qi <yao@codesourcery.com>
10523 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
10524 match absolute path on remote host.
10525 (test_file_list_exec_source_files): Remove "/" from the
10528 2014-05-14 Yao Qi <yao@codesourcery.com>
10530 * boards/local-remote-host-notty.exp (${board}_file): New
10533 2014-05-07 Kyle McMartin <kyle@redhat.com>
10535 Pushed by Joel Brobecker <brobecker@adacore.com>.
10536 * gdb.arch/aarch64-atomic-inst.c: New file.
10537 * gdb.arch/aarch64-atomic-inst.exp: New file.
10539 2014-05-07 Yao Qi <yao@codesourcery.com>
10541 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
10542 in current context" too.
10544 2014-05-05 Keith Seitz <keiths@redhat.com>
10546 * gdb.linespec/ls-dollar.exp: Add test for linespec
10547 file:convenience_variable.
10549 2014-05-05 Yao Qi <yao@codesourcery.com>
10551 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
10552 traceframes into tfile and ctf trace files. Read data from
10553 trace file and test collected data.
10554 (gdb_collect_locals_test): Likewise.
10555 (gdb_unavailable_registers_test): Likewise.
10556 (gdb_unavailable_floats): Likewise.
10557 (gdb_collect_globals_test): Likewise.
10558 (top-level): Append "ctf" to trace_file_targets if GDB
10561 2014-05-05 Yao Qi <yao@codesourcery.com>
10563 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
10565 (gdb_collect_args_test_1): ... it. New proc.
10566 (gdb_collect_locals_test): Move some code to ...
10567 (gdb_collect_locals_test_1): ... it. New proc.
10568 (gdb_unavailable_registers_test): Move some code to ...
10569 (gdb_unavailable_registers_test_1): ... it. New proc.
10570 (gdb_unavailable_floats): Move some code to ...
10571 (gdb_unavailable_floats_1): ... it. New proc.
10573 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10575 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
10576 probes to test for bitness recognition.
10577 * gdb.arch/amd64-stap-optional-prefix.exp
10578 (test_probe_value_without_reg): New procedure.
10579 Add code to test for different kinds of bitness.
10581 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10583 PR breakpoints/16889
10584 * gdb.arch/amd64-stap-optional-prefix.S: New file.
10585 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10587 2014-05-01 Pedro Alves <palves@redhat.com>
10589 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
10590 gdb_file_cmd if no file is specified.
10591 * boards/native-extended-gdbserver.exp (gdb_load): Use the
10592 last_loaded_file to set the remote exec-file.
10594 2014-05-01 Pedro Alves <palves@redhat.com>
10596 * boards/local-remote-host.exp: New file.
10598 2014-05-01 Pedro Alves <palves@redhat.com>
10600 * boards/local-remote-host.exp: Rename to ...
10601 * boards/local-remote-host-notty.exp: ... this.
10603 2014-04-28 Joel Brobecker <brobecker@adacore.com>
10605 * gdb.ada/dyn_arrayidx: New testcase.
10607 2014-04-26 Yao Qi <yao@codesourcery.com>
10609 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
10610 and compute the length of function main. Save it in
10612 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
10613 (top-level): Use gdb_compile to compile objects into
10614 executable and restart GDB. Remove invocation to
10615 prepare_for_testing.
10617 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
10618 Pedro Alves <palves@redhat.com>
10621 * gdb.multi/multi-attach.c: New file.
10622 * gdb.multi/multi-attach.exp: New file.
10624 2014-04-25 Pedro Alves <palves@redhat.com>
10626 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
10628 (top level): Test that "set remote conditional-breakpoints-packet
10629 off" works as intended.
10630 * gdb.base/dprintf.exp: Test that "set remote
10631 breakpoint-commands-packet off" works as intended.
10632 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
10634 (top level): Call it.
10635 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
10636 remote fast-tracepoints-packet off" works as intended.
10637 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
10638 * lib/gdb.exp (gdb_is_target_remote): ... here.
10640 2014-04-24 David Blaikie <dblaikie@gmail.com>
10642 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
10643 ensure clang would not discard them.
10644 * gdb.base/gdbvars.c: Ditto.
10645 * gdb.base/memattr.c: Ditto.
10646 * gdb.base/whatis.c: Ditto.
10647 * gdb.python/py-prettyprint.c: Ditto.
10648 * gdb.trace/actions.c: Ditto.
10649 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
10650 ensure clang would not discard it.
10652 2014-04-24 David Blaikie <dblaikie@gmail.com>
10654 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
10655 clang to emit the full definition of type required by the test
10656 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
10658 2014-04-24 David Blaikie <dblaikie@gmail.com>
10660 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
10661 coax Clang into emitting the definition of the type.
10662 * gdb.cp/pr10728-x.h (y): Ditto.
10663 * gdb.cp/pr10728-y.cc (y): Ditto.
10665 2014-04-24 David Blaikie <dblaikie@gmail.com>
10667 * gdb.base/label.exp: XFAIL label related tests under Clang.
10668 * gdb.cp/cplabel.exp: Ditto.
10669 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
10670 under Clang those using labels.
10672 2014-04-25 Yao Qi <yao@codesourcery.com>
10674 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
10676 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
10677 partial_label and double_label.
10679 2014-04-24 David Blaikie <dblaikie@gmail.com>
10681 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
10683 2014-04-24 David Blaikie <dblaikie@gmail.com>
10685 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
10686 of the function to work across GCC and Clang.
10687 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
10688 pointer types (const void ** const V void **).
10690 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
10691 Walfred Tedeschi <walfred.tedeschi@intel.com>
10693 * Makefile.in (EXECUTABLES): Added i386-avx512.
10694 * gdb.arch/i386-avx512.c: New file.
10695 * gdb.arch/i386-avx512.exp: Likewise.
10697 2014-04-23 Keith Seitz <keiths@redhat.com>
10699 * lib/mi-support.exp (mi_list_breakpoints): Delete.
10700 (mi_make_breakpoint_table): New procedure.
10701 (mi_create_breakpoint): Use mi_make_breakpoint
10702 and return the result.
10703 (mi_make_breakpoint): New procedure.
10704 (mi_build_kv_pairs): New procedure.
10706 * gdb.mi/mi-break.exp: Remove unused globals,
10707 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
10708 All callers updated.
10709 * gdb.mi/mi-dprintf.exp: Use variable to track command
10711 Update all callers of mi_create_breakpoint and use
10712 mi_make_breakpoint_table.
10713 Remove any unused global variables.
10714 * gdb.mi/mi-nonstop.exp: Likewise.
10715 * gdb.mi/mi-nsintrall.exp: Likewise.
10716 * gdb.mi/mi-nsmoribund.exp: Likewise.
10717 * gdb.mi/mi-nsthrexec.exp: Likewise.
10718 * gdb.mi/mi-reverse.exp: Likewise.
10719 * gdb.mi/mi-simplerun.exp: Likewise.
10720 * gdb.mi/mi-stepn.exp: Likewise.
10721 * gdb.mi/mi-syn-frame.exp: Likewise.
10722 * gdb.mi/mi-until.exp: Likewise.
10723 * gdb.mi/mi-var-cp.exp: Likewise.
10724 * gdb.mi/mi-var-display.exp: Likewise.
10725 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
10726 * gdb.mi/mi2-var-child.exp: Likewise.
10727 * gdb.mi/mi-vla-c99.exp: Likewise.
10728 * lib/mi-support.exp: Likewise.
10730 From Ian Lance Taylor <iant@cygnus.com>:
10731 * lib/gdb.exp (parse_args): New procedure.
10733 2014-04-23 Pedro Alves <palves@redhat.com>
10735 * gdb.base/break-unload-file.c: New file.
10736 * gdb.base/break-unload-file.exp: New file.
10737 * gdb.base/sym-file-lib.c (baz): New function.
10738 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
10740 (load): Store the segment's mapped size.
10741 (unload): New function.
10742 (unload_shlib): New function.
10743 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
10744 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
10745 set a breakpoint at baz, and call it.
10746 * gdb.base/sym-file.exp: New tests for stale breakpoint
10749 2014-04-23 Pedro Alves <palves@redhat.com>
10751 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
10752 * gdb.base/hbreak-in-shr-unsupported.c: New file.
10753 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
10754 * gdb.base/hbreak-unmapped.c: New file.
10755 * gdb.base/hbreak-unmapped.exp: New file.
10756 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
10757 * lib/gdb.exp (gdb_is_target_remote): ... here.
10759 2014-04-22 Pedro Alves <palves@redhat.com>
10761 * gdb.base/consecutive-step-over.c: New file.
10762 * gdb.base/consecutive-step-over.exp: New file.
10764 2014-04-22 Pedro Alves <palves@redhat.com>
10766 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
10767 instead of send_gdb/gdb_expect.
10769 2014-04-22 Yao Qi <yao@codesourcery.com>
10771 * lib/trace-support.exp (generate_tracefile): New procedure.
10772 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
10774 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
10775 if generate_tracefile returns 1.
10777 2014-04-18 Tom Tromey <palves@redhat.com>
10778 Pedro alves <tromey@redhat.com>
10781 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
10782 with a backtrace limit.
10783 * gdb.python/py-frame-inline.exp: Test running to an inline
10784 function with a backtrace limit, and printing the newest frame.
10785 * gdb.python/py-frame-inline.c (main): Call f.
10787 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10789 * gdb.java/jnpe.exp: Drop srcdir from untested path.
10791 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10793 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
10794 Drop prefix from unsupported source file path.
10796 2014-04-17 Yao Qi <yao@codesourcery.com>
10798 * lib/gdb.exp (with_target_charset): New proc.
10799 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10800 with_target_charset.
10801 (test_print_strings): Likewise.
10802 (test_repeat_bytes): Likewise.
10803 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10806 2014-04-16 Keith Seitz <keiths@redhat.com>
10809 * gdb.dwarf2/corrupt.c: New file.
10810 * gdb.dwarf2/corrupt.exp: New file.
10812 2014-04-16 Keith Seitz <keiths@redhat.com>
10815 * gdb.cp/namelessclass.cc: New file.
10816 * gdb.cp/namelessclass.exp: New file.
10817 * gdb.cp/namelessclass.S: New file.
10819 2014-04-16 Doug Evans <dje@google.com>
10821 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10823 (gdbserver_default_get_comm_port): New function.
10824 (gdbserver_start): Check if board file provided
10825 "gdbserver,get_comm_port" and use it if so.
10826 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10827 (gdb,socketport): Set to "stdio".
10828 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10829 (stdio_gdbserver_template): Delete.
10830 (${board}_get_remote_address): Update.
10831 (${board}_build_remote_cmd): Delete.
10832 (${board}_get_comm_port): New function.
10833 (${board}_spawn): Update.
10834 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10836 (${board}_get_remote_address): Update.
10837 (${board}_get_comm_port): New function.
10839 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
10841 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10842 appearing in any order.
10844 2014-04-15 Doug Evans <dje@google.com>
10846 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10847 uninitialized value of "description".
10849 2014-04-15 Keith Seitz <keiths@redhat.com>
10851 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10852 Remove unused globals.
10853 (test_running_the_program): Likewise.
10854 (test_controlled_execution): Likewise.
10855 (test_controlling_breakpoints): Likewise.
10856 (test_program_termination): Likewise.
10858 2014-04-15 Keith Seitz <keiths@redhat.com>
10860 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10862 (test_rbreak_creation_and_listing): Likewise.
10863 (test_ignore_count): Likewise.
10864 (test_error): Likewise.
10866 2014-04-15 Pedro Alves <palves@redhat.com>
10868 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10869 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10871 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10872 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10873 to sym-file-loader.c.
10874 (struct library): Forward declare.
10875 (load_shlib, lookup_function): Change prototypes.
10876 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10877 (translate_offset): Remove declarations.
10878 (get_text_addr): New declaration.
10879 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10880 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10882 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10883 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10884 here from sym-file-loader.h.
10885 (struct library): New structure.
10886 (load_shlib, lookup_function): Change prototypes and adjust to
10887 work with a struct library.
10888 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10889 (translate_offset): Make static.
10890 (get_text_addr): New function.
10891 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
10893 2014-04-15 Pedro Alves <palves@redhat.com>
10895 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
10897 2014-04-15 Pedro Alves <palves@redhat.com>
10899 * gdb.base/sym-file-loader.c: Include <limits.h>.
10900 (SELF_LINK): New define.
10901 (get_origin): New function.
10902 (load_shlib): Use it.
10903 * gdb.base/sym-file.exp: Don't early return if the target is
10904 remote. Use runto_main, and issue fail is that fails. Use
10906 (shlib_name): Delete.
10907 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
10909 2014-04-15 Pedro Alves <palves@redhat.com>
10911 * gdb.base/sym-file.exp: Remove regex characters from test
10912 message. Don't refer to breakpoint numbers in test messages.
10914 2014-04-14 Keith Seitz <keiths@redhat.com>
10917 * gdb.cp/var-tag.cc: New file.
10918 * gdb.cp/var-tag.exp: New file.
10919 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10920 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10921 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10922 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10924 2014-04-14 Tom Tromey <tromey@redhat.com>
10926 * gdb.cp/classes.exp (test_enums): Handle underlying type.
10927 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
10929 * gdb.cp/enum-class.exp: New file.
10930 * gdb.cp/enum-class.cc: New file.
10932 2014-04-14 Tom Tromey <tromey@redhat.com>
10934 * gdb.dwarf2/enum-type.exp: New file.
10936 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10938 * gdb.mi/mi-vla-c99.exp: New file.
10939 * gdb.mi/vla.c: New file.
10941 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10943 * gdb.base/vla-datatypes.c: New file.
10944 * gdb.base/vla-datatypes.exp: New file.
10946 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10948 * gdb.base/vla-ptr.c: New file.
10949 * gdb.base/vla-ptr.exp: New file.
10951 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10953 * gdb.dwarf2/count.exp: New file.
10955 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10957 * gdb.base/vla-sideeffect.c: New file.
10958 * gdb.base/vla-sideeffect.exp: New file.
10960 2014-04-14 David Blaikie <dblaikie@gmail.com>
10962 * gdb.mi/non-stop.c: Add return value for non-void function return
10964 * gdb.threads/staticthreads.c: Ditto.
10966 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
10967 Doug Evans <xdje42@gmail.com>
10969 * gdb.guile/scm-value.c: Improve test case.
10970 * gdb.guile/scm-value.exp: Add new test.
10972 2014-04-11 David Blaikie <dblaikie@gmail.com>
10974 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
10975 override Clang's default.
10977 2014-04-11 Joel Brobecker <brobecker@adacore.com>
10979 Revert the following changes (regressions):
10981 * gdb.base/vla-sideeffect.c: New file.
10982 * gdb.base/vla-sideeffect.exp: New file.
10984 * gdb.dwarf2/count.exp: New file.
10986 * gdb.base/vla-multi.c: New file.
10987 * gdb.base/vla-multi.exp: New file.
10989 * gdb.base/vla-ptr.c: New file.
10990 * gdb.base/vla-ptr.exp: New file.
10992 * gdb.base/vla-datatypes.c: New file.
10993 * gdb.base/vla-datatypes.exp: New file.
10995 * gdb.mi/mi-vla-c99.exp: New file.
10996 * gdb.mi/vla.c: New file.
10998 2014-04-11 Keith Seitz <keiths@redhat.com>
11001 * gdb.cp/cpsizeof.exp: New file.
11002 * gdb.cp/cpsizeof.cc: New file.
11004 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11006 * gdb.mi/mi-vla-c99.exp: New file.
11007 * gdb.mi/vla.c: New file.
11009 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11011 * gdb.base/vla-datatypes.c: New file.
11012 * gdb.base/vla-datatypes.exp: New file.
11014 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11016 * gdb.base/vla-ptr.c: New file.
11017 * gdb.base/vla-ptr.exp: New file.
11019 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11021 * gdb.base/vla-multi.c: New file.
11022 * gdb.base/vla-multi.exp: New file.
11024 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11026 * gdb.dwarf2/count.exp: New file.
11028 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11030 * gdb.base/vla-sideeffect.c: New file.
11031 * gdb.base/vla-sideeffect.exp: New file.
11033 2014-04-11 Yao Qi <yao@codesourcery.com>
11035 * gdb.base/completion.exp: Check file exists before running tests
11036 on file completion.
11038 2014-04-10 Pedro Alves <palves@redhat.com>
11040 * gdb.base/cond-eval-mode.c: New file.
11041 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
11042 prepare_for_testing to build the new file. Check result of
11044 (test_break, test_watch): New procedures.
11045 (top level): Use them.
11047 2014-04-08 Pierre Muller <muller@sourceware.org>
11049 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
11050 Ctrl-V use for mingw hosts.
11052 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
11054 * gdb.python/py-value.c: Improve test case.
11055 * gdb.python/py-value.exp: Add new test.
11057 2014-04-07 David Blaikie <dblaikie@gmail.com>
11059 * lib/compiler.c: Identify the clang compiler.
11060 * lib/compiler.cc: Ditto.
11062 2014-04-03 Yao Qi <yao@codesourcery.com>
11064 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
11066 2014-04-01 Anton Blanchard <anton@samba.org>
11068 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
11071 2014-04-01 Anton Blanchard <anton@samba.org>
11073 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
11074 prepare_for_testing.
11076 2014-04-01 Anton Blanchard <anton@samba.org>
11078 * gdb.arch/ppc64-atomic-inst.c: Remove.
11079 * gdb.arch/ppc64-atomic-inst.S: New file.
11080 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
11082 2014-03-31 Doug Evans <dje@google.com>
11084 * gdb.base/print-symbol-loading-lib.c: New file.
11085 * gdb.base/print-symbol-loading-main.c: New file.
11086 * gdb.base/print-symbol-loading.exp: New file.
11088 2014-03-31 Yao Qi <yao@codesourcery.com>
11090 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
11092 2014-03-28 Joel Brobecker <brobecker@adacore.com>
11094 * gdb.ada/mi_dyn_arr: New testcase.
11096 2014-03-27 Doug Evans <dje@google.com>
11098 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
11100 2014-03-27 Yao Qi <yao@codesourcery.com>
11102 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
11103 if target is nios2-*-*.
11105 2014-03-26 Yao Qi <yao@codesourcery.com>
11107 * lib/gdb.exp (readline_is_used): New proc.
11108 * gdb.base/completion.exp: Move tests on command complete up.
11109 Skip the rest of tests if readline is not used.
11110 * gdb.ada/complete.exp: Skp the test if readline is not
11112 * gdb.base/filesym.exp: Likewise.
11113 * gdb.base/macscp.exp: Likewise.
11114 * gdb.base/readline-ask.exp: Likewise.
11115 * gdb.base/readline.exp: Likewise.
11116 * gdb.python/py-cmd.exp: Likewise.
11117 * gdb.trace/tfile.exp: Likewise.
11119 2014-03-26 Yao Qi <yao@codesourcery.com>
11121 * gdb.base/macscp.exp: Fix code format issues.
11123 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
11125 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
11126 * gdb.asm/powerpc64le.inc: New file.
11128 2014-03-25 Pedro Alves <palves@redhat.com>
11129 Doug Evans <dje@google.com>
11131 * gdb.base/source-execution.c: New file.
11132 * gdb.base/source-execution.exp: New file.
11133 * gdb.base/source-execution.gdb: New file.
11135 2014-03-24 Doug Evans <dje@google.com>
11137 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
11140 2014-03-24 Hui Zhu <hui@codesourcery.com>
11141 Pedro Alves <palves@redhat.com>
11143 PR breakpoints/16101
11144 * gdb.base/dprintf.exp: Use unsupported rather than changing the
11145 test pass/fail messages. Detect missing support for dprintf when
11146 breakpoints are actually inserted.
11147 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
11148 breakpoints are actually inserted.
11149 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
11152 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11154 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
11156 2014-03-22 Doug Evans <xdje42@gmail.com>
11158 * gdb.python/python.exp (python not supported): Verify multi-line
11159 python command issues an error.
11160 * gdb.guile/guile.exp (guile not supported): Verify multi-line
11161 guile command issues an error.
11163 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
11165 * gdb.threads/thread-specific.exp: Handle the lack of usable
11166 $this_breakpoint and $this_thread.
11168 2014-03-21 Hui Zhu <hui@codesourcery.com>
11170 * gdb.base/attach.exp (do_command_attach_tests): New.
11172 2014-03-20 Tom Tromey <tromey@redhat.com>
11173 Pedro Alves <palves@redhat.com>
11176 * gdb.base/condbreak-call-false.c: New file.
11177 * gdb.base/condbreak-call-false.exp: New file.
11179 2014-03-20 Pedro Alves <palves@redhat.com>
11181 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
11183 (block_signals, unblock_signals): Delete.
11184 (child_function_2, main): Remove references to deleted variable
11187 2014-03-20 Pedro Alves <palves@redhat.com>
11189 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
11190 Use pthread_kill to signal thread 2.
11191 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11192 Adjust to make the test send itself a signal rather than using the
11193 host's "kill" command.
11195 2014-03-20 Pedro Alves <palves@redhat.com>
11197 * gdb.threads/multiple-step-overs.c: New file.
11198 * gdb.threads/multiple-step-overs.exp: New file.
11199 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11200 Adjust expected infrun debug output.
11202 2014-03-20 Pedro Alves <palves@redhat.com>
11204 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
11205 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
11207 2014-03-20 Pedro Alves <palves@redhat.com>
11209 PR breakpoints/7143
11210 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
11211 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
11212 of gdb_test_multiple.
11213 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
11214 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
11216 2014-03-20 Pedro Alves <palves@redhat.com>
11218 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
11219 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
11221 2014-03-19 Pedro Alves <palves@redhat.com>
11223 * gdb.base/async.exp: Remove early return.
11225 2014-03-19 Pedro Alves <palves@redhat.com>
11227 * gdb.base/async.exp (step& tests): Pass explicit test messages.
11229 2014-03-19 Pedro Alves <palves@redhat.com>
11231 * gdb.base/async.exp (test_background): Expect \r\n after
11232 "completed." in the fail pattern.
11234 2014-03-19 Pedro Alves <palves@redhat.com>
11236 * gdb.base/async.exp (test_background): New procedure.
11237 Use it for all background execution command tests.
11239 2014-03-19 Pedro Alves <palves@redhat.com>
11241 * gdb.base/async.exp: Use prepare_for_testing.
11243 2014-03-19 Pedro Alves <palves@redhat.com>
11245 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
11248 2014-03-19 Pedro Alves <palves@redhat.com>
11250 * gdb.base/async.c (main): Add "jump here" and "until here" line
11252 * gdb.base/async.exp (jump_here): New global.
11253 (jump& test): Use it.
11254 (until_here): New global.
11255 (until& test): Use it.
11257 2014-03-19 Pedro Alves <palves@redhat.com>
11259 * gdb.base/async.exp: Don't frob gdb_protocol.
11261 2014-03-18 Doug Evans <xdje42@gmail.com>
11263 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
11264 Fix spelling of exec-done-display.
11266 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
11269 * gdb.base/gdb-sigterm.c: New file.
11270 * gdb.base/gdb-sigterm.exp: New file.
11272 2014-03-18 Pedro Alves <palves@redhat.com>
11275 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
11276 * lib/mi-support.exp (mi_expect_stop): Add special handling for
11279 2014-03-17 Joel Brobecker <brobecker@adacore.com>
11281 * gdb.ada/pckd_arr_ren: New testcase.
11283 2014-03-13 Doug Evans <xdje42@gmail.com>
11286 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
11287 collect after discarding symbols.
11289 2014-03-13 Ludovic Courtès <ludo@gnu.org>
11290 Doug Evans <xdje42@gmail.com>
11292 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
11293 to history survives a gc.
11295 2014-03-13 Pedro Alves <palves@redhat.com>
11297 * gdb.base/default.exp: Don't test "target procfs".
11299 2014-03-13 Pedro Alves <palves@redhat.com>
11301 * gdb.base/default.exp: Update "target child" and "target procfs"
11302 tests to not expect "Unix".
11304 2014-03-12 Tom Tromey <tromey@redhat.com>
11306 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
11307 New procs. Add target-async tests.
11308 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
11309 Add target-async tests.
11311 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11313 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
11314 'func_start' and 'func_end' for the beginning and end of the
11315 function code, respectively.
11316 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
11317 'func_end' instead of 'func' and 'main'.
11319 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11321 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
11322 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
11323 generate the debug info assembler source.
11325 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11327 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
11328 * gdb.dwarf2/arr-subrange.exp: Likewise.
11329 * gdb.dwarf2/dwz.exp: Likewise.
11330 * gdb.dwarf2/method-ptr.exp: Likewise.
11331 * gdb.dwarf2/missing-sig-type.exp: Likewise.
11332 * gdb.dwarf2/subrange.exp: Likewise.
11333 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
11334 * gdb.dwarf2/implptrpiece.exp: Likewise.
11335 * gdb.dwarf2/nostaticblock.exp: Likewise.
11337 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11339 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
11340 directory to absolute path name arguments.
11342 2014-03-10 Joel Brobecker <brobecker@adacore.com>
11344 * gdb.ada/tagged_access: New testcase.
11346 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
11348 * gdb.btrace/data.exp: Update expected output.
11350 2014-03-06 Yao Qi <yao@codesourcery.com>
11352 * gdb.trace/pr16508.exp: New file.
11354 2014-03-05 Pedro Alves <palves@redhat.com>
11357 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
11359 (top level): Adjust to use it. Add tests that exercise breakpoint
11360 interaction with the code-cache.
11362 2014-02-26 Ludovic Courtès <ludo@gnu.org>
11364 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
11365 test for 'history-append!'.
11367 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11369 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
11370 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
11371 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
11372 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
11373 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
11374 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
11376 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11378 * testsuite/gdb.python/py-pp-re-notag.c: New file.
11379 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
11380 * testsuite/gdb.python/py-pp-re-notag.p: New file.
11382 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11384 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
11386 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11388 * gdb.dwarf2/arr-stride.c: New file.
11389 * gdb.dwarf2/arr-stride.exp: New file.
11391 2014-02-26 Pedro Alves <palves@redhat.com>
11393 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
11394 that won't ever trigger. Make sure that GDB reports the correct
11395 breakpoint that caused the stop.
11397 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11400 * gdb.base/auto-load-script: New file.
11401 * gdb.base/auto-load.c: New file.
11402 * gdb.base/auto-load.exp: New file.
11405 * gdb.base/auto-load.exp: Fix out-of-srctree run.
11407 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11409 Fix dw2-icycle.exp -fsanitize=address GDB crash.
11410 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
11412 2014-02-24 Doug Evans <dje@google.com>
11414 * lib/gdb.exp (run_on_host): Log error output if program fails.
11416 2014-02-21 Pedro Alves <palves@redhat.com>
11418 * gdb.threads/step-after-sr-lock.c: Rename to ...
11419 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
11420 * gdb.threads/step-after-sr-lock.exp: Rename to ...
11421 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11424 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
11427 * gdb.arch/amd64-stap-special-operands.exp: New file.
11428 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
11429 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
11430 * gdb.arch/amd64-stap-triplet.S: Likewise.
11431 * gdb.arch/amd64-stap-triplet.c: Likewise.
11433 2014-02-20 Joel Brobecker <brobecker@adacore.com>
11435 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
11436 in .section pseudo-op.
11438 2014-02-20 lin zuojian <manjian2006@gmail.com>
11439 Joel Brobecker <brobecker@adacore.com>
11440 Doug Evans <xdje42@gmail.com>
11443 * gdb.dwarf2/dw2-icycle.S: New file.
11444 * gdb.dwarf2/dw2-icycle.c: New file.
11445 * gdb.dwarf2/dw2-icycle.exp: New file.
11447 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
11449 * gdb.python/py-value-cc.cc: Improve test case to enable testing
11450 operations on gdb.Value objects.
11451 * gdb.python/py-value-cc.exp: Add new test to test operations on
11454 2014-02-18 Doug Evans <dje@google.com>
11456 * Makefile.in (TESTS): New variable.
11457 (expanded_tests, expanded_tests_or_none): New variables
11458 (check-single): Pass $(expanded_tests_or_none) to runtest.
11459 (check-parallel): Only run tests in $(TESTS) if non-empty.
11460 (check/no-matching-tests-found): New rule.
11461 * README: Document TESTS makefile variable.
11463 2014-02-18 Doug Evans <dje@google.com>
11465 * Makefile.in (check-parallel): rm -rf outputs temp.
11467 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11469 Fix "ERROR: no fileid for" in the testsuite.
11470 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
11472 2014-02-12 Doug Evans <dje@google.com>
11474 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
11475 (MISCELLANEOUS): New variable.
11476 (clean): rm -rf $(MISCELLANEOUS).
11477 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
11478 dwp live in the same directory as symlinks, with each symlink pointed
11479 to a differently named file in a different directory.
11481 2014-02-11 Doug Evans <dje@google.com>
11483 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
11484 of Tcl file commands.
11486 2014-02-10 Mark Kettenis <kettenis@gnu.org>
11488 * gdb.threads/step-after-sr-lock.exp: Avoid executing
11489 "kill -SIGUSR1 -1".
11491 2014-02-10 Joel Brobecker <brobecker@adacore.com>
11493 * gdb.ada/tick_length_array_enum_idx: New testcase.
11495 2014-02-10 Doug Evans <xdje42@gmail.com>
11497 * configure.ac (AC_OUTPUT): Add gdb.guile.
11498 * configure: Regenerate.
11499 * lib/gdb-guile.exp: New file.
11500 * lib/gdb.exp (get_target_charset): New function.
11501 * gdb.base/help.exp: Update expected output from "apropos apropos".
11502 * gdb.guile/Makefile.in: New file.
11503 * gdb.guile/guile.exp: New file.
11504 * gdb.guile/scm-arch.c: New file.
11505 * gdb.guile/scm-arch.exp: New file.
11506 * gdb.guile/scm-block.c: New file.
11507 * gdb.guile/scm-block.exp: New file.
11508 * gdb.guile/scm-breakpoint.c: New file.
11509 * gdb.guile/scm-breakpoint.exp: New file.
11510 * gdb.guile/scm-disasm.c: New file.
11511 * gdb.guile/scm-disasm.exp: New file.
11512 * gdb.guile/scm-equal.c: New file.
11513 * gdb.guile/scm-equal.exp: New file.
11514 * gdb.guile/scm-error.exp: New file.
11515 * gdb.guile/scm-error.scm: New file.
11516 * gdb.guile/scm-frame-args.c: New file.
11517 * gdb.guile/scm-frame-args.exp: New file.
11518 * gdb.guile/scm-frame-args.scm: New file.
11519 * gdb.guile/scm-frame-inline.c: New file.
11520 * gdb.guile/scm-frame-inline.exp: New file.
11521 * gdb.guile/scm-frame.c: New file.
11522 * gdb.guile/scm-frame.exp: New file.
11523 * gdb.guile/scm-generics.exp: New file.
11524 * gdb.guile/scm-gsmob.exp: New file.
11525 * gdb.guile/scm-iterator.c: New file.
11526 * gdb.guile/scm-iterator.exp: New file.
11527 * gdb.guile/scm-math.c: New file.
11528 * gdb.guile/scm-math.exp: New file.
11529 * gdb.guile/scm-objfile-script-gdb.in: New file.
11530 * gdb.guile/scm-objfile-script.c: New file.
11531 * gdb.guile/scm-objfile-script.exp: New file.
11532 * gdb.guile/scm-objfile.c: New file.
11533 * gdb.guile/scm-objfile.exp: New file.
11534 * gdb.guile/scm-ports.exp: New file.
11535 * gdb.guile/scm-pretty-print.c: New file.
11536 * gdb.guile/scm-pretty-print.exp: New file.
11537 * gdb.guile/scm-pretty-print.scm: New file.
11538 * gdb.guile/scm-section-script.c: New file.
11539 * gdb.guile/scm-section-script.exp: New file.
11540 * gdb.guile/scm-section-script.scm: New file.
11541 * gdb.guile/scm-symbol.c: New file.
11542 * gdb.guile/scm-symbol.exp: New file.
11543 * gdb.guile/scm-symtab-2.c: New file.
11544 * gdb.guile/scm-symtab.c: New file.
11545 * gdb.guile/scm-symtab.exp: New file.
11546 * gdb.guile/scm-type.c: New file.
11547 * gdb.guile/scm-type.exp: New file.
11548 * gdb.guile/scm-value-cc.cc: New file.
11549 * gdb.guile/scm-value-cc.exp: New file.
11550 * gdb.guile/scm-value.c: New file.
11551 * gdb.guile/scm-value.exp: New file.
11552 * gdb.guile/source2.scm: New file.
11553 * gdb.guile/types-module.cc: New file.
11554 * gdb.guile/types-module.exp: New file.
11556 2014-02-10 Yao Qi <yao@codesourcery.com>
11559 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
11560 * configure: Regenerated.
11561 * Makefile.in: New file.
11563 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11565 * gdb.python/py-framefilter.exp: Fix typo.
11567 2014-02-08 Yao Qi <yao@codesourcery.com>
11569 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
11570 that no =breakpoint-modified is emitted when breakpoints are
11571 modified through MI commands.
11573 2014-02-07 Pedro Alves <pedro@codesourcery.com>
11574 Pedro Alves <palves@redhat.com>
11576 * gdb.threads/step-after-sr-lock.c: New file.
11577 * gdb.threads/step-after-sr-lock.exp: New file.
11579 2014-02-07 Pedro Alves <palves@redhat.com>
11581 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
11583 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11585 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
11586 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
11588 2014-02-06 Doug Evans <xdje42@gmail.com>
11590 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
11593 * gdb.gdb/python-interrupts.exp: New file.
11595 2014-02-05 Yao Qi <yao@codesourcery.com>
11597 * gdb.trace/report.exp (use_collected_data): Test the output
11598 of "info threads" and "info inferiors".
11600 2014-02-05 Yao Qi <yao@codesourcery.com>
11604 2013-05-24 Yao Qi <yao@codesourcery.com>
11606 * gdb.trace/tfile.exp: Test inferior and thread.
11608 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11610 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
11612 * gdb.base/step-bt.c: Call hello via function pointer to make
11613 sure its first instruction is executed on powerpc64le-linux.
11615 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11617 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
11619 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11621 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
11622 of the test patterns for use on little-endian systems.
11624 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11626 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
11627 (decimal_vector): Fix for little-endian.
11629 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11631 * gdb.arch/sparc-sysstep.exp: New file.
11632 * gdb.arch/sparc-sysstep.c: Likewise.
11634 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
11636 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11638 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
11640 2014-01-23 Tom Tromey <tromey@redhat.com>
11642 * gdb.ada/array_char_idx: New testcase.
11644 2014-01-23 Tom Tromey <tromey@redhat.com>
11647 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
11648 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
11651 2014-01-23 Tom Tromey <tromey@redhat.com>
11654 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
11655 string from an inferior frame.
11656 * gdb.python/py-framefilter-mi.exp: Update.
11658 2014-01-22 Doug Evans <dje@google.com>
11660 * gdb.server/server-mon.exp: Add tests for "set debug-format".
11662 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11664 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
11666 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11668 * gdb.trace/entry-values.exp: Remove excess space character from
11669 regex patterns. Handle s390 call instruction.
11671 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11673 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
11674 define "*_start" label. Make "name" static.
11675 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
11676 ${name} by references to ${name}_start.
11678 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11680 * gdb.base/info-macros.exp: Remove "debug" from the compile
11683 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11685 * gdb.dlang/demangle.exp: New file.
11687 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11689 * gdb.dlang/primitive-types.exp: New file.
11691 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11693 * configure.ac: Create gdb.dlang/Makefile.
11694 * configure: Regenerate.
11695 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
11696 * gdb.dlang/Makefile.in: New file.
11697 * lib/d-support.exp: New file.
11698 * lib/gdb.exp (skip_d_tests): New proc.
11700 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11702 * gdb.btrace/delta.exp: Check reverse stepi.
11703 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
11704 * gdb.btrace/finish.exp: New.
11705 * gdb.btrace/next.exp: New.
11706 * gdb.btrace/nexti.exp: New.
11707 * gdb.btrace/record_goto.c: Add comments.
11708 * gdb.btrace/step.exp: New.
11709 * gdb.btrace/stepi.exp: New.
11710 * gdb.btrace/multi-thread-step.c: New.
11711 * gdb.btrace/multi-thread-step.exp: New.
11712 * gdb.btrace/rn-dl-bind.c: New.
11713 * gdb.btrace/rn-dl-bind.exp: New.
11714 * gdb.btrace/data.c: New.
11715 * gdb.btrace/data.exp: New.
11716 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11718 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11720 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
11721 * gdb.btrace/exception.exp: Update.
11722 * gdb.btrace/instruction_history.exp: Update.
11723 * gdb.btrace/record_goto.exp: Update.
11724 * gdb.btrace/tailcall.exp: Update.
11725 * gdb.btrace/unknown_functions.exp: Update.
11726 * gdb.btrace/delta.exp: New.
11728 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11730 * gdb.btrace/record_goto.exp: Add backtrace test.
11731 * gdb.btrace/tailcall.exp: Add backtrace test.
11733 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11735 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
11736 * gdb.btrace/record_goto.c: New.
11737 * gdb.btrace/record_goto.exp: New.
11738 * gdb.btrace/x86-record_goto.S: New.
11740 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11742 * gdb.btrace/function_call_history.exp: Update tests.
11743 * gdb.btrace/instruction_history.exp: Update tests.
11745 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11747 * gdb.btrace/function_call_history.exp: Fix expected field
11748 order for "record function-call-history".
11749 Add new tests for "record function-call-history /c".
11750 * gdb.btrace/exception.cc: New.
11751 * gdb.btrace/exception.exp: New.
11752 * gdb.btrace/tailcall.exp: New.
11753 * gdb.btrace/x86-tailcall.S: New.
11754 * gdb.btrace/x86-tailcall.c: New.
11755 * gdb.btrace/unknown_functions.c: New.
11756 * gdb.btrace/unknown_functions.exp: New.
11757 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11759 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11761 * gdb.btrace/instruction_history.exp: Update.
11762 * gdb.btrace/function_call_history.exp: Update.
11764 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11766 * gdb.btrace/function_call_history.exp: Fix expected function
11768 * gdb.btrace/instruction_history.exp: Initialize traced.
11769 Remove traced_functions.
11771 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11773 * gdb.btrace/function_call_history.exp: Update
11774 * gdb.btrace/instruction_history.exp: Update.
11776 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11778 * gdb.btrace/enable.exp: Update expected text.
11780 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
11782 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
11785 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
11787 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
11789 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11791 * lib/gdb.exp (supports_process_record): Return true for
11792 arm*-linux*. (supports_reverse): Likewise.
11794 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11798 * gdb.python/py-type.c: Enhance test case.
11799 * gdb.python/py-value-cc.cc: Likewise
11800 * gdb.python/py-type.exp: Add new tests.
11801 * gdb.python/py-value-cc.exp: Likewise
11803 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11804 Pedro Alves <palves@redhat.com>
11806 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11807 Make "name" extern.
11808 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11809 references to ${name}_start by references to ${name}.
11811 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11813 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11815 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11817 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11819 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11820 Pedro Alves <palves@redhat.com>
11822 * gdb.mi/mi-info-os.exp: Connect to the target with
11823 mi_gdb_target_load.
11825 2014-01-08 Pedro Alves <palves@redhat.com>
11827 * gdb.threads/reconnect-signal.c: New file.
11828 * gdb.threads/reconnect-signal.exp: New file.
11830 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11832 * gdb.base/source-dir.exp: New file.
11834 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11836 * gdb.ada/mi_interface: New testcase.
11838 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11840 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11841 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11842 gdb.ada/pp-rec-component/pck.ads: New files.
11844 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11846 * gdb.python/py-pp-integral.c: New file.
11847 * gdb.python/py-pp-integral.py: New file.
11848 * gdb.python/py-pp-integral.exp: New file.
11850 For older changes see ChangeLog-1993-2013.
11852 ;; Local Variables:
11853 ;; mode: change-log
11856 ;; version-control: never
11859 Copyright 2014-2017 Free Software Foundation, Inc.
11860 Copying and distribution of this file, with or without modification,
11861 are permitted provided the copyright notice and this notice are preserved.