1 2017-09-04 Pedro Alves <palves@redhat.com>
3 * gdb.base/callfuncs.exp (do_function_calls): New parameter
4 "prototypes". Test calling float functions via prototyped and
5 unprototyped function pointers.
6 (perform_all_tests): New parameter "prototypes". Pass it down.
7 (top level): Pass down "prototypes" parameter to
10 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
12 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
13 Test with nested loops.
15 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
17 * gdb.base/commands.exp: Call the new procedures.
18 (loop_break_test, loop_continue_test): New procedures.
20 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
22 * gdb.base/commands.exp: Call new procedure.
23 (define_if_without_arg_test): New procedure.
25 2017-09-04 Pedro Alves <palves@redhat.com>
27 * gdb.base/list-ambiguous.exp: New file.
28 * gdb.base/list-ambiguous0.c: New file.
29 * gdb.base/list-ambiguous1.c: New file.
30 * gdb.base/list.exp (test_list_range): Adjust expected output.
32 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
34 * gdb.base/share-env-with-gdbserver.c: New file.
35 * gdb.base/share-env-with-gdbserver.exp: Likewise.
37 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
39 * gdb.base/commands.exp (gdbvar_simple_if_test,
40 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
41 progvar_simple_if_test, progvar_simple_while_test,
42 progvar_complex_if_while_test, user_defined_command_test,
43 user_defined_command_args_eval,
44 user_defined_command_args_stack_test,
45 user_defined_command_manyargs_test, bp_deleted_in_command_test,
46 temporary_breakpoint_commands,
47 gdb_test_no_prompt, redefine_hook_test,
48 redefine_backtrace_test): Remove "global gdb_prompt".
50 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
52 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
53 New proc, call it from toplevel.
55 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
58 * gdb.server/normal.c: New file, copied from gdb.base.
59 * gdb.server/run-without-local-binary.exp: New file.
61 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
63 * gdb.arch/sparc64-adi.exp: New file.
64 * gdb.arch/sparc64-adi.c: New file.
66 2017-08-22 Pedro Alves <palves@redhat.com>
68 * gdb.cp/overload.exp (line_range_pattern): New procedure.
69 (top level): Add "list all overloads" tests.
71 2017-08-22 Tom Tromey <tom@tromey.com>
73 * gdb.gdb/xfullpath.exp: Remove.
75 2017-08-21 Pedro Alves <palves@redhat.com>
78 * gdb.base/symbol-alias.c: New.
79 * gdb.base/symbol-alias2.c: New.
80 * gdb.base/symbol-alias.exp: New.
82 2017-08-21 Pedro Alves <palves@redhat.com>
85 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
86 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
87 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
88 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
89 * gdb.base/whatis-ptype-typedefs.c: New.
90 * gdb.base/whatis-ptype-typedefs.exp: New.
91 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
92 (an_int, an_int_type, an_int_type2): New globals.
93 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
94 involving typedefs and cast expressions.
95 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
96 (lookup_typedefs_function): New.
97 (typedefs_pretty_printers_dict): New.
98 (top level): Register lookup_typedefs_function in
101 2017-08-18 Yao Qi <yao.qi@linaro.org>
103 * gdb.server/unittest.exp: New.
105 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
108 * gdb.base/environ.exp: Add test to check if 'unset environment'
111 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
113 * lib/gdb.exp (universal_compile_options): New caching proc.
114 (gdb_compile): Suppress GCC's coloring of messages.
116 2017-08-14 Tom Tromey <tom@tromey.com>
119 * gdb.base/printcmds.exp (test_radices): New function.
120 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
121 * gdb.base/sizeof.exp (check_valueof): Use p/d.
122 * lib/gdb.exp (get_integer_valueof): Use p/d.
124 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
126 * lib/gdb.exp (get_valueof): Don't capture end-of-line
129 2017-08-05 Tom Tromey <tom@tromey.com>
131 * gdb.rust/simple.exp: Allow String to appear in a different
134 2017-07-26 Yao Qi <yao.qi@linaro.org>
136 * gdb.gdb/unittest.exp: Invoke command
137 "maintenance check xml-descriptions".
139 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
141 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
143 (hex128): Drop erroneous calculation of parameters.
145 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
147 * gdb.python/py-unwind.exp: Disable stack protection when
150 2017-07-20 Pedro Alves <palves@redhat.com>
152 * gdb.base/default.exp (set language): Adjust expected output.
154 2017-07-20 Pedro Alves <palves@redhat.com>
156 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
157 (test_minsym): ... this, and make static.
158 (get_pck__foo__bar__minsym): Rename to ...
159 (get_test_minsym): ... this.
160 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
161 symbol names and comments.
162 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
163 (get_test_minsym): ... this.
164 (pck__foo__bar__minsym__2): Rename to ...
165 (test_minsym): ... this.
168 2017-07-17 Pedro Alves <palves@redhat.com>
170 * gdb.base/completion.exp: Adjust expected output.
171 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
174 2017-07-17 Pedro Alves <palves@redhat.com>
176 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
178 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
180 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
182 2017-07-14 Tom Tromey <tom@tromey.com>
185 * gdb.rust/simple.exp: Add tests.
187 2017-07-14 Tom Tromey <tom@tromey.com>
189 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
191 2017-07-14 Pedro Alves <palves@redhat.com>
193 * gdb.linespec/base/one/thefile.cc (z1): New function.
194 * gdb.linespec/base/two/thefile.cc (z2): New function.
195 * gdb.linespec/linespec.exp: Add tests.
197 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
199 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
200 to mi_create_breakpoint.
202 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
204 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
205 mi_create_breakpoint.
207 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
209 * gdb.dlang/demangle.exp: Update for demangling changes.
211 2017-07-09 Tom Tromey <tom@tromey.com>
213 * gdb.dwarf2/shortpiece.exp: New file.
215 2017-07-06 David Blaikie <dblaikie@gmail.com>
217 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
218 built from fissiont-multi-cu{1,2}.c.
219 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
220 except putting 'main' and 'func' in separate CUs in the same DWO file.
221 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
223 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
226 2017-07-06 Pedro Alves <palves@redhat.com>
228 * gdb.python/py-unwind.exp: Test flushregs.
230 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
233 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
234 tests for alias commands and trailing whitespace.
236 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
239 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
242 2017-06-29 Pedro Alves <palves@redhat.com>
244 * gdb.base/printcmds.exp: Add tests.
246 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
249 * gdb.base/reread-readsym.exp: New file.
250 * gdb.base/reread-readsym.c: New file.
252 2017-06-21 Kevin Buettner <kevinb@redhat.com>
254 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
257 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
259 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
261 * gdb.arch/powerpc-power9.s: Likewise.
263 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
265 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
266 on 32-bit x86 targets. Exploit is_*_target macros where
269 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
271 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
274 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
276 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
277 located in one or more DWARF pieces.
279 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
281 * lib/gdb.exp (get_endianness): New proc.
282 * gdb.arch/aarch64-fp.exp: Use it.
283 * gdb.arch/altivec-regs.exp: Likewise.
284 * gdb.arch/e500-regs.exp: Likewise.
285 * gdb.arch/vsx-regs.exp: Likewise.
286 * gdb.base/dump.exp: Likewise.
287 * gdb.base/funcargs.exp: Likewise.
288 * gdb.base/gnu_vector.exp: Likewise.
289 * gdb.dwarf2/formdata16.exp: Likewise.
290 * gdb.dwarf2/implptrpiece.exp: Likewise.
291 * gdb.dwarf2/nonvar-access.exp: Likewise.
292 * gdb.python/py-inferior.exp: Likewise.
293 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
295 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
298 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
299 stack value pieces are taken from the LSB end.
301 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
303 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
304 variable at nonzero offset.
306 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
308 * gdb.dwarf2/var-access.c: New file.
309 * gdb.dwarf2/var-access.exp: New test.
310 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
312 2017-06-12 Tom Tromey <tom@tromey.com>
314 * gdb.dwarf2/formdata16.exp: Add tests.
316 2017-06-12 Tom Tromey <tom@tromey.com>
318 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
320 2017-06-12 Tom Tromey <tom@tromey.com>
323 * gdb.reverse/i386-sse-reverse.exp: Update tests.
324 * gdb.arch/vsx-regs.exp: Update tests.
325 * gdb.arch/s390-vregs.exp (hex128): New proc.
327 * gdb.arch/altivec-regs.exp: Update tests.
329 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
331 * gdb.base/startup-with-shell.c: New file.
332 * gdb.base/startup-with-shell.exp: Likewise.
334 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
336 * gdb.server/non-existing-program.exp: Update regex in order to
337 reflect the fact that gdbserver is now using fork_inferior (with a
338 shell) to startup the inferior.
340 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
342 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
343 support function calls from GDB.
345 2017-05-21 Tom Tromey <tom@tromey.com>
348 * gdb.rust/unsized.exp: New file.
349 * gdb.rust/unsized.rs: New file.
351 2017-05-19 Tom Tromey <tom@tromey.com>
354 * gdb.rust/watch.exp: New file.
355 * gdb.rust/watch.rs: New file.
357 2017-05-18 Tom Tromey <tom@tromey.com>
359 * gdb.rust/simple.exp: Allow Box to be qualified.
361 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
363 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
365 2017-05-18 Pedro Alves <palves@redhat.com>
367 * gdb.base/fileio.c (test_write, test_read, test_close)
368 (test_fstat): Don't print 'ret' in the fail path.
370 2017-05-18 Pedro Alves <palves@redhat.com>
372 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
373 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
374 (test_system, test_rename, test_unlink, test_time): Change
376 * gdb.base/fileio.exp (stop_msg): Adjust.
378 2017-05-18 Pedro Alves <palves@redhat.com>
380 * gdb.base/fileio.c (null_str): New global.
382 * gdb.base/fileio.exp: Remove nowarnings.
384 2017-05-17 Yao Qi <yao.qi@linaro.org>
386 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
388 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
390 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
392 (top-level): Invoke test_set_inferior_tty.
394 2017-05-04 Pedro Alves <palves@redhat.com>
396 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
397 Add parens to print call for Python 3.
399 2017-05-03 Keith Seitz <keiths@redhat.com>
401 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
404 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
406 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
409 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
411 * gdb.python/py-record-btrace.exp: Remove test for
412 gdb.BtraceInstruction.error.
414 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
416 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
418 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
420 * gdb.python/py-record-btrace-threads.c: New file.
421 * gdb.python/py-record-btrace-threads.exp: New file.
423 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
426 * gdb.base/environ.exp: Make test available in all architectures.
427 Move bits related to "info program" testing to
428 gdb.base/info-program.exp. Rewrite tests to use the two new
429 procedures mentione below.
430 (test_set_show_env_var) New procedure.
431 (test_set_show_env_var_equal): Likewise.
432 * gdb.base/info-program.exp: New file.
434 2017-04-27 Keith Seitz <keiths@redhat.com>
436 * gdb.cp/oranking.cc (test15): New function.
437 (main): Call test15 and declare additional variables for testing.
438 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
439 "p foo101('abc')" tests.
440 Add tests for cv qualifier overloads.
441 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
442 "lvalue reference overload" test.
443 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
444 "print value of f1 on Child&& in f2" test.
446 2017-04-19 Pedro Alves <palves@redhat.com>
448 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
450 (top level): Call it.
451 * lib/gdb.exp (gdb_define_cmd): New procedure.
453 2017-04-12 Pedro Alves <palves@redhat.com>
456 * gdb.cp/wide_char_types.c: Include <wchar.h>.
458 * gdb.cp/wide_char_types.exp (wide_char_types_program)
459 (do_test_wide_char, wide_char_types_no_program, top level): Add
462 2017-04-12 Pedro Alves <palves@redhat.com>
465 * gdb.cp/wide_char_types.c: New file.
466 * gdb.cp/wide_char_types.exp: New file.
468 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
471 * gdb.trace/tsv.exp: Add test for "tsave -r".
473 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
475 * gdb.dlang/watch-loc.c: New file.
476 * gdb.dlang/watch-loc.exp: New file.
478 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
480 * gdb.python/py-section-script.exp (sepdebug): New testcases.
482 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
484 * gdb.arch/arc-analyze-prologue.S: New file.
485 * gdb.arch/arc-analyze-prologue.exp: Likewise.
487 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
489 * gdb.arch/arc-decode-insn.S: New file.
490 * gdb.arch/arc-decode-insn.exp: Likewise.
492 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
495 * gdb.arch/sparc64-regs.exp: New file.
496 * gdb.arch/sparc64-regs.S: Likewise.
498 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
500 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
501 and memory view on Python 3.
503 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
504 Keith Seitz <keiths@redhat.com>
507 * gdb.cp/demangle.exp: Add rvalue reference tests.
508 * gdb.cp/rvalue-ref-casts.cc: New file.
509 * gdb.cp/rvalue-ref-casts.exp: New file.
510 * gdb.cp/rvalue-ref-overload.cc: New file.
511 * gdb.cp/rvalue-ref-overload.exp: New file.
512 * gdb.cp/rvalue-ref-params.cc: New file.
513 * gdb.cp/rvalue-ref-params.exp: New file.
514 * gdb.cp/rvalue-ref-sizeof.cc: New file.
515 * gdb.cp/rvalue-ref-sizeof.exp: New file.
516 * gdb.cp/rvalue-ref-types.cc: New file.
517 * gdb.cp/rvalue-ref-types.exp: New file.
518 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
519 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
521 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
523 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
526 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
528 * lib/mi-support.exp (mi_gdb_test): Add additional message
529 for unexpected output.
531 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
533 * gdb.base/examine-backward.c (Barrier): New character array
534 constant, to ensure that TestStrings is preceded by a string
537 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
539 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
540 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
541 and implicit pointer into such a location.
543 2017-03-16 Doug Evans <dje@google.com>
545 * gdb.python/py-lazy-string (pointer): Really add new typedef.
547 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
549 * gdb.cp/m-static.exp: Fix expectation for prototype of
550 test5.single_constructor and single_constructor::single_constructor.
552 2017-03-16 Doug Evans <dje@google.com>
554 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
555 * gdb.guile/scm-lazy-string.c: New file.
556 * gdb.guile/scm-value.exp: Move lazy string tests to ...
557 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
558 for pointer, array, typedef lazy strings.
560 2017-03-16 Doug Evans <dje@google.com>
562 PR python/17728, python/18439, python/18779
563 * gdb.python/py-value.c (main) Delete locals sptr, sn.
564 * gdb.python/py-lazy-string.c (pointer): New typedef.
565 (main): New locals ptr, array, typedef_ptr.
566 * gdb.python/py-value.exp: Move lazy string tests to ...
567 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
568 array, typedef lazy strings.
570 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
572 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
573 Add optional 'test' parameter.
575 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
577 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
578 Skip for versions of DejaGnu < 1.5.
580 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
582 * lib/gdb.exp (dejagnu_version): New proc.
583 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
586 2017-03-10 Keith Seitz <keiths@redhat.com>
589 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
590 type from destructor regexps.
591 Add a branch which actually passes the test.
592 Adjust "ptype t5i" test names.
594 2017-03-08 Pedro Alves <palves@redhat.com>
596 * gdb.base/step-over-exit.exp: Add explicit test message.
598 2017-03-08 Pedro Alves <palves@redhat.com>
601 * gdb.threads/interrupt-while-step-over.c: New file.
602 * gdb.threads/interrupt-while-step-over.exp: New file.
604 2017-03-08 Pedro Alves <palves@redhat.com>
606 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
607 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
609 2017-03-08 Pedro Alves <palves@redhat.com>
611 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
612 PKRU as not supported as a PASS.
614 2017-03-08 Pedro Alves <palves@redhat.com>
616 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
617 prefix instead of $binfile1/$binfile2.
618 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
620 * gdb.python/py-completion.exp: Use "load python file" as test
621 messages instead of unstable path names.
623 2017-03-08 Pedro Alves <palves@redhat.com>
624 Jan Kratochvil <jan.kratochvil@redhat.com>
627 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
629 (top level): Call it.
631 2017-03-08 Pedro Alves <palves@redhat.com>
634 * gdb.tui/tui-nl-filtered-output.exp: New file.
636 2017-03-08 Pedro Alves <palves@redhat.com>
638 * gdb.base/completion.exp: Move TUI completion tests to ...
639 * gdb.tui/completion.exp: ... this new file.
641 2017-03-08 Pedro Alves <palves@redhat.com>
643 * gdb.base/tui-disasm-long-lines.c,
644 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
645 gdb.base/tui-layout.exp: Move to ...
646 * gdb.tui/: ... this new directory.
648 2017-03-07 Pedro Alves <palves@redhat.com>
650 * gdb.base/tui-layout.c: New file.
651 * gdb.base/tui-layout.exp: New file.
653 2017-03-07 Pedro Alves <palves@redhat.com>
655 * gdb.base/tui-layout.c: Rename to ...
656 * gdb.base/tui-disasm-long-lines.c: ... this.
657 * gdb.base/tui-layout.exp: Rename to ...
658 * gdb.base/tui-disasm-long-lines.exp: ... this.
660 2017-03-07 Pedro Alves <palves@redhat.com>
662 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
664 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
666 * i386-mpx-call.c: New file.
667 * i386-mpx-call.exp: New file.
669 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
671 * gdb.arch/powerpc-power.exp: Delete test.
672 * gdb.arch/powerpc-power.s: Likewise.
673 * gdb.disasm/disassembler-options.exp: New test.
674 * gdb.arch/powerpc-altivec.exp: Likewise.
675 * gdb.arch/powerpc-altivec.s: Likewise.
676 * gdb.arch/powerpc-altivec2.exp: Likewise.
677 * gdb.arch/powerpc-altivec2.s: Likewise.
678 * gdb.arch/powerpc-altivec3.exp: Likewise.
679 * gdb.arch/powerpc-altivec3.s: Likewise.
680 * gdb.arch/powerpc-power7.exp: Likewise.
681 * gdb.arch/powerpc-power7.s: Likewise.
682 * gdb.arch/powerpc-power8.exp: Likewise.
683 * gdb.arch/powerpc-power8.s: Likewise.
684 * gdb.arch/powerpc-power9.exp: Likewise.
685 * gdb.arch/powerpc-power9.s: Likewise.
686 * gdb.arch/powerpc-vsx.exp: Likewise.
687 * gdb.arch/powerpc-vsx.s: Likewise.
688 * gdb.arch/powerpc-vsx2.exp: Likewise.
689 * gdb.arch/powerpc-vsx2.s: Likewise.
690 * gdb.arch/powerpc-vsx3.exp: Likewise.
691 * gdb.arch/powerpc-vsx3.s: Likewise.
692 * gdb.arch/arm-disassembler-options.exp: Likewise.
693 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
694 * gdb.arch/s390-disassembler-options.exp: Likewise.
696 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
698 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
699 (check_supported_features): ... this. Changed return type to void.
700 (supports_rdseed): New static global.
701 (rdseed): Check supports_rdseed.
702 (initialize): Call check_supported_features.
704 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
706 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
707 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
709 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
710 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
712 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
714 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
717 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
719 * gdb.dwarf2/formdata16.c: New file.
720 * gdb.dwarf2/formdata16.exp: New file.
721 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
723 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
725 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
726 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
727 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
728 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
731 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
733 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
735 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
738 * gdb.base/maint.exp: Add testcases for when the commands do
741 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
743 * gdb.cp/chained-calls.exp: Use p instead of P.
745 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
747 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
748 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
750 2017-02-14 Tom Tromey <tom@tromey.com>
753 * gdb.python/py-events.exp: Add before_prompt event tests.
755 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
757 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
759 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
761 * gdb.linespec/explicit.c (my_unique_function_name): New function.
762 (main): Call my_unique_function_name.
763 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
764 completion of patterns with a single match.
765 Add missing -re switches to gdb_test_multiple calls.
767 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
769 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
770 return if core file is not recognized.
772 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
774 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
777 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
779 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
782 2017-02-10 Tom Tromey <tom@tromey.com>
784 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
786 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
789 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
791 2017-02-08 Jerome Guitton <guitton@adacore.com>
793 * gdb.base/define.exp: Add test for command abbreviations
796 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
798 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
799 * gdb.reverse/insn-reverse-x86.c: New file.
801 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
804 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
806 2017-02-03 Tom Tromey <tom@tromey.com>
809 * gdb.rust/simple.exp: Add new tests.
811 2017-02-02 Pedro Alves <palves@redhat.com>
813 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
816 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
818 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
819 taking a 2-byte value out of a 4-byte DWARF implicit value on
821 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
822 logic. Add test cases for DW_OP_implicit.
824 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
826 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
828 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
830 * gdb.btrace/enable.exp: Call gdb_exit before
831 skip_gdbserver_tests.
833 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
835 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
838 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
840 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
842 * gdb.btrace/data.exp: Likewise.
843 * gdb.btrace/delta.exp: Likewise.
844 * gdb.btrace/dlopen.exp: Likewise.
845 * gdb.btrace/enable-running.exp: Likewise.
846 * gdb.btrace/enable.exp: Likewise.
847 * gdb.btrace/exception.exp: Likewise.
848 * gdb.btrace/function_call_history.exp: Likewise.
849 * gdb.btrace/gcore.exp: Likewise.
850 * gdb.btrace/instruction_history.exp: Likewise.
851 * gdb.btrace/multi-thread-step.exp: Likewise.
852 * gdb.btrace/nohist.exp: Likewise.
853 * gdb.btrace/non-stop.exp: Likewise.
854 * gdb.btrace/reconnect.exp: Likewise.
855 * gdb.btrace/record_goto-step.exp: Likewise.
856 * gdb.btrace/record_goto.exp: Likewise.
857 * gdb.btrace/rn-dl-bind.exp: Likewise.
858 * gdb.btrace/segv.exp: Likewise.
859 * gdb.btrace/step.exp: Likewise.
860 * gdb.btrace/stepi.exp: Likewise.
861 * gdb.btrace/tailcall-only.exp: Likewise.
862 * gdb.btrace/tailcall.exp: Likewise.
863 * gdb.btrace/tsx.exp: Likewise.
864 * gdb.btrace/unknown_functions.exp: Likewise.
865 * gdb.btrace/vdso.exp: Likewise.
867 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
869 * gdb.btrace/enable-running.c: New.
870 * gdb.btrace/enable-running.exp: New.
872 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
874 * gdb.arch/amd64-gs_base.c: New file.
875 * gdb.arch/amd64-gs_base.exp: New file.
877 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
879 * lib/memory.exp: Remove spurious empty newlines.
881 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
883 * gdb.python/py-bad-printers.exp: Load python file using "source".
884 * gdb.python/py-events.exp: Likewise.
885 * gdb.python/py-evsignal.exp: Likewise.
886 * gdb.python/py-evthreads.exp: Likewise.
887 * gdb.python/py-frame-args.exp: Likewise.
888 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
889 * gdb.python/py-framefilter-mi.exp: Likewise.
890 * gdb.python/py-framefilter.exp: Likewise.
891 * gdb.python/py-mi.exp: Likewise.
892 * gdb.python/py-pp-maint.exp: Likewise.
893 * gdb.python/py-pp-registration.exp: Likewise.
894 * gdb.python/py-prettyprint.exp: Likewise.
895 (run_lang_tests): Likewise.
896 * gdb.python/py-typeprint.exp: Likewise.
898 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
900 * lib/memory.exp: New file.
901 * lib/gdb.exp: Load memory.exp.
902 * gdb.base/memattr.exp (delete_memory): Move proc to
903 lib/memory.exp and rename to delete_memory_regions.
904 Replace delete_memory with delete_memory_regions.
905 Cleanup memory regions before tests.
906 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
909 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
911 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
913 (initialize): New function conditionally defined.
914 (testcases): Move within conditional block.
915 (main): Call initialize.
916 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
917 of gdb.reverse/insn-reverse.c.
918 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
919 gdb.reverse/insn-reverse.c.
921 2017-01-26 Yao Qi <yao.qi@linaro.org>
923 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
924 disassemble on address 0.
926 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
927 Yao Qi <yao.qi@linaro.org>
929 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
930 * gdb.dwarf2/implptr-64bit.S: Remove.
931 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
932 variables in caller's context. Add DW_OP_implicit_value.
934 2017-01-25 Yao Qi <yao.qi@linaro.org>
936 * lib/dwarf.exp (Dwarf::_location): Handle
937 DW_OP_GNU_implicit_pointer with proper size.
939 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
941 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
942 and add untested calls.
944 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
946 * gdb.python/python.exp: Check line number against what GDB thinks
947 the line number is for func1.
949 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
951 * gdb.dlang/debug-expr.exp: New file.
953 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
955 Fix test names for the following files:
957 * gdb.ada/exec_changed.exp
958 * gdb.ada/info_types.exp
959 * gdb.arch/aarch64-atomic-inst.exp
960 * gdb.arch/aarch64-fp.exp
961 * gdb.arch/altivec-abi.exp
962 * gdb.arch/altivec-regs.exp
963 * gdb.arch/amd64-byte.exp
964 * gdb.arch/amd64-disp-step.exp
965 * gdb.arch/amd64-dword.exp
966 * gdb.arch/amd64-entry-value-inline.exp
967 * gdb.arch/amd64-entry-value-param.exp
968 * gdb.arch/amd64-entry-value-paramref.exp
969 * gdb.arch/amd64-entry-value.exp
970 * gdb.arch/amd64-i386-address.exp
971 * gdb.arch/amd64-invalid-stack-middle.exp
972 * gdb.arch/amd64-invalid-stack-top.exp
973 * gdb.arch/amd64-optimout-repeat.exp
974 * gdb.arch/amd64-prologue-skip.exp
975 * gdb.arch/amd64-prologue-xmm.exp
976 * gdb.arch/amd64-stap-special-operands.exp
977 * gdb.arch/amd64-stap-wrong-subexp.exp
978 * gdb.arch/amd64-tailcall-cxx.exp
979 * gdb.arch/amd64-tailcall-noret.exp
980 * gdb.arch/amd64-tailcall-ret.exp
981 * gdb.arch/amd64-tailcall-self.exp
982 * gdb.arch/amd64-word.exp
983 * gdb.arch/arm-bl-branch-dest.exp
984 * gdb.arch/arm-disp-step.exp
985 * gdb.arch/arm-neon.exp
986 * gdb.arch/arm-single-step-kernel-helper.exp
987 * gdb.arch/avr-flash-qualifier.exp
988 * gdb.arch/disp-step-insn-reloc.exp
989 * gdb.arch/e500-abi.exp
990 * gdb.arch/e500-regs.exp
991 * gdb.arch/ftrace-insn-reloc.exp
992 * gdb.arch/i386-avx512.exp
993 * gdb.arch/i386-bp_permanent.exp
994 * gdb.arch/i386-byte.exp
995 * gdb.arch/i386-cfi-notcurrent.exp
996 * gdb.arch/i386-disp-step.exp
997 * gdb.arch/i386-dr3-watch.exp
998 * gdb.arch/i386-float.exp
999 * gdb.arch/i386-gnu-cfi.exp
1000 * gdb.arch/i386-mpx-map.exp
1001 * gdb.arch/i386-mpx-sigsegv.exp
1002 * gdb.arch/i386-mpx-simple_segv.exp
1003 * gdb.arch/i386-mpx.exp
1004 * gdb.arch/i386-permbkpt.exp
1005 * gdb.arch/i386-prologue.exp
1006 * gdb.arch/i386-signal.exp
1007 * gdb.arch/i386-size-overlap.exp
1008 * gdb.arch/i386-unwind.exp
1009 * gdb.arch/i386-word.exp
1010 * gdb.arch/mips-fcr.exp
1011 * gdb.arch/powerpc-d128-regs.exp
1012 * gdb.arch/powerpc-stackless.exp
1013 * gdb.arch/ppc64-atomic-inst.exp
1014 * gdb.arch/s390-stackless.exp
1015 * gdb.arch/s390-tdbregs.exp
1016 * gdb.arch/s390-vregs.exp
1017 * gdb.arch/sparc-sysstep.exp
1018 * gdb.arch/thumb-bx-pc.exp
1019 * gdb.arch/thumb-singlestep.exp
1020 * gdb.arch/thumb2-it.exp
1021 * gdb.arch/vsx-regs.exp
1022 * gdb.asm/asm-source.exp
1023 * gdb.base/a2-run.exp
1024 * gdb.base/advance.exp
1025 * gdb.base/all-bin.exp
1028 * gdb.base/arithmet.exp
1029 * gdb.base/async-shell.exp
1030 * gdb.base/async.exp
1031 * gdb.base/attach-pie-noexec.exp
1032 * gdb.base/attach-twice.exp
1033 * gdb.base/auto-load.exp
1035 * gdb.base/bitfields.exp
1036 * gdb.base/break-always.exp
1037 * gdb.base/break-caller-line.exp
1038 * gdb.base/break-entry.exp
1039 * gdb.base/break-inline.exp
1040 * gdb.base/break-on-linker-gcd-function.exp
1041 * gdb.base/break-probes.exp
1042 * gdb.base/break.exp
1043 * gdb.base/breakpoint-shadow.exp
1044 * gdb.base/call-ar-st.exp
1045 * gdb.base/call-sc.exp
1046 * gdb.base/call-signal-resume.exp
1047 * gdb.base/call-strs.exp
1048 * gdb.base/callfuncs.exp
1049 * gdb.base/catch-fork-static.exp
1050 * gdb.base/catch-gdb-caused-signals.exp
1051 * gdb.base/catch-load.exp
1052 * gdb.base/catch-signal-fork.exp
1053 * gdb.base/catch-signal.exp
1054 * gdb.base/catch-syscall.exp
1055 * gdb.base/charset.exp
1056 * gdb.base/checkpoint.exp
1057 * gdb.base/chng-syms.exp
1058 * gdb.base/code-expr.exp
1059 * gdb.base/code_elim.exp
1060 * gdb.base/commands.exp
1061 * gdb.base/completion.exp
1062 * gdb.base/complex.exp
1063 * gdb.base/cond-expr.exp
1064 * gdb.base/condbreak.exp
1065 * gdb.base/consecutive.exp
1066 * gdb.base/continue-all-already-running.exp
1067 * gdb.base/coredump-filter.exp
1068 * gdb.base/corefile.exp
1070 * gdb.base/debug-expr.exp
1071 * gdb.base/define.exp
1073 * gdb.base/disabled-location.exp
1074 * gdb.base/disasm-end-cu.exp
1075 * gdb.base/disasm-optim.exp
1076 * gdb.base/display.exp
1077 * gdb.base/duplicate-bp.exp
1078 * gdb.base/ena-dis-br.exp
1079 * gdb.base/ending-run.exp
1080 * gdb.base/enumval.exp
1081 * gdb.base/environ.exp
1082 * gdb.base/eu-strip-infcall.exp
1083 * gdb.base/eval-avoid-side-effects.exp
1084 * gdb.base/eval-skip.exp
1085 * gdb.base/exitsignal.exp
1086 * gdb.base/expand-psymtabs.exp
1087 * gdb.base/filesym.exp
1088 * gdb.base/find-unmapped.exp
1089 * gdb.base/finish.exp
1090 * gdb.base/float.exp
1091 * gdb.base/foll-exec-mode.exp
1092 * gdb.base/foll-exec.exp
1093 * gdb.base/foll-fork.exp
1094 * gdb.base/fortran-sym-case.exp
1095 * gdb.base/freebpcmd.exp
1096 * gdb.base/func-ptr.exp
1097 * gdb.base/func-ptrs.exp
1098 * gdb.base/funcargs.exp
1099 * gdb.base/gcore-buffer-overflow.exp
1100 * gdb.base/gcore-relro-pie.exp
1101 * gdb.base/gcore-relro.exp
1102 * gdb.base/gcore.exp
1103 * gdb.base/gdb1090.exp
1104 * gdb.base/gdb11530.exp
1105 * gdb.base/gdb11531.exp
1106 * gdb.base/gdb1821.exp
1107 * gdb.base/gdbindex-stabs.exp
1108 * gdb.base/gdbvars.exp
1109 * gdb.base/hbreak.exp
1110 * gdb.base/hbreak2.exp
1111 * gdb.base/included.exp
1112 * gdb.base/infcall-input.exp
1113 * gdb.base/inferior-died.exp
1114 * gdb.base/infnan.exp
1115 * gdb.base/info-macros.exp
1116 * gdb.base/info-os.exp
1117 * gdb.base/info-proc.exp
1118 * gdb.base/info-shared.exp
1119 * gdb.base/info-target.exp
1120 * gdb.base/infoline.exp
1121 * gdb.base/interp.exp
1122 * gdb.base/interrupt.exp
1123 * gdb.base/jit-reader.exp
1124 * gdb.base/jit-simple.exp
1125 * gdb.base/kill-after-signal.exp
1126 * gdb.base/kill-detach-inferiors-cmd.exp
1127 * gdb.base/label.exp
1128 * gdb.base/langs.exp
1129 * gdb.base/ldbl_e308.exp
1130 * gdb.base/line-symtabs.exp
1131 * gdb.base/linespecs.exp
1133 * gdb.base/long_long.exp
1134 * gdb.base/longest-types.exp
1135 * gdb.base/maint.exp
1136 * gdb.base/max-value-size.exp
1137 * gdb.base/memattr.exp
1138 * gdb.base/mips_pro.exp
1139 * gdb.base/morestack.exp
1140 * gdb.base/moribund-step.exp
1141 * gdb.base/multi-forks.exp
1142 * gdb.base/nested-addr.exp
1143 * gdb.base/nextoverexit.exp
1144 * gdb.base/noreturn-finish.exp
1145 * gdb.base/noreturn-return.exp
1146 * gdb.base/nostdlib.exp
1147 * gdb.base/offsets.exp
1148 * gdb.base/opaque.exp
1149 * gdb.base/pc-fp.exp
1150 * gdb.base/permissions.exp
1151 * gdb.base/print-symbol-loading.exp
1152 * gdb.base/prologue-include.exp
1153 * gdb.base/psymtab.exp
1154 * gdb.base/ptype.exp
1155 * gdb.base/random-signal.exp
1156 * gdb.base/randomize.exp
1157 * gdb.base/range-stepping.exp
1158 * gdb.base/readline-ask.exp
1159 * gdb.base/recpar.exp
1160 * gdb.base/recurse.exp
1161 * gdb.base/relational.exp
1162 * gdb.base/restore.exp
1163 * gdb.base/return-nodebug.exp
1164 * gdb.base/return.exp
1165 * gdb.base/run-after-attach.exp
1166 * gdb.base/save-bp.exp
1167 * gdb.base/scope.exp
1168 * gdb.base/sect-cmd.exp
1169 * gdb.base/set-lang-auto.exp
1170 * gdb.base/set-noassign.exp
1171 * gdb.base/setvar.exp
1172 * gdb.base/sigall.exp
1173 * gdb.base/sigbpt.exp
1174 * gdb.base/siginfo-addr.exp
1175 * gdb.base/siginfo-infcall.exp
1176 * gdb.base/siginfo-obj.exp
1177 * gdb.base/siginfo.exp
1178 * gdb.base/signals-state-child.exp
1179 * gdb.base/signest.exp
1180 * gdb.base/sigstep.exp
1181 * gdb.base/sizeof.exp
1183 * gdb.base/solib-corrupted.exp
1184 * gdb.base/solib-nodir.exp
1185 * gdb.base/solib-search.exp
1186 * gdb.base/stack-checking.exp
1187 * gdb.base/stale-infcall.exp
1188 * gdb.base/stap-probe.exp
1189 * gdb.base/start.exp
1190 * gdb.base/step-break.exp
1191 * gdb.base/step-bt.exp
1192 * gdb.base/step-line.exp
1193 * gdb.base/step-over-exit.exp
1194 * gdb.base/step-over-syscall.exp
1195 * gdb.base/step-resume-infcall.exp
1196 * gdb.base/step-test.exp
1197 * gdb.base/store.exp
1198 * gdb.base/structs3.exp
1199 * gdb.base/sym-file.exp
1200 * gdb.base/symbol-without-target_section.exp
1202 * gdb.base/testenv.exp
1203 * gdb.base/ui-redirect.exp
1204 * gdb.base/until.exp
1205 * gdb.base/unwindonsignal.exp
1206 * gdb.base/value-double-free.exp
1207 * gdb.base/vla-datatypes.exp
1208 * gdb.base/vla-ptr.exp
1209 * gdb.base/vla-sideeffect.exp
1210 * gdb.base/volatile.exp
1211 * gdb.base/watch-cond-infcall.exp
1212 * gdb.base/watch-cond.exp
1213 * gdb.base/watch-non-mem.exp
1214 * gdb.base/watch-read.exp
1215 * gdb.base/watch-vfork.exp
1216 * gdb.base/watchpoint-cond-gone.exp
1217 * gdb.base/watchpoint-delete.exp
1218 * gdb.base/watchpoint-hw-hit-once.exp
1219 * gdb.base/watchpoint-hw.exp
1220 * gdb.base/watchpoint-stops-at-right-insn.exp
1221 * gdb.base/watchpoints.exp
1222 * gdb.base/wchar.exp
1223 * gdb.base/whatis-exp.exp
1224 * gdb.btrace/buffer-size.exp
1225 * gdb.btrace/data.exp
1226 * gdb.btrace/delta.exp
1227 * gdb.btrace/dlopen.exp
1228 * gdb.btrace/enable.exp
1229 * gdb.btrace/exception.exp
1230 * gdb.btrace/function_call_history.exp
1231 * gdb.btrace/gcore.exp
1232 * gdb.btrace/instruction_history.exp
1233 * gdb.btrace/nohist.exp
1234 * gdb.btrace/reconnect.exp
1235 * gdb.btrace/record_goto-step.exp
1236 * gdb.btrace/record_goto.exp
1237 * gdb.btrace/rn-dl-bind.exp
1238 * gdb.btrace/segv.exp
1239 * gdb.btrace/step.exp
1240 * gdb.btrace/stepi.exp
1241 * gdb.btrace/tailcall-only.exp
1242 * gdb.btrace/tailcall.exp
1243 * gdb.btrace/tsx.exp
1244 * gdb.btrace/unknown_functions.exp
1245 * gdb.btrace/vdso.exp
1246 * gdb.compile/compile-ifunc.exp
1247 * gdb.compile/compile-ops.exp
1248 * gdb.compile/compile-print.exp
1249 * gdb.compile/compile-setjmp.exp
1250 * gdb.cp/abstract-origin.exp
1251 * gdb.cp/ambiguous.exp
1252 * gdb.cp/annota2.exp
1253 * gdb.cp/annota3.exp
1254 * gdb.cp/anon-ns.exp
1255 * gdb.cp/anon-struct.exp
1256 * gdb.cp/anon-union.exp
1257 * gdb.cp/arg-reference.exp
1258 * gdb.cp/baseenum.exp
1260 * gdb.cp/breakpoint.exp
1261 * gdb.cp/bs15503.exp
1264 * gdb.cp/chained-calls.exp
1266 * gdb.cp/classes.exp
1267 * gdb.cp/cmpd-minsyms.exp
1268 * gdb.cp/converts.exp
1269 * gdb.cp/cp-relocate.exp
1270 * gdb.cp/cpcompletion.exp
1271 * gdb.cp/cpexprs.exp
1272 * gdb.cp/cplabel.exp
1273 * gdb.cp/cplusfuncs.exp
1274 * gdb.cp/cpsizeof.exp
1276 * gdb.cp/derivation.exp
1277 * gdb.cp/destrprint.exp
1278 * gdb.cp/dispcxx.exp
1279 * gdb.cp/enum-class.exp
1280 * gdb.cp/exception.exp
1281 * gdb.cp/exceptprint.exp
1282 * gdb.cp/expand-psymtabs-cxx.exp
1283 * gdb.cp/expand-sals.exp
1284 * gdb.cp/extern-c.exp
1285 * gdb.cp/filename.exp
1286 * gdb.cp/formatted-ref.exp
1287 * gdb.cp/fpointer.exp
1288 * gdb.cp/gdb1355.exp
1289 * gdb.cp/gdb2495.exp
1291 * gdb.cp/impl-this.exp
1292 * gdb.cp/infcall-dlopen.exp
1293 * gdb.cp/inherit.exp
1294 * gdb.cp/iostream.exp
1298 * gdb.cp/m-static.exp
1299 * gdb.cp/mb-ctor.exp
1300 * gdb.cp/mb-inline.exp
1301 * gdb.cp/mb-templates.exp
1302 * gdb.cp/member-name.exp
1303 * gdb.cp/member-ptr.exp
1304 * gdb.cp/meth-typedefs.exp
1306 * gdb.cp/method2.exp
1307 * gdb.cp/minsym-fallback.exp
1309 * gdb.cp/namelessclass.exp
1310 * gdb.cp/namespace-enum.exp
1311 * gdb.cp/namespace-nested-import.exp
1312 * gdb.cp/namespace.exp
1313 * gdb.cp/nextoverthrow.exp
1314 * gdb.cp/no-dmgl-verbose.exp
1315 * gdb.cp/non-trivial-retval.exp
1316 * gdb.cp/noparam.exp
1318 * gdb.cp/nsimport.exp
1319 * gdb.cp/nsnested.exp
1320 * gdb.cp/nsnoimports.exp
1321 * gdb.cp/nsrecurs.exp
1322 * gdb.cp/nsstress.exp
1323 * gdb.cp/nsusing.exp
1324 * gdb.cp/operator.exp
1325 * gdb.cp/oranking.exp
1326 * gdb.cp/overload-const.exp
1327 * gdb.cp/overload.exp
1328 * gdb.cp/ovldbreak.exp
1330 * gdb.cp/paren-type.exp
1331 * gdb.cp/parse-lang.exp
1332 * gdb.cp/pass-by-ref.exp
1333 * gdb.cp/pr-1023.exp
1334 * gdb.cp/pr-1210.exp
1336 * gdb.cp/pr10687.exp
1337 * gdb.cp/pr12028.exp
1338 * gdb.cp/pr17132.exp
1339 * gdb.cp/pr17494.exp
1343 * gdb.cp/printmethod.exp
1345 * gdb.cp/psymtab-parameter.exp
1346 * gdb.cp/ptype-cv-cp.exp
1347 * gdb.cp/ptype-flags.exp
1348 * gdb.cp/re-set-overloaded.exp
1349 * gdb.cp/ref-types.exp
1351 * gdb.cp/scope-err.exp
1354 * gdb.cp/static-method.exp
1355 * gdb.cp/static-print-quit.exp
1356 * gdb.cp/temargs.exp
1357 * gdb.cp/templates.exp
1358 * gdb.cp/try_catch.exp
1359 * gdb.cp/typedef-operator.exp
1361 * gdb.cp/userdef.exp
1362 * gdb.cp/using-crash.exp
1363 * gdb.cp/var-tag.exp
1364 * gdb.cp/virtbase.exp
1365 * gdb.cp/virtfunc.exp
1366 * gdb.cp/virtfunc2.exp
1367 * gdb.cp/vla-cxx.exp
1368 * gdb.disasm/t01_mov.exp
1369 * gdb.disasm/t02_mova.exp
1370 * gdb.disasm/t03_add.exp
1371 * gdb.disasm/t04_sub.exp
1372 * gdb.disasm/t05_cmp.exp
1373 * gdb.disasm/t06_ari2.exp
1374 * gdb.disasm/t07_ari3.exp
1375 * gdb.disasm/t08_or.exp
1376 * gdb.disasm/t09_xor.exp
1377 * gdb.disasm/t10_and.exp
1378 * gdb.disasm/t11_logs.exp
1379 * gdb.disasm/t12_bit.exp
1380 * gdb.disasm/t13_otr.exp
1381 * gdb.dlang/circular.exp
1382 * gdb.dwarf2/arr-stride.exp
1383 * gdb.dwarf2/arr-subrange.exp
1384 * gdb.dwarf2/atomic-type.exp
1385 * gdb.dwarf2/bad-regnum.exp
1386 * gdb.dwarf2/bitfield-parent-optimized-out.exp
1387 * gdb.dwarf2/callframecfa.exp
1388 * gdb.dwarf2/clztest.exp
1389 * gdb.dwarf2/corrupt.exp
1390 * gdb.dwarf2/data-loc.exp
1391 * gdb.dwarf2/dup-psym.exp
1392 * gdb.dwarf2/dw2-anon-mptr.exp
1393 * gdb.dwarf2/dw2-anonymous-func.exp
1394 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
1395 * gdb.dwarf2/dw2-bad-unresolved.exp
1396 * gdb.dwarf2/dw2-basic.exp
1397 * gdb.dwarf2/dw2-canonicalize-type.exp
1398 * gdb.dwarf2/dw2-case-insensitive.exp
1399 * gdb.dwarf2/dw2-common-block.exp
1400 * gdb.dwarf2/dw2-compdir-oldgcc.exp
1401 * gdb.dwarf2/dw2-compressed.exp
1402 * gdb.dwarf2/dw2-const.exp
1403 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
1404 * gdb.dwarf2/dw2-cu-size.exp
1405 * gdb.dwarf2/dw2-dup-frame.exp
1406 * gdb.dwarf2/dw2-entry-value.exp
1407 * gdb.dwarf2/dw2-icycle.exp
1408 * gdb.dwarf2/dw2-ifort-parameter.exp
1409 * gdb.dwarf2/dw2-inline-break.exp
1410 * gdb.dwarf2/dw2-inline-param.exp
1411 * gdb.dwarf2/dw2-intercu.exp
1412 * gdb.dwarf2/dw2-intermix.exp
1413 * gdb.dwarf2/dw2-lexical-block-bare.exp
1414 * gdb.dwarf2/dw2-linkage-name-trust.exp
1415 * gdb.dwarf2/dw2-minsym-in-cu.exp
1416 * gdb.dwarf2/dw2-noloc.exp
1417 * gdb.dwarf2/dw2-op-call.exp
1418 * gdb.dwarf2/dw2-op-out-param.exp
1419 * gdb.dwarf2/dw2-opt-structptr.exp
1420 * gdb.dwarf2/dw2-param-error.exp
1421 * gdb.dwarf2/dw2-producer.exp
1422 * gdb.dwarf2/dw2-ranges-base.exp
1423 * gdb.dwarf2/dw2-ref-missing-frame.exp
1424 * gdb.dwarf2/dw2-reg-undefined.exp
1425 * gdb.dwarf2/dw2-regno-invalid.exp
1426 * gdb.dwarf2/dw2-restore.exp
1427 * gdb.dwarf2/dw2-restrict.exp
1428 * gdb.dwarf2/dw2-single-line-discriminators.exp
1429 * gdb.dwarf2/dw2-strp.exp
1430 * gdb.dwarf2/dw2-undefined-ret-addr.exp
1431 * gdb.dwarf2/dw2-unresolved.exp
1432 * gdb.dwarf2/dw2-var-zero-addr.exp
1433 * gdb.dwarf2/dw4-sig-types.exp
1434 * gdb.dwarf2/dwz.exp
1435 * gdb.dwarf2/dynarr-ptr.exp
1436 * gdb.dwarf2/enum-type.exp
1437 * gdb.dwarf2/gdb-index.exp
1438 * gdb.dwarf2/implptr-64bit.exp
1439 * gdb.dwarf2/implptr-optimized-out.exp
1440 * gdb.dwarf2/implptr.exp
1441 * gdb.dwarf2/implref-array.exp
1442 * gdb.dwarf2/implref-const.exp
1443 * gdb.dwarf2/implref-global.exp
1444 * gdb.dwarf2/implref-struct.exp
1445 * gdb.dwarf2/mac-fileno.exp
1446 * gdb.dwarf2/main-subprogram.exp
1447 * gdb.dwarf2/member-ptr-forwardref.exp
1448 * gdb.dwarf2/method-ptr.exp
1449 * gdb.dwarf2/missing-sig-type.exp
1450 * gdb.dwarf2/nonvar-access.exp
1451 * gdb.dwarf2/opaque-type-lookup.exp
1452 * gdb.dwarf2/pieces-optimized-out.exp
1453 * gdb.dwarf2/pieces.exp
1454 * gdb.dwarf2/pr10770.exp
1455 * gdb.dwarf2/pr13961.exp
1456 * gdb.dwarf2/staticvirtual.exp
1457 * gdb.dwarf2/subrange.exp
1458 * gdb.dwarf2/symtab-producer.exp
1459 * gdb.dwarf2/trace-crash.exp
1460 * gdb.dwarf2/typeddwarf.exp
1461 * gdb.dwarf2/valop.exp
1462 * gdb.dwarf2/watch-notconst.exp
1463 * gdb.fortran/array-element.exp
1464 * gdb.fortran/charset.exp
1465 * gdb.fortran/common-block.exp
1466 * gdb.fortran/complex.exp
1467 * gdb.fortran/derived-type-function.exp
1468 * gdb.fortran/derived-type.exp
1469 * gdb.fortran/logical.exp
1470 * gdb.fortran/module.exp
1471 * gdb.fortran/multi-dim.exp
1472 * gdb.fortran/nested-funcs.exp
1473 * gdb.fortran/print-formatted.exp
1474 * gdb.fortran/subarray.exp
1475 * gdb.fortran/vla-alloc-assoc.exp
1476 * gdb.fortran/vla-datatypes.exp
1477 * gdb.fortran/vla-history.exp
1478 * gdb.fortran/vla-ptr-info.exp
1479 * gdb.fortran/vla-ptype-sub.exp
1480 * gdb.fortran/vla-ptype.exp
1481 * gdb.fortran/vla-sizeof.exp
1482 * gdb.fortran/vla-type.exp
1483 * gdb.fortran/vla-value-sub-arbitrary.exp
1484 * gdb.fortran/vla-value-sub-finish.exp
1485 * gdb.fortran/vla-value-sub.exp
1486 * gdb.fortran/vla-value.exp
1487 * gdb.fortran/whatis_type.exp
1489 * gdb.go/handcall.exp
1491 * gdb.go/integers.exp
1492 * gdb.go/methods.exp
1493 * gdb.go/package.exp
1494 * gdb.go/strings.exp
1497 * gdb.guile/scm-arch.exp
1498 * gdb.guile/scm-block.exp
1499 * gdb.guile/scm-breakpoint.exp
1500 * gdb.guile/scm-cmd.exp
1501 * gdb.guile/scm-disasm.exp
1502 * gdb.guile/scm-equal.exp
1503 * gdb.guile/scm-frame-args.exp
1504 * gdb.guile/scm-frame-inline.exp
1505 * gdb.guile/scm-frame.exp
1506 * gdb.guile/scm-iterator.exp
1507 * gdb.guile/scm-math.exp
1508 * gdb.guile/scm-objfile.exp
1509 * gdb.guile/scm-ports.exp
1510 * gdb.guile/scm-symbol.exp
1511 * gdb.guile/scm-symtab.exp
1512 * gdb.guile/scm-value-cc.exp
1513 * gdb.guile/types-module.exp
1514 * gdb.linespec/break-ask.exp
1515 * gdb.linespec/cpexplicit.exp
1516 * gdb.linespec/explicit.exp
1517 * gdb.linespec/keywords.exp
1518 * gdb.linespec/linespec.exp
1519 * gdb.linespec/ls-dollar.exp
1520 * gdb.linespec/ls-errs.exp
1521 * gdb.linespec/skip-two.exp
1522 * gdb.linespec/thread.exp
1523 * gdb.mi/mi-async.exp
1524 * gdb.mi/mi-basics.exp
1525 * gdb.mi/mi-break.exp
1526 * gdb.mi/mi-catch-load.exp
1528 * gdb.mi/mi-cmd-param-changed.exp
1529 * gdb.mi/mi-console.exp
1530 * gdb.mi/mi-detach.exp
1531 * gdb.mi/mi-disassemble.exp
1532 * gdb.mi/mi-eval.exp
1533 * gdb.mi/mi-file-transfer.exp
1534 * gdb.mi/mi-file.exp
1535 * gdb.mi/mi-fill-memory.exp
1536 * gdb.mi/mi-inheritance-syntax-error.exp
1537 * gdb.mi/mi-linespec-err-cp.exp
1538 * gdb.mi/mi-logging.exp
1539 * gdb.mi/mi-memory-changed.exp
1540 * gdb.mi/mi-read-memory.exp
1541 * gdb.mi/mi-record-changed.exp
1542 * gdb.mi/mi-reg-undefined.exp
1543 * gdb.mi/mi-regs.exp
1544 * gdb.mi/mi-return.exp
1545 * gdb.mi/mi-reverse.exp
1546 * gdb.mi/mi-simplerun.exp
1547 * gdb.mi/mi-solib.exp
1548 * gdb.mi/mi-stack.exp
1549 * gdb.mi/mi-stepi.exp
1550 * gdb.mi/mi-syn-frame.exp
1551 * gdb.mi/mi-until.exp
1552 * gdb.mi/mi-var-block.exp
1553 * gdb.mi/mi-var-child.exp
1554 * gdb.mi/mi-var-cmd.exp
1555 * gdb.mi/mi-var-cp.exp
1556 * gdb.mi/mi-var-display.exp
1557 * gdb.mi/mi-var-invalidate.exp
1558 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
1559 * gdb.mi/mi-vla-fortran.exp
1560 * gdb.mi/mi-watch.exp
1561 * gdb.mi/mi2-var-child.exp
1562 * gdb.mi/user-selected-context-sync.exp
1563 * gdb.modula2/unbounded-array.exp
1564 * gdb.multi/dummy-frame-restore.exp
1565 * gdb.multi/multi-arch-exec.exp
1566 * gdb.multi/multi-arch.exp
1567 * gdb.multi/tids.exp
1568 * gdb.multi/watchpoint-multi.exp
1569 * gdb.opencl/callfuncs.exp
1570 * gdb.opencl/convs_casts.exp
1571 * gdb.opencl/datatypes.exp
1572 * gdb.opencl/operators.exp
1573 * gdb.opencl/vec_comps.exp
1574 * gdb.opt/clobbered-registers-O2.exp
1575 * gdb.opt/inline-break.exp
1576 * gdb.opt/inline-bt.exp
1577 * gdb.opt/inline-cmds.exp
1578 * gdb.opt/inline-locals.exp
1579 * gdb.pascal/case-insensitive-symbols.exp
1580 * gdb.pascal/floats.exp
1581 * gdb.pascal/gdb11492.exp
1582 * gdb.python/lib-types.exp
1583 * gdb.python/py-arch.exp
1584 * gdb.python/py-as-string.exp
1585 * gdb.python/py-bad-printers.exp
1586 * gdb.python/py-block.exp
1587 * gdb.python/py-breakpoint-create-fail.exp
1588 * gdb.python/py-breakpoint.exp
1589 * gdb.python/py-caller-is.exp
1590 * gdb.python/py-cmd.exp
1591 * gdb.python/py-explore-cc.exp
1592 * gdb.python/py-explore.exp
1593 * gdb.python/py-finish-breakpoint.exp
1594 * gdb.python/py-finish-breakpoint2.exp
1595 * gdb.python/py-frame-args.exp
1596 * gdb.python/py-frame-inline.exp
1597 * gdb.python/py-frame.exp
1598 * gdb.python/py-framefilter-mi.exp
1599 * gdb.python/py-infthread.exp
1600 * gdb.python/py-lazy-string.exp
1601 * gdb.python/py-linetable.exp
1602 * gdb.python/py-mi-events.exp
1603 * gdb.python/py-mi-objfile.exp
1604 * gdb.python/py-mi.exp
1605 * gdb.python/py-objfile.exp
1606 * gdb.python/py-pp-integral.exp
1607 * gdb.python/py-pp-maint.exp
1608 * gdb.python/py-pp-re-notag.exp
1609 * gdb.python/py-pp-registration.exp
1610 * gdb.python/py-recurse-unwind.exp
1611 * gdb.python/py-strfns.exp
1612 * gdb.python/py-symbol.exp
1613 * gdb.python/py-symtab.exp
1614 * gdb.python/py-sync-interp.exp
1615 * gdb.python/py-typeprint.exp
1616 * gdb.python/py-unwind-maint.exp
1617 * gdb.python/py-unwind.exp
1618 * gdb.python/py-value-cc.exp
1619 * gdb.python/py-xmethods.exp
1620 * gdb.reverse/amd64-tailcall-reverse.exp
1621 * gdb.reverse/break-precsave.exp
1622 * gdb.reverse/break-reverse.exp
1623 * gdb.reverse/consecutive-precsave.exp
1624 * gdb.reverse/consecutive-reverse.exp
1625 * gdb.reverse/finish-precsave.exp
1626 * gdb.reverse/finish-reverse-bkpt.exp
1627 * gdb.reverse/finish-reverse.exp
1628 * gdb.reverse/fstatat-reverse.exp
1629 * gdb.reverse/getresuid-reverse.exp
1630 * gdb.reverse/i386-precsave.exp
1631 * gdb.reverse/i386-reverse.exp
1632 * gdb.reverse/i386-sse-reverse.exp
1633 * gdb.reverse/i387-env-reverse.exp
1634 * gdb.reverse/i387-stack-reverse.exp
1635 * gdb.reverse/insn-reverse.exp
1636 * gdb.reverse/machinestate-precsave.exp
1637 * gdb.reverse/machinestate.exp
1638 * gdb.reverse/next-reverse-bkpt-over-sr.exp
1639 * gdb.reverse/pipe-reverse.exp
1640 * gdb.reverse/readv-reverse.exp
1641 * gdb.reverse/recvmsg-reverse.exp
1642 * gdb.reverse/rerun-prec.exp
1643 * gdb.reverse/s390-mvcle.exp
1644 * gdb.reverse/step-precsave.exp
1645 * gdb.reverse/step-reverse.exp
1646 * gdb.reverse/time-reverse.exp
1647 * gdb.reverse/until-precsave.exp
1648 * gdb.reverse/until-reverse.exp
1649 * gdb.reverse/waitpid-reverse.exp
1650 * gdb.reverse/watch-precsave.exp
1651 * gdb.reverse/watch-reverse.exp
1652 * gdb.rust/generics.exp
1653 * gdb.rust/methods.exp
1654 * gdb.rust/modules.exp
1655 * gdb.rust/simple.exp
1656 * gdb.server/connect-with-no-symbol-file.exp
1657 * gdb.server/ext-attach.exp
1658 * gdb.server/ext-restart.exp
1659 * gdb.server/ext-wrapper.exp
1660 * gdb.server/file-transfer.exp
1661 * gdb.server/server-exec-info.exp
1662 * gdb.server/server-kill.exp
1663 * gdb.server/server-mon.exp
1664 * gdb.server/wrapper.exp
1665 * gdb.stabs/exclfwd.exp
1666 * gdb.stabs/gdb11479.exp
1667 * gdb.threads/clone-new-thread-event.exp
1668 * gdb.threads/corethreads.exp
1669 * gdb.threads/current-lwp-dead.exp
1670 * gdb.threads/dlopen-libpthread.exp
1671 * gdb.threads/gcore-thread.exp
1672 * gdb.threads/sigstep-threads.exp
1673 * gdb.threads/watchpoint-fork.exp
1674 * gdb.trace/actions-changed.exp
1675 * gdb.trace/backtrace.exp
1676 * gdb.trace/change-loc.exp
1677 * gdb.trace/circ.exp
1678 * gdb.trace/collection.exp
1679 * gdb.trace/disconnected-tracing.exp
1680 * gdb.trace/ftrace.exp
1681 * gdb.trace/mi-trace-frame-collected.exp
1682 * gdb.trace/mi-trace-unavailable.exp
1683 * gdb.trace/mi-traceframe-changed.exp
1684 * gdb.trace/mi-tsv-changed.exp
1685 * gdb.trace/no-attach-trace.exp
1686 * gdb.trace/passc-dyn.exp
1687 * gdb.trace/qtro.exp
1688 * gdb.trace/range-stepping.exp
1689 * gdb.trace/read-memory.exp
1690 * gdb.trace/save-trace.exp
1691 * gdb.trace/signal.exp
1692 * gdb.trace/status-stop.exp
1693 * gdb.trace/tfile.exp
1694 * gdb.trace/trace-break.exp
1695 * gdb.trace/trace-buffer-size.exp
1696 * gdb.trace/trace-condition.exp
1697 * gdb.trace/tracefile-pseudo-reg.exp
1698 * gdb.trace/tstatus.exp
1699 * gdb.trace/unavailable.exp
1700 * gdb.trace/while-dyn.exp
1701 * gdb.trace/while-stepping.exp
1703 2016-12-22 Doug Evans <xdje42@gmail.com>
1705 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
1708 2016-12-19 Yao Qi <yao.qi@linaro.org>
1710 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
1711 (test_with_self): Don't call do_steps_and_nexts, and remove
1712 code about stepping into xmalloc.
1714 2016-12-09 Yao Qi <yao.qi@linaro.org>
1716 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
1718 2016-12-09 Yao Qi <yao.qi@linaro.org>
1720 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
1722 2016-12-09 Pedro Alves <palves@redhat.com>
1724 * gdb.base/all-architectures-0.exp: New file.
1725 * gdb.base/all-architectures-1.exp: New file.
1726 * gdb.base/all-architectures-2.exp: New file.
1727 * gdb.base/all-architectures-3.exp: New file.
1728 * gdb.base/all-architectures-4.exp: New file.
1729 * gdb.base/all-architectures-5.exp: New file.
1730 * gdb.base/all-architectures-6.exp: New file.
1731 * gdb.base/all-architectures-7.exp: New file.
1732 * gdb.base/all-architectures.exp.in: New file.
1734 2016-12-09 Yao Qi <yao.qi@linaro.org>
1736 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
1738 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1740 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
1742 Remove useless pattern-matching code.
1744 2016-12-02 Pedro Alves <palves@redhat.com>
1746 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
1748 (top level): Call it.
1750 2016-12-02 Pedro Alves <palves@redhat.com>
1752 * gdb.base/commands.exp (user_defined_command_args_stack_test):
1754 (top level): Call it.
1756 2016-12-02 Pedro Alves <palves@redhat.com>
1759 * gdb.base/commands.exp (user_defined_command_args_eval): New
1761 (top level): Call it.
1763 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
1765 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
1768 2016-12-02 Tom Tromey <tom@tromey.com>
1770 * gdb.dwarf2/main-subprogram.c: New file.
1771 * gdb.dwarf2/main-subprogram.exp: New file.
1773 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1775 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
1776 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
1777 gdb_test_no_output for a couple of cases.
1778 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
1780 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1782 Fix test names and standardize compilation error messages throughout
1783 the following files:
1786 * gdb.arch/alpha-step.exp
1787 * gdb.arch/e500-prologue.exp
1788 * gdb.arch/ftrace-insn-reloc.exp
1789 * gdb.arch/gdb1291.exp
1790 * gdb.arch/gdb1431.exp
1791 * gdb.arch/gdb1558.exp
1792 * gdb.arch/i386-dr3-watch.exp
1793 * gdb.arch/i386-sse-stack-align.exp
1794 * gdb.arch/ia64-breakpoint-shadow.exp
1795 * gdb.arch/pa-nullify.exp
1796 * gdb.arch/powerpc-aix-prologue.exp
1797 * gdb.arch/thumb-bx-pc.exp
1798 * gdb.base/annota1.exp
1799 * gdb.base/annota3.exp
1800 * gdb.base/arrayidx.exp
1801 * gdb.base/assign.exp
1802 * gdb.base/attach.exp
1805 * gdb.base/bfp-test.exp
1806 * gdb.base/bigcore.exp
1807 * gdb.base/bitfields2.exp
1808 * gdb.base/break-fun-addr.exp
1809 * gdb.base/break-probes.exp
1810 * gdb.base/call-rt-st.exp
1811 * gdb.base/callexit.exp
1812 * gdb.base/catch-fork-kill.exp
1813 * gdb.base/charset.exp
1814 * gdb.base/checkpoint.exp
1815 * gdb.base/comprdebug.exp
1816 * gdb.base/constvars.exp
1817 * gdb.base/coredump-filter.exp
1818 * gdb.base/cursal.exp
1819 * gdb.base/cvexpr.exp
1820 * gdb.base/detach.exp
1821 * gdb.base/display.exp
1822 * gdb.base/dmsym.exp
1823 * gdb.base/dprintf-pending.exp
1824 * gdb.base/dso2dso.exp
1825 * gdb.base/dtrace-probe.exp
1827 * gdb.base/enum_cond.exp
1828 * gdb.base/exe-lock.exp
1829 * gdb.base/exec-invalid-sysroot.exp
1830 * gdb.base/execl-update-breakpoints.exp
1831 * gdb.base/exprs.exp
1832 * gdb.base/fileio.exp
1834 * gdb.base/finish.exp
1835 * gdb.base/fixsection.exp
1836 * gdb.base/foll-vfork.exp
1837 * gdb.base/frame-args.exp
1838 * gdb.base/gcore.exp
1839 * gdb.base/gdb1250.exp
1840 * gdb.base/global-var-nested-by-dso.exp
1841 * gdb.base/gnu-ifunc.exp
1842 * gdb.base/hashline1.exp
1843 * gdb.base/hashline2.exp
1844 * gdb.base/hashline3.exp
1845 * gdb.base/hbreak-in-shr-unsupported.exp
1847 * gdb.base/infcall-input.exp
1848 * gdb.base/info-fun.exp
1849 * gdb.base/info-shared.exp
1850 * gdb.base/jit-simple.exp
1851 * gdb.base/jit-so.exp
1854 * gdb.base/label.exp
1855 * gdb.base/lineinc.exp
1856 * gdb.base/logical.exp
1857 * gdb.base/longjmp.exp
1858 * gdb.base/macscp.exp
1859 * gdb.base/miscexprs.exp
1860 * gdb.base/new-ui-echo.exp
1861 * gdb.base/new-ui-pending-input.exp
1862 * gdb.base/new-ui.exp
1863 * gdb.base/nodebug.exp
1864 * gdb.base/nofield.exp
1865 * gdb.base/offsets.exp
1866 * gdb.base/overlays.exp
1867 * gdb.base/pending.exp
1868 * gdb.base/pointers.exp
1869 * gdb.base/pr11022.exp
1870 * gdb.base/printcmds.exp
1871 * gdb.base/prologue.exp
1872 * gdb.base/ptr-typedef.exp
1873 * gdb.base/realname-expand.exp
1874 * gdb.base/relativedebug.exp
1875 * gdb.base/relocate.exp
1876 * gdb.base/remote.exp
1877 * gdb.base/reread.exp
1878 * gdb.base/return2.exp
1879 * gdb.base/savedregs.exp
1881 * gdb.base/sepdebug.exp
1882 * gdb.base/sepsymtab.exp
1883 * gdb.base/set-inferior-tty.exp
1884 * gdb.base/setshow.exp
1885 * gdb.base/shlib-call.exp
1886 * gdb.base/sigaltstack.exp
1887 * gdb.base/siginfo-addr.exp
1888 * gdb.base/signals.exp
1889 * gdb.base/signull.exp
1890 * gdb.base/sigrepeat.exp
1891 * gdb.base/so-impl-ld.exp
1892 * gdb.base/solib-display.exp
1893 * gdb.base/solib-overlap.exp
1894 * gdb.base/solib-search.exp
1895 * gdb.base/solib-symbol.exp
1896 * gdb.base/structs.exp
1897 * gdb.base/structs2.exp
1898 * gdb.base/symtab-search-order.exp
1899 * gdb.base/twice.exp
1900 * gdb.base/unload.exp
1901 * gdb.base/varargs.exp
1902 * gdb.base/watchpoint-solib.exp
1903 * gdb.base/watchpoint.exp
1904 * gdb.base/whatis.exp
1905 * gdb.base/wrong_frame_bt_full.exp
1906 * gdb.btrace/dlopen.exp
1907 * gdb.cell/ea-standalone.exp
1908 * gdb.cell/ea-test.exp
1909 * gdb.cp/dispcxx.exp
1910 * gdb.cp/gdb2384.exp
1911 * gdb.cp/method2.exp
1912 * gdb.cp/nextoverthrow.exp
1913 * gdb.cp/pr10728.exp
1914 * gdb.disasm/am33.exp
1915 * gdb.disasm/h8300s.exp
1916 * gdb.disasm/mn10300.exp
1917 * gdb.disasm/sh3.exp
1918 * gdb.dwarf2/dw2-dir-file-name.exp
1919 * gdb.fortran/complex.exp
1920 * gdb.fortran/library-module.exp
1921 * gdb.guile/scm-pretty-print.exp
1922 * gdb.guile/scm-symbol.exp
1923 * gdb.guile/scm-type.exp
1924 * gdb.guile/scm-value.exp
1925 * gdb.linespec/linespec.exp
1928 * gdb.mi/mi-breakpoint-changed.exp
1929 * gdb.mi/mi-dprintf-pending.exp
1930 * gdb.mi/mi-dprintf.exp
1931 * gdb.mi/mi-exit-code.exp
1932 * gdb.mi/mi-pending.exp
1933 * gdb.mi/mi-solib.exp
1934 * gdb.mi/new-ui-mi-sync.exp
1935 * gdb.mi/pr11022.exp
1936 * gdb.mi/user-selected-context-sync.exp
1937 * gdb.opt/solib-intra-step.exp
1938 * gdb.python/py-events.exp
1939 * gdb.python/py-finish-breakpoint.exp
1940 * gdb.python/py-mi.exp
1941 * gdb.python/py-prettyprint.exp
1942 * gdb.python/py-shared.exp
1943 * gdb.python/py-symbol.exp
1944 * gdb.python/py-template.exp
1945 * gdb.python/py-type.exp
1946 * gdb.python/py-value.exp
1947 * gdb.reverse/solib-precsave.exp
1948 * gdb.reverse/solib-reverse.exp
1949 * gdb.server/solib-list.exp
1950 * gdb.stabs/weird.exp
1951 * gdb.threads/reconnect-signal.exp
1952 * gdb.threads/stepi-random-signal.exp
1953 * gdb.trace/actions.exp
1955 * gdb.trace/backtrace.exp
1956 * gdb.trace/change-loc.exp
1957 * gdb.trace/deltrace.exp
1958 * gdb.trace/ftrace-lock.exp
1959 * gdb.trace/ftrace.exp
1960 * gdb.trace/infotrace.exp
1961 * gdb.trace/mi-tracepoint-changed.exp
1962 * gdb.trace/packetlen.exp
1963 * gdb.trace/passcount.exp
1964 * gdb.trace/pending.exp
1965 * gdb.trace/range-stepping.exp
1966 * gdb.trace/report.exp
1967 * gdb.trace/stap-trace.exp
1968 * gdb.trace/tfind.exp
1969 * gdb.trace/trace-break.exp
1970 * gdb.trace/trace-condition.exp
1971 * gdb.trace/trace-enable-disable.exp
1972 * gdb.trace/trace-mt.exp
1973 * gdb.trace/tracecmd.exp
1974 * gdb.trace/tspeed.exp
1978 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1980 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
1981 with gdb_test_no_output.
1982 Use command as test name.
1984 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
1986 Fix test names starting with uppercase throughout the files.
1988 * gdb.ada/assign_1.exp
1989 * gdb.ada/boolean_expr.exp
1990 * gdb.base/arrayidx.exp
1992 * gdb.base/gcore-buffer-overflow.exp
1993 * gdb.base/testenv.exp
1994 * gdb.compile/compile.exp
1995 * gdb.python/py-framefilter-invalidarg.exp
1996 * gdb.python/py-framefilter.exp
1998 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2000 Fix test names starting with uppercase throughout the files.
2002 * gdb.ada/array_return.exp
2003 * gdb.ada/expr_delims.exp
2004 * gdb.ada/mi_dyn_arr.exp
2005 * gdb.ada/mi_interface.exp
2006 * gdb.ada/mi_var_array.exp
2007 * gdb.ada/watch_arg.exp
2008 * gdb.arch/alpha-step.exp
2009 * gdb.arch/altivec-regs.exp
2010 * gdb.arch/e500-regs.exp
2011 * gdb.arch/powerpc-d128-regs.exp
2012 * gdb.base/arrayidx.exp
2013 * gdb.base/break.exp
2014 * gdb.base/checkpoint.exp
2015 * gdb.base/debug-expr.exp
2016 * gdb.base/dmsym.exp
2017 * gdb.base/radix.exp
2018 * gdb.base/sepdebug.exp
2019 * gdb.base/testenv.exp
2020 * gdb.base/watch_thread_num.exp
2021 * gdb.base/watchpoint-cond-gone.exp
2022 * gdb.cell/break.exp
2023 * gdb.cell/ea-cache.exp
2024 * gdb.compile/compile.exp
2025 * gdb.cp/gdb2495.exp
2026 * gdb.gdb/selftest.exp
2027 * gdb.gdb/xfullpath.exp
2029 * gdb.go/integers.exp
2030 * gdb.objc/basicclass.exp
2031 * gdb.pascal/hello.exp
2032 * gdb.pascal/integers.exp
2033 * gdb.python/py-breakpoint.exp
2034 * gdb.python/py-cmd.exp
2035 * gdb.python/py-linetable.exp
2036 * gdb.python/py-xmethods.exp
2037 * gdb.python/python.exp
2038 * gdb.reverse/consecutive-precsave.exp
2039 * gdb.reverse/finish-precsave.exp
2040 * gdb.reverse/i386-precsave.exp
2041 * gdb.reverse/machinestate-precsave.exp
2042 * gdb.reverse/sigall-precsave.exp
2043 * gdb.reverse/solib-precsave.exp
2044 * gdb.reverse/step-precsave.exp
2045 * gdb.reverse/until-precsave.exp
2046 * gdb.reverse/watch-precsave.exp
2047 * gdb.threads/leader-exit.exp
2048 * gdb.threads/pthreads.exp
2049 * gdb.threads/wp-replication.exp
2050 * gdb.trace/actions.exp
2051 * gdb.trace/mi-tsv-changed.exp
2054 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2056 Fix test names starting with uppercase throughout the files.
2058 * gdb.arch/i386-bp_permanent.exp
2059 * gdb.arch/i386-gnu-cfi.exp
2060 * gdb.base/disasm-end-cu.exp
2061 * gdb.base/macscp.exp
2062 * gdb.base/pending.exp
2063 * gdb.base/watch_thread_num.exp
2064 * gdb.cp/exception.exp
2065 * gdb.cp/gdb2495.exp
2067 * gdb.python/py-evsignal.exp
2068 * gdb.python/python.exp
2069 * gdb.trace/tracecmd.exp
2071 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2073 Fix test names starting with uppercase throughout the files.
2075 * gdb.base/charset.exp
2077 * gdb.base/multi-forks.exp
2078 * gdb.guile/scm-progspace.exp
2079 * gdb.opencl/datatypes.exp
2080 * gdb.python/py-block.exp
2081 * gdb.python/py-function.exp
2082 * gdb.python/py-symbol.exp
2083 * gdb.python/py-symtab.exp
2084 * gdb.python/py-xmethods.exp
2085 * gdb.reverse/break-precsave.exp
2086 * gdb.reverse/break-reverse.exp
2087 * gdb.reverse/consecutive-precsave.exp
2088 * gdb.reverse/consecutive-reverse.exp
2089 * gdb.reverse/finish-precsave.exp
2090 * gdb.reverse/finish-reverse-bkpt.exp
2091 * gdb.reverse/finish-reverse.exp
2092 * gdb.reverse/fstatat-reverse.exp
2093 * gdb.reverse/getresuid-reverse.exp
2094 * gdb.reverse/i386-precsave.exp
2095 * gdb.reverse/i386-reverse.exp
2096 * gdb.reverse/i386-sse-reverse.exp
2097 * gdb.reverse/i387-stack-reverse.exp
2098 * gdb.reverse/insn-reverse.exp
2099 * gdb.reverse/machinestate-precsave.exp
2100 * gdb.reverse/machinestate.exp
2101 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2102 * gdb.reverse/pipe-reverse.exp
2103 * gdb.reverse/readv-reverse.exp
2104 * gdb.reverse/recvmsg-reverse.exp
2105 * gdb.reverse/rerun-prec.exp
2106 * gdb.reverse/s390-mvcle.exp
2107 * gdb.reverse/sigall-precsave.exp
2108 * gdb.reverse/sigall-reverse.exp
2109 * gdb.reverse/solib-precsave.exp
2110 * gdb.reverse/solib-reverse.exp
2111 * gdb.reverse/step-precsave.exp
2112 * gdb.reverse/step-reverse.exp
2113 * gdb.reverse/time-reverse.exp
2114 * gdb.reverse/until-precsave.exp
2115 * gdb.reverse/until-reverse.exp
2116 * gdb.reverse/waitpid-reverse.exp
2117 * gdb.reverse/watch-precsave.exp
2118 * gdb.reverse/watch-reverse.exp
2120 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2122 Fix test names starting with uppercase throughout the files.
2124 * gdb.arch/i386-mpx-simple_segv.exp
2125 * gdb.arch/i386-mpx.exp
2126 * gdb.arch/i386-permbkpt.exp
2127 * gdb.arch/pa-nullify.exp
2128 * gdb.arch/powerpc-d128-regs.exp
2129 * gdb.arch/vsx-regs.exp
2130 * gdb.base/bfp-test.exp
2131 * gdb.base/break.exp
2132 * gdb.base/breakpoint-shadow.exp
2133 * gdb.base/callfuncs.exp
2134 * gdb.base/charset.exp
2135 * gdb.base/commands.exp
2136 * gdb.base/completion.exp
2137 * gdb.base/dfp-test.exp
2139 * gdb.base/ending-run.exp
2141 * gdb.base/expand-psymtabs.exp
2142 * gdb.base/float128.exp
2143 * gdb.base/floatn.exp
2144 * gdb.base/foll-exec-mode.exp
2145 * gdb.base/gdb1056.exp
2146 * gdb.base/gdb11531.exp
2147 * gdb.base/kill-after-signal.exp
2148 * gdb.base/multi-forks.exp
2149 * gdb.base/overlays.exp
2150 * gdb.base/pending.exp
2151 * gdb.base/sepdebug.exp
2152 * gdb.base/testenv.exp
2153 * gdb.base/valgrind-db-attach.exp
2154 * gdb.base/watch_thread_num.exp
2155 * gdb.base/watchpoint-cond-gone.exp
2156 * gdb.base/watchpoint.exp
2157 * gdb.base/watchpoints.exp
2158 * gdb.cp/arg-reference.exp
2159 * gdb.cp/baseenum.exp
2160 * gdb.cp/operator.exp
2162 * gdb.dwarf2/dw2-op-out-param.exp
2163 * gdb.dwarf2/dw2-reg-undefined.exp
2166 * gdb.go/integers.exp
2167 * gdb.go/methods.exp
2168 * gdb.go/package.exp
2169 * gdb.guile/scm-parameter.exp
2170 * gdb.guile/scm-progspace.exp
2171 * gdb.guile/scm-value.exp
2172 * gdb.mi/mi-pending.exp
2173 * gdb.mi/user-selected-context-sync.exp
2174 * gdb.multi/multi-attach.exp
2175 * gdb.multi/tids.exp
2176 * gdb.opt/clobbered-registers-O2.exp
2177 * gdb.pascal/floats.exp
2178 * gdb.pascal/integers.exp
2179 * gdb.python/py-block.exp
2180 * gdb.python/py-events.exp
2181 * gdb.python/py-parameter.exp
2182 * gdb.python/py-symbol.exp
2183 * gdb.python/py-symtab.exp
2184 * gdb.python/py-type.exp
2185 * gdb.python/py-value.exp
2186 * gdb.python/py-xmethods.exp
2187 * gdb.python/python.exp
2188 * gdb.reverse/break-precsave.exp
2189 * gdb.reverse/consecutive-precsave.exp
2190 * gdb.reverse/finish-precsave.exp
2191 * gdb.reverse/i386-precsave.exp
2192 * gdb.reverse/machinestate-precsave.exp
2193 * gdb.reverse/sigall-precsave.exp
2194 * gdb.reverse/solib-precsave.exp
2195 * gdb.reverse/step-precsave.exp
2196 * gdb.reverse/until-precsave.exp
2197 * gdb.reverse/watch-precsave.exp
2198 * gdb.server/ext-attach.exp
2199 * gdb.server/ext-restart.exp
2200 * gdb.server/ext-run.exp
2201 * gdb.server/ext-wrapper.exp
2202 * gdb.stabs/gdb11479.exp
2203 * gdb.stabs/weird.exp
2204 * gdb.threads/attach-many-short-lived-threads.exp
2205 * gdb.threads/kill.exp
2206 * gdb.threads/watchpoint-fork.exp
2208 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
2210 Fix test names starting with uppercase throughout all the files below.
2212 * gdb.ada/array_return.exp
2213 * gdb.ada/catch_ex.exp
2214 * gdb.ada/info_exc.exp
2215 * gdb.ada/mi_catch_ex.exp
2216 * gdb.ada/mi_dyn_arr.exp
2217 * gdb.ada/mi_ex_cond.exp
2218 * gdb.ada/mi_exc_info.exp
2219 * gdb.ada/mi_interface.exp
2220 * gdb.ada/mi_task_arg.exp
2221 * gdb.ada/mi_task_info.exp
2222 * gdb.ada/mi_var_array.exp
2223 * gdb.arch/alpha-step.exp
2224 * gdb.arch/amd64-disp-step.exp
2225 * gdb.arch/arm-disp-step.exp
2226 * gdb.arch/disp-step-insn-reloc.exp
2227 * gdb.arch/e500-prologue.exp
2228 * gdb.arch/ftrace-insn-reloc.exp
2229 * gdb.arch/gdb1558.exp
2230 * gdb.arch/i386-bp_permanent.exp
2231 * gdb.arch/i386-disp-step.exp
2232 * gdb.arch/i386-float.exp
2233 * gdb.arch/i386-gnu-cfi.exp
2234 * gdb.arch/ia64-breakpoint-shadow.exp
2235 * gdb.arch/mips16-thunks.exp
2236 * gdb.arch/pa-nullify.exp
2237 * gdb.arch/powerpc-aix-prologue.exp
2238 * gdb.arch/powerpc-power.exp
2239 * gdb.arch/ppc-dfp.exp
2240 * gdb.arch/s390-tdbregs.exp
2241 * gdb.arch/spu-info.exp
2242 * gdb.arch/spu-ls.exp
2243 * gdb.arch/thumb-bx-pc.exp
2244 * gdb.base/advance.exp
2245 * gdb.base/annota-input-while-running.exp
2246 * gdb.base/arrayidx.exp
2247 * gdb.base/asmlabel.exp
2248 * gdb.base/async.exp
2249 * gdb.base/attach-wait-input.exp
2250 * gdb.base/auto-connect-native-target.exp
2251 * gdb.base/batch-preserve-term-settings.exp
2252 * gdb.base/bfp-test.exp
2253 * gdb.base/bigcore.exp
2254 * gdb.base/bp-permanent.exp
2255 * gdb.base/break-always.exp
2256 * gdb.base/break-fun-addr.exp
2257 * gdb.base/break-idempotent.exp
2258 * gdb.base/break-main-file-remove-fail.exp
2259 * gdb.base/break-probes.exp
2260 * gdb.base/break-unload-file.exp
2261 * gdb.base/break.exp
2262 * gdb.base/call-ar-st.exp
2263 * gdb.base/call-rt-st.exp
2264 * gdb.base/call-sc.exp
2265 * gdb.base/call-signal-resume.exp
2266 * gdb.base/call-strs.exp
2267 * gdb.base/callexit.exp
2268 * gdb.base/callfuncs.exp
2269 * gdb.base/catch-gdb-caused-signals.exp
2270 * gdb.base/catch-signal-siginfo-cond.exp
2271 * gdb.base/catch-syscall.exp
2272 * gdb.base/compare-sections.exp
2273 * gdb.base/cond-eval-mode.exp
2274 * gdb.base/condbreak-call-false.exp
2275 * gdb.base/consecutive-step-over.exp
2276 * gdb.base/cursal.exp
2277 * gdb.base/disabled-location.exp
2278 * gdb.base/disasm-end-cu.exp
2279 * gdb.base/display.exp
2280 * gdb.base/double-prompt-target-event-error.exp
2281 * gdb.base/dprintf-bp-same-addr.exp
2282 * gdb.base/dprintf-detach.exp
2283 * gdb.base/dprintf-next.exp
2284 * gdb.base/dprintf-non-stop.exp
2285 * gdb.base/dprintf-pending.exp
2286 * gdb.base/dso2dso.exp
2287 * gdb.base/ending-run.exp
2288 * gdb.base/enum_cond.exp
2289 * gdb.base/examine-backward.exp
2290 * gdb.base/exe-lock.exp
2291 * gdb.base/exec-invalid-sysroot.exp
2292 * gdb.base/execl-update-breakpoints.exp
2293 * gdb.base/execution-termios.exp
2294 * gdb.base/fileio.exp
2295 * gdb.base/fixsection.exp
2296 * gdb.base/foll-exec-mode.exp
2297 * gdb.base/foll-exec.exp
2298 * gdb.base/fork-running-state.exp
2299 * gdb.base/frame-args.exp
2300 * gdb.base/fullpath-expand.exp
2301 * gdb.base/func-ptr.exp
2302 * gdb.base/gcore-relro-pie.exp
2303 * gdb.base/gdb1090.exp
2304 * gdb.base/gdb1555.exp
2305 * gdb.base/global-var-nested-by-dso.exp
2306 * gdb.base/gnu-ifunc.exp
2307 * gdb.base/hbreak-in-shr-unsupported.exp
2308 * gdb.base/hbreak-unmapped.exp
2309 * gdb.base/hook-stop.exp
2310 * gdb.base/infcall-input.exp
2311 * gdb.base/info-fun.exp
2312 * gdb.base/info-shared.exp
2313 * gdb.base/interrupt-noterm.exp
2314 * gdb.base/jit-so.exp
2316 * gdb.base/line-symtabs.exp
2318 * gdb.base/longjmp.exp
2319 * gdb.base/macscp.exp
2320 * gdb.base/max-value-size.exp
2321 * gdb.base/nodebug.exp
2322 * gdb.base/nofield.exp
2323 * gdb.base/overlays.exp
2324 * gdb.base/paginate-after-ctrl-c-running.exp
2325 * gdb.base/paginate-bg-execution.exp
2326 * gdb.base/paginate-inferior-exit.exp
2327 * gdb.base/pending.exp
2328 * gdb.base/pr11022.exp
2329 * gdb.base/printcmds.exp
2330 * gdb.base/ptr-typedef.exp
2331 * gdb.base/ptype.exp
2332 * gdb.base/randomize.exp
2333 * gdb.base/range-stepping.exp
2334 * gdb.base/realname-expand.exp
2335 * gdb.base/relativedebug.exp
2336 * gdb.base/remote.exp
2337 * gdb.base/savedregs.exp
2338 * gdb.base/sepdebug.exp
2339 * gdb.base/set-noassign.exp
2340 * gdb.base/shlib-call.exp
2341 * gdb.base/shreloc.exp
2342 * gdb.base/sigaltstack.exp
2343 * gdb.base/sigbpt.exp
2344 * gdb.base/siginfo-addr.exp
2345 * gdb.base/siginfo-obj.exp
2346 * gdb.base/siginfo-thread.exp
2347 * gdb.base/signest.exp
2348 * gdb.base/signull.exp
2349 * gdb.base/sigrepeat.exp
2351 * gdb.base/so-impl-ld.exp
2352 * gdb.base/solib-corrupted.exp
2353 * gdb.base/solib-disc.exp
2354 * gdb.base/solib-display.exp
2355 * gdb.base/solib-overlap.exp
2356 * gdb.base/solib-search.exp
2357 * gdb.base/solib-symbol.exp
2358 * gdb.base/source-execution.exp
2359 * gdb.base/sss-bp-on-user-bp-2.exp
2360 * gdb.base/sss-bp-on-user-bp.exp
2361 * gdb.base/stack-checking.exp
2362 * gdb.base/stale-infcall.exp
2363 * gdb.base/step-break.exp
2364 * gdb.base/step-line.exp
2365 * gdb.base/step-over-exit.exp
2366 * gdb.base/step-test.exp
2367 * gdb.base/structs.exp
2368 * gdb.base/sym-file.exp
2369 * gdb.base/symtab-search-order.exp
2371 * gdb.base/type-opaque.exp
2372 * gdb.base/unload.exp
2373 * gdb.base/until-nodebug.exp
2374 * gdb.base/until.exp
2375 * gdb.base/unwindonsignal.exp
2376 * gdb.base/watch-cond.exp
2377 * gdb.base/watch-non-mem.exp
2378 * gdb.base/watch_thread_num.exp
2379 * gdb.base/watchpoint-reuse-slot.exp
2380 * gdb.base/watchpoint-solib.exp
2381 * gdb.base/watchpoint.exp
2382 * gdb.btrace/dlopen.exp
2384 * gdb.cell/break.exp
2388 * gdb.cell/dwarfaddr.exp
2389 * gdb.cell/ea-cache.exp
2390 * gdb.cell/ea-standalone.exp
2391 * gdb.cell/ea-test.exp
2392 * gdb.cell/f-regs.exp
2394 * gdb.cell/gcore.exp
2395 * gdb.cell/mem-access.exp
2396 * gdb.cell/ptype.exp
2397 * gdb.cell/registers.exp
2398 * gdb.cell/sizeof.exp
2399 * gdb.cell/solib-symbol.exp
2400 * gdb.cell/solib.exp
2401 * gdb.compile/compile-tls.exp
2402 * gdb.cp/exception.exp
2403 * gdb.cp/gdb2495.exp
2405 * gdb.cp/mb-inline.exp
2406 * gdb.cp/mb-templates.exp
2407 * gdb.cp/pr10687.exp
2409 * gdb.cp/scope-err.exp
2410 * gdb.cp/templates.exp
2411 * gdb.cp/virtfunc.exp
2412 * gdb.dwarf2/dw2-dir-file-name.exp
2413 * gdb.dwarf2/dw2-single-line-discriminators.exp
2414 * gdb.fortran/complex.exp
2415 * gdb.fortran/library-module.exp
2416 * gdb.guile/guile.exp
2417 * gdb.guile/scm-cmd.exp
2418 * gdb.guile/scm-frame-inline.exp
2419 * gdb.guile/scm-objfile.exp
2420 * gdb.guile/scm-pretty-print.exp
2421 * gdb.guile/scm-symbol.exp
2422 * gdb.guile/scm-type.exp
2423 * gdb.guile/scm-value.exp
2424 * gdb.linespec/keywords.exp
2425 * gdb.linespec/ls-errs.exp
2426 * gdb.linespec/macro-relative.exp
2427 * gdb.linespec/thread.exp
2428 * gdb.mi/mi-breakpoint-changed.exp
2429 * gdb.mi/mi-dprintf-pending.exp
2430 * gdb.mi/mi-fullname-deleted.exp
2431 * gdb.mi/mi-logging.exp
2432 * gdb.mi/mi-pending.exp
2433 * gdb.mi/mi-solib.exp
2434 * gdb.mi/new-ui-mi-sync.exp
2435 * gdb.mi/user-selected-context-sync.exp
2436 * gdb.multi/dummy-frame-restore.exp
2437 * gdb.multi/multi-arch-exec.exp
2438 * gdb.multi/remove-inferiors.exp
2439 * gdb.multi/watchpoint-multi-exit.exp
2440 * gdb.opt/solib-intra-step.exp
2441 * gdb.perf/backtrace.exp
2442 * gdb.perf/single-step.exp
2443 * gdb.perf/skip-command.exp
2444 * gdb.perf/skip-prologue.exp
2445 * gdb.perf/solib.exp
2446 * gdb.python/lib-types.exp
2447 * gdb.python/py-as-string.exp
2448 * gdb.python/py-bad-printers.exp
2449 * gdb.python/py-block.exp
2450 * gdb.python/py-breakpoint.exp
2451 * gdb.python/py-cmd.exp
2452 * gdb.python/py-events.exp
2453 * gdb.python/py-evthreads.exp
2454 * gdb.python/py-finish-breakpoint.exp
2455 * gdb.python/py-finish-breakpoint2.exp
2456 * gdb.python/py-frame-inline.exp
2457 * gdb.python/py-frame.exp
2458 * gdb.python/py-inferior.exp
2459 * gdb.python/py-infthread.exp
2460 * gdb.python/py-mi.exp
2461 * gdb.python/py-objfile.exp
2462 * gdb.python/py-pp-maint.exp
2463 * gdb.python/py-pp-registration.exp
2464 * gdb.python/py-prettyprint.exp
2465 * gdb.python/py-recurse-unwind.exp
2466 * gdb.python/py-shared.exp
2467 * gdb.python/py-symbol.exp
2468 * gdb.python/py-symtab.exp
2469 * gdb.python/py-template.exp
2470 * gdb.python/py-type.exp
2471 * gdb.python/py-unwind-maint.exp
2472 * gdb.python/py-unwind.exp
2473 * gdb.python/py-value.exp
2474 * gdb.python/python.exp
2475 * gdb.reverse/finish-reverse-bkpt.exp
2476 * gdb.reverse/insn-reverse.exp
2477 * gdb.reverse/next-reverse-bkpt-over-sr.exp
2478 * gdb.reverse/solib-precsave.exp
2479 * gdb.reverse/solib-reverse.exp
2480 * gdb.stabs/gdb11479.exp
2481 * gdb.stabs/weird.exp
2482 * gdb.threads/fork-child-threads.exp
2483 * gdb.threads/fork-plus-threads.exp
2484 * gdb.threads/fork-thread-pending.exp
2485 * gdb.threads/forking-threads-plus-breakpoint.exp
2486 * gdb.threads/hand-call-in-threads.exp
2487 * gdb.threads/interrupted-hand-call.exp
2488 * gdb.threads/linux-dp.exp
2489 * gdb.threads/local-watch-wrong-thread.exp
2490 * gdb.threads/next-while-other-thread-longjmps.exp
2491 * gdb.threads/non-ldr-exit.exp
2492 * gdb.threads/pending-step.exp
2493 * gdb.threads/print-threads.exp
2494 * gdb.threads/process-dies-while-detaching.exp
2495 * gdb.threads/process-dies-while-handling-bp.exp
2496 * gdb.threads/pthreads.exp
2497 * gdb.threads/queue-signal.exp
2498 * gdb.threads/reconnect-signal.exp
2499 * gdb.threads/signal-command-handle-nopass.exp
2500 * gdb.threads/signal-command-multiple-signals-pending.exp
2501 * gdb.threads/signal-delivered-right-thread.exp
2502 * gdb.threads/signal-sigtrap.exp
2503 * gdb.threads/sigthread.exp
2504 * gdb.threads/staticthreads.exp
2505 * gdb.threads/stepi-random-signal.exp
2506 * gdb.threads/thread-unwindonsignal.exp
2507 * gdb.threads/thread_check.exp
2508 * gdb.threads/thread_events.exp
2509 * gdb.threads/tid-reuse.exp
2510 * gdb.threads/tls-nodebug.exp
2511 * gdb.threads/tls-shared.exp
2512 * gdb.threads/tls-so_extern.exp
2513 * gdb.threads/tls.exp
2514 * gdb.threads/wp-replication.exp
2515 * gdb.trace/actions-changed.exp
2516 * gdb.trace/actions.exp
2517 * gdb.trace/backtrace.exp
2518 * gdb.trace/change-loc.exp
2519 * gdb.trace/collection.exp
2520 * gdb.trace/deltrace.exp
2521 * gdb.trace/disconnected-tracing.exp
2522 * gdb.trace/entry-values.exp
2523 * gdb.trace/ftrace-lock.exp
2524 * gdb.trace/ftrace.exp
2525 * gdb.trace/infotrace.exp
2526 * gdb.trace/mi-trace-frame-collected.exp
2527 * gdb.trace/mi-trace-unavailable.exp
2528 * gdb.trace/mi-traceframe-changed.exp
2529 * gdb.trace/mi-tracepoint-changed.exp
2530 * gdb.trace/mi-tsv-changed.exp
2531 * gdb.trace/no-attach-trace.exp
2532 * gdb.trace/packetlen.exp
2533 * gdb.trace/passc-dyn.exp
2534 * gdb.trace/passcount.exp
2535 * gdb.trace/pending.exp
2536 * gdb.trace/pr16508.exp
2537 * gdb.trace/qtro.exp
2538 * gdb.trace/range-stepping.exp
2539 * gdb.trace/read-memory.exp
2540 * gdb.trace/report.exp
2541 * gdb.trace/save-trace.exp
2542 * gdb.trace/signal.exp
2543 * gdb.trace/stap-trace.exp
2544 * gdb.trace/status-stop.exp
2545 * gdb.trace/strace.exp
2546 * gdb.trace/tfile.exp
2547 * gdb.trace/tfind.exp
2548 * gdb.trace/trace-break.exp
2549 * gdb.trace/trace-condition.exp
2550 * gdb.trace/trace-enable-disable.exp
2551 * gdb.trace/trace-mt.exp
2552 * gdb.trace/tracecmd.exp
2553 * gdb.trace/tracefile-pseudo-reg.exp
2554 * gdb.trace/tspeed.exp
2555 * gdb.trace/tstatus.exp
2557 * gdb.trace/unavailable.exp
2558 * gdb.trace/while-dyn.exp
2559 * gdb.trace/while-stepping.exp
2562 * lib/mi-support.exp
2565 * lib/prelink-support.exp
2566 * lib/selftest-support.exp
2568 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
2570 * Makefile.in: Include disable-implicit-rules.mk.
2572 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2574 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
2575 non-byte-aligned bit fields.
2577 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2580 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
2581 respects the DW_AT_data_bit_offset attribute.
2583 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
2585 * gdb.base/default.exp: Fix output of "set language".
2587 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
2589 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
2590 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
2592 * configure.ac: Remove checks for the make program.
2593 * configure: Re-generate.
2595 2016-11-16 Kevin Buettner <kevinb@redhat.com>
2597 * gdb.python/py-recurse-unwind.c (main): Add loop.
2598 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
2599 to read_register() and gdb.parse_and_eval(). Make each code
2600 call a separate case that can be individually tested.
2601 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
2602 proc. Call cont_and_backtrace for each of the code paths that
2603 we want to test in the unwinder.
2605 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
2607 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
2608 the definition of struct S.
2610 2016-11-11 Catherine Moore <clm@codesourcery.com>
2612 * gdb.base/dump.exp: Identify verilog format dump tests as such.
2614 2016-11-09 Pedro Alves <palves@redhat.com>
2616 * gdb.base/commands.exp (runto_or_return): New procedure.
2617 (gdbvar_simple_if_test, gdbvar_simple_while_test)
2618 (gdbvar_complex_if_while_test, progvar_simple_if_test)
2619 (progvar_simple_while_test, progvar_complex_if_while_test)
2620 (if_while_breakpoint_command_test)
2621 (infrun_breakpoint_command_test, breakpoint_command_test)
2622 (user_defined_command_test, watchpoint_command_test)
2623 (test_command_prompt_position, redefine_hook_test)
2624 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
2625 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
2626 multi_line_input and multi_line. Remove gdb_expect and
2627 gdb_stop_suppressing_tests uses.
2628 * lib/gdb.exp (valnum_re): New global.
2629 (multi_line_input): New procedure.
2631 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
2633 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
2635 (test_setup): Define with proc_with_prefix.
2636 (test_cli_inferior): Likewise.
2637 (test_cli_thread): Likewise.
2638 (test_cli_frame): Likewise.
2639 (test_cli_select_frame): Likewise.
2640 (test_cli_up_down): Likewise.
2641 (test_mi_thread_select): Likewise.
2642 (test_mi_stack_select_frame): Likewise.
2643 (test_cli_in_mi_inferior): Likewise.
2644 (test_cli_in_mi_thread): Likewise.
2645 (test_cli_in_mi_frame): Likewise.
2646 (top level): Do not use with_test_prefix_procname.
2648 2016-11-09 Pedro Alves <palves@redhat.com>
2650 * gdb.base/commands.exp (gdbvar_simple_if_test)
2651 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
2652 (progvar_simple_if_test, progvar_simple_while_test)
2653 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
2654 (infrun_breakpoint_command_test, breakpoint_command_test)
2655 (user_defined_command_test, watchpoint_command_test)
2656 (test_command_prompt_position, deprecated_command_test)
2657 (bp_deleted_in_command, temporary_breakpoint_commands)
2658 (stray_arg0_test, source_file_with_indented_comment)
2659 (recursive_source_test, if_commands_test)
2660 (error_clears_commands_left, redefine_hook_test)
2661 (redefine_backtrace_test): Use proc_with_prefix.
2662 * lib/gdb.exp (proc_with_prefix): New proc.
2664 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2666 * gdb.base/tui-layout.c: New file.
2667 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
2668 disassembly window contains very long lines.
2670 2016-11-08 Tom Tromey <tom@tromey.com>
2672 * gdb.python/py-value.exp (test_value_creation): Make "long" test
2675 2016-11-08 Tom Tromey <tom@tromey.com>
2677 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
2680 2016-10-29 Manish Goregaokar <manish@mozilla.com>
2682 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
2684 2016-10-27 Manish Goregaokar <manish@mozilla.com>
2686 * gdb.rust/simple.rs: Add test for univariant enums without
2687 discriminants and for encoded struct-like enums.
2689 2016-10-28 Pedro Alves <palves@redhat.com>
2691 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
2692 gdb_test_multiple, tighten regexps and match symtabs and line
2693 tables incrementally.
2695 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
2697 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
2700 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
2702 * gdb.base/exec-invalid-sysroot.exp: New file.
2704 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2706 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
2708 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2710 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
2712 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
2714 * gdb.base/killed-outside.exp: Remove $options from a call to
2715 `prepare_for_testing'.
2717 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2719 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2720 Change test message.
2722 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2724 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
2727 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
2729 * gdb.trace/mi-trace-save.exp: New file.
2731 2016-10-13 Yao Qi <yao.qi@linaro.org>
2733 * gdb.base/code_elim.exp (get_var_address): Remove.
2734 * gdb.base/relocate.exp: Likewise.
2735 * gdb.base/shreloc.exp: Likewise.
2736 * lib/gdb.exp (get_var_address): New.
2738 2016-10-13 Yao Qi <yao.qi@linaro.org>
2740 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
2741 floating point tests if $skip_float_test is false.
2743 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
2745 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
2746 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
2748 Add 1 to argc so we guarantee distinct initial/modified argc values.
2750 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2752 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
2754 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2756 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
2757 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
2758 * gdb.arch/vsx-regs.exp: Likewise.
2760 2016-10-07 Yao Qi <yao.qi@linaro.org>
2762 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
2764 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
2766 * gdb.python/python.exp: Test decode_line("*0").
2768 2016-10-06 Doug Evans <dje@google.com>
2770 * gdb.python/py-value.exp (test_value_creation): Add test for large
2771 unsigned 64-bit value.
2773 2016-10-06 Tom Tromey <tom@tromey.com>
2775 * gdb.compile/compile.exp: Change java tests to rust.
2776 * gdb.base/setshow.exp: Change java tests to rust.
2777 * gdb.base/default.exp: Remove java from language list.
2778 * README (Examples): Update language example.
2779 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
2781 * lib/gdb.exp (skip_java_tests): Remove.
2782 * lib/java.exp: Remove.
2785 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2787 * gdb.arch/mips-fcr.exp: New test.
2788 * gdb.arch/mips-fcr.c: Source for the new test.
2790 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
2792 * gdb.base/solib-disc.exp: Use `standard_output_file'
2795 2016-10-06 Pedro Alves <palves@redhat.com>
2797 * gdb.base/jit-simple-dl.c: New file.
2798 * gdb.base/jit-simple-jit.c: New file, factored out from ...
2799 * gdb.base/jit-simple.c: ... this.
2800 * gdb.base/jit-simple.exp (jit_run): Delete.
2801 (build_jit): New proc.
2802 (jit_test_reread): Recompile either the main program or the shared
2803 library, depending on what is being tested. Skip changing address
2804 if caller wants to. Compare before/after addresses. If testing
2805 standalone, explicitly load the binary. Test "maint info
2807 (top level): Add "standalone vs shared lib" and "change address"
2808 vs "same address" axes.
2810 2016-10-06 Pedro Alves <palves@redhat.com>
2812 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
2815 (jit_test_reread): Use with_test_prefix. Reload the main binary
2816 explicitly. Compare the before/after addresses of the JIT
2819 2016-08-15 Doug Evans <dje@google.com>
2821 * gdb.xml/extra-regs.xml: Update, end field now required, default type
2822 for single bitfields is bool.
2823 * gdb.xml/tdesc-regs.exp: Ditto.
2825 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2827 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
2829 2016-10-05 Yao Qi <yao.qi@linaro.org>
2831 * lib/gdb.exp (support_complex_tests): Return zero if
2832 gdb_skip_float_test return true.
2834 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2835 Simon Marchi <simon.marchi@ericsson.com>
2838 * gdb.mi/user-selected-context-sync.exp: New file.
2839 * gdb.mi/user-selected-context-sync.c: New file.
2841 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
2842 Simon Marchi <simon.marchi@ericsson.com>
2845 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
2846 =thread-select-event check.
2848 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
2850 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
2851 the compulsory L operand changes.
2852 * gdb.arch/powerpc-power.s: Likewise.
2854 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2856 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
2857 * gdb.base/jit-attach-pie.c: New file.
2858 * gdb.base/jit-attach-pie.exp: New file.
2860 2016-09-28 Pedro Alves <palves@redhat.com>
2862 * gdb.base/infcall-input.c: New file.
2863 * gdb.base/infcall-input.exp: New file.
2865 2016-09-22 Yao Qi <yao.qi@linaro.org>
2867 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
2868 (gdb_exit): Rename it to ...
2869 (gdbserver_gdb_exit): ... Close GDBserver.
2870 (gdb_exit): New proc, call gdbserver_gdb_exit.
2871 (mi_gdb_exit): Likewise.
2873 2016-09-22 Yao Qi <yao.qi@linaro.org>
2875 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
2877 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
2880 2016-09-22 Yao Qi <yao.qi@linaro.org>
2882 * lib/gdbserver-support.exp: Check the existence of
2883 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
2885 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
2887 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
2889 2016-09-21 Tom Tromey <tom@tromey.com>
2892 * gdb.base/quit.exp: New file.
2894 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
2896 * .gitignore: New file.
2898 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
2900 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
2903 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
2905 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
2907 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2909 * gdb.cp/casts.cc (decltype): Move it ...
2910 (main): ... with its call to ...
2911 * gdb.cp/casts03.cc: ... a new file.
2912 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
2914 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2916 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
2918 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
2920 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
2921 and sync up the test with tests in gas/testsuite/gas/ppc.
2922 * gdb.arch/powerpc-power.exp: Likewise.
2924 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2926 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
2928 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
2929 Jan Kratochvil <jan.kratochvil@redhat.com>
2931 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
2932 make m1's definition to be different from m2's. Use 'dummy' as an
2933 argument for probe 'two'.
2935 2016-09-10 Jon Beniston <jon@beniston.com>
2937 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
2940 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
2942 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
2943 variable declaration.
2944 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
2945 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
2946 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
2947 received HWCAP as its argument.
2949 2016-09-06 Pedro Alves <palves@redhat.com>
2951 * gdb.base/new-ui-pending-input.c: New file.
2952 * gdb.base/new-ui-pending-input.exp: New file.
2953 * gdb.exp (clear_gdb_spawn_id): New procedure.
2954 (with_spawn_id): Check whether gdb_spawn_id exists before
2955 referencing it. If gdb_spawn_id didn't exist on entry, clear it
2958 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2960 * gdb.base/float128.c: New file.
2961 * gdb.base/float128.exp: Likewise.
2962 * gdb.base/floatn.c: Likewise.
2963 * gdb.base/floatn.exp: Likewise.
2965 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2967 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
2969 2016-09-05 Pedro Alves <palves@redhat.com>
2972 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
2973 unwinders are immediately called as side effect of "source" or
2974 "disable unwinder" commands.
2975 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
2977 2016-09-02 Yao Qi <yao.qi@linaro.org>
2979 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
2980 is true and $type is "float" or "double".
2982 2016-09-02 Yao Qi <yao.qi@linaro.org>
2984 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
2986 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
2987 * gdb.base/call-rt-st.exp: Likewise.
2988 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
2989 return value instead of gdb,skip_float_test.
2990 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
2991 (do_function_calls): Use its return value instead of
2992 gdb,skip_float_test.
2993 * gdb.base/finish.exp: Likewise.
2994 * gdb.base/funcargs.exp: Likewise.
2995 * gdb.base/return.exp: Likewise.
2996 * gdb.base/return2.exp: Likewise.
2997 * gdb.base/varargs.exp: Likewise.
2998 * lib/gdb.exp (gdb_skip_float_test): Change it to
2999 gdb_caching_proc. Detect the broken ptrace on arm-linux.
3001 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3003 * gdb.multi/tids.exp: Test "thread apply all".
3005 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3007 * gdb.base/default.exp (tty): Remove.
3009 2016-08-24 Kevin Buettner <kevinb@redhat.com>
3011 * gdb.python/py-recurse-unwind.c: New file.
3012 * gdb.python/py-recurse-unwind.py: New file.
3013 * gdb.python/py-recurse-unwind.exp: New file.
3015 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
3017 * gdb.base/set-inferior-tty.exp: New file.
3018 * gdb.base/set-inferior-tty.c: New file.
3020 2016-08-23 Pedro Alves <palves@redhat.com>
3023 * gdb.base/new-ui-echo.c: New file.
3024 * gdb.base/new-ui-echo.exp: New file.
3026 2016-08-23 Yao Qi <yao.qi@linaro.org>
3028 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
3030 * gdb.server/connect-without-multi-process.exp (do_test):
3033 2016-08-23 Yao Qi <yao.qi@linaro.org>
3035 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
3036 standalone_txt. Delete gdb_txt and standalone_txt on host
3037 and target. Spawn the binary on target. Copy files from
3040 2016-08-22 Pedro Alves <palves@redhat.com>
3043 * gdb.base/vdso-warning.exp: Test core dumps too. Use
3044 with_test_prefix. Factor out bits to ...
3045 (test_no_vdso): ... this new procedure.
3047 2016-08-19 Carl Love <cel@us.ibm.com>
3049 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
3050 maintaining separate logic for constructing the output path.
3051 * gdb.arch/powerpc-d128-regs.exp: Likewise.
3052 * gdb.arch/ppc-dfp.exp: Likewise.
3053 * gdb.arch/ppc-fp.exp: Likewise.
3054 * gdb.arch/vsx-regs.exp: Likewise.
3055 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
3056 binprefix for generating the additional binary files.
3058 2016-08-19 Pedro Alves <palves@redhat.com>
3060 * gdb.trace/mi-trace-frame-collected.exp
3061 (test_trace_frame_collected): On x32, expect two registers.
3063 2016-08-18 Carl Love <cel@us.ibm.com>
3065 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
3066 and sync up the test with tests in gas/testsuite/gas/ppc.
3067 * gdb.arch/powerpc-power.exp: Likewise.
3069 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
3071 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
3072 expected error message.
3074 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
3076 * gdb.multi/remove-inferiors.exp: New file.
3077 * gdb.multi/remove-inferiors.c: New file.
3079 2016-08-12 Yao Qi <yao.qi@linaro.org>
3081 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
3084 2016-08-10 Pedro Alves <palves@redhat.com>
3087 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
3090 2016-08-09 Pedro Alves <palves@redhat.com>
3091 Simon Marchi <simon.marchi@ericsson.com>
3094 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
3095 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
3097 2016-08-09 Pedro Alves <palves@redhat.com>
3100 * gdb.mi/mi-cmd-error.exp: New file.
3102 2016-08-09 Pedro Alves <palves@redhat.com>
3105 * gdb.base/signals-state-child.c: New file.
3106 * gdb.base/signals-state-child.exp: New file.
3107 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
3109 2016-08-09 Pedro Alves <palves@redhat.com>
3111 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
3113 2016-08-03 Tom Tromey <tom@tromey.com>
3116 * gdb.python/py-frame-inline.exp: Add Frame.function test.
3118 2016-08-01 Yao Qi <yao.qi@linaro.org>
3120 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
3121 variable mode to "multi-process" if $multi_process is 1, otherwise
3122 set it to "single-process".
3124 2016-08-01 Yao Qi <yao.qi@linaro.org>
3126 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
3127 * gdb.cp/cpexprs.exp: Likewise.
3128 * gdb.cp/m-static.exp: Likewise.
3130 2016-07-26 Tom Tromey <tom@tromey.com>
3133 * gdb.threads/tls.exp (check_thread_local): Add python symbol
3136 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
3138 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
3139 selecting assembly source files.
3140 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
3141 assembly source files.
3142 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
3143 assembly source files.
3144 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
3145 selecting assembly source files.
3147 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
3149 * gdb.base/new-ui.exp (do_test_invalid_args): New
3152 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
3154 * gdb.btrace/reconnect.c: New file.
3155 * gdb.btrace/reconnect.exp: New file.
3157 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
3159 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
3160 to test_catch_syscall_group.
3161 (test_catch_syscall_group): New.
3163 2016-07-21 Tom Tromey <tom@tromey.com>
3165 * gdb.rust/simple.rs (main): Use empty struct expression.
3166 * gdb.rust/simple.exp: Add tests for empty struct expression.
3168 2016-07-21 Yao Qi <yao.qi@linaro.org>
3170 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
3171 if gdb_skip_xml_test is true on some targets.
3173 2016-07-21 Yao Qi <yao.qi@linaro.org>
3175 * gdb.server/solib-list.exp: Unset last_loaded_file.
3177 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3179 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
3180 "step into captured_main (args)".
3182 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3184 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
3186 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3188 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
3190 2016-07-19 Pedro Alves <palves@redhat.com>
3192 * gdb.opt/inline-break.exp: Remove optimize=-O2.
3193 * gdb.opt/inline-bt.exp: Likewise.
3194 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
3195 additional_flags=-Winline.
3196 * gdb.opt/inline-locals.exp: Likewise.
3197 * gdb.opt/inline-markers.c (ATTR): Define.
3198 (inlined_fn): Use it.
3200 2016-07-19 Yao Qi <yao.qi@linaro.org>
3202 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
3203 (test_with_self): Remove some code. Remove argument executable.
3204 (top-level): Use do_self_tests.
3206 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
3207 Don Breazeal <donb@codesourcery.com>
3209 * gdb.base/maint.exp: Escape paths used in regular expressions.
3210 * gdb.stabs/weird.exp: Likewise.
3212 2016-07-13 Tom Tromey <tom@tromey.com>
3214 PR python/15620, PR python/18620:
3215 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
3216 (test_bkpt_events): New procs.
3218 2016-07-13 Tom Tromey <tom@tromey.com>
3221 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
3223 (test_watchpoints): Likewise.
3224 (test_bkpt_pending): New proc.
3226 2016-07-13 Tom Tromey <tom@tromey.com>
3229 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
3232 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3234 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
3235 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
3236 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
3238 (g): Rename g_end_lbl to g_label.
3239 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
3241 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
3243 2016-07-12 Tom Tromey <tom@tromey.com>
3246 * gdb.python/py-unwind-maint.exp: Update tests.
3248 2016-07-12 Yao Qi <yao.qi@linaro.org>
3250 * lib/selftest-support.exp (selftest_setup): Match the output
3251 when captured_main is inlined.
3253 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3255 * gdb.fortran/derived-types.exp (result_line, result_line_2):
3257 (print this%a, print this%b, print this): New tests.
3258 * gdb.fortran/derived-types.f90 (this): New object and
3261 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3263 * gdb.ada/arraydim.exp: Remove extra directory level in build
3266 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
3268 * lib/ada.exp: Remove extra directory level in build directory.
3269 * gdb.ada/cond_lang.exp: Likewise.
3270 * gdb.ada/exec_changed.exp: Likewise.
3271 * gdb.ada/lang_switch.exp: Likewise.
3273 2016-07-06 Manish Goregaokar <manish@mozilla.com>
3275 * simple.rs: Add test for raw pointer subscripting.
3276 * simple.exp: Add test expectations.
3278 2016-07-05 Yao Qi <yao.qi@linaro.org>
3280 * gdb.mi/mi-reverse.exp: Match =record-started output.
3282 2016-07-01 Pedro Alves <palves@redhat.com>
3284 * gdb.base/jit-reader.exp (info_registers_current_frame): New
3286 (jit_reader_test): Test the jit reader's unwinder.
3287 * gdb.base/jithost.c (jit_function_00_code): New global.
3288 (main): Use memcpy to fill in the mmapped code, instead of poking
3289 bytes manually here.
3290 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
3292 (read_debug_info): Save the function's range.
3293 (read_sp): New function.
3294 (unwind_frame): Use it. Also unwind RBP.
3295 (get_frame_id): Use read_sp.
3296 (gdb_init_reader): Use calloc instead of malloc.
3297 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
3298 parameter. Use gdb_test_multiple.
3300 2016-07-01 Pedro Alves <palves@redhat.com>
3301 Antoine Tremblay <antoine.tremblay@ericsson.com>
3303 * gdb.threads/process-dies-while-detaching.c: New file.
3304 * gdb.threads/process-dies-while-detaching.exp: New file.
3306 2016-07-01 Pedro Alves <palves@redhat.com>
3308 * gdb.multi/watchpoint-multi-exit.c: New file.
3309 * gdb.multi/watchpoint-multi-exit.exp: New file.
3311 2016-06-30 Pedro Alves <palves@redhat.com>
3313 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
3314 unset inferior_spawn_id.
3316 2016-06-30 Pedro Alves <palves@redhat.com>
3318 * lib/mi-support.exp (default_mi_gdb_start): Declare global
3319 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
3321 2016-06-29 Yao Qi <yao.qi@linaro.org>
3323 * gdb.base/return.c: Add copyright header.
3325 2016-06-29 Tom Tromey <tom@tromey.com>
3328 * gdb.python/py-framefilter.exp: Add tests for setting priority
3329 and disabling of non-existent frame filter.
3331 2016-06-29 Yao Qi <yao.qi@linaro.org>
3333 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
3336 2016-06-28 Yao Qi <yao.qi@linaro.org>
3338 * gdb.base/catch-syscall.exp: Remove check on isnative and target
3339 triplets. Start gdb, execute catch syscall, and continue. Check
3340 gdb's output to determine catch syscall is supported.
3342 2016-06-27 Manish Goregaokar <manish@mozilla.com>
3344 * gdb.rust/simple.rs: Add test for returning unit in a function.
3345 * gdb.rust/simple.exp: Add expectation for functions returning
3348 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
3350 * gdb.python/py-breakpoint-create-fail.c,
3351 gdb.python/py-breakpoint-create-fail.exp,
3352 gdb.python/py-breakpoint-create-fail.py: New testcase.
3354 2016-06-25 Manish Goregaokar <manish@mozilla.com>
3357 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
3358 * gdb.rust/simple.exp: Add test expectations for new NonZero
3361 2016-06-24 David Taylor <dtaylor@emc.com>
3363 * gdb.base/offsets.exp: New file.
3364 * gdb.base/offsets.c: New file.
3366 2016-06-23 Tom Tromey <tom@tromey.com>
3369 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
3370 before any filters are loaded.
3372 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
3374 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
3375 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
3377 * gdb.fortran/derived-type-function.exp: New file.
3378 * gdb.fortran/derived-type-function.f90: New file.
3381 2016-06-21 Pedro Alves <palves@redhat.com>
3383 * gdb.base/new-ui.exp: New file.
3384 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
3385 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
3386 (with_spawn_id): New procedure.
3388 2016-06-21 Pedro Alves <palves@redhat.com>
3390 * gdb.mi/mi-exec-run.exp: New file.
3392 2016-06-21 Pedro Alves <palves@redhat.com>
3394 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
3395 breakpoint command's output on the main UI.
3396 (test_break): New procedure, factored out from calls in the top
3398 (top level): Use foreach_with_prefix to test MI as main UI and as
3401 2016-06-21 Pedro Alves <palves@redhat.com>
3403 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
3404 (test_awatch_creation_and_listing)
3405 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
3406 Remove 'type' parameter.
3407 (test_watchpoint_all): New parameter mi_mode. Remove
3409 (top level): Use foreach_with_prefix, and add main/separate UI MI
3412 2016-06-21 Pedro Alves <palves@redhat.com>
3414 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
3415 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
3416 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
3417 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
3418 (gdb_main_spawn_id, mi_spawn_id): Declare and
3420 (mi_create_inferior_pty): New procedure,
3421 factored out from default_mi_gdb_start.
3422 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
3424 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
3425 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
3426 Use mi_create_inferior_pty.
3427 (mi_gdb_start): Use eval to pass down args list.
3429 2016-06-21 Pedro Alves <palves@redhat.com>
3431 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
3432 * gdb.opt/inline-cmds.exp: Add MI tests.
3434 2016-06-21 Pedro Alves <palves@redhat.com>
3436 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
3438 2016-06-21 Pedro Alves <palves@redhat.com>
3440 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
3441 (top level): Use it instead of mi_execute_to.
3443 2016-06-21 Pedro Alves <palves@redhat.com>
3445 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
3446 (cont_handler_str): New.
3447 (signal_stop_handler): Set stop_handler_str instead of printing to
3449 (continue_handler): Set cont_handler_str instead of printing to
3451 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
3452 mi_send_resuming_command. Print stop_handler_str and
3453 cont_handler_str instead of expecting the python events print
3456 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
3458 * gdb.base/jit-reader.exp: New file.
3459 * gdb.base/jithost.c: New file.
3460 * gdb.base/jithost.h: New file.
3461 * gdb.base/jitreader.c : New file.
3462 * gdb.base/jit-protocol.h: New file.
3464 2016-06-17 Yao Qi <yao.qi@linaro.org>
3466 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
3467 parameters follow_fork and detach_on_fork. Set follow-fork-mode
3468 and detach-on-fork. Adjust tests.
3469 (top level): Invoke break_cond_on_syscall with combinations of
3470 syscall, follow-fork-mode and detach-on-fork.
3472 2016-06-17 Yao Qi <yao.qi@linaro.org>
3474 * gdb.base/step-over-exit.c: New.
3475 * gdb.base/step-over-exit.exp: New.
3477 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
3479 * gdb.base/float.exp: Add target check for nds32*-*-*.
3480 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
3482 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
3484 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
3485 for unsupported target features.
3486 * gdb.base/call-rt-st.exp: Likewise.
3487 * gdb.base/call-sc.exp: Likewise.
3488 * gdb.base/call-signal-resume.exp: Likewise.
3489 * gdb.base/call-strs.exp: Likewise.
3490 * gdb.base/callexit.exp: Likewise.
3491 * gdb.base/callfuncs.exp: Likewise.
3492 * gdb.base/nodebug.exp: Likewise.
3493 * gdb.base/printcmds.exp: Likewise.
3494 * gdb.base/ptype.exp: Likewise.
3495 * gdb.base/structs.exp: Likewise.
3496 * gdb.base/unwindonsignal.exp: Likewise.
3497 * gdb.cp/gdb2495.exp: Likewise.
3498 * gdb.cp/templates.exp: Likewise.
3499 * gdb.cp/virtfunc.exp: Likewise.
3500 * gdb.threads/hand-call-in-threads.exp: Likewise.
3501 * gdb.threads/interrupted-hand-call.exp: Likewise.
3502 * gdb.threads/thread-unwindonsignal.exp: Likewise.
3504 2016-06-10 Tom Tromey <tom@tromey.com>
3507 * gdb.rust/expr.exp: Add test for integer constant larger than
3510 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
3512 * gdb.fortran/nested-funcs.exp: New.
3513 * gdb.fortran/nested-funcs.f90: New.
3515 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
3517 * gdb.base/examine-backward.c: New file.
3518 * gdb.base/examine-backward.exp: New file.
3520 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
3522 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
3525 2016-06-02 Tom Tromey <tom@tromey.com>
3528 * gdb.python/py-shared.exp: Add solib_name test.
3530 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
3532 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
3534 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
3537 * gdb.dwarf2/implref.exp: Rename to...
3538 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
3539 * gdb.dwarf2/implref-array.c: New file.
3540 * gdb.dwarf2/implref-array.exp: Likewise.
3541 * gdb.dwarf2/implref-global.c: Likewise.
3542 * gdb.dwarf2/implref-global.exp: Likewise.
3543 * gdb.dwarf2/implref-struct.c: Likewise.
3544 * gdb.dwarf2/implref-struct.exp: Likewise.
3546 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3548 * gdb.trace/trace-condition.exp: Add 64bit tests.
3550 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3552 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
3554 (main): Adapt to 8 to 64 bits types.
3555 * gdb.trace/trace-condition.exp: Add new tests.
3557 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3559 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
3561 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3563 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
3564 Move condition tests...
3565 * gdb.trace/trace-condition.exp: Here.
3567 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
3569 * gdb.trace/trace-condition.exp: Add counter-case tests.
3571 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3574 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
3575 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
3577 2016-05-27 Pedro Alves <palves@redhat.com>
3579 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3581 (top level): Call it, and bail out of DejaGnu is known to be bad.
3583 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
3585 * gdb.base/whatis.c: Extend the test case.
3586 * gdb.base/whatis.exp: Add additional tests.
3588 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3590 * gdb.fortran/type.f90: Add pointer variable.
3591 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
3593 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3595 * gdb.fortran/vla-type.exp: Fix testcase name.
3597 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3599 * gdb.fortran/vla-type.exp: Access elements in nested structs.
3601 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3603 * gdb.fortran/type.f90: Add nested structures.
3604 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
3605 * gdb.fortran/derived-type.exp: Adapt expected output.
3606 * gdb.fortran/vla-type.exp: Adapt expected output.
3608 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3610 * gdb.fortran/whatis_type.exp: Adapt expected output.
3612 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3614 * gdb.fortran/print_type.exp: Fix expected output.
3615 * gdb.fortran/whatis_type.exp: Fix expected output.
3617 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
3619 * gdb.fortran/whatis_type.exp: Use multi_line.
3621 2016-05-24 Tom Tromey <tom@tromey.com>
3624 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
3625 use value as an index.
3627 2016-05-23 Tom Tromey <tom@tromey.com>
3630 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
3633 2016-05-24 Pedro Alves <palves@redhat.com>
3636 * gdb.threads/clone-attach-detach.c: New file.
3637 * gdb.threads/clone-attach-detach.exp: New file.
3639 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
3641 * gdb.base/annota-input-while-running.exp: Fix syntax error.
3643 2016-05-23 Tom Tromey <tom@tromey.com>
3645 PR python/19438, PR python/18393:
3646 * gdb.python/py-progspace.exp: Add "dir" test.
3647 * gdb.python/py-objfile.exp: Add "dir" test.
3649 2016-05-23 Yao Qi <yao.qi@linaro.org>
3651 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
3652 * gdb.arch/thumb2-it.exp: Likewise.
3654 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
3656 * gdb.mi/mi-threads-interrupt.c: New file.
3657 * gdb.mi/mi-threads-interrupt.exp: New file.
3659 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
3662 * gdb.mi/mi-async-run.exp: New file.
3663 * gdb.mi/mi-async-run.c: New file.
3665 2016-05-17 Tom Tromey <tom@tromey.com>
3666 Manish Goregaokar <manishsmail@gmail.com>
3668 * lib/rust-support.exp: New file.
3669 * lib/gdb.exp (skip_rust_tests): New proc.
3670 (build_executable_from_specs): Handle rust.
3671 * lib/future.exp (gdb_find_rustc): New proc.
3672 (gdb_default_target_compile): Handle rust.
3673 * gdb.rust/expr.exp: New file.
3674 * gdb.rust/generics.exp: New file.
3675 * gdb.rust/generics.rs: New file.
3676 * gdb.rust/methods.exp: New file.
3677 * gdb.rust/methods.rs: New file.
3678 * gdb.rust/modules.exp: New file.
3679 * gdb.rust/modules.rs: New file.
3680 * gdb.rust/simple.exp: New file.
3681 * gdb.rust/simple.rs: New file.
3683 2016-05-17 Tom Tromey <tom@tromey.com>
3685 * gdb.base/default.exp (set language): Add rust.
3687 2016-05-17 Tom Tromey <tom@tromey.com>
3689 * gdb.gdb/unittest.exp: New file.
3691 2016-05-16 Yao Qi <yao.qi@linaro.org>
3693 * gdb.base/batch-preserve-term-settings.exp: Remove variable
3694 shell_prompt. Update shell_prompt_re.
3696 2016-05-12 Doug Evans <dje@google.com>
3699 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
3700 $options when building executable.
3701 * gdb.dwarf2/fission-loclists-pie.S: New file.
3702 * gdb.dwarf2/fission-loclists-pie.exp: New file.
3704 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3706 * gdb.base/solib-display.exp: Check for [use_gdb_stub]Â instead
3707 of [is_remote target],
3709 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
3711 * lib/gdb.exp (use_gdb_stub): New procedure.
3713 2016-05-03 Yunlian Jiang <yunlian@google.com>
3714 Doug Evans <dje@google.com>
3717 * gdb.dwarf2/dwp-sepdebug.c: New file.
3718 * gdb.dwarf2/dwp-sepdebug.exp: New file.
3720 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3722 * gdb.base/detach.exp: Remove is_remote check.
3724 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
3726 * gdb.base/annota-input-while-running.exp: Don't check for
3727 [is_remote target]. Enable annotations after running to main.
3728 Remove unused "set test..." line.
3730 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3732 * gdb.trace/trace-enable-disable.exp: New file.
3733 * gdb.trace/trace-enable-disable.c: New file.
3735 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3737 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
3738 use it in info sharedlibrary test.
3739 * gdb.trace/ftrace-lock.exp: Likewise.
3740 * gdb.trace/ftrace.exp: Likewise.
3741 * gdb.trace/range-stepping.exp: Likewise.
3742 * gdb.trace/trace-break.exp: Likewise.
3743 * gdb.trace/trace-condition.exp: Likewise.
3744 * gdb.trace/trace-mt.exp: Likewise.
3746 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3748 * lib/gdb.exp (gdb_load_shlibs): Rename to...
3749 (gdb_load_shlib): ... this.
3750 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
3752 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
3753 * gdb.base/ctxobj.exp: Likewise.
3754 * gdb.base/dprintf-pending.exp: Likewise.
3755 * gdb.base/dso2dso.exp: Likewise.
3756 * gdb.base/fixsection.exp: Likewise.
3757 * gdb.base/gcore-relro.exp: Likewise.
3758 * gdb.base/gdb1555.exp: Likewise.
3759 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3760 * gdb.base/gnu-ifunc.exp: Likewise.
3761 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
3762 * gdb.base/jit-so.exp (one_jit_test): Likewise.
3763 * gdb.base/pending.exp: Likewise.
3764 * gdb.base/print-file-var.exp: Likewise.
3765 * gdb.base/print-symbol-loading.exp: Likewise.
3766 * gdb.base/shlib-call.exp: Likewise.
3767 * gdb.base/shreloc.exp: Likewise.
3768 * gdb.base/so-impl-ld.exp: Likewise.
3769 * gdb.base/solib-disc.exp: Likewise.
3770 * gdb.base/solib-nodir.exp: Likewise.
3771 * gdb.base/solib-overlap.exp: Likewise.
3772 * gdb.base/solib-symbol.exp: Likewise.
3773 * gdb.base/solib-weak.exp (do_test): Likewise.
3774 * gdb.base/sym-file.exp: Likewise.
3775 * gdb.base/symtab-search-order.exp: Likewise.
3776 * gdb.base/type-opaque.exp: Likewise.
3777 * gdb.base/unload.exp: Likewise.
3778 * gdb.base/watchpoint-solib.exp: Likewise.
3779 * gdb.compile/compile.exp: Likewise.
3780 * gdb.cp/gdb2384.exp: Likewise.
3781 * gdb.cp/infcall-dlopen.exp: Likewise.
3782 * gdb.cp/re-set-overloaded.exp: Likewise.
3783 * gdb.fortran/library-module.exp: Likewise.
3784 * gdb.opt/solib-intra-step.exp: Likewise.
3785 * gdb.python/py-finish-breakpoint.exp: Likewise.
3786 * gdb.python/py-shared.exp: Likewise.
3787 * gdb.reverse/solib-precsave.exp: Likewise.
3788 * gdb.reverse/solib-reverse.exp: Likewise.
3789 * gdb.server/solib-list.exp: Likewise.
3790 * gdb.threads/dlopen-libpthread.exp: Likewise.
3791 * gdb.threads/tls-shared.exp: Likewise.
3792 * gdb.threads/tls-so_extern.exp: Likewise.
3793 * gdb.trace/change-loc.exp: Likewise.
3794 * gdb.trace/ftrace-lock.exp: Likewise.
3795 * gdb.trace/ftrace.exp: Likewise.
3796 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
3797 * gdb.trace/pending.exp: Likewise.
3798 * gdb.trace/range-stepping.exp: Likewise.
3799 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
3800 (strace_info_marker): Likewise.
3801 (strace_probe_marker): Likewise.
3802 (strace_trace_on_same_addr): Likewise.
3803 (strace_trace_on_diff_addr): Likewise.
3804 * gdb.trace/trace-break.exp: Likewise.
3805 * gdb.trace/trace-condition.exp: Likewise.
3806 * gdb.trace/trace-mt.exp: Likewise.
3808 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
3810 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
3811 result of gdb_remote_download.
3812 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
3813 * gdb.base/dso2dso.exp: Likewise.
3814 * gdb.base/global-var-nested-by-dso.exp: Likewise.
3815 * gdb.base/print-file-var.exp: Likewise.
3816 * gdb.base/shlib-call.exp: Likewise.
3817 * gdb.base/shreloc.exp: Likewise.
3818 * gdb.base/solib-overlap.exp: Likewise.
3819 * gdb.base/solib-weak.exp (do_test): Likewise.
3820 * gdb.base/unload.exp: Likewise.
3822 2016-04-27 Yao Qi <yao.qi@linaro.org>
3824 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
3827 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3829 * vla-type.exp: Print structure from toplevel.
3831 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3833 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
3835 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
3838 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
3840 * gdb.fortran/vla-type.f90: New file.
3841 * gdb.fortran/vla-type.exp: New file.
3843 2016-04-25 Yao Qi <yao.qi@linaro.org>
3845 * gdb.base/branch-to-self.c: New file.
3846 * gdb.base/branch-to-self.exp: New file.
3848 2016-04-22 Yao Qi <yao.qi@linaro.org>
3850 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
3853 2016-04-22 Yao Qi <yao.qi@linaro.org>
3855 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
3856 * gdb.base/annota3.exp: Likewise.
3858 2016-04-22 Yao Qi <yao.qi@linaro.org>
3860 * gdb.reverse/step-precsave.exp: Do one step and test program
3861 stops in "callee" and do multiple steps until program goes out
3863 * gdb.reverse/step-reverse.exp: Likewise.
3865 2016-04-22 Yao Qi <yao.qi@linaro.org>
3867 * gdb.trace/signal.exp: Also pass if
3868 $tracepoint_hits($i) > $iterations.
3870 2016-04-22 Yao Qi <yao.qi@linaro.org>
3872 * gdb.trace/signal.c: New file.
3873 * gdb.trace/signal.exp: New file.
3875 2016-04-19 Doug Evans <xdje42@gmail.com>
3877 * gdb.base/bad-file.exp: New file.
3879 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
3881 * gdb.dwarf2/implref.exp: New file.
3883 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3885 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
3886 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
3887 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
3888 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
3889 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
3890 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
3891 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
3892 * lib/fortran.exp (fortran_int4): New procedure.
3893 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
3894 (fortran_logical4): Likewise.
3896 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
3898 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
3900 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
3902 * lib/compiler.c: Add Intel specific preprocessor macros.
3903 * lib/compiler.cc: Likewise.
3905 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
3907 * gdb.server/connect-with-no-symbol-file.c: New file.
3908 * gdb.server/connect-with-no-symbol-file.exp: New file.
3910 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3912 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
3914 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3916 * boards/gdbserver-base.exp (${board}_download): Copy source file to
3917 standard output directory.
3919 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
3921 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
3923 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
3925 * gdb.btrace/instruction_history.c (loop): Add declaration.
3927 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3929 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
3931 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
3933 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
3934 parentheses to print.
3935 (continue_handler): Likewise.
3937 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
3939 * gdb.server/solib-list.exp: Remove is_remote check.
3940 Pass shlib= to gdb_compile. Don't link shared library with
3941 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
3942 Run binary filename through "readlink -f" on the target.
3944 2016-04-08 Pedro Alves <palves@redhat.com>
3946 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
3947 interpreter filename as argument to gdbserver_spawn.
3948 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
3949 Return empty if $last_loaded_file does not exist.
3951 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3953 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
3954 * gdb.base/jit-main.c: Use exit after usage.
3956 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3958 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
3959 GDBHISTSIZE prior to the tests.
3960 * gdb.base/gdbinit-history.exp: Likewise.
3962 2016-04-07 Pedro Alves <palves@redhat.com>
3964 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
3965 instead of build_executable. Use gdb_load_shlibs.
3967 2016-04-07 Yao Qi <yao.qi@linaro.org>
3969 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
3970 Execute "si" command.
3972 2016-04-07 Yao Qi <yao.qi@linaro.org>
3974 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
3975 number instead of the comments on some line.
3977 2016-04-06 Don Breazeal <donb@codesourcery.com>
3979 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
3980 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
3982 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
3984 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
3985 standard_output_file. Remove unused binfile variable.
3987 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
3989 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
3990 * gdb.python/py-mi-objfile.exp: Match "list main" output
3993 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
3995 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
3998 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
4000 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
4002 * gdb.trace/ftrace.exp: Likewise.
4003 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
4005 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
4006 (gdb_load_shlibs): Copy libraries to test directory when testing
4007 natively. Only set solib-search-path if testing remotely.
4008 * lib/mi-support.exp (mi_load_shlibs): Likewise.
4010 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
4012 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
4013 gdb_download. Use it even if the target is not remote.
4014 * gdb.base/jit.exp (compile_jit_test): Likewise.
4015 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
4016 output directory if the destination board is local, otherwise use
4017 the standard remote_download from DejaGnu.
4018 (gdb_download): Remove.
4019 (gdb_load_shlibs): Use gdb_remote_download instead of
4021 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
4022 Use gdb_remote_download instead of gdb_download. Use it even if
4023 the target is not remote.
4024 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
4025 instead of gdb_download.
4027 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
4029 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
4030 (test_insert_delete_modify): Call mi_load_shlibs before trying to
4033 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
4036 * gdb.base/printcmds.exp: Add artificial arrays tests.
4038 2016-03-31 Pedro Alves <palves@redhat.com>
4041 * gdb.base/jit-main.c: Include unistd.h.
4042 (ATTACH): Define to 0 if not already defined.
4043 (wait_for_gdb, mypid): New globals.
4044 (WAIT_FOR_GDB): New macro.
4045 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
4046 some breakpoint locations.
4047 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
4049 (one_jit_test): Add REATTACH parameter, and handle it. Use
4050 continue_to_test_location.
4051 (top level): Test attach, and adjusts calls to one_jit_test.
4053 2016-03-31 Pedro Alves <palves@redhat.com>
4056 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
4057 BINSUFFIX parameter, and handle it.
4058 (top level): Adjust calls compile_jit_test.
4060 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
4063 * gdb.python/py-mi-events-gdb.py: New file.
4064 * gdb.python/py-mi-events.c: New file.
4065 * gdb.python/py-mi-events.exp: New file.
4067 2016-03-30 Yao Qi <yao.qi@linaro.org>
4069 * gdb.reverse/until-precsave.exp: Match function name only.
4070 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
4071 Move malloc to a condition block.
4072 * gdb.reverse/until-reverse.exp: Match function name only.
4074 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
4076 * gdb.trace/ftrace.exp: Set arg0exp for s390.
4077 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
4078 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
4079 variable for GPR 0 instead of assuming it is register 0.
4080 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
4081 * lib/trace-support.exp: Add s390 registers.
4083 2016-03-29 Yao Qi <yao.qi@linaro.org>
4085 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
4087 2016-03-24 Yao Qi <yao.qi@linaro.org>
4089 * gdb.reverse/break-reverse.exp: Add quotation mark in the
4092 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4094 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
4095 maintaining separate logic for constructing the output path.
4097 2016-03-16 Don Breazeal <donb@codesourcery.com>
4099 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
4100 Retry fork and waitpid on interrupted system call errors.
4101 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4102 Use with_timeout_factor to increase timeout by factor of 10.
4104 2016-03-15 Don Breazeal <donb@codesourcery.com>
4106 * gdb.cp/scope-err.cc: New test program.
4107 * gdb.cp/scope-err.exp: New test script.
4108 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
4109 lines and "set breakpoint here" comment.
4110 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
4111 Fixed some whitespace and format issues.
4112 * gdb.mi/mi-linespec-err-cp.cc: New test program.
4113 * gdb.mi/mi-linespec-err-cp.exp: New test script.
4115 2016-03-15 Doug Evans <dje@google.com>
4117 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
4118 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
4119 All callers updated. Add tests for enums, mixed flags register.
4121 2016-03-15 Doug Evans <dje@google.com>
4123 * gdb.base/skip.c (main): Call test_skip_file_and_function.
4124 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
4126 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
4128 * gdb.base/default.exp: Add $_as_string to the list of expected
4129 convenience functions.
4131 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
4133 * gdb.base/maint.exp: New tests for 'maint info line-table'.
4135 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
4137 * gdb.python/py-as-string.exp: New file.
4138 * gdb.python/py-as-string.c: New file.
4140 2016-03-09 Pedro Alves <palves@redhat.com>
4142 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
4143 signal" -> "Thread NN received signal" output change.
4144 * gdb.threads/ia64-sigill.exp: Likewise.
4145 * gdb.threads/linux-dp.exp: Likewise.
4146 * gdb.threads/manythreads.exp: Likewise.
4147 * gdb.threads/pending-step.exp: Likewise.
4148 * gdb.threads/print-threads.exp: Likewise.
4149 * gdb.threads/sigstep-threads.exp: Likewise.
4150 * gdb.threads/staticthreads.exp: Likewise.
4151 * gdb.threads/tls.exp: Likewise.
4153 2016-03-09 Pedro Alves <palves@redhat.com>
4155 * gdb.base/command-line-input.exp: New file.
4157 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4159 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
4160 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
4161 * gdb.trace/pending.exp: Accept leading dot before function name.
4162 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
4163 * lib/trace-support.exp: Set registers for ppc.
4165 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4167 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
4168 use it for disassembly; accept .main in addition to main in backtrace.
4170 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
4171 Marcin Kościelnicki <koriakin@0x04.net>
4173 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
4174 (gdb_recursion_test_ptr): New global variable.
4175 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
4177 (gdb_c_test): Ditto.
4179 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4181 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
4184 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
4186 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
4187 (bar): Add bar_start_lbl label.
4188 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
4189 of foo/bar for emitting DWARF and tracing.
4191 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
4193 * analyze-racy-logs.py: Set executable bit.
4195 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
4197 * Makefile.in (DEFAULT_RACY_ITER): New variable.
4198 (CHECK_TARGET_TMP): Likewise.
4199 (check-single-racy): New rule.
4200 (check-parallel-racy): Likewise.
4201 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
4202 (do-check-parallel-racy): New rule.
4203 (check-racy/%.exp): Likewise.
4204 * README (Racy testcases): New section.
4205 * analyze-racy-logs.py: New file.
4207 2016-03-03 Doug Evans <dje@google.com>
4209 * gdb.base/skip.exp: Use with_test_prefix.
4211 2016-03-03 Yao Qi <yao.qi@linaro.org>
4213 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
4214 Invoke step_over_syscall "clone" and break_cond_on_syscall
4216 * gdb.base/step-over-clone.c: New file.
4218 2016-03-03 Yao Qi <yao.qi@linaro.org>
4220 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
4223 2016-03-03 Yao Qi <yao.qi@linaro.org>
4225 * gdb.base/disp-step-fork.c: Rename to ...
4226 * gdb.base/step-over-fork.c: ... it. New file.
4227 * gdb.base/disp-step-vfork.c: Rename to ...
4228 * gdb.base/step-over-vfork.c: ... it. New file.
4229 * gdb.base/disp-step-syscall.exp: Rename to ...
4230 * gdb.base/step-over-syscall.exp: ... it. New file.
4231 (disp_step_cross_syscall): Rename to ...
4232 (step_over_syscall): ... it.
4234 2016-03-03 Yao Qi <yao.qi@linaro.org>
4236 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
4237 If target supports condition evaluation on target, invoke
4238 break_cond_on_syscall for fork and vfork.
4240 2016-03-03 Yao Qi <yao.qi@linaro.org>
4242 * gdb.base/disp-step-syscall.exp: Don't invoke
4243 support_displaced_stepping.
4244 (disp_step_cross_syscall): Test with displaced stepping off and
4247 2016-03-03 Yao Qi <yao.qi@linaro.org>
4249 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
4252 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
4255 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4257 * gdb.fortran/vla-history.exp: Remove breakpoint.
4259 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4261 * gdb.fortran/vla-history.exp: Lookup array elements and printing
4264 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4266 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
4269 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
4271 * gdb.mi/vla.f90: Nullify pointer after declaration.
4273 2016-03-01 Pedro Alves <palves@redhat.com>
4275 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
4277 2016-03-01 Pedro Alves <palves@redhat.com>
4279 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
4280 before anything else.
4281 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
4283 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
4284 before anything else.
4285 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
4287 2016-03-01 Pedro Alves <palves@redhat.com>
4289 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
4291 2016-03-01 Yao Qi <yao.qi@linaro.org>
4293 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
4294 prepare_for_testing.
4296 2016-03-01 Yao Qi <yao.qi@linaro.org>
4298 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
4300 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4302 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
4303 manually constructing the output path.
4305 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4307 * gdb.arch/s390-stackless.S: New.
4308 * gdb.arch/s390-stackless.exp: New.
4310 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
4312 * gdb.dlang/circular.c: New file.
4313 * gdb.dlang/circular.exp: New file.
4315 2016-02-26 Yao Qi <yao.qi@linaro.org>
4317 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
4318 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
4319 (testcases): Update.
4321 2016-02-26 Yao Qi <yao.qi@linaro.org>
4323 * gdb.reverse/aarch64.c: Rename to ...
4324 * gdb.reverse/insn-reverse.c: ... it.
4325 * gdb.reverse/aarch64.exp: Rename to ...
4326 * gdb.reverse/insn-reverse.exp: ... it.
4328 2016-02-26 Yao Qi <yao.qi@linaro.org>
4330 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
4331 (testcase_ftype): New.
4332 (testcases): New array.
4334 (main): Call each element in testcases.
4335 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
4336 (read_testcase): New.
4337 Do the tests in a loop.
4339 2016-02-25 Yao Qi <yao.qi@linaro.org>
4341 * gdb.base/branches.c: Remove.
4343 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4346 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
4348 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4350 * gdb.trace/ftrace.exp: Remove unnecessary target check.
4352 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
4354 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
4355 change x86_64 call_insn to 'callq'.
4357 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4359 * gdb.trace/tfile-avx.c: Move to...
4360 * gdb.trace/tracefile-pseudo-reg.c: Here.
4361 * gdb.trace/tfile-avx.exp: Move to...
4362 * gdb.trace/tracefile-pseudo-reg.exp: Here.
4364 2016-02-24 Gary Benson <gbenson@redhat.com>
4366 * gdb.base/attach-pie-noexec.exp: Do not expect an error
4369 2016-02-23 Doug Evans <dje@google.com>
4371 * gdb.base/skip.c (test_skip): New function.
4372 (end_test_skip_file_and_function): New function.
4373 (test_skip_file_and_function): New function.
4374 * gdb.base/skip1.c (test_skip): New function.
4375 (skip1_test_skip_file_and_function): New function.
4376 * gdb.base/skip.exp: Add tests for new skip options.
4377 * gdb.base/skip-solib.exp: Update expected output.
4378 * gdb.perf/skip-command.cc: New file.
4379 * gdb.perf/skip-command.exp: New file.
4380 * gdb.perf/skip-command.py: New file.
4382 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
4384 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
4385 info registers pattern.
4387 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
4389 * lib/future.exp: Add D support.
4390 (gdb_find_gdc): New proc.
4391 (gdb_default_target_compile): Add D support.
4393 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
4395 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
4397 (trace_speed_test): Determine the iteration count for a time
4398 between 15..30 seconds.
4400 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
4402 * gdb.arch/i386-mpx-sigsegv.c: New file.
4403 * gdb.arch/i386-mpx-sigsegv.exp: New file.
4404 * gdb.arch/i386-mpx-simple_segv.c: New file.
4405 * gdb.arch/i386-mpx-simple_segv.exp: New file.
4407 2016-02-18 Yao Qi <yao.qi@linaro.org>
4409 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4410 Don't call setup_kfail.
4412 2016-02-18 Yao Qi <yao.qi@linaro.org>
4414 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4415 Set "set breakpoint condition-evaluation" per $cond_bp_target.
4417 2016-02-16 Doug Evans <dje@google.com>
4419 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
4420 * gdb.base/skip1.c: Ditto.
4421 * gdb.base/skip.exp: Whitespace cleanup.
4423 2016-02-16 Don Breazeal <donb@codesourcery.com>
4426 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
4427 Remove kfail for PR remote/19496.
4429 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4431 * lib/gdb.exp (standard_temp_file): Return a path specific to
4432 the runtest invocation.
4434 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
4436 * gdb.trace/save-trace.exp: Change relative path to be in the
4437 standard output directory.
4439 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4441 * gdb.arch/i386-prologue.c: Add missing prototypes.
4443 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4445 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
4446 * gdb.arch/i386-prologue.exp: Likewise.
4447 * gdb.arch/i386-size.exp: Likewise.
4449 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
4451 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
4452 define object file path.
4453 * gdb.btrace/gcore.exp: Use standard_output_file to define core
4455 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
4456 standard_output_file to define binfile.
4458 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4460 Fix compatibility with recent gfortran-5.3.1.
4461 * gdb.fortran/vla-history.exp (print vla1 allocated)
4462 (print vla2 allocated, print $2, print $3): Remove
4463 (print $4): Rename to ...
4464 (print $2): ... here.
4465 (print $9): Rename to ...
4466 (print $5): ... here.
4467 (print $10): Rename to ...
4468 (print $6): ... here.
4469 * gdb.fortran/vla.f90: Add pvla initialization.
4471 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4473 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
4475 * gdb.fortran/vla-value-sub.exp: Likewise.
4477 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
4479 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
4481 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
4483 * i386-biarch-core.exp: Define corefile using
4484 standard_output_file.
4486 2016-02-12 Yao Qi <yao.qi@linaro.org>
4488 * gdb.arch/arm-single-step-kernel-helper.c: New.
4489 * gdb.arch/arm-single-step-kernel-helper.exp: New.
4491 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
4493 * gdb.btrace/tailcall-only.exp: New.
4494 * gdb.btrace/tailcall-only.c: New.
4495 * gdb.btrace/x86_64-tailcall-only.S: New.
4496 * gdb.btrace/i686-tailcall-only.S: New.
4498 2016-02-11 Pedro Alves <palves@redhat.com>
4500 * README (Parallel testing): Add missing double quotes.
4502 2016-02-11 Pedro Alves <palves@redhat.com>
4504 * README (Parallel testing): New section.
4505 (GDB_PARALLEL): Rewrite.
4506 (FORCE_PARALLEL): Document.
4508 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
4510 * gdb.trace/tfile-avx.c: New test.
4511 * gdb.trace/tfile-avx.exp: New test.
4513 2016-02-09 Keith Seitz <keiths@redhat.com>
4515 PR breakpoints/19546
4516 * gdb.base/infcall-exec.c: New file.
4517 * gdb.base/infcall-exec2.c: New file.
4518 * gdb.base/infcall-exec.exp: New file.
4520 2016-02-09 Keith Seitz <keiths@redhat.com>
4522 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
4523 (toplevel): Call test_bkpt_address.
4525 2016-02-09 Keith Seitz <keiths@redhat.com>
4528 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
4529 (toplevel): Call test_bkpt_address.
4531 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
4533 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
4535 * configure: Regenerate.
4537 2016-02-09 Pedro Alves <palves@redhat.com>
4539 PR breakpoints/19548
4540 * gdb.base/execl-update-breakpoints.c (some_function): New
4543 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
4544 Tighten expected GDB output.
4546 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4548 * Makefile.in (ALL_SUBDIRS): Remove.
4549 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
4550 (distclean maintainer-clean realclean): Likewise.
4551 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
4552 * configure: Regenerate.
4553 * gdb.ada/Makefile.in: Delete.
4554 * gdb.arch/Makefile.in: Likewise.
4555 * gdb.asm/Makefile.in: Likewise.
4556 * gdb.base/Makefile.in: Likewise.
4557 * gdb.btrace/Makefile.in: Likewise.
4558 * gdb.cell/Makefile.in: Likewise.
4559 * gdb.compile/Makefile.in: Likewise.
4560 * gdb.cp/Makefile.in: Likewise.
4561 * gdb.disasm/Makefile.in: Likewise.
4562 * gdb.dlang/Makefile.in: Likewise.
4563 * gdb.dwarf2/Makefile.in: Likewise.
4564 * gdb.fortran/Makefile.in: Likewise.
4565 * gdb.gdb/Makefile.in: Likewise.
4566 * gdb.go/Makefile.in: Likewise.
4567 * gdb.guile/Makefile.in: Likewise.
4568 * gdb.java/Makefile.in: Likewise.
4569 * gdb.linespec/Makefile.in: Likewise.
4570 * gdb.mi/Makefile.in: Likewise.
4571 * gdb.modula2/Makefile.in: Likewise.
4572 * gdb.multi/Makefile.in: Likewise.
4573 * gdb.objc/Makefile.in: Likewise.
4574 * gdb.opencl/Makefile.in: Likewise.
4575 * gdb.opt/Makefile.in: Likewise.
4576 * gdb.pascal/Makefile.in: Likewise.
4577 * gdb.perf/Makefile.in: Likewise.
4578 * gdb.python/Makefile.in: Likewise.
4579 * gdb.reverse/Makefile.in: Likewise.
4580 * gdb.server/Makefile.in: Likewise.
4581 * gdb.stabs/Makefile.in: Likewise.
4582 * gdb.threads/Makefile.in: Likewise.
4583 * gdb.trace/Makefile.in: Likewise.
4584 * gdb.xml/Makefile.in: Likewise.
4585 * lib/gdb.exp (make_gdb_parallel_path): Add check for
4587 (standard_output_file): Remove check for GDB_PARALLEL, always
4588 return path in outputs/$subdir/$testname.
4590 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
4592 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
4593 (site.exp): Assign abs_srcdir to tcl's srcdir.
4595 2016-02-04 Yao Qi <yao.qi@linaro.org>
4597 * gdb.base/foll-exec-mode.c: Include limits.h.
4598 (main): Add parameters argc and argv. Get directory from
4600 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
4602 * gdb.base/foll-exec.c: Include limits.h.
4603 (main): Add parameters argc and argv.
4604 Get directory from argv[0].
4605 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
4606 Adjust tests on the number of lines as source code changed.
4607 * gdb.base/foll-vfork-exit.c: Include limits.h.
4608 (main): Add one line of statement before vfork.
4609 * gdb.base/foll-vfork.c: Include limits.h and string.h.
4610 (main): Add parameters argc and argv. Get directory from
4612 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
4613 (setup_gdb): Set tbreak to skip some source lines.
4614 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
4615 (main): Add parameters argc and argv. Get directory from
4617 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
4619 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
4620 (main): Add parameters argc and argv. Get directory from
4622 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
4625 2016-02-01 Doug Evans <dje@google.com>
4627 * gdb.base/skip.exp: Clean up multiple references to same test name.
4629 2016-02-01 Pedro Alves <palves@redhat.com>
4632 * gdb.threads/forking-threads-plus-breakpoint.exp
4633 (displaced_stepping_supported): New global.
4634 (probe_displaced_stepping_support): New procedure.
4635 (do_test): Add 'displaced' parameter, and use it.
4636 (top level): Check for displaced stepping support. Add displaced
4637 stepping on/off testing axis.
4639 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4641 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
4642 pointer. Don't perform further tests on the unassociated pointer
4643 if the first test fails.
4645 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
4647 * gdb.base/max-value-size.c: New file.
4648 * gdb.base/max-value-size.exp: New file.
4649 * gdb.base/huge.exp: Disable max-value-size for this test.
4651 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
4653 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
4655 2016-01-28 Yao Qi <yao.qi@linaro.org>
4657 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
4659 2016-01-25 Pedro Alves <palves@redhat.com>
4662 * gdb.base/fork-running-state.c: New file.
4663 * gdb.base/fork-running-state.exp: New file.
4665 2016-01-25 Pedro Alves <palves@redhat.com>
4668 * gdb.base/catch-fork-kill.c: New file.
4669 * gdb.base/catch-fork-kill.exp: New file.
4671 2016-01-25 Pedro Alves <palves@redhat.com>
4673 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
4674 Delete, moved to lib/gdb.exp.
4675 * gdb.threads/forking-threads-plus-breakpoint.exp
4676 (foreach_with_prefix): Likewise.
4677 * gdb.threads/process-dies-while-handling-bp.exp
4678 (foreach_with_prefix): Likewise.
4679 * lib/gdb.exp (foreach_with_prefix): New procedure.
4681 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
4683 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
4684 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
4686 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
4688 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
4691 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4692 Pedro Alves <palves@redhat.com>
4694 Fix testsuite compatibility with Guile.
4695 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
4698 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4700 Fix testsuite compatibility with Guile.
4701 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
4702 (thread 1): New test for backtrace through signal handler.
4704 2016-01-22 Yao Qi <yao.qi@linaro.org>
4707 * gdb.base/multi-forks.c: Include
4708 ../lib/unbuffer_output.c
4709 (main): Call gdb_unbuffer_output.
4711 2016-01-21 Doug Evans <dje@google.com>
4713 * lib/ada.exp (gdb_compile_ada): Fix typo.
4715 2016-01-21 Joel Brobecker <brobecker@adacore.com>
4717 * gdb.base/break-fun-addr.exp: New file.
4718 * gdb.base/break-fun-addr1.c: New file.
4719 * gdb.base/break-fun-addr2.c: New file.
4721 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
4723 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
4724 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
4727 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4729 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
4730 when GDB can not set the vector return value. Add more comments
4733 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
4735 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
4738 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4740 * Makefile.in (DO_RUNTEST): Add --status and update usages.
4742 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4744 * Makefile.in (check-single): Pass --status to runtest.
4745 (check/%.exp): Likewise.
4747 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
4749 * Makefile.in (check-parallel): Propagate return code from make
4752 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
4754 * gdb.trace/ftrace.exp: Fix expected message on continue.
4755 * gdb.trace/pending.exp: Fix expected message on continue.
4756 * gdb.trace/trace-break.exp: Fix expected message on continue.
4758 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
4760 * lib/gdb.exp (gdb_test): Remove unused global references.
4762 2016-01-18 Pedro Alves <palves@redhat.com>
4764 * gdb.base/async-shell.exp: Adjust expected output.
4765 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
4766 * gdb.base/siginfo-thread.exp: Adjust expected output.
4767 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
4768 * gdb.java/jnpe.exp: Adjust expected output.
4769 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
4770 * gdb.threads/continue-pending-status.exp: Adjust expected output.
4771 * gdb.threads/leader-exit.exp: Adjust expected output.
4772 * gdb.threads/manythreads.exp: Adjust expected output.
4773 * gdb.threads/pthreads.exp: Adjust expected output.
4774 * gdb.threads/schedlock.exp: Adjust expected output.
4775 * gdb.threads/siginfo-threads.exp: Adjust expected output.
4776 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
4778 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
4780 * gdb.threads/sigthread.exp: Adjust expected output.
4781 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
4783 2016-01-18 Yao Qi <yao.qi@linaro.org>
4785 * gdb.guile/scm-section-script.c: Replace @progbits with
4787 * gdb.python/py-section-script.c: Likewise.
4789 2016-01-15 Pedro Alves <palves@redhat.com>
4791 * gdb.multi/tids.exp: Test star wildcard ranges.
4793 2016-01-15 Pedro Alves <palves@redhat.com>
4795 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
4796 command from "thread apply" invocation.
4797 (thr_apply_info_thr_invalid): Default the expected output to the
4799 (top level): Add tests that use convenience variables. Add tests
4800 for "thread apply" with a valid TID list, but missing the command.
4802 2016-01-13 Pedro Alves <palves@redhat.com>
4804 * gdb.base/default.exp: Expect $_gthread as well.
4805 * gdb.multi/tids.exp: Test $_gthread.
4806 * gdb.threads/thread-specific.exp: Test $_gthread.
4808 2016-01-13 Pedro Alves <palves@redhat.com>
4810 * gdb.multi/tids.exp: Test "info threads -gid".
4812 2016-01-13 Pedro Alves <palves@redhat.com>
4814 * gdb.multi/tids.exp: Test InferiorThread.global_num and
4816 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
4818 2016-01-07 Pedro Alves <palves@redhat.com>
4820 * gdb.base/break.exp: Adjust to output changes.
4821 * gdb.base/hbreak2.exp: Likewise.
4822 * gdb.base/sepdebug.exp: Likewise.
4823 * gdb.base/watch_thread_num.exp: Likewise.
4824 * gdb.linespec/keywords.exp: Likewise.
4825 * gdb.multi/info-threads.exp: Likewise.
4826 * gdb.threads/thread-find.exp: Likewise.
4827 * gdb.multi/tids.c: New file.
4828 * gdb.multi/tids.exp: New file.
4830 2016-01-13 Pedro Alves <palves@redhat.com>
4832 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
4834 2016-01-13 Pedro Alves <palves@redhat.com>
4836 * gdb.base/default.exp: Expect $_inferior as well.
4837 * gdb.multi/base.exp: Test $_inferior.
4839 2016-01-13 Pedro Alves <palves@redhat.com>
4841 PR breakpoints/19388
4842 * gdb.base/catch-signal-siginfo-cond.c: New file.
4843 * gdb.base/catch-signal-siginfo-cond.exp: New file.
4845 2016-01-12 Josh Stone <jistone@redhat.com>
4846 Philippe Waroquiers <philippe.waroquiers@skynet.be>
4848 * gdb.base/catch-syscall.c (do_execve): New variable.
4849 (main): Conditionally trigger an execve.
4850 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
4851 (test_catch_syscall_execve): New, check entry/return across execve.
4852 (do_syscall_tests): Call test_catch_syscall_execve.
4854 2016-01-12 Pedro Alves <palves@redhat.com>
4856 * gdb.base/random-signal.exp (do_test): New procedure, with body
4857 of testcase moved in.
4859 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4860 Pedro Alves <palves@redhat.com>
4862 * gdb.base/funcargs.exp (finish from indirectly called function):
4863 Reintroduce the case for 'First'.
4865 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4866 Pedro Alves <palves@redhat.com>
4868 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4869 (tcatch_vfork_then_child_follow_exec)
4870 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
4873 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4875 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
4876 and repeats to unlimited.
4877 * gdb.python/py-value.exp: Likewise.
4878 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
4879 and repeats to unlimited.
4881 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4883 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
4884 and reordering the functions.
4885 * gdb.multi/hangout.c: Likewise.
4886 * gdb.multi/hello.c: Likewise.
4888 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
4890 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
4892 (SingleStatisticTestResult.report): Use dict.keys instead of
4895 2016-01-06 Pedro Alves <palves@redhat.com>
4897 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
4899 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
4901 * gdb.btrace/dlopen.exp: New.
4902 * gdb.btrace/dlopen.c: New.
4903 * gdb.btrace/dlopen-dso.c: New.
4905 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
4907 * lib/gdb.exp (gdb_test): Update comments to clarify that the
4908 PATTERN argument is optional.
4910 2015-12-24 Joel Brobecker <brobecker@adacore.com>
4912 * lib/ada.exp (target_compile_ada_from_dir): New function.
4913 (gdb_compile_ada): Reimplement avoiding the use of project files.
4914 * gdb.ada/gnat_ada.gpr: Delete.
4915 * gdb.ada/cond_lang.exp: Adjust test to make path before
4917 * gdb.ada/small_reg_param.exp: Likewise.
4919 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
4921 * gdb.base/foll-vork.exp: Remove HP-UX special case.
4923 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
4925 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
4928 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
4930 * gdb.base/break.exp: Remove dead code.
4931 * gdb.base/sepdebug.exp: Likewise.
4933 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4935 * gdb.asm/asm-source.exp: Remove HP-UX references.
4936 * gdb.base/annota1.exp: Likewise.
4937 * gdb.base/annota3.exp: Likewise.
4938 * gdb.base/attach.exp: Likewise.
4939 * gdb.base/bigcore.exp: Likewise.
4940 * gdb.base/break.exp: Likewise.
4941 * gdb.base/call-ar-st.exp: Likewise.
4942 * gdb.base/callfuncs.exp: Likewise.
4943 * gdb.base/catch-fork-static.exp: Likewise.
4944 * gdb.base/display.exp: Likewise.
4945 * gdb.base/foll-exec-mode.exp: Likewise.
4946 * gdb.base/foll-exec.exp: Likewise.
4947 * gdb.base/foll-fork.exp: Likewise.
4948 * gdb.base/foll-vfork.exp: Likewise.
4949 * gdb.base/funcargs.exp: Likewise.
4950 * gdb.base/hbreak2.exp: Likewise.
4951 * gdb.base/inferior-died.exp: Likewise.
4952 * gdb.base/interrupt.exp: Likewise.
4953 * gdb.base/multi-forks.exp: Likewise.
4954 * gdb.base/nodebug.exp: Likewise.
4955 * gdb.base/sepdebug.exp: Likewise.
4956 * gdb.base/solib1.c: Likewise.
4957 * gdb.base/step-test.exp: Likewise.
4958 * gdb.mi/non-stop.c: Likewise.
4959 * gdb.mi/pthreads.c: Likewise.
4960 * gdb.multi/bkpt-multi-exec.ex: Likewise.
4961 * gdb.threads/pthreads.c: Likewise.
4962 * gdb.threads/staticthreads.exp: Likewise.
4963 * lib/future.exp: Likewise.
4964 * lib/gdb.exp: Likewise.
4965 * gdb.base/so-indr-cl.c: Remove.
4966 * gdb.base/so-indr-cl.exp: Likewise.
4967 * gdb.base/solib.c: Likewise.
4968 * gdb.base/solib.exp: Likewise.
4969 * gdb.base/solib2.c: Likewise.
4971 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
4973 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
4974 * gdb.base/call-ar-st.exp: Likewise.
4975 * gdb.base/callfuncs.exp: Likewise.
4976 * gdb.base/condbreak.exp: Likewise.
4977 * gdb.base/constvars.exp: Likewise.
4978 * gdb.base/hbreak2.exp: Likewise.
4979 * gdb.base/langs.exp: Likewise.
4980 * gdb.base/list.exp: Likewise.
4981 * gdb.base/long_long.exp: Likewise.
4982 * gdb.base/ptype.exp: Likewise.
4983 * gdb.base/scope.exp: Likewise.
4984 * gdb.base/signals.exp: Likewise.
4985 * gdb.base/so-impl-ld.exp: Likewise.
4986 * gdb.base/varargs.exp: Likewise.
4987 * gdb.base/volatile.exp: Likewise.
4988 * gdb.base/whatis.exp: Likewise.
4989 * gdb.cp/cplusfuncs.exp: Likewise.
4990 * gdb.cp/inherit.exp: Likewise.
4991 * gdb.cp/local.exp: Likewise.
4992 * gdb.cp/member-ptr.exp: Likewise.
4993 * gdb.cp/method.exp: Likewise.
4994 * gdb.cp/overload.exp: Likewise.
4995 * gdb.cp/templates.exp: Likewise.
4996 * gdb.stabs/weird.exp: Likewise.
4997 * lib/compiler.c: Likewise.
4998 * lib/compiler.cc: Likewise.
4999 * lib/cp-support.exp: Likewise.
5000 * lib/gdb.exp: Likewise.
5002 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
5004 * configure.ac: Remove HP-UX case.
5005 * configure: Regenerate.
5007 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
5009 * lib/gdb.exp (gdb_compile): Add function doc.
5011 2015-12-17 Pedro Alves <palves@redhat.com>
5014 * gdb.multi/info-threads.exp: New file.
5016 2015-12-15 Yao Qi <yao.qi@linaro.org>
5018 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
5021 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5023 * gdb.base/history-duplicates.exp: Skip if no readline support.
5025 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5027 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
5029 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5031 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
5033 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
5035 * gdb.base/completion.exp: Skip tests that interrupt GDB with
5036 ctrl-C if nointerrupts target property is set.
5037 * gdb.base/double-prompt-target-event-error.exp: Likewise.
5038 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
5039 * gdb.base/paginate-bg-execution.exp: Likewise.
5040 * gdb.base/paginate-execution-startup.exp: Likewise.
5041 * gdb.base/random-signal.exp: Likewise.
5042 * gdb.base/range-stepping.exp: Likewise.
5043 * gdb.cp/annota2.exp: Likewise.
5044 * gdb.cp/annota3.exp: Likewise.
5045 * gdb.gdb/selftest.exp: Likewise.
5046 * gdb.threads/continue-pending-status.exp: Likewise.
5047 * gdb.threads/leader-exit.exp: Likewise.
5048 * gdb.threads/manythreads.exp: Likewise.
5049 * gdb.threads/pthreads.exp: Likewise.
5050 * gdb.threads/schedlock.exp: Likewise.
5051 * gdb.threads/sigthread.exp: Likewise.
5053 2015-12-11 Don Breazeal <donb@codesourcery.com>
5055 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
5057 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
5058 * gdb.base/foll-exec.exp (main): Enable for target remote.
5059 * gdb.base/foll-fork.exp (main): Likewise.
5060 * gdb.base/foll-vfork.exp (main): Likewise.
5061 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
5062 (proc continue_to_exit_bp_loc): Use clean_restart.
5063 * gdb.base/pie-execl.exp (main): Disable for target remote.
5064 * gdb.base/watch-vfork.exp (main): Enable for target remote.
5065 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
5066 * gdb.threads/execl.exp (main): Likewise.
5067 * gdb.threads/fork-child-threads.exp (main): Likewise.
5068 * gdb.threads/fork-plus-threads.exp (main): Disable for target
5070 * gdb.threads/fork-thread-pending.exp (main): Enable for target
5072 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
5073 pid.tid style ptids, instead of just tid.
5074 * gdb.threads/thread-execl.exp (main): Enable for target remote.
5075 * gdb.threads/watchpoint-fork.exp (main): Likewise.
5076 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
5077 ptids, instead of just tid.
5079 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5081 * gdb.base/list.exp (test_list_forward): Add end of file error
5083 (test_repeat_list_command): Add end of file error test.
5084 (test_list_backwards): Add beginning of file error test.
5086 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5088 * gdb.base/list.exp (test_list_invalid_args): New function,
5089 defined, and called.
5091 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
5093 * gdb.base/list.exp (test_list): Make test names unique.
5095 2015-12-11 Yao Qi <yao.qi@linaro.org>
5097 * gdb.base/coremaker2.c: Remove.
5099 2015-12-10 Pedro Alves <palves@redhat.com>
5101 * gdb.multi/base.exp: Remove stale "spaces" references.
5103 2015-12-10 Pedro Alves <palves@redhat.com>
5105 * gdb.multi/base.exp: Don't use nowarnings.
5106 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
5107 * gdb.multi/hangout.c: Include stdio.h.
5108 * gdb.multi/hello.c: Include stdlib.h.
5109 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
5110 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
5111 * gdb.multi/multi-arch.exp: Don't use nowarnings.
5113 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
5115 * gdb.dwarf2/dw2-ranges-base.c: New file.
5116 * gdb.dwarf2/dw2-ranges-base.exp: New file.
5117 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
5118 support additional line table, and debug ranges generation.
5119 (Dwarf::ranges): New function, generate .debug_ranges.
5120 (Dwarf::lines): Support generating simple line table programs.
5121 (Dwarf::assemble): Initialise new namespace variables.
5123 2015-12-09 Kevin Buettner <kevinb@redhat.com>
5125 * gdb.base/async.exp (proc test_background): Add case for
5126 asynchronous execution not supported.
5128 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
5130 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
5131 format and change test names to make them unique.
5133 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
5134 Pedro Alves <pedro@redhat.com>
5137 Add checking of floatformats setup on x86_64 hosts.
5138 * gdb.arch/i386-float.S (main): Load bigval and smallval.
5139 (smallval, bigval): New labels/constants.
5140 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
5141 float" after loading bigval and smallval.
5143 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
5145 * gdb.ada/fun_overload_menu.exp: New testcase.
5146 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
5148 2015-12-04 Josh Stone <jistone@redhat.com>
5150 * gdb.base/catch-fork-static.exp: New.
5152 2015-12-03 Yao Qi <yao.qi@linaro.org>
5154 * gdb.base/sizeof.c: Don't include stdio.h and
5155 ../lib/unbuffer_output.c.
5156 (main): New variable 'size' and 'value'. Remove printf and
5157 gdb_unbuffer_output. Assign return value to size and value.
5158 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
5160 (check_sizeof): Check the result by printing variable 'size'.
5161 (check_valueof): Check the result by printing variable 'value'.
5163 2015-12-01 Yao Qi <yao.qi@linaro.org>
5165 * gdb.base/disp-step-syscall.exp: Define syscall instruction
5166 for aarch64*-*-linux* target.
5168 2015-11-30 Pedro Alves <palves@redhat.com>
5170 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
5172 2015-11-30 Pedro Alves <palves@redhat.com>
5174 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
5175 Handle non-stop mode vCont replies.
5177 2015-11-30 Pedro Alves <palves@redhat.com>
5179 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
5180 prepare_for_testing. Start gdb with "set non-stop on" appended to
5181 GDBFLAGS. Lax expected stop output.
5183 2015-11-27 Yao Qi <yao.qi@linaro.org>
5185 * gdb.arch/arm-neon.exp: New.
5186 * gdb.arch/arm-neon.c: New.
5188 2015-11-27 Yao Qi <yao.qi@linaro.org>
5190 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
5192 2015-11-27 Yao Qi <yao.qi@linaro.org>
5194 * gdb.cp/annota2.exp: Allow multiple occurrences of the
5195 frames-invalid annotation.
5197 2015-11-27 Yao Qi <yao.qi@linaro.org>
5199 * gdb.cp/annota2.exp: Use ${frames_invalid}.
5201 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
5203 * gdb.threads/names.exp: New file.
5204 * gdb.threads/names.c: New file.
5205 * README: Mention gdb,no_thread_names.
5207 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
5210 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
5213 2015-11-24 Pedro Alves <palves@redhat.com>
5216 * gdb.base/display.exp: Expect displays to be sorted in ascending
5217 order. Use multi_line.
5218 * gdb.base/solib-display.exp: Likewise.
5220 2015-11-24 Pedro Alves <palves@redhat.com>
5223 * gdb.base/display.exp: Expect displays to be sorted in ascending
5224 order. Use multi_line.
5225 * gdb.base/solib-display.exp: Likewise.
5227 2015-11-24 Pedro Alves <palves@redhat.com>
5230 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
5231 threads in ascending order.
5232 * gdb.base/foll-fork.exp: Likewise.
5233 * gdb.base/foll-vfork.exp: Likewise.
5234 * gdb.base/multi-forks.exp: Likewise.
5235 * gdb.mi/mi-nonstop.exp: Likewise.
5236 * gdb.mi/mi-nsintrall.exp: Likewise.
5237 * gdb.multi/base.exp: Likewise.
5238 * gdb.multi/multi-arch.exp: Likewise.
5239 * gdb.python/py-inferior.exp: Likewise.
5240 * gdb.threads/break-while-running.exp: Likewise.
5241 * gdb.threads/execl.exp: Likewise.
5242 * gdb.threads/gcore-thread.exp: Likewise.
5243 * gdb.threads/info-threads-cur-sal.exp: Likewise.
5244 * gdb.threads/kill.exp: Likewise.
5245 * gdb.threads/linux-dp.exp: Likewise.
5246 * gdb.threads/multiple-step-overs.exp: Likewise.
5247 * gdb.threads/next-bp-other-thread.exp: Likewise.
5248 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
5249 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
5250 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
5251 * gdb.threads/thread-find.exp: Likewise.
5252 * gdb.threads/tls.exp: Likewise.
5253 * lib/mi-support.exp (mi_reverse_list): Delete.
5254 (mi_check_thread_states): No longer reverse list.
5256 2015-11-24 Pedro Alves <palves@redhat.com>
5258 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
5261 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
5263 * gdb.trace/actions.c: Include trace-common.h.
5264 (main): Add a location for a fast tracepoint.
5265 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
5266 the normal tracepoints.
5267 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
5269 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
5271 * save-trace.exp: Factor out code to these...
5272 (gdb_save_tracepoints): New.
5273 (gdb_load_tracepoints): New.
5274 (do_save_load_test): New.
5276 2015-11-23 Kevin Buettner <kevinb@redhat.com>
5278 * gdb.base/asmlabel.exp: New test.
5279 * gdb.base/asmlabel.c: New test case.
5281 2015-11-23 Joel Brobecker <brobecker@adacore.com>
5283 * gdb.base/wrong_frame_bt_full-main.c: New file.
5284 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
5285 * gdb.base/wrong_frame_bt_full.exp: New file.
5287 2015-11-23 Joel Brobecker <brobecker@adacore.com>
5289 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
5291 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
5293 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
5294 pstate register when comparing registers values in
5295 sparc64-*-linux-gnu targets to avoid spurious differences.
5297 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
5299 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
5301 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
5303 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
5304 as type argument to gdb_compile.
5305 * gdb.base/nested-subp2.exp: Likewise.
5306 * gdb.base/nested-subp3.exp: Likewise.
5308 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
5310 * lib/dwarf.exp (_note): Fix left shift of negative value.
5311 * gdb.trace/trace-condition.exp: Likewise.
5313 2015-11-13 Yao Qi <yao.qi@linaro.org>
5315 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
5316 comments about d10v.
5317 (test_scalar_returns): Likewise.
5318 * gdb.base/d10v.ld: Remove.
5319 * gdb.base/overlays.exp: Remove the target triplet checking for
5321 * gdb.base/structs.exp (test_struct_returns): Remove the
5322 comments about d10v.
5323 (test_struct_calls): Likewise.
5325 2015-11-13 Yao Qi <yao.qi@linaro.org>
5327 * gdb.base/gnu_vector.exp: Check the return value by "p res".
5328 * gdb.base/gnu_vector.c: Don't include stdio.h.
5329 (main): Don't print res and call add_some_intvecs.
5331 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
5333 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
5336 (func4): Use FAST_TRACEPOINT_LABEL.
5337 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
5340 (thread_function): Use FAST_TRACEPOINT_LABEL.
5341 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
5343 (marker): Use FAST_TRACEPOINT_LABEL.
5344 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
5345 (pendfunc1): Remove.
5346 (pendfunc): Use FAST_TRACEPOINT_LABEL.
5347 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
5349 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
5350 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
5353 (marker): Use FAST_TRACEPOINT_LABEL.
5354 * gdb.trace/trace-common.h: New header.
5355 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
5358 (marker): Use FAST_TRACEPOINT_LABEL.
5359 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
5361 (thread_function): Use FAST_TRACEPOINT_LABEL.
5363 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
5365 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
5367 * gdb.trace/change-loc.exp: Use global pcreg definition.
5368 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
5369 * gdb.trace/entry-values.exp: Use global spreg definition, add $
5371 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
5372 * gdb.trace/pending.exp: Likewise.
5373 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
5374 * gdb.trace/trace-break.exp: Likewise.
5375 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
5377 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
5378 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
5380 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
5382 2015-11-09 Joel Brobecker <brobecker@adacore.com>
5384 * gdb.ada/fin_fun_out: New testcase.
5386 2015-11-07 Kevin Buettner <kevinb@redhat.com>
5388 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
5389 value associated with DW_AT_byte_size.
5390 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
5391 constants for DW_AT_byte_size, DW_AT_lower_bound, and
5394 2015-11-07 Kevin Buettner <kevinb@redhat.com>
5396 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
5397 (gdb_target_symbol_prefix_flags): Define in terms of _asm
5399 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
5400 gdb.dwarf2/dw2-canonicalize-type.exp,
5401 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
5402 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
5403 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
5404 provided by gdb_target_symbol_prefix_flags_asm.
5405 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
5406 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
5407 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
5408 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
5409 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
5410 macros where needed). Use this macro for symbols which require
5411 the prefix provided by SYMBOL_PREFIX.
5413 2015-11-05 Kevin Buettner <kevinb@redhat.com>
5415 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
5417 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
5418 representing expressions, of more than one list element.
5419 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
5420 to prepend linker symbol prefix to f.
5421 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
5422 table_1 and table_2.
5423 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
5424 Likewise, for f and g.
5425 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
5427 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
5429 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
5430 table_1_ptr and table_2_ptr.
5432 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5433 Joel Brobecker <brobecker@adacore.com>
5435 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
5437 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
5439 * gdb.reverse/s390-mvcle.c: New test.
5440 * gdb.reverse/s390-mvcle.exp: New file.
5441 * lib/gdb.exp: Enable reverse tests on s390*-linux.
5443 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5445 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
5447 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
5449 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
5451 * gdb.reverse/getresuid-reverse.exp: Likewise.
5452 * gdb.reverse/pipe-reverse.exp: Likewise.
5453 * gdb.reverse/readv-reverse.exp: Likewise.
5454 * gdb.reverse/recvmsg-reverse.exp: Likewise.
5455 * gdb.reverse/time-reverse.exp: Likewise.
5456 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
5458 2015-10-30 Yao Qi <yao.qi@linaro.org>
5460 * gdb.threads/wp-replication.c (watch_count_done): Remove.
5461 (empty_cycle): Remove.
5462 (main): Don't call empty_cycle. Don't use watch_count_done.
5463 * gdb.threads/wp-replication.exp: Don't set breakpoint on
5464 empty_cycle. Rewrite the code counting HW watchpoints.
5466 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
5468 * gdb.reverse/fstatat-reverse.c: New test.
5469 * gdb.reverse/fstatat-reverse.exp: New file.
5470 * gdb.reverse/getresuid-reverse.c: New test.
5471 * gdb.reverse/getresuid-reverse.exp: New file.
5472 * gdb.reverse/pipe-reverse.c: New test.
5473 * gdb.reverse/pipe-reverse.exp: New file.
5474 * gdb.reverse/readv-reverse.c: New test.
5475 * gdb.reverse/readv-reverse.exp: New file.
5476 * gdb.reverse/recvmsg-reverse.c: New test.
5477 * gdb.reverse/recvmsg-reverse.exp: New file.
5478 * gdb.reverse/time-reverse.c: New test.
5479 * gdb.reverse/time-reverse.exp: New file.
5480 * gdb.reverse/waitpid-reverse.c: New test.
5481 * gdb.reverse/waitpid-reverse.exp: New file.
5483 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5485 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
5487 2015-10-26 Doug Evans <dje@google.com>
5490 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
5491 * gdb.dwarf2/bad-regnum.c: New file.
5492 * gdb.dwarf2/bad-regnum.exp: New file.
5494 2015-10-26 Doug Evans <dje@google.com>
5497 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
5500 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5502 * gdb.compile/compile.exp (compile code globalvar): Update expectation
5503 for a change by "Mention language in compile error message".
5505 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
5508 * gdb.python/py-type.c (C::a_method): New.
5509 (C::a_const_method): New.
5510 (C::a_static_method): New.
5512 * gdb.python/py-type.exp (test_fields): Test getting fields
5513 from function and method.
5515 2015-10-21 Keven Boell <keven.boell@intel.com>
5517 * gdb.fortran/vla-alloc-assoc.exp: New file.
5518 * gdb.fortran/vla-datatypes.exp: New file.
5519 * gdb.fortran/vla-datatypes.f90: New file.
5520 * gdb.fortran/vla-history.exp: New file.
5521 * gdb.fortran/vla-ptype-sub.exp: New file.
5522 * gdb.fortran/vla-ptype.exp: New file.
5523 * gdb.fortran/vla-sizeof.exp: New file.
5524 * gdb.fortran/vla-sub.f90: New file.
5525 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
5526 * gdb.fortran/vla-value-sub-finish.exp: New file.
5527 * gdb.fortran/vla-value-sub.exp: New file.
5528 * gdb.fortran/vla-value.exp: New file.
5529 * gdb.fortran/vla-ptr-info.exp: New file.
5530 * gdb.mi/mi-vla-fortran.exp: New file.
5531 * gdb.mi/vla.f90: New file.
5533 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
5535 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
5536 of hardwired timeout value.
5538 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5539 Pedro Alves <palves@redhat.com>
5541 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
5542 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
5544 2015-10-19 Josh Stone <jistone@redhat.com>
5546 * gdb.base/catch-syscall.c: Include <sched.h>.
5547 (unknown_syscall): New variable.
5548 (main): Trigger a vfork and an unknown syscall.
5549 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
5550 (unknown_syscall_number): Likewise.
5551 (check_call_to_syscall): Accept an optional syscall pattern.
5552 (check_return_from_syscall): Likewise.
5553 (check_continue): Likewise.
5554 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
5555 (test_catch_syscall_skipping_return): New test toggling off 'catch
5556 syscall' to step over the syscall return, then toggling back on.
5557 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
5558 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
5559 (do_syscall_tests): Call test_catch_syscall_without_args and
5560 test_catch_syscall_mid_vfork.
5561 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
5562 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
5564 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
5566 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
5567 print g_vE): Add new pass patterns.
5568 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
5569 print various symbol names for vptr fields.
5571 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
5573 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
5576 2015-10-12 Yao Qi <yao.qi@linaro.org>
5578 * gdb.arch/disp-step-insn-reloc.exp: New test case.
5580 2015-10-12 Yao Qi <yao.qi@linaro.org>
5582 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
5583 is aarch64*-*-linux*.
5585 2015-10-12 Yao Qi <yao.qi@linaro.org>
5587 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
5588 (can_relocate_bcond_true): ... it.
5589 (can_relocate_bcond_false): New function.
5591 (can_relocate_bl): Likewise.
5592 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
5595 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
5597 * gdb.base/nested-addr.c: New file.
5598 * gdb.base/nested-addr.exp: New testcase.
5600 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
5602 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
5603 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
5604 its output. Ignore the output of "record goto begin" and instead
5605 check that GDB is replaying.
5607 2015-10-09 Pedro Alves <palves@redhat.com>
5609 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
5610 (top level): Use it in the run with no args test.
5612 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
5614 * gdb.dlang/properties.exp: New file.
5616 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
5618 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
5619 whether or not address 0x1000 is mapped on the target.
5621 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
5623 * gdb.python/py-type.exp: Do not run tests if binaries fail to
5626 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
5628 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
5629 instruction-history test.
5631 2015-09-28 Doug Evans <dje@google.com>
5633 * gdb.base/gcore.c (array_func): Add reference to static_array.
5635 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
5637 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
5640 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
5642 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
5643 short or char as base type.
5645 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
5647 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
5648 to allow any size enum.
5650 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
5652 * gdb.ada/array_ptr_renaming.exp: New testcase.
5653 * gdb.ada/array_ptr_renaming/foo.adb: New file.
5654 * gdb.ada/array_ptr_renaming/pack.ads: New file.
5656 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5658 * gdb.trace/ftrace-lock.c: New file.
5659 * gdb.trace/ftrace-lock.exp: New file.
5661 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5663 * gdb.arch/insn-reloc.c: New file.
5664 * gdb.arch/ftrace-insn-reloc.exp: New file.
5666 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
5668 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
5670 * gdb.trace/pendshr1.c (pendfunc): Likewise.
5671 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
5672 * gdb.trace/range-stepping.c: Likewise.
5673 * gdb.trace/trace-break.c: Likewise.
5674 * gdb.trace/trace-mt.c (thread_function): Likewise.
5675 * gdb.trace/ftrace.c (marker): Likewise.
5676 * gdb.trace/trace-condition.c (marker): Likewise.
5677 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
5678 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
5681 2015-09-18 Doug Evans <xdje42@gmail.com>
5683 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
5684 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
5686 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5688 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
5691 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5693 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
5694 the pending breakpoint. Remove timeout override for "Run till
5695 MI pending breakpoint on pendfunc3 on thread 2" test.
5697 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5699 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
5702 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5704 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
5705 in breakpoint filename pattern.
5707 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5709 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
5711 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
5713 * gdb.linespec/explicit.exp: Check for readline support for
5714 tab-completion tests. Fix obvious typo.
5716 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5718 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
5721 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
5723 * gdb.btrace/non-stop.c: New.
5724 * gdb.btrace/non-stop.exp: New.
5726 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
5727 Yao Qi <yao.qi@linaro.org>
5729 * gdb.trace/trace-condition.c: New file.
5730 * gdb.trace/trace-condition.exp: New file.
5732 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
5734 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
5735 for testing bytecode compilation.
5737 2015-09-16 Pedro Alves <palves@redhat.com>
5738 Sandra Loosemore <sandra@codesourcery.com>
5740 * gdb.threads/non-stop-fair-events.c (timeout): New global.
5741 (SECONDS): Redefine.
5742 (main): Call pthread_kill and alarm early.
5743 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
5745 (test): If the target can't hardware step and doesn't support
5746 displaced stepping, increase the timeout.
5748 2015-09-16 Pedro Alves <palves@redhat.com>
5750 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
5751 (enable_debug): New procedures.
5752 (test): Use them. Bail out if waiting for threads fails.
5753 (top level): Bail out if a test fails.
5755 2015-09-16 Yao Qi <yao.qi@linaro.org>
5757 * gdb.asm/asm-source.exp: Set asm-arch for
5758 aarch64*-*-* target.
5759 * gdb.asm/aarch64.inc: New file.
5761 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
5763 * gdb.ada/array_of_variable_length.exp: New testcase.
5764 * gdb.ada/array_of_variable_length/foo.adb: New file.
5765 * gdb.ada/array_of_variable_length/pck.adb: New file.
5766 * gdb.ada/array_of_variable_length/pck.ads: New file.
5768 2015-09-15 Doug Evans <dje@google.com>
5770 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
5771 of function static local variable.
5773 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
5775 * gdb.threads/tls-so_extern.exp: New test file.
5776 * gdb.threads/tls-so_extern.c: New test file.
5777 * gdb.threads/tls-so_extern_main.c: New test file.
5779 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5781 * gdb.opt/solib-intra-step-lib.c: New file.
5782 * gdb.opt/solib-intra-step-main.c: New file.
5783 * gdb.opt/solib-intra-step.exp: New file.
5785 2015-09-15 Pedro Alves <palves@redhat.com>
5787 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
5788 gdb_continue_to_breakpoint instead of gdb_test_multiple.
5790 2015-09-14 Pedro Alves <palves@redhat.com>
5792 * gdb.base/hook-stop-continue.c: Delete.
5793 * gdb.base/hook-stop-continue.exp: Delete.
5794 * gdb.base/hook-stop-frame.c: Delete.
5795 * gdb.base/hook-stop-frame.exp: Delete.
5796 * gdb.base/hook-stop.c: New file.
5797 * gdb.base/hook-stop.exp: New file.
5799 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
5801 * gdb.ada/access_to_packed_array.exp: New testcase.
5802 * gdb.ada/access_to_packed_array/foo.adb: New file.
5803 * gdb.ada/access_to_packed_array/pack.adb: New file.
5804 * gdb.ada/access_to_packed_array/pack.ads: New file.
5806 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
5808 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
5811 2015-09-11 Don Breazeal <donb@codesourcery.com>
5813 * gdb.base/foll-exec.c: Add copyright header. Fix
5815 * gdb.base/foll-exec.exp (zap_session): Delete proc.
5816 (do_exec_tests): Use clean_restart in place of zap_session,
5817 and for test initialization. Fix formatting issues. Use
5818 fail in place of perror.
5819 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
5820 an expect statement to match an expression with output from
5821 the program under debug.
5822 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
5823 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
5824 * gdb.threads/non-ldr-exc-2.exp: Likewise.
5825 * gdb.threads/non-ldr-exc-3.exp: Likewise.
5826 * gdb.threads/non-ldr-exc-4.exp: Likewise.
5828 2015-09-09 Doug Evans <dje@google.com>
5830 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
5832 2015-09-09 Doug Evans <dje@google.com>
5834 * gdb.base/pie-execl.exp: Fix result test of build_executable.
5836 2015-09-09 Doug Evans <dje@google.com>
5838 * gdb.base/savedregs.exp: Fix typo.
5840 2015-09-09 Pedro Alves <palves@redhat.com>
5842 * gdb.mi/mi-cli.exp: Add CLI finish tests.
5844 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
5846 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
5847 command actually switches threads. Give up on remaining
5848 tests if target fails to stop at breakpoint.
5850 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
5852 * gdb.ada/funcall_char.exp: New testcase.
5853 * gdb.ada/funcall_char/foo.adb: New file.
5855 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
5857 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
5858 expected outputs. Add two testcases for completing ambiguous
5860 * gdb.ada/complete/aux_pck.adb: New file.
5861 * gdb.ada/complete/aux_pck.ads: New file.
5862 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
5863 Ambiguous_Func functions.
5864 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
5865 * gdb.ada/complete/pck.adb: Likewise.
5867 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
5869 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
5870 failures to run the test program under GDB.
5872 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
5874 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
5877 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
5879 * gdb.base/run-after-attach.exp: New test file.
5880 * gdb.base/run-after-attach.c: New test file.
5882 2015-08-26 Don Breazeal <donb@codesourcery.com>
5884 * gdb.base/foll-exec-2.c: New test program.
5885 * gdb.base/foll-exec-2.exp: New test.
5887 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
5889 * gdb.base/nested-subp1.exp: New file.
5890 * gdb.base/nested-subp1.c: New file.
5891 * gdb.base/nested-subp2.exp: New file.
5892 * gdb.base/nested-subp2.c: New file.
5893 * gdb.base/nested-subp3.exp: New file.
5894 * gdb.base/nested-subp3.c: New file.
5896 2015-08-24 Pedro Alves <palves@redhat.com>
5898 * gdb.server/connect-without-multi-process.c: New file.
5899 * gdb.server/connect-without-multi-process.exp: New file.
5901 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5903 * gdb.opt/inline-markers.c: Make z int.
5905 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5907 * gdb.opt/inline-markers.c: Make z volatile.
5909 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
5911 * gdb.opt/inline-bt.c: New volatile global z.
5912 * gdb.opt/inline-cmds.c: Likewise.
5913 * gdb.opt/inline-locals.c: Likewise.
5914 * gdb.opt/inline-markers.c: New extern global z.
5916 (inline_fn): Likewise.
5918 2015-08-24 Pedro Alves <palves@redhat.com>
5920 * config/m32r-stub.exp: Remove file.
5921 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
5922 * gdb.base/call-rt-st.exp: Likewise.
5923 * gdb.base/call-strs.exp: Likewise.
5924 * gdb.base/default.exp: Remove references to h8300-*-hms and
5926 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
5928 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5930 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
5931 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
5932 and "return" use KFAIL when GDB can not read/write the vector
5935 2015-08-21 Gary Benson <gbenson@redhat.com>
5937 * gdb.trace/pending.exp: Cope with remote transfer warnings.
5939 2015-08-20 Pedro Alves <palves@redhat.com>
5941 * gdb.server/solib-list.exp: No longer expect an interior stop in
5944 2015-08-20 Pedro Alves <palves@redhat.com>
5946 * gdb.server/connect-stopped-target.c: New file.
5947 * gdb.server/connect-stopped-target.exp: New file.
5949 2015-08-20 Pedro Alves <palves@redhat.com>
5951 * gdb.dwarf2/comp-unit-lang.exp: New file.
5952 * gdb.dwarf2/comp-unit-lang.c: New file.
5954 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
5956 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
5957 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
5959 2015-08-19 Kevin Buettner <kevinb@redhat.com>
5961 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
5962 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
5964 2015-08-18 Doug Evans <dje@google.com>
5965 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5967 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
5968 skip_python_tests. New arg prompt_regexp.
5969 (skip_python_tests): New function.
5970 * lib/mi-support.exp (mi_skip_python_tests): New function.
5971 * gdb.python/py-mi-objfile-gdb.py: New file.
5972 * gdb.python/py-mi-objfile.c: New file.
5973 * gdb.python/py-mi-objfile.exp: New file.
5975 2015-08-17 Keith Seitz <keiths@redhat.com>
5977 * gdb.linespec/explicit.exp: Move strace test from here ...
5978 * gdb.trace/strace.exp: ... to here.
5980 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
5982 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
5983 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
5985 2015-08-14 Doug Evans <xdje42@gmail.com>
5987 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
5988 inferior before selecting a new file.
5990 2015-08-14 Doug Evans <xdje42@gmail.com>
5992 * gdb.mi/mi-disassemble.exp: Update.
5993 * gdb.base/disasm-optim.S: New file.
5994 * gdb.base/disasm-optim.c: New file.
5995 * gdb.base/disasm-optim.h: New file.
5996 * gdb.base/disasm-optim.exp: New file.
5998 2015-08-14 Keith Seitz <keiths@redhat.com>
6000 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
6003 2015-08-13 Joel Brobecker <brobecker@adacore.com>
6005 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
6007 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
6009 * gdb.ada/fun_renaming.exp: New testcase.
6010 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
6011 * gdb.ada/fun_renaming/pack.adb: New file.
6012 * gdb.ada/fun_renaming/pack.ads: New file.
6014 2015-08-12 Keith Seitz <keiths@redhat.com>
6016 * gdb.base/dso2dso.exp: Pass basename of source file in call to
6017 gdb_get_line_number.
6019 2015-08-12 Joel Brobecker <brobecker@adacore.com>
6021 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
6022 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
6023 gdb.base/dso2dso.exp: New files.
6025 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
6026 Pedro Alves <palves@redhat.com>
6027 Keith Seitz <keiths@redhat.com>
6029 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
6032 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
6034 * gdb.base/gdbhistsize-history.exp
6035 (test_histsize_history_setting): Use save_vars.
6036 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6038 (test_no_truncation_of_unlimited_history_file): Use save_vars.
6039 * gdb.base/readline.exp: Use save_vars.
6041 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
6043 * lib/gdb.exp (save_vars): New proc.
6045 2015-08-11 Keith Seitz <keiths@redhat.com>
6047 * gdb.base/help.exp: Update help_breakpoint_text.
6049 2015-08-11 Keith Seitz <keiths@redhat.com>
6051 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
6052 (at toplevel): Call test_explicit_breakpoints.
6053 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
6055 * lib/mi-support.exp (mi_make_breakpoint): Add support for
6056 breakpoint conditions, "-cond".
6058 2015-08-11 Keith Seitz <keiths@redhat.com>
6060 * gdb.linespec/3explicit.c: New file.
6061 * gdb.linespec/cpexplicit.cc: New file.
6062 * gdb.linespec/cpexplicit.exp: New file.
6063 * gdb.linespec/explicit.c: New file.
6064 * gdb.linespec/explicit.exp: New file.
6065 * gdb.linespec/explicit2.c: New file.
6066 * gdb.linespec/ls-errs.exp: Add explicit location tests.
6067 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
6068 before using in the matching pattern.
6069 Clarify that `prefix' is a regular expression.
6071 2015-08-11 Keith Seitz <keiths@redhat.com>
6073 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
6075 Add tests for missing ",FMT" and ",".
6077 2015-08-10 Doug Evans <dje@google.com>
6078 Keith Seitz <keiths@redhat.com>
6081 * gdb.base/completion.exp: Add location completer tests.
6083 2015-08-07 Pedro Alves <palves@redhat.com>
6085 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
6087 (top level): Run do_test with and without displaced stepping.
6089 2015-08-07 Pedro Alves <palves@redhat.com>
6091 * gdb.base/valgrind-disp-step.c: New file.
6092 * gdb.base/valgrind-disp-step.exp: New file.
6094 2015-08-07 Pedro Alves <palves@redhat.com>
6096 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
6098 (main): Add alarm. Run an infinite loop instead of calling
6100 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
6102 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
6104 (main): Add alarm. Run an infinite loop instead of calling
6106 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
6109 2015-08-07 Pedro Alves <palves@redhat.com>
6111 * gdb.base/checkpoint-ns.exp: New file.
6112 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
6115 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
6117 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
6118 * gdb.btrace/instruction_history.exp: Update.
6119 * gdb.btrace/tsx.exp: New.
6120 * gdb.btrace/tsx.c: New.
6122 2015-08-06 Pedro Alves <palves@redhat.com>
6124 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
6126 * gdb.reverse/until-precsave.exp: Bump timeouts.
6128 2015-08-06 Pedro Alves <palves@redhat.com>
6130 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
6132 2015-08-06 Pedro Alves <palves@redhat.com>
6135 * gdb.threads/process-dies-while-handling-bp.c: New file.
6136 * gdb.threads/process-dies-while-handling-bp.exp: New file.
6138 2015-08-06 Pedro Alves <palves@redhat.com>
6140 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
6141 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
6143 2015-08-05 Pedro Alves <palves@redhat.com>
6145 * gdb.threads/next-while-other-thread-longjmps.c: New file.
6146 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
6148 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
6150 * gdb.base/bp-permanent.exp: Report test as unsupported if
6151 the target cannot stop at the permanent breakpoint.
6153 2015-08-03 Doug Evans <dje@google.com>
6155 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
6158 2015-08-03 Doug Evans <dje@google.com>
6160 * Makefile.in (workers/%.worker, build-perf): New rule.
6161 (GDB_PERFTEST_MODE): New variable.
6162 (check-perf): Use it.
6163 (clean): Clean up gdb.perf parallel build subdirs.
6164 * lib/build-piece.exp: New file.
6165 * lib/gdb.exp (make_gdb_parallel_path): New function
6166 (standard_output_file, standard_temp_file): Call it.
6167 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6169 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
6171 2015-08-03 Doug Evans <dje@google.com>
6173 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
6174 (LOG_FILE_NAME): New global.
6175 (TextReporter.__init__): Initialize self.txt_sum.
6176 (TextReporter.report): Add support for multiple data-points.
6177 Move report to perftest.sum, put raw data in perftest.log.
6178 (TextReporter.start): Open sum and log files.
6179 (TextReporter.end): Close sum and log files.
6180 * gdb.perf/lib/perftest/testresult.py
6181 (SingleStatisticTestResult.record): Handle multiple data-points.
6183 2015-07-31 Pedro Alves <palves@redhat.com>
6185 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
6186 Use spawn_id_get_pid. Wait for spawn id after eof. Use
6187 kill_wait_spawned_process instead of explicit "kill -9".
6188 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
6189 returning a spawn id instead of a pid. Use spawn_id_get_pid and
6190 kill_wait_spawned_process.
6191 * gdb.base/attach-twice.exp: Likewise.
6192 * gdb.base/attach.exp: Likewise.
6193 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
6195 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
6196 returning a spawn id instead of a pid. Use spawn_id_get_pid and
6197 kill_wait_spawned_process.
6198 * gdb.base/valgrind-infcall.exp: Likewise.
6199 * gdb.multi/multi-attach.exp: Likewise.
6200 * gdb.python/py-prompt.exp: Likewise.
6201 * gdb.python/py-sync-interp.exp: Likewise.
6202 * gdb.server/ext-attach.exp: Likewise.
6203 * gdb.threads/attach-into-signal.exp (corefunc): Use
6204 spawn_wait_for_attach, spawn_id_get_pid and
6205 kill_wait_spawned_process.
6206 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
6207 spawn_wait_for_attach returning a spawn id instead of a pid. Use
6208 spawn_id_get_pid and kill_wait_spawned_process.
6209 * gdb.threads/attach-stopped.exp (corefunc): Use
6210 spawn_wait_for_attach, spawn_id_get_pid and
6211 kill_wait_spawned_process.
6212 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
6213 Use spawn_id_get_pid. Wait for spawn id after eof. Use
6214 kill_wait_spawned_process instead of explicit "kill -9".
6215 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
6216 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
6217 (spawn_wait_for_attach): Use spawn instead of exec to spawn
6218 processes. Don't map cygwin/windows pids here. Now returns a
6221 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6223 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
6224 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
6227 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6229 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
6231 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
6234 2014-05-21 Mark Wielaard <mjw@redhat.com>
6236 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6238 2015-07-30 Pedro Alves <palves@redhat.com>
6240 * linux-low.c (handle_extended_wait): Set the child's last
6241 reported status to TARGET_WAITKIND_STOPPED.
6243 2015-07-30 Pedro Alves <palves@redhat.com>
6246 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
6247 only shows inferior 1.
6249 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
6250 Pedro Alves <palves@redhat.com>
6253 * gdb.threads/fork-plus-threads.c: New file.
6254 * gdb.threads/fork-plus-threads.exp: New file.
6256 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6258 * gdb.base/batch-preserve-term-settings.exp
6259 (test_terminal_settings_preserved_after_cli_exit): Use
6262 2015-07-29 Pedro Alves <palves@redhat.com>
6263 Don Breazeal <donb@codesourcery.com>
6265 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
6266 output from both inferior_spawn_id and gdb_spawn_id.
6268 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
6270 * gdb.threads/attach-into-signal.exp (corefunc): Use
6271 with_test_prefix on nested loops, uniquefying the test messages.
6273 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
6275 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
6278 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6280 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
6282 (test_terminal_settings_preserved_after_sigterm): New test.
6284 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6286 * gdb.base/batch-preserve-term-settings.exp
6287 (test_terminal_settings_preserved_after_cli_exit): New test.
6289 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
6291 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
6292 manipulation of saved_gdbflags.
6293 (test_terminal_settings_preserved): Remove global declaration of
6294 the unused variable pagination_prompt. Remove manipulation of
6295 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
6298 2015-07-29 Pedro Alves <palves@redhat.com>
6300 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
6302 2015-07-29 Pedro Alves <palves@redhat.com>
6304 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
6307 2015-07-29 Pedro Alves <palves@redhat.com>
6309 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
6310 (main): Call gdb_unbuffer_output.
6311 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
6312 (main): Call gdb_unbuffer_output.
6313 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
6314 (main): Call gdb_unbuffer_output.
6315 * gdb.base/call-strs.exp: Adjust to step over the
6316 gdb_unbuffer_output call.
6317 * gdb.base/catch-gdb-caused-signals.c: Include
6318 "../lib/unbuffer_output.c".
6319 (main): Call gdb_unbuffer_output.
6320 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
6321 (main): Call gdb_unbuffer_output.
6322 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
6323 (main): Call gdb_unbuffer_output.
6324 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
6325 (main): Call gdb_unbuffer_output.
6326 * gdb.base/shlib-call.exp: Adjust to step over the
6327 gdb_unbuffer_output call.
6328 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
6329 (main): Call gdb_unbuffer_output.
6330 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
6331 (main): Call gdb_unbuffer_output.
6332 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
6333 (main): Rename to ...
6335 (main): Reimplement.
6336 * gdb.base/varargs.exp: Run to test instead of to main.
6337 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
6338 (main): Call gdb_unbuffer_output.
6340 2015-07-29 Pedro Alves <palves@redhat.com>
6342 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
6343 factore out from mi_continue_dprintf. For call-style dprintfs,
6344 expect dprintf output out of $inferior_spawn_id.
6345 (mi_continue_dprintf): Use mi_expect_dprintf.
6346 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
6347 (main): Call gdb_unbuffer_output.
6349 2015-07-29 Pedro Alves <palves@redhat.com>
6351 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
6352 (default_mi_gdb_start): Set inferior_spawn_id instead of
6353 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
6355 (mi_gdb_test): Always expect inferior output from both
6356 $inferior_spawn_id and $gdb_spawn_id.
6358 2015-07-29 Pedro Alves <palves@redhat.com>
6360 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
6361 send_inferior and $inferior_spawn_id.
6363 2015-07-29 Pedro Alves <palves@redhat.com>
6365 * gdb.gdb/complaints.exp (test_initial_complaints)
6366 (test_serial_complaints, test_short_complaints): Use
6368 (test_empty_complaint): Handle $inferior_spawn_id !=
6371 2015-07-29 Pedro Alves <palves@redhat.com>
6373 * gdb.base/varargs.exp: Use gdb_test_stdio.
6375 2015-07-29 Pedro Alves <palves@redhat.com>
6377 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
6379 2015-07-29 Pedro Alves <palves@redhat.com>
6381 * gdb.base/ending-run.exp: Use gdb_test_stdio.
6383 2015-07-29 Pedro Alves <palves@redhat.com>
6385 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
6386 parameter into two new parameters, "inf_result" and "gdb_result".
6387 Expect inferior output and gdb output from $inferior_spawn_id and
6388 $gdb_spawn_id, respectively. Adjust all callers.
6390 2015-07-29 Pedro Alves <palves@redhat.com>
6392 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
6393 of gdb_test_sequence.
6395 2015-07-29 Pedro Alves <palves@redhat.com>
6397 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
6398 (saw_spurious_output): Expect inferior output from
6399 $inferior_spawn_id. Use gdb_test_stdio.
6401 2015-07-29 Pedro Alves <palves@redhat.com>
6403 * gdb.base/dprintf.exp: Use standard_testfile. Change
6404 prepare_for_testing call.
6405 (srcfile): Don't set.
6406 (restart): New procedure.
6407 (test_dprintf): New procecure, use to continue over dprintfs.
6408 (test_call, test_agent): New procedures, tests moved here.
6409 Restart gdb and recreate dprintfs. Adjust expected output.
6411 2015-07-29 Pedro Alves <palves@redhat.com>
6413 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
6415 2015-07-29 Pedro Alves <palves@redhat.com>
6417 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
6419 2015-07-29 Pedro Alves <palves@redhat.com>
6421 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
6424 2015-07-29 Pedro Alves <palves@redhat.com>
6426 * lib/gdb.exp (gdb_test_stdio): New procedure.
6428 2015-07-29 Pedro Alves <palves@redhat.com>
6430 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
6432 2015-07-29 Pedro Alves <palves@redhat.com>
6434 * gdb.base/call-signal-resume.exp: Remove check for
6435 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
6436 * gdb.base/unwindonsignal.exp: Likewise.
6437 * gdb.base/call-signals.c (gen_signal): Remove printf call.
6438 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
6440 2015-07-29 Pedro Alves <palves@redhat.com>
6442 * gdb.base/siginfo-addr.c (pass): New function.
6443 (handler): Call it iff si_addr is correct.
6444 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
6445 Set a breakpoint at "pass" and continue to it.
6447 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
6449 * gdb.python/py-objfile.exp: Make some tests have unique names.
6450 * gdb.python/py-pp-registration.exp: Likewise.
6452 2015-07-28 Pedro Alves <palves@redhat.com>
6454 * gdb.server/server-exec-info.exp: Issue a "disconnect".
6456 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6458 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
6460 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
6462 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
6464 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
6466 * gdb.base/gdb-sigterm-2.exp: New test.
6468 2015-07-25 Doug Evans <xdje42@gmail.com>
6471 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6472 (workers/%.worker, build-perf): New rule.
6473 (GDB_PERFTEST_MODE): New variable.
6474 (check-perf): Use it.
6475 (clean): Clean up gdb.perf parallel build subdirs.
6476 * lib/build-piece.exp: New file.
6477 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6478 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6480 (standard_temp_file): Ditto.
6481 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6484 2015-07-24 Doug Evans <dje@google.com>
6486 * gdb.perf/lib/perftest/utils.py: New file.
6487 * gdb.perf/gm-hello.cc: New file.
6488 * gdb.perf/gm-pervasive-typedef.cc: New file.
6489 * gdb.perf/gm-pervasive-typedef.h: New file.
6490 * gdb.perf/gm-std.cc: New file.
6491 * gdb.perf/gm-std.h: New file.
6492 * gdb.perf/gm-use-cerr.cc: New file.
6493 * gdb.perf/gm-utils.h: New file.
6494 * gdb.perf/gmonster-null-lookup.py: New file.
6495 * gdb.perf/gmonster-pervasive-typedef.py: New file.
6496 * gdb.perf/gmonster-print-cerr.py: New file.
6497 * gdb.perf/gmonster-ptype-string.py: New file.
6498 * gdb.perf/gmonster-runto-main.py: New file.
6499 * gdb.perf/gmonster-select-file.py: New file.
6500 * gdb.perf/gmonster1-null-lookup.exp: New file.
6501 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
6502 * gdb.perf/gmonster1-print-cerr.exp: New file.
6503 * gdb.perf/gmonster1-ptype-string.exp: New file.
6504 * gdb.perf/gmonster1-runto-main.exp: New file.
6505 * gdb.perf/gmonster1-select-file.exp: New file.
6506 * gdb.perf/gmonster1.cc: New file.
6507 * gdb.perf/gmonster1.exp: New file.
6508 * gdb.perf/gmonster2-null-lookup.exp: New file.
6509 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
6510 * gdb.perf/gmonster2-print-cerr.exp: New file.
6511 * gdb.perf/gmonster2-ptype-string.exp: New file.
6512 * gdb.perf/gmonster2-runto-main.exp: New file.
6513 * gdb.perf/gmonster2-select-file.exp: New file.
6514 * gdb.perf/gmonster2.cc: New file.
6515 * gdb.perf/gmonster2.exp: New file.
6517 2015-07-24 Doug Evans <dje@google.com>
6519 * gdb.perf/README: New file.
6520 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
6521 * lib/gen-perf-test.exp: New file.
6523 2015-07-24 Doug Evans <dje@google.com>
6525 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
6526 (PerfTest::startup): New function.
6527 (PerfTest::run): Return result of calling body.
6528 (PerfTest::assemble): Rewrite.
6529 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
6530 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
6531 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
6532 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
6533 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
6535 2015-07-24 Doug Evans <dje@google.com>
6537 * lib/gdb.exp (clean_restart): Make executable optional.
6539 2015-07-24 Doug Evans <dje@google.com>
6541 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
6542 compiler_info references.
6543 * gdb.cp/temargs.exp: Ditto.
6544 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
6545 (get_compiler_info): Early exit if already computed. Set compiler_info
6546 to "unknown" if there was a problem.
6547 (test_compiler_info): Add function comment. Call get_compiler_info.
6549 2015-07-24 Doug Evans <dje@google.com>
6551 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
6552 (workers/%.worker, build-perf): New rule.
6553 (GDB_PERFTEST_MODE): New variable.
6554 (check-perf): Use it.
6555 (clean): Clean up gdb.perf parallel build subdirs.
6556 * lib/build-piece.exp: New file.
6557 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
6558 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
6560 (standard_temp_file): Ditto.
6561 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
6564 2015-07-24 Doug Evans <dje@google.com>
6566 * lib/future.exp (gdb_default_target_compile): New option
6568 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
6571 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
6573 * gdb.base/catch-syscall.exp: Call gdb_exit before
6576 2015-07-24 Pedro Alves <palves@redhat.com>
6578 * gdb.python/py-events.exp: Accept output between the stop event
6580 * gdb.python/py-evsignal.exp: Likewise.
6581 * gdb.python/py-evthreads.exp: Likewise.
6583 2015-07-24 Pedro Alves <palves@redhat.com>
6586 * gdb.threads/non-ldr-exit.c: New file.
6587 * gdb.threads/non-ldr-exit.exp: New file.
6589 2015-07-24 Yao Qi <yao.qi@linaro.org>
6591 * gdb.server/ext-wrapper.exp: Test --wrapper option when
6594 2015-07-24 Yao Qi <yao.qi@linaro.org>
6596 * gdb.server/ext-restart.exp: New file.
6598 2015-07-24 Yao Qi <yao.qi@linaro.org>
6600 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
6602 * gdb.server/ext-wrapper.exp: New file.
6604 2015-07-23 Doug Evans <dje@google.com>
6606 * gdb.dwarf2/dw2-dummy-cu.S: New file.
6607 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
6609 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
6611 * gdb.ada/var_arr_typedef.exp: New testcase.
6612 * gdb.ada/var_arr_typedef/pack.adb: New file.
6613 * gdb.ada/var_arr_typedef/pack.ads: New file.
6614 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
6616 2015-07-20 Joel Brobecker <brobecker@adacore.com>
6618 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
6620 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6622 * gdb.arch/i386-biarch-core.exp: Replace istarget
6623 by "complete set gnutarget". Remove expectation for the "core-file"
6626 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6628 Revert the previous commit:
6629 Tests for validate symbol file using build-id.
6631 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
6633 Tests for validate symbol file using build-id.
6634 * gdb.base/solib-mismatch-lib.c: New file.
6635 * gdb.base/solib-mismatch-libmod.c: New file.
6636 * gdb.base/solib-mismatch.c: New file.
6637 * gdb.base/solib-mismatch.exp: New file.
6639 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
6641 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
6643 * gdb.base/sigbpt.exp (stepi_out): Likewise.
6644 * gdb.base/siginfo.exp: Likewise.
6645 * gdb.base/sigstep.exp (advance, advancei): Likewise.
6647 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
6649 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
6651 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
6653 * gdb.trace/range-stepping.exp: Check that the target supports
6656 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6658 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
6660 2015-07-14 Pedro Alves <palves@redhat.com>
6662 * gdb.base/killed-outside.exp: New file.
6663 * gdb.base/killed-outside.c: New file.
6665 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6667 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
6669 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
6671 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
6673 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
6674 infcall tests instead of setting up for KFAIL.
6676 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
6678 * gdb.btrace/record_goto-step.exp: New.
6680 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6683 * gdb.compile/compile.c (struct struct_type): Add volatile to
6685 * gdb.compile/compile.exp
6686 (compile code struct_object.selffield = &struct_object): Skip further
6687 struct_object tests if this one xfails.
6689 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
6692 * gdb.trace/ax.exp: Add test.
6694 2015-07-07 Yao Qi <yao.qi@linaro.org>
6696 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
6697 instead of istarget "aarch64*-*-*".
6698 * gdb.arch/aarch64-fp.exp: Likewise.
6699 * gdb.base/float.exp: Likewise.
6700 * gdb.reverse/aarch64.exp: Likewise.
6701 * lib/gdb.exp (is_aarch64_target): New proc.
6703 2015-07-07 Yao Qi <yao.qi@linaro.org>
6705 * lib/gdb.exp (is_aarch32_target): New proc.
6706 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
6707 instead of "istarget "arm*-*-*"".
6708 * gdb.arch/arm-disp-step.exp: Likewise.
6709 * gdb.arch/thumb-bx-pc.exp: Likewise.
6710 * gdb.arch/thumb-prologue.exp: Likewise.
6711 * gdb.arch/thumb-singlestep.exp: Likewise.
6712 * gdb.base/disp-step-syscall.exp: Likewise.
6713 * gdb.base/float.exp: Likewise.
6715 2015-07-07 Yao Qi <yao.qi@linaro.org>
6717 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
6718 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
6720 2015-07-07 Yao Qi <yao.qi@linaro.org>
6722 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
6723 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
6725 * gdb.multi/multi-arch.exp: Likewise.
6727 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
6729 * gdb.python/py-lazy-string.exp: Add missing parentheses to
6732 2015-07-07 Yao Qi <yao.qi@linaro.org>
6734 * gdb.arch/thumb-singlestep.exp: Do one more single step.
6736 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
6738 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
6739 '[' and ']' characters.
6741 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
6743 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
6745 2015-06-29 Pedro Alves <palves@redhat.com>
6748 * gdb.threads/hand-call-new-thread.c: New file.
6749 * gdb.threads/hand-call-new-thread.c: New file.
6751 2015-06-26 Keith Seitz <keiths@redhat.com>
6752 Doug Evans <dje@google.com>
6755 * gdb.cp/var-tag-2.cc: New file.
6756 * gdb.cp/var-tag-3.cc: New file.
6757 * gdb.cp/var-tag-4.cc: New file.
6758 * gdb.cp/var-tag.cc: New file.
6759 * gdb.cp/var-tag.exp: New file.
6761 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6763 * gdb.base/history-duplicates.exp: New test.
6765 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
6767 * gdb.base/completion.exp: Test the completion of the "focus"
6770 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6772 * gdb.arch/amd64-prologue-skip.S: New file.
6773 * gdb.arch/amd64-prologue-skip.exp: New file.
6775 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
6777 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
6778 is_address_zero_readable check.
6780 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
6782 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
6783 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
6785 2015-06-24 Yao Qi <yao.qi@linaro.org>
6787 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
6790 2015-06-24 Yao Qi <yao.qi@linaro.org>
6792 * lib/gdb.exp (supports_get_siginfo_type): New proc.
6793 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
6794 * gdb.base/siginfo-thread.exp: Likewise.
6796 2015-06-22 Yao Qi <yao.qi@linaro.org>
6798 * boards/remote-gdbserver-on-localhost.exp: Add comments.
6800 2015-06-22 Yao Qi <yao.qi@linaro.org>
6802 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
6804 (skip_hw_watchpoint_tests): Likewise.
6806 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
6808 * gdb.base/gdbinit-history.exp: Test the interaction between
6809 setting GDBHISTSIZE and setting the history size via .gdbinit.
6811 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6814 * gdb.base/gdbhistsize-history.exp: New test.
6816 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6818 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
6820 * gdb.base/readline.exp: Likewise.
6822 2015-06-17 Yao Qi <yao.qi@linaro.org>
6824 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
6827 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
6829 * gdb.base/gdbinit-history.exp: Add test case to check that
6830 an unlimited history file does not get truncated on exit.
6832 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
6834 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
6835 (VECTOR): New macro. Use it...
6836 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
6837 ...for these typedefs.
6838 (int8, char1, int1, double1): New typedefs.
6839 (struct just_int2, struct two_int2): New structures.
6840 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
6841 (add_structvecs, add_singlevecs): New functions.
6842 (main): Call add_some_intvecs twice.
6843 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
6844 the compile and exit upon failure. Try compiling for the "native"
6845 architecture. Test inferior function calls with vector arguments
6846 and vector return value handling with "finish" and "return".
6848 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
6850 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
6851 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
6853 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
6855 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
6857 PR breakpoints/16465
6858 * gdb.mi/mi-dprintf-pending.c: New file.
6859 * gdb.mi/mi-dprintf-pending.exp: New test.
6860 * gdb.mi/mi-dprintf-pendshr.c: New file.
6862 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6863 Mircea Gherzan <mircea.gherzan@intel.com>
6865 * gdb.arch/i386-mpx-map.c: New file.
6866 * gdb.arch/i386-mpx-map.exp: New File.
6868 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6870 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
6871 * gdb.arch/i386-mpx.exp: Indentation fixed.
6873 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6875 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
6876 function and improved indentation.
6877 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
6878 gdb_test_multiple. Added additional tests to skip the test.
6880 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
6882 * gdb.arch/i386-avx512.c: Change path in include file.
6883 * gdb.arch/i386-avx512.exp: Change include dir path
6885 * gdb.arch/i386-mpx.c: Change path in include file.
6886 * gdb.arch/i386-mpx.exp: Change include dir path compilation
6889 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6891 * gdb.compile/compile-print.exp (compile print *vararray@3)
6892 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
6894 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6896 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
6897 (do not keep jit in memory): ... this.
6898 (expect 5): Change it to ...
6899 (expect no 5): ... this.
6901 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
6904 * gdb.mi/mi-detach.exp: New file.
6906 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6909 * gdb.arch/amd64-tailcall-self.S: New file.
6910 * gdb.arch/amd64-tailcall-self.c: New file.
6911 * gdb.arch/amd64-tailcall-self.exp: New file.
6913 2015-05-28 Don Breazeal <donb@codesourcery.com>
6915 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
6916 tests for remote targets by checking is_target_gdbserver.
6918 2015-05-27 Doug Evans <dje@google.com>
6920 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
6921 * gdb.dwarf2/opaque-type-lookup.c: New file.
6922 * gdb.dwarf2/opaque-type-lookup.exp: New file.
6924 2015-05-26 Doug Evans <dje@google.com>
6926 * gdb.cp/iostream.cc: New file.
6927 * gdb.cp/iostream.exp: New file.
6929 2015-05-26 Doug Evans <dje@google.com>
6931 * gdb.dwarf2/dw2-op-call.exp: Update.
6932 * gdb.dwarf2/dw4-sig-types.exp: Update.
6933 * gdb.dwarf2/implptr.exp: Update.
6934 * gdb.mi/mi-cmd-param-changed.exp: Update.
6936 2015-05-26 Doug Evans <dje@google.com>
6938 * gdb.python/py-lazy-string.c: New file.
6939 * gdb.python/py-lazy-string.exp: New file.
6940 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
6941 (main): Update. Add estring3.
6942 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
6943 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
6945 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6946 Yao Qi <yao.qi@linaro.org>
6948 * gdb.reverse/aarch64.c: New.
6949 * gdb.reverse/aarch64.exp: New.
6951 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
6953 * lib/gdb.exp (supports_process_record): Return true for
6955 (supports_reverse): Likewise.
6957 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
6959 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6960 Use with_test_prefix.
6962 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
6964 * gdb.base/completion.exp: Add test for completion of layout
6967 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
6969 * lib/gdb.exp (skip_tui_tests): New proc.
6970 * gdb.base/tui-layout.exp: Check skip_tui_tests.
6972 2015-05-19 Pedro Alves <palves@redhat.com>
6974 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
6975 Save the whole env array instead of just HOME. Unset HISTSIZE in
6976 the environment while testing. Restore whole environment
6979 2015-05-16 Doug Evans <xdje42@gmail.com>
6981 * gdb.guile/scm-ports.c: New file.
6982 * gdb.guile/scm-ports.exp: Add memory port tests.
6984 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6986 * gdb.compile/compile-print.c: New file.
6987 * gdb.compile/compile-print.exp: New file.
6989 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6991 * gdb.compile/compile-ops.exp: Cast param to void.
6992 * gdb.compile/compile.exp: Complete type for _gdb_expr.
6993 (compile code struct_object.selffield = &struct_object): Add xfail.
6995 2015-05-15 Joel Brobecker <brobecker@adacore.com>
6997 * gdb.ada/arr_enum_with_gap: New testcase.
6999 2015-05-15 Joel Brobecker <brobecker@adacore.com>
7001 * gdb.ada/byte_packed_arr: New testcase.
7003 2015-05-15 Joel Brobecker <brobecker@adacore.com>
7005 * gdb.ada/pckd_neg: New testcase.
7007 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
7010 * gdb.base/gdbinit-history.exp: New test.
7011 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
7012 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
7014 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
7016 * gdb.python/py-xmethods.cc: Enhance test case.
7017 * gdb.python/py-xmethods.exp: New tests.
7018 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
7020 (B_indexoper): Likewise.
7021 (global_dm_list) : Add new xmethod worker functions.
7023 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
7025 * gdb.base/coredump-filter.exp: Correctly unset
7026 "coredump_var_addr" array.
7028 2015-05-08 Pedro Alves <palves@redhat.com>
7030 * gdb.server/non-existing-program.exp: Unset spawn_id.
7032 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
7035 * gdb.python/py-xmethods.exp: Add tests.
7037 2015-05-08 Yao Qi <yao.qi@linaro.org>
7040 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
7041 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
7042 function set_coredump_filter, and remove remote_exec call.
7043 Remove argument ipid. Callers update.
7044 (top level): Don't get inferior's PID.
7046 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
7048 * gdb.base/watch_thread_num.exp: Skip test on targets without
7051 2015-05-06 Pedro Alves <palves@redhat.com>
7054 * gdb.server/non-existing-program.exp: New file.
7056 2015-05-05 Joel Brobecker <brobecker@adacore.com>
7058 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
7060 2015-05-05 Joel Brobecker <brobecker@adacore.com>
7062 * gdb.ada/out_of_line_in_inlined: New testcase.
7064 2015-05-05 Joel Brobecker <brobecker@adacore.com>
7066 * gdb.ada/var_rec_arr: New testcase.
7068 2015-04-30 Yao Qi <yao.qi@linaro.org>
7070 * gdb.base/break-idempotent.exp: If
7071 skip_hw_watchpoint_multi_tests returns true, skip the tests
7072 on "rwatch" and "awatch".
7074 2015-04-30 Yao Qi <yao.qi@linaro.org>
7076 * gdb.base/relativedebug.exp: Invoke gdb command
7077 "info sharedlibrary", and if libc.so doesn't have debug info,
7080 2015-04-29 Doug Evans <dje@google.com>
7082 * gdb.python/py-xmethods.exp: Add ptype tests.
7083 * gdb.python/py-xmethods.py (E_method_char_worker): Add
7084 get_result_type method.
7086 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
7088 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
7089 the target does not support hardware watchpoints.
7091 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
7093 * gdb.base/break-always.exp: Abort testing if writing to memory
7096 2015-04-28 Doug Evans <dje@google.com>
7098 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
7099 * gdb.python/py-pp-registration.exp: ... here. New file.
7100 * gdb.python/py-pp-registration.c: New file.
7101 * gdb.python/py-pp-registration.py: New file.
7103 2015-04-28 Doug Evans <dje@google.com>
7105 * gdb.python/py-bad-printers.c: New file.
7106 * gdb.python/py-bad-printers.py: New file.
7107 * gdb.python/py-bad-printers.exp: New file.
7109 2015-04-28 Sasha Smundak <asmundak@google.com>
7111 * gdb.python/py-type.exp: New test.
7113 2015-04-28 Andy Wingo <wingo@igalia.com>
7115 * gdb.python/py-parameter.exp:
7116 * gdb.guile/scm-parameter.exp: Escape the path that we are
7117 matching against, as it might contain characters that are special
7118 to regular expressions.
7120 2015-04-27 Joel Brobecker <brobecker@adacore.com>
7122 * gdb.ada/rec_comp: New testcase.
7124 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
7126 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
7129 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
7131 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
7132 new tests for verilog output.
7134 2015-04-24 Yao Qi <yao.qi@linaro.org>
7136 * boards/remote-gdbserver-on-localhost.exp: New file.
7138 2015-04-23 Pedro Alves <palves@redhat.com>
7140 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
7141 $inferior_spawn_id instead of $inferior_spawn_id directly. On
7142 "end of file", remove $inferior_spawn_id from the indirect list.
7144 2015-04-23 Pedro Alves <palves@redhat.com>
7146 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
7148 2015-04-23 Pedro Alves <palves@redhat.com>
7150 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
7151 on $any_spawn_id instead of only on $gdb_spawn_id.
7153 2015-04-21 Pierre Muller <muller@sourceware.org>
7156 * lib/pascal.exp (gpc_compile): Add new option "class".
7157 (fpc_compile): Likewise.
7158 * gdb.pascal/case-insensitive-symbols.pas: New file.
7159 * gdb.pascal/case-insensitive-symbols.exp: New file.
7161 2015-04-20 Gary Benson <gbenson@redhat.com>
7163 * gdb.base/attach.exp: Fix three extended remote failures.
7165 2015-04-17 Gary Benson <gbenson@redhat.com>
7167 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
7168 the main executable over the remote protocol.
7170 2015-04-16 Pedro Alves <palves@redhat.com>
7172 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
7173 a new gdbserver if gdbserver_reconnect_p is set.
7175 2015-04-16 Pedro Alves <palves@redhat.com>
7177 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
7178 is set, don't exit gdbserver.
7180 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7182 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
7183 appropriate .insn, such that an older assembler can be used.
7184 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
7185 the z/Architecture instruction set on 31-bit targets as well.
7187 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
7189 * gdb.go/handcall.exp: Remove all logic related to the first
7190 breakpoint and rely on go_runto_main instead.
7191 * gdb.go/strings.exp: Likewise.
7192 * gdb.go/unsafe.exp: Likewise.
7193 * gdb.go/hello.exp: Likewise. Also rename the remaining
7194 breakpoint marker to "breakpoint 1".
7195 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
7196 * gdb.go/strings.go: Likewise.
7197 * gdb.go/unsafe.go: Likewise.
7198 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
7199 "set breakpoint 2 here" and rename the remaining breakpoint marker
7202 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
7204 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
7205 if itertools.imap is not present.
7206 * gdb.python/py-objfile.exp: Add parentheses.
7207 * gdb.python/py-type.exp: Same.
7208 * gdb.python/py-unwind-maint.py: Same.
7210 2015-04-15 Yao Qi <yao.qi@linaro.org>
7212 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
7213 of ":$ptr_size" and set its form explicitly.
7215 2015-04-15 Pedro Alves <palves@redhat.com>
7216 Yao Qi <yao.qi@linaro.org>
7218 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
7219 timeout by factor of 4.
7220 (test_regular_watch): Likewise.
7221 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
7222 * gdb.reverse/sigall-reverse.exp: Likewise.
7223 * gdb.reverse/until-precsave.exp: Likewise.
7224 * lib/gdb.exp (with_timeout_factor): New proc.
7225 (gdb_expect): Move some code to ...
7226 (get_largest_timeout): ... here. New procedure.
7228 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
7230 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
7232 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
7234 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
7235 to write to the .text section.
7237 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
7239 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
7240 Handle the case of targets that do not provide PID information.
7242 2015-04-13 Yao Qi <yao.qi@linaro.org>
7244 * lib/gdbserver-support.exp (gdb_exit): Catch exception
7245 and use expect instead of gdb_expect.
7247 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
7249 * gdb.base/coredump-filter.exp: Rename variable "addr" to
7250 "coredump_var_addr" to avoid naming conflict with other testcases.
7252 2015-04-10 Pedro Alves <palves@redhat.com>
7254 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
7255 gdb_test_sequence and gdb_assert.
7257 2015-04-10 Pedro Alves <palves@redhat.com>
7259 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
7260 test messages that don't include the breakpoint address.
7262 2015-04-10 Yao Qi <yao.qi@linaro.org>
7264 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
7265 false for some offset and width combinations which aren't
7266 supported by linux kernel.
7268 2015-04-10 Pedro Alves <palves@redhat.com>
7270 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
7271 procedure, factored out from ...
7272 (top level): ... here. Add "set displaced-stepping" testing axis.
7273 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
7274 parameter "displaced". Use it.
7275 (top level): Use foreach and add "set displaced-stepping" testing
7278 2015-04-10 Pedro Alves <palves@redhat.com>
7280 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
7282 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
7283 both the address of the instruction that triggers the watchpoint
7284 and the address of the instruction immediately after, and use
7285 those addresses for the test. Fix comment.
7287 2015-04-10 Pedro Alves <palves@redhat.com>
7289 * gdb.base/sigstep.exp (breakpoint_to_handler)
7290 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
7291 Test "backtrace" in handler.
7292 (breakpoint_over_handler): New parameter 'displaced'. Use it.
7293 (top level): Add new "displaced" test axis to
7294 breakpoint_to_handler, breakpoint_to_handler_entry and
7295 breakpoint_over_handler.
7297 2015-04-10 Pedro Alves <palves@redhat.com>
7300 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
7302 2015-04-10 Yao Qi <yao.qi@linaro.org>
7304 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
7305 (test_add_rn_pc): New function.
7306 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
7307 (top level): Invoke test_add_rn_pc.
7309 2015-04-10 Pedro Alves <palves@redhat.com>
7312 * gdb.base/step-over-no-symbols.exp: New file.
7314 2015-04-09 Andy Wingo <wingo@igalia.com>
7316 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
7317 after the Python tests.
7319 2015-04-08 Keith Seitz <keiths@redhat.com>
7322 * gdb.python/py-completion.exp: New tests for completion.
7323 * gdb.python/py-completion.py (CompleteLimit1): New class.
7324 (CompleteLimit2): Likewise.
7325 (CompleteLimit3): Likewise.
7326 (CompleteLimit4): Likewise.
7327 (CompleteLimit5): Likewise.
7328 (CompleteLimit6): Likewise.
7329 (CompleteLimit7): Likewise.
7331 2015-04-08 Pedro Alves <palves@redhat.com>
7335 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
7337 (main): Install it as SIGUSR1 handler.
7338 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
7339 parameter. Always use "setup" as prefix. Toggle "set
7340 displaced-stepping" off/on depending on global. Don't switch to
7342 (top level): Add displaced stepping "off/on" test axis. Update
7343 "setup" calls. Wrap each subtest with with_test_prefix. Test
7344 continuing with a queued signal in each thread.
7346 2015-04-08 Pedro Alves <palves@redhat.com>
7348 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
7349 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
7350 gdb_breakpoint instead of gdb_test that doesn't expect anything.
7351 Return early if running to main fails.
7352 * gdb.trace/while-stepping.exp: Likewise.
7354 2015-04-07 Pedro Alves <palves@redhat.com>
7356 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
7357 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
7358 interact with inferior program.
7360 2015-04-07 Pedro Alves <palves@redhat.com>
7362 * lib/gdb.exp (inferior_spawn_id): New global.
7363 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
7364 spawn id after processing the user code.
7365 (default_gdb_start): Set inferior_spawn_id.
7366 (send_inferior): New procedure.
7367 * lib/gdbserver-support.exp (gdbserver_start): Set
7369 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
7371 2015-04-07 Pedro Alves <palves@redhat.com>
7373 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
7374 * lib/gdbserver-support.exp (gdbserver_start): Make
7375 $server_spawn_id global.
7376 (gdbserver_start): Don't wait for gdbserver's spawn id with
7378 (close_gdbserver): New procedure.
7379 (gdb_exit): Rename the default version and reimplement.
7381 2015-04-07 Pedro Alves <palves@redhat.com>
7383 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
7384 append the substituted item, not the original item.
7386 2015-04-07 Pedro Alves <palves@redhat.com>
7388 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
7391 2015-04-07 Pedro Alves <palves@redhat.com>
7393 * gdb.base/interrupt.exp: Don't handle the case of the inferior
7394 output appearing once only.
7396 2015-04-07 Pedro Alves <palves@redhat.com>
7398 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
7399 that doesn't expect anything. Return early if running to main
7402 2015-04-07 Yao Qi <yao.qi@linaro.org>
7404 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
7405 (child_function): Call alarm.
7406 (main): Move call to alarm into the loop.
7407 * gdb.threads/non-stop-fair-events.exp: Build program with
7410 2015-04-06 Doug Evans <xdje42@gmail.com>
7412 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
7413 Fix dest parameter to board_info.
7414 (fpc_compile): Ditto.
7415 (gdb_compile_pascal): Rename dest arg to destfile.
7417 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
7419 * gdb.ada/funcall_ref.exp: New file.
7420 * gdb.ada/funcall_ref/foo.adb: New file.
7422 2015-04-02 Yao Qi <yao.qi@linaro.org>
7424 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
7427 2015-04-02 Gary Benson <gbenson@redhat.com>
7429 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
7431 2015-04-01 Sasha Smundak <asmundak@google.com>
7433 * gdb.python/py-unwind-maint.c: New file.
7434 * gdb.python/py-unwind-maint.exp: New test.
7435 * gdb.python/py-unwind-maint.py: New file.
7436 * gdb.python/py-unwind.c: New file.
7437 * gdb.python/py-unwind.exp: New test.
7438 * gdb.python/py-unwind.py: New test.
7440 2015-04-01 Pedro Alves <palves@redhat.com>
7442 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
7443 to fail instead of non-existent $test.
7445 2015-04-01 Pedro Alves <palves@redhat.com>
7447 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
7448 GDBFLAGS if not empty.
7450 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
7452 * gdb.ada/complete.exp: Remove "multi_line".
7453 * gdb.ada/info_exc.exp: Remove "multi_line".
7454 * gdb.ada/packed_tagged.exp: Remove "multi_line".
7455 * gdb.ada/ptype_field.exp: Remove "multi_line".
7456 * gdb.ada/sym_print_name.exp: Remove "multi_line".
7457 * gdb.ada/tagged.exp: Remove "multi_line".
7458 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
7460 * gdb.btrace/delta.exp: Likewise.
7461 * gdb.btrace/exception.exp: Likewise.
7462 * gdb.btrace/function_call_history.exp: Likewise.
7463 * gdb.btrace/instruction_history.exp: Likewise.
7464 * gdb.btrace/nohist.exp: Likewise.
7465 * gdb.btrace/record_goto.exp: Likewise.
7466 * gdb.btrace/segv.exp: Likewise.
7467 * gdb.btrace/stepi.exp: Likewise.
7468 * gdb.btrace/tailcall.exp: Likewise.
7469 * gdb.btrace/unknown_functions.exp: Likewise.
7470 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
7471 * lib/gdb.exp: Add the "multi_line" helper.
7473 2015-04-01 Pedro Alves <palves@redhat.com>
7475 * gdb.threads/tid-reuse.c: New file.
7476 * gdb.threads/tid-reuse.exp: New file.
7478 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
7481 * gdb.base/coredump-filter.c: New file.
7482 * gdb.base/coredump-filter.exp: Likewise.
7484 2015-03-27 Petr Machata <pmachata@redhat.com>
7486 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
7487 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
7488 (Dwarf::assemble): Initialize them.
7489 (Dwarf::lines): New function.
7491 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
7493 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
7494 SYMBOL_PREFIX for x86_64-*-cygwin.
7496 2015-03-26 Andy Wingo <wingo@igalia.com>
7499 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
7500 const_value but not a location.
7501 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
7502 location defined in non-main CUs are visible.
7504 2015-03-26 Yao Qi <yao.qi@linaro.org>
7507 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
7508 Add a line number entry for the same line.
7509 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
7510 Add a line number entry for the same line.
7512 2015-03-26 Yao Qi <yao.qi@linaro.org>
7514 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
7516 (func): Likewise. Add .Lfunc_1 label.
7518 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
7523 2015-03-26 Yao Qi <yao.qi@linaro.org>
7525 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
7526 Call gdb_compile instead to compile each .s files without debug
7529 2015-03-26 Yao Qi <yao.qi@linaro.org>
7531 * gdb.base/savedregs.exp (process_saved_regs): Make
7532 "Saved registers:" optional in the pattern.
7534 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7536 * gdb.btrace/next.exp: Merged into step.exp.
7537 * gdb.btrace/finish.exp: Merged into step.exp.
7538 * gdb.btrace/nexti.exp: Merged into stepi.exp.
7539 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
7540 "record goto" and checking the exact replay position.
7541 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
7542 check for "Recording format" in "info record" output.
7543 * gdb.btrace/record_goto.exp: Choose test file based on target.
7544 * gdb.btrace/x86-record_goto.S: Renamed into ...
7545 * gdb.btrace/x86_64-record_goto.S: ... this.
7546 * gdb.btrace/i686-record_goto.S: New.
7547 * gdb.btrace/x86-tailcall.S: Renamed into ...
7548 * gdb.btrace/x86_64-tailcall.S: ... this.
7549 * gdb.btrace/i686-tailcall.S: New.
7550 * gdb.btrace/x86-tailcall.c: Renamed into ...
7551 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
7552 separate statements. Update test.
7553 * gdb.btrace/delta.exp: Use record_goto.c as test file.
7554 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
7555 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
7556 * gdb.btrace/tailcall.exp: Choose test file based on target.
7557 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
7559 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
7561 * gdb.btrace/exception.exp: Increase BTS buffer size.
7563 2015-03-24 Pedro Alves <palves@redhat.com>
7565 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
7567 2015-03-24 Pedro Alves <palves@redhat.com>
7569 * gdb.threads/schedlock.exp (test_step): No longer expect that
7570 "set scheduler-locking step" with "next" over a function call runs
7573 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7575 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
7577 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7579 PR breakpoints/16466
7580 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
7581 * gdb.mi/mi-pending.c (thread_func): New function.
7582 (int main): Add threading support required.
7583 * gdb.mi/mi-pending.exp: Add tests for this issue.
7584 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
7585 (pendfunc2): Remove stdio dependency.
7586 * gdb.mi/mi-pendshr2.c: New file.
7588 2015-03-23 Keith Seitz <keiths@redhat.com>
7590 * gdb.linespec/keywords.c: New file.
7591 * gdb.linespec/keywords.exp: New file.
7593 2015-03-23 Keith Seitz <keiths@redhat.com>
7596 * gdb.dwarf2/staticvirtual.exp: New test.
7598 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7600 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
7601 * README: Remove HP-UX and gdb.hp.
7603 * configure: Regenerate.
7604 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
7605 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
7606 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
7607 gdb.hp/gdb.defects/Makefile.
7608 * gdb.hp/Makefile.in: File deleted.
7609 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
7610 * gdb.hp/gdb.aCC/optimize.c: File deleted.
7611 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
7612 * gdb.hp/gdb.aCC/run.c: File deleted.
7613 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
7614 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
7615 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
7616 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
7617 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
7618 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
7619 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
7620 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
7621 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
7622 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
7623 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
7624 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
7625 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
7626 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
7627 * gdb.hp/gdb.base-hp/reg.s: File deleted.
7628 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
7629 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
7630 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
7631 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
7632 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
7633 * gdb.hp/gdb.compat/Makefile.in: File deleted.
7634 * gdb.hp/gdb.compat/average.c: File deleted.
7635 * gdb.hp/gdb.compat/sum.c: File deleted.
7636 * gdb.hp/gdb.compat/xdb.c: File deleted.
7637 * gdb.hp/gdb.compat/xdb0.c: File deleted.
7638 * gdb.hp/gdb.compat/xdb0.h: File deleted.
7639 * gdb.hp/gdb.compat/xdb1.c: File deleted.
7640 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
7641 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
7642 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
7643 * gdb.hp/gdb.defects/Makefile.in: File deleted.
7644 * gdb.hp/gdb.defects/bs14602.c: File deleted.
7645 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
7646 * gdb.hp/gdb.defects/solib-d.c: File deleted.
7647 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
7648 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
7649 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
7650 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
7651 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
7652 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
7653 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
7654 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
7655 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
7656 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
7657 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
7658 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
7659 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
7660 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
7661 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
7662 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
7663 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
7664 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
7665 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
7666 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
7667 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
7668 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
7669 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
7670 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
7671 * gdb.hp/tools/odump: File deleted.
7673 2015-03-19 Pedro Alves <palves@redhat.com>
7675 * gdb.threads/continue-pending-status.exp (saw_thread_2)
7676 (saw_thread_3): New globals.
7677 (top level): Increment them when an event for the corresponding
7679 (no thread starvation): New test.
7681 2015-03-19 Pedro Alves <palves@redhat.com>
7683 * gdb.threads/continue-pending-status.c: New file.
7684 * gdb.threads/continue-pending-status.exp: New file.
7686 2015-03-18 Pedro Alves <palves@redhat.com>
7688 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7689 Use gdb_is_target_remote instead of is_remote. Use
7690 gdb_test_multiple instead of gdb_expect. Exit early if
7691 gdb_test_multiple hits its internal matches. Tighten stepi tests
7692 expected output. Fail on exit with any signal, instead of just
7695 2015-03-18 Yao Qi <yao.qi@linaro.org>
7698 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
7700 * gdb.base/catch-syscall.exp: Don't skip it on
7701 aarch64*-*-linux* target. Remove elements in all_syscalls.
7702 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
7704 (setup_all_syscalls): New proc.
7706 2015-03-16 Yao Qi <yao.qi@linaro.org>
7708 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
7709 (top level): Skip tests if valid_addr_p returns false for
7712 2015-03-11 Andy Wingo <wingo@igalia.com>
7714 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
7716 2015-03-11 Yao Qi <yao.qi@linaro.org>
7718 * gdb.base/catch-syscall.exp: Fix typo in comments.
7720 2015-03-11 Yao Qi <yao.qi@linaro.org>
7722 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
7724 2015-03-09 Pedro Alves <palves@redhat.com>
7726 * dg-extract-results.py: Delete.
7728 2015-03-09 Pedro Alves <palves@redhat.com>
7730 Merge dg-extract-results.sh from GCC upstream (r218843).
7732 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
7733 * dg-extract-results.sh: Use --text with grep to avoid issues with
7734 binary files. Fall back to cat -v, if that doesn't work.
7736 2015-03-05 Pedro Alves <palves@redhat.com>
7738 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
7740 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
7742 * lib/mi-support.exp (mi_expect_interrupt): Accept
7743 alternative event for when in all-stop mode.
7745 2015-03-04 Pedro Alves <palves@redhat.com>
7747 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
7749 2015-03-04 Mark Kettenis <kettenis@gnu.org>
7751 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
7753 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7755 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
7756 regexps for GDB's current line display, accept a hex address
7757 preceding the line number.
7759 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
7761 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
7762 the 'arch1' variable for "s390*-linux*" targets.
7764 2015-03-04 Pedro Alves <palves@redhat.com>
7766 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
7767 (main): Pass missing retval argument to pthread_join call.
7769 2015-03-02 Pedro Alves <palves@redhat.com>
7771 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
7772 (top level): Call do_test with non-stop as well.
7774 2015-03-02 Pedro Alves <palves@redhat.com>
7776 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
7779 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
7781 * gdb.arch/s390-vregs.exp: New test.
7782 * gdb.arch/s390-vregs.S: New file.
7784 2015-02-27 Pedro Alves <palves@redhat.com>
7786 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
7787 call to catch_command_errors.
7788 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
7789 catch_command_errors.
7791 2015-02-27 Pedro Alves <palves@redhat.com>
7793 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
7794 "true" for boolean result.
7795 * gdb.gdb/selftest.exp (test_with_self): Also accept full
7798 2015-02-27 Pedro Alves <palves@redhat.com>
7800 * lib/unbuffer_output.c: New file.
7801 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
7802 (main): Call gdb_unbuffer_output.
7804 2015-02-27 Yao Qi <yao.qi@linaro.org>
7806 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
7809 2015-02-26 Doug Evans <dje@google.com>
7811 * gdb.cp/class2.cc (Dbase, D): New classes.
7812 (main): New local delta.
7813 * gdb.cp/class2.exp: Test printing delta.
7814 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
7815 (dynbar): New global.
7816 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
7818 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7820 * gdb.compile/compile-ifunc.c: New file.
7821 * gdb.compile/compile-ifunc.exp: New file.
7823 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
7825 * gdb.base/structs.exp: Check for correct struct on finish.
7827 2015-02-26 Yao Qi <yao.qi@linaro.org>
7829 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
7832 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7834 * gdb.arch/cordic.ko.bz2: New file.
7835 * gdb.arch/cordic.ko.debug.bz2: New file.
7836 * gdb.arch/ppc64-symtab-cordic.exp: New file.
7838 2015-02-25 Yao Qi <yao.qi@linaro.org>
7840 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
7841 aarch64*-*-* target.
7843 2015-02-23 Pedro Alves <palves@redhat.com>
7845 * lib/gdb.exp (delete_breakpoints): Rewrite using
7848 2015-02-23 Pedro Alves <palves@redhat.com>
7850 * gdb.base/info-os.c: Include stdlib.h.
7852 2015-02-22 Doug Evans <xdje42@gmail.com>
7855 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
7856 is read after symbols have been re-read.
7857 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
7858 * gdb.ada/exec_changed/second.adb (Second): Ditto.
7860 2015-02-21 Doug Evans <dje@google.com>
7862 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
7864 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7867 * gdb.arch/i386-biarch-core.core.bz2: New file.
7868 * gdb.arch/i386-biarch-core.exp: New file.
7870 2015-02-21 Pedro Alves <palves@redhat.com>
7872 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
7875 2015-02-20 Pedro Alves <palves@redhat.com>
7877 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
7880 2015-02-20 Pedro Alves <palves@redhat.com>
7882 * gdb.threads/multi-create-ns-info-thr.exp: New file.
7884 2015-02-20 Pedro Alves <palves@redhat.com>
7886 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
7887 clean_restart before gdb_target_supports_trace.
7889 2015-02-20 Pedro Alves <palves@redhat.com>
7892 * gdb.threads/clone-thread_db.c: New file.
7893 * gdb.threads/clone-thread_db.exp: New file.
7895 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
7897 PR breakpoints/16812
7898 * gdb.base/catch-gdb-caused-signals.c: New file.
7899 * gdb.base/catch-gdb-caused-signals.exp: New file.
7901 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
7903 * configure: Regenerated.
7904 * configure.ac: Use GDB_AC_TRANSFORM.
7905 * aclocal.m4: sinclude ../transform.m4.
7907 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7909 * lib/dtrace.exp: New file.
7910 * gdb.base/dtrace-probe.exp: Likewise.
7911 * gdb.base/dtrace-probe.d: Likewise.
7912 * gdb.base/dtrace-probe.c: Likewise.
7913 * lib/pdtrace.in: Likewise.
7914 * configure.ac: Output variables with the transformed names of
7915 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
7916 * configure: Regenerated.
7918 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7920 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
7921 expected message when trying to access $_probe_* convenience
7922 variables while not on a probe.
7924 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7926 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
7928 2015-02-11 Pedro Alves <pedro@codesourcery.com>
7930 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
7931 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
7933 2015-02-10 Doug Evans <xdje42@gmail.com>
7935 * lib/gdb.exp (gdb_load): Always return a result.
7937 2015-02-10 Pedro Alves <palves@redhat.com>
7939 * gdb.threads/signal-sigtrap.c: New file.
7940 * gdb.threads/signal-sigtrap.exp: New file.
7942 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
7944 * gdb.trace/no-attach-trace.c: New file.
7945 * gdb.trace/no-attach-trace.exp: New file.
7947 2015-02-09 Mark Wielaard <mjw@redhat.com>
7949 * gdb.dwarf2/atomic.c: New file.
7950 * gdb.dwarf2/atomic-type.exp: Likewise.
7952 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7954 * gdb.btrace/buffer-size.exp: Update "info record" output.
7955 * gdb.btrace/delta.exp: Update "info record" output.
7956 * gdb.btrace/enable.exp: Update "info record" output.
7957 * gdb.btrace/finish.exp: Update "info record" output.
7958 * gdb.btrace/instruction_history.exp: Update "info record" output.
7959 * gdb.btrace/next.exp: Update "info record" output.
7960 * gdb.btrace/nexti.exp: Update "info record" output.
7961 * gdb.btrace/step.exp: Update "info record" output.
7962 * gdb.btrace/stepi.exp: Update "info record" output.
7963 * gdb.btrace/nohist.exp: Update "info record" output.
7965 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7967 * gdb.btrace/buffer-size: New.
7969 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
7971 * gdb.btrace/delta.exp: Update "info record" output.
7972 * gdb.btrace/enable.exp: Update "info record" output.
7973 * gdb.btrace/finish.exp: Update "info record" output.
7974 * gdb.btrace/instruction_history.exp: Update "info record" output.
7975 * gdb.btrace/next.exp: Update "info record" output.
7976 * gdb.btrace/nexti.exp: Update "info record" output.
7977 * gdb.btrace/step.exp: Update "info record" output.
7978 * gdb.btrace/stepi.exp: Update "info record" output.
7979 * gdb.btrace/nohist.exp: Update "info record" output.
7981 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
7984 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
7986 2015-02-06 Pedro Alves <palves@redhat.com>
7988 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
7990 (seconds_left, again): New globals.
7991 (main): Wait seconds_left in a 1-second sleep loop instead of
7992 sleeping 180 seconds. If 'again' is set, reset the seconds
7994 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
7995 'again' in the inferior before detaching. Print the seconds left.
7996 (options): New global.
7997 (top level): Build program with -DTIMEOUT=$timeout.
7999 2015-02-06 Pedro Alves <palves@redhat.com>
8001 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
8002 determine how many seconds to pass to 'alarm'.
8003 * gdb.base/gdb-sigterm.exp (top level): Build program with
8005 (do_test): Return success/failure indication. Add more verbose
8006 logging. Don't fail if 200 single steps are seen. Instead, fail
8007 when the test times out.
8008 (passes): New global.
8009 (top level): Break the testing loop if testing fails on any
8010 iteration. Use gdb_assert.
8012 2015-02-04 Don Breazeal <donb@codesourcery.com>
8014 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
8015 and initialize them.
8016 (ipc_cleanup): New function.
8017 (main): Don't declare shmid, semid, and msqid. Add a call to
8018 atexit so that we call ipc_cleanup on exit.
8020 2015-02-04 Pedro Alves <palves@redhat.com>
8022 * boards/native-extended-gdbserver.exp: Remove any target variant
8023 specifications from the board name before clearing the isremote
8024 flag from board_info.
8026 2015-01-31 Doug Evans <xdje42@gmail.com>
8028 * gdb.base/maint.exp <maint print type argc>: Update expected output.
8030 2015-01-31 Gary Benson <gbenson@redhat.com>
8032 * gdb.base/completion.exp: Disable completion limiting for
8033 existing tests. Add new tests to check completion limiting.
8034 * gdb.linespec/ls-errs.exp: Disable completion limiting.
8036 2015-01-31 Doug Evans <xdje42@gmail.com>
8038 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
8040 2015-01-31 Doug Evans <xdje42@gmail.com>
8042 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
8043 entries. Duplicate file section script entries.
8044 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
8045 inlined entries. Add test for safe-path rejection.
8046 * gdb.python/py-section-script.c: Add duplicate inlined section script
8047 entries. Duplicate file section script entries.
8048 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
8049 inlined entries. Add test for safe-path rejection.
8051 2015-01-29 Joel Brobecker <brobecker@adacore.com>
8053 * gdb.ada/disc_arr_bound: New testcase.
8055 2015-01-29 Joel Brobecker <brobecker@adacore.com>
8057 * gdb.ada/mi_var_array: New testcase.
8059 2015-01-27 Doug Evans <dje@google.com>
8061 * gdb.python/py-objfile.exp: Add tests for objfile.username.
8062 Add test for objfile.filename, objfile.username after objfile
8065 2015-01-26 Joel Brobecker <brobecker@adacore.com>
8067 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
8068 the second test to print the name attribute of value
8069 returned by the call to gdb.lookup_type, and adjust
8070 the expected output accordingly.
8072 2015-01-25 Mark Wielaard <mjw@redhat.com>
8074 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
8075 * gdb.base/disp-step-fork.c: Include unistd.h.
8076 * gdb.base/siginfo-obj.c: Include stdio.h.
8077 * gdb.base/siginfo-thread.c: Likewise.
8078 * gdb.mi/non-stop.c: Include unistd.h.
8079 * gdb.mi/nsthrexec.c: Include stdio.h.
8080 * gdb.mi/pthreads.c: Include unistd.h.
8081 * gdb.modula2/unbounded1.c (main): Declare returns int.
8082 * gdb.reverse/consecutive-reverse.c: Likewise.
8083 * gdb.threads/create-fail.c: Include unistd.h.
8084 * gdb.threads/killed.c: Likewise.
8085 * gdb.threads/linux-dp.c: Likewise.
8086 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
8087 * gdb.threads/non-ldr-exc-2.c: Likewise.
8088 * gdb.threads/non-ldr-exc-3.c: Likewise.
8089 * gdb.threads/non-ldr-exc-4.c: Likewise.
8090 * gdb.threads/pthreads.c: Include unistd.h.
8091 (main): Declare returns int.
8092 * gdb.threads/tls-main.c (foo): New declaration.
8093 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
8095 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
8097 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
8098 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
8100 2015-01-15 Mark Wielaard <mjw@redhat.com>
8102 * gdb.base/noreturn-return.c: New file.
8103 * gdb.base/noreturn-return.exp: New file.
8104 * gdb.base/noreturn-finish.c: New file.
8105 * gdb.base/noreturn-finish.exp: New file.
8107 2015-01-23 Pedro Alves <palves@redhat.com>
8109 * gdb.threads/continue-pending-after-query.c: New file.
8110 * gdb.threads/continue-pending-after-query.exp: New file.
8112 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
8113 Simon Marchi <simon.marchi@ericsson.com>
8115 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
8116 * gdb.base/valgrind-db-attach.exp: Same.
8117 * gdb.base/valgrind-infcall.exp: Same.
8118 * lib/mi-support.exp (default_mi_gdb_start): Same.
8119 * lib/prompt.exp (default_prompt_gdb_start): Same.
8120 * lib/gdb.exp (default_gdb_spawn): Same.
8121 (gdb_interact): New.
8124 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8126 * gdb.compile/compile.exp (pointer to jit function): New test.
8128 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
8130 * lib/gdb.exp (supports_process_record): Return true for
8132 (supports_reverse): Likewise.
8134 2015-01-15 Don Breazeal <donb@codesourcery.com>
8136 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
8137 instead of checking whether the target board is remote and
8138 use spawn_wait_for_attach instead of exec/sleep.
8139 * gdb.base/attach-twice.exp: Likewise.
8141 2015-01-15 Joel Brobecker <brobecker@adacore.com>
8143 * gdb.ada/var_arr_attrs: New testcase.
8145 2015-01-14 Pedro Alves <palves@redhat.com>
8146 Joel Brobecker <brobecker@adacore.com>
8149 * gdb.base/bp-cmds-execution-x-script.c: New file.
8150 * gdb.base/bp-cmds-execution-x-script.exp: New file.
8151 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
8153 2015-01-14 Pedro Alves <palves@redhat.com>
8156 * gdb.base/batch-preserve-term-settings.c: New file.
8157 * gdb.base/batch-preserve-term-settings.exp: New file.
8159 2015-01-13 Doug Evans <dje@google.com>
8161 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
8164 2015-01-13 Joel Brobecker <brobecker@adacore.com>
8166 * Makefile.in (clean mostlyclean): Do not delete *.py.
8168 2015-01-13 Joel Brobecker <brobecker@adacore.com>
8170 * gdb.python/py-lookup-type.exp: New file.
8172 2015-01-12 Pedro Alves <palves@redhat.com>
8174 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
8175 restore GDBFLAGS before returning.
8177 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8179 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
8180 is_amd64_regs_target and is_x86_like_target.
8182 2015-01-11 Doug Evans <xdje42@gmail.com>
8184 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
8185 is given without an explicit form.
8186 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
8188 * gdb.dwarf/corrupt.exp: Ditto.
8189 * gdb.dwarf2/enum-type.exp: Ditto.
8190 * gdb.trace/entry-values.exp: Ditto.
8191 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
8193 2015-01-11 Doug Evans <xdje42@gmail.com>
8196 * gdb.base/maint.exp: Remove references to "maint demangle".
8197 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
8198 Add tests for explicitly specifying language to demangle.
8199 * gdb.dlang/demangle.exp: Ditto.
8201 2015-01-09 Pedro Alves <palves@redhat.com>
8203 * gdb.threads/non-stop-fair-events.c: New file.
8204 * gdb.threads/non-stop-fair-events.exp: New file.
8206 2015-01-09 Pedro Alves <palves@redhat.com>
8208 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
8209 the global scope. Set a breakpoint after all threads are started
8210 rather than stepping over two source lines. Expect the prompt.
8211 * gdb.base/watch_thread_num.c (threads_started_barrier): New
8214 (main): Use threads_started_barrier to wait for all threads to
8215 start. Main thread no longer calls thread_function. Exit after
8217 (loop): New function.
8218 (thread_function): Wait on threads_started_barrier barrier. Call
8219 'loop' at each iteration.
8220 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
8221 threads have started, instead of hardcoding number of "next"
8222 steps. Use an access watchpoint instead of a write watchpoint.
8224 2015-01-09 Pedro Alves <palves@redhat.com>
8226 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
8227 (thread_func): Wait on barrier.
8228 (main): Wait for all threads to start before stopping GDB.
8229 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
8231 (thread1_func, thread2_func): Wait on barrier.
8232 (main): Wait for all threads to start before stopping GDB.
8233 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
8235 (thread1_func, thread2_func): Wait on barrier.
8236 (main): Wait for all threads to start before stopping GDB.
8238 2015-01-09 Pedro Alves <palves@redhat.com>
8240 * gdb.threads/attach-many-short-lived-threads.c: New file.
8241 * gdb.threads/attach-many-short-lived-threads.exp: New file.
8243 2014-01-09 Pedro Alves <palves@redhat.com>
8245 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
8246 instead of to thread 2.
8247 * gdb.threads/signal-command-multiple-signals-pending.c (main):
8248 Add barrier around each pthread_create call instead of around all
8250 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
8251 Set a break on thread_function and have the child threads hit it
8254 2015-01-09 Pedro Alves <palves@redhat.com>
8256 * lib/gdb.exp (can_spawn_for_attach): New procedure.
8257 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
8259 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
8260 checking whether the target board is remote.
8261 * gdb.multi/multi-attach.exp: Likewise.
8262 * gdb.python/py-sync-interp.exp: Likewise.
8263 * gdb.server/ext-attach.exp: Likewise.
8264 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
8265 tests that need to attach, instead of checking whether the target
8266 board is remote at the top of the file.
8268 2015-01-08 Yao Qi <yao@codesourcery.com>
8270 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
8272 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8274 Fix testcase compilation.
8275 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
8277 2015-01-06 Joel Brobecker <brobecker@adacore.com>
8279 * gdb.python/py-type.exp: Add a couple test about empty
8280 array creation, and negative-length array creation.
8282 2015-01-02 Doug Evans <xdje42@gmail.com>
8284 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
8286 2015-01-02 Doug Evans <dje@google.com>
8288 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
8290 2014-12-29 Yao Qi <yao@codesourcery.com>
8292 * gdb.trace/entry-values.exp: Update comments. Rename variable
8293 bar_call_foo to returned_from_foo.
8295 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
8298 * gdb.linespec/break-asm-file.c: New file.
8299 * gdb.linespec/break-asm-file.exp: New file.
8300 * gdb.linespec/break-asm-file0.s: New file.
8301 * gdb.linespec/break-asm-file1.s: New file.
8303 2014-12-18 Nigel Stephens <nigel@mips.com>
8304 Maciej W. Rozycki <macro@codesourcery.com>
8306 * gdb.base/float.exp: Handle the new output from "info float" on
8309 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8311 Fix MinGW compilation.
8312 * gdb.compile/compile-ops.exp: Update untested message if
8313 !skip_compile_feature_tests.
8314 * gdb.compile/compile-setjmp.exp: Likewise.
8315 * gdb.compile/compile-tls.exp: Likewise.
8316 * gdb.compile/compile.exp: Likewise.
8317 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
8318 supported on this host".
8320 2014-12-16 Doug Evans <xdje42@gmail.com>
8322 * boards/stabs.exp: New file.
8324 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
8326 * gdb.base/completion.exp: Adjust to format changes of "maint
8327 print user-registers".
8329 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
8332 * gdb.arch/aarch64-fp.c: New file.
8333 * gdb.arch/aarch64-fp.exp: New file.
8335 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
8337 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
8338 r210637, r210913, r211666, r215400, r215817).
8340 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
8341 * dg-extract-results.py: New file.
8342 * dg-extract-results.sh: Use it if the environment seems
8345 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
8347 * dg-extract-results.py (parse_run): Handle warnings that
8348 are printed before a test harness is run.
8350 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
8352 * dg-extract-results.py (Named): Remove __cmp__ method.
8353 (output_variation): Use a key to sort variation.harnesses.
8355 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
8357 * dg-extract-results.py: For Python 3, force sys.stdout to
8358 handle surrogate escape sequences.
8359 (safe_open): New function.
8360 (output_segment, main): Use it.
8362 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
8364 * dg-extract-results.py (Prog.result_re): Include options
8367 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
8369 * dg-extract-results.py (output_variation): Always sort if
8372 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
8374 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
8375 as long as we get pagination notifications.
8377 2014-12-15 Jason Merrill <jason@redhat.com>
8379 * Makefile.in (check-gdb.%): Restore.
8380 * README: Mention it.
8382 2014-12-13 Joel Brobecker <brobecker@adacore.com>
8384 * gdb.ada/str_uninit: New testcase.
8386 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8389 * gdb.base/vla-stub-define.c: New file.
8390 * gdb.base/vla-stub.c: New file.
8391 * gdb.base/vla-stub.exp: New file.
8393 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
8394 Jan Kratochvil <jan.kratochvil@redhat.com>
8395 Tom Tromey <tromey@redhat.com>
8397 * configure.ac: Add gdb.compile/.
8398 * configure: Regenerate.
8399 * gdb.compile/Makefile.in: New file.
8400 * gdb.compile/compile-ops.exp: New file.
8401 * gdb.compile/compile-ops.c: New file.
8402 * gdb.compile/compile-tls.c: New file.
8403 * gdb.compile/compile-tls.exp: New file.
8404 * gdb.compile/compile-constvar.S: New file.
8405 * gdb.compile/compile-constvar.c: New file.
8406 * gdb.compile/compile-mod.c: New file.
8407 * gdb.compile/compile-nodebug.c: New file.
8408 * gdb.compile/compile-setjmp-mod.c: New file.
8409 * gdb.compile/compile-setjmp.c: New file.
8410 * gdb.compile/compile-setjmp.exp: New file.
8411 * gdb.compile/compile-shlib.c: New file.
8412 * gdb.compile/compile.c: New file.
8413 * gdb.compile/compile.exp: New file.
8414 * lib/gdb.exp (skip_compile_feature_tests): New proc.
8416 2014-12-12 Tom Tromey <tromey@redhat.com>
8418 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
8419 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
8421 2014-12-12 Doug Evans <dje@google.com>
8423 * lib/gdb-python.exp (get_python_valueof): New function.
8424 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
8426 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
8428 * gdb.base/completion.exp: Add test for completion of "info
8431 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
8433 * gdb.base/func-ptrs.c: New file.
8434 * gdb.base/func-ptrs.exp: New file.
8436 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8438 PR breakpoints/17012
8439 * gdb.base/dprintf-detach.c: New file.
8440 * gdb.base/dprintf-detach.exp: New file.
8442 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
8444 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
8445 * lib/gdb.exp (target_is_gdbserver): New procedure.
8447 2014-12-08 Doug Evans <dje@google.com>
8449 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
8451 2014-12-05 Yao Qi <yao@codesourcery.com>
8453 * gdb.guile/scm-error.exp: Remove the third argument to
8454 gdb_remote_download.
8455 * gdb.guile/scm-frame-args.exp: Likewise.
8456 * gdb.guile/scm-section-script.exp: Likewise.
8458 2014-12-05 Yao Qi <yao@codesourcery.com>
8460 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
8462 2014-12-04 Doug Evans <dje@google.com>
8464 * gdb.python/py-objfile.exp: Add tests for
8465 objfile.add_separate_debug_file.
8467 2014-12-04 Doug Evans <dje@google.com>
8469 * lib/gdb.exp (get_build_id): New function.
8470 (build_id_debug_filename_get): Rewrite to use it.
8471 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
8473 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
8475 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
8476 `method(long)', not just 0x0.
8477 * gdb.cp/nsalias.exp: Align code labels to 4.
8478 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
8479 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
8480 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
8481 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
8482 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
8483 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
8485 2014-12-02 Doug Evans <dje@google.com>
8488 * gdb.cp/anon-ns.cc: Move guts of this file to ...
8489 * gdb.cp/anon-ns2.cc: ... here. New file.
8490 * gdb.cp/anon-ns.exp: Update.
8492 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
8494 * gdb.python/py-events.py (inferior_call_handler): New.
8495 (register_changed_handler, memory_changed_handler): New.
8496 (test_events.invoke): Register new handlers.
8497 * gdb.python/py-events.exp: Add tests for inferior call,
8498 memory_changed and register_changed events.
8500 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
8502 * gdb.base/execl-update-breakpoints.exp: Specify the link address
8503 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
8504 if the linker doesn't understand this.
8506 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
8508 * gdb.python/python.exp: Change expected reply to help().
8510 2014-12-01 Yao Qi <yao@codesourcery.com>
8512 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
8513 AC_CONFIG_SUBDIRS(gdb.gdbtk).
8514 * configure: Re-generated.
8516 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
8518 * gdb.cp/chained-calls.cc: New file.
8519 * gdb.cp/chained-calls.exp: New file.
8520 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
8522 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
8524 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
8525 * gdb.dwarf2/symtab-producer.exp: Same.
8526 * gdb.gdb/python-interrupts.exp: Same.
8527 * gdb.gdb/python-selftest.exp: Same.
8528 * gdb.python/py-linetable.exp: Same.
8529 * gdb.python/py-type.exp: Same.
8530 * gdb.python/py-value-cc.exp: Same.
8531 * gdb.python/py-value.exp: Same.
8533 2014-11-28 Yao Qi <yao@codesourcery.com>
8535 * gdb.base/break-probes.exp: Match library name prefixed with
8538 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
8540 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
8541 test expected output. Add parentheses for the call to print.
8542 Remove L suffix from integers.
8544 2014-11-26 Doug Evans <dje@google.com>
8546 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
8548 2014-11-22 Yao Qi <yao@codesourcery.com>
8550 * gdb.trace/entry-values.c: Remove asms.
8551 (foo): Add foo_label.
8552 (bar): Add bar_label.
8553 * gdb.trace/entry-values.exp: Remove code computing foo's
8554 length and bar's length.
8555 (Dwarf::assemble): Invoke function_range for bar and use
8556 MACRO_AT_func for foo.
8558 2014-11-22 Yao Qi <yao@codesourcery.com>
8560 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
8561 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
8562 Use .Lgcc43_procstart instead of gcc43.
8564 2014-11-21 Joel Brobecker <brobecker@adacore.com>
8566 * gdb.ada/n_arr_bound: New testcase.
8568 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
8570 PR breakpoints/10737
8571 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
8572 test_catch_syscall_multi_arch.
8573 (test_catch_syscall_multi_arch): New function.
8575 2014-11-20 Doug Evans <xdje42@gmail.com>
8577 * gdb.base/maint.exp: Update expected output.
8579 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
8581 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
8582 4-byte instruction on S390.
8584 2014-11-19 Joel Brobecker <brobecker@adacore.com>
8586 * gdb.ada/arr_arr: New testcase.
8588 2014-11-19 Joel Brobecker <brobecker@adacore.com>
8590 * gdb.ada/pkd_arr_elem: New Testcase.
8592 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
8594 * gdb.reverse/break-precsave: Expect completion message for
8596 * gdb.reverse/consecutive-precsave.exp: Likewise.
8597 * gdb.reverse/finish-precsave.exp: Likewise.
8598 * gdb.reverse/i386-precsave.exp: Likewise.
8599 * gdb.reverse/machinestate-precsave.exp: Likewise.
8600 * gdb.reverse/sigall-precsave.exp: Likewise.
8601 * gdb.reverse/solib-precsave.exp: Likewise.
8602 * gdb.reverse/step-precsave.exp: Likewise.
8603 * gdb.reverse/until-precsave.exp: Likewise.
8604 * gdb.reverse/watch-precsave.exp: Likewise.
8606 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8608 * gdb.base/bp-permanent.c: Include unistd.h.
8609 * gdb.python/py-framefilter-mi.c (main): Add return type.
8610 * gdb.python/py-framefilter.c (main): Likewise.
8611 * gdb.trace/actions-changed.c (main): Likewise.
8613 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8615 * gdb.mi/until.c: Add eye-catchers.
8616 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
8619 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
8621 * gdb.base/condbreak.exp: Drop references to removed non-prototype
8622 function header variants in break1.c.
8623 * gdb.base/ena-dis-br.exp: Likewise.
8624 * gdb.base/hbreak2.exp: Likewise.
8625 * gdb.reverse/until-precsave.exp: Drop references to removed
8626 non-prototype function header variants in ur1.c.
8627 * gdb.reverse/until-reverse.exp: Likewise.
8629 2014-11-17 Petr Machata <pmachata@redhat.com>
8631 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
8632 ${_cu_offset_size} bytes abbrev offset.
8634 2014-11-15 Doug Evans <xdje42@gmail.com>
8637 * gdb.base/line-symtabs.exp: New file.
8638 * gdb.base/line-symtabs.c: New file.
8639 * gdb.base/line-symtabs.h: New file.
8641 2014-11-14 Yao Qi <yao@codesourcery.com>
8643 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
8644 (func): Add label func_label.
8645 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
8646 Replace low_pc and high_pc with MACRO_AT_range.
8647 Replace name, low_pc and high_pc with MACRO_AT_func.
8649 2014-11-14 Yao Qi <yao@codesourcery.com>
8651 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
8652 Replace name, low_pc and high_pc with MACRO_AT_func.
8654 2014-11-14 Yao Qi <yao@codesourcery.com>
8656 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
8657 produce debug information.
8658 * gdb.dwarf2/implptr-optimized-out.S: Removed.
8660 2014-11-14 Yao Qi <yao@codesourcery.com>
8662 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
8663 object and get function length.
8664 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
8666 (top-level): Replace gdb_compile and clean_restart with
8667 prepare_for_testing.
8668 * gdb.dwarf2/main.c (main): Add label main_label.
8670 2014-11-14 Yao Qi <yao@codesourcery.com>
8672 * lib/dwarf.exp (function_range): New procedure.
8673 (Dwarf::_handle_macro_at_func): New procedure.
8674 (Dwarf::_handle_macro_at_range): New procedure.
8675 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
8677 2014-11-14 Yao Qi <yao@codesourcery.com>
8679 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
8680 (_handle_attribute): New procedure.
8682 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8684 * gdb.ada/cond_lang/foo.c (callme): Add return type.
8685 * gdb.base/call-sc.c (zed): Likewise.
8686 * gdb.base/checkpoint.c (main): Likewise.
8687 * gdb.base/dump.c (main): Likewise.
8688 * gdb.base/gcore.c (main): Likewise.
8689 * gdb.base/huge.c (main): Likewise.
8690 * gdb.base/multi-forks.c (main): Likewise.
8691 * gdb.base/pr10179-a.c (main): Likewise.
8692 * gdb.base/savedregs.c (main): Likewise.
8693 * gdb.base/sigaltstack.c (main): Likewise.
8694 * gdb.base/siginfo.c (main): Likewise.
8695 * gdb.base/structs.c (zed): Likewise.
8696 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
8697 * gdb.mi/mi-syn-frame.c (main): Likewise.
8698 * gdb.mi/until.c (foo, main): Likewise.
8699 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
8700 * gdb.base/solib-weak.c (foo): Declare.
8701 * gdb.base/attach-twice.c: Include stdio.h.
8702 * gdb.base/weaklib1.c: Likewise.
8703 * gdb.base/weaklib2.c: Likewise.
8704 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
8705 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
8707 * gdb.base/attach-pie-misread.c: Include stdlib.h.
8708 * gdb.mi/mi-exit-code.c: Likewise.
8709 * gdb.base/break-interp-lib.c: Include string.h.
8710 * gdb.base/coremaker.c: Likewise.
8711 * gdb.base/testenv.c: Likewise.
8712 * gdb.python/py-finish-breakpoint.c: Likewise.
8713 * gdb.base/inferior-died.c: Include sys/wait.h.
8714 * gdb.base/fileio.c: Include time.h.
8715 * gdb.base/async-shell.c: Include unistd.h.
8716 * gdb.base/dprintf-non-stop.c: Likewise.
8717 * gdb.base/info-os.c: Likewise.
8718 * gdb.mi/mi-console.c: Likewise.
8719 * gdb.mi/watch-nonstop.c: Likewise.
8720 * gdb.python/py-events.c: Likewise.
8721 * gdb.base/async.c (baz): Move up before its invocation.
8722 * gdb.base/code_elim2.c (my_global_func): Likewise.
8723 * gdb.base/skip-solib-lib.c (multiply): Likewise.
8724 * gdb.base/advance.c (func2): Likewise.
8726 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8728 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
8730 * gdb.base/annota3.c: Likewise.
8731 * gdb.base/async.c: Likewise.
8732 * gdb.base/average.c: Likewise.
8733 * gdb.base/call-ar-st.c: Likewise.
8734 * gdb.base/call-rt-st.c: Likewise.
8735 * gdb.base/call-sc.c: Likewise.
8736 * gdb.base/call-strs.c: Likewise.
8737 * gdb.base/ending-run.c: Likewise.
8738 * gdb.base/execd-prog.c: Likewise.
8739 * gdb.base/exprs.c: Likewise.
8740 * gdb.base/foll-exec.c: Likewise.
8741 * gdb.base/foll-fork.c: Likewise.
8742 * gdb.base/foll-vfork.c: Likewise.
8743 * gdb.base/funcargs.c: Likewise.
8744 * gdb.base/gcore.c: Likewise.
8745 * gdb.base/jump.c: Likewise.
8746 * gdb.base/langs0.c: Likewise.
8747 * gdb.base/langs1.c: Likewise.
8748 * gdb.base/langs2.c: Likewise.
8749 * gdb.base/mips_pro.c: Likewise.
8750 * gdb.base/nodebug.c: Likewise.
8751 * gdb.base/opaque0.c: Likewise.
8752 * gdb.base/opaque1.c: Likewise.
8753 * gdb.base/recurse.c: Likewise.
8754 * gdb.base/run.c: Likewise.
8755 * gdb.base/scope0.c: Likewise.
8756 * gdb.base/scope1.c: Likewise.
8757 * gdb.base/setshow.c: Likewise.
8758 * gdb.base/setvar.c: Likewise.
8759 * gdb.base/shmain.c: Likewise.
8760 * gdb.base/shr1.c: Likewise.
8761 * gdb.base/shr2.c: Likewise.
8762 * gdb.base/sigall.c: Likewise.
8763 * gdb.base/signals.c: Likewise.
8764 * gdb.base/so-indr-cl.c: Likewise.
8765 * gdb.base/solib2.c: Likewise.
8766 * gdb.base/structs.c: Likewise.
8767 * gdb.base/sum.c: Likewise.
8768 * gdb.base/vforked-prog.c: Likewise.
8769 * gdb.base/watchpoint.c: Likewise.
8770 * gdb.reverse/shr2.c: Likewise.
8771 * gdb.reverse/until-reverse.c: Likewise.
8772 * gdb.reverse/ur1.c: Likewise.
8773 * gdb.reverse/watch-reverse.c: Likewise.
8775 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8777 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
8779 * gdb.base/sepdebug.exp: Drop references to removed code.
8781 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8783 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
8784 variant. Preserve original line numbering.
8785 * gdb.base/list1.c: Likewise.
8787 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8789 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
8791 * gdb.base/break1.c: Likewise.
8792 * gdb.base/break.exp: Drop references to removed code.
8794 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8796 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
8799 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8801 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
8803 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8805 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
8806 logic into perform_all_tests() and invoke it with and without
8807 function header prototypes.
8808 (do_function_calls): Remove conditional XFAIL for PR 5318.
8809 (rerun_and_prepare): Remove duplicate code.
8810 (perform_all_tests): New. Main logic moved here.
8812 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8814 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
8815 code guarded by #ifdef NO_PROTOTYPES.
8816 (t_double_many_args): Likewise.
8817 (DEF_FUNC_MANY_ARGS_1): Likewise.
8818 (DEF_FUNC_VALUES_1): Likewise.
8819 (t_structs_ldc): Renamed from t_structs_fc in conditional code
8820 guarded by #ifdef PROTOTYPES.
8822 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8824 * gdb.mi/mi-console.c: Add eye-catcher.
8825 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
8826 instead of literal line number.
8828 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8830 * gdb.base/shr2.c: Add eye-catcher.
8831 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
8834 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8836 * gdb.base/jump.c: Add eye-catchers.
8837 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
8840 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8842 * gdb.base/execd-prog.c: Add eye-catchers.
8843 * gdb.base/foll-exec.c: Likewise.
8844 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
8847 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8849 * gdb.base/ending-run.c: Add eye-catchers.
8850 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
8851 literal line numbers.
8853 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8855 * gdb.base/call-rt-st.c: Add eye-catchers.
8856 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
8857 literal line numbers.
8859 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8861 * gdb.base/call-ar-st.c: Add eye-catchers.
8862 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
8863 literal line numbers.
8865 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8867 * gdb.base/average.c: Add eye-catchers.
8868 * gdb.base/sum.c: Likewise.
8869 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
8870 regexps dynamically.
8872 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
8874 * gdb.base/solib1.c: Add eye-catchers.
8875 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
8876 literal line numbers.
8878 2014-11-12 Pedro Alves <palves@redhat.com>
8880 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
8883 2014-11-12 Pedro Alves <palves@redhat.com>
8885 * gdb.arch/i386-bp_permanent.c: New file.
8886 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
8887 (srcfile): Set to i386-bp_permanent.c.
8888 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
8889 that stepi does not execute the 'leave' instruction, instead of
8890 testing it does execute.
8891 * gdb.base/bp-permanent.c: New file.
8892 * gdb.base/bp-permanent.exp: New file.
8894 2014-11-10 Doug Evans <xdje42@gmail.com>
8897 * gdb.base/symtab-search-order.exp: New file.
8898 * gdb.base/symtab-search-order.c: New file.
8899 * gdb.base/symtab-search-order-1.c: New file.
8900 * gdb.base/symtab-search-order-shlib-1.c: New file.
8902 2014-11-07 Pedro Alves <palves@redhat.com>
8905 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
8908 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
8911 * gdb.cp/pr17494.cc: New file.
8912 * gdb.cp/pr17494.exp: New file.
8914 2014-11-02 Yao Qi <yao@codesourcery.com>
8916 * gdb.python/python.exp: Get working directory and match the
8917 output of "set extended-prompt \\w " with it.
8919 2014-10-30 Doug Evans <dje@google.com>
8921 * gdb.python/py-objfile.exp: Add tests for setting random attributes
8923 * gdb.python/py-progspace.exp: Add tests for setting random attributes
8926 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
8928 * gdb.base/fullpath-expand.exp: Skip for a remote host.
8929 * gdb.base/realname-expand.exp: Likewise.
8930 * gdb.linespec/macro-relative.exp: Likewise.
8932 2014-10-29 Pedro Alves <palves@redhat.com>
8935 * gdb.threads/schedlock.c (some_function): New function.
8936 (call_function): New global.
8937 (MAYBE_CALL_SOME_FUNCTION): New macro.
8938 (thread_function): Call it.
8939 * gdb.threads/schedlock.exp (get_args): Add description parameter,
8940 and use it instead of a global counter. Adjust all callers.
8941 (get_current_thread): Use "find current thread" for test message
8942 here rather than having all callers pass down the same string.
8943 (goto_loop): New procedure, factored out from ...
8944 (my_continue): ... this.
8945 (step_ten_loops): Change parameter from test message to command to
8947 (list_count): Delete global.
8948 (check_result): New procedure, factored out from duplicate top
8950 (continue tests): Wrap in with_test_prefix.
8951 (test_step): New procedure, factored out from duplicate top level
8953 (top level): Test "step" in combination with all scheduler-locking
8954 modes. Test "next" in combination with all scheduler-locking
8955 modes, and in combination with stepping over a function call or
8957 * gdb.threads/next-bp-other-thread.c: New file.
8958 * gdb.threads/next-bp-other-thread.exp: New file.
8960 2014-10-29 Pedro Alves <palves@redhat.com>
8963 * gdb.python/python.exp: Test a multi-line command that spawns
8965 * gdb.base/multi-line-starts-subshell.exp: New file.
8967 2014-10-29 Yao Qi <yao@codesourcery.com>
8969 * gdb.base/fileio.exp: Make directories on host.
8971 2014-10-29 Yao Qi <yao@codesourcery.com>
8973 * gdb.base/fileio.c (test_write): Close the file.
8975 2014-10-28 Pedro Alves <palves@redhat.com>
8978 * gdb.base/sigstep.c (no_handler): New global.
8979 (main): If 'no_handler is true, set the signal handlers to
8981 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
8982 with_sw_watch and no_handler parameters. Handle them.
8983 (top level) <stepping over handler when stopped at a breakpoint
8984 test>: Add a test axis for testing with a software watchpoint, and
8985 another for testing with the signal handler set to SIG_IGN.
8986 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
8987 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
8989 2014-10-28 Pedro Alves <palves@redhat.com>
8992 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
8993 * gdb.base/sigstep.exp (other_handler_location): New global.
8994 (advance): Support stepping into the signal handler, and running
8995 commands while in the handler.
8996 (in_handler_map): New global.
8997 (top level): In the advance test, add combinations for getting
8998 into the handler with stepping commands, and for running commands
8999 in the handler. Add comment descripting the advancei tests.
9001 2014-10-28 Pedro Alves <palves@redhat.com>
9003 * gdb.base/sigstep.exp: Use build_executable instead of
9004 prepare_for_testing.
9005 (top level): Move code that starts GDB, runs to main and creates a
9007 (restart): ... this new procedure.
9008 (top level): Move backtrace from signal handler test to ...
9009 (validate_backtrace): ... this new procedure.
9010 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
9011 with_test_prefix. Always restart GDB.
9012 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
9013 with_test_prefix. Always restart GDB. No need to delete
9014 breakpoints after the test.
9015 (test_skip_handler): Remove prefix parameter.
9016 (skip_over_handler, breakpoint_to_handler)
9017 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
9018 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
9019 restart GDB. No need to delete breakpoints after the test.
9020 (top level): Use foreach to call the test procedures with
9023 2014-10-28 Pedro Alves <palves@redhat.com>
9025 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
9026 instead of GNATS numbers.
9027 * gdb.base/sigbpt.exp: Likewise.
9028 * gdb.base/siginfo.exp: Likewise.
9029 * gdb.base/sigstep.exp: Likewise.
9031 2014-10-27 Pedro Alves <palves@redhat.com>
9033 * gdb.base/sigstep.c (dummy): New global.
9034 (main): Issue a couple writes to the new global.
9035 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
9037 (skip_over_handler): Use test_skip_handler.
9038 (top level): Call skip_over_handler for stepi and nexti too.
9039 (breakpoint_over_handler): Use test_skip_handler.
9040 (top level): Call breakpoint_over_handler for stepi and nexti too.
9042 2014-10-27 Yao Qi <yao@codesourcery.com>
9044 * gdb.trace/tfile.c (adjust_function_address)
9045 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
9046 function descriptor.
9048 2014-10-24 Don Breazeal <donb@codesourcery.com>
9050 * gdb.base/foll-fork.exp (test_follow_fork,
9051 catch_fork_child_follow): Check for updated fork messages emitted
9053 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
9054 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
9055 vfork_and_exec_child_follow_through_step): Check for updated vfork
9056 messages emitted from infrun.c.
9058 2014-10-24 Pedro Alves <palves@redhat.com>
9060 * gdb.base/corefile.exp: Remove references to ultrix.
9061 * gdb.base/interrupt.exp: Likewise.
9062 * gdb.base/whatis.exp: Likewise.
9063 * gdb.gdb/selftest.exp: Likewise.
9064 * gdb.threads/manythreads.exp: Likewise.
9065 * gdb.threads/print-threads.exp: Likewise.
9066 * gdb.threads/pthreads.exp:: Likewise.
9067 * gdb.threads/schedlock.exp: Likewise.
9069 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
9071 * gdb.cp/non-trivial-retval.cc: Add a test case.
9072 * gdb.cp/non-trivial-retval.exp: Add a test.
9074 2014-10-20 Yao Qi <yao@codesourcery.com>
9076 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
9077 * gdb.python/py-objfile-script-gdb.py: New file.
9078 * gdb.python/py-objfile-script.exp: Update reference to
9079 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
9080 of remote_download. Remove the dest file.
9082 2014-10-20 Yao Qi <yao@codesourcery.com>
9084 * gdb.base/checkpoint.exp: Don't remove file copied on host.
9085 * gdb.base/step-line.exp: Likewise.
9086 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
9087 * gdb.dwarf2/dw2-basic.exp: Likewise.
9088 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9089 * gdb.dwarf2/dw2-filename.exp: Likewise.
9090 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9091 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9092 * gdb.dwarf2/dw2-producer.exp: Likewise.
9093 * gdb.dwarf2/mac-fileno.exp: Likewise.
9094 * gdb.python/py-frame-args.exp: Likewise.
9095 * gdb.python/py-framefilter.exp: Likewise.
9096 * gdb.python/py-mi.exp: Likewise.
9097 * gdb.python/py-objfile-script.exp: Likewise
9098 * gdb.python/py-pp-integral.exp: Likewise.
9099 * gdb.python/py-pp-re-notag.exp: Likewise.
9100 * gdb.python/py-prettyprint.exp: Likewise.
9101 * gdb.python/py-section-script.exp: Likewise.
9102 * gdb.python/py-typeprint.exp: Likewise.
9103 * gdb.python/py-xmethods.exp: Likewise.
9104 * gdb.stabs/weird.exp: Likewise.
9105 * gdb.xml/tdesc-regs.exp: Likewise.
9107 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
9109 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
9110 (out_cu): Use addr_len for the size of addresses.
9111 (out_line): Likewise. Size DW_LNE_set_address instruction
9112 according to addr_len.
9113 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
9114 (FUNC): Add START_INSNS to definition.
9116 2014-10-18 Yao Qi <yao@codesourcery.com>
9118 * gdb.base/argv0-symlink.exp: Check argv[0] value if
9119 gdb_has_argv0 return true.
9120 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
9121 check [target_info exists noargs], check [gdb_has_argv0]
9123 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9124 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
9127 2014-10-17 Doug Evans <dje@google.com>
9129 * gdb.python/py-events.exp: Update expected output for clear_objfiles
9131 * gdb.python/py-events.py: Add clear_objfiles event.
9133 2014-10-17 Doug Evans <dje@google.com>
9135 * gdb.python/py-objfile.exp: Test progspace attribute.
9137 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
9139 * gdb.guile/scm-breakpoint.exp: Do not assume any
9140 directory separators when matching source file paths.
9141 * gdb.python/py-breakpoint.exp: Likewise.
9142 * gdb.reverse/break-precsave.exp: Likewise.
9143 * gdb.reverse/break-reverse.exp: Likewise.
9144 * gdb.reverse/consecutive-precsave.exp: Likewise.
9145 * gdb.reverse/finish-precsave.exp: Likewise.
9146 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
9147 * gdb.reverse/finish-reverse.exp: Likewise.
9148 * gdb.reverse/i386-precsave.exp: Likewise.
9149 * gdb.reverse/i387-env-reverse.exp: Likewise.
9150 * gdb.reverse/i387-stack-reverse.exp: Likewise.
9151 * gdb.reverse/machinestate-precsave.exp: Likewise.
9152 * gdb.reverse/machinestate.exp: Likewise.
9153 * gdb.reverse/sigall-precsave.exp: Likewise.
9154 * gdb.reverse/solib-precsave.exp: Likewise.
9155 * gdb.reverse/step-precsave.exp: Likewise.
9156 * gdb.reverse/until-precsave.exp: Likewise.
9157 * gdb.reverse/watch-precsave.exp: Likewise.
9158 * gdb.reverse/watch-reverse.exp: Likewise.
9160 2014-10-17 Yao Qi <yao@codesourcery.com>
9162 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
9163 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
9165 2014-10-17 Pedro Alves <palves@redhat.com>
9168 * gdb.base/bg-execution-repeat.c: New file.
9169 * gdb.base/bg-execution-repeat.exp: New file.
9171 2014-10-17 Pedro Alves <palves@redhat.com>
9174 * gdb.base/continue-all-already-running.c: New file.
9175 * gdb.base/continue-all-already-running.exp: New file.
9177 2014-10-17 Pedro Alves <palves@redhat.com>
9180 * gdb.base/annota-input-while-running.c: New file.
9181 * gdb.base/annota-input-while-running.exp: New file.
9183 2014-10-17 Pedro Alves <palves@redhat.com>
9185 * gdb.base/callfuncs.exp: emove references to osf.
9186 * gdb.base/sigall.exp: Likewise.
9187 * gdb.gdb/selftest.exp: Likewise.
9188 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9189 * gdb.mi/non-stop.c: Likewise.
9190 * gdb.mi/pthreads.c: Likewise.
9191 * gdb.reverse/sigall-precsave.exp: Likewise.
9192 * gdb.reverse/sigall-reverse.exp: Likewise.
9193 * gdb.threads/pthreads.c: Likewise.
9194 * gdb.threads/pthreads.exp: Likewise.
9196 2014-10-17 Yao Qi <yao@codesourcery.com>
9198 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
9199 check 'target_info exists noargs'.
9200 (test_command_prompt_position): Likewise.
9201 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
9203 (progvar_simple_while_test): Likewise.
9204 (progvar_complex_if_while_test): Likewise.
9205 (if_while_breakpoint_command_test): Likewise.
9206 (infrun_breakpoint_command_test): Likewise.
9207 (breakpoint_command_test): Likewise.
9208 (watchpoint_command_test): Likewise.
9209 (bp_deleted_in_command_test): Likewise.
9210 (temporary_breakpoint_commands): Likewise.
9212 2014-10-16 Yao Qi <yao@codesourcery.com>
9214 * gdb.base/remotetimeout.exp: Remove noargs checking.
9216 2014-10-15 Pedro Alves <palves@redhat.com>
9219 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
9220 * gdb.base/breakpoint-in-ro-region.exp
9221 (probe_target_hardware_step): New procedure.
9222 (top level): Probe hardware stepping and hardware breakpoint
9223 support. Test stepping through a read-only region, with both
9224 "breakpoint auto-hw" on and off and both "always-inserted" on and
9227 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
9229 * gdb.dlang/demangle.exp: Update for demangling changes.
9231 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
9233 * gdb.cp/non-trivial-retval.cc: Add new test cases.
9234 * gdb.cp/non-trivial-retval.exp: Add new tests.
9236 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
9240 * gdb.cp/non-trivial-retval.cc: New file.
9241 * gdb.cp/non-trivial-retval.exp: New file.
9243 2014-10-15 Yao Qi <yao@codesourcery.com>
9245 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
9248 2014-10-15 Yao Qi <yao@codesourcery.com>
9250 * gdb.python/py-symbol.exp: Match file base name if host is
9251 remote, otherwise match file name with dir name.
9252 * gdb.python/py-symtab.exp: Likewise.
9253 * gdb.python/python.exp: Likewise.
9255 2014-10-15 Yao Qi <yao@codesourcery.com>
9257 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
9259 * gdb.python/py-symtab.exp: Likewise.
9260 * gdb.python/python.exp: Remove trailing ".*". Fix typo
9263 2014-10-14 Joel Brobecker <brobecker@adacore.com>
9265 * gdb.ada/addr_arith: New testcase.
9267 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
9269 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
9270 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
9271 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
9272 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
9274 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
9276 * gdb.arch/stap-eval-lang-ada.S: Likewise.
9277 * gdb.arch/stap-eval-lang-ada.c: Likewise.
9278 * gdb.arch/stap-eval-lang-ada.exp: New file.
9280 2014-10-14 Yao Qi <yao@codesourcery.com>
9282 * gdb.mi/mi-var-child.c (nothing1): New function.
9283 (nothing2): New function.
9284 (do_children_tests): Set function pointers by nothing1 and
9286 * gdb.mi/mi-var-child.exp: Step over new added statements.
9287 Update test to match the new output.
9288 * gdb.mi/var-cmd.c (nothing1): New function.
9289 (nothing2): New function.
9290 (do_children_tests): Set function pointers by nothing1 and
9292 * gdb.mi/mi-var-display.exp: Update test to match output.
9293 Step to the line specified by $line_dct_nothing.
9294 Increase the number of lines to step.
9296 2014-10-14 Yao Qi <yao@codesourcery.com>
9298 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
9300 * gdb.mi/mi2-var-child.exp: Likewise.
9302 2014-10-13 Doug Evans <dje@google.com>
9304 * gdb.python/py-objfile.exp: Change name of file name test.
9306 2014-10-13 Doug Evans <dje@google.com>
9308 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
9309 from the start of the CU.
9311 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9312 Yao Qi <yao@codesourcery.com>
9314 Fix "save breakpoints" for "catch" command.
9315 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
9316 Remove -nonewline. Match also the added "main" line.
9318 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9320 Fix "save breakpoints" for "disable $bpnum" command.
9321 * gdb.base/save-bp.c (main): Add label.
9322 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
9324 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9326 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
9328 2014-10-11 Yao Qi <yao@codesourcery.com>
9330 * gdb.server/server-kill.exp: Execute command
9331 "set remote trace-status-packet on" before "tstatus".
9333 2014-10-11 Yao Qi <yao@codesourcery.com>
9335 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
9336 (main): Call getppid.
9337 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
9338 and continue to it. Read variable "server_pid".
9340 2014-10-11 Yao Qi <yao@codesourcery.com>
9342 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
9344 2014-10-11 Yao Qi <yao@codesourcery.com>
9346 * gdb.threads/thread-find.exp: Don't execute command
9348 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
9349 * gdb.threads/linux-dp.exp: Don't check the condition
9350 $threads_created equals to zero.
9352 2014-10-10 Pedro Alves <palves@redhat.com>
9354 * gdb.base/bigcore.exp: Remove references to IRIX.
9355 * gdb.base/funcargs.exp: Likewise.
9356 * gdb.base/interrupt.exp: Likewise.
9357 * gdb.base/mips_pro.exp: Likewise.
9358 * gdb.base/nodebug.exp: Likewise.
9359 * gdb.base/setvar.exp: Likewise.
9360 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
9362 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9363 Pedro Alves <palves@redhat.com>
9366 * gdb.base/vdso-warning.c: New file.
9367 * gdb.base/vdso-warning.exp: New file.
9369 2014-10-02 Doug Evans <dje@google.com>
9371 * gdb.base/structs.c (main): Don't run forever.
9373 2014-10-02 Pedro Alves <palves@redhat.com>
9375 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
9376 (top level) <stop threads 1, stop threads 2>: Use it.
9378 2014-10-02 Pedro Alves <palves@redhat.com>
9380 * gdb.threads/break-while-running.exp (test): Add new
9381 'update_thread_list' argument. Skip "info threads" if false.
9382 (top level): Add new 'update_thread_list' axis.
9384 2014-10-02 Pedro Alves <palves@redhat.com>
9386 PR breakpoints/17431
9387 * gdb.base/execl-update-breakpoints.c: New file.
9388 * gdb.base/execl-update-breakpoints.exp: New file.
9390 2014-10-01 Pedro Alves <palves@redhat.com>
9392 * gdb.base/breakpoint-in-ro-region.c: New file.
9393 * gdb.base/breakpoint-in-ro-region.exp: New file.
9395 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
9397 * gdb.mi/mi-exit-code.exp: New file.
9398 * gdb.mi/mi-exit-code.c: New file.
9400 2014-09-30 Yao Qi <yao@codesourcery.com>
9402 * lib/prelink-support.exp (build_executable_own_libs): Error if
9403 the target isn't native.
9405 2014-09-30 Yao Qi <yao@codesourcery.com>
9407 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
9410 2014-09-22 Pedro Alves <palves@redhat.com>
9412 * gdb.threads/break-while-running.exp: New file.
9413 * gdb.threads/break-while-running.c: New file.
9415 2014-09-19 Yao Qi <yao@codesourcery.com>
9417 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
9418 Invoke test. Restart GDB with --readnow and invoke test again.
9420 2014-09-19 Yao Qi <yao@codesourcery.com>
9422 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
9423 proc set_breakpoint_on_gcd_function. Invoke
9424 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
9425 invoke set_breakpoint_on_gcd_function again.
9427 2014-09-18 Doug Evans <dje@google.com>
9429 * gdb.dwarf2/symtab-producer.exp: New file.
9431 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9433 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
9434 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
9435 * gdb.base/global-var-nested-by-dso.c: Likewise.
9436 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9438 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
9439 Pedro Alves <palves@redhat.com>
9441 * gdb.base/watch-bitfields.exp: Pass string other than test file
9442 name to prepare_for_testing.
9443 (watch): New procedure.
9444 (expect_watchpoint): Use with_test_prefix.
9445 (top level): Factor out tests to ...
9446 (test_watch_location, test_regular_watch): ... these new
9447 procedures, and use with_test_prefix and gdb_continue_to_end.
9449 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
9451 PR breakpoints/12526
9452 * gdb.base/watch-bitfields.exp: New file.
9453 * gdb.base/watch-bitfields.c: New file.
9455 2014-09-16 Pedro Alves <palves@redhat.com>
9457 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
9458 software and hardware addresses, not software address against
9461 2014-09-16 Pedro Alves <palves@redhat.com>
9463 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
9464 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
9466 2014-09-16 Pedro Alves <palves@redhat.com>
9468 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
9470 * gdb.base/a2-run.exp: Remove all code guarded by istarget
9471 "*-*-vxworks*" throughout.
9472 * gdb.base/break.exp: Likewise.
9473 * gdb.base/default.exp: Likewise.
9474 * gdb.base/scope.exp: Likewise.
9475 * gdb.base/sepdebug.exp: Likewise.
9476 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
9478 * gdb.base/run.c: Likewise.
9479 * gdb.base/sepdebug.c: Likewise.
9480 * gdb.hp/gdb.aCC/run.c: Likewise.
9481 * gdb.reverse/until-reverse.c: Likewise.
9482 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
9484 2014-09-16 Yao Qi <yao@codesourcery.com>
9486 * boards/local-remote-host-native.exp: New file.
9488 2014-09-14 Doug Evans <xdje42@gmail.com>
9490 * gdb.threads/queue-signal.c (thread_count): New variable.
9491 (thread_count_mutex, thread_count_condvar): New variables.
9492 (incr_thread_count, wait_all_threads_running): New functions.
9493 (main): Wait for all threads to be in their thread functions.
9495 2014-09-13 Doug Evans <xdje42@gmail.com>
9497 * gdb.threads/queue-signal.c: New file.
9498 * gdb.threads/queue-signal.exp: New file.
9500 2014-09-13 Doug Evans <xdje42@gmail.com>
9502 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
9503 be consistent with what default_gdb_init uses.
9504 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
9505 the plain text of the prompt. Add some logging printfs.
9506 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
9508 2014-09-12 Pedro Alves <palves@redhat.com>
9510 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
9511 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
9512 * gdb.arch/i386-size-overlap.exp: Likewise.
9513 * gdb.arch/i386-size.exp: Likewise.
9514 * gdb.arch/i386-unwind.exp: Likewise.
9515 * gdb.base/a2-run.exp: Likewise.
9516 * gdb.base/break.exp: Likewise.
9517 * gdb.base/charset.exp: Likewise.
9518 * gdb.base/chng-syms.exp: Likewise.
9519 * gdb.base/commands.exp: Likewise.
9520 * gdb.base/dbx.exp: Likewise.
9521 * gdb.base/find.exp: Likewise.
9522 * gdb.base/funcargs.exp: Likewise.
9523 * gdb.base/jit-simple.exp: Likewise.
9524 * gdb.base/reread.exp: Likewise.
9525 * gdb.base/sepdebug.exp: Likewise.
9526 * gdb.base/step-bt.exp: Likewise.
9527 * gdb.cp/mb-inline.exp: Likewise.
9528 * gdb.cp/mb-templates.exp: Likewise.
9529 * gdb.objc/basicclass.exp: Likewise.
9530 * gdb.threads/killed.exp: Likewise.
9532 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9535 * gdb.arch/powerpc-stackless.S: New file.
9536 * gdb.arch/powerpc-stackless.exp: New file.
9538 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9540 * gdb.base/attach.c: Include unistd.h.
9541 (main): Call alarm. Add label postloop.
9542 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
9543 gdb_breakpoint, gdb_continue_to_breakpoint.
9544 (test_command_line_attach_run): Kill ${testpid} in one exit path.
9546 2014-09-11 Pedro Alves <palves@redhat.com>
9549 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
9550 * gdb.base/attach.exp (test_command_line_attach_run): New
9552 (top level): Call it.
9554 2014-09-11 Pedro Alves <palves@redhat.com>
9556 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
9557 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
9558 (do_command_attach_tests): Use spawn_wait_for_attach.
9559 * gdb.base/solib-overlap.exp: Likewise.
9560 * gdb.multi/multi-attach.exp: Likewise.
9561 * gdb.python/py-prompt.exp: Likewise.
9562 * gdb.python/py-sync-interp.exp: Likewise.
9563 * gdb.server/ext-attach.exp: Likewise.
9565 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
9567 * gdb.fortran/array-element.exp: Remove unexpected "continue"
9568 command in testcase. Simplify testcase.
9570 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9572 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
9574 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9576 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
9578 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9580 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
9582 2014-09-10 Joel Brobecker <brobecker@adacore.com>
9584 * gdb.dwarf2/dynarr-ptr.c: New file.
9585 * gdb.dwarf2/dynarr-ptr.exp: New file.
9587 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9589 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
9590 of 30 rather than hardcoding 120 for a slow test case. Take the
9591 `gdb,timeout' target setting into account for this calculation.
9592 Don't extend the timeout for the test cases that don't need it.
9594 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9596 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
9597 a factor of 2 for a slow test case. Take the `gdb,timeout'
9598 target setting into account for this calculation.
9599 * gdb.reverse/until-precsave.exp: Increase the timeout by
9600 a factor of 15 and 3 respectively rather than adding 120
9601 for a pair of slow test cases. Take the `gdb,timeout'
9602 target setting into account for this calculation.
9604 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9606 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
9607 timeout, don't pass one down to gdb_expect.
9608 (gdb_expect): Rework timeout selection.
9610 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9612 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
9613 exception on timeout.
9614 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
9615 (gdbserver_start_extended): Catch any `gdbserver_start' error
9617 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
9618 * lib/mi-support.exp (mi_gdb_target_load): Catch any
9619 `gdbserver_gdb_load' error exceptions.
9621 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9623 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
9624 120 on waiting for the TCP socket to open.
9626 2014-09-09 Doug Evans <xdje42@gmail.com>
9628 * gdb.base/default.exp (show_conv_list): Add _caller_is,
9629 _caller_matches, _any_caller_is, _any_caller_matches.
9631 2014-09-09 Doug Evans <xdje42@gmail.com>
9633 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
9635 2014-09-09 Yao Qi <yao@codesourcery.com>
9637 * gdb.mi/mi-var-display.exp: Set print symbol off.
9639 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
9642 * gdb.base/commands.exp: Add tests to verify user-defined
9643 commands with empty bodies.
9644 * gdb.python/py-cmd.exp: Test that we don't show user-defined
9645 python commands in `show user command`.
9646 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
9647 scheme commands in `show user command`.
9649 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9652 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
9653 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
9654 * gdb.python/py-framefilter-invalidarg.exp: New file.
9655 * gdb.python/py-framefilter-invalidarg.py: New file.
9657 2014-09-06 Doug Evans <xdje42@gmail.com>
9660 * gdb.python/py-caller-is.c: New file.
9661 * gdb.python/py-caller-is.exp: New file.
9663 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
9666 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
9667 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
9669 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
9672 * gdb.fortran/print-formatted.exp: New file.
9673 * gdb.fortran/print-formatted.f90: Likewise.
9675 2014-09-03 Sasha Smundak <asmundak@google.com>
9677 * gdb.python/py-frame.exp: Test Frame.read_register.
9679 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
9682 * gdb.python/py-completion.exp: New file.
9683 * gdb.python/py-completion.py: Likewise.
9685 2014-08-28 Doug Evans <dje@google.com>
9687 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
9688 eax,etc. are live with values set by gdb and thus the compiler can't
9690 * gdb.arch/i386-pseudo.c (main): Ditto.
9692 2014-08-27 Doug Evans <dje@google.com>
9694 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
9696 2014-08-25 Doug Evans <dje@google.com>
9698 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
9701 2014-08-25 Doug Evans <dje@google.com>
9703 * gdb.threads/thread-execl.exp: #include <stdio.h>.
9705 2014-08-24 Yao Qi <yao@codesourcery.com>
9707 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
9709 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
9711 2014-08-22 Doug Evans <dje@google.com>
9714 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
9715 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
9716 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
9718 2014-08-22 Yao Qi <yao@codesourcery.com>
9720 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
9721 * gdb.python/py-finish-breakpoint2.exp: Likewise.
9722 * gdb.python/python.exp: Likewise. Use .py file on the host
9723 instead of the build.
9725 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9727 * gdb.threads/gcore-stale-thread.c: New file.
9728 * gdb.threads/gcore-stale-thread.exp: New file.
9730 2014-08-21 Pedro Alves <palves@redhat.com>
9732 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
9733 * gdb.base/gcore-relro-pie.exp: Likewise.
9734 * gdb.base/gcore-relro.exp: Likewise.
9735 * gdb.base/gcore.exp: Likewise.
9736 * gdb.base/print-symbol-loading.exp: Likewise.
9737 * gdb.threads/gcore-thread.exp: Likewise.
9738 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
9740 2014-08-20 Pedro Alves <palves@redhat.com>
9741 Jan Kratochvil <jan.kratochvil@redhat.com>
9743 * Makefile.in (EXTRA_RULES, CC): New variables, get from
9745 (EXPECT): Handle READ1 being set.
9746 (all): Depend on EXTRA_RULES.
9747 (check-read1, expect-read1, read1.so, read1): New rules.
9748 * README (Testsuite Parameters): Document the READ1 make variable.
9749 (Race detection): New section.
9750 * configure: Regenerate.
9751 * configure.ac: If build==host==target, and running under a
9752 GNU/glibc system, add read1 to the extra Makefile rules.
9753 (EXTRA_RULES): AC_SUBST it.
9754 * lib/read1.c: New file.
9756 2014-08-20 Joel Brobecker <brobecker@adacore.com>
9758 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
9759 the handling of variables declared as a typedef to an array
9760 which a DW_AT_data_location attribute.
9762 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
9763 Pedro Alves <palves@redhat.com>
9767 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
9770 2014-08-19 Pedro Alves <palves@redhat.com>
9772 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
9774 2014-08-19 Yao Qi <yao@codesourcery.com>
9776 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
9779 2014-08-18 David Blaikie <dblaikie@gmail.com>
9781 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
9783 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9785 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
9786 attribute in array range.
9788 2014-08-18 Joel Brobecker <brobecker@adacore.com>
9790 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
9792 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9795 * gdb.cp/pr17132.cc: New file.
9796 * gdb.cp/pr17132.exp: New file.
9798 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
9800 * gdb.python/py-xmethods.py (A_getarrayind)
9801 (E_method_char_worker.__call__, E_method_int_worker.__call__):
9802 Use 'print' with function call syntax.
9803 (E_method_matcher.match): Fix tab vs space indentation mixup.
9805 2014-08-15 Yao Qi <yao@codesourcery.com>
9807 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
9810 2014-08-15 Yao Qi <yao@codesourcery.com>
9812 * gdb.cp/casts.exp: Set print symbol off.
9813 * gdb.cp/class2.exp: Likewise.
9814 * gdb.cp/overload.exp: Likewise.
9815 * gdb.cp/templates.exp: Likewise.
9817 2014-08-11 Doug Evans <dje@google.com>
9819 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
9820 (test_load_shlib): Update.
9822 2014-08-09 Yao Qi <yao@codesourcery.com>
9824 * gdb.base/display.exp: Invoke is_address_zero_readable.
9825 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
9826 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
9827 * gdb.base/hbreak-unmapped.exp: Return if
9828 is_address_zero_readable returns true.
9829 * gdb.base/signest.exp: Likewise.
9830 * gdb.base/signull.exp: Likewise.
9831 * gdb.base/sigbpt.exp: Likewise.
9832 * gdb.guile/scm-disasm.exp: Do the test if
9833 is_address_zero_readable returns false.
9834 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
9835 * gdb.python/py-arch.exp: Likewise.
9836 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
9837 * lib/gdb.exp (is_address_zero_readable): New proc.
9839 2014-08-09 Yao Qi <yao@codesourcery.com>
9842 * gdb.mi/mi-var-display.exp: Make test messages unique.
9844 2014-08-04 Tom Tromey <tromey@redhat.com>
9846 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
9849 2014-08-04 Tom Tromey <tromey@redhat.com>
9851 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
9854 2014-08-01 Joel Brobecker <brobecker@adacore.com>
9856 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
9857 inner_vla_struct_object_size.
9858 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
9861 2014-07-30 Pedro Alves <palves@redhat.com>
9863 * gdb.threads/signal-command-handle-nopass.exp (test): Add
9866 2014-07-29 Yao Qi <yao@codesourcery.com>
9869 * gdb.base/until-nodebug.exp: New.
9871 2014-07-28 Doug Evans <xdje42@gmail.com>
9874 * gdb.guile/scm-parameter.exp: Add tests for trying to create
9875 previously existing parameter, and previously ambiguously spelled
9878 2014-07-28 Will Newton <will.newton@linaro.org>
9880 * gdb.base/varargs.exp: Remove KFAILs for ARM.
9882 2014-07-26 Ludovic Courtès <ludo@gnu.org>
9883 Doug Evans <xdje42@gmail.com>
9886 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
9888 2014-07-25 Pedro Alves <palves@redhat.com>
9890 * gdb.threads/signal-command-handle-nopass.c: New file.
9891 * gdb.threads/signal-command-handle-nopass.exp: New file.
9892 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
9893 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
9894 * gdb.threads/signal-delivered-right-thread.c: New file.
9895 * gdb.threads/signal-delivered-right-thread.exp: New file.
9897 2014-07-25 Pedro Alves <palves@redhat.com>
9899 * gdb.base/double-prompt-target-event-error.exp
9900 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
9902 (cancel_pagination_in_target_event): Rework double prompt
9904 * gdb.base/paginate-after-ctrl-c-running.exp
9905 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
9907 * gdb.base/paginate-bg-execution.exp
9908 (test_bg_execution_pagination_return)
9909 (test_bg_execution_pagination_cancel): Remove '-notransfer
9911 * gdb.base/paginate-execution-startup.exp
9912 (test_fg_execution_pagination_return)
9913 (test_fg_execution_pagination_cancel): Remove '-notransfer
9915 * gdb.base/paginate-inferior-exit.exp
9916 (test_paginate_inferior_exited): Remove '-notransfer <return>'
9918 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
9919 * lib/gdb.exp (pagination_prompt): Run text through
9921 (gdb_test_multiple): Match $pagination_prompt instead of
9923 (string_to_regexp): Move to lib/gdb-utils.exp.
9925 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9927 * gdb.arch/amd64-entry-value-paramref.S: New file.
9928 * gdb.arch/amd64-entry-value-paramref.cc: New file.
9929 * gdb.arch/amd64-entry-value-paramref.exp: New file.
9930 * gdb.arch/amd64-optimout-repeat.S: New file.
9931 * gdb.arch/amd64-optimout-repeat.c: New file.
9932 * gdb.arch/amd64-optimout-repeat.exp: New file.
9934 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
9937 * gdb.base/statistics.exp: New file.
9939 2014-07-17 Doug Evans <dje@google.com>
9942 * gdb.base/maint.exp: Update testing of per-command stats.
9944 2014-07-16 Pedro Alves <palves@redhat.com>
9946 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
9947 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
9948 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
9949 (tfile_write_buf): New functions.
9950 (add_memory_block): Rewrite using the above.
9951 (adjust_function_address): New function.
9952 (FUNCTION_ADDRESS): New macro.
9953 (write_basic_trace_file): Remove short_x local, and use
9954 tfile_write_16. Change type of func_addr local to unsigned long
9955 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
9956 here. Cast argument of add_memory_block to char pointer.
9957 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
9958 (main): Remove parameters.
9959 * gdb.trace/tfile.exp: Remove nowarnings.
9961 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
9963 * gdb.base/debug-expr.exp: Test string evaluation with
9964 "debug expression" on.
9966 2014-07-15 Pedro Alves <palves@redhat.com>
9968 * gdb.base/reread.exp: Use clean_restart.
9970 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
9972 * gdb.arch/avr-flash-qualifer.c: New.
9973 * gdb.arch/avr-flash-qualifer.exp: New.
9975 2014-07-14 Pedro Alves <palves@redhat.com>
9977 * gdb.base/paginate-after-ctrl-c-running.c: New file.
9978 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
9980 2014-07-14 Pedro Alves <palves@redhat.com>
9982 * gdb.base/double-prompt-target-event-error.c: New file.
9983 * gdb.base/double-prompt-target-event-error.exp: New file.
9985 2014-07-14 Pedro Alves <palves@redhat.com>
9988 * gdb.base/paginate-inferior-exit.c: New file.
9989 * gdb.base/paginate-inferior-exit.exp: New file.
9991 2014-07-14 Pedro Alves <palves@redhat.com>
9994 * gdb.base/paginate-bg-execution.c: New file.
9995 * gdb.base/paginate-bg-execution.exp: New file.
9997 2014-07-14 Pedro Alves <palves@redhat.com>
10000 * gdb.base/paginate-execution-startup.c: New file.
10001 * gdb.base/paginate-execution-startup.exp: New file.
10002 * lib/gdb.exp (pagination_prompt): New global.
10003 (default_gdb_spawn): New procedure, factored out from
10005 (default_gdb_start): Adjust to call default_gdb_spawn.
10006 (gdb_spawn): New procedure.
10008 2014-07-14 Pedro Alves <palves@redhat.com>
10010 * lib/gdb.exp (gdb_assert): New procedure.
10011 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
10013 2014-07-14 Pedro Alves <palves@redhat.com>
10015 * gdb.base/execution-termios.c: New file.
10016 * gdb.base/execution-termios.exp: New file.
10018 2014-07-14 Tom Tromey <tromey@redhat.com>
10020 * gdb.cp/vla-cxx.cc: New file.
10021 * gdb.cp/vla-cxx.exp: New file.
10023 2014-07-14 Tom Tromey <tromey@redhat.com>
10025 * gdb.reverse/rerun-prec.c: New file.
10026 * gdb.reverse/rerun-prec.exp: New file.
10028 2014-07-12 Maciej W. Rozycki <macro@mips.com>
10029 Maciej W. Rozycki <macro@codesourcery.com>
10031 * lib/gdb-utils.exp: New file.
10032 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
10033 inline `gdb_init_command' processing.
10034 (gdb_start_cmd): Likewise.
10035 * lib/mi-support.exp (mi_run_cmd): Likewise.
10036 * README: Document `gdb_init_command' and `gdb_init_commands'.
10038 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10040 Fix false FAIL running under a very long directory name.
10041 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
10042 and "set print elements 10000". Twice.
10044 2014-07-11 Yao Qi <yao@codesourcery.com>
10046 * gdb.base/exprs.exp: "set print symbol off".
10048 2014-07-11 Pedro Alves <palves@redhat.com>
10050 * gdb.threads/kill.c: New file.
10051 * gdb.threads/kill.exp: New file.
10053 2014-07-10 Yao Qi <yao@codesourcery.com>
10055 * gdb.trace/tfile.c (write_basic_trace_file)
10056 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
10057 address written to trace file.
10059 2014-07-09 Pedro Alves <palves@redhat.com>
10061 * gdb.base/attach-wait-input.exp: New file.
10062 * gdb.base/attach-wait-input.c: New file.
10064 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
10066 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
10067 setting up test structures.
10068 (main): Call new test function.
10069 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
10070 test function, continue into test function and walk test
10073 2014-07-02 Yao Qi <yao@codesourcery.com>
10075 * gdb.trace/entry-values.c: Define labels 'foo_start' and
10076 'bar_start' at the beginning of functions 'foo' and 'bar'
10078 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
10079 instead of 'foo' and 'bar'.
10081 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
10083 * gdb.btrace/segv.exp: New.
10084 * gdb.btrace/segv.c: New.
10086 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
10088 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
10091 2014-06-30 Mark Wielaard <mjw@redhat.com>
10093 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
10094 vulture, vilify, villar): New volatile array constants.
10095 (vindictive, vegetation): New const volatile array constants.
10096 * gdb.base/volatile.exp: Test volatile and const volatile array
10099 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
10101 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
10102 target lacks support for awatch, rwatch, or hbreak.
10104 2014-06-27 Yao Qi <yao@codesourcery.com>
10106 * gdb.multi/dummy-frame-restore.exp: New.
10107 * gdb.multi/dummy-frame-restore.c: New.
10109 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
10111 * gdb.btrace/gcore.exp: New.
10113 2014-06-23 Pedro Alves <palves@redhat.com>
10115 * gdb.base/watchpoint-reuse-slot.c: New file.
10116 * gdb.base/watchpoint-reuse-slot.exp: New file.
10118 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
10120 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
10121 progspace's filename in 'info', 'enable' and 'disable' command
10124 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10126 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
10127 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10128 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
10130 2014-06-20 Gary Benson <gbenson@redhat.com>
10132 * gdb.arch/i386-avx.exp: Fix include file location.
10133 * gdb.arch/i386-sse.exp: Likewise.
10135 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
10137 * gdb.dlang/expression.exp: New file.
10139 2014-06-19 Pedro Alves <palves@redhat.com>
10141 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
10143 (top level): ... here. Iterate running tests under different
10144 scheduler-locking settings.
10146 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
10148 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
10149 to DW_FORM_addr and use non-zero addresses.
10151 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
10154 * gdb.python/py-xmethods.cc: Add global function call counters and
10155 increment them in their respective functions. Remove "cout"
10157 * gdb.python/py-xmethods.exp: Make tests check the global function
10158 call counters instead of depending on inferior IO.
10160 2014-06-18 Don Breazeal <donb@codesourcery.com>
10162 * gdb.base/foll-fork.exp (default_fork_parent_follow):
10164 (explicit_fork_parent_follow): Deleted procedure.
10165 (explicit_fork_child_follow): Deleted procedure.
10166 (test_follow_fork): New procedure.
10167 (do_fork_tests): Replace calls to deleted procedures with
10168 calls to test_follow_fork and reset GDB for subsequent
10171 2014-06-17 Yao Qi <yao@codesourcery.com>
10173 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
10176 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
10178 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
10179 Initialize ptr and S explicitly.
10180 (skip_type_update_when_not_use_rtti_test): Likewise.
10182 2014-06-16 Keith Seitz <keiths@redhat.com>
10185 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
10186 the inferior is started.
10188 2014-06-16 Pedro Alves <palves@redhat.com>
10190 * gdb.base/break-main-file-remove-fail.c: New file.
10191 * gdb.base/break-main-file-remove-fail.exp: New file.
10192 * gdb.base/break-unload-file.exp: Use build_executable instead of
10193 prepare_for_testing.
10194 (test_break): New parameter "initial_load". Handle it.
10195 (top level): Add initial_load cmdline/file axis.
10197 2014-06-12 Tom Tromey <tromey@redhat.com>
10199 * gdb.base/completion.exp: Don't use directory name in test.
10201 2014-06-09 Gary Benson <gbenson@redhat.com>
10203 * gdb.base/sigall.c [Functions to send signals]: Reorder to
10204 separate the always-available ANSI-standard signals from the
10205 signals that require checking.
10207 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
10211 2014-06-07 Keith Seitz <keiths@redhat.com>
10215 * gdb.cp/var-tag.cc: New file.
10216 * gdb.cp/var-tag.exp: New file.
10217 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
10218 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
10219 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
10220 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
10222 2014-06-06 Doug Evans <xdje42@gmail.com>
10224 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
10226 2014-06-06 Pedro Alves <palves@redhat.com>
10228 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
10229 in target debug output instead of looking at RSP packets,
10230 disabling the test on any target that uses hardware stepping.
10233 2014-06-06 Pedro Alves <palves@redhat.com>
10235 * gdb.base/break-unload-file.exp: Fix typo.
10237 2014-06-06 Yao Qi <yao@codesourcery.com>
10239 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
10240 from "jit_function" to "^jit_function".
10242 2014-06-06 Yao Qi <yao@codesourcery.com>
10244 * gdb.base/async.c (foo): Add one statement.
10245 * gdb.base/async.exp: Get the next instruction address and
10246 match the output of "nexti" by instruction address. Match
10247 the hex address in the output of "finish".
10249 2014-06-06 Gary Benson <gbenson@redhat.com>
10251 * gdb.base/call-signals.c: Remove preprocessor conditionals
10252 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
10253 SIGSEGV and SIGTERM.
10254 * gdb.base/sigall.c: Likewise.
10255 * gdb.base/unwindonsignal.c: Likewise.
10256 * gdb.reverse/sigall-reverse.c: Likewise.
10258 2014-06-06 Yao Qi <yao@codesourcery.com>
10260 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
10261 readable, skip the test.
10263 2014-06-06 Yao Qi <yao@codesourcery.com>
10265 * gdb.threads/staticthreads.c (thread_function): Move the line
10266 setting breakpoint on forward.
10267 * gdb.threads/staticthreads.exp: Update comments.
10269 2014-06-05 Ludovic Courtès <ludo@gnu.org>
10271 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
10272 "history-append! type error".
10274 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
10276 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
10277 erroneous dprintf expected input.
10279 2014-06-04 Doug Evans <xdje42@gmail.com>
10281 * gdb.guile/scm-generics.exp: Delete.
10283 2014-06-04 Doug Evans <xdje42@gmail.com>
10285 * gdb.guile/scm-breakpoint.exp: Update.
10286 Add tests for breakpoint registration.
10288 2014-06-04 Tom Tromey <tromey@redhat.com>
10290 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
10292 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
10293 inner_vla_struct, vla_union types. Initialize objects of those
10294 types and compute their sizes.
10296 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
10297 Hui Zhu <hui@codesourcery.com>
10299 * gdb.base/fileio.exp: Add test for shell not available as well as
10301 * gdb.base/fileio.c (test_system): Check for shell twice.
10303 2014-06-04 Yao Qi <yao@codesourcery.com>
10305 * gdb.base/auto-connect-native-target.exp: Remove redundant
10306 space from the regexp pattern.
10308 2014-06-04 Yao Qi <yao@codesourcery.com>
10310 * gdb.base/default.exp: Replace "child" with "native" in
10313 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
10315 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
10316 * gdb.python/py-xmethods.exp: New tests to test xmethods.
10317 * gdb.python/py-xmethods.py: Python script supporting the
10318 new testcase and tests.
10320 2014-06-03 Joel Brobecker <brobecker@adacore.com>
10321 Pedro Alves <palves@redhat.com>
10323 PR breakpoints/17000
10324 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
10325 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
10327 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
10329 * gdb.base/subst.exp: Add tests to verify partial path matching
10332 2014-06-03 Pedro Alves <palves@redhat.com>
10334 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
10335 target that doesn't use software single-stepping.
10337 2014-06-03 Pedro Alves <palves@redhat.com>
10339 PR breakpoints/17000
10340 * gdb.base/sss-bp-on-user-bp-2.c: New file.
10341 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
10343 2014-06-02 Doug Evans <xdje42@gmail.com>
10345 * gdb.guile/scm-parameter.exp: New file.
10347 2014-06-02 Doug Evans <xdje42@gmail.com>
10349 * gdb.guile/scm-cmd.c: New file.
10350 * gdb.guile/scm-cmd.exp: New file.
10352 2014-06-02 Doug Evans <xdje42@gmail.com>
10354 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
10355 pretty-printer lookup.
10356 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
10357 (make-pp_s-printer): Call it.
10358 (make-pretty-printer-from-dict): New function.
10359 (lookup-pretty-printer-maker-from-dict): New function.
10360 (*pretty-printer*): Simplify.
10361 (make-objfile-pp_s-printer): New function.
10362 (install-objfile-pretty-printers!): New function.
10363 (make-progspace-pp_s-printer): New function.
10364 (install-progspace-pretty-printers!): New function.
10365 * gdb.guile/scm-progspace.c: New file.
10366 * gdb.guile/scm-progspace.exp: New file.
10368 2014-06-02 Pedro Alves <palves@redhat.com>
10370 * gdb.base/dprintf-bp-same-addr.c: New file.
10371 * gdb.base/dprintf-bp-same-addr.exp: New file.
10373 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10375 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
10376 * gdb.arch/powerpc-power.s: Likewise.
10378 2014-06-02 Joel Brobecker <brobecker@adacore.com>
10380 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
10382 2014-06-01 Yao Qi <yao@codesourcery.com>
10384 * gdb.base/watchpoint.exp (test_watch_location): Check null
10385 pointer can be dereferenced. If not, do the test, otherwise
10388 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
10390 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
10392 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
10394 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
10396 * gdb.arch/amd64-invalid-stack-middle.S: New file.
10397 * gdb.arch/amd64-invalid-stack-middle.c: New file.
10398 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
10399 * gdb.arch/amd64-invalid-stack-top.c: New file.
10400 * gdb.arch/amd64-invalid-stack-top.exp: New file.
10402 2014-05-30 Pedro Alves <palves@redhat.com>
10404 PR breakpoints/17000
10405 * gdb.base/sss-bp-on-user-bp.c: New file.
10406 * gdb.base/sss-bp-on-user-bp.exp: New file.
10408 2014-05-30 David Blaikie <dblaikie@gmail.com>
10410 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
10411 gnu_inline semantics via attribute.
10412 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
10413 source explicitly specifies the required semantics.
10415 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
10417 * gdb.reverse/sigall-reverse.exp: Fix a typo.
10419 2014-05-29 Pedro Alves <palves@redhat.com>
10420 Tom Tromey <tromey@redhat.com>
10422 * gdb.base/async-shell.exp: Don't enable target-async.
10423 * gdb.base/async.exp
10424 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
10426 (top level): Don't test with "target-async".
10427 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
10428 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
10429 * gdb.base/inferior-died.exp: Don't enable target-async.
10430 * gdb.base/interrupt-noterm.exp: Likewise.
10431 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
10432 * gdb.mi/mi-nonstop-exit.exp: Likewise.
10433 * gdb.mi/mi-nonstop.exp: Likewise.
10434 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
10435 * gdb.mi/mi-nsintrall.exp: Likewise.
10436 * gdb.mi/mi-nsmoribund.exp: Likewise.
10437 * gdb.mi/mi-nsthrexec.exp: Likewise.
10438 * gdb.mi/mi-watch-nonstop.exp: Likewise.
10439 * gdb.multi/watchpoint-multi.exp: Adjust comment.
10440 * gdb.python/py-evsignal.exp: Don't enable target-async.
10441 * gdb.python/py-evthreads.exp: Likewise.
10442 * gdb.python/py-prompt.exp: Likewise.
10443 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
10444 * gdb.server/solib-list.exp: Don't enable target-async.
10445 * gdb.threads/thread-specific-bp.exp: Likewise.
10446 * lib/mi-support.exp: Adjust to use mi-async.
10448 2014-05-29 Pedro Alves <palves@redhat.com>
10451 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
10452 reason, even in sync mode.
10454 2014-05-29 Pedro Alves <palves@redhat.com>
10455 Hui Zhu <hui@codesourcery.com>
10458 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
10459 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
10460 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
10461 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
10463 2014-05-28 Joel Brobecker <brobecker@adacore.com>
10465 * config/monitor.exp (gdb_target_monitor): Replace use of
10466 "set remotebaud" by "set serial baud".
10468 2014-05-26 Andy Wingo <wingo@igalia.com>
10470 * gdb.guile/scm-breakpoint.exp:
10471 * gdb.guile/scm-gsmob.exp: Update to use plain old object
10472 properties instead of gdb-object-properties.
10474 2014-05-26 Yao Qi <yao@codesourcery.com>
10476 * gdb.server/no-thread-db.exp: Specify source file name
10477 explicitly when setting a breakpoint.
10479 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10481 * gdb.btrace/vdso.c: New.
10482 * gdb.btrace/vdso.exp: New.
10484 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10486 * gdb.base/gcore.exp (capture_command_output): Move ...
10487 * lib/gdb.exp (capture_command_output): ... here.
10489 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
10491 * gdb.btrace/data.exp: Test memory access during btrace replay.
10493 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
10495 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
10497 2014-05-21 Pedro Alves <palves@redhat.com>
10500 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
10501 (top level): Test that output related to execution commands is
10502 sent to the console with CLI commands, but not with MI commands.
10503 Test that breakpoint events are always mirrored to the console.
10504 Also expect the new source line to be output after a "next" in
10505 async mode too. Make it a pass/fail test.
10506 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
10508 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
10510 2014-05-21 Pedro Alves <palves@redhat.com>
10512 * gdb.base/list.exp (build_pattern, test_list): New procedures.
10513 Use them to test variations of "list" after reaching a breakpoint.
10514 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
10515 Test "list" with listsize 10 after reaching a breakpoint.
10516 * gdb.python/python.exp (decode_line current location line
10517 number): Adjust expected line number.
10519 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
10521 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
10522 behavior for $args, pass it directly to "run".
10524 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
10526 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
10529 2014-05-21 Pedro Alves <palves@redhat.com>
10531 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
10532 auto-connect-native-target off".
10533 * gdb.base/auto-connect-native-target.c: New file.
10534 * gdb.base/auto-connect-native-target.exp: New file.
10536 2014-05-21 Pedro Alves <palves@redhat.com>
10538 * gdb.base/default.exp: Test "target native" instead of "target
10541 2014-05-21 Mark Wielaard <mjw@redhat.com>
10543 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
10545 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10547 Fix TLS access for -static -pthread.
10548 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
10549 <HAVE_TLS> (thread_function, main): Initialize it.
10550 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
10552 <$have_tls != "">: Check TLSVAR.
10554 2014-05-21 Pedro Alves <palves@redhat.com>
10556 * gdb.base/dcache-line-read-error.c: New.
10557 * gdb.base/dcache-line-read-error.exp: New.
10559 2014-05-20 Pedro Alves <palves@redhat.com>
10561 * gdb.base/compare-sections.c: New file.
10562 * gdb.base/compare-sections.exp: New file.
10564 2014-05-20 Pedro Alves <palves@redhat.com>
10566 * gdb.base/break-idempotent.c: New file.
10567 * gdb.base/break-idempotent.exp: New file.
10569 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
10571 * gdb.btrace/nohist.exp: New.
10573 2014-05-20 Yao Qi <yao@codesourcery.com>
10575 * lib/gdb.exp (gdb_init): Set timeout if test file is under
10576 gdb.reverse directory and gdb_reverse_timeout exists in board
10578 * README: Document gdb_reverse_timeout.
10580 2014-05-20 Yao Qi <yao@codesourcery.com>
10582 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
10583 'test_file_name'. Treat args as a string instead of a list.
10584 (gdb_init): Rename argument 'args' by 'test_file_name'.
10586 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10588 * gdb.arch/powerpc-power.exp: New file.
10589 * gdb.arch/powerpc-power.s: New file.
10591 2014-05-16 Doug Evans <dje@google.com>
10593 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
10594 * gdb.base/completion.exp: Check that all expected files exist
10595 before doing file completion.
10597 2014-05-16 Doug Evans <dje@google.com>
10599 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
10601 (do_syscall_tests_without_xml): Update.
10603 2014-05-16 Pedro Alves <palves@redhat.com>
10605 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
10606 instead of "unknown output after running".
10608 2014-05-16 Yao Qi <yao@codesourcery.com>
10610 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
10611 file1.txt from host at the end.
10612 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
10614 2014-05-15 Doug Evans <dje@google.com>
10616 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
10617 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
10618 loading file. Add test for TU lookup.
10620 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10622 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
10623 calling "-exec-arguments" or "set args" before running the
10626 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
10628 * lib/mi-support.exp (mi_expect_stop): Expect message for
10629 inferiors that exit with non-zero exit code.
10631 2014-05-14 Yao Qi <yao@codesourcery.com>
10633 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
10634 match absolute path on remote host.
10635 (test_file_list_exec_source_files): Remove "/" from the
10638 2014-05-14 Yao Qi <yao@codesourcery.com>
10640 * boards/local-remote-host-notty.exp (${board}_file): New
10643 2014-05-07 Kyle McMartin <kyle@redhat.com>
10645 Pushed by Joel Brobecker <brobecker@adacore.com>.
10646 * gdb.arch/aarch64-atomic-inst.c: New file.
10647 * gdb.arch/aarch64-atomic-inst.exp: New file.
10649 2014-05-07 Yao Qi <yao@codesourcery.com>
10651 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
10652 in current context" too.
10654 2014-05-05 Keith Seitz <keiths@redhat.com>
10656 * gdb.linespec/ls-dollar.exp: Add test for linespec
10657 file:convenience_variable.
10659 2014-05-05 Yao Qi <yao@codesourcery.com>
10661 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
10662 traceframes into tfile and ctf trace files. Read data from
10663 trace file and test collected data.
10664 (gdb_collect_locals_test): Likewise.
10665 (gdb_unavailable_registers_test): Likewise.
10666 (gdb_unavailable_floats): Likewise.
10667 (gdb_collect_globals_test): Likewise.
10668 (top-level): Append "ctf" to trace_file_targets if GDB
10671 2014-05-05 Yao Qi <yao@codesourcery.com>
10673 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
10675 (gdb_collect_args_test_1): ... it. New proc.
10676 (gdb_collect_locals_test): Move some code to ...
10677 (gdb_collect_locals_test_1): ... it. New proc.
10678 (gdb_unavailable_registers_test): Move some code to ...
10679 (gdb_unavailable_registers_test_1): ... it. New proc.
10680 (gdb_unavailable_floats): Move some code to ...
10681 (gdb_unavailable_floats_1): ... it. New proc.
10683 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10685 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
10686 probes to test for bitness recognition.
10687 * gdb.arch/amd64-stap-optional-prefix.exp
10688 (test_probe_value_without_reg): New procedure.
10689 Add code to test for different kinds of bitness.
10691 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
10693 PR breakpoints/16889
10694 * gdb.arch/amd64-stap-optional-prefix.S: New file.
10695 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
10697 2014-05-01 Pedro Alves <palves@redhat.com>
10699 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
10700 gdb_file_cmd if no file is specified.
10701 * boards/native-extended-gdbserver.exp (gdb_load): Use the
10702 last_loaded_file to set the remote exec-file.
10704 2014-05-01 Pedro Alves <palves@redhat.com>
10706 * boards/local-remote-host.exp: New file.
10708 2014-05-01 Pedro Alves <palves@redhat.com>
10710 * boards/local-remote-host.exp: Rename to ...
10711 * boards/local-remote-host-notty.exp: ... this.
10713 2014-04-28 Joel Brobecker <brobecker@adacore.com>
10715 * gdb.ada/dyn_arrayidx: New testcase.
10717 2014-04-26 Yao Qi <yao@codesourcery.com>
10719 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
10720 and compute the length of function main. Save it in
10722 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
10723 (top-level): Use gdb_compile to compile objects into
10724 executable and restart GDB. Remove invocation to
10725 prepare_for_testing.
10727 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
10728 Pedro Alves <palves@redhat.com>
10731 * gdb.multi/multi-attach.c: New file.
10732 * gdb.multi/multi-attach.exp: New file.
10734 2014-04-25 Pedro Alves <palves@redhat.com>
10736 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
10738 (top level): Test that "set remote conditional-breakpoints-packet
10739 off" works as intended.
10740 * gdb.base/dprintf.exp: Test that "set remote
10741 breakpoint-commands-packet off" works as intended.
10742 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
10744 (top level): Call it.
10745 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
10746 remote fast-tracepoints-packet off" works as intended.
10747 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
10748 * lib/gdb.exp (gdb_is_target_remote): ... here.
10750 2014-04-24 David Blaikie <dblaikie@gmail.com>
10752 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
10753 ensure clang would not discard them.
10754 * gdb.base/gdbvars.c: Ditto.
10755 * gdb.base/memattr.c: Ditto.
10756 * gdb.base/whatis.c: Ditto.
10757 * gdb.python/py-prettyprint.c: Ditto.
10758 * gdb.trace/actions.c: Ditto.
10759 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
10760 ensure clang would not discard it.
10762 2014-04-24 David Blaikie <dblaikie@gmail.com>
10764 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
10765 clang to emit the full definition of type required by the test
10766 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
10768 2014-04-24 David Blaikie <dblaikie@gmail.com>
10770 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
10771 coax Clang into emitting the definition of the type.
10772 * gdb.cp/pr10728-x.h (y): Ditto.
10773 * gdb.cp/pr10728-y.cc (y): Ditto.
10775 2014-04-24 David Blaikie <dblaikie@gmail.com>
10777 * gdb.base/label.exp: XFAIL label related tests under Clang.
10778 * gdb.cp/cplabel.exp: Ditto.
10779 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
10780 under Clang those using labels.
10782 2014-04-25 Yao Qi <yao@codesourcery.com>
10784 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
10786 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
10787 partial_label and double_label.
10789 2014-04-24 David Blaikie <dblaikie@gmail.com>
10791 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
10793 2014-04-24 David Blaikie <dblaikie@gmail.com>
10795 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
10796 of the function to work across GCC and Clang.
10797 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
10798 pointer types (const void ** const V void **).
10800 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
10801 Walfred Tedeschi <walfred.tedeschi@intel.com>
10803 * Makefile.in (EXECUTABLES): Added i386-avx512.
10804 * gdb.arch/i386-avx512.c: New file.
10805 * gdb.arch/i386-avx512.exp: Likewise.
10807 2014-04-23 Keith Seitz <keiths@redhat.com>
10809 * lib/mi-support.exp (mi_list_breakpoints): Delete.
10810 (mi_make_breakpoint_table): New procedure.
10811 (mi_create_breakpoint): Use mi_make_breakpoint
10812 and return the result.
10813 (mi_make_breakpoint): New procedure.
10814 (mi_build_kv_pairs): New procedure.
10816 * gdb.mi/mi-break.exp: Remove unused globals,
10817 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
10818 All callers updated.
10819 * gdb.mi/mi-dprintf.exp: Use variable to track command
10821 Update all callers of mi_create_breakpoint and use
10822 mi_make_breakpoint_table.
10823 Remove any unused global variables.
10824 * gdb.mi/mi-nonstop.exp: Likewise.
10825 * gdb.mi/mi-nsintrall.exp: Likewise.
10826 * gdb.mi/mi-nsmoribund.exp: Likewise.
10827 * gdb.mi/mi-nsthrexec.exp: Likewise.
10828 * gdb.mi/mi-reverse.exp: Likewise.
10829 * gdb.mi/mi-simplerun.exp: Likewise.
10830 * gdb.mi/mi-stepn.exp: Likewise.
10831 * gdb.mi/mi-syn-frame.exp: Likewise.
10832 * gdb.mi/mi-until.exp: Likewise.
10833 * gdb.mi/mi-var-cp.exp: Likewise.
10834 * gdb.mi/mi-var-display.exp: Likewise.
10835 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
10836 * gdb.mi/mi2-var-child.exp: Likewise.
10837 * gdb.mi/mi-vla-c99.exp: Likewise.
10838 * lib/mi-support.exp: Likewise.
10840 From Ian Lance Taylor <iant@cygnus.com>:
10841 * lib/gdb.exp (parse_args): New procedure.
10843 2014-04-23 Pedro Alves <palves@redhat.com>
10845 * gdb.base/break-unload-file.c: New file.
10846 * gdb.base/break-unload-file.exp: New file.
10847 * gdb.base/sym-file-lib.c (baz): New function.
10848 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
10850 (load): Store the segment's mapped size.
10851 (unload): New function.
10852 (unload_shlib): New function.
10853 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
10854 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
10855 set a breakpoint at baz, and call it.
10856 * gdb.base/sym-file.exp: New tests for stale breakpoint
10859 2014-04-23 Pedro Alves <palves@redhat.com>
10861 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
10862 * gdb.base/hbreak-in-shr-unsupported.c: New file.
10863 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
10864 * gdb.base/hbreak-unmapped.c: New file.
10865 * gdb.base/hbreak-unmapped.exp: New file.
10866 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
10867 * lib/gdb.exp (gdb_is_target_remote): ... here.
10869 2014-04-22 Pedro Alves <palves@redhat.com>
10871 * gdb.base/consecutive-step-over.c: New file.
10872 * gdb.base/consecutive-step-over.exp: New file.
10874 2014-04-22 Pedro Alves <palves@redhat.com>
10876 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
10877 instead of send_gdb/gdb_expect.
10879 2014-04-22 Yao Qi <yao@codesourcery.com>
10881 * lib/trace-support.exp (generate_tracefile): New procedure.
10882 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
10884 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
10885 if generate_tracefile returns 1.
10887 2014-04-18 Tom Tromey <palves@redhat.com>
10888 Pedro alves <tromey@redhat.com>
10891 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
10892 with a backtrace limit.
10893 * gdb.python/py-frame-inline.exp: Test running to an inline
10894 function with a backtrace limit, and printing the newest frame.
10895 * gdb.python/py-frame-inline.c (main): Call f.
10897 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10899 * gdb.java/jnpe.exp: Drop srcdir from untested path.
10901 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
10903 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
10904 Drop prefix from unsupported source file path.
10906 2014-04-17 Yao Qi <yao@codesourcery.com>
10908 * lib/gdb.exp (with_target_charset): New proc.
10909 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
10910 with_target_charset.
10911 (test_print_strings): Likewise.
10912 (test_repeat_bytes): Likewise.
10913 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
10916 2014-04-16 Keith Seitz <keiths@redhat.com>
10919 * gdb.dwarf2/corrupt.c: New file.
10920 * gdb.dwarf2/corrupt.exp: New file.
10922 2014-04-16 Keith Seitz <keiths@redhat.com>
10925 * gdb.cp/namelessclass.cc: New file.
10926 * gdb.cp/namelessclass.exp: New file.
10927 * gdb.cp/namelessclass.S: New file.
10929 2014-04-16 Doug Evans <dje@google.com>
10931 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
10933 (gdbserver_default_get_comm_port): New function.
10934 (gdbserver_start): Check if board file provided
10935 "gdbserver,get_comm_port" and use it if so.
10936 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
10937 (gdb,socketport): Set to "stdio".
10938 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
10939 (stdio_gdbserver_template): Delete.
10940 (${board}_get_remote_address): Update.
10941 (${board}_build_remote_cmd): Delete.
10942 (${board}_get_comm_port): New function.
10943 (${board}_spawn): Update.
10944 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
10946 (${board}_get_remote_address): Update.
10947 (${board}_get_comm_port): New function.
10949 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
10951 * gdb.base/memattr.exp: Improve regexps to handle memory regions
10952 appearing in any order.
10954 2014-04-15 Doug Evans <dje@google.com>
10956 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
10957 uninitialized value of "description".
10959 2014-04-15 Keith Seitz <keiths@redhat.com>
10961 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
10962 Remove unused globals.
10963 (test_running_the_program): Likewise.
10964 (test_controlled_execution): Likewise.
10965 (test_controlling_breakpoints): Likewise.
10966 (test_program_termination): Likewise.
10968 2014-04-15 Keith Seitz <keiths@redhat.com>
10970 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
10972 (test_rbreak_creation_and_listing): Likewise.
10973 (test_ignore_count): Likewise.
10974 (test_error): Likewise.
10976 2014-04-15 Pedro Alves <palves@redhat.com>
10978 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
10979 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
10981 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10982 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10983 to sym-file-loader.c.
10984 (struct library): Forward declare.
10985 (load_shlib, lookup_function): Change prototypes.
10986 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10987 (translate_offset): Remove declarations.
10988 (get_text_addr): New declaration.
10989 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
10990 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
10992 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
10993 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
10994 here from sym-file-loader.h.
10995 (struct library): New structure.
10996 (load_shlib, lookup_function): Change prototypes and adjust to
10997 work with a struct library.
10998 (find_shstrtab, find_strtab, find_shdr, find_symtab)
10999 (translate_offset): Make static.
11000 (get_text_addr): New function.
11001 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
11003 2014-04-15 Pedro Alves <palves@redhat.com>
11005 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
11007 2014-04-15 Pedro Alves <palves@redhat.com>
11009 * gdb.base/sym-file-loader.c: Include <limits.h>.
11010 (SELF_LINK): New define.
11011 (get_origin): New function.
11012 (load_shlib): Use it.
11013 * gdb.base/sym-file.exp: Don't early return if the target is
11014 remote. Use runto_main, and issue fail is that fails. Use
11016 (shlib_name): Delete.
11017 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
11019 2014-04-15 Pedro Alves <palves@redhat.com>
11021 * gdb.base/sym-file.exp: Remove regex characters from test
11022 message. Don't refer to breakpoint numbers in test messages.
11024 2014-04-14 Keith Seitz <keiths@redhat.com>
11027 * gdb.cp/var-tag.cc: New file.
11028 * gdb.cp/var-tag.exp: New file.
11029 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
11030 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
11031 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
11032 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
11034 2014-04-14 Tom Tromey <tromey@redhat.com>
11036 * gdb.cp/classes.exp (test_enums): Handle underlying type.
11037 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
11039 * gdb.cp/enum-class.exp: New file.
11040 * gdb.cp/enum-class.cc: New file.
11042 2014-04-14 Tom Tromey <tromey@redhat.com>
11044 * gdb.dwarf2/enum-type.exp: New file.
11046 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11048 * gdb.mi/mi-vla-c99.exp: New file.
11049 * gdb.mi/vla.c: New file.
11051 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11053 * gdb.base/vla-datatypes.c: New file.
11054 * gdb.base/vla-datatypes.exp: New file.
11056 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11058 * gdb.base/vla-ptr.c: New file.
11059 * gdb.base/vla-ptr.exp: New file.
11061 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11063 * gdb.dwarf2/count.exp: New file.
11065 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
11067 * gdb.base/vla-sideeffect.c: New file.
11068 * gdb.base/vla-sideeffect.exp: New file.
11070 2014-04-14 David Blaikie <dblaikie@gmail.com>
11072 * gdb.mi/non-stop.c: Add return value for non-void function return
11074 * gdb.threads/staticthreads.c: Ditto.
11076 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
11077 Doug Evans <xdje42@gmail.com>
11079 * gdb.guile/scm-value.c: Improve test case.
11080 * gdb.guile/scm-value.exp: Add new test.
11082 2014-04-11 David Blaikie <dblaikie@gmail.com>
11084 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
11085 override Clang's default.
11087 2014-04-11 Joel Brobecker <brobecker@adacore.com>
11089 Revert the following changes (regressions):
11091 * gdb.base/vla-sideeffect.c: New file.
11092 * gdb.base/vla-sideeffect.exp: New file.
11094 * gdb.dwarf2/count.exp: New file.
11096 * gdb.base/vla-multi.c: New file.
11097 * gdb.base/vla-multi.exp: New file.
11099 * gdb.base/vla-ptr.c: New file.
11100 * gdb.base/vla-ptr.exp: New file.
11102 * gdb.base/vla-datatypes.c: New file.
11103 * gdb.base/vla-datatypes.exp: New file.
11105 * gdb.mi/mi-vla-c99.exp: New file.
11106 * gdb.mi/vla.c: New file.
11108 2014-04-11 Keith Seitz <keiths@redhat.com>
11111 * gdb.cp/cpsizeof.exp: New file.
11112 * gdb.cp/cpsizeof.cc: New file.
11114 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11116 * gdb.mi/mi-vla-c99.exp: New file.
11117 * gdb.mi/vla.c: New file.
11119 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11121 * gdb.base/vla-datatypes.c: New file.
11122 * gdb.base/vla-datatypes.exp: New file.
11124 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11126 * gdb.base/vla-ptr.c: New file.
11127 * gdb.base/vla-ptr.exp: New file.
11129 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11131 * gdb.base/vla-multi.c: New file.
11132 * gdb.base/vla-multi.exp: New file.
11134 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11136 * gdb.dwarf2/count.exp: New file.
11138 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
11140 * gdb.base/vla-sideeffect.c: New file.
11141 * gdb.base/vla-sideeffect.exp: New file.
11143 2014-04-11 Yao Qi <yao@codesourcery.com>
11145 * gdb.base/completion.exp: Check file exists before running tests
11146 on file completion.
11148 2014-04-10 Pedro Alves <palves@redhat.com>
11150 * gdb.base/cond-eval-mode.c: New file.
11151 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
11152 prepare_for_testing to build the new file. Check result of
11154 (test_break, test_watch): New procedures.
11155 (top level): Use them.
11157 2014-04-08 Pierre Muller <muller@sourceware.org>
11159 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
11160 Ctrl-V use for mingw hosts.
11162 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
11164 * gdb.python/py-value.c: Improve test case.
11165 * gdb.python/py-value.exp: Add new test.
11167 2014-04-07 David Blaikie <dblaikie@gmail.com>
11169 * lib/compiler.c: Identify the clang compiler.
11170 * lib/compiler.cc: Ditto.
11172 2014-04-03 Yao Qi <yao@codesourcery.com>
11174 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
11176 2014-04-01 Anton Blanchard <anton@samba.org>
11178 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
11181 2014-04-01 Anton Blanchard <anton@samba.org>
11183 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
11184 prepare_for_testing.
11186 2014-04-01 Anton Blanchard <anton@samba.org>
11188 * gdb.arch/ppc64-atomic-inst.c: Remove.
11189 * gdb.arch/ppc64-atomic-inst.S: New file.
11190 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
11192 2014-03-31 Doug Evans <dje@google.com>
11194 * gdb.base/print-symbol-loading-lib.c: New file.
11195 * gdb.base/print-symbol-loading-main.c: New file.
11196 * gdb.base/print-symbol-loading.exp: New file.
11198 2014-03-31 Yao Qi <yao@codesourcery.com>
11200 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
11202 2014-03-28 Joel Brobecker <brobecker@adacore.com>
11204 * gdb.ada/mi_dyn_arr: New testcase.
11206 2014-03-27 Doug Evans <dje@google.com>
11208 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
11210 2014-03-27 Yao Qi <yao@codesourcery.com>
11212 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
11213 if target is nios2-*-*.
11215 2014-03-26 Yao Qi <yao@codesourcery.com>
11217 * lib/gdb.exp (readline_is_used): New proc.
11218 * gdb.base/completion.exp: Move tests on command complete up.
11219 Skip the rest of tests if readline is not used.
11220 * gdb.ada/complete.exp: Skp the test if readline is not
11222 * gdb.base/filesym.exp: Likewise.
11223 * gdb.base/macscp.exp: Likewise.
11224 * gdb.base/readline-ask.exp: Likewise.
11225 * gdb.base/readline.exp: Likewise.
11226 * gdb.python/py-cmd.exp: Likewise.
11227 * gdb.trace/tfile.exp: Likewise.
11229 2014-03-26 Yao Qi <yao@codesourcery.com>
11231 * gdb.base/macscp.exp: Fix code format issues.
11233 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
11235 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
11236 * gdb.asm/powerpc64le.inc: New file.
11238 2014-03-25 Pedro Alves <palves@redhat.com>
11239 Doug Evans <dje@google.com>
11241 * gdb.base/source-execution.c: New file.
11242 * gdb.base/source-execution.exp: New file.
11243 * gdb.base/source-execution.gdb: New file.
11245 2014-03-24 Doug Evans <dje@google.com>
11247 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
11250 2014-03-24 Hui Zhu <hui@codesourcery.com>
11251 Pedro Alves <palves@redhat.com>
11253 PR breakpoints/16101
11254 * gdb.base/dprintf.exp: Use unsupported rather than changing the
11255 test pass/fail messages. Detect missing support for dprintf when
11256 breakpoints are actually inserted.
11257 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
11258 breakpoints are actually inserted.
11259 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
11262 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11264 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
11266 2014-03-22 Doug Evans <xdje42@gmail.com>
11268 * gdb.python/python.exp (python not supported): Verify multi-line
11269 python command issues an error.
11270 * gdb.guile/guile.exp (guile not supported): Verify multi-line
11271 guile command issues an error.
11273 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
11275 * gdb.threads/thread-specific.exp: Handle the lack of usable
11276 $this_breakpoint and $this_thread.
11278 2014-03-21 Hui Zhu <hui@codesourcery.com>
11280 * gdb.base/attach.exp (do_command_attach_tests): New.
11282 2014-03-20 Tom Tromey <tromey@redhat.com>
11283 Pedro Alves <palves@redhat.com>
11286 * gdb.base/condbreak-call-false.c: New file.
11287 * gdb.base/condbreak-call-false.exp: New file.
11289 2014-03-20 Pedro Alves <palves@redhat.com>
11291 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
11293 (block_signals, unblock_signals): Delete.
11294 (child_function_2, main): Remove references to deleted variable
11297 2014-03-20 Pedro Alves <palves@redhat.com>
11299 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
11300 Use pthread_kill to signal thread 2.
11301 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11302 Adjust to make the test send itself a signal rather than using the
11303 host's "kill" command.
11305 2014-03-20 Pedro Alves <palves@redhat.com>
11307 * gdb.threads/multiple-step-overs.c: New file.
11308 * gdb.threads/multiple-step-overs.exp: New file.
11309 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11310 Adjust expected infrun debug output.
11312 2014-03-20 Pedro Alves <palves@redhat.com>
11314 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
11315 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
11317 2014-03-20 Pedro Alves <palves@redhat.com>
11319 PR breakpoints/7143
11320 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
11321 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
11322 of gdb_test_multiple.
11323 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
11324 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
11326 2014-03-20 Pedro Alves <palves@redhat.com>
11328 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
11329 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
11331 2014-03-19 Pedro Alves <palves@redhat.com>
11333 * gdb.base/async.exp: Remove early return.
11335 2014-03-19 Pedro Alves <palves@redhat.com>
11337 * gdb.base/async.exp (step& tests): Pass explicit test messages.
11339 2014-03-19 Pedro Alves <palves@redhat.com>
11341 * gdb.base/async.exp (test_background): Expect \r\n after
11342 "completed." in the fail pattern.
11344 2014-03-19 Pedro Alves <palves@redhat.com>
11346 * gdb.base/async.exp (test_background): New procedure.
11347 Use it for all background execution command tests.
11349 2014-03-19 Pedro Alves <palves@redhat.com>
11351 * gdb.base/async.exp: Use prepare_for_testing.
11353 2014-03-19 Pedro Alves <palves@redhat.com>
11355 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
11358 2014-03-19 Pedro Alves <palves@redhat.com>
11360 * gdb.base/async.c (main): Add "jump here" and "until here" line
11362 * gdb.base/async.exp (jump_here): New global.
11363 (jump& test): Use it.
11364 (until_here): New global.
11365 (until& test): Use it.
11367 2014-03-19 Pedro Alves <palves@redhat.com>
11369 * gdb.base/async.exp: Don't frob gdb_protocol.
11371 2014-03-18 Doug Evans <xdje42@gmail.com>
11373 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
11374 Fix spelling of exec-done-display.
11376 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
11379 * gdb.base/gdb-sigterm.c: New file.
11380 * gdb.base/gdb-sigterm.exp: New file.
11382 2014-03-18 Pedro Alves <palves@redhat.com>
11385 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
11386 * lib/mi-support.exp (mi_expect_stop): Add special handling for
11389 2014-03-17 Joel Brobecker <brobecker@adacore.com>
11391 * gdb.ada/pckd_arr_ren: New testcase.
11393 2014-03-13 Doug Evans <xdje42@gmail.com>
11396 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
11397 collect after discarding symbols.
11399 2014-03-13 Ludovic Courtès <ludo@gnu.org>
11400 Doug Evans <xdje42@gmail.com>
11402 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
11403 to history survives a gc.
11405 2014-03-13 Pedro Alves <palves@redhat.com>
11407 * gdb.base/default.exp: Don't test "target procfs".
11409 2014-03-13 Pedro Alves <palves@redhat.com>
11411 * gdb.base/default.exp: Update "target child" and "target procfs"
11412 tests to not expect "Unix".
11414 2014-03-12 Tom Tromey <tromey@redhat.com>
11416 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
11417 New procs. Add target-async tests.
11418 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
11419 Add target-async tests.
11421 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11423 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
11424 'func_start' and 'func_end' for the beginning and end of the
11425 function code, respectively.
11426 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
11427 'func_end' instead of 'func' and 'main'.
11429 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11431 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
11432 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
11433 generate the debug info assembler source.
11435 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11437 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
11438 * gdb.dwarf2/arr-subrange.exp: Likewise.
11439 * gdb.dwarf2/dwz.exp: Likewise.
11440 * gdb.dwarf2/method-ptr.exp: Likewise.
11441 * gdb.dwarf2/missing-sig-type.exp: Likewise.
11442 * gdb.dwarf2/subrange.exp: Likewise.
11443 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
11444 * gdb.dwarf2/implptrpiece.exp: Likewise.
11445 * gdb.dwarf2/nostaticblock.exp: Likewise.
11447 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11449 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
11450 directory to absolute path name arguments.
11452 2014-03-10 Joel Brobecker <brobecker@adacore.com>
11454 * gdb.ada/tagged_access: New testcase.
11456 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
11458 * gdb.btrace/data.exp: Update expected output.
11460 2014-03-06 Yao Qi <yao@codesourcery.com>
11462 * gdb.trace/pr16508.exp: New file.
11464 2014-03-05 Pedro Alves <palves@redhat.com>
11467 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
11469 (top level): Adjust to use it. Add tests that exercise breakpoint
11470 interaction with the code-cache.
11472 2014-02-26 Ludovic Courtès <ludo@gnu.org>
11474 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
11475 test for 'history-append!'.
11477 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11479 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
11480 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
11481 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
11482 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
11483 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
11484 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
11486 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11488 * testsuite/gdb.python/py-pp-re-notag.c: New file.
11489 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
11490 * testsuite/gdb.python/py-pp-re-notag.p: New file.
11492 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11494 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
11496 2014-02-26 Joel Brobecker <brobecker@adacore.com>
11498 * gdb.dwarf2/arr-stride.c: New file.
11499 * gdb.dwarf2/arr-stride.exp: New file.
11501 2014-02-26 Pedro Alves <palves@redhat.com>
11503 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
11504 that won't ever trigger. Make sure that GDB reports the correct
11505 breakpoint that caused the stop.
11507 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11510 * gdb.base/auto-load-script: New file.
11511 * gdb.base/auto-load.c: New file.
11512 * gdb.base/auto-load.exp: New file.
11515 * gdb.base/auto-load.exp: Fix out-of-srctree run.
11517 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11519 Fix dw2-icycle.exp -fsanitize=address GDB crash.
11520 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
11522 2014-02-24 Doug Evans <dje@google.com>
11524 * lib/gdb.exp (run_on_host): Log error output if program fails.
11526 2014-02-21 Pedro Alves <palves@redhat.com>
11528 * gdb.threads/step-after-sr-lock.c: Rename to ...
11529 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
11530 * gdb.threads/step-after-sr-lock.exp: Rename to ...
11531 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
11534 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
11537 * gdb.arch/amd64-stap-special-operands.exp: New file.
11538 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
11539 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
11540 * gdb.arch/amd64-stap-triplet.S: Likewise.
11541 * gdb.arch/amd64-stap-triplet.c: Likewise.
11543 2014-02-20 Joel Brobecker <brobecker@adacore.com>
11545 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
11546 in .section pseudo-op.
11548 2014-02-20 lin zuojian <manjian2006@gmail.com>
11549 Joel Brobecker <brobecker@adacore.com>
11550 Doug Evans <xdje42@gmail.com>
11553 * gdb.dwarf2/dw2-icycle.S: New file.
11554 * gdb.dwarf2/dw2-icycle.c: New file.
11555 * gdb.dwarf2/dw2-icycle.exp: New file.
11557 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
11559 * gdb.python/py-value-cc.cc: Improve test case to enable testing
11560 operations on gdb.Value objects.
11561 * gdb.python/py-value-cc.exp: Add new test to test operations on
11564 2014-02-18 Doug Evans <dje@google.com>
11566 * Makefile.in (TESTS): New variable.
11567 (expanded_tests, expanded_tests_or_none): New variables
11568 (check-single): Pass $(expanded_tests_or_none) to runtest.
11569 (check-parallel): Only run tests in $(TESTS) if non-empty.
11570 (check/no-matching-tests-found): New rule.
11571 * README: Document TESTS makefile variable.
11573 2014-02-18 Doug Evans <dje@google.com>
11575 * Makefile.in (check-parallel): rm -rf outputs temp.
11577 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11579 Fix "ERROR: no fileid for" in the testsuite.
11580 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
11582 2014-02-12 Doug Evans <dje@google.com>
11584 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
11585 (MISCELLANEOUS): New variable.
11586 (clean): rm -rf $(MISCELLANEOUS).
11587 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
11588 dwp live in the same directory as symlinks, with each symlink pointed
11589 to a differently named file in a different directory.
11591 2014-02-11 Doug Evans <dje@google.com>
11593 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
11594 of Tcl file commands.
11596 2014-02-10 Mark Kettenis <kettenis@gnu.org>
11598 * gdb.threads/step-after-sr-lock.exp: Avoid executing
11599 "kill -SIGUSR1 -1".
11601 2014-02-10 Joel Brobecker <brobecker@adacore.com>
11603 * gdb.ada/tick_length_array_enum_idx: New testcase.
11605 2014-02-10 Doug Evans <xdje42@gmail.com>
11607 * configure.ac (AC_OUTPUT): Add gdb.guile.
11608 * configure: Regenerate.
11609 * lib/gdb-guile.exp: New file.
11610 * lib/gdb.exp (get_target_charset): New function.
11611 * gdb.base/help.exp: Update expected output from "apropos apropos".
11612 * gdb.guile/Makefile.in: New file.
11613 * gdb.guile/guile.exp: New file.
11614 * gdb.guile/scm-arch.c: New file.
11615 * gdb.guile/scm-arch.exp: New file.
11616 * gdb.guile/scm-block.c: New file.
11617 * gdb.guile/scm-block.exp: New file.
11618 * gdb.guile/scm-breakpoint.c: New file.
11619 * gdb.guile/scm-breakpoint.exp: New file.
11620 * gdb.guile/scm-disasm.c: New file.
11621 * gdb.guile/scm-disasm.exp: New file.
11622 * gdb.guile/scm-equal.c: New file.
11623 * gdb.guile/scm-equal.exp: New file.
11624 * gdb.guile/scm-error.exp: New file.
11625 * gdb.guile/scm-error.scm: New file.
11626 * gdb.guile/scm-frame-args.c: New file.
11627 * gdb.guile/scm-frame-args.exp: New file.
11628 * gdb.guile/scm-frame-args.scm: New file.
11629 * gdb.guile/scm-frame-inline.c: New file.
11630 * gdb.guile/scm-frame-inline.exp: New file.
11631 * gdb.guile/scm-frame.c: New file.
11632 * gdb.guile/scm-frame.exp: New file.
11633 * gdb.guile/scm-generics.exp: New file.
11634 * gdb.guile/scm-gsmob.exp: New file.
11635 * gdb.guile/scm-iterator.c: New file.
11636 * gdb.guile/scm-iterator.exp: New file.
11637 * gdb.guile/scm-math.c: New file.
11638 * gdb.guile/scm-math.exp: New file.
11639 * gdb.guile/scm-objfile-script-gdb.in: New file.
11640 * gdb.guile/scm-objfile-script.c: New file.
11641 * gdb.guile/scm-objfile-script.exp: New file.
11642 * gdb.guile/scm-objfile.c: New file.
11643 * gdb.guile/scm-objfile.exp: New file.
11644 * gdb.guile/scm-ports.exp: New file.
11645 * gdb.guile/scm-pretty-print.c: New file.
11646 * gdb.guile/scm-pretty-print.exp: New file.
11647 * gdb.guile/scm-pretty-print.scm: New file.
11648 * gdb.guile/scm-section-script.c: New file.
11649 * gdb.guile/scm-section-script.exp: New file.
11650 * gdb.guile/scm-section-script.scm: New file.
11651 * gdb.guile/scm-symbol.c: New file.
11652 * gdb.guile/scm-symbol.exp: New file.
11653 * gdb.guile/scm-symtab-2.c: New file.
11654 * gdb.guile/scm-symtab.c: New file.
11655 * gdb.guile/scm-symtab.exp: New file.
11656 * gdb.guile/scm-type.c: New file.
11657 * gdb.guile/scm-type.exp: New file.
11658 * gdb.guile/scm-value-cc.cc: New file.
11659 * gdb.guile/scm-value-cc.exp: New file.
11660 * gdb.guile/scm-value.c: New file.
11661 * gdb.guile/scm-value.exp: New file.
11662 * gdb.guile/source2.scm: New file.
11663 * gdb.guile/types-module.cc: New file.
11664 * gdb.guile/types-module.exp: New file.
11666 2014-02-10 Yao Qi <yao@codesourcery.com>
11669 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
11670 * configure: Regenerated.
11671 * Makefile.in: New file.
11673 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
11675 * gdb.python/py-framefilter.exp: Fix typo.
11677 2014-02-08 Yao Qi <yao@codesourcery.com>
11679 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
11680 that no =breakpoint-modified is emitted when breakpoints are
11681 modified through MI commands.
11683 2014-02-07 Pedro Alves <pedro@codesourcery.com>
11684 Pedro Alves <palves@redhat.com>
11686 * gdb.threads/step-after-sr-lock.c: New file.
11687 * gdb.threads/step-after-sr-lock.exp: New file.
11689 2014-02-07 Pedro Alves <palves@redhat.com>
11691 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
11693 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11695 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
11696 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
11698 2014-02-06 Doug Evans <xdje42@gmail.com>
11700 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
11703 * gdb.gdb/python-interrupts.exp: New file.
11705 2014-02-05 Yao Qi <yao@codesourcery.com>
11707 * gdb.trace/report.exp (use_collected_data): Test the output
11708 of "info threads" and "info inferiors".
11710 2014-02-05 Yao Qi <yao@codesourcery.com>
11714 2013-05-24 Yao Qi <yao@codesourcery.com>
11716 * gdb.trace/tfile.exp: Test inferior and thread.
11718 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11720 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
11722 * gdb.base/step-bt.c: Call hello via function pointer to make
11723 sure its first instruction is executed on powerpc64le-linux.
11725 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11727 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
11729 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11731 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
11732 of the test patterns for use on little-endian systems.
11734 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
11736 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
11737 (decimal_vector): Fix for little-endian.
11739 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
11741 * gdb.arch/sparc-sysstep.exp: New file.
11742 * gdb.arch/sparc-sysstep.c: Likewise.
11744 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
11746 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11748 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
11750 2014-01-23 Tom Tromey <tromey@redhat.com>
11752 * gdb.ada/array_char_idx: New testcase.
11754 2014-01-23 Tom Tromey <tromey@redhat.com>
11757 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
11758 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
11761 2014-01-23 Tom Tromey <tromey@redhat.com>
11764 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
11765 string from an inferior frame.
11766 * gdb.python/py-framefilter-mi.exp: Update.
11768 2014-01-22 Doug Evans <dje@google.com>
11770 * gdb.server/server-mon.exp: Add tests for "set debug-format".
11772 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11774 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
11776 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11778 * gdb.trace/entry-values.exp: Remove excess space character from
11779 regex patterns. Handle s390 call instruction.
11781 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11783 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
11784 define "*_start" label. Make "name" static.
11785 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
11786 ${name} by references to ${name}_start.
11788 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11790 * gdb.base/info-macros.exp: Remove "debug" from the compile
11793 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11795 * gdb.dlang/demangle.exp: New file.
11797 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11799 * gdb.dlang/primitive-types.exp: New file.
11801 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11803 * configure.ac: Create gdb.dlang/Makefile.
11804 * configure: Regenerate.
11805 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
11806 * gdb.dlang/Makefile.in: New file.
11807 * lib/d-support.exp: New file.
11808 * lib/gdb.exp (skip_d_tests): New proc.
11810 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11812 * gdb.btrace/delta.exp: Check reverse stepi.
11813 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
11814 * gdb.btrace/finish.exp: New.
11815 * gdb.btrace/next.exp: New.
11816 * gdb.btrace/nexti.exp: New.
11817 * gdb.btrace/record_goto.c: Add comments.
11818 * gdb.btrace/step.exp: New.
11819 * gdb.btrace/stepi.exp: New.
11820 * gdb.btrace/multi-thread-step.c: New.
11821 * gdb.btrace/multi-thread-step.exp: New.
11822 * gdb.btrace/rn-dl-bind.c: New.
11823 * gdb.btrace/rn-dl-bind.exp: New.
11824 * gdb.btrace/data.c: New.
11825 * gdb.btrace/data.exp: New.
11826 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11828 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11830 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
11831 * gdb.btrace/exception.exp: Update.
11832 * gdb.btrace/instruction_history.exp: Update.
11833 * gdb.btrace/record_goto.exp: Update.
11834 * gdb.btrace/tailcall.exp: Update.
11835 * gdb.btrace/unknown_functions.exp: Update.
11836 * gdb.btrace/delta.exp: New.
11838 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11840 * gdb.btrace/record_goto.exp: Add backtrace test.
11841 * gdb.btrace/tailcall.exp: Add backtrace test.
11843 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11845 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
11846 * gdb.btrace/record_goto.c: New.
11847 * gdb.btrace/record_goto.exp: New.
11848 * gdb.btrace/x86-record_goto.S: New.
11850 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11852 * gdb.btrace/function_call_history.exp: Update tests.
11853 * gdb.btrace/instruction_history.exp: Update tests.
11855 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11857 * gdb.btrace/function_call_history.exp: Fix expected field
11858 order for "record function-call-history".
11859 Add new tests for "record function-call-history /c".
11860 * gdb.btrace/exception.cc: New.
11861 * gdb.btrace/exception.exp: New.
11862 * gdb.btrace/tailcall.exp: New.
11863 * gdb.btrace/x86-tailcall.S: New.
11864 * gdb.btrace/x86-tailcall.c: New.
11865 * gdb.btrace/unknown_functions.c: New.
11866 * gdb.btrace/unknown_functions.exp: New.
11867 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
11869 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11871 * gdb.btrace/instruction_history.exp: Update.
11872 * gdb.btrace/function_call_history.exp: Update.
11874 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11876 * gdb.btrace/function_call_history.exp: Fix expected function
11878 * gdb.btrace/instruction_history.exp: Initialize traced.
11879 Remove traced_functions.
11881 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11883 * gdb.btrace/function_call_history.exp: Update
11884 * gdb.btrace/instruction_history.exp: Update.
11886 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11888 * gdb.btrace/enable.exp: Update expected text.
11890 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
11892 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
11895 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
11897 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
11899 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11901 * lib/gdb.exp (supports_process_record): Return true for
11902 arm*-linux*. (supports_reverse): Likewise.
11904 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11908 * gdb.python/py-type.c: Enhance test case.
11909 * gdb.python/py-value-cc.cc: Likewise
11910 * gdb.python/py-type.exp: Add new tests.
11911 * gdb.python/py-value-cc.exp: Likewise
11913 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
11914 Pedro Alves <palves@redhat.com>
11916 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
11917 Make "name" extern.
11918 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
11919 references to ${name}_start by references to ${name}.
11921 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11923 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
11925 2014-01-10 Joel Brobecker <brobecker@adacore.com>
11927 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
11929 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
11930 Pedro Alves <palves@redhat.com>
11932 * gdb.mi/mi-info-os.exp: Connect to the target with
11933 mi_gdb_target_load.
11935 2014-01-08 Pedro Alves <palves@redhat.com>
11937 * gdb.threads/reconnect-signal.c: New file.
11938 * gdb.threads/reconnect-signal.exp: New file.
11940 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11942 * gdb.base/source-dir.exp: New file.
11944 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11946 * gdb.ada/mi_interface: New testcase.
11948 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11950 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
11951 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
11952 gdb.ada/pp-rec-component/pck.ads: New files.
11954 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11956 * gdb.python/py-pp-integral.c: New file.
11957 * gdb.python/py-pp-integral.py: New file.
11958 * gdb.python/py-pp-integral.exp: New file.
11960 For older changes see ChangeLog-1993-2013.
11962 ;; Local Variables:
11963 ;; mode: change-log
11966 ;; version-control: never
11969 Copyright 2014-2017 Free Software Foundation, Inc.
11970 Copying and distribution of this file, with or without modification,
11971 are permitted provided the copyright notice and this notice are preserved.