1 2018-12-28 Tom Tromey <tom@tromey.com>
3 * gdb.base/style.exp: Add test for breakpoint setting.
5 2018-12-28 Tom Tromey <tom@tromey.com>
7 * gdb.base/style.exp: Add test for variable names.
9 2018-12-28 Tom Tromey <tom@tromey.com>
11 * gdb.base/style.exp: New file.
12 * gdb.base/style.c: New file.
14 2018-12-28 Tom Tromey <tom@tromey.com>
16 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
18 * gdb.base/readline.exp (operate_and_get_next): Save and restore
19 the TERM environment variable.
21 2018-12-27 Tom Tromey <tom@tromey.com>
23 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
26 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
28 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
29 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
31 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
33 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
34 Filename a.adb changed to bp_fun_addr.adb.
35 gdb.ada/bp_fun_addr.exp: Update test accordingly.
37 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
39 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
41 * README: Mention the gdb,nopie_flag board setting.
42 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
44 * gdb.arch/amd64-entry-value.exp: Likewise.
45 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
46 * gdb.arch/i386-float.exp: Likewise.
47 * gdb.arch/i386-signal.exp: Likewise.
48 * gdb.mi/mi-reg-undefined.exp: Likewise.
50 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
53 * gdb.base/info-os.exp: Check return for unknown "info os" type.
55 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
57 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
58 Update order of results accordingly.
60 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
62 * gdb.base/annota1.exp: Update a test regexp.
64 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
66 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
68 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
70 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
71 (reuse_time): Initialize to REUSE_TIME_CAP.
72 (check_rc): New function.
73 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
74 Check pthread_create rc.
75 (spawner_thread_func): Check pthread_create and pthread_join rc.
77 2018-12-08 Pedro Alves <palves@redhat.com>
79 * gdb.base/list.exp (test_forward_search): Rename to ...
80 (test_forward_reverse_search): ... this. Also test reverse-search
81 and the forward-search alias.
83 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
85 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
86 local timeout variable before return, and remove all local timeout
90 2018-12-01 Tom de Vries <tdevries@suse.de>
92 * gdb.base/gdb-caching-proc.exp: New file.
94 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
96 * Makefile.in (TIMESTAMP): New variable.
97 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
99 (check-single-racy): Likewise.
100 (check/%.exp): Likewise.
101 (check-racy/%.exp): Likewise.
102 (workers/%.worker): Likewise.
103 (build-perf): Likewise.
104 (check-perf): Likewise.
105 * README: Describe new "TS" and "TS_FORMAT" variables.
106 * print-ts.py: New file.
108 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
111 * gdb.python/python.exp: Test command repetition after
114 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
116 * gdb.opt/inline-break.exp: Add test that info breakpoint output
117 is correctly aligned.
119 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
121 * gdb.ada/info_auto_lang.exp: New testcase.
122 * gdb.ada/info_auto_lang/global_pack.ads: New file.
123 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
124 * gdb.ada/info_auto_lang/some_c.c: New file.
126 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
128 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
129 FUNC_lang language syntax.
131 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
133 * gdb.base/info_minsym.c: New file.
134 * gdb.base/info_minsym.exp: New file.
136 2018-11-19 Tom Tromey <tom@tromey.com>
139 * gdb.rust/simple.exp: Add ptype test. Update expected output.
140 * gdb.rust/expr.exp: Update expected output. Change one test.
142 2018-11-19 Tom Tromey <tom@tromey.com>
144 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
146 2018-11-19 Pedro Alves <palves@redhat.com>
148 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
149 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
150 see the expected warning.
152 2018-11-16 Alan Hayward <alan.hayward@arm.com>
155 * gdb.cp/infcall-nodebug-lib.c: New test.
156 * gdb.cp/infcall-nodebug-main.c: New test.
157 * gdb.cp/infcall-nodebug.exp: New file.
159 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
161 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
164 2018-11-09 Tom de Vries <tdevries@suse.de>
166 * gdb.base/msym-lang.c: New test.
167 * gdb.base/msym-lang.exp: New file.
168 * gdb.base/msym-lang-main.c: New test.
170 2018-11-08 Tom Tromey <tom@tromey.com>
174 * gdb.base/warning.exp: New file.
176 2018-11-08 Jan Beulich <jbeulich@suse.com>
178 * testsuite/gdb.arch/i386-avx512.c,
179 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
181 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
183 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
186 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
188 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
189 * gdb.dwarf2/missing-type-name.exp: New file.
191 2018-11-06 Tom de Vries <tdevries@suse.de>
193 * gdb.base/many-headers.c: New test.
194 * gdb.base/many-headers.exp: New file.
196 2018-11-06 Jim Wilson <jimw@sifive.com>
198 * gdb.base/code_elim.exp: For riscv, set additional_flags
199 to include -msmall-data-limit=0.
201 2018-11-01 Joel Brobecker <brobecker@adacore.com>
203 * gdb.ada/watch_minus_l: New testcase.
205 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
207 * gdb.arch/aix-sighandle.c: New file.
208 * gdb.arch/aix-sighandle.exp: New file.
210 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
212 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
213 registers being unions.
215 2018-10-31 Tom de Vries <tdevries@suse.de>
217 * lib/valgrind.exp: New file.
218 (vgdb_start, vgdb_stop): New procs, factored out of ...
219 * gdb.base/valgrind-bt.exp: ... here, ...
220 * gdb.base/valgrind-disp-step.exp: ... here and ...
221 * gdb.base/valgrind-infcall.exp: ... here.
223 2018-10-31 Tom de Vries <tdevries@suse.de>
225 * lib/gdb.exp (get_valueof): Don't output read value in test name.
227 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
229 * gdb.dwarf2/void-type.c: New file.
230 * gdb.dwarf2/void-type.exp: New file.
232 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
234 * gdb.base/info_qt.c: New file.
235 * gdb.base/info_qt.exp: New file.
237 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
239 * gdb.arch/powerpc-htm-regs.c: New file.
240 * gdb.arch/powerpc-htm-regs.exp: New file.
242 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
244 * gdb.arch/powerpc-tar.c: New file.
245 * gdb.arch/powerpc-tar.exp: New file.
247 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
249 * gdb.arch/powerpc-ppr-dscr.c: New file.
250 * gdb.arch/powerpc-ppr-dscr.exp: New file.
252 2018-10-25 Tom de Vries <tdevries@suse.de>
254 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
256 2018-10-24 Tom de Vries <tdevries@suse.de>
258 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
261 2018-10-24 Tom de Vries <tdevries@suse.de>
263 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
265 2018-10-24 Tom de Vries <tdevries@suse.de>
267 * gdb.base/valgrind-db-attach.exp: Handle removed support for
268 --db-attach in valgrind.
270 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
272 * gdb.arch/riscv-reg-aliases.c: New file.
273 * gdb.arch/riscv-reg-aliases.exp: New file.
275 2018-10-19 Alan Hayward <alan.hayward@arm.com>
277 * gdb.python/py-cmd.exp: Check for gdb_prompt.
279 2018-10-19 Alan Hayward <alan.hayward@arm.com>
281 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
283 2018-10-19 Alan Hayward <alan.hayward@arm.com>
285 * gdb.cp/ovldbreak.exp: Fix regexps.
287 2018-10-19 Alan Hayward <alan.hayward@arm.com>
289 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
291 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
294 * gdb.base/restore.exp: New test to check if "restore" with an
295 invalid file doesn't segfault.
297 2018-10-18 Tom de Vries <tdevries@suse.de>
299 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
300 * gdb.ada/excep_handle.exp: Same.
301 * gdb.ada/mi_string_access.exp: Same.
302 * gdb.ada/mi_var_union.exp: Same.
303 * gdb.arch/arc-analyze-prologue.exp: Same.
304 * gdb.arch/arc-decode-insn.exp: Same.
305 * gdb.base/readnever.exp: Same.
306 * gdb.fortran/printing-types.exp: Same.
307 * gdb.guile/scm-lazy-string.exp: Same.
309 2018-10-16 Tom de Vries <tdevries@suse.de>
312 * gdb.base/catch-follow-exec.c: Add copyright notice.
313 * gdb.base/catch-follow-exec.exp: Rewrite to use
314 gdb_spawn_with_cmdline_opts. Require gdb-native.
316 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
318 * gdb.trace/actions-changed.exp: Check for arch support.
319 * gdb.trace/actions.exp: Likewise.
320 * gdb.trace/ax.exp: Likewise.
321 * gdb.trace/backtrace.exp: Likewise.
322 * gdb.trace/change-loc.exp: Likewise.
323 * gdb.trace/deltrace.exp: Likewise.
324 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
325 * gdb.trace/ftrace.exp: Likewise.
326 * gdb.trace/infotrace.exp: Check for arch support.
327 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
328 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
329 * gdb.trace/mi-tsv-changed.exp: Likewise.
330 * gdb.trace/packetlen.exp: Likewise.
331 * gdb.trace/passc-dyn.exp: Likewise.
332 * gdb.trace/passcount.exp: Likewise.
333 * gdb.trace/pending.exp: Likewise.
334 * gdb.trace/range-stepping.exp: Check for shlib support.
335 * gdb.trace/report.exp: Check for arch support.
336 * gdb.trace/save-trace.exp: Likewise.
337 * gdb.trace/signal.exp: Check for signal support.
338 * gdb.trace/tfind.exp: Check for arch support.
339 * gdb.trace/trace-break.exp: Check for arch and shlib support.
340 * gdb.trace/trace-common.h: Add comment.
341 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
342 * gdb.trace/trace-enable-disable.exp: Likewise.
343 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
344 * gdb.trace/tracecmd.exp: Check for arch support.
345 * gdb.trace/tspeed.exp: Check for shlib and target support.
346 * gdb.trace/tstatus.exp: Check for arch support.
347 * gdb.trace/tsv.exp: Likewise.
348 * gdb.trace/while-dyn.exp: Likewise.
349 * gdb.trace/while-stepping.exp: Likewise.
350 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
352 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
354 * gdb.trace/tspeed.exp: Remove nowarnings.
355 (prepare_for_trace_test): Declare "global ipalib".
356 * gdb.trace/tspeed.c: Include unistd.h.
357 (main): Remove superfluous printf argument.
359 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
361 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
362 directory prefix on the filename.
364 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
366 * gdb.gdb/unittest.exp: Update expected message informing that
367 selftests have been disabled.
368 * gdb.server/unittest.exp: Likewise.
370 2018-10-09 Tom de Vries <tdevries@suse.de>
372 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
375 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
378 * gdb.cp/virtbase2.cc: New file.
379 * gdb.cp/virtbase2.exp: New file.
381 2018-10-06 Tom Tromey <tom@tromey.com>
384 * gdb.python/py-inferior.exp: Add architecture test.
386 2018-10-06 Tom Tromey <tom@tromey.com>
388 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
389 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
391 2018-10-06 Tom Tromey <tom@tromey.com>
393 * gdb.python/py-breakpoint.exp (check_last_event): Check location
394 of a "throw" catchpoint.
396 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
398 * gdb.base/info-proc.exp: Update string expected from "help info
401 2018-10-04 Tom Tromey <tom@tromey.com>
403 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
404 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
405 (test_initial_complaints, test_empty_complaints): Update.
406 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
408 2018-10-04 Tom Tromey <tom@tromey.com>
411 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
412 * lib/gdb.exp (gdb_file_cmd): Update.
413 * gdb.stabs/weird.exp (print_weird_var): Update.
414 * gdb.server/solib-list.exp: Update.
415 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
416 * gdb.mi/mi-cli.exp: Update.
417 * gdb.linespec/linespec.exp: Update.
418 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
419 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
420 * gdb.cp/cp-relocate.exp: Update.
421 * gdb.base/sym-file.exp: Update.
422 * gdb.base/relocate.exp: Update.
423 * gdb.base/readnever.exp: Update.
424 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
425 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
426 * gdb.base/dbx.exp (gdb_file_cmd): Update.
427 * gdb.base/code_elim.exp: Update.
428 * gdb.base/break-unload-file.exp (test_break): Update.
429 * gdb.base/break-interp.exp (test_attach_gdb): Update.
430 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
432 * gdb.base/attach.exp (do_attach_tests): Update.
433 * gdb.base/sepdebug.exp: Update.
434 * gdb.python/py-section-script.exp: Update.
436 2018-10-04 Tom Tromey <tom@tromey.com>
439 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
440 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
443 2018-10-04 Tom Tromey <tom@tromey.com>
445 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
446 set width and height to 0.
447 (test_command_line_attach_run): Use -quiet.
449 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
451 * lib/gdb.exp (skip_ifunc_tests): New.
452 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
453 other compile failures.
454 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
456 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
458 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
459 is_amd64_regs_target.
461 2018-10-01 Alan Hayward <alan.hayward@arm.com>
463 * gdb.arch/aarch64-sighandler-regs.c: New test.
464 * gdb.arch/aarch64-sighandler-regs.exp: New file.
465 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
467 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
469 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
472 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
474 * gdb.base/frame-selection.exp: New file.
475 * gdb.base/frame-selection.c: New file.
477 2018-09-27 Alan Hayward <alan.hayward@arm.com>
479 * gdb.threads/check-libthread-db.c (thread_routine): Use a
483 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
485 * gdb.base/large-frame-1.c: New file.
486 * gdb.base/large-frame-2.c: New file.
487 * gdb.base/large-frame.exp: New file.
488 * gdb.base/large-frame.h: New file.
490 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
493 * gdb.base/write_mem.exp: New test.
494 * gdb.base/write_mem.c: Likewise.
496 2018-09-23 Tom Tromey <tom@tromey.com>
499 * gdb.python/py-parameter.exp: Add test for parameter that throws
502 2018-09-23 Tom Tromey <tom@tromey.com>
505 * gdb.python/py-template.exp (test_template_arg): Add test for
506 negative template argument number.
508 2018-09-23 Tom Tromey <tom@tromey.com>
511 * gdb.python/python.exp: Add test for post_event error.
513 2018-09-23 Tom Tromey <tom@tromey.com>
516 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
517 convert pointers to int and long.
519 2018-09-23 Tom Tromey <tom@tromey.com>
522 * gdb.python/py-value.exp (test_value_numeric_ops): Add
523 signed-ness conversion tests.
525 2018-09-23 Tom Tromey <tom@tromey.com>
528 * gdb.python/py-value.exp (test_float_conversion): New proc.
531 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
533 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
535 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
537 * gdb.base/complete-empty.exp: Skip tab-completion tests if
539 * gdb.base/utf8-identifiers.exp: Likewise.
540 * gdb.cp/cpcompletion.exp: Likewise.
541 * gdb.linespec/cpcompletion.exp: Likewise.
542 * gdb.linespec/cpls-abi-tag.exp: Likewise.
543 * gdb.linespec/cpls-ops.exp: Likewise.
545 2018-09-19 Richard Bunt <richard.bunt@arm.com>
546 Chris January <chris.january@arm.com>
548 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
549 * gdb.fortran/short-circuit-argument-list.exp: New file.
550 * gdb.fortran/short-circuit-argument-list.f90: New test.
552 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
554 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
555 "arch=" keyword when executing "-stack-list-frames".
557 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
559 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
560 "arch=" keyword when executing "-stack-list-frames".
562 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
564 * gdb.ada/complete.exp: Expect for "@" when doing "complete
567 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
570 * gdb.python/python.exp: Test gdb.execute("show commands").
572 2018-09-16 Tom Tromey <tom@tromey.com>
574 * gdb.base/new-ui.exp (do_execution_tests): Update.
575 * gdb.base/dbx.exp (test_breakpoints): Update.
577 2018-09-14 Alan Hayward <alan.hayward@arm.com>
579 * lib/gdb.exp (gdb_simple_compile): Add proc.
580 (is_elf_target): Use gdb_simple_compile.
581 (skip_altivec_tests): Likewise.
582 (skip_vsx_tests): Likewise.
583 (skip_tsx_tests): Likewise.
584 (skip_btrace_tests): Likewise.
585 (skip_btrace_pt_tests): Likewise.
586 (gdb_can_simple_compile): Likewise.
587 (gdb_has_argv0): Likewise.
588 (gdb_target_symbol_prefix): Likewise.
589 (target_supports_scheduler_locking): Likewise.
591 2018-09-13 Tom Tromey <tom@tromey.com>
593 * Makefile.in (TAGS): Recognize proc_with_prefix and
596 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
598 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
601 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
603 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
604 and a few other Inferior properties when the Inferior is no
607 2018-09-13 Tom Tromey <tom@tromey.com>
610 * gdb.rust/simple.exp: Add test for enum field access error.
612 2018-09-13 Tom Tromey <tom@tromey.com>
615 * gdb.rust/simple.rs (EmptyEnum): New type.
617 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
619 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
621 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
622 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
623 * gdb.python/py-symtab.exp: Update test printing an objfile.
625 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
627 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
630 2018-09-12 Alan Hayward <alan.hayward@arm.com>
632 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
633 (support_complex_tests): Use gdb_can_simple_compile.
634 (is_ilp32_target): Likewise.
635 (is_lp64_target): Likewise.
636 (is_64_target): Likewise.
637 (is_amd64_regs_target): Likewise.
638 (is_aarch32_target): Likewise.
639 (gdb_int128_helper): Likewise.
641 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
643 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
645 2018-09-10 Jerome Guitton <guitton@adacore.com>
647 * gdb.ada/same_component_name: Add test for case of tagged record
648 with variable-length fields.
650 2018-09-10 Xavier Roirand <roirand@adacore.com>
652 * gdb.ada/access_to_unbounded_array.exp: New testcase.
653 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
654 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
655 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
657 2018-09-10 Xavier Roirand <roirand@adacore.com>
659 * gdb.ada/mi_string_access.exp: New testcase.
660 * gdb.ada/mi_string_access/bar.adb: New file.
661 * gdb.ada/mi_string_access/pck.adb: New file.
662 * gdb.ada/mi_string_access/pck.asd: New file.
664 2018-09-10 Xavier Roirand <roirand@adacore.com>
666 * gdb.ada/mi_var_union.exp: New testcase.
667 * gdb.ada/mi_var_union/bar.adb: New file.
668 * gdb.ada/mi_var_union/pck.adb: New file.
669 * gdb.ada/mi_var_union/pck.asd: New file.
671 2018-09-08 Tom Tromey <tom@tromey.com>
673 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
675 2018-09-08 Tom Tromey <tom@tromey.com>
678 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
679 (register_pretty_printers): Register new printer.
680 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
682 * gdb.python/py-prettyprint.c (int_type3): New typedef.
683 (an_int_type3): New global.
685 2018-09-08 Joel Brobecker <brobecker@adacore.com>
687 * gdb.ada/expr_with_funcall: New testcase.
689 2018-09-08 Joel Brobecker <brobecker@adacore.com>
691 * gdb.ada/packed_array_assign: New testcase.
693 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
695 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
696 names, and add test prefixes to make test names unique.
698 2018-09-05 Tom de Vries <tdevries@suse.de>
700 * gdb.dwarf2/varval.exp: Add test.
702 2018-09-04 Gary Benson <gbenson@redhat.com>
704 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
705 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
707 2018-08-31 Tom Tromey <tom@tromey.com>
709 * gdb.rust/simple.rs: Rename second variable "v".
711 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
713 * gdb.base/funcargs.c (use_a): New function.
714 (recurse): Call use_a.
716 2018-08-29 Keith Seitz <keiths@redhat.com>
718 * gdb.compile/compile-cplus-anonymous.cc: New file.
719 * gdb.compile/compile-cplus-anonymous.exp: New file.
720 * gdb.compile/compile-cplus-array-decay.cc: New file.
721 * gdb.compile/compile-cplus-array-decay.exp: New file.
722 * gdb.compile/compile-cplus-inherit.cc: New file.
723 * gdb.compile/compile-cplus-inherit.exp: New file.
724 * gdb.compile/compile-cplus-member.cc: New file.
725 * gdb.compile/compile-cplus-member.exp: New file.
726 * gdb.compile/compile-cplus-method.cc: New file.
727 * gdb.compile/compile-cplus-method.exp: New file.
728 * gdb.compile/compile-cplus-mod.c: "New" file.
729 * gdb.compile/compile-cplus-namespace.cc: New file.
730 * gdb.compile/compile-cplus-namespace.exp: New file.
731 * gdb.compile/compile-cplus-nested.cc: New file.
732 * gdb.compile/compile-cplus-nested.exp: New file.
733 * gdb.compile/compile-cplus-print.c: "New" file.
734 * gdb.compile/compile-cplus-print.exp: "New" file.
735 * gdb.compile/compile-cplus-virtual.cc: New file.
736 * gdb.compile/compile-cplus-virtual.exp: New file.
737 * gdb.compile/compile-cplus.c: "New" file.
738 * gdb.compile/compile-cplus.exp: "New" file.
739 * lib/compile-support.exp: New file.
741 2018-08-16 Gary Benson <gbenson@redhat.com>
744 * gdb.base/batch-exit-status.exp: New file.
745 * gdb.base/batch-exit-status.good-commands: Likewise.
746 * gdb.base/batch-exit-status.bad-commands: Likewise.
748 2018-08-29 Alan Hayward <alan.hayward@arm.com>
750 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
751 (struct struct02): Likewise.
752 (struct struct03): Likewise.
753 (struct struct04): Likewise.
754 (struct struct_01_01): New struct.
755 (struct struct_01_02): Likewise.
756 (struct struct_01_03): Likewise.
757 (struct struct_01_04): Likewise.
758 (struct struct_02_01): Likewise.
759 (struct struct_02_02): Likewise.
760 (struct struct_02_03): Likewise.
761 (struct struct_02_04): Likewise.
762 (struct struct_04_01): Likewise.
763 (struct struct_04_02): Likewise.
764 (struct struct_04_03): Likewise.
765 (struct struct_04_04): Likewise.
766 (struct struct_05_01): Likewise.
767 (struct struct_05_02): Likewise.
768 (struct struct_05_03): Likewise.
769 (struct struct_05_04): Likewise.
770 (cmp_struct01): Remove function.
771 (cmp_struct02): Likewise.
772 (cmp_struct03): Likewise.
773 (cmp_struct04): Likewise.
774 (cmp_struct_01_01): Add Function.
775 (cmp_struct_01_02): Likewise.
776 (cmp_struct_01_03): Likewise.
777 (cmp_struct_01_04): Likewise.
778 (cmp_struct_02_01): Likewise.
779 (cmp_struct_02_02): Likewise.
780 (cmp_struct_02_03): Likewise.
781 (cmp_struct_02_04): Likewise.
782 (cmp_struct_04_01): Likewise.
783 (cmp_struct_04_02): Likewise.
784 (cmp_struct_04_03): Likewise.
785 (cmp_struct_04_04): Likewise.
786 (cmp_struct_05_01): Likewise.
787 (cmp_struct_05_02): Likewise.
788 (cmp_struct_05_03): Likewise.
789 (cmp_struct_05_04): Likewise.
790 (call_all): Add new structs.
791 * gdb.base/infcall-nested-structs.exp: Likewise.
793 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
795 * gdb.python/py-framefilter-mi.exp: Update regexp to
796 check for "arch" field in frame output.
798 2018-08-23 Kevin Buettner <kevinb@redhat.com>
800 * gdb.dwarf2/dw2-ranges-func.c: New file.
801 * gdb.dwarf2/dw2-ranges-func.exp: New file.
803 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
805 * gdb.base/term.exp: Compare terminal settings with values from
807 * gdb.base/term.c: Get and set terminal settings.
809 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
811 * lib/mi-support.exp (mi_expect_stop): Update regexp to
812 accommodate new "arch" field in frame output.
813 * gdb.mi/mi-return.exp: Likewise.
814 * gdb.mi/mi-stack.exp: Likewise.
815 * gdb.mi/mi-syn-frame.exp: Likewise.
816 * gdb.mi/user-selected-context-sync.exp: Likewise.
818 2018-08-19 Michael Spang <spang@google.com>
821 * gdb.base/gcore-tls-pie.c: New file.
822 * gdb.base/gcore-tls-pie.exp: New file.
824 2018-08-18 Kevin Buettner <kevinb@redhat.com>
826 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
827 * gdb.dwarf2/varval.c: New file.
828 * gdb.dwarf2/varval.exp: New file.
830 2018-08-17 Alan Hayward <alan.hayward@arm.com>
833 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
835 2018-08-16 Keith Seitz <keiths@redhat.com>
837 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
838 tests expected to pass.
840 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
842 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
843 -data-disassemble -a.
844 (test_disassembly_bogus_args): Likewise.
846 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
848 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
850 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
852 * gdb.base/vla-optimized-out.exp: Add new test.
854 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
856 * gdb.base/vla-optimized-out-o3.exp: Delete.
857 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
858 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
861 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
864 * gdb.server/extended-remote-restart.c: New file.
865 * gdb.server/extended-remote-restart.exp: New file.
867 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
869 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
870 "set variable index = 42".
872 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
874 * boards/index-cache-gdb.exp: New file.
875 * gdb.dwarf2/index-cache.exp: New file.
876 * gdb.dwarf2/index-cache.c: New file.
877 * gdb.base/maint.exp: Check if we are using the index cache.
879 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
881 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
884 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
886 * dg-extract-results.sh: Move to toplevel contrib.
887 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
888 * Makefile.in (check-parallel-racy): Likewise.
890 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
892 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
893 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
894 tests if the target supports scheduler locking.
896 2018-08-04 Tom de Vries <tdevries@suse.de>
898 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
900 2018-08-02 Tom Tromey <tom@tromey.com>
903 * gdb.cp/temargs.exp: Test "info address" of a template
906 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
908 * gdb.python/py-mi-var-info-path-expression.c: New file.
909 * gdb.python/py-mi-var-info-path-expression.py: New file.
910 * gdb.python/py-mi-var-info-path-expression.exp: New file.
912 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
914 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
915 error after "cannot resolve name" string.
917 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
919 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
921 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
923 2018-07-28 Tom de Vries <tdevries@suse.de>
925 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
927 2018-07-26 Tom de Vries <tdevries@suse.de>
929 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
931 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
933 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
936 2018-07-26 Tom de Vries <tdevries@suse.de>
939 * gdb.base/catch-follow-exec.c: New test.
940 * gdb.base/catch-follow-exec.exp: New file.
942 2018-07-25 Tom de Vries <tdevries@suse.de>
944 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
947 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
949 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
950 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
952 2018-07-20 Tom de Vries <tdevries@suse.de>
954 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
956 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
958 2018-07-19 Tom de Vries <tdevries@suse.de>
960 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
963 2018-07-18 Tom de Vries <tdevries@suse.de>
965 * gdb.base/vla-optimized-out.c: New test.
966 * gdb.base/vla-optimized-out.exp: New file.
968 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
970 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
971 message "No address associated with hostname" when gdbserver
972 cannot resolve the hostname.
974 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
976 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
977 Add some test prefixes to make tests unique.
979 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
981 * gdb.base/frameapply.c: New file.
982 * gdb.base/frameapply.exp: New file.
984 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
986 * gdb.base/skip.exp: Update expected error message.
988 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
989 Jan Kratochvil <jan.kratochvil@redhat.com>
990 Paul Fertser <fercerpav@gmail.com>
991 Tsutomu Seki <sekiriki@gmail.com>
993 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
995 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
997 * boards/native-gdbserver.exp: Likewise.
998 * gdb.server/run-without-local-binary.exp: Improve regexp used
999 for detecting when a remote debugging connection succeeds.
1000 * gdb.server/server-connect.exp: New file.
1001 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
1002 Do not prefix the port number with ":".
1003 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
1004 support for detecting and using it. Add '$debughost_gdbserver'
1005 to the list of arguments used to start gdbserver. Handle case
1006 when gdbserver cannot resolve a network name.
1008 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
1011 * gdb.base/ptype-offsets.cc (struct static_member): New
1013 (main) <stmember>: New variable.
1014 * gdb.base/ptype-offsets.exp: Add test for printing a struct
1015 with a static member in it.
1017 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
1019 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
1020 watchpoints enabled and disabled.
1022 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1024 * gdb.base/examine-backward.exp: Still run tests around address
1025 0x0, even if address 0x0 is not readable. Update the pattern for
1026 matching address 0x0 in expected output.
1028 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
1030 * gdb.base/share-env-with-gdbserver.c (main): Add call to
1033 2018-07-04 Tom de Vries <tdevries@suse.de>
1035 * gdb.dwarf2/dw2-error.exp: Update expected error message.
1037 2018-07-02 Maciej W. Rozycki <macro@mips.com>
1040 * gdb.arch/mips-disassembler-options.exp: New test.
1041 * gdb.arch/mips-disassembler-options.s: New test source.
1043 2018-06-29 Pedro Alves <palves@redhat.com>
1045 * gdb.threads/names.exp: Adjust expected "info threads" output.
1047 2018-06-29 Pedro Alves <palves@redhat.com>
1049 * gdb.opt/inline-break.exp (line number, address): Add "info
1052 2018-06-29 Pedro Alves <palves@redhat.com>
1054 * gdb.opt/inline-break.c (func1): Add "break here" marker.
1055 * gdb.opt/inline-break.exp: Test setting breakpoints by line
1056 number and address and running to them.
1058 2018-06-29 Richard Bunt <richard.bunt@arm.com>
1060 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
1062 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1064 * lib/compiler.c: Remove executable permission flag.
1066 2018-06-28 Richard Bunt <richard.bunt@arm.com>
1068 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
1070 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
1072 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1074 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
1076 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1078 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
1079 address argument is omitted.
1081 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
1083 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
1085 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
1088 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
1089 * gdb.base/infoline-reloc-main-from-zero.c: New file.
1091 2018-06-26 Tom Tromey <tom@tromey.com>
1094 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
1095 * gdb.rust/simple.rs (struct SimpleLayout): New.
1097 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
1099 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
1100 "info registers" output.
1102 2018-06-21 Richard Bunt <richard.bunt@arm.com>
1104 * gdb.base/watchpoint-hw-attach.c: New test.
1105 * gdb.base/watchpoint-hw-attach.exp: New file.
1107 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
1109 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
1111 * boards/dwarf4-gdb-index.exp: Likewise.
1112 * boards/fission-dwp.exp: Likewise.
1114 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
1116 * gdb.base/float128.exp: Add comment and improved fail message
1117 to the failure case of "print large128" test.
1119 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
1121 * configure.ac: Remove AC_PREREQ.
1122 * configure: Re-generate.
1124 2018-06-19 Pedro Alves <palves@redhat.com>
1126 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
1127 (func_extern_caller): New.
1128 (main): Call func_extern_caller.
1129 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
1132 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
1135 * gdb.cp/typedef-base.cc: New file.
1136 * gdb.cp/typedef-base.exp: New file.
1138 2018-06-18 Tom de Vries <tdevries@suse.de>
1140 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
1142 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1143 Richard Bunt <Richard.Bunt@arm.com>
1145 * gdb.threads/attach-slow-waitpid.c: New file.
1146 * gdb.threads/attach-slow-waitpid.exp: New file.
1147 * gdb.threads/slow-waitpid.c: New file.
1149 2018-06-14 Pedro Alves <palves@redhat.com>
1151 * gdb.base/fork-running-state.c: Include <errno.h>.
1152 (exit_if_relative_exits): New.
1153 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
1155 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
1158 2018-06-14 Tom de Vries <tdevries@suse.de>
1161 * gdb.base/finish-pretty.c: New test.
1162 * gdb.base/finish-pretty.exp: New file.
1164 2018-06-14 Pedro Alves <palves@redhat.com>
1166 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
1167 gdb's expected startup output.
1169 2018-06-14 Pedro Alves <palves@redhat.com>
1171 * lib/selftest-support.exp (selftest_setup): Remove inlined
1174 2018-06-14 Tom de Vries <tdevries@suse.de>
1176 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
1177 matching of breakpoint printing.
1179 2018-06-13 Tom de Vries <tdevries@suse.de>
1182 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
1183 (fork_child): ... here, and ...
1184 (fork_parent): ... here.
1186 2018-06-12 Tom de Vries <tdevries@suse.de>
1188 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
1190 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
1191 Stephen Roberts <stephen.roberts@arm.com>
1193 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
1194 rewrite test to describe action performed, rather than possible
1197 2018-06-08 Gary Benson <gbenson@redhat.com>
1199 * gdb.threads/check-libthread-db.exp: New file.
1200 * gdb.threads/check-libthread-db.c: Likewise.
1202 2018-06-05 Tom Tromey <tom@tromey.com>
1204 * gdb.base/default.exp: Update expected "show version" output.
1206 2018-06-05 Tom Tromey <tom@tromey.com>
1209 * gdb.cp/static-print-quit.exp: Update.
1210 * lib/gdb.exp (pagination_prompt): Update.
1211 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
1212 * gdb.python/python.exp: Update.
1214 2018-06-04 Joel Brobecker <brobecker@adacore.com>
1216 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
1218 2018-06-01 Joel Brobecker <brobecker@adacore.com>
1220 * gdb.ada/bp_fun_addr: New testcase.
1222 2018-06-01 Tom Tromey <tom@tromey.com>
1224 * gdb.xml/tdesc-regs.exp (load_description): Update expected
1226 * gdb.dwarf2/method-ptr.exp: Set language to C++.
1227 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
1228 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
1229 * gdb.base/maint.exp (maint_pass_if): Update.
1231 2018-05-31 Maciej W. Rozycki <macro@mips.com>
1233 * gdb.base/endian.exp: New test.
1234 * gdb.base/endian.c: New test source.
1236 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
1239 * gdb.base/bt-selected-frame.c: New file.
1240 * gdb.base/bt-selected-frame.exp: New file.
1241 * lib/gdb.exp (get_current_frame_number): New function.
1243 2018-05-24 Maciej W. Rozycki <macro@mips.com>
1244 Pedro Alves <palves@redhat.com>
1246 * gdb.threads/tls-core.c: Include <stdlib.h>
1247 (thread_proc): Call `abort'.
1248 * gdb.threads/tls-core.exp: Generate a core with core_find too.
1249 (tls_core_test): New procedure, bits factored out from ...
1250 (top level): ... here. Test both native cores and gcore cores.
1252 2018-05-23 Tom Tromey <tom@tromey.com>
1254 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
1256 2018-05-23 Tom Tromey <tom@tromey.com>
1258 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
1260 (test_short_complaints): Likewise.
1261 (test_empty_complaints): Likewise.
1262 (test_initial_complaints): Update.
1264 2018-05-23 Tom Tromey <tom@tromey.com>
1266 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
1268 2018-05-23 Tom Tromey <tom@tromey.com>
1270 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
1271 (test_short_complaints): Update.
1273 2018-05-22 Pedro Alves <palves@redhat.com>
1275 * gdb.base/remote.exp: Only gdb_start after compiling the
1276 testcase. Issue "disconnect" before testing "set remote" command
1277 defaults. Issue clean_restart before running to main.
1279 2018-05-22 Pedro Alves <palves@redhat.com>
1281 * gdb.base/remote.exp: Adjust expected output of "show remote
1282 memory-write-packet-size". Add tests for "set remote
1283 memory-write-packet-size 0" and "set remote
1284 memory-write-packet-size fixed/limit".
1286 2018-05-22 Pedro Alves <palves@redhat.com>
1289 * gdb.base/utf8-identifiers.c: New file.
1290 * gdb.base/utf8-identifiers.exp: New file.
1292 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
1294 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
1296 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
1298 * gdb.arch/powerpc-vsx-gcore.exp: New file.
1300 2018-05-18 Tom Tromey <tom@tromey.com>
1302 * gdb.base/ptype-offsets.exp: Update.
1304 2018-05-17 Keith Seitz <keiths@redhat.com>
1306 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
1307 in expected breakpoint stop locations.
1308 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
1309 move to proper scope to test variable values.
1310 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
1311 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
1313 (main): Call not_inline_func3.
1314 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
1315 inline_func1, inline_func2, and inline_func3. Test that when each
1316 breakpoint is hit, GDB properly reports both the stop location
1317 and the backtrace. Repeat tests for temporary breakpoints.
1319 2018-05-15 Maciej W. Rozycki <macro@mips.com>
1321 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
1322 rather then trying to access it in determining whether the PID
1323 of `gdbserver' could have been retrieved.
1325 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
1327 * gdb.arch/amd64-init-x87-values.S: New file.
1328 * gdb.arch/amd64-init-x87-values.exp: New file.
1330 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1332 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
1334 2018-05-04 Tom Tromey <tom@tromey.com>
1337 * gdb.python/python.exp: Test multi-line execute.
1339 2018-05-04 Tom Tromey <tom@tromey.com>
1342 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
1344 2018-05-04 Tom Tromey <tom@tromey.com>
1347 * gdb.base/define.exp: Test defining a user command inside a user
1349 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
1351 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1352 Pedro Alves <palves@redhat.com>
1354 PR breakpoints/19806 and support for PR external/20207.
1355 * gdb.base/watchpoint-unaligned.c: New file.
1356 * gdb.base/watchpoint-unaligned.exp: New file.
1358 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
1360 * gdb.base/maint.exp: Make test names unique, use
1361 test_prefix_command_help to test 'help maint info', and remove
1362 repeated test of 'help maint'.
1364 2018-05-04 Tom Tromey <tom@tromey.com>
1367 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
1370 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
1372 * gdb.base/maint.exp: Process output from 'maint print registers'
1375 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
1377 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
1380 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
1382 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
1385 2018-05-02 Pedro Alves <palves@redhat.com>
1387 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
1388 to_log_command renames.
1389 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1391 2018-05-02 Tom Tromey <tom@tromey.com>
1393 * gdb.python/py-parameter.exp: Set test message.
1395 2018-05-02 Tom Tromey <tom@tromey.com>
1398 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
1399 PARAM_ZUINTEGER_UNLIMITED tests.
1401 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
1404 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
1407 2018-04-30 Tom Tromey <tom@tromey.com>
1409 * gdb.python/py-type.exp: Check align attribute.
1410 * gdb.python/py-type.c: New "aligncheck" global.
1412 2018-04-30 Tom Tromey <tom@tromey.com>
1415 * gdb.dwarf2/dw2-align.exp: New file.
1416 * gdb.cp/align.exp: New file.
1417 * gdb.base/align.exp: New file.
1418 * lib/gdb.exp (gdb_int128_helper): New proc.
1419 (has_int128_c, has_int128_cxx): New caching procs.
1421 2018-04-27 Tom Tromey <tom@tromey.com>
1424 * gdb.rust/simple.exp: Add inclusive range tests.
1426 2018-04-26 Pedro Alves <palves@redhat.com>
1428 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
1429 ifunc breakpoint locations correctly of ifunc breakpoints set
1430 while the program resolves the ifunc.
1432 2018-04-26 Pedro Alves <palves@redhat.com>
1434 * gdb.base/gnu-ifunc-final.c: New file.
1435 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
1436 * gdb.base/gnu-ifunc.exp (executable): Delete.
1437 (staticexecutable): Adjust.
1438 (lib_opts, exec_opts): Delete.
1439 (make_binsuffix, build, set-break): New procedures.
1440 (misc_tests): New, with tests factored out from the top level.
1441 (top level): Test different combinations of ifunc resolver name,
1442 resolver with and with debug info, and ifunc target with and
1443 without debug info. Wrap static tests with with_target_prefix.
1445 2018-04-26 Pedro Alves <palves@redhat.com>
1447 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
1448 return type" warnings.
1450 2018-04-25 Pedro Alves <palves@redhat.com>
1452 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
1454 * gdb.base/kill-after-signal.exp: Likewise.
1455 * gdb.threads/kill.exp: Likewise.
1457 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1458 Sergio Durigan Junior <sergiodj@redhat.com>
1459 Pedro Alves <palves@redhat.com>
1461 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
1462 regexps to expect for '[Inferior ... detached]' as well.
1463 * gdb.base/attach.exp: Likewise.
1464 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
1465 "gdb_continue_to_end".
1466 (test_catch_syscall_with_wrong_args): Likewise.
1467 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
1468 ']'. Don't set 'verbose' on.
1469 * gdb.base/foll-vfork.exp: Likewise.
1470 * gdb.base/fork-print-inferior-events.c: New file.
1471 * gdb.base/fork-print-inferior-events.exp: New file.
1472 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
1473 '[Inferior ... has been killed]' message.
1474 * gdb.base/kill-after-signal.exp: Likewise.
1475 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
1477 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
1479 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
1480 regexps to expect for '[Inferior ... detached]' as well.
1481 * gdb.threads/process-dies-while-detaching.exp: Likewise.
1483 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
1486 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1488 2018-04-19 Richard Bunt <richard.bunt@arm.com>
1490 * gdb.threads/multiple-successive-infcall.c: New test.
1491 * gdb.threads/multiple-successive-infcall.exp: New file.
1493 2018-04-17 Tom Tromey <tom@tromey.com>
1495 * gdb.rust/simple.rs (Union): New type.
1496 (main): New local "u".
1497 * gdb.rust/simple.exp (test_one_slice): Add new test case.
1499 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1501 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1502 number information in output of "whereis" command.
1503 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1505 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1507 * gdb.ada/info_types.exp: Adjust expected output to the line
1508 numbers now printed by "info var/func/type".
1509 * gdb.base/completion.exp: Likewise.
1510 * gdb.base/included.exp: Likewise.
1511 * gdb.cp/cp-relocate.exp: Likewise.
1512 * gdb.cp/cplusfuncs.exp: Likewise.
1513 * gdb.cp/namespace.exp: Likewise.
1514 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1516 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1518 * gdb.btrace/cpu.exp: New.
1520 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
1522 * gdb.base/step-indirect-call-thunk.exp: New.
1523 * gdb.base/step-indirect-call-thunk.c: New.
1524 * gdb.reverse/step-indirect-call-thunk.exp: New.
1525 * gdb.reverse/step-indirect-call-thunk.c: New.
1527 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
1529 * gdb.base/pie-fork.c: New file.
1530 * gdb.base/pie-fork.exp: New file.
1532 2018-04-11 Tom Tromey <tom@tromey.com>
1534 * gdb.rust/simple.exp: Add test for ".." struct initializer.
1536 2018-04-10 Pedro Alves <palves@redhat.com>
1538 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
1539 exits. Instead loop running forever.
1540 (fork_parent): Run forever too.
1542 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
1544 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
1545 mi_continue_to_line.
1546 * gdb.mi/mi-stack.c (callee4): Add comment.
1548 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
1550 * gdb.mi/mi-stack.exp: Fix indentation.
1552 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
1555 * gdb.arch/amd64-osabi.exp: New file.
1557 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
1560 * gdb.base/osabi.exp: New file.
1562 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
1564 * gdb.cp/static-typedef-print.exp: New file.
1565 * gdb.cp/static-typedef-print.cc: New file.
1567 2018-03-27 Joel Brobecker <brobecker@adacore.com>
1569 * gdb.ada/varsize_limit: New testcase.
1571 2018-03-27 Joel Brobecker <brobecker@adacore.com>
1573 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1575 * gdb.ada/notcplusplus: New testcase.
1577 * gdb.base/c-linkage-name.c: New file.
1578 * gdb.base/c-linkage-name.exp: New testcase.
1580 2018-03-26 Tom Tromey <tom@tromey.com>
1582 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1583 * gdb.python/py-framefilter.py (name_error): New global.
1584 (ErrorInName.function): Use name_error.
1586 2018-03-26 Tom Tromey <tom@tromey.com>
1589 * gdb.python/py-framefilter.exp: Add "bt hide" test.
1591 2018-03-23 Keith Seitz <keiths@redhat.com>
1594 * gdb.cp/subtypes.exp: New file.
1595 * gdb.cp/subtypes.h: New file.
1596 * gdb.cp/subtypes.cc: New file.
1597 * gdb.cp/subtypes-2.cc: New file.
1599 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1601 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1602 (done): Call '_exit' not 'exit' to avoid atexit handlers.
1603 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1604 -nostartfiles when compiling the test. Confirm that all registers
1605 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1607 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
1609 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1610 option, syntax was wrong anyway.
1611 * gdb.arch/arm-disp-step.exp: Likewise.
1612 * gdb.arch/sparc64-regs.exp: Likewise.
1613 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1614 option, syntax was wrong anyway, switch to use
1615 prepare_for_testing.
1616 * gdb.arch/i386-disp-step.exp: Likewise.
1618 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
1620 * gdb.ada/exec_changed.exp: Replace "target_info exists
1621 use_gdb_stub" by "use_gdb_stub".
1622 * gdb.ada/start.exp: Likewise.
1623 * gdb.base/async-shell.exp: Likewise.
1624 * gdb.base/attach-pie-misread.exp: Likewise.
1625 * gdb.base/attach-wait-input.exp: Likewise.
1626 * gdb.base/break-entry.exp: Likewise.
1627 * gdb.base/break-interp.exp: Likewise.
1628 * gdb.base/dprintf-detach.exp: Likewise.
1629 * gdb.base/nostdlib.exp: Likewise.
1630 * gdb.base/solib-nodir.exp: Likewise.
1631 * gdb.base/statistics.exp: Likewise.
1632 * gdb.base/testenv.exp: Likewise.
1633 * gdb.mi/mi-exec-run.exp: Likewise.
1634 * gdb.mi/mi-start.exp: Likewise.
1635 * gdb.multi/dummy-frame-restore.exp: Likewise.
1636 * gdb.multi/multi-arch-exec.exp: Likewise.
1637 * gdb.multi/multi-arch.exp: Likewise.
1638 * gdb.multi/tids.exp: Likewise.
1639 * gdb.multi/watchpoint-multi.exp: Likewise.
1640 * gdb.python/py-events.exp: Likewise.
1641 * gdb.threads/attach-into-signal.exp: Likewise.
1642 * gdb.threads/attach-stopped.exp: Likewise.
1643 * gdb.threads/threadapply.exp: Likewise.
1644 * lib/selftest-support.exp: Likewise.
1646 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
1648 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1650 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
1652 * gdb.perf/template-breakpoints.cc: New file.
1653 * gdb.perf/template-breakpoints.exp: New file.
1654 * gdb.perf/template-breakpoints.py: New file.
1656 2018-03-19 Tom Tromey <tom@tromey.com>
1658 * gdb.rust/simple.rs (main): Add local variables field1, field2,
1660 * gdb.rust/simple.exp: Test bare identifier form of struct
1663 2018-03-19 Tom Tromey <tom@tromey.com>
1665 * gdb.gdb/observer.exp: Remove.
1667 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1669 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1670 "qualified" option when setting breakpoints.
1671 * gdb.trace/backtrace.exp: Likewise.
1672 * gdb.trace/circ.exp: Likewise.
1673 * gdb.trace/collection.exp: Likewise.
1674 * gdb.trace/disconnected-tracing.exp: Likewise.
1675 * gdb.trace/ftrace-lock.exp: Likewise.
1676 * gdb.trace/ftrace.exp: Likewise.
1677 * gdb.trace/infotrace.exp: Likewise.
1678 * gdb.trace/packetlen.exp: Likewise.
1679 * gdb.trace/passc-dyn.exp: Likewise.
1680 * gdb.trace/qtro.exp: Likewise.
1681 * gdb.trace/read-memory.exp: Likewise.
1682 * gdb.trace/report.exp: Likewise.
1683 * gdb.trace/signal.exp: Likewise.
1684 * gdb.trace/status-stop.exp: Likewise.
1685 * gdb.trace/strace.exp: Likewise.
1686 * gdb.trace/tfind.exp: Likewise.
1687 * gdb.trace/trace-break.exp: Likewise.
1688 * gdb.trace/trace-condition.exp: Likewise.
1689 * gdb.trace/trace-mt.exp: Likewise.
1690 * gdb.trace/tstatus.exp: Likewise.
1691 * gdb.trace/tsv.exp: Likewise.
1692 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1693 * gdb.trace/unavailable.exp: Likewise.
1694 * gdb.trace/while-dyn.exp: Likewise.
1696 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
1698 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1699 that libinproctrace is copied to the target.
1701 2018-03-14 Tom Tromey <tom@tromey.com>
1704 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1706 * gdb.base/wchar.exp: Likewise.
1708 2018-03-14 Tom Tromey <tom@tromey.com>
1711 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1714 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
1717 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1718 "target" to remote_exec.
1720 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
1723 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1724 ${board}_upload): Remove.
1726 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
1728 * gdb.cp/watch-cp.cc: New test.
1729 * gdb.cp/watch-cp.exp: New file.
1731 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
1733 * gdb.base/infcall-nested-structs.exp: New file.
1734 * gdb.base/infcall-nested-structs.c: New file.
1735 * gdb.base/float.exp: Add riscv support.
1737 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
1739 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1740 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1742 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
1744 * gdb.server/abspath.exp: New file.
1745 * lib/gdb.exp (with_cwd): New procedure.
1747 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
1749 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1751 (gdb_is_target_remote_prompt): New proc.
1752 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1753 (gdb_is_target_native): Pass prompt parameter to
1756 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
1758 * gdb.base/load-command.c: New file.
1759 * gdb.base/load-command.exp: New file.
1760 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1761 (gdb_is_target_1): ...this, and generalize for other targets
1763 (gdb_is_target_remote): Use gdb_is_target_1.
1764 (gdb_is_target_native): use gdb_is_target_1.
1766 2018-02-26 Tom Tromey <tom@tromey.com>
1769 * gdb.python/py-framefilter.exp: Update test.
1771 2018-02-26 Tom Tromey <tom@tromey.com>
1773 * gdb.dwarf2/variant.c: New file.
1774 * gdb.dwarf2/variant.exp: New file.
1776 2018-02-26 Tom Tromey <tom@tromey.com>
1778 * gdb.rust/simple.exp: Accept more possible results in enum test.
1780 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
1782 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1785 2018-02-23 Maciej W. Rozycki <macro@mips.com>
1787 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
1788 name of a variable: $actual_linejj -> $actual_line.
1790 2018-02-21 John Baldwin <jhb@FreeBSD.org>
1792 * gdb.arch/amd64-i386-address.exp: Fix a typo.
1794 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
1796 * gdb.btrace/buffer-size.exp: Do not force BTS.
1798 2018-02-14 Pedro Alves <palves@redhat.com>
1800 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
1803 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
1805 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
1808 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
1810 * gdb.cp/m-static.exp: Check type of optimized out static
1813 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
1815 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
1816 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
1818 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
1819 Leszek Swirski <leszeks@google.com>
1821 * gdb.python/py-prettyprint.c
1822 (struct to_string_returns_value_inner,
1823 struct to_string_returns_value_wrapper): New.
1824 (main): Add tsrvw variable.
1825 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
1826 ToStringReturnsValueWrapper): New classes.
1827 (register_pretty_printers): Register new pretty-printers.
1828 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
1829 recursive pretty printer.
1830 * gdb.python/py-mi.exp: Likewise.
1832 2018-02-01 Leszek Swirski <leszeks@google.com>
1834 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
1835 functions with the same name as an include file are parsed
1838 2018-02-01 Yao Qi <yao.qi@linaro.org>
1840 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
1843 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
1845 * gdb.arch/powerpc-prologue-frame.s: New file.
1846 * gdb.arch/powerpc-prologue-frame.c: Likewise.
1847 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
1849 2018-01-31 Joel Brobecker <brobecker@adacore.com>
1851 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
1853 2018-01-30 Pedro Alves <palves@redhat.com>
1856 * gdb.base/interrupt-daemon.c: New.
1857 * gdb.base/interrupt-daemon.exp: New.
1858 * gdb.multi/multi-term-settings.c: New.
1859 * gdb.multi/multi-term-settings.exp: New.
1861 2018-01-30 Joel Brobecker <brobecker@adacore.com>
1863 * gdb.base/break.exp: Save the location where the breakpoint
1864 on break.c:47 was actually inserted when debugging the version
1865 compiled at -O2 and use it in the expected output of the "info
1866 break" test performed soon after.
1868 2018-01-22 Pedro Alves <palves@redhat.com>
1869 Sergio Durigan Junior <sergiodj@redhat.com>
1871 * gdb.base/whatis.exp: Add tests for 'set print object on' +
1872 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
1874 2018-01-22 Joel Brobecker <brobecker@adacore.com>
1876 * gdb.base/break-include.c, gdb.base/break-include.inc,
1877 gdb.base/break-include.exp: New files.
1878 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
1879 line number now being the actual line number where the breakpoint
1881 * gdb.mi/mi-break.exp: Likewise.
1882 * gdb.mi/mi-reverse.exp: Likewise.
1883 * gdb.mi/mi-simplerun.exp: Ditto.
1885 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1887 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
1889 * gdb.mi/mi-var-create-rtti.exp: Likewise.
1891 2018-01-21 Don Breazeal <donb@codesourcery.com>
1892 Andrew Burgess <andrew.burgess@embecosm.com>
1894 * gdb.mi/basics.c: Add new global.
1895 * gdb.mi/mi-frame-regs.exp: New file.
1896 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
1899 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
1901 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
1902 non-parameter, and on an unknown symbol.
1904 2018-01-19 Tom Tromey <tom@tromey.com>
1906 * gdb.rust/modules.rs (TWENTY_THREE): New global.
1907 * gdb.rust/modules.exp: Add ::-qualified lookup test.
1909 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1911 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
1912 setrlimit and chdir to int.
1914 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1916 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
1918 (my_tend): Likewise.
1919 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
1920 rationale of avoiding FP- and vector instructions.
1922 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
1924 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
1925 "info reg" with "\[ \t\]*".
1926 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
1928 * gdb.arch/s390-multiarch.exp: Ditto.
1929 * gdb.base/pc-fp.exp: Ditto.
1930 * gdb.reverse/i386-precsave.exp: Ditto.
1931 * gdb.reverse/i386-reverse.exp: Ditto.
1932 * gdb.reverse/i387-env-reverse.exp: Ditto.
1933 * gdb.reverse/i387-stack-reverse.exp: Ditto.
1935 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1937 * lib/gdb.exp (gdb_compile): Re-enable use of
1938 universal_compile_options for languages other than Rust.
1940 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
1942 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
1944 2018-01-17 Mike Gulick <mgulick@mathworks.com>
1947 * gdb.base/solib-vanish.exp: New.
1948 * gdb.base/solib-vanish-main.c: New.
1949 * gdb.base/solib-vanish-lib1.c: New.
1950 * gdb.base/solib-vanish-lib2.c: New.
1952 2018-01-17 Yao Qi <yao.qi@linaro.org>
1954 * gdb.compile/compile.exp: Match the address printed for
1955 frame in the output of command "bt".
1957 2018-01-15 Tom Tromey <tom@tromey.com>
1959 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
1962 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
1964 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
1966 (prepare): Return 0 on error, 1 on success.
1968 2018-01-12 Pedro Alves <palves@redhat.com>
1970 * gdb.base/continue-after-aborted-step-over.c: New.
1971 * gdb.base/continue-after-aborted-step-over.exp: New.
1973 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
1975 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
1976 options when not creating an executable.
1978 2018-01-11 Pedro Alves <palves@redhat.com>
1981 * gdb.server/stop-reply-no-thread.c: New file.
1982 * gdb.server/stop-reply-no-thread.exp: New file.
1984 2018-01-10 Pedro Alves <palves@redhat.com>
1987 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
1988 functions too. Test setting breakpoints and printing C functions
1989 with no debug info too.
1990 * gdb.ada/bp_c_mixed_case/qux.c: New file.
1992 2018-01-10 Pedro Alves <palves@redhat.com>
1995 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
1998 2018-01-10 Pedro Alves <palves@redhat.com>
2001 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
2003 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
2005 * gdb.server/unittest.exp: Match the output in non-development
2008 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
2010 * gdb.gdb/unittest.exp: Match output in non-development mode.
2012 2018-01-08 Joel Brobecker <brobecker@adacore.com>
2014 * gdb.ada/access_tagged_param.exp: Relax expected output
2015 for value of "ObjL" in "continue" to pck.inspect breakpoint
2018 2018-01-08 Joel Brobecker <brobecker@adacore.com>
2020 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
2021 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
2023 2018-01-05 Pedro Alves <palves@redhat.com>
2026 * gdb.base/libsegfault.exp: New.
2028 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2031 * gdb.ada/access_tagged_param.exp: New file.
2032 * gdb.ada/access_tagged_param/foo.adb: New file.
2034 2018-01-05 Pedro Alves <palves@redhat.com>
2037 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
2038 exercise lower case too, and to exercise both full matching and
2041 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2043 * gdb.ada/rename_subscript_param: New testcase.
2045 2018-01-05 Jerome Guitton <guitton@adacore.com>
2047 * gdb.ada/arr_acc_idx_w_gap: New testcase.
2049 2018-01-05 Joel Brobecker <brobecker@adacore.com>
2051 * gdb.ada/convvar_comp: New testcase.
2053 2018-01-05 Xavier Roirand <roirand@adacore.com>
2055 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
2056 (My_Table): New global variable.
2057 * testsuite/gdb.ada/array_char_idx.exp: Add test.
2059 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2062 * gdb.ada/maint_with_ada: New testcase.
2064 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2067 * gdb.ada/bp_c_mixed_case: New testcase.
2069 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2072 * gdb.ada/complete.exp: Add "complete break ada" test.
2074 2018-01-04 Joel Brobecker <brobecker@adacore.com>
2077 * gdb.ada/info_addr_mixed_case: New testcase.
2079 2018-01-03 Xavier Roirand <roirand@adacore.com>
2081 * gdb.ada/excep_handle.exp: New testcase.
2082 * gdb.ada/excep_handle/foo.adb: New file.
2083 * gdb.ada/excep_handle/pck.ads: New file.
2085 2018-01-03 Joel Brobecker <brobecker@adacore.com>
2087 * gdb.base/step-line.c: Add extra empty line in copyright header.
2088 * gdb.base/step-line.inp: Likewise.
2090 2018-01-02 Joel Brobecker <brobecker@adacore.com>
2092 * gdb.ada/dyn_stride.exp: Add slice test.
2094 2018-01-02 Joel Brobecker <brobecker@adacore.com>
2096 * gdb.ada/dyn_stride: New testcase.
2098 2017-12-27 Stafford Horne <shorne@gmail.com>
2100 * gdb.xml/extra-regs.xml: Add example foo reggroup.
2101 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
2103 2017-12-27 Stafford Horne <shorne@gmail.com>
2105 * gdb.base/reggroups.c: New file.
2106 * gdb.base/reggroups.exp: New file.
2108 2017-12-18 Joel Brobecker <brobecker@adacore.com>
2110 * gdb.dwarf2/ada-valprint-error.c: New file.
2111 * gdb.dwarf2/ada-valprint-error.exp: New file.
2113 2017-12-18 Joel Brobecker <brobecker@adacore.com>
2115 * gdb.ada/assign_arr: New testcase.
2117 2017-12-18 Xavier Roirand <roirand@adacore.com>
2119 * gdb.ada/funcall_ptr: New testcase.
2121 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
2124 * gdb.base/ptype-offsets.cc: New file.
2125 * gdb.base/ptype-offsets.exp: New file.
2127 2017-12-15 Yao Qi <yao.qi@linaro.org>
2129 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
2132 2017-12-15 Xavier Roirand <roirand@adacore.com>
2134 * gdb.ada/same_component_name: New testcase.
2136 2017-12-14 Joel Brobecker <brobecker@adacore.com>
2138 * gdb.ada/str_binop_equal: New testcase.
2140 2017-12-14 Joel Brobecker <brobecker@adacore.com>
2142 * gdb.ada/task_switch_in_core: New testcase.
2144 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
2146 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
2147 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
2148 call test_bkpt_qualified.
2149 (test_bkpt_qualified): New proc.
2151 2017-12-13 Pedro Alves <palves@redhat.com>
2153 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2154 Tighten regexp by matching with an anchor.
2156 2017-12-13 Pedro Alves <palves@redhat.com>
2158 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
2159 ("expression with namespace"): New set of tests.
2160 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
2161 (Nested::Test_NS::qux): New.
2162 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
2163 defaults to 'start_quote_char' and 'end_quote_char' parameters.
2165 2017-12-13 Joel Brobecker <brobecker@adacore.com>
2167 * gdb.base/server-del-break.c: New file.
2168 * gdb.base/server-del-break.exp: New file.
2170 2017-12-12 Stafford Horne <shorne@gmail.com>
2172 * gdb.xml/tdesc-regs.exp: Add or1k support.
2174 2017-12-12 Stafford Horne <shorne@gmail.com>
2176 * gdb.base/bp-permanent.c: Define nop of or1k.
2178 2017-12-11 Joel Brobecker <brobecker@adacore.com>
2180 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
2181 output with components being reordered.
2183 2017-12-11 Joel Brobecker <brobecker@adacore.com>
2185 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
2186 output with components being reordered.
2188 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2189 Pedro Alves <palves@redhat.com>
2191 * gdb.base/maint.exp (check for .gdb_index): Check also for
2193 * gdb.dlang/watch-loc.c (.debug_aranges): New.
2194 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
2195 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
2196 (.gdb_index used after symbol reloading): Support also .debug_names.
2197 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
2199 2017-12-08 Yao Qi <yao.qi@linaro.org>
2201 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2202 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
2204 2017-12-08 Yao Qi <yao.qi@linaro.org>
2206 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2207 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
2209 2017-12-08 Yao Qi <yao.qi@linaro.org>
2211 * gdb.arch/aarch64-tagged-pointer.c: New file.
2212 * gdb.arch/aarch64-tagged-pointer.exp: New file.
2214 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
2216 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
2219 2017-12-07 Keith Seitz <keiths@redhat.com>
2221 PR breakpoints/22569
2222 * gdb.linespec/ls-errs.exp: Change expected result of "break
2223 -source this file has spaces.c -line 3".
2224 Check that an explicit source file followed by whitespace is
2225 identified as an invalid explicit location.
2227 2017-12-07 Keith Seitz <keiths@redhat.com>
2229 * gdb.cp/nested-types.cc: New file.
2230 * gdb.cp/nested-types.exp: New file.
2231 * lib/cp-support.exp: Load data-structures.exp library.
2232 (debug_cp_test_ptype_class): New global.
2233 (cp_ptype_class_verbose, next_line): New procedures.
2234 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
2235 Add and document new return value.
2236 Switch the list of lines to a queue.
2237 Add support for new `type' key for nested type definitions.
2238 Add debugging/troubleshooting messages.
2239 * lib/data-structures.exp: New file.
2241 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
2243 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
2244 with proc_with_prefix, don't use with_test_prefix.
2246 2017-12-07 Tom Tromey <tom@tromey.com>
2248 * gdb.base/break.exp: Add test for empty "commands".
2250 2017-12-07 Yao Qi <yao.qi@linaro.org>
2252 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
2253 malloc and catch syscall.
2255 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
2257 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
2258 tests for explicit locations.
2260 2017-12-06 Pedro Alves <palves@redhat.com>
2262 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
2263 force-disabling XML descriptions.
2265 2017-12-04 Pedro Alves <palves@redhat.com>
2268 * gdb.arch/amd64-disp-step-avx.S: New file.
2269 * gdb.arch/amd64-disp-step-avx.exp: New file.
2271 2017-12-03 Pedro Alves <palves@redhat.com>
2273 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
2275 (parent_function): Print distinct messages when waitpid fails, or
2276 the child exits with a signal, or the child exits for an unhandled
2278 * gdb.threads/process-dies-while-detaching.exp
2279 (detach_and_expect_exit): New 'inf_output_re' parameter and use
2280 it. Wait for both inferior output and GDB's prompt. Use an
2281 indirect spawn id list.
2282 (do_detach): New parameter 'child_exit'. Use it to compute
2283 expected inferior output.
2284 (test_detach, test_detach_watch, test_detach_killed_outside):
2285 Adjust to pass down the expected child exit kind.
2287 2017-12-01 Joel Brobecker <brobecker@adacore.com>
2288 Sergio Durigan Junior <sergiodj@redhat.com>
2289 Pedro Alves <palves@redhat.com>
2291 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
2293 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
2295 * gdb.base/relocate.exp: Add tests to guarantee that arguments
2296 to 'symbol-file' and 'add-symbol-file' can be
2297 position-independent.
2299 2017-12-01 Yao Qi <yao.qi@linaro.org>
2301 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
2302 the URL in copyright header.
2303 * gdb.arch/aarch64-fp.exp: Likewise.
2304 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
2305 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
2306 * gdb.base/expand-psymtabs.exp: Likewise.
2307 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
2308 * gdb.fortran/common-block.exp: Likewise.
2309 * gdb.fortran/common-block.f90: Likewise.
2310 * gdb.fortran/logical.exp: Likewise.
2311 * gdb.fortran/vla-datatypes.f90: Likewise.
2312 * gdb.fortran/vla-sub.f90: Likewise.
2314 2017-11-30 Joel Brobecker <brobecker@adacore.com>
2316 * gdb.ada/repeat_dyn: New testcase.
2318 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
2320 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
2321 Update for changed thread numbering.
2322 * gdb.cell/bt.exp: Update for changed GDB output.
2324 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
2326 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
2327 setting isremote by hand.
2328 * boards/dwarf4-gdb-index.exp: Likewise.
2329 * boards/fission.exp: Likewise.
2330 * boards/stabs.exp: Likewise.
2332 2017-11-30 Pedro Alves <palves@redhat.com>
2334 * gdb.linespec/cpls-ops.exp
2335 (check_explicit_skips_function_argument): Extract the underlying
2336 type of size_t instead of hardcoding it.
2338 2017-11-29 Pedro Alves <palves@redhat.com>
2341 * gdb.linespec/cpls-abi-tag.cc: New file.
2342 * gdb.linespec/cpls-abi-tag.exp: New file.
2344 2017-11-29 Pedro Alves <palves@redhat.com>
2346 * gdb.base/langs.exp: Use -qualified.
2347 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
2349 * gdb.cp/namespace.exp: Use -qualified.
2350 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
2351 (overload-3, template-overload, template-ret-type, const-overload)
2352 (const-overload-quoted, anon-ns, ambiguous-prefix): New
2354 (test_driver): Call them.
2355 * gdb.cp/save-bp-qualified.cc: New.
2356 * gdb.cp/save-bp-qualified.exp: New.
2357 * gdb.linespec/explicit.exp: Test -qualified.
2358 * lib/completion-support.exp (completion::explicit_opts_list): Add
2360 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
2362 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
2364 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
2366 2017-11-29 Tom Tromey <tom@tromey.com>
2368 * gdb.base/relocate.exp: Update invalid argument test.
2369 Add new tests for invalid arguments.
2371 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
2373 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
2375 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
2377 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
2379 * gdb.cp/breakpoint.cc (bar): Set return type to void.
2380 * gdb.cp/psymtab-parameter.cc (func): Likewise.
2381 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
2383 * gdb.cp/shadow.cc (B.func): Return 0.
2385 2017-11-27 Joel Brobecker <brobecker@adacore.com>
2387 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
2388 expected output in gdb_expect call to allow the exception
2389 message to be present as well. Fix syntax confusion to avoid
2390 TCL thinking that exception_name is an array.
2392 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
2394 * gdb.arch/spu-info.c: Include <unistd.h>.
2395 (do_signal_test): Fix broken calls to write.
2396 * gdb.arch/spu-info.exp: Use prepare_for_testing.
2397 Fix checks for empty mailboxes. Update signal tests for corrected
2398 do_signal_test routine. Allow nonzero event status.
2399 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
2400 * gdb.cell/arch.exp: Use standard_output_file.
2401 * gdb.cell/break.exp: Likewise.
2402 * gdb.cell/bt.exp: Likewise.
2403 * gdb.cell/core.exp: Likewise.
2404 * gdb.cell/dwarfaddr.exp: Likewise.
2405 * gdb.cell/ea-cache.exp: Likewise.
2406 * gdb.cell/ea-standalone.exp: Likewise.
2407 * gdb.cell/f-regs.exp: Likewise.
2408 * gdb.cell/fork.exp: Likewise.
2409 * gdb.cell/gcore.exp: Likewise.
2410 * gdb.cell/mem-access.exp: Likewise.
2411 * gdb.cell/ptype.exp: Likewise.
2412 * gdb.cell/registers.exp: Likewise.
2413 * gdb.cell/sizeof.exp: Likewise.
2414 * gdb.cell/solib-symbol.exp: Likewise.
2415 * gdb.cell/solib.exp: Likewise.
2417 2017-11-25 Pedro Alves <palves@redhat.com>
2419 * gdb.base/complete-empty.exp: New file.
2420 * gdb.base/completion.exp: Adjust.
2422 2017-11-25 Pedro Alves <palves@redhat.com>
2424 * gdb.linespec/cpls-ops.cc: New file.
2425 * gdb.linespec/cpls-ops.exp: New file.
2426 * lib/completion-support.exp (test_complete_prefix_range_re): New,
2427 factored out from ...
2428 (test_complete_prefix_range): ... this.
2430 2017-11-24 Pedro Alves <palves@redhat.com>
2432 * gdb.linespec/cpcompletion.exp: New file.
2433 * gdb.linespec/cpls-hyphen.cc: New file.
2434 * gdb.linespec/cpls.cc: New file.
2435 * gdb.linespec/cpls2.cc: New file.
2436 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
2437 test to use test_gdb_complete_unique. Add label completion,
2438 keyword completion and explicit location completion tests.
2439 * lib/completion-support.exp: New file.
2441 2017-11-24 Joel Brobecker <brobecker@adacore.com>
2443 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
2444 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
2445 when hitting an exception catchpoint.
2447 2017-11-22 Yao Qi <yao.qi@linaro.org>
2449 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
2451 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
2453 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
2454 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
2455 * gdb.dwarf2/info-locals-optimized-out.c: New file.
2457 2017-11-22 Yao Qi <yao.qi@linaro.org>
2459 * gdb.base/info-os.exp: Pass pthreads.
2460 * gdb.multi/multi-attach.exp: Likewise.
2462 2017-11-22 Yao Qi <yao.qi@linaro.org>
2464 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
2467 2017-11-22 Yao Qi <yao.qi@linaro.org>
2469 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
2470 * gdb.base/break-interp.exp: Likewise.
2471 * gdb.base/jit-attach-pie.exp: Likewise.
2473 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
2475 * gdb.base/float128.c (large128): New variable.
2476 * gdb.base/float128.exp: Add test to print largest __float128 value.
2478 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
2480 * gdb.arch/vsx-regs.exp: Update register content checks.
2482 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
2484 * gdb.arch/ppc-longdouble.exp: New file.
2485 * gdb.arch/ppc-longdouble.c: Likewise.
2487 2017-11-21 Pedro Alves <palves@redhat.com>
2489 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2491 2017-11-20 Pedro Alves <palves@redhat.com>
2493 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2494 (long_double_typedef): New typedefs.
2495 Use DEF on double and long double.
2496 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
2498 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
2499 and 'long_double_ptr_same_size' locals. Use them to decide
2500 whether cast from array/function to float is valid/invalid.
2502 2017-11-17 Tom Tromey <tom@tromey.com>
2504 * gdb.rust/traits.rs: New file.
2505 * gdb.rust/traits.exp: New file.
2507 2017-11-17 Joel Brobecker <brobecker@adacore.com>
2509 * gdb.ada/minsyms: New testcase.
2511 2017-11-16 Pedro Alves <palves@redhat.com>
2513 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2514 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2516 2017-11-16 Pedro Alves <palves@redhat.com>
2518 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2519 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2521 2017-11-16 Pedro Alves <palves@redhat.com>
2523 * gdb.server/reconnect-ctrl-c.c: New file.
2524 * gdb.server/reconnect-ctrl-c.exp: New file.
2526 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
2528 * gdb.python/py-rbreak.exp: New file.
2529 * gdb.python/py-rbreak.c: New file.
2530 * gdb.python/py-rbreak-func2.c: New file.
2532 2017-11-16 Pedro Alves <palves@redhat.com>
2534 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2536 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
2539 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
2541 * gdb.tui/completionn.exp (test_tab_completion): Add space in
2544 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
2546 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
2549 2017-11-09 Pedro Alves <palves@redhat.com>
2551 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
2552 factored out from ...
2553 (top level): ... here, and adjusted to avoid expecting beyond the
2554 prompt in a single gdb_test_multiple.
2556 2017-11-09 Pedro Alves <palves@redhat.com>
2558 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
2560 * gdb.server/ext-attach.exp ("kill" test): Likewise.
2561 * gdb.server/ext-restart.exp ("kill" test): Likewise.
2562 * gdb.server/ext-run.exp ("kill" test): Likewise.
2563 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2565 2017-11-09 Pedro Alves <palves@redhat.com>
2567 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2568 match till end of line.
2570 2017-11-09 Pedro Alves <palves@redhat.com>
2572 * gdb.base/memattr.exp: Tighten regexes to match the end line.
2574 2017-11-09 Pedro Alves <palves@redhat.com>
2576 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2577 New procedures, factored out from ...
2578 (top level): ... here, and adjusted to avoid expecting beyond the
2581 2017-11-09 Pedro Alves <palves@redhat.com>
2583 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2584 output. Fix '?' match.
2586 2017-11-08 Joel Brobecker <brobecker@adacore.com>
2588 * gdb.ada/scoped_watch: New testcase.
2589 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2590 which is actually correct.
2591 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2592 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2594 2017-11-08 Pedro Alves <palves@redhat.com>
2596 * gdb.gdb/complaints.exp (test_initial_complaints)
2597 (test_serial_complaints, test_short_complaints): Call
2598 complaint_internal instead of complaint.
2600 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
2602 * gdb.threads/tls-core.c: New file.
2603 * gdb.threads/tls-core.exp: Likewise.
2605 2017-11-08 Pedro Alves <palves@redhat.com>
2607 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2608 (p Exported_Capitalized): New test.
2609 (p exported_capitalized): New test.
2611 2017-11-07 Pedro Alves <palves@redhat.com>
2613 * gdb.cp/ena-dis-br-range.exp: Add more tests.
2615 2017-11-07 Pedro Alves <palves@redhat.com>
2617 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2618 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2619 (disable_invalid, disable_inverted, disable_negative): New
2621 ("bad numbers"): New set of tests.
2623 2017-11-07 Pedro Alves <palves@redhat.com>
2625 * gdb.cp/ena-dis-br-range.exp: Add tests.
2627 2017-11-07 Pedro Alves <palves@redhat.com>
2629 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2631 2017-11-07 Xavier Roirand <roirand@adacore.com>
2632 Pedro Alves <palves@redhat.com>
2634 * gdb.base/ena-dis-br.exp: Add reference to
2635 gdb.cp/ena-dis-br-range.exp.
2636 * gdb.cp/ena-dis-br-range.exp: New file.
2637 * gdb.cp/ena-dis-br-range.cc: New file.
2639 2017-11-06 Pedro Alves <palves@redhat.com>
2641 * gdb.base/attach-non-pgrp-leader.c: New.
2642 * gdb.base/attach-non-pgrp-leader.exp: New.
2644 2017-11-06 Pedro Alves <palves@redhat.com>
2646 * configure.ac: No longer check for termio.h and sgtty.h.
2647 * configure: Regenerate.
2648 * remote-utils.c: Include termios.h instead of gdb_termios.h.
2649 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2650 Remove termio and sgtty code.
2652 2017-11-03 Yao Qi <yao.qi@linaro.org>
2654 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2657 2017-11-03 Yao Qi <yao.qi@linaro.org>
2659 * gdb.python/py-thrhandle.exp: Skip it if python is not
2662 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
2664 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2665 as a breakpoint command.
2667 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
2670 * gdb.python/py-infthread.exp: Test calling
2671 InferiorThread.inferior () multiple times in a row.
2673 2017-10-27 Keith Seitz <keiths@redhat.com>
2675 * gdb.opt/inline-break.exp (break_info_1): New procedure.
2676 Test "info break" for every inlined function breakpoint.
2678 2017-10-27 Yao Qi <yao.qi@linaro.org>
2680 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2682 2017-10-26 Patrick Frants <osscontribute@gmail.com>
2684 * gdb.cp/classes.exp (test_static_members): Test printing
2686 * gdb.cp/classes.c (struct Inner, struct Outer): New.
2687 (Inner::instance, Outer::instance): New.
2689 2017-10-24 Pedro Alves <palves@redhat.com>
2691 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2692 extra console" test in two stages.
2694 2017-10-24 Pedro Alves <palves@redhat.com>
2696 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2698 2017-10-24 Pedro Alves <palves@redhat.com>
2700 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2703 2017-10-24 Pedro Alves <palves@redhat.com>
2705 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2706 $attempt" and "stoppedtry $stoppedtry" test prefixes.
2708 2017-10-24 Pedro Alves <palves@redhat.com>
2710 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2711 parameter and handle it. Don't output read value in test name.
2713 2017-10-24 Pedro Alves <palves@redhat.com>
2715 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2718 2017-10-24 Pedro Alves <palves@redhat.com>
2720 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2721 include the unstable output directory name in the test's name.
2722 (initial_setup_simple) <'set args'>: Use custom test name.
2724 2017-10-24 Pedro Alves <palves@redhat.com>
2726 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2727 with explicit test name.
2729 2017-10-20 Pedro Alves <palves@redhat.com>
2731 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2732 'wait -i'. Use gdb_assert and remote_close.
2734 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
2736 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2737 number from variable rather than hard-coded.
2739 2017-10-19 Pedro Alves <palves@redhat.com>
2741 * gdb.base/long-inferior-output.c: New file.
2742 * gdb.base/long-inferior-output.exp: New file.
2744 2017-11-18 Keith Seitz <keiths@redhat.com>
2746 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2749 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2750 Add additional user-defined conversion operator tests.
2752 2017-10-17 Pedro Alves <palves@redhat.com>
2754 * boards/native-stdio-gdbserver.exp: Load "local-board".
2756 2017-10-17 Pedro Alves <palves@redhat.com>
2758 * gdb.base/quit-live.c: New file.
2759 * gdb.base/quit-live.exp: New file.
2761 2017-10-16 Keith Seitz <keiths@redhat.com>
2763 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2764 (class_with_protected_typedef, class_with_private_typedef)
2765 (struct_with_public_typedef, struct_with_protected_typedef)
2766 (struct_with_private_typedef): New classes/structs.
2767 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2768 typedefs and access specifiers.
2770 2017-10-16 Pedro Alves <palves@redhat.com>
2771 Simon Marchi <simon.marchi@polymtl.ca>
2773 * README (Local vs Remote vs Native): New section.
2774 * boards/local-board.exp: New file, with bits factored out from
2776 * boards/native-extended-gdbserver.exp: ... here. Load
2778 * boards/native-gdbserver.exp: Load "local-board".
2779 (${board}_spawn, ${board}_exec): Delete.
2780 * boards/native-stdio-gdbserver.exp: Most contents factored out to
2782 * boards/stdio-gdbserver-base.exp: ... this new file.
2783 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2784 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2786 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2787 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
2788 stdio_gdbserver_command.
2789 (${board}_get_remote_address, ${board}_get_comm_port)
2790 (${board}_download, ${board}_upload): Delete.
2791 (get_target_remote_pipe_cmd): New.
2793 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
2795 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
2796 test_bkpt_deletion, test_bkpt_cond_and_cmds,
2797 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
2798 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
2799 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
2800 remove with_test_prefix.
2802 2017-10-13 Pedro Alves <palves@redhat.com>
2804 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
2805 * gdb.base/annota1.exp: Use it instead of is_remote.
2806 * gdb.base/annota3.exp: Use it instead of is_remote.
2807 * gdb.cp/annota2.exp: Use it instead of is_remote.
2808 * gdb.cp/annota3.exp: Use it instead of is_remote.
2809 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2811 2017-10-13 Pedro Alves <palves@redhat.com>
2813 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
2814 (test_num_test_vars, run_and_count_vars, find_env)
2815 (test_set_unset_env, test_inherit_env_var): New procedures.
2816 (top level): Use them.
2818 2017-10-13 Pedro Alves <palves@redhat.com>
2820 * lib/selftest-support.exp (selftest_setup): Extend comments, and
2821 also skip on stub-like targets.
2823 2017-10-13 Pedro Alves <palves@redhat.com>
2826 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
2827 (top level): Move some tests to ...
2828 (test_not_found): ... this new procedure.
2829 (top level): Call it.
2831 2017-10-13 Pedro Alves <palves@redhat.com>
2833 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
2834 expect different "info terminal" output if testing with a
2837 2017-10-13 Pedro Alves <palves@redhat.com>
2838 Simon Marchi <simon.marchi@polymtl.ca>
2841 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
2843 2017-10-13 Pedro Alves <palves@redhat.com>
2845 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
2848 2017-10-13 Pedro Alves <palves@redhat.com>
2850 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
2853 2017-10-13 Pedro Alves <palves@redhat.com>
2855 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
2858 2017-10-13 Pedro Alves <palves@redhat.com>
2860 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
2862 (corefile_test_attach): Likewise. Check can_spawn_for_attach
2863 instead of is_remote.
2865 2017-10-13 Pedro Alves <palves@redhat.com>
2867 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
2868 (top level): Add comment.
2870 2017-10-13 Pedro Alves <palves@redhat.com>
2872 * gdb.base/remote.exp (top level): Fix comment typo and add
2875 2017-10-13 Pedro Alves <palves@redhat.com>
2876 Simon Marchi <simon.marchi@polymtl.ca>
2878 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
2879 calls and add comments. Skip test if use_gdb_stub is set.
2880 (top level): Use "set cwd" command instead of "cd" command.
2882 2017-10-13 Pedro Alves <palves@redhat.com>
2884 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
2885 is_remote target check.
2887 2017-10-13 Pedro Alves <palves@redhat.com>
2889 * gdb.base/scope.exp: Use build_executable + clean_restart +
2890 gdb_file_cmd instead of prepare_for_testing and no longer skip
2891 "before run" tests on is_remote target boards. Update comments.
2892 * boards/native-extended-gdbserver.exp
2893 (extended_gdbserver_load_last_file): New, factored out from ...
2894 (gdb_load): ... this. Move further below and add comment.
2895 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
2897 2017-10-12 Pedro Alves <palves@redhat.com>
2899 * gdb.base/attach.exp: Remove references to gdb64.
2900 * gdb.base/dbx.exp: Remove references to gdb64.
2902 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2903 Pedro Alves <palves@redhat.com>
2905 * gdb.base/label.exp: Remove is_remote target check.
2907 2017-10-12 Pedro Alves <palves@redhat.com>
2909 * gdb.base/auvx.exp (coredir): Update comment.
2910 (top level) <core_works>: Use "set cwd" command instead of "cd"
2913 2017-10-12 Pedro Alves <palves@redhat.com>
2914 Simon Marchi <simon.marchi@polymtl.ca>
2916 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
2919 2017-10-12 Pedro Alves <palves@redhat.com>
2920 Simon Marchi <simon.marchi@polymtl.ca>
2922 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
2923 Instead skip if there's any gdb_protocol set.
2925 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
2926 Pedro Alves <palves@redhat.com>
2928 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
2930 2017-10-12 Pedro Alves <palves@redhat.com>
2931 Simon Marchi <simon.marchi@polymtl.ca>
2933 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
2934 instead of on dejagnu remote boards.
2936 2017-10-12 Pedro Alves <palves@redhat.com>
2937 Simon Marchi <simon.marchi@polymtl.ca>
2939 * gdb.base/inferior-died.exp: Remove is_remote and isnative
2940 checks. Use build_executable + clean_restart instead of
2941 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
2942 of enabling non-stop after starting gdb.
2944 2017-10-12 Pedro Alves <palves@redhat.com>
2946 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
2947 * gdb.threads/non-ldr-exc-2.exp: Ditto.
2948 * gdb.threads/non-ldr-exc-3.exp: Ditto.
2949 * gdb.threads/non-ldr-exc-4.exp: Ditto.
2951 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
2953 * gdb.arch/arc-tdesc-cpu.exp: New file.
2954 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
2956 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
2958 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
2960 2017-10-10 Pedro Alves <palves@redhat.com>
2962 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
2965 2017-10-10 Pedro Alves <palves@redhat.com>
2967 * lib/selftest-support.exp (selftest_setup): Update for
2968 captured_command_loop's prototype change.
2970 2017-10-09 Pedro Alves <palves@redhat.com>
2972 Test both arch1=>arch2 and arch2=>arch1.
2974 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
2975 (srcfile2, binfile2, march1, march2): Remove globals. Largely
2977 (append_arch1_options, append_arch2_options, append_arch_options)
2978 (build_executables): New procedures.
2979 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
2981 (top level): Add new 'first_arch' testing axis.
2983 2017-10-09 Pedro Alves <palves@redhat.com>
2985 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
2987 (thread_start, all_started): New functions.
2988 (main): Spawn new thread and wait until it is scheduled.
2989 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
2991 (do_test): Add 'selected_thread' parameter. Run to all_started
2992 instead of main. Explicitly set the breakpoint at main. Switch
2993 to the SELECTED_THREAD thread.
2994 (top level): Test handling the exec event with either the main
2995 thread or the second thread selected.
2997 2017-10-09 Pedro Alves <palves@redhat.com>
2999 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
3000 logic. Move STOP marker after the value checks.
3001 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
3004 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
3006 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
3008 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
3010 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
3011 integer-to-dfp conversion.
3012 * gdb.base/dfp-test.exp: Likewise.
3014 2017-10-04 Pedro Alves <palves@redhat.com>
3016 * gdb.multi/hangout.c: Include <unistd.h>.
3017 (hangout_loop): New function.
3018 (main): Call alarm. Call hangout_loop in a loop.
3019 * gdb.multi/hello.c: Include <unistd.h>.
3020 (hello_loop): New function.
3021 (main): Call alarm. Call hangout_loop in a loop.
3022 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
3023 inferior with the other selected.
3025 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
3027 * gdb.mi/list-thread-groups-available.exp: New file.
3028 * gdb.mi/list-thread-groups-available.c: New file.
3030 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
3032 * gdb.base/set-cwd.exp: Make it available on
3033 native-extended-gdbserver.
3035 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
3037 * gdb.base/set-cwd.c: New file.
3038 * gdb.base/set-cwd.exp: Likewise.
3040 2017-10-02 Tom Tromey <tom@tromey.com>
3043 * gdb.rust/simple.rs (main): New variable "fslice".
3044 * gdb.rust/simple.exp: Add slice tests. Update string tests.
3046 2017-10-02 Tom Tromey <tom@tromey.com>
3048 * gdb.rust/simple.exp: Test ptype of a slice.
3050 2017-10-02 Tom Tromey <tom@tromey.com>
3052 * gdb.rust/simple.exp: Test index of slice.
3054 2017-09-27 Tom Tromey <tom@tromey.com>
3056 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
3058 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
3059 Pedro Alves <palves@redhat.com>
3061 * gdb.base/compare-sections.exp (get value of read-only section): Read
3063 (corrupt read-only section): Likewise and don't set written if patching
3066 2017-09-21 Kevin Buettner <kevinb@redhat.com>
3068 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
3071 2017-09-20 Pedro Alves <palves@redhat.com>
3073 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
3074 symbol names in gdb's output.
3075 * gdb.cp/overload.exp ("list all overloads"): Likewise.
3077 2017-09-20 Pedro Alves <palves@redhat.com>
3079 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
3081 (test_list_ambiguous_symbol): ... this and add a symbol name
3083 (test_list_ambiguous_function): Reimplement on top of
3084 test_list_ambiguous_symbol and also test listing ambiguous
3086 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
3087 (ambiguous_fun): ... this.
3088 (ambiguous_var): New.
3089 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
3090 (ambiguous_fun): ... this.
3091 (ambiguous_var): New.
3093 2017-09-19 John Baldwin <jhb@FreeBSD.org>
3095 * gdb.base/starti.c: New file.
3096 * gdb.base/starti.exp: New file.
3097 * lib/gdb.exp (gdb_starti_cmd): New procedure.
3099 2017-09-14 Pedro Alves <palves@redhat.com>
3101 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
3102 (top level): Use it instead of runto.
3104 2017-09-11 Tom Tromey <tom@tromey.com>
3106 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
3108 2017-09-11 Tom Tromey <tom@tromey.com>
3110 * gdb.python/py-infthread.exp: Add tests for new_thread event.
3111 * gdb.python/py-inferior.exp: Add tests for new inferior events.
3113 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
3115 * gdb.fortran/printing-types.exp: New file.
3116 * gdb.fortran/printing-types.exp: New file.
3118 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
3120 * gdb.fortran/vla-ptype.exp: Fix typos.
3121 * gdb.fortran/vla-value.exp: Same.
3123 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
3125 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
3126 * gdb.mi/mi-var-child-f.exp: Likewise.
3127 * gdb.mi/mi-vla-fortran.exp: Likewise.
3129 2017-09-08 Frank Penczek <frank.penczek@intel.com>
3130 Christoph Weinmann <christoph.t.weinmann@intel.com>
3131 Bernhard Heckel <bernhard.heckel@intel.com>
3133 * gdb.fortran/ptr-indentation.f90: New file.
3134 * gdb.fortran/ptr-indentation.exp: New file.
3136 2017-09-05 Tom Tromey <tom@tromey.com>
3139 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
3141 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3143 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
3145 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3147 * gdb.threads/tls-nodebug-pie.c: New file.
3148 * gdb.threads/tls-nodebug-pie.exp: New file.
3150 2017-09-05 Tom Tromey <tom@tromey.com>
3152 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
3155 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
3157 * gdb.multi/multi-arch-exec.exp: Test with different
3158 "follow-exec-mode" settings.
3159 (do_test): New procedure.
3161 2017-09-04 Pedro Alves <palves@redhat.com>
3163 * gdb.base/func-static.c (S::method const, S::method volatile)
3164 (S::method volatile const): New methods.
3165 (c_s, v_s, cv_s): New instances.
3166 (main): Call method() on them.
3167 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
3168 (cannot_resolve): New procedure.
3169 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
3170 print-quote-unquoted columns.
3171 (do_test): Test printing each scope too.
3173 2017-09-04 Pedro Alves <palves@redhat.com>
3175 * gdb.base/local-static.exp: Also test with
3176 class::method::variable wholly quoted.
3177 * gdb.cp/m-static.exp (class::method::variable): Remove test.
3179 2017-09-04 Pedro Alves <palves@redhat.com>
3181 * gdb.base/local-static.c: New.
3182 * gdb.base/local-static.cc: New.
3183 * gdb.base/local-static.exp: New.
3185 2017-09-04 Pedro Alves <palves@redhat.com>
3187 * gdb.asm/asm-source.exp: Add casts to int.
3188 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
3189 (dataglobal64_1, dataglobal64_2): New globals.
3190 * gdb.base/nodebug.exp: Test different expressions involving the
3191 new globals, with print, whatis and ptype. Add casts to int.
3192 * gdb.base/solib-display.exp: Add casts to int.
3193 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
3194 * gdb.cp/m-static.exp: Add cast to int.
3195 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
3196 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
3197 tls variable with no debug info without a cast. Test with a cast
3199 * gdb.trace/entry-values.exp: Add casts.
3201 2017-09-04 Pedro Alves <palves@redhat.com>
3203 * gdb.base/nodebug.exp: Test that ptype's error about functions
3204 with unknown return type includes the function name too.
3206 2017-09-04 Pedro Alves <palves@redhat.com>
3208 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
3209 return type of munmap in infcall.
3210 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
3211 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
3212 type of ftell in infcall.
3213 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
3214 type of getpid in infcall.
3215 * gdb.base/infcall-exec.exp: Cast return type of execlp in
3217 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
3218 Bail on failure to extract the pid.
3219 * gdb.base/nodebug.c: #include <stdint.h>.
3220 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
3222 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
3223 Change expected output of print/whatis/ptype with functions with
3224 no debug info. Test all supported languages. Call
3225 test_call_promotion.
3226 * gdb.compile/compile.exp: Adjust expected output to expect
3228 * gdb.threads/siginfo-threads.exp: Likewise.
3230 2017-09-04 Pedro Alves <palves@redhat.com>
3232 * gdb.base/callfuncs.exp (do_function_calls): New parameter
3233 "prototypes". Test calling float functions via prototyped and
3234 unprototyped function pointers.
3235 (perform_all_tests): New parameter "prototypes". Pass it down.
3236 (top level): Pass down "prototypes" parameter to
3239 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
3241 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
3242 Test with nested loops.
3244 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
3246 * gdb.base/commands.exp: Call the new procedures.
3247 (loop_break_test, loop_continue_test): New procedures.
3249 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
3251 * gdb.base/commands.exp: Call new procedure.
3252 (define_if_without_arg_test): New procedure.
3254 2017-09-04 Pedro Alves <palves@redhat.com>
3256 * gdb.base/list-ambiguous.exp: New file.
3257 * gdb.base/list-ambiguous0.c: New file.
3258 * gdb.base/list-ambiguous1.c: New file.
3259 * gdb.base/list.exp (test_list_range): Adjust expected output.
3261 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
3263 * gdb.base/share-env-with-gdbserver.c: New file.
3264 * gdb.base/share-env-with-gdbserver.exp: Likewise.
3266 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
3268 * gdb.base/commands.exp (gdbvar_simple_if_test,
3269 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
3270 progvar_simple_if_test, progvar_simple_while_test,
3271 progvar_complex_if_while_test, user_defined_command_test,
3272 user_defined_command_args_eval,
3273 user_defined_command_args_stack_test,
3274 user_defined_command_manyargs_test, bp_deleted_in_command_test,
3275 temporary_breakpoint_commands,
3276 gdb_test_no_prompt, redefine_hook_test,
3277 redefine_backtrace_test): Remove "global gdb_prompt".
3279 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
3281 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
3282 New proc, call it from toplevel.
3284 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
3287 * gdb.server/normal.c: New file, copied from gdb.base.
3288 * gdb.server/run-without-local-binary.exp: New file.
3290 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
3292 * gdb.arch/sparc64-adi.exp: New file.
3293 * gdb.arch/sparc64-adi.c: New file.
3295 2017-08-22 Pedro Alves <palves@redhat.com>
3297 * gdb.cp/overload.exp (line_range_pattern): New procedure.
3298 (top level): Add "list all overloads" tests.
3300 2017-08-22 Tom Tromey <tom@tromey.com>
3302 * gdb.gdb/xfullpath.exp: Remove.
3304 2017-08-21 Pedro Alves <palves@redhat.com>
3307 * gdb.base/symbol-alias.c: New.
3308 * gdb.base/symbol-alias2.c: New.
3309 * gdb.base/symbol-alias.exp: New.
3311 2017-08-21 Pedro Alves <palves@redhat.com>
3313 * gdb.base/dfp-test.c
3314 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
3315 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
3316 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
3317 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
3318 * gdb.base/whatis-ptype-typedefs.c: New.
3319 * gdb.base/whatis-ptype-typedefs.exp: New.
3320 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
3321 (an_int, an_int_type, an_int_type2): New globals.
3322 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
3323 involving typedefs and cast expressions.
3324 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
3325 (lookup_typedefs_function): New.
3326 (typedefs_pretty_printers_dict): New.
3327 (top level): Register lookup_typedefs_function in
3328 gdb.pretty_printers.
3330 2017-08-18 Yao Qi <yao.qi@linaro.org>
3332 * gdb.server/unittest.exp: New.
3334 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
3337 * gdb.base/environ.exp: Add test to check if 'unset environment'
3340 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3342 * lib/gdb.exp (universal_compile_options): New caching proc.
3343 (gdb_compile): Suppress GCC's coloring of messages.
3345 2017-08-14 Tom Tromey <tom@tromey.com>
3348 * gdb.base/printcmds.exp (test_radices): New function.
3349 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
3350 * gdb.base/sizeof.exp (check_valueof): Use p/d.
3351 * lib/gdb.exp (get_integer_valueof): Use p/d.
3353 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
3355 * lib/gdb.exp (get_valueof): Don't capture end-of-line
3358 2017-08-05 Tom Tromey <tom@tromey.com>
3360 * gdb.rust/simple.exp: Allow String to appear in a different
3363 2017-07-26 Yao Qi <yao.qi@linaro.org>
3365 * gdb.gdb/unittest.exp: Invoke command
3366 "maintenance check xml-descriptions".
3368 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
3370 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
3372 (hex128): Drop erroneous calculation of parameters.
3374 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
3376 * gdb.python/py-unwind.exp: Disable stack protection when
3379 2017-07-20 Pedro Alves <palves@redhat.com>
3381 * gdb.base/default.exp (set language): Adjust expected output.
3383 2017-07-20 Pedro Alves <palves@redhat.com>
3385 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
3386 (test_minsym): ... this, and make static.
3387 (get_pck__foo__bar__minsym): Rename to ...
3388 (get_test_minsym): ... this.
3389 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
3390 symbol names and comments.
3391 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
3392 (get_test_minsym): ... this.
3393 (pck__foo__bar__minsym__2): Rename to ...
3394 (test_minsym): ... this.
3397 2017-07-17 Pedro Alves <palves@redhat.com>
3399 * gdb.base/completion.exp: Adjust expected output.
3400 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
3401 the completer works.
3403 2017-07-17 Pedro Alves <palves@redhat.com>
3405 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
3407 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
3409 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
3411 2017-07-14 Tom Tromey <tom@tromey.com>
3414 * gdb.rust/simple.exp: Add tests.
3416 2017-07-14 Tom Tromey <tom@tromey.com>
3418 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
3420 2017-07-14 Pedro Alves <palves@redhat.com>
3422 * gdb.linespec/base/one/thefile.cc (z1): New function.
3423 * gdb.linespec/base/two/thefile.cc (z2): New function.
3424 * gdb.linespec/linespec.exp: Add tests.
3426 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
3428 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
3429 to mi_create_breakpoint.
3431 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
3433 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
3434 mi_create_breakpoint.
3436 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
3438 * gdb.dlang/demangle.exp: Update for demangling changes.
3440 2017-07-09 Tom Tromey <tom@tromey.com>
3442 * gdb.dwarf2/shortpiece.exp: New file.
3444 2017-07-06 David Blaikie <dblaikie@gmail.com>
3446 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
3447 built from fissiont-multi-cu{1,2}.c.
3448 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
3449 except putting 'main' and 'func' in separate CUs in the same DWO file.
3450 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
3452 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
3455 2017-07-06 Pedro Alves <palves@redhat.com>
3457 * gdb.python/py-unwind.exp: Test flushregs.
3459 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
3462 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
3463 tests for alias commands and trailing whitespace.
3465 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
3468 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
3471 2017-06-29 Pedro Alves <palves@redhat.com>
3473 * gdb.base/printcmds.exp: Add tests.
3475 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
3478 * gdb.base/reread-readsym.exp: New file.
3479 * gdb.base/reread-readsym.c: New file.
3481 2017-06-21 Kevin Buettner <kevinb@redhat.com>
3483 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3486 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
3488 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3490 * gdb.arch/powerpc-power9.s: Likewise.
3492 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3494 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3495 on 32-bit x86 targets. Exploit is_*_target macros where
3498 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3500 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3503 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3505 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3506 located in one or more DWARF pieces.
3508 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3510 * lib/gdb.exp (get_endianness): New proc.
3511 * gdb.arch/aarch64-fp.exp: Use it.
3512 * gdb.arch/altivec-regs.exp: Likewise.
3513 * gdb.arch/e500-regs.exp: Likewise.
3514 * gdb.arch/vsx-regs.exp: Likewise.
3515 * gdb.base/dump.exp: Likewise.
3516 * gdb.base/funcargs.exp: Likewise.
3517 * gdb.base/gnu_vector.exp: Likewise.
3518 * gdb.dwarf2/formdata16.exp: Likewise.
3519 * gdb.dwarf2/implptrpiece.exp: Likewise.
3520 * gdb.dwarf2/nonvar-access.exp: Likewise.
3521 * gdb.python/py-inferior.exp: Likewise.
3522 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3524 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3527 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3528 stack value pieces are taken from the LSB end.
3530 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3532 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3533 variable at nonzero offset.
3535 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
3537 * gdb.dwarf2/var-access.c: New file.
3538 * gdb.dwarf2/var-access.exp: New test.
3539 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
3541 2017-06-12 Tom Tromey <tom@tromey.com>
3543 * gdb.dwarf2/formdata16.exp: Add tests.
3545 2017-06-12 Tom Tromey <tom@tromey.com>
3547 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
3549 2017-06-12 Tom Tromey <tom@tromey.com>
3552 * gdb.reverse/i386-sse-reverse.exp: Update tests.
3553 * gdb.arch/vsx-regs.exp: Update tests.
3554 * gdb.arch/s390-vregs.exp (hex128): New proc.
3556 * gdb.arch/altivec-regs.exp: Update tests.
3558 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3560 * gdb.base/startup-with-shell.c: New file.
3561 * gdb.base/startup-with-shell.exp: Likewise.
3563 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
3565 * gdb.server/non-existing-program.exp: Update regex in order to
3566 reflect the fact that gdbserver is now using fork_inferior (with a
3567 shell) to startup the inferior.
3569 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
3571 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3572 support function calls from GDB.
3574 2017-05-21 Tom Tromey <tom@tromey.com>
3577 * gdb.rust/unsized.exp: New file.
3578 * gdb.rust/unsized.rs: New file.
3580 2017-05-19 Tom Tromey <tom@tromey.com>
3583 * gdb.rust/watch.exp: New file.
3584 * gdb.rust/watch.rs: New file.
3586 2017-05-18 Tom Tromey <tom@tromey.com>
3588 * gdb.rust/simple.exp: Allow Box to be qualified.
3590 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
3592 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3594 2017-05-18 Pedro Alves <palves@redhat.com>
3596 * gdb.base/fileio.c (test_write, test_read, test_close)
3597 (test_fstat): Don't print 'ret' in the fail path.
3599 2017-05-18 Pedro Alves <palves@redhat.com>
3601 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3602 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3603 (test_system, test_rename, test_unlink, test_time): Change
3605 * gdb.base/fileio.exp (stop_msg): Adjust.
3607 2017-05-18 Pedro Alves <palves@redhat.com>
3609 * gdb.base/fileio.c (null_str): New global.
3610 (test_stat): Use it.
3611 * gdb.base/fileio.exp: Remove nowarnings.
3613 2017-05-17 Yao Qi <yao.qi@linaro.org>
3615 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3617 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
3619 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3621 (top-level): Invoke test_set_inferior_tty.
3623 2017-05-04 Pedro Alves <palves@redhat.com>
3625 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3626 Add parens to print call for Python 3.
3628 2017-05-03 Keith Seitz <keiths@redhat.com>
3630 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3633 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3635 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3638 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3640 * gdb.python/py-record-btrace.exp: Remove test for
3641 gdb.BtraceInstruction.error.
3643 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3645 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3647 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
3649 * gdb.python/py-record-btrace-threads.c: New file.
3650 * gdb.python/py-record-btrace-threads.exp: New file.
3652 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
3655 * gdb.base/environ.exp: Make test available in all architectures.
3656 Move bits related to "info program" testing to
3657 gdb.base/info-program.exp. Rewrite tests to use the two new
3658 procedures mentione below.
3659 (test_set_show_env_var) New procedure.
3660 (test_set_show_env_var_equal): Likewise.
3661 * gdb.base/info-program.exp: New file.
3663 2017-04-27 Keith Seitz <keiths@redhat.com>
3665 * gdb.cp/oranking.cc (test15): New function.
3666 (main): Call test15 and declare additional variables for testing.
3667 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3668 "p foo101('abc')" tests.
3669 Add tests for cv qualifier overloads.
3670 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3671 "lvalue reference overload" test.
3672 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3673 "print value of f1 on Child&& in f2" test.
3675 2017-04-19 Pedro Alves <palves@redhat.com>
3677 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3679 (top level): Call it.
3680 * lib/gdb.exp (gdb_define_cmd): New procedure.
3682 2017-04-12 Pedro Alves <palves@redhat.com>
3685 * gdb.cp/wide_char_types.c: Include <wchar.h>.
3686 (wchar): New global.
3687 * gdb.cp/wide_char_types.exp (wide_char_types_program)
3688 (do_test_wide_char, wide_char_types_no_program, top level): Add
3691 2017-04-12 Pedro Alves <palves@redhat.com>
3694 * gdb.cp/wide_char_types.c: New file.
3695 * gdb.cp/wide_char_types.exp: New file.
3697 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
3700 * gdb.trace/tsv.exp: Add test for "tsave -r".
3702 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
3704 * gdb.dlang/watch-loc.c: New file.
3705 * gdb.dlang/watch-loc.exp: New file.
3707 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3709 * gdb.python/py-section-script.exp (sepdebug): New testcases.
3711 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3713 * gdb.arch/arc-analyze-prologue.S: New file.
3714 * gdb.arch/arc-analyze-prologue.exp: Likewise.
3716 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
3718 * gdb.arch/arc-decode-insn.S: New file.
3719 * gdb.arch/arc-decode-insn.exp: Likewise.
3721 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
3724 * gdb.arch/sparc64-regs.exp: New file.
3725 * gdb.arch/sparc64-regs.S: Likewise.
3727 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
3729 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3730 and memory view on Python 3.
3732 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
3733 Keith Seitz <keiths@redhat.com>
3736 * gdb.cp/demangle.exp: Add rvalue reference tests.
3737 * gdb.cp/rvalue-ref-casts.cc: New file.
3738 * gdb.cp/rvalue-ref-casts.exp: New file.
3739 * gdb.cp/rvalue-ref-overload.cc: New file.
3740 * gdb.cp/rvalue-ref-overload.exp: New file.
3741 * gdb.cp/rvalue-ref-params.cc: New file.
3742 * gdb.cp/rvalue-ref-params.exp: New file.
3743 * gdb.cp/rvalue-ref-sizeof.cc: New file.
3744 * gdb.cp/rvalue-ref-sizeof.exp: New file.
3745 * gdb.cp/rvalue-ref-types.cc: New file.
3746 * gdb.cp/rvalue-ref-types.exp: New file.
3747 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3748 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3750 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3752 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3755 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
3757 * lib/mi-support.exp (mi_gdb_test): Add additional message
3758 for unexpected output.
3760 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3762 * gdb.base/examine-backward.c (Barrier): New character array
3763 constant, to ensure that TestStrings is preceded by a string
3766 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3768 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3769 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3770 and implicit pointer into such a location.
3772 2017-03-16 Doug Evans <dje@google.com>
3774 * gdb.python/py-lazy-string (pointer): Really add new typedef.
3776 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
3778 * gdb.cp/m-static.exp: Fix expectation for prototype of
3779 test5.single_constructor and single_constructor::single_constructor.
3781 2017-03-16 Doug Evans <dje@google.com>
3783 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3784 * gdb.guile/scm-lazy-string.c: New file.
3785 * gdb.guile/scm-value.exp: Move lazy string tests to ...
3786 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
3787 for pointer, array, typedef lazy strings.
3789 2017-03-16 Doug Evans <dje@google.com>
3791 PR python/17728, python/18439, python/18779
3792 * gdb.python/py-value.c (main) Delete locals sptr, sn.
3793 * gdb.python/py-lazy-string.c (pointer): New typedef.
3794 (main): New locals ptr, array, typedef_ptr.
3795 * gdb.python/py-value.exp: Move lazy string tests to ...
3796 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
3797 array, typedef lazy strings.
3799 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
3801 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
3802 Add optional 'test' parameter.
3804 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3806 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3807 Skip for versions of DejaGnu < 1.5.
3809 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
3811 * lib/gdb.exp (dejagnu_version): New proc.
3812 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3813 Use dejagnu_version.
3815 2017-03-10 Keith Seitz <keiths@redhat.com>
3818 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
3819 type from destructor regexps.
3820 Add a branch which actually passes the test.
3821 Adjust "ptype t5i" test names.
3823 2017-03-08 Pedro Alves <palves@redhat.com>
3825 * gdb.base/step-over-exit.exp: Add explicit test message.
3827 2017-03-08 Pedro Alves <palves@redhat.com>
3830 * gdb.threads/interrupt-while-step-over.c: New file.
3831 * gdb.threads/interrupt-while-step-over.exp: New file.
3833 2017-03-08 Pedro Alves <palves@redhat.com>
3835 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
3836 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
3838 2017-03-08 Pedro Alves <palves@redhat.com>
3840 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
3841 PKRU as not supported as a PASS.
3843 2017-03-08 Pedro Alves <palves@redhat.com>
3845 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
3846 prefix instead of $binfile1/$binfile2.
3847 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
3849 * gdb.python/py-completion.exp: Use "load python file" as test
3850 messages instead of unstable path names.
3852 2017-03-08 Pedro Alves <palves@redhat.com>
3853 Jan Kratochvil <jan.kratochvil@redhat.com>
3856 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3858 (top level): Call it.
3860 2017-03-08 Pedro Alves <palves@redhat.com>
3863 * gdb.tui/tui-nl-filtered-output.exp: New file.
3865 2017-03-08 Pedro Alves <palves@redhat.com>
3867 * gdb.base/completion.exp: Move TUI completion tests to ...
3868 * gdb.tui/completion.exp: ... this new file.
3870 2017-03-08 Pedro Alves <palves@redhat.com>
3872 * gdb.base/tui-disasm-long-lines.c,
3873 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
3874 gdb.base/tui-layout.exp: Move to ...
3875 * gdb.tui/: ... this new directory.
3877 2017-03-07 Pedro Alves <palves@redhat.com>
3879 * gdb.base/tui-layout.c: New file.
3880 * gdb.base/tui-layout.exp: New file.
3882 2017-03-07 Pedro Alves <palves@redhat.com>
3884 * gdb.base/tui-layout.c: Rename to ...
3885 * gdb.base/tui-disasm-long-lines.c: ... this.
3886 * gdb.base/tui-layout.exp: Rename to ...
3887 * gdb.base/tui-disasm-long-lines.exp: ... this.
3889 2017-03-07 Pedro Alves <palves@redhat.com>
3891 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
3893 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
3895 * i386-mpx-call.c: New file.
3896 * i386-mpx-call.exp: New file.
3898 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
3900 * gdb.arch/powerpc-power.exp: Delete test.
3901 * gdb.arch/powerpc-power.s: Likewise.
3902 * gdb.disasm/disassembler-options.exp: New test.
3903 * gdb.arch/powerpc-altivec.exp: Likewise.
3904 * gdb.arch/powerpc-altivec.s: Likewise.
3905 * gdb.arch/powerpc-altivec2.exp: Likewise.
3906 * gdb.arch/powerpc-altivec2.s: Likewise.
3907 * gdb.arch/powerpc-altivec3.exp: Likewise.
3908 * gdb.arch/powerpc-altivec3.s: Likewise.
3909 * gdb.arch/powerpc-power7.exp: Likewise.
3910 * gdb.arch/powerpc-power7.s: Likewise.
3911 * gdb.arch/powerpc-power8.exp: Likewise.
3912 * gdb.arch/powerpc-power8.s: Likewise.
3913 * gdb.arch/powerpc-power9.exp: Likewise.
3914 * gdb.arch/powerpc-power9.s: Likewise.
3915 * gdb.arch/powerpc-vsx.exp: Likewise.
3916 * gdb.arch/powerpc-vsx.s: Likewise.
3917 * gdb.arch/powerpc-vsx2.exp: Likewise.
3918 * gdb.arch/powerpc-vsx2.s: Likewise.
3919 * gdb.arch/powerpc-vsx3.exp: Likewise.
3920 * gdb.arch/powerpc-vsx3.s: Likewise.
3921 * gdb.arch/arm-disassembler-options.exp: Likewise.
3922 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3923 * gdb.arch/s390-disassembler-options.exp: Likewise.
3925 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
3927 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
3928 (check_supported_features): ... this. Changed return type to void.
3929 (supports_rdseed): New static global.
3930 (rdseed): Check supports_rdseed.
3931 (initialize): Call check_supported_features.
3933 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3935 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
3936 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
3938 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
3939 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
3941 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3943 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
3946 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3948 * gdb.dwarf2/formdata16.c: New file.
3949 * gdb.dwarf2/formdata16.exp: New file.
3950 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
3952 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3954 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
3955 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
3956 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
3957 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
3960 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3962 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
3964 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
3967 * gdb.base/maint.exp: Add testcases for when the commands do
3970 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
3972 * gdb.cp/chained-calls.exp: Use p instead of P.
3974 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
3976 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
3977 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
3979 2017-02-14 Tom Tromey <tom@tromey.com>
3982 * gdb.python/py-events.exp: Add before_prompt event tests.
3984 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
3986 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
3988 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3990 * gdb.linespec/explicit.c (my_unique_function_name): New function.
3991 (main): Call my_unique_function_name.
3992 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
3993 completion of patterns with a single match.
3994 Add missing -re switches to gdb_test_multiple calls.
3996 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
3998 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
3999 return if core file is not recognized.
4001 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
4003 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
4006 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
4008 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
4011 2017-02-10 Tom Tromey <tom@tromey.com>
4013 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
4015 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
4018 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
4020 2017-02-08 Jerome Guitton <guitton@adacore.com>
4022 * gdb.base/define.exp: Add test for command abbreviations
4025 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
4027 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
4028 * gdb.reverse/insn-reverse-x86.c: New file.
4030 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
4033 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
4035 2017-02-03 Tom Tromey <tom@tromey.com>
4038 * gdb.rust/simple.exp: Add new tests.
4040 2017-02-02 Pedro Alves <palves@redhat.com>
4042 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
4045 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
4047 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
4048 taking a 2-byte value out of a 4-byte DWARF implicit value on
4050 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
4051 logic. Add test cases for DW_OP_implicit.
4053 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4055 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
4057 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4059 * gdb.btrace/enable.exp: Call gdb_exit before
4060 skip_gdbserver_tests.
4062 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4064 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
4067 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4069 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
4070 the test is skipped.
4071 * gdb.btrace/data.exp: Likewise.
4072 * gdb.btrace/delta.exp: Likewise.
4073 * gdb.btrace/dlopen.exp: Likewise.
4074 * gdb.btrace/enable-running.exp: Likewise.
4075 * gdb.btrace/enable.exp: Likewise.
4076 * gdb.btrace/exception.exp: Likewise.
4077 * gdb.btrace/function_call_history.exp: Likewise.
4078 * gdb.btrace/gcore.exp: Likewise.
4079 * gdb.btrace/instruction_history.exp: Likewise.
4080 * gdb.btrace/multi-thread-step.exp: Likewise.
4081 * gdb.btrace/nohist.exp: Likewise.
4082 * gdb.btrace/non-stop.exp: Likewise.
4083 * gdb.btrace/reconnect.exp: Likewise.
4084 * gdb.btrace/record_goto-step.exp: Likewise.
4085 * gdb.btrace/record_goto.exp: Likewise.
4086 * gdb.btrace/rn-dl-bind.exp: Likewise.
4087 * gdb.btrace/segv.exp: Likewise.
4088 * gdb.btrace/step.exp: Likewise.
4089 * gdb.btrace/stepi.exp: Likewise.
4090 * gdb.btrace/tailcall-only.exp: Likewise.
4091 * gdb.btrace/tailcall.exp: Likewise.
4092 * gdb.btrace/tsx.exp: Likewise.
4093 * gdb.btrace/unknown_functions.exp: Likewise.
4094 * gdb.btrace/vdso.exp: Likewise.
4096 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
4098 * gdb.btrace/enable-running.c: New.
4099 * gdb.btrace/enable-running.exp: New.
4101 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
4103 * gdb.arch/amd64-gs_base.c: New file.
4104 * gdb.arch/amd64-gs_base.exp: New file.
4106 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4108 * lib/memory.exp: Remove spurious empty newlines.
4110 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
4112 * gdb.python/py-bad-printers.exp: Load python file using "source".
4113 * gdb.python/py-events.exp: Likewise.
4114 * gdb.python/py-evsignal.exp: Likewise.
4115 * gdb.python/py-evthreads.exp: Likewise.
4116 * gdb.python/py-frame-args.exp: Likewise.
4117 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
4118 * gdb.python/py-framefilter-mi.exp: Likewise.
4119 * gdb.python/py-framefilter.exp: Likewise.
4120 * gdb.python/py-mi.exp: Likewise.
4121 * gdb.python/py-pp-maint.exp: Likewise.
4122 * gdb.python/py-pp-registration.exp: Likewise.
4123 * gdb.python/py-prettyprint.exp: Likewise.
4124 (run_lang_tests): Likewise.
4125 * gdb.python/py-typeprint.exp: Likewise.
4127 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4129 * lib/memory.exp: New file.
4130 * lib/gdb.exp: Load memory.exp.
4131 * gdb.base/memattr.exp (delete_memory): Move proc to
4132 lib/memory.exp and rename to delete_memory_regions.
4133 Replace delete_memory with delete_memory_regions.
4134 Cleanup memory regions before tests.
4135 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
4138 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
4140 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
4142 (initialize): New function conditionally defined.
4143 (testcases): Move within conditional block.
4144 (main): Call initialize.
4145 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
4146 of gdb.reverse/insn-reverse.c.
4147 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
4148 gdb.reverse/insn-reverse.c.
4150 2017-01-26 Yao Qi <yao.qi@linaro.org>
4152 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
4153 disassemble on address 0.
4155 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
4156 Yao Qi <yao.qi@linaro.org>
4158 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
4159 * gdb.dwarf2/implptr-64bit.S: Remove.
4160 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
4161 variables in caller's context. Add DW_OP_implicit_value.
4163 2017-01-25 Yao Qi <yao.qi@linaro.org>
4165 * lib/dwarf.exp (Dwarf::_location): Handle
4166 DW_OP_GNU_implicit_pointer with proper size.
4168 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
4170 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
4171 and add untested calls.
4173 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
4175 * gdb.python/python.exp: Check line number against what GDB thinks
4176 the line number is for func1.
4178 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
4180 * gdb.dlang/debug-expr.exp: New file.
4182 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
4184 Fix test names for the following files:
4186 * gdb.ada/exec_changed.exp
4187 * gdb.ada/info_types.exp
4188 * gdb.arch/aarch64-atomic-inst.exp
4189 * gdb.arch/aarch64-fp.exp
4190 * gdb.arch/altivec-abi.exp
4191 * gdb.arch/altivec-regs.exp
4192 * gdb.arch/amd64-byte.exp
4193 * gdb.arch/amd64-disp-step.exp
4194 * gdb.arch/amd64-dword.exp
4195 * gdb.arch/amd64-entry-value-inline.exp
4196 * gdb.arch/amd64-entry-value-param.exp
4197 * gdb.arch/amd64-entry-value-paramref.exp
4198 * gdb.arch/amd64-entry-value.exp
4199 * gdb.arch/amd64-i386-address.exp
4200 * gdb.arch/amd64-invalid-stack-middle.exp
4201 * gdb.arch/amd64-invalid-stack-top.exp
4202 * gdb.arch/amd64-optimout-repeat.exp
4203 * gdb.arch/amd64-prologue-skip.exp
4204 * gdb.arch/amd64-prologue-xmm.exp
4205 * gdb.arch/amd64-stap-special-operands.exp
4206 * gdb.arch/amd64-stap-wrong-subexp.exp
4207 * gdb.arch/amd64-tailcall-cxx.exp
4208 * gdb.arch/amd64-tailcall-noret.exp
4209 * gdb.arch/amd64-tailcall-ret.exp
4210 * gdb.arch/amd64-tailcall-self.exp
4211 * gdb.arch/amd64-word.exp
4212 * gdb.arch/arm-bl-branch-dest.exp
4213 * gdb.arch/arm-disp-step.exp
4214 * gdb.arch/arm-neon.exp
4215 * gdb.arch/arm-single-step-kernel-helper.exp
4216 * gdb.arch/avr-flash-qualifier.exp
4217 * gdb.arch/disp-step-insn-reloc.exp
4218 * gdb.arch/e500-abi.exp
4219 * gdb.arch/e500-regs.exp
4220 * gdb.arch/ftrace-insn-reloc.exp
4221 * gdb.arch/i386-avx512.exp
4222 * gdb.arch/i386-bp_permanent.exp
4223 * gdb.arch/i386-byte.exp
4224 * gdb.arch/i386-cfi-notcurrent.exp
4225 * gdb.arch/i386-disp-step.exp
4226 * gdb.arch/i386-dr3-watch.exp
4227 * gdb.arch/i386-float.exp
4228 * gdb.arch/i386-gnu-cfi.exp
4229 * gdb.arch/i386-mpx-map.exp
4230 * gdb.arch/i386-mpx-sigsegv.exp
4231 * gdb.arch/i386-mpx-simple_segv.exp
4232 * gdb.arch/i386-mpx.exp
4233 * gdb.arch/i386-permbkpt.exp
4234 * gdb.arch/i386-prologue.exp
4235 * gdb.arch/i386-signal.exp
4236 * gdb.arch/i386-size-overlap.exp
4237 * gdb.arch/i386-unwind.exp
4238 * gdb.arch/i386-word.exp
4239 * gdb.arch/mips-fcr.exp
4240 * gdb.arch/powerpc-d128-regs.exp
4241 * gdb.arch/powerpc-stackless.exp
4242 * gdb.arch/ppc64-atomic-inst.exp
4243 * gdb.arch/s390-stackless.exp
4244 * gdb.arch/s390-tdbregs.exp
4245 * gdb.arch/s390-vregs.exp
4246 * gdb.arch/sparc-sysstep.exp
4247 * gdb.arch/thumb-bx-pc.exp
4248 * gdb.arch/thumb-singlestep.exp
4249 * gdb.arch/thumb2-it.exp
4250 * gdb.arch/vsx-regs.exp
4251 * gdb.asm/asm-source.exp
4252 * gdb.base/a2-run.exp
4253 * gdb.base/advance.exp
4254 * gdb.base/all-bin.exp
4257 * gdb.base/arithmet.exp
4258 * gdb.base/async-shell.exp
4259 * gdb.base/async.exp
4260 * gdb.base/attach-pie-noexec.exp
4261 * gdb.base/attach-twice.exp
4262 * gdb.base/auto-load.exp
4264 * gdb.base/bitfields.exp
4265 * gdb.base/break-always.exp
4266 * gdb.base/break-caller-line.exp
4267 * gdb.base/break-entry.exp
4268 * gdb.base/break-inline.exp
4269 * gdb.base/break-on-linker-gcd-function.exp
4270 * gdb.base/break-probes.exp
4271 * gdb.base/break.exp
4272 * gdb.base/breakpoint-shadow.exp
4273 * gdb.base/call-ar-st.exp
4274 * gdb.base/call-sc.exp
4275 * gdb.base/call-signal-resume.exp
4276 * gdb.base/call-strs.exp
4277 * gdb.base/callfuncs.exp
4278 * gdb.base/catch-fork-static.exp
4279 * gdb.base/catch-gdb-caused-signals.exp
4280 * gdb.base/catch-load.exp
4281 * gdb.base/catch-signal-fork.exp
4282 * gdb.base/catch-signal.exp
4283 * gdb.base/catch-syscall.exp
4284 * gdb.base/charset.exp
4285 * gdb.base/checkpoint.exp
4286 * gdb.base/chng-syms.exp
4287 * gdb.base/code-expr.exp
4288 * gdb.base/code_elim.exp
4289 * gdb.base/commands.exp
4290 * gdb.base/completion.exp
4291 * gdb.base/complex.exp
4292 * gdb.base/cond-expr.exp
4293 * gdb.base/condbreak.exp
4294 * gdb.base/consecutive.exp
4295 * gdb.base/continue-all-already-running.exp
4296 * gdb.base/coredump-filter.exp
4297 * gdb.base/corefile.exp
4299 * gdb.base/debug-expr.exp
4300 * gdb.base/define.exp
4302 * gdb.base/disabled-location.exp
4303 * gdb.base/disasm-end-cu.exp
4304 * gdb.base/disasm-optim.exp
4305 * gdb.base/display.exp
4306 * gdb.base/duplicate-bp.exp
4307 * gdb.base/ena-dis-br.exp
4308 * gdb.base/ending-run.exp
4309 * gdb.base/enumval.exp
4310 * gdb.base/environ.exp
4311 * gdb.base/eu-strip-infcall.exp
4312 * gdb.base/eval-avoid-side-effects.exp
4313 * gdb.base/eval-skip.exp
4314 * gdb.base/exitsignal.exp
4315 * gdb.base/expand-psymtabs.exp
4316 * gdb.base/filesym.exp
4317 * gdb.base/find-unmapped.exp
4318 * gdb.base/finish.exp
4319 * gdb.base/float.exp
4320 * gdb.base/foll-exec-mode.exp
4321 * gdb.base/foll-exec.exp
4322 * gdb.base/foll-fork.exp
4323 * gdb.base/fortran-sym-case.exp
4324 * gdb.base/freebpcmd.exp
4325 * gdb.base/func-ptr.exp
4326 * gdb.base/func-ptrs.exp
4327 * gdb.base/funcargs.exp
4328 * gdb.base/gcore-buffer-overflow.exp
4329 * gdb.base/gcore-relro-pie.exp
4330 * gdb.base/gcore-relro.exp
4331 * gdb.base/gcore.exp
4332 * gdb.base/gdb1090.exp
4333 * gdb.base/gdb11530.exp
4334 * gdb.base/gdb11531.exp
4335 * gdb.base/gdb1821.exp
4336 * gdb.base/gdbindex-stabs.exp
4337 * gdb.base/gdbvars.exp
4338 * gdb.base/hbreak.exp
4339 * gdb.base/hbreak2.exp
4340 * gdb.base/included.exp
4341 * gdb.base/infcall-input.exp
4342 * gdb.base/inferior-died.exp
4343 * gdb.base/infnan.exp
4344 * gdb.base/info-macros.exp
4345 * gdb.base/info-os.exp
4346 * gdb.base/info-proc.exp
4347 * gdb.base/info-shared.exp
4348 * gdb.base/info-target.exp
4349 * gdb.base/infoline.exp
4350 * gdb.base/interp.exp
4351 * gdb.base/interrupt.exp
4352 * gdb.base/jit-reader.exp
4353 * gdb.base/jit-simple.exp
4354 * gdb.base/kill-after-signal.exp
4355 * gdb.base/kill-detach-inferiors-cmd.exp
4356 * gdb.base/label.exp
4357 * gdb.base/langs.exp
4358 * gdb.base/ldbl_e308.exp
4359 * gdb.base/line-symtabs.exp
4360 * gdb.base/linespecs.exp
4362 * gdb.base/long_long.exp
4363 * gdb.base/longest-types.exp
4364 * gdb.base/maint.exp
4365 * gdb.base/max-value-size.exp
4366 * gdb.base/memattr.exp
4367 * gdb.base/mips_pro.exp
4368 * gdb.base/morestack.exp
4369 * gdb.base/moribund-step.exp
4370 * gdb.base/multi-forks.exp
4371 * gdb.base/nested-addr.exp
4372 * gdb.base/nextoverexit.exp
4373 * gdb.base/noreturn-finish.exp
4374 * gdb.base/noreturn-return.exp
4375 * gdb.base/nostdlib.exp
4376 * gdb.base/offsets.exp
4377 * gdb.base/opaque.exp
4378 * gdb.base/pc-fp.exp
4379 * gdb.base/permissions.exp
4380 * gdb.base/print-symbol-loading.exp
4381 * gdb.base/prologue-include.exp
4382 * gdb.base/psymtab.exp
4383 * gdb.base/ptype.exp
4384 * gdb.base/random-signal.exp
4385 * gdb.base/randomize.exp
4386 * gdb.base/range-stepping.exp
4387 * gdb.base/readline-ask.exp
4388 * gdb.base/recpar.exp
4389 * gdb.base/recurse.exp
4390 * gdb.base/relational.exp
4391 * gdb.base/restore.exp
4392 * gdb.base/return-nodebug.exp
4393 * gdb.base/return.exp
4394 * gdb.base/run-after-attach.exp
4395 * gdb.base/save-bp.exp
4396 * gdb.base/scope.exp
4397 * gdb.base/sect-cmd.exp
4398 * gdb.base/set-lang-auto.exp
4399 * gdb.base/set-noassign.exp
4400 * gdb.base/setvar.exp
4401 * gdb.base/sigall.exp
4402 * gdb.base/sigbpt.exp
4403 * gdb.base/siginfo-addr.exp
4404 * gdb.base/siginfo-infcall.exp
4405 * gdb.base/siginfo-obj.exp
4406 * gdb.base/siginfo.exp
4407 * gdb.base/signals-state-child.exp
4408 * gdb.base/signest.exp
4409 * gdb.base/sigstep.exp
4410 * gdb.base/sizeof.exp
4412 * gdb.base/solib-corrupted.exp
4413 * gdb.base/solib-nodir.exp
4414 * gdb.base/solib-search.exp
4415 * gdb.base/stack-checking.exp
4416 * gdb.base/stale-infcall.exp
4417 * gdb.base/stap-probe.exp
4418 * gdb.base/start.exp
4419 * gdb.base/step-break.exp
4420 * gdb.base/step-bt.exp
4421 * gdb.base/step-line.exp
4422 * gdb.base/step-over-exit.exp
4423 * gdb.base/step-over-syscall.exp
4424 * gdb.base/step-resume-infcall.exp
4425 * gdb.base/step-test.exp
4426 * gdb.base/store.exp
4427 * gdb.base/structs3.exp
4428 * gdb.base/sym-file.exp
4429 * gdb.base/symbol-without-target_section.exp
4431 * gdb.base/testenv.exp
4432 * gdb.base/ui-redirect.exp
4433 * gdb.base/until.exp
4434 * gdb.base/unwindonsignal.exp
4435 * gdb.base/value-double-free.exp
4436 * gdb.base/vla-datatypes.exp
4437 * gdb.base/vla-ptr.exp
4438 * gdb.base/vla-sideeffect.exp
4439 * gdb.base/volatile.exp
4440 * gdb.base/watch-cond-infcall.exp
4441 * gdb.base/watch-cond.exp
4442 * gdb.base/watch-non-mem.exp
4443 * gdb.base/watch-read.exp
4444 * gdb.base/watch-vfork.exp
4445 * gdb.base/watchpoint-cond-gone.exp
4446 * gdb.base/watchpoint-delete.exp
4447 * gdb.base/watchpoint-hw-hit-once.exp
4448 * gdb.base/watchpoint-hw.exp
4449 * gdb.base/watchpoint-stops-at-right-insn.exp
4450 * gdb.base/watchpoints.exp
4451 * gdb.base/wchar.exp
4452 * gdb.base/whatis-exp.exp
4453 * gdb.btrace/buffer-size.exp
4454 * gdb.btrace/data.exp
4455 * gdb.btrace/delta.exp
4456 * gdb.btrace/dlopen.exp
4457 * gdb.btrace/enable.exp
4458 * gdb.btrace/exception.exp
4459 * gdb.btrace/function_call_history.exp
4460 * gdb.btrace/gcore.exp
4461 * gdb.btrace/instruction_history.exp
4462 * gdb.btrace/nohist.exp
4463 * gdb.btrace/reconnect.exp
4464 * gdb.btrace/record_goto-step.exp
4465 * gdb.btrace/record_goto.exp
4466 * gdb.btrace/rn-dl-bind.exp
4467 * gdb.btrace/segv.exp
4468 * gdb.btrace/step.exp
4469 * gdb.btrace/stepi.exp
4470 * gdb.btrace/tailcall-only.exp
4471 * gdb.btrace/tailcall.exp
4472 * gdb.btrace/tsx.exp
4473 * gdb.btrace/unknown_functions.exp
4474 * gdb.btrace/vdso.exp
4475 * gdb.compile/compile-ifunc.exp
4476 * gdb.compile/compile-ops.exp
4477 * gdb.compile/compile-print.exp
4478 * gdb.compile/compile-setjmp.exp
4479 * gdb.cp/abstract-origin.exp
4480 * gdb.cp/ambiguous.exp
4481 * gdb.cp/annota2.exp
4482 * gdb.cp/annota3.exp
4483 * gdb.cp/anon-ns.exp
4484 * gdb.cp/anon-struct.exp
4485 * gdb.cp/anon-union.exp
4486 * gdb.cp/arg-reference.exp
4487 * gdb.cp/baseenum.exp
4489 * gdb.cp/breakpoint.exp
4490 * gdb.cp/bs15503.exp
4493 * gdb.cp/chained-calls.exp
4495 * gdb.cp/classes.exp
4496 * gdb.cp/cmpd-minsyms.exp
4497 * gdb.cp/converts.exp
4498 * gdb.cp/cp-relocate.exp
4499 * gdb.cp/cpcompletion.exp
4500 * gdb.cp/cpexprs.exp
4501 * gdb.cp/cplabel.exp
4502 * gdb.cp/cplusfuncs.exp
4503 * gdb.cp/cpsizeof.exp
4505 * gdb.cp/derivation.exp
4506 * gdb.cp/destrprint.exp
4507 * gdb.cp/dispcxx.exp
4508 * gdb.cp/enum-class.exp
4509 * gdb.cp/exception.exp
4510 * gdb.cp/exceptprint.exp
4511 * gdb.cp/expand-psymtabs-cxx.exp
4512 * gdb.cp/expand-sals.exp
4513 * gdb.cp/extern-c.exp
4514 * gdb.cp/filename.exp
4515 * gdb.cp/formatted-ref.exp
4516 * gdb.cp/fpointer.exp
4517 * gdb.cp/gdb1355.exp
4518 * gdb.cp/gdb2495.exp
4520 * gdb.cp/impl-this.exp
4521 * gdb.cp/infcall-dlopen.exp
4522 * gdb.cp/inherit.exp
4523 * gdb.cp/iostream.exp
4527 * gdb.cp/m-static.exp
4528 * gdb.cp/mb-ctor.exp
4529 * gdb.cp/mb-inline.exp
4530 * gdb.cp/mb-templates.exp
4531 * gdb.cp/member-name.exp
4532 * gdb.cp/member-ptr.exp
4533 * gdb.cp/meth-typedefs.exp
4535 * gdb.cp/method2.exp
4536 * gdb.cp/minsym-fallback.exp
4538 * gdb.cp/namelessclass.exp
4539 * gdb.cp/namespace-enum.exp
4540 * gdb.cp/namespace-nested-import.exp
4541 * gdb.cp/namespace.exp
4542 * gdb.cp/nextoverthrow.exp
4543 * gdb.cp/no-dmgl-verbose.exp
4544 * gdb.cp/non-trivial-retval.exp
4545 * gdb.cp/noparam.exp
4547 * gdb.cp/nsimport.exp
4548 * gdb.cp/nsnested.exp
4549 * gdb.cp/nsnoimports.exp
4550 * gdb.cp/nsrecurs.exp
4551 * gdb.cp/nsstress.exp
4552 * gdb.cp/nsusing.exp
4553 * gdb.cp/operator.exp
4554 * gdb.cp/oranking.exp
4555 * gdb.cp/overload-const.exp
4556 * gdb.cp/overload.exp
4557 * gdb.cp/ovldbreak.exp
4559 * gdb.cp/paren-type.exp
4560 * gdb.cp/parse-lang.exp
4561 * gdb.cp/pass-by-ref.exp
4562 * gdb.cp/pr-1023.exp
4563 * gdb.cp/pr-1210.exp
4565 * gdb.cp/pr10687.exp
4566 * gdb.cp/pr12028.exp
4567 * gdb.cp/pr17132.exp
4568 * gdb.cp/pr17494.exp
4572 * gdb.cp/printmethod.exp
4574 * gdb.cp/psymtab-parameter.exp
4575 * gdb.cp/ptype-cv-cp.exp
4576 * gdb.cp/ptype-flags.exp
4577 * gdb.cp/re-set-overloaded.exp
4578 * gdb.cp/ref-types.exp
4580 * gdb.cp/scope-err.exp
4583 * gdb.cp/static-method.exp
4584 * gdb.cp/static-print-quit.exp
4585 * gdb.cp/temargs.exp
4586 * gdb.cp/templates.exp
4587 * gdb.cp/try_catch.exp
4588 * gdb.cp/typedef-operator.exp
4590 * gdb.cp/userdef.exp
4591 * gdb.cp/using-crash.exp
4592 * gdb.cp/var-tag.exp
4593 * gdb.cp/virtbase.exp
4594 * gdb.cp/virtfunc.exp
4595 * gdb.cp/virtfunc2.exp
4596 * gdb.cp/vla-cxx.exp
4597 * gdb.disasm/t01_mov.exp
4598 * gdb.disasm/t02_mova.exp
4599 * gdb.disasm/t03_add.exp
4600 * gdb.disasm/t04_sub.exp
4601 * gdb.disasm/t05_cmp.exp
4602 * gdb.disasm/t06_ari2.exp
4603 * gdb.disasm/t07_ari3.exp
4604 * gdb.disasm/t08_or.exp
4605 * gdb.disasm/t09_xor.exp
4606 * gdb.disasm/t10_and.exp
4607 * gdb.disasm/t11_logs.exp
4608 * gdb.disasm/t12_bit.exp
4609 * gdb.disasm/t13_otr.exp
4610 * gdb.dlang/circular.exp
4611 * gdb.dwarf2/arr-stride.exp
4612 * gdb.dwarf2/arr-subrange.exp
4613 * gdb.dwarf2/atomic-type.exp
4614 * gdb.dwarf2/bad-regnum.exp
4615 * gdb.dwarf2/bitfield-parent-optimized-out.exp
4616 * gdb.dwarf2/callframecfa.exp
4617 * gdb.dwarf2/clztest.exp
4618 * gdb.dwarf2/corrupt.exp
4619 * gdb.dwarf2/data-loc.exp
4620 * gdb.dwarf2/dup-psym.exp
4621 * gdb.dwarf2/dw2-anon-mptr.exp
4622 * gdb.dwarf2/dw2-anonymous-func.exp
4623 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4624 * gdb.dwarf2/dw2-bad-unresolved.exp
4625 * gdb.dwarf2/dw2-basic.exp
4626 * gdb.dwarf2/dw2-canonicalize-type.exp
4627 * gdb.dwarf2/dw2-case-insensitive.exp
4628 * gdb.dwarf2/dw2-common-block.exp
4629 * gdb.dwarf2/dw2-compdir-oldgcc.exp
4630 * gdb.dwarf2/dw2-compressed.exp
4631 * gdb.dwarf2/dw2-const.exp
4632 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4633 * gdb.dwarf2/dw2-cu-size.exp
4634 * gdb.dwarf2/dw2-dup-frame.exp
4635 * gdb.dwarf2/dw2-entry-value.exp
4636 * gdb.dwarf2/dw2-icycle.exp
4637 * gdb.dwarf2/dw2-ifort-parameter.exp
4638 * gdb.dwarf2/dw2-inline-break.exp
4639 * gdb.dwarf2/dw2-inline-param.exp
4640 * gdb.dwarf2/dw2-intercu.exp
4641 * gdb.dwarf2/dw2-intermix.exp
4642 * gdb.dwarf2/dw2-lexical-block-bare.exp
4643 * gdb.dwarf2/dw2-linkage-name-trust.exp
4644 * gdb.dwarf2/dw2-minsym-in-cu.exp
4645 * gdb.dwarf2/dw2-noloc.exp
4646 * gdb.dwarf2/dw2-op-call.exp
4647 * gdb.dwarf2/dw2-op-out-param.exp
4648 * gdb.dwarf2/dw2-opt-structptr.exp
4649 * gdb.dwarf2/dw2-param-error.exp
4650 * gdb.dwarf2/dw2-producer.exp
4651 * gdb.dwarf2/dw2-ranges-base.exp
4652 * gdb.dwarf2/dw2-ref-missing-frame.exp
4653 * gdb.dwarf2/dw2-reg-undefined.exp
4654 * gdb.dwarf2/dw2-regno-invalid.exp
4655 * gdb.dwarf2/dw2-restore.exp
4656 * gdb.dwarf2/dw2-restrict.exp
4657 * gdb.dwarf2/dw2-single-line-discriminators.exp
4658 * gdb.dwarf2/dw2-strp.exp
4659 * gdb.dwarf2/dw2-undefined-ret-addr.exp
4660 * gdb.dwarf2/dw2-unresolved.exp
4661 * gdb.dwarf2/dw2-var-zero-addr.exp
4662 * gdb.dwarf2/dw4-sig-types.exp
4663 * gdb.dwarf2/dwz.exp
4664 * gdb.dwarf2/dynarr-ptr.exp
4665 * gdb.dwarf2/enum-type.exp
4666 * gdb.dwarf2/gdb-index.exp
4667 * gdb.dwarf2/implptr-64bit.exp
4668 * gdb.dwarf2/implptr-optimized-out.exp
4669 * gdb.dwarf2/implptr.exp
4670 * gdb.dwarf2/implref-array.exp
4671 * gdb.dwarf2/implref-const.exp
4672 * gdb.dwarf2/implref-global.exp
4673 * gdb.dwarf2/implref-struct.exp
4674 * gdb.dwarf2/mac-fileno.exp
4675 * gdb.dwarf2/main-subprogram.exp
4676 * gdb.dwarf2/member-ptr-forwardref.exp
4677 * gdb.dwarf2/method-ptr.exp
4678 * gdb.dwarf2/missing-sig-type.exp
4679 * gdb.dwarf2/nonvar-access.exp
4680 * gdb.dwarf2/opaque-type-lookup.exp
4681 * gdb.dwarf2/pieces-optimized-out.exp
4682 * gdb.dwarf2/pieces.exp
4683 * gdb.dwarf2/pr10770.exp
4684 * gdb.dwarf2/pr13961.exp
4685 * gdb.dwarf2/staticvirtual.exp
4686 * gdb.dwarf2/subrange.exp
4687 * gdb.dwarf2/symtab-producer.exp
4688 * gdb.dwarf2/trace-crash.exp
4689 * gdb.dwarf2/typeddwarf.exp
4690 * gdb.dwarf2/valop.exp
4691 * gdb.dwarf2/watch-notconst.exp
4692 * gdb.fortran/array-element.exp
4693 * gdb.fortran/charset.exp
4694 * gdb.fortran/common-block.exp
4695 * gdb.fortran/complex.exp
4696 * gdb.fortran/derived-type-function.exp
4697 * gdb.fortran/derived-type.exp
4698 * gdb.fortran/logical.exp
4699 * gdb.fortran/module.exp
4700 * gdb.fortran/multi-dim.exp
4701 * gdb.fortran/nested-funcs.exp
4702 * gdb.fortran/print-formatted.exp
4703 * gdb.fortran/subarray.exp
4704 * gdb.fortran/vla-alloc-assoc.exp
4705 * gdb.fortran/vla-datatypes.exp
4706 * gdb.fortran/vla-history.exp
4707 * gdb.fortran/vla-ptr-info.exp
4708 * gdb.fortran/vla-ptype-sub.exp
4709 * gdb.fortran/vla-ptype.exp
4710 * gdb.fortran/vla-sizeof.exp
4711 * gdb.fortran/vla-type.exp
4712 * gdb.fortran/vla-value-sub-arbitrary.exp
4713 * gdb.fortran/vla-value-sub-finish.exp
4714 * gdb.fortran/vla-value-sub.exp
4715 * gdb.fortran/vla-value.exp
4716 * gdb.fortran/whatis_type.exp
4718 * gdb.go/handcall.exp
4720 * gdb.go/integers.exp
4721 * gdb.go/methods.exp
4722 * gdb.go/package.exp
4723 * gdb.go/strings.exp
4726 * gdb.guile/scm-arch.exp
4727 * gdb.guile/scm-block.exp
4728 * gdb.guile/scm-breakpoint.exp
4729 * gdb.guile/scm-cmd.exp
4730 * gdb.guile/scm-disasm.exp
4731 * gdb.guile/scm-equal.exp
4732 * gdb.guile/scm-frame-args.exp
4733 * gdb.guile/scm-frame-inline.exp
4734 * gdb.guile/scm-frame.exp
4735 * gdb.guile/scm-iterator.exp
4736 * gdb.guile/scm-math.exp
4737 * gdb.guile/scm-objfile.exp
4738 * gdb.guile/scm-ports.exp
4739 * gdb.guile/scm-symbol.exp
4740 * gdb.guile/scm-symtab.exp
4741 * gdb.guile/scm-value-cc.exp
4742 * gdb.guile/types-module.exp
4743 * gdb.linespec/break-ask.exp
4744 * gdb.linespec/cpexplicit.exp
4745 * gdb.linespec/explicit.exp
4746 * gdb.linespec/keywords.exp
4747 * gdb.linespec/linespec.exp
4748 * gdb.linespec/ls-dollar.exp
4749 * gdb.linespec/ls-errs.exp
4750 * gdb.linespec/skip-two.exp
4751 * gdb.linespec/thread.exp
4752 * gdb.mi/mi-async.exp
4753 * gdb.mi/mi-basics.exp
4754 * gdb.mi/mi-break.exp
4755 * gdb.mi/mi-catch-load.exp
4757 * gdb.mi/mi-cmd-param-changed.exp
4758 * gdb.mi/mi-console.exp
4759 * gdb.mi/mi-detach.exp
4760 * gdb.mi/mi-disassemble.exp
4761 * gdb.mi/mi-eval.exp
4762 * gdb.mi/mi-file-transfer.exp
4763 * gdb.mi/mi-file.exp
4764 * gdb.mi/mi-fill-memory.exp
4765 * gdb.mi/mi-inheritance-syntax-error.exp
4766 * gdb.mi/mi-linespec-err-cp.exp
4767 * gdb.mi/mi-logging.exp
4768 * gdb.mi/mi-memory-changed.exp
4769 * gdb.mi/mi-read-memory.exp
4770 * gdb.mi/mi-record-changed.exp
4771 * gdb.mi/mi-reg-undefined.exp
4772 * gdb.mi/mi-regs.exp
4773 * gdb.mi/mi-return.exp
4774 * gdb.mi/mi-reverse.exp
4775 * gdb.mi/mi-simplerun.exp
4776 * gdb.mi/mi-solib.exp
4777 * gdb.mi/mi-stack.exp
4778 * gdb.mi/mi-stepi.exp
4779 * gdb.mi/mi-syn-frame.exp
4780 * gdb.mi/mi-until.exp
4781 * gdb.mi/mi-var-block.exp
4782 * gdb.mi/mi-var-child.exp
4783 * gdb.mi/mi-var-cmd.exp
4784 * gdb.mi/mi-var-cp.exp
4785 * gdb.mi/mi-var-display.exp
4786 * gdb.mi/mi-var-invalidate.exp
4787 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
4788 * gdb.mi/mi-vla-fortran.exp
4789 * gdb.mi/mi-watch.exp
4790 * gdb.mi/mi2-var-child.exp
4791 * gdb.mi/user-selected-context-sync.exp
4792 * gdb.modula2/unbounded-array.exp
4793 * gdb.multi/dummy-frame-restore.exp
4794 * gdb.multi/multi-arch-exec.exp
4795 * gdb.multi/multi-arch.exp
4796 * gdb.multi/tids.exp
4797 * gdb.multi/watchpoint-multi.exp
4798 * gdb.opencl/callfuncs.exp
4799 * gdb.opencl/convs_casts.exp
4800 * gdb.opencl/datatypes.exp
4801 * gdb.opencl/operators.exp
4802 * gdb.opencl/vec_comps.exp
4803 * gdb.opt/clobbered-registers-O2.exp
4804 * gdb.opt/inline-break.exp
4805 * gdb.opt/inline-bt.exp
4806 * gdb.opt/inline-cmds.exp
4807 * gdb.opt/inline-locals.exp
4808 * gdb.pascal/case-insensitive-symbols.exp
4809 * gdb.pascal/floats.exp
4810 * gdb.pascal/gdb11492.exp
4811 * gdb.python/lib-types.exp
4812 * gdb.python/py-arch.exp
4813 * gdb.python/py-as-string.exp
4814 * gdb.python/py-bad-printers.exp
4815 * gdb.python/py-block.exp
4816 * gdb.python/py-breakpoint-create-fail.exp
4817 * gdb.python/py-breakpoint.exp
4818 * gdb.python/py-caller-is.exp
4819 * gdb.python/py-cmd.exp
4820 * gdb.python/py-explore-cc.exp
4821 * gdb.python/py-explore.exp
4822 * gdb.python/py-finish-breakpoint.exp
4823 * gdb.python/py-finish-breakpoint2.exp
4824 * gdb.python/py-frame-args.exp
4825 * gdb.python/py-frame-inline.exp
4826 * gdb.python/py-frame.exp
4827 * gdb.python/py-framefilter-mi.exp
4828 * gdb.python/py-infthread.exp
4829 * gdb.python/py-lazy-string.exp
4830 * gdb.python/py-linetable.exp
4831 * gdb.python/py-mi-events.exp
4832 * gdb.python/py-mi-objfile.exp
4833 * gdb.python/py-mi.exp
4834 * gdb.python/py-objfile.exp
4835 * gdb.python/py-pp-integral.exp
4836 * gdb.python/py-pp-maint.exp
4837 * gdb.python/py-pp-re-notag.exp
4838 * gdb.python/py-pp-registration.exp
4839 * gdb.python/py-recurse-unwind.exp
4840 * gdb.python/py-strfns.exp
4841 * gdb.python/py-symbol.exp
4842 * gdb.python/py-symtab.exp
4843 * gdb.python/py-sync-interp.exp
4844 * gdb.python/py-typeprint.exp
4845 * gdb.python/py-unwind-maint.exp
4846 * gdb.python/py-unwind.exp
4847 * gdb.python/py-value-cc.exp
4848 * gdb.python/py-xmethods.exp
4849 * gdb.reverse/amd64-tailcall-reverse.exp
4850 * gdb.reverse/break-precsave.exp
4851 * gdb.reverse/break-reverse.exp
4852 * gdb.reverse/consecutive-precsave.exp
4853 * gdb.reverse/consecutive-reverse.exp
4854 * gdb.reverse/finish-precsave.exp
4855 * gdb.reverse/finish-reverse-bkpt.exp
4856 * gdb.reverse/finish-reverse.exp
4857 * gdb.reverse/fstatat-reverse.exp
4858 * gdb.reverse/getresuid-reverse.exp
4859 * gdb.reverse/i386-precsave.exp
4860 * gdb.reverse/i386-reverse.exp
4861 * gdb.reverse/i386-sse-reverse.exp
4862 * gdb.reverse/i387-env-reverse.exp
4863 * gdb.reverse/i387-stack-reverse.exp
4864 * gdb.reverse/insn-reverse.exp
4865 * gdb.reverse/machinestate-precsave.exp
4866 * gdb.reverse/machinestate.exp
4867 * gdb.reverse/next-reverse-bkpt-over-sr.exp
4868 * gdb.reverse/pipe-reverse.exp
4869 * gdb.reverse/readv-reverse.exp
4870 * gdb.reverse/recvmsg-reverse.exp
4871 * gdb.reverse/rerun-prec.exp
4872 * gdb.reverse/s390-mvcle.exp
4873 * gdb.reverse/step-precsave.exp
4874 * gdb.reverse/step-reverse.exp
4875 * gdb.reverse/time-reverse.exp
4876 * gdb.reverse/until-precsave.exp
4877 * gdb.reverse/until-reverse.exp
4878 * gdb.reverse/waitpid-reverse.exp
4879 * gdb.reverse/watch-precsave.exp
4880 * gdb.reverse/watch-reverse.exp
4881 * gdb.rust/generics.exp
4882 * gdb.rust/methods.exp
4883 * gdb.rust/modules.exp
4884 * gdb.rust/simple.exp
4885 * gdb.server/connect-with-no-symbol-file.exp
4886 * gdb.server/ext-attach.exp
4887 * gdb.server/ext-restart.exp
4888 * gdb.server/ext-wrapper.exp
4889 * gdb.server/file-transfer.exp
4890 * gdb.server/server-exec-info.exp
4891 * gdb.server/server-kill.exp
4892 * gdb.server/server-mon.exp
4893 * gdb.server/wrapper.exp
4894 * gdb.stabs/exclfwd.exp
4895 * gdb.stabs/gdb11479.exp
4896 * gdb.threads/clone-new-thread-event.exp
4897 * gdb.threads/corethreads.exp
4898 * gdb.threads/current-lwp-dead.exp
4899 * gdb.threads/dlopen-libpthread.exp
4900 * gdb.threads/gcore-thread.exp
4901 * gdb.threads/sigstep-threads.exp
4902 * gdb.threads/watchpoint-fork.exp
4903 * gdb.trace/actions-changed.exp
4904 * gdb.trace/backtrace.exp
4905 * gdb.trace/change-loc.exp
4906 * gdb.trace/circ.exp
4907 * gdb.trace/collection.exp
4908 * gdb.trace/disconnected-tracing.exp
4909 * gdb.trace/ftrace.exp
4910 * gdb.trace/mi-trace-frame-collected.exp
4911 * gdb.trace/mi-trace-unavailable.exp
4912 * gdb.trace/mi-traceframe-changed.exp
4913 * gdb.trace/mi-tsv-changed.exp
4914 * gdb.trace/no-attach-trace.exp
4915 * gdb.trace/passc-dyn.exp
4916 * gdb.trace/qtro.exp
4917 * gdb.trace/range-stepping.exp
4918 * gdb.trace/read-memory.exp
4919 * gdb.trace/save-trace.exp
4920 * gdb.trace/signal.exp
4921 * gdb.trace/status-stop.exp
4922 * gdb.trace/tfile.exp
4923 * gdb.trace/trace-break.exp
4924 * gdb.trace/trace-buffer-size.exp
4925 * gdb.trace/trace-condition.exp
4926 * gdb.trace/tracefile-pseudo-reg.exp
4927 * gdb.trace/tstatus.exp
4928 * gdb.trace/unavailable.exp
4929 * gdb.trace/while-dyn.exp
4930 * gdb.trace/while-stepping.exp
4932 2016-12-22 Doug Evans <xdje42@gmail.com>
4934 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
4937 2016-12-19 Yao Qi <yao.qi@linaro.org>
4939 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
4940 (test_with_self): Don't call do_steps_and_nexts, and remove
4941 code about stepping into xmalloc.
4943 2016-12-09 Yao Qi <yao.qi@linaro.org>
4945 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
4947 2016-12-09 Yao Qi <yao.qi@linaro.org>
4949 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
4951 2016-12-09 Pedro Alves <palves@redhat.com>
4953 * gdb.base/all-architectures-0.exp: New file.
4954 * gdb.base/all-architectures-1.exp: New file.
4955 * gdb.base/all-architectures-2.exp: New file.
4956 * gdb.base/all-architectures-3.exp: New file.
4957 * gdb.base/all-architectures-4.exp: New file.
4958 * gdb.base/all-architectures-5.exp: New file.
4959 * gdb.base/all-architectures-6.exp: New file.
4960 * gdb.base/all-architectures-7.exp: New file.
4961 * gdb.base/all-architectures.exp.in: New file.
4963 2016-12-09 Yao Qi <yao.qi@linaro.org>
4965 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
4967 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4969 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
4971 Remove useless pattern-matching code.
4973 2016-12-02 Pedro Alves <palves@redhat.com>
4975 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
4977 (top level): Call it.
4979 2016-12-02 Pedro Alves <palves@redhat.com>
4981 * gdb.base/commands.exp (user_defined_command_args_stack_test):
4983 (top level): Call it.
4985 2016-12-02 Pedro Alves <palves@redhat.com>
4988 * gdb.base/commands.exp (user_defined_command_args_eval): New
4990 (top level): Call it.
4992 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
4994 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
4997 2016-12-02 Tom Tromey <tom@tromey.com>
4999 * gdb.dwarf2/main-subprogram.c: New file.
5000 * gdb.dwarf2/main-subprogram.exp: New file.
5002 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5004 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
5005 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
5006 gdb_test_no_output for a couple of cases.
5007 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
5009 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5011 Fix test names and standardize compilation error messages throughout
5012 the following files:
5015 * gdb.arch/alpha-step.exp
5016 * gdb.arch/e500-prologue.exp
5017 * gdb.arch/ftrace-insn-reloc.exp
5018 * gdb.arch/gdb1291.exp
5019 * gdb.arch/gdb1431.exp
5020 * gdb.arch/gdb1558.exp
5021 * gdb.arch/i386-dr3-watch.exp
5022 * gdb.arch/i386-sse-stack-align.exp
5023 * gdb.arch/ia64-breakpoint-shadow.exp
5024 * gdb.arch/pa-nullify.exp
5025 * gdb.arch/powerpc-aix-prologue.exp
5026 * gdb.arch/thumb-bx-pc.exp
5027 * gdb.base/annota1.exp
5028 * gdb.base/annota3.exp
5029 * gdb.base/arrayidx.exp
5030 * gdb.base/assign.exp
5031 * gdb.base/attach.exp
5034 * gdb.base/bfp-test.exp
5035 * gdb.base/bigcore.exp
5036 * gdb.base/bitfields2.exp
5037 * gdb.base/break-fun-addr.exp
5038 * gdb.base/break-probes.exp
5039 * gdb.base/call-rt-st.exp
5040 * gdb.base/callexit.exp
5041 * gdb.base/catch-fork-kill.exp
5042 * gdb.base/charset.exp
5043 * gdb.base/checkpoint.exp
5044 * gdb.base/comprdebug.exp
5045 * gdb.base/constvars.exp
5046 * gdb.base/coredump-filter.exp
5047 * gdb.base/cursal.exp
5048 * gdb.base/cvexpr.exp
5049 * gdb.base/detach.exp
5050 * gdb.base/display.exp
5051 * gdb.base/dmsym.exp
5052 * gdb.base/dprintf-pending.exp
5053 * gdb.base/dso2dso.exp
5054 * gdb.base/dtrace-probe.exp
5056 * gdb.base/enum_cond.exp
5057 * gdb.base/exe-lock.exp
5058 * gdb.base/exec-invalid-sysroot.exp
5059 * gdb.base/execl-update-breakpoints.exp
5060 * gdb.base/exprs.exp
5061 * gdb.base/fileio.exp
5063 * gdb.base/finish.exp
5064 * gdb.base/fixsection.exp
5065 * gdb.base/foll-vfork.exp
5066 * gdb.base/frame-args.exp
5067 * gdb.base/gcore.exp
5068 * gdb.base/gdb1250.exp
5069 * gdb.base/global-var-nested-by-dso.exp
5070 * gdb.base/gnu-ifunc.exp
5071 * gdb.base/hashline1.exp
5072 * gdb.base/hashline2.exp
5073 * gdb.base/hashline3.exp
5074 * gdb.base/hbreak-in-shr-unsupported.exp
5076 * gdb.base/infcall-input.exp
5077 * gdb.base/info-fun.exp
5078 * gdb.base/info-shared.exp
5079 * gdb.base/jit-simple.exp
5080 * gdb.base/jit-so.exp
5083 * gdb.base/label.exp
5084 * gdb.base/lineinc.exp
5085 * gdb.base/logical.exp
5086 * gdb.base/longjmp.exp
5087 * gdb.base/macscp.exp
5088 * gdb.base/miscexprs.exp
5089 * gdb.base/new-ui-echo.exp
5090 * gdb.base/new-ui-pending-input.exp
5091 * gdb.base/new-ui.exp
5092 * gdb.base/nodebug.exp
5093 * gdb.base/nofield.exp
5094 * gdb.base/offsets.exp
5095 * gdb.base/overlays.exp
5096 * gdb.base/pending.exp
5097 * gdb.base/pointers.exp
5098 * gdb.base/pr11022.exp
5099 * gdb.base/printcmds.exp
5100 * gdb.base/prologue.exp
5101 * gdb.base/ptr-typedef.exp
5102 * gdb.base/realname-expand.exp
5103 * gdb.base/relativedebug.exp
5104 * gdb.base/relocate.exp
5105 * gdb.base/remote.exp
5106 * gdb.base/reread.exp
5107 * gdb.base/return2.exp
5108 * gdb.base/savedregs.exp
5110 * gdb.base/sepdebug.exp
5111 * gdb.base/sepsymtab.exp
5112 * gdb.base/set-inferior-tty.exp
5113 * gdb.base/setshow.exp
5114 * gdb.base/shlib-call.exp
5115 * gdb.base/sigaltstack.exp
5116 * gdb.base/siginfo-addr.exp
5117 * gdb.base/signals.exp
5118 * gdb.base/signull.exp
5119 * gdb.base/sigrepeat.exp
5120 * gdb.base/so-impl-ld.exp
5121 * gdb.base/solib-display.exp
5122 * gdb.base/solib-overlap.exp
5123 * gdb.base/solib-search.exp
5124 * gdb.base/solib-symbol.exp
5125 * gdb.base/structs.exp
5126 * gdb.base/structs2.exp
5127 * gdb.base/symtab-search-order.exp
5128 * gdb.base/twice.exp
5129 * gdb.base/unload.exp
5130 * gdb.base/varargs.exp
5131 * gdb.base/watchpoint-solib.exp
5132 * gdb.base/watchpoint.exp
5133 * gdb.base/whatis.exp
5134 * gdb.base/wrong_frame_bt_full.exp
5135 * gdb.btrace/dlopen.exp
5136 * gdb.cell/ea-standalone.exp
5137 * gdb.cell/ea-test.exp
5138 * gdb.cp/dispcxx.exp
5139 * gdb.cp/gdb2384.exp
5140 * gdb.cp/method2.exp
5141 * gdb.cp/nextoverthrow.exp
5142 * gdb.cp/pr10728.exp
5143 * gdb.disasm/am33.exp
5144 * gdb.disasm/h8300s.exp
5145 * gdb.disasm/mn10300.exp
5146 * gdb.disasm/sh3.exp
5147 * gdb.dwarf2/dw2-dir-file-name.exp
5148 * gdb.fortran/complex.exp
5149 * gdb.fortran/library-module.exp
5150 * gdb.guile/scm-pretty-print.exp
5151 * gdb.guile/scm-symbol.exp
5152 * gdb.guile/scm-type.exp
5153 * gdb.guile/scm-value.exp
5154 * gdb.linespec/linespec.exp
5157 * gdb.mi/mi-breakpoint-changed.exp
5158 * gdb.mi/mi-dprintf-pending.exp
5159 * gdb.mi/mi-dprintf.exp
5160 * gdb.mi/mi-exit-code.exp
5161 * gdb.mi/mi-pending.exp
5162 * gdb.mi/mi-solib.exp
5163 * gdb.mi/new-ui-mi-sync.exp
5164 * gdb.mi/pr11022.exp
5165 * gdb.mi/user-selected-context-sync.exp
5166 * gdb.opt/solib-intra-step.exp
5167 * gdb.python/py-events.exp
5168 * gdb.python/py-finish-breakpoint.exp
5169 * gdb.python/py-mi.exp
5170 * gdb.python/py-prettyprint.exp
5171 * gdb.python/py-shared.exp
5172 * gdb.python/py-symbol.exp
5173 * gdb.python/py-template.exp
5174 * gdb.python/py-type.exp
5175 * gdb.python/py-value.exp
5176 * gdb.reverse/solib-precsave.exp
5177 * gdb.reverse/solib-reverse.exp
5178 * gdb.server/solib-list.exp
5179 * gdb.stabs/weird.exp
5180 * gdb.threads/reconnect-signal.exp
5181 * gdb.threads/stepi-random-signal.exp
5182 * gdb.trace/actions.exp
5184 * gdb.trace/backtrace.exp
5185 * gdb.trace/change-loc.exp
5186 * gdb.trace/deltrace.exp
5187 * gdb.trace/ftrace-lock.exp
5188 * gdb.trace/ftrace.exp
5189 * gdb.trace/infotrace.exp
5190 * gdb.trace/mi-tracepoint-changed.exp
5191 * gdb.trace/packetlen.exp
5192 * gdb.trace/passcount.exp
5193 * gdb.trace/pending.exp
5194 * gdb.trace/range-stepping.exp
5195 * gdb.trace/report.exp
5196 * gdb.trace/stap-trace.exp
5197 * gdb.trace/tfind.exp
5198 * gdb.trace/trace-break.exp
5199 * gdb.trace/trace-condition.exp
5200 * gdb.trace/trace-enable-disable.exp
5201 * gdb.trace/trace-mt.exp
5202 * gdb.trace/tracecmd.exp
5203 * gdb.trace/tspeed.exp
5207 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5209 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
5210 with gdb_test_no_output.
5211 Use command as test name.
5213 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5215 Fix test names starting with uppercase throughout the files.
5217 * gdb.ada/assign_1.exp
5218 * gdb.ada/boolean_expr.exp
5219 * gdb.base/arrayidx.exp
5221 * gdb.base/gcore-buffer-overflow.exp
5222 * gdb.base/testenv.exp
5223 * gdb.compile/compile.exp
5224 * gdb.python/py-framefilter-invalidarg.exp
5225 * gdb.python/py-framefilter.exp
5227 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5229 Fix test names starting with uppercase throughout the files.
5231 * gdb.ada/array_return.exp
5232 * gdb.ada/expr_delims.exp
5233 * gdb.ada/mi_dyn_arr.exp
5234 * gdb.ada/mi_interface.exp
5235 * gdb.ada/mi_var_array.exp
5236 * gdb.ada/watch_arg.exp
5237 * gdb.arch/alpha-step.exp
5238 * gdb.arch/altivec-regs.exp
5239 * gdb.arch/e500-regs.exp
5240 * gdb.arch/powerpc-d128-regs.exp
5241 * gdb.base/arrayidx.exp
5242 * gdb.base/break.exp
5243 * gdb.base/checkpoint.exp
5244 * gdb.base/debug-expr.exp
5245 * gdb.base/dmsym.exp
5246 * gdb.base/radix.exp
5247 * gdb.base/sepdebug.exp
5248 * gdb.base/testenv.exp
5249 * gdb.base/watch_thread_num.exp
5250 * gdb.base/watchpoint-cond-gone.exp
5251 * gdb.cell/break.exp
5252 * gdb.cell/ea-cache.exp
5253 * gdb.compile/compile.exp
5254 * gdb.cp/gdb2495.exp
5255 * gdb.gdb/selftest.exp
5256 * gdb.gdb/xfullpath.exp
5258 * gdb.go/integers.exp
5259 * gdb.objc/basicclass.exp
5260 * gdb.pascal/hello.exp
5261 * gdb.pascal/integers.exp
5262 * gdb.python/py-breakpoint.exp
5263 * gdb.python/py-cmd.exp
5264 * gdb.python/py-linetable.exp
5265 * gdb.python/py-xmethods.exp
5266 * gdb.python/python.exp
5267 * gdb.reverse/consecutive-precsave.exp
5268 * gdb.reverse/finish-precsave.exp
5269 * gdb.reverse/i386-precsave.exp
5270 * gdb.reverse/machinestate-precsave.exp
5271 * gdb.reverse/sigall-precsave.exp
5272 * gdb.reverse/solib-precsave.exp
5273 * gdb.reverse/step-precsave.exp
5274 * gdb.reverse/until-precsave.exp
5275 * gdb.reverse/watch-precsave.exp
5276 * gdb.threads/leader-exit.exp
5277 * gdb.threads/pthreads.exp
5278 * gdb.threads/wp-replication.exp
5279 * gdb.trace/actions.exp
5280 * gdb.trace/mi-tsv-changed.exp
5283 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5285 Fix test names starting with uppercase throughout the files.
5287 * gdb.arch/i386-bp_permanent.exp
5288 * gdb.arch/i386-gnu-cfi.exp
5289 * gdb.base/disasm-end-cu.exp
5290 * gdb.base/macscp.exp
5291 * gdb.base/pending.exp
5292 * gdb.base/watch_thread_num.exp
5293 * gdb.cp/exception.exp
5294 * gdb.cp/gdb2495.exp
5296 * gdb.python/py-evsignal.exp
5297 * gdb.python/python.exp
5298 * gdb.trace/tracecmd.exp
5300 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5302 Fix test names starting with uppercase throughout the files.
5304 * gdb.base/charset.exp
5306 * gdb.base/multi-forks.exp
5307 * gdb.guile/scm-progspace.exp
5308 * gdb.opencl/datatypes.exp
5309 * gdb.python/py-block.exp
5310 * gdb.python/py-function.exp
5311 * gdb.python/py-symbol.exp
5312 * gdb.python/py-symtab.exp
5313 * gdb.python/py-xmethods.exp
5314 * gdb.reverse/break-precsave.exp
5315 * gdb.reverse/break-reverse.exp
5316 * gdb.reverse/consecutive-precsave.exp
5317 * gdb.reverse/consecutive-reverse.exp
5318 * gdb.reverse/finish-precsave.exp
5319 * gdb.reverse/finish-reverse-bkpt.exp
5320 * gdb.reverse/finish-reverse.exp
5321 * gdb.reverse/fstatat-reverse.exp
5322 * gdb.reverse/getresuid-reverse.exp
5323 * gdb.reverse/i386-precsave.exp
5324 * gdb.reverse/i386-reverse.exp
5325 * gdb.reverse/i386-sse-reverse.exp
5326 * gdb.reverse/i387-stack-reverse.exp
5327 * gdb.reverse/insn-reverse.exp
5328 * gdb.reverse/machinestate-precsave.exp
5329 * gdb.reverse/machinestate.exp
5330 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5331 * gdb.reverse/pipe-reverse.exp
5332 * gdb.reverse/readv-reverse.exp
5333 * gdb.reverse/recvmsg-reverse.exp
5334 * gdb.reverse/rerun-prec.exp
5335 * gdb.reverse/s390-mvcle.exp
5336 * gdb.reverse/sigall-precsave.exp
5337 * gdb.reverse/sigall-reverse.exp
5338 * gdb.reverse/solib-precsave.exp
5339 * gdb.reverse/solib-reverse.exp
5340 * gdb.reverse/step-precsave.exp
5341 * gdb.reverse/step-reverse.exp
5342 * gdb.reverse/time-reverse.exp
5343 * gdb.reverse/until-precsave.exp
5344 * gdb.reverse/until-reverse.exp
5345 * gdb.reverse/waitpid-reverse.exp
5346 * gdb.reverse/watch-precsave.exp
5347 * gdb.reverse/watch-reverse.exp
5349 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5351 Fix test names starting with uppercase throughout the files.
5353 * gdb.arch/i386-mpx-simple_segv.exp
5354 * gdb.arch/i386-mpx.exp
5355 * gdb.arch/i386-permbkpt.exp
5356 * gdb.arch/pa-nullify.exp
5357 * gdb.arch/powerpc-d128-regs.exp
5358 * gdb.arch/vsx-regs.exp
5359 * gdb.base/bfp-test.exp
5360 * gdb.base/break.exp
5361 * gdb.base/breakpoint-shadow.exp
5362 * gdb.base/callfuncs.exp
5363 * gdb.base/charset.exp
5364 * gdb.base/commands.exp
5365 * gdb.base/completion.exp
5366 * gdb.base/dfp-test.exp
5368 * gdb.base/ending-run.exp
5370 * gdb.base/expand-psymtabs.exp
5371 * gdb.base/float128.exp
5372 * gdb.base/floatn.exp
5373 * gdb.base/foll-exec-mode.exp
5374 * gdb.base/gdb1056.exp
5375 * gdb.base/gdb11531.exp
5376 * gdb.base/kill-after-signal.exp
5377 * gdb.base/multi-forks.exp
5378 * gdb.base/overlays.exp
5379 * gdb.base/pending.exp
5380 * gdb.base/sepdebug.exp
5381 * gdb.base/testenv.exp
5382 * gdb.base/valgrind-db-attach.exp
5383 * gdb.base/watch_thread_num.exp
5384 * gdb.base/watchpoint-cond-gone.exp
5385 * gdb.base/watchpoint.exp
5386 * gdb.base/watchpoints.exp
5387 * gdb.cp/arg-reference.exp
5388 * gdb.cp/baseenum.exp
5389 * gdb.cp/operator.exp
5391 * gdb.dwarf2/dw2-op-out-param.exp
5392 * gdb.dwarf2/dw2-reg-undefined.exp
5395 * gdb.go/integers.exp
5396 * gdb.go/methods.exp
5397 * gdb.go/package.exp
5398 * gdb.guile/scm-parameter.exp
5399 * gdb.guile/scm-progspace.exp
5400 * gdb.guile/scm-value.exp
5401 * gdb.mi/mi-pending.exp
5402 * gdb.mi/user-selected-context-sync.exp
5403 * gdb.multi/multi-attach.exp
5404 * gdb.multi/tids.exp
5405 * gdb.opt/clobbered-registers-O2.exp
5406 * gdb.pascal/floats.exp
5407 * gdb.pascal/integers.exp
5408 * gdb.python/py-block.exp
5409 * gdb.python/py-events.exp
5410 * gdb.python/py-parameter.exp
5411 * gdb.python/py-symbol.exp
5412 * gdb.python/py-symtab.exp
5413 * gdb.python/py-type.exp
5414 * gdb.python/py-value.exp
5415 * gdb.python/py-xmethods.exp
5416 * gdb.python/python.exp
5417 * gdb.reverse/break-precsave.exp
5418 * gdb.reverse/consecutive-precsave.exp
5419 * gdb.reverse/finish-precsave.exp
5420 * gdb.reverse/i386-precsave.exp
5421 * gdb.reverse/machinestate-precsave.exp
5422 * gdb.reverse/sigall-precsave.exp
5423 * gdb.reverse/solib-precsave.exp
5424 * gdb.reverse/step-precsave.exp
5425 * gdb.reverse/until-precsave.exp
5426 * gdb.reverse/watch-precsave.exp
5427 * gdb.server/ext-attach.exp
5428 * gdb.server/ext-restart.exp
5429 * gdb.server/ext-run.exp
5430 * gdb.server/ext-wrapper.exp
5431 * gdb.stabs/gdb11479.exp
5432 * gdb.stabs/weird.exp
5433 * gdb.threads/attach-many-short-lived-threads.exp
5434 * gdb.threads/kill.exp
5435 * gdb.threads/watchpoint-fork.exp
5437 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
5439 Fix test names starting with uppercase throughout all the files below.
5441 * gdb.ada/array_return.exp
5442 * gdb.ada/catch_ex.exp
5443 * gdb.ada/info_exc.exp
5444 * gdb.ada/mi_catch_ex.exp
5445 * gdb.ada/mi_dyn_arr.exp
5446 * gdb.ada/mi_ex_cond.exp
5447 * gdb.ada/mi_exc_info.exp
5448 * gdb.ada/mi_interface.exp
5449 * gdb.ada/mi_task_arg.exp
5450 * gdb.ada/mi_task_info.exp
5451 * gdb.ada/mi_var_array.exp
5452 * gdb.arch/alpha-step.exp
5453 * gdb.arch/amd64-disp-step.exp
5454 * gdb.arch/arm-disp-step.exp
5455 * gdb.arch/disp-step-insn-reloc.exp
5456 * gdb.arch/e500-prologue.exp
5457 * gdb.arch/ftrace-insn-reloc.exp
5458 * gdb.arch/gdb1558.exp
5459 * gdb.arch/i386-bp_permanent.exp
5460 * gdb.arch/i386-disp-step.exp
5461 * gdb.arch/i386-float.exp
5462 * gdb.arch/i386-gnu-cfi.exp
5463 * gdb.arch/ia64-breakpoint-shadow.exp
5464 * gdb.arch/mips16-thunks.exp
5465 * gdb.arch/pa-nullify.exp
5466 * gdb.arch/powerpc-aix-prologue.exp
5467 * gdb.arch/powerpc-power.exp
5468 * gdb.arch/ppc-dfp.exp
5469 * gdb.arch/s390-tdbregs.exp
5470 * gdb.arch/spu-info.exp
5471 * gdb.arch/spu-ls.exp
5472 * gdb.arch/thumb-bx-pc.exp
5473 * gdb.base/advance.exp
5474 * gdb.base/annota-input-while-running.exp
5475 * gdb.base/arrayidx.exp
5476 * gdb.base/asmlabel.exp
5477 * gdb.base/async.exp
5478 * gdb.base/attach-wait-input.exp
5479 * gdb.base/auto-connect-native-target.exp
5480 * gdb.base/batch-preserve-term-settings.exp
5481 * gdb.base/bfp-test.exp
5482 * gdb.base/bigcore.exp
5483 * gdb.base/bp-permanent.exp
5484 * gdb.base/break-always.exp
5485 * gdb.base/break-fun-addr.exp
5486 * gdb.base/break-idempotent.exp
5487 * gdb.base/break-main-file-remove-fail.exp
5488 * gdb.base/break-probes.exp
5489 * gdb.base/break-unload-file.exp
5490 * gdb.base/break.exp
5491 * gdb.base/call-ar-st.exp
5492 * gdb.base/call-rt-st.exp
5493 * gdb.base/call-sc.exp
5494 * gdb.base/call-signal-resume.exp
5495 * gdb.base/call-strs.exp
5496 * gdb.base/callexit.exp
5497 * gdb.base/callfuncs.exp
5498 * gdb.base/catch-gdb-caused-signals.exp
5499 * gdb.base/catch-signal-siginfo-cond.exp
5500 * gdb.base/catch-syscall.exp
5501 * gdb.base/compare-sections.exp
5502 * gdb.base/cond-eval-mode.exp
5503 * gdb.base/condbreak-call-false.exp
5504 * gdb.base/consecutive-step-over.exp
5505 * gdb.base/cursal.exp
5506 * gdb.base/disabled-location.exp
5507 * gdb.base/disasm-end-cu.exp
5508 * gdb.base/display.exp
5509 * gdb.base/double-prompt-target-event-error.exp
5510 * gdb.base/dprintf-bp-same-addr.exp
5511 * gdb.base/dprintf-detach.exp
5512 * gdb.base/dprintf-next.exp
5513 * gdb.base/dprintf-non-stop.exp
5514 * gdb.base/dprintf-pending.exp
5515 * gdb.base/dso2dso.exp
5516 * gdb.base/ending-run.exp
5517 * gdb.base/enum_cond.exp
5518 * gdb.base/examine-backward.exp
5519 * gdb.base/exe-lock.exp
5520 * gdb.base/exec-invalid-sysroot.exp
5521 * gdb.base/execl-update-breakpoints.exp
5522 * gdb.base/execution-termios.exp
5523 * gdb.base/fileio.exp
5524 * gdb.base/fixsection.exp
5525 * gdb.base/foll-exec-mode.exp
5526 * gdb.base/foll-exec.exp
5527 * gdb.base/fork-running-state.exp
5528 * gdb.base/frame-args.exp
5529 * gdb.base/fullpath-expand.exp
5530 * gdb.base/func-ptr.exp
5531 * gdb.base/gcore-relro-pie.exp
5532 * gdb.base/gdb1090.exp
5533 * gdb.base/gdb1555.exp
5534 * gdb.base/global-var-nested-by-dso.exp
5535 * gdb.base/gnu-ifunc.exp
5536 * gdb.base/hbreak-in-shr-unsupported.exp
5537 * gdb.base/hbreak-unmapped.exp
5538 * gdb.base/hook-stop.exp
5539 * gdb.base/infcall-input.exp
5540 * gdb.base/info-fun.exp
5541 * gdb.base/info-shared.exp
5542 * gdb.base/interrupt-noterm.exp
5543 * gdb.base/jit-so.exp
5545 * gdb.base/line-symtabs.exp
5547 * gdb.base/longjmp.exp
5548 * gdb.base/macscp.exp
5549 * gdb.base/max-value-size.exp
5550 * gdb.base/nodebug.exp
5551 * gdb.base/nofield.exp
5552 * gdb.base/overlays.exp
5553 * gdb.base/paginate-after-ctrl-c-running.exp
5554 * gdb.base/paginate-bg-execution.exp
5555 * gdb.base/paginate-inferior-exit.exp
5556 * gdb.base/pending.exp
5557 * gdb.base/pr11022.exp
5558 * gdb.base/printcmds.exp
5559 * gdb.base/ptr-typedef.exp
5560 * gdb.base/ptype.exp
5561 * gdb.base/randomize.exp
5562 * gdb.base/range-stepping.exp
5563 * gdb.base/realname-expand.exp
5564 * gdb.base/relativedebug.exp
5565 * gdb.base/remote.exp
5566 * gdb.base/savedregs.exp
5567 * gdb.base/sepdebug.exp
5568 * gdb.base/set-noassign.exp
5569 * gdb.base/shlib-call.exp
5570 * gdb.base/shreloc.exp
5571 * gdb.base/sigaltstack.exp
5572 * gdb.base/sigbpt.exp
5573 * gdb.base/siginfo-addr.exp
5574 * gdb.base/siginfo-obj.exp
5575 * gdb.base/siginfo-thread.exp
5576 * gdb.base/signest.exp
5577 * gdb.base/signull.exp
5578 * gdb.base/sigrepeat.exp
5580 * gdb.base/so-impl-ld.exp
5581 * gdb.base/solib-corrupted.exp
5582 * gdb.base/solib-disc.exp
5583 * gdb.base/solib-display.exp
5584 * gdb.base/solib-overlap.exp
5585 * gdb.base/solib-search.exp
5586 * gdb.base/solib-symbol.exp
5587 * gdb.base/source-execution.exp
5588 * gdb.base/sss-bp-on-user-bp-2.exp
5589 * gdb.base/sss-bp-on-user-bp.exp
5590 * gdb.base/stack-checking.exp
5591 * gdb.base/stale-infcall.exp
5592 * gdb.base/step-break.exp
5593 * gdb.base/step-line.exp
5594 * gdb.base/step-over-exit.exp
5595 * gdb.base/step-test.exp
5596 * gdb.base/structs.exp
5597 * gdb.base/sym-file.exp
5598 * gdb.base/symtab-search-order.exp
5600 * gdb.base/type-opaque.exp
5601 * gdb.base/unload.exp
5602 * gdb.base/until-nodebug.exp
5603 * gdb.base/until.exp
5604 * gdb.base/unwindonsignal.exp
5605 * gdb.base/watch-cond.exp
5606 * gdb.base/watch-non-mem.exp
5607 * gdb.base/watch_thread_num.exp
5608 * gdb.base/watchpoint-reuse-slot.exp
5609 * gdb.base/watchpoint-solib.exp
5610 * gdb.base/watchpoint.exp
5611 * gdb.btrace/dlopen.exp
5613 * gdb.cell/break.exp
5617 * gdb.cell/dwarfaddr.exp
5618 * gdb.cell/ea-cache.exp
5619 * gdb.cell/ea-standalone.exp
5620 * gdb.cell/ea-test.exp
5621 * gdb.cell/f-regs.exp
5623 * gdb.cell/gcore.exp
5624 * gdb.cell/mem-access.exp
5625 * gdb.cell/ptype.exp
5626 * gdb.cell/registers.exp
5627 * gdb.cell/sizeof.exp
5628 * gdb.cell/solib-symbol.exp
5629 * gdb.cell/solib.exp
5630 * gdb.compile/compile-tls.exp
5631 * gdb.cp/exception.exp
5632 * gdb.cp/gdb2495.exp
5634 * gdb.cp/mb-inline.exp
5635 * gdb.cp/mb-templates.exp
5636 * gdb.cp/pr10687.exp
5638 * gdb.cp/scope-err.exp
5639 * gdb.cp/templates.exp
5640 * gdb.cp/virtfunc.exp
5641 * gdb.dwarf2/dw2-dir-file-name.exp
5642 * gdb.dwarf2/dw2-single-line-discriminators.exp
5643 * gdb.fortran/complex.exp
5644 * gdb.fortran/library-module.exp
5645 * gdb.guile/guile.exp
5646 * gdb.guile/scm-cmd.exp
5647 * gdb.guile/scm-frame-inline.exp
5648 * gdb.guile/scm-objfile.exp
5649 * gdb.guile/scm-pretty-print.exp
5650 * gdb.guile/scm-symbol.exp
5651 * gdb.guile/scm-type.exp
5652 * gdb.guile/scm-value.exp
5653 * gdb.linespec/keywords.exp
5654 * gdb.linespec/ls-errs.exp
5655 * gdb.linespec/macro-relative.exp
5656 * gdb.linespec/thread.exp
5657 * gdb.mi/mi-breakpoint-changed.exp
5658 * gdb.mi/mi-dprintf-pending.exp
5659 * gdb.mi/mi-fullname-deleted.exp
5660 * gdb.mi/mi-logging.exp
5661 * gdb.mi/mi-pending.exp
5662 * gdb.mi/mi-solib.exp
5663 * gdb.mi/new-ui-mi-sync.exp
5664 * gdb.mi/user-selected-context-sync.exp
5665 * gdb.multi/dummy-frame-restore.exp
5666 * gdb.multi/multi-arch-exec.exp
5667 * gdb.multi/remove-inferiors.exp
5668 * gdb.multi/watchpoint-multi-exit.exp
5669 * gdb.opt/solib-intra-step.exp
5670 * gdb.perf/backtrace.exp
5671 * gdb.perf/single-step.exp
5672 * gdb.perf/skip-command.exp
5673 * gdb.perf/skip-prologue.exp
5674 * gdb.perf/solib.exp
5675 * gdb.python/lib-types.exp
5676 * gdb.python/py-as-string.exp
5677 * gdb.python/py-bad-printers.exp
5678 * gdb.python/py-block.exp
5679 * gdb.python/py-breakpoint.exp
5680 * gdb.python/py-cmd.exp
5681 * gdb.python/py-events.exp
5682 * gdb.python/py-evthreads.exp
5683 * gdb.python/py-finish-breakpoint.exp
5684 * gdb.python/py-finish-breakpoint2.exp
5685 * gdb.python/py-frame-inline.exp
5686 * gdb.python/py-frame.exp
5687 * gdb.python/py-inferior.exp
5688 * gdb.python/py-infthread.exp
5689 * gdb.python/py-mi.exp
5690 * gdb.python/py-objfile.exp
5691 * gdb.python/py-pp-maint.exp
5692 * gdb.python/py-pp-registration.exp
5693 * gdb.python/py-prettyprint.exp
5694 * gdb.python/py-recurse-unwind.exp
5695 * gdb.python/py-shared.exp
5696 * gdb.python/py-symbol.exp
5697 * gdb.python/py-symtab.exp
5698 * gdb.python/py-template.exp
5699 * gdb.python/py-type.exp
5700 * gdb.python/py-unwind-maint.exp
5701 * gdb.python/py-unwind.exp
5702 * gdb.python/py-value.exp
5703 * gdb.python/python.exp
5704 * gdb.reverse/finish-reverse-bkpt.exp
5705 * gdb.reverse/insn-reverse.exp
5706 * gdb.reverse/next-reverse-bkpt-over-sr.exp
5707 * gdb.reverse/solib-precsave.exp
5708 * gdb.reverse/solib-reverse.exp
5709 * gdb.stabs/gdb11479.exp
5710 * gdb.stabs/weird.exp
5711 * gdb.threads/fork-child-threads.exp
5712 * gdb.threads/fork-plus-threads.exp
5713 * gdb.threads/fork-thread-pending.exp
5714 * gdb.threads/forking-threads-plus-breakpoint.exp
5715 * gdb.threads/hand-call-in-threads.exp
5716 * gdb.threads/interrupted-hand-call.exp
5717 * gdb.threads/linux-dp.exp
5718 * gdb.threads/local-watch-wrong-thread.exp
5719 * gdb.threads/next-while-other-thread-longjmps.exp
5720 * gdb.threads/non-ldr-exit.exp
5721 * gdb.threads/pending-step.exp
5722 * gdb.threads/print-threads.exp
5723 * gdb.threads/process-dies-while-detaching.exp
5724 * gdb.threads/process-dies-while-handling-bp.exp
5725 * gdb.threads/pthreads.exp
5726 * gdb.threads/queue-signal.exp
5727 * gdb.threads/reconnect-signal.exp
5728 * gdb.threads/signal-command-handle-nopass.exp
5729 * gdb.threads/signal-command-multiple-signals-pending.exp
5730 * gdb.threads/signal-delivered-right-thread.exp
5731 * gdb.threads/signal-sigtrap.exp
5732 * gdb.threads/sigthread.exp
5733 * gdb.threads/staticthreads.exp
5734 * gdb.threads/stepi-random-signal.exp
5735 * gdb.threads/thread-unwindonsignal.exp
5736 * gdb.threads/thread_check.exp
5737 * gdb.threads/thread_events.exp
5738 * gdb.threads/tid-reuse.exp
5739 * gdb.threads/tls-nodebug.exp
5740 * gdb.threads/tls-shared.exp
5741 * gdb.threads/tls-so_extern.exp
5742 * gdb.threads/tls.exp
5743 * gdb.threads/wp-replication.exp
5744 * gdb.trace/actions-changed.exp
5745 * gdb.trace/actions.exp
5746 * gdb.trace/backtrace.exp
5747 * gdb.trace/change-loc.exp
5748 * gdb.trace/collection.exp
5749 * gdb.trace/deltrace.exp
5750 * gdb.trace/disconnected-tracing.exp
5751 * gdb.trace/entry-values.exp
5752 * gdb.trace/ftrace-lock.exp
5753 * gdb.trace/ftrace.exp
5754 * gdb.trace/infotrace.exp
5755 * gdb.trace/mi-trace-frame-collected.exp
5756 * gdb.trace/mi-trace-unavailable.exp
5757 * gdb.trace/mi-traceframe-changed.exp
5758 * gdb.trace/mi-tracepoint-changed.exp
5759 * gdb.trace/mi-tsv-changed.exp
5760 * gdb.trace/no-attach-trace.exp
5761 * gdb.trace/packetlen.exp
5762 * gdb.trace/passc-dyn.exp
5763 * gdb.trace/passcount.exp
5764 * gdb.trace/pending.exp
5765 * gdb.trace/pr16508.exp
5766 * gdb.trace/qtro.exp
5767 * gdb.trace/range-stepping.exp
5768 * gdb.trace/read-memory.exp
5769 * gdb.trace/report.exp
5770 * gdb.trace/save-trace.exp
5771 * gdb.trace/signal.exp
5772 * gdb.trace/stap-trace.exp
5773 * gdb.trace/status-stop.exp
5774 * gdb.trace/strace.exp
5775 * gdb.trace/tfile.exp
5776 * gdb.trace/tfind.exp
5777 * gdb.trace/trace-break.exp
5778 * gdb.trace/trace-condition.exp
5779 * gdb.trace/trace-enable-disable.exp
5780 * gdb.trace/trace-mt.exp
5781 * gdb.trace/tracecmd.exp
5782 * gdb.trace/tracefile-pseudo-reg.exp
5783 * gdb.trace/tspeed.exp
5784 * gdb.trace/tstatus.exp
5786 * gdb.trace/unavailable.exp
5787 * gdb.trace/while-dyn.exp
5788 * gdb.trace/while-stepping.exp
5791 * lib/mi-support.exp
5794 * lib/prelink-support.exp
5795 * lib/selftest-support.exp
5797 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
5799 * Makefile.in: Include disable-implicit-rules.mk.
5801 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5803 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
5804 non-byte-aligned bit fields.
5806 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
5809 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
5810 respects the DW_AT_data_bit_offset attribute.
5812 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
5814 * gdb.base/default.exp: Fix output of "set language".
5816 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
5818 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
5819 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
5821 * configure.ac: Remove checks for the make program.
5822 * configure: Re-generate.
5824 2016-11-16 Kevin Buettner <kevinb@redhat.com>
5826 * gdb.python/py-recurse-unwind.c (main): Add loop.
5827 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
5828 to read_register() and gdb.parse_and_eval(). Make each code
5829 call a separate case that can be individually tested.
5830 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
5831 proc. Call cont_and_backtrace for each of the code paths that
5832 we want to test in the unwinder.
5834 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
5836 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
5837 the definition of struct S.
5839 2016-11-11 Catherine Moore <clm@codesourcery.com>
5841 * gdb.base/dump.exp: Identify verilog format dump tests as such.
5843 2016-11-09 Pedro Alves <palves@redhat.com>
5845 * gdb.base/commands.exp (runto_or_return): New procedure.
5846 (gdbvar_simple_if_test, gdbvar_simple_while_test)
5847 (gdbvar_complex_if_while_test, progvar_simple_if_test)
5848 (progvar_simple_while_test, progvar_complex_if_while_test)
5849 (if_while_breakpoint_command_test)
5850 (infrun_breakpoint_command_test, breakpoint_command_test)
5851 (user_defined_command_test, watchpoint_command_test)
5852 (test_command_prompt_position, redefine_hook_test)
5853 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
5854 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
5855 multi_line_input and multi_line. Remove gdb_expect and
5856 gdb_stop_suppressing_tests uses.
5857 * lib/gdb.exp (valnum_re): New global.
5858 (multi_line_input): New procedure.
5860 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
5862 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5864 (test_setup): Define with proc_with_prefix.
5865 (test_cli_inferior): Likewise.
5866 (test_cli_thread): Likewise.
5867 (test_cli_frame): Likewise.
5868 (test_cli_select_frame): Likewise.
5869 (test_cli_up_down): Likewise.
5870 (test_mi_thread_select): Likewise.
5871 (test_mi_stack_select_frame): Likewise.
5872 (test_cli_in_mi_inferior): Likewise.
5873 (test_cli_in_mi_thread): Likewise.
5874 (test_cli_in_mi_frame): Likewise.
5875 (top level): Do not use with_test_prefix_procname.
5877 2016-11-09 Pedro Alves <palves@redhat.com>
5879 * gdb.base/commands.exp (gdbvar_simple_if_test)
5880 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
5881 (progvar_simple_if_test, progvar_simple_while_test)
5882 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
5883 (infrun_breakpoint_command_test, breakpoint_command_test)
5884 (user_defined_command_test, watchpoint_command_test)
5885 (test_command_prompt_position, deprecated_command_test)
5886 (bp_deleted_in_command, temporary_breakpoint_commands)
5887 (stray_arg0_test, source_file_with_indented_comment)
5888 (recursive_source_test, if_commands_test)
5889 (error_clears_commands_left, redefine_hook_test)
5890 (redefine_backtrace_test): Use proc_with_prefix.
5891 * lib/gdb.exp (proc_with_prefix): New proc.
5893 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
5895 * gdb.base/tui-layout.c: New file.
5896 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5897 disassembly window contains very long lines.
5899 2016-11-08 Tom Tromey <tom@tromey.com>
5901 * gdb.python/py-value.exp (test_value_creation): Make "long" test
5904 2016-11-08 Tom Tromey <tom@tromey.com>
5906 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
5909 2016-10-29 Manish Goregaokar <manish@mozilla.com>
5911 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
5913 2016-10-27 Manish Goregaokar <manish@mozilla.com>
5915 * gdb.rust/simple.rs: Add test for univariant enums without
5916 discriminants and for encoded struct-like enums.
5918 2016-10-28 Pedro Alves <palves@redhat.com>
5920 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
5921 gdb_test_multiple, tighten regexps and match symtabs and line
5922 tables incrementally.
5924 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
5926 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
5929 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
5931 * gdb.base/exec-invalid-sysroot.exp: New file.
5933 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5935 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5937 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5939 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
5941 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
5943 * gdb.base/killed-outside.exp: Remove $options from a call to
5944 `prepare_for_testing'.
5946 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5948 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5949 Change test message.
5951 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5953 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5956 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
5958 * gdb.trace/mi-trace-save.exp: New file.
5960 2016-10-13 Yao Qi <yao.qi@linaro.org>
5962 * gdb.base/code_elim.exp (get_var_address): Remove.
5963 * gdb.base/relocate.exp: Likewise.
5964 * gdb.base/shreloc.exp: Likewise.
5965 * lib/gdb.exp (get_var_address): New.
5967 2016-10-13 Yao Qi <yao.qi@linaro.org>
5969 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
5970 floating point tests if $skip_float_test is false.
5972 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
5974 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
5975 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
5977 Add 1 to argc so we guarantee distinct initial/modified argc values.
5979 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5981 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
5983 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5985 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
5986 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
5987 * gdb.arch/vsx-regs.exp: Likewise.
5989 2016-10-07 Yao Qi <yao.qi@linaro.org>
5991 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
5993 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
5995 * gdb.python/python.exp: Test decode_line("*0").
5997 2016-10-06 Doug Evans <dje@google.com>
5999 * gdb.python/py-value.exp (test_value_creation): Add test for large
6000 unsigned 64-bit value.
6002 2016-10-06 Tom Tromey <tom@tromey.com>
6004 * gdb.compile/compile.exp: Change java tests to rust.
6005 * gdb.base/setshow.exp: Change java tests to rust.
6006 * gdb.base/default.exp: Remove java from language list.
6007 * README (Examples): Update language example.
6008 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
6010 * lib/gdb.exp (skip_java_tests): Remove.
6011 * lib/java.exp: Remove.
6014 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
6016 * gdb.arch/mips-fcr.exp: New test.
6017 * gdb.arch/mips-fcr.c: Source for the new test.
6019 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
6021 * gdb.base/solib-disc.exp: Use `standard_output_file'
6024 2016-10-06 Pedro Alves <palves@redhat.com>
6026 * gdb.base/jit-simple-dl.c: New file.
6027 * gdb.base/jit-simple-jit.c: New file, factored out from ...
6028 * gdb.base/jit-simple.c: ... this.
6029 * gdb.base/jit-simple.exp (jit_run): Delete.
6030 (build_jit): New proc.
6031 (jit_test_reread): Recompile either the main program or the shared
6032 library, depending on what is being tested. Skip changing address
6033 if caller wants to. Compare before/after addresses. If testing
6034 standalone, explicitly load the binary. Test "maint info
6036 (top level): Add "standalone vs shared lib" and "change address"
6037 vs "same address" axes.
6039 2016-10-06 Pedro Alves <palves@redhat.com>
6041 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
6044 (jit_test_reread): Use with_test_prefix. Reload the main binary
6045 explicitly. Compare the before/after addresses of the JIT
6048 2016-08-15 Doug Evans <dje@google.com>
6050 * gdb.xml/extra-regs.xml: Update, end field now required, default type
6051 for single bitfields is bool.
6052 * gdb.xml/tdesc-regs.exp: Ditto.
6054 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6056 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
6058 2016-10-05 Yao Qi <yao.qi@linaro.org>
6060 * lib/gdb.exp (support_complex_tests): Return zero if
6061 gdb_skip_float_test return true.
6063 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
6064 Simon Marchi <simon.marchi@ericsson.com>
6067 * gdb.mi/user-selected-context-sync.exp: New file.
6068 * gdb.mi/user-selected-context-sync.c: New file.
6070 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
6071 Simon Marchi <simon.marchi@ericsson.com>
6074 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
6075 =thread-select-event check.
6077 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
6079 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
6080 the compulsory L operand changes.
6081 * gdb.arch/powerpc-power.s: Likewise.
6083 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6085 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
6086 * gdb.base/jit-attach-pie.c: New file.
6087 * gdb.base/jit-attach-pie.exp: New file.
6089 2016-09-28 Pedro Alves <palves@redhat.com>
6091 * gdb.base/infcall-input.c: New file.
6092 * gdb.base/infcall-input.exp: New file.
6094 2016-09-22 Yao Qi <yao.qi@linaro.org>
6096 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
6097 (gdb_exit): Rename it to ...
6098 (gdbserver_gdb_exit): ... Close GDBserver.
6099 (gdb_exit): New proc, call gdbserver_gdb_exit.
6100 (mi_gdb_exit): Likewise.
6102 2016-09-22 Yao Qi <yao.qi@linaro.org>
6104 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
6106 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
6109 2016-09-22 Yao Qi <yao.qi@linaro.org>
6111 * lib/gdbserver-support.exp: Check the existence of
6112 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
6114 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
6116 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
6118 2016-09-21 Tom Tromey <tom@tromey.com>
6121 * gdb.base/quit.exp: New file.
6123 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
6125 * .gitignore: New file.
6127 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
6129 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
6132 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6134 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
6136 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6138 * gdb.cp/casts.cc (decltype): Move it ...
6139 (main): ... with its call to ...
6140 * gdb.cp/casts03.cc: ... a new file.
6141 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
6143 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6145 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
6147 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
6149 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
6150 and sync up the test with tests in gas/testsuite/gas/ppc.
6151 * gdb.arch/powerpc-power.exp: Likewise.
6153 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6155 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
6157 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
6158 Jan Kratochvil <jan.kratochvil@redhat.com>
6160 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
6161 make m1's definition to be different from m2's. Use 'dummy' as an
6162 argument for probe 'two'.
6164 2016-09-10 Jon Beniston <jon@beniston.com>
6166 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
6169 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
6171 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
6172 variable declaration.
6173 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
6174 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
6175 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
6176 received HWCAP as its argument.
6178 2016-09-06 Pedro Alves <palves@redhat.com>
6180 * gdb.base/new-ui-pending-input.c: New file.
6181 * gdb.base/new-ui-pending-input.exp: New file.
6182 * gdb.exp (clear_gdb_spawn_id): New procedure.
6183 (with_spawn_id): Check whether gdb_spawn_id exists before
6184 referencing it. If gdb_spawn_id didn't exist on entry, clear it
6187 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
6189 * gdb.base/float128.c: New file.
6190 * gdb.base/float128.exp: Likewise.
6191 * gdb.base/floatn.c: Likewise.
6192 * gdb.base/floatn.exp: Likewise.
6194 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
6196 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
6198 2016-09-05 Pedro Alves <palves@redhat.com>
6201 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
6202 unwinders are immediately called as side effect of "source" or
6203 "disable unwinder" commands.
6204 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
6206 2016-09-02 Yao Qi <yao.qi@linaro.org>
6208 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
6209 is true and $type is "float" or "double".
6211 2016-09-02 Yao Qi <yao.qi@linaro.org>
6213 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
6215 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
6216 * gdb.base/call-rt-st.exp: Likewise.
6217 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
6218 return value instead of gdb,skip_float_test.
6219 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
6220 (do_function_calls): Use its return value instead of
6221 gdb,skip_float_test.
6222 * gdb.base/finish.exp: Likewise.
6223 * gdb.base/funcargs.exp: Likewise.
6224 * gdb.base/return.exp: Likewise.
6225 * gdb.base/return2.exp: Likewise.
6226 * gdb.base/varargs.exp: Likewise.
6227 * lib/gdb.exp (gdb_skip_float_test): Change it to
6228 gdb_caching_proc. Detect the broken ptrace on arm-linux.
6230 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6232 * gdb.multi/tids.exp: Test "thread apply all".
6234 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6236 * gdb.base/default.exp (tty): Remove.
6238 2016-08-24 Kevin Buettner <kevinb@redhat.com>
6240 * gdb.python/py-recurse-unwind.c: New file.
6241 * gdb.python/py-recurse-unwind.py: New file.
6242 * gdb.python/py-recurse-unwind.exp: New file.
6244 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
6246 * gdb.base/set-inferior-tty.exp: New file.
6247 * gdb.base/set-inferior-tty.c: New file.
6249 2016-08-23 Pedro Alves <palves@redhat.com>
6252 * gdb.base/new-ui-echo.c: New file.
6253 * gdb.base/new-ui-echo.exp: New file.
6255 2016-08-23 Yao Qi <yao.qi@linaro.org>
6257 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
6259 * gdb.server/connect-without-multi-process.exp (do_test):
6262 2016-08-23 Yao Qi <yao.qi@linaro.org>
6264 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
6265 standalone_txt. Delete gdb_txt and standalone_txt on host
6266 and target. Spawn the binary on target. Copy files from
6269 2016-08-22 Pedro Alves <palves@redhat.com>
6272 * gdb.base/vdso-warning.exp: Test core dumps too. Use
6273 with_test_prefix. Factor out bits to ...
6274 (test_no_vdso): ... this new procedure.
6276 2016-08-19 Carl Love <cel@us.ibm.com>
6278 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
6279 maintaining separate logic for constructing the output path.
6280 * gdb.arch/powerpc-d128-regs.exp: Likewise.
6281 * gdb.arch/ppc-dfp.exp: Likewise.
6282 * gdb.arch/ppc-fp.exp: Likewise.
6283 * gdb.arch/vsx-regs.exp: Likewise.
6284 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
6285 binprefix for generating the additional binary files.
6287 2016-08-19 Pedro Alves <palves@redhat.com>
6289 * gdb.trace/mi-trace-frame-collected.exp
6290 (test_trace_frame_collected): On x32, expect two registers.
6292 2016-08-18 Carl Love <cel@us.ibm.com>
6294 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
6295 and sync up the test with tests in gas/testsuite/gas/ppc.
6296 * gdb.arch/powerpc-power.exp: Likewise.
6298 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
6300 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
6301 expected error message.
6303 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
6305 * gdb.multi/remove-inferiors.exp: New file.
6306 * gdb.multi/remove-inferiors.c: New file.
6308 2016-08-12 Yao Qi <yao.qi@linaro.org>
6310 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
6313 2016-08-10 Pedro Alves <palves@redhat.com>
6316 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
6319 2016-08-09 Pedro Alves <palves@redhat.com>
6320 Simon Marchi <simon.marchi@ericsson.com>
6323 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
6324 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
6326 2016-08-09 Pedro Alves <palves@redhat.com>
6329 * gdb.mi/mi-cmd-error.exp: New file.
6331 2016-08-09 Pedro Alves <palves@redhat.com>
6334 * gdb.base/signals-state-child.c: New file.
6335 * gdb.base/signals-state-child.exp: New file.
6336 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
6338 2016-08-09 Pedro Alves <palves@redhat.com>
6340 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
6342 2016-08-03 Tom Tromey <tom@tromey.com>
6345 * gdb.python/py-frame-inline.exp: Add Frame.function test.
6347 2016-08-01 Yao Qi <yao.qi@linaro.org>
6349 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
6350 variable mode to "multi-process" if $multi_process is 1, otherwise
6351 set it to "single-process".
6353 2016-08-01 Yao Qi <yao.qi@linaro.org>
6355 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
6356 * gdb.cp/cpexprs.exp: Likewise.
6357 * gdb.cp/m-static.exp: Likewise.
6359 2016-07-26 Tom Tromey <tom@tromey.com>
6362 * gdb.threads/tls.exp (check_thread_local): Add python symbol
6365 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
6367 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
6368 selecting assembly source files.
6369 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
6370 assembly source files.
6371 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
6372 assembly source files.
6373 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
6374 selecting assembly source files.
6376 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
6378 * gdb.base/new-ui.exp (do_test_invalid_args): New
6381 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
6383 * gdb.btrace/reconnect.c: New file.
6384 * gdb.btrace/reconnect.exp: New file.
6386 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
6388 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
6389 to test_catch_syscall_group.
6390 (test_catch_syscall_group): New.
6392 2016-07-21 Tom Tromey <tom@tromey.com>
6394 * gdb.rust/simple.rs (main): Use empty struct expression.
6395 * gdb.rust/simple.exp: Add tests for empty struct expression.
6397 2016-07-21 Yao Qi <yao.qi@linaro.org>
6399 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
6400 if gdb_skip_xml_test is true on some targets.
6402 2016-07-21 Yao Qi <yao.qi@linaro.org>
6404 * gdb.server/solib-list.exp: Unset last_loaded_file.
6406 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6408 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
6409 "step into captured_main (args)".
6411 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6413 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
6415 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6417 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
6419 2016-07-19 Pedro Alves <palves@redhat.com>
6421 * gdb.opt/inline-break.exp: Remove optimize=-O2.
6422 * gdb.opt/inline-bt.exp: Likewise.
6423 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
6424 additional_flags=-Winline.
6425 * gdb.opt/inline-locals.exp: Likewise.
6426 * gdb.opt/inline-markers.c (ATTR): Define.
6427 (inlined_fn): Use it.
6429 2016-07-19 Yao Qi <yao.qi@linaro.org>
6431 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
6432 (test_with_self): Remove some code. Remove argument executable.
6433 (top-level): Use do_self_tests.
6435 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
6436 Don Breazeal <donb@codesourcery.com>
6438 * gdb.base/maint.exp: Escape paths used in regular expressions.
6439 * gdb.stabs/weird.exp: Likewise.
6441 2016-07-13 Tom Tromey <tom@tromey.com>
6443 PR python/15620, PR python/18620:
6444 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
6445 (test_bkpt_events): New procs.
6447 2016-07-13 Tom Tromey <tom@tromey.com>
6450 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
6452 (test_watchpoints): Likewise.
6453 (test_bkpt_pending): New proc.
6455 2016-07-13 Tom Tromey <tom@tromey.com>
6458 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
6461 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6463 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
6464 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
6465 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
6467 (g): Rename g_end_lbl to g_label.
6468 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
6470 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
6472 2016-07-12 Tom Tromey <tom@tromey.com>
6475 * gdb.python/py-unwind-maint.exp: Update tests.
6477 2016-07-12 Yao Qi <yao.qi@linaro.org>
6479 * lib/selftest-support.exp (selftest_setup): Match the output
6480 when captured_main is inlined.
6482 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6484 * gdb.fortran/derived-types.exp (result_line, result_line_2):
6486 (print this%a, print this%b, print this): New tests.
6487 * gdb.fortran/derived-types.f90 (this): New object and
6490 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
6492 * gdb.ada/arraydim.exp: Remove extra directory level in build
6495 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
6497 * lib/ada.exp: Remove extra directory level in build directory.
6498 * gdb.ada/cond_lang.exp: Likewise.
6499 * gdb.ada/exec_changed.exp: Likewise.
6500 * gdb.ada/lang_switch.exp: Likewise.
6502 2016-07-06 Manish Goregaokar <manish@mozilla.com>
6504 * simple.rs: Add test for raw pointer subscripting.
6505 * simple.exp: Add test expectations.
6507 2016-07-05 Yao Qi <yao.qi@linaro.org>
6509 * gdb.mi/mi-reverse.exp: Match =record-started output.
6511 2016-07-01 Pedro Alves <palves@redhat.com>
6513 * gdb.base/jit-reader.exp (info_registers_current_frame): New
6515 (jit_reader_test): Test the jit reader's unwinder.
6516 * gdb.base/jithost.c (jit_function_00_code): New global.
6517 (main): Use memcpy to fill in the mmapped code, instead of poking
6518 bytes manually here.
6519 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6521 (read_debug_info): Save the function's range.
6522 (read_sp): New function.
6523 (unwind_frame): Use it. Also unwind RBP.
6524 (get_frame_id): Use read_sp.
6525 (gdb_init_reader): Use calloc instead of malloc.
6526 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6527 parameter. Use gdb_test_multiple.
6529 2016-07-01 Pedro Alves <palves@redhat.com>
6530 Antoine Tremblay <antoine.tremblay@ericsson.com>
6532 * gdb.threads/process-dies-while-detaching.c: New file.
6533 * gdb.threads/process-dies-while-detaching.exp: New file.
6535 2016-07-01 Pedro Alves <palves@redhat.com>
6537 * gdb.multi/watchpoint-multi-exit.c: New file.
6538 * gdb.multi/watchpoint-multi-exit.exp: New file.
6540 2016-06-30 Pedro Alves <palves@redhat.com>
6542 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
6543 unset inferior_spawn_id.
6545 2016-06-30 Pedro Alves <palves@redhat.com>
6547 * lib/mi-support.exp (default_mi_gdb_start): Declare global
6548 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
6550 2016-06-29 Yao Qi <yao.qi@linaro.org>
6552 * gdb.base/return.c: Add copyright header.
6554 2016-06-29 Tom Tromey <tom@tromey.com>
6557 * gdb.python/py-framefilter.exp: Add tests for setting priority
6558 and disabling of non-existent frame filter.
6560 2016-06-29 Yao Qi <yao.qi@linaro.org>
6562 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6565 2016-06-28 Yao Qi <yao.qi@linaro.org>
6567 * gdb.base/catch-syscall.exp: Remove check on isnative and target
6568 triplets. Start gdb, execute catch syscall, and continue. Check
6569 gdb's output to determine catch syscall is supported.
6571 2016-06-27 Manish Goregaokar <manish@mozilla.com>
6573 * gdb.rust/simple.rs: Add test for returning unit in a function.
6574 * gdb.rust/simple.exp: Add expectation for functions returning
6577 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
6579 * gdb.python/py-breakpoint-create-fail.c,
6580 gdb.python/py-breakpoint-create-fail.exp,
6581 gdb.python/py-breakpoint-create-fail.py: New testcase.
6583 2016-06-25 Manish Goregaokar <manish@mozilla.com>
6586 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6587 * gdb.rust/simple.exp: Add test expectations for new NonZero
6590 2016-06-24 David Taylor <dtaylor@emc.com>
6592 * gdb.base/offsets.exp: New file.
6593 * gdb.base/offsets.c: New file.
6595 2016-06-23 Tom Tromey <tom@tromey.com>
6598 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6599 before any filters are loaded.
6601 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
6603 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6604 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6606 * gdb.fortran/derived-type-function.exp: New file.
6607 * gdb.fortran/derived-type-function.f90: New file.
6610 2016-06-21 Pedro Alves <palves@redhat.com>
6612 * gdb.base/new-ui.exp: New file.
6613 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6614 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6615 (with_spawn_id): New procedure.
6617 2016-06-21 Pedro Alves <palves@redhat.com>
6619 * gdb.mi/mi-exec-run.exp: New file.
6621 2016-06-21 Pedro Alves <palves@redhat.com>
6623 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6624 breakpoint command's output on the main UI.
6625 (test_break): New procedure, factored out from calls in the top
6627 (top level): Use foreach_with_prefix to test MI as main UI and as
6630 2016-06-21 Pedro Alves <palves@redhat.com>
6632 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6633 (test_awatch_creation_and_listing)
6634 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6635 Remove 'type' parameter.
6636 (test_watchpoint_all): New parameter mi_mode. Remove
6638 (top level): Use foreach_with_prefix, and add main/separate UI MI
6641 2016-06-21 Pedro Alves <palves@redhat.com>
6643 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6644 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6645 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6646 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6647 (gdb_main_spawn_id, mi_spawn_id): Declare and
6649 (mi_create_inferior_pty): New procedure,
6650 factored out from default_mi_gdb_start.
6651 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6653 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6654 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6655 Use mi_create_inferior_pty.
6656 (mi_gdb_start): Use eval to pass down args list.
6658 2016-06-21 Pedro Alves <palves@redhat.com>
6660 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6661 * gdb.opt/inline-cmds.exp: Add MI tests.
6663 2016-06-21 Pedro Alves <palves@redhat.com>
6665 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6667 2016-06-21 Pedro Alves <palves@redhat.com>
6669 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6670 (top level): Use it instead of mi_execute_to.
6672 2016-06-21 Pedro Alves <palves@redhat.com>
6674 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6675 (cont_handler_str): New.
6676 (signal_stop_handler): Set stop_handler_str instead of printing to
6678 (continue_handler): Set cont_handler_str instead of printing to
6680 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6681 mi_send_resuming_command. Print stop_handler_str and
6682 cont_handler_str instead of expecting the python events print
6685 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
6687 * gdb.base/jit-reader.exp: New file.
6688 * gdb.base/jithost.c: New file.
6689 * gdb.base/jithost.h: New file.
6690 * gdb.base/jitreader.c : New file.
6691 * gdb.base/jit-protocol.h: New file.
6693 2016-06-17 Yao Qi <yao.qi@linaro.org>
6695 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6696 parameters follow_fork and detach_on_fork. Set follow-fork-mode
6697 and detach-on-fork. Adjust tests.
6698 (top level): Invoke break_cond_on_syscall with combinations of
6699 syscall, follow-fork-mode and detach-on-fork.
6701 2016-06-17 Yao Qi <yao.qi@linaro.org>
6703 * gdb.base/step-over-exit.c: New.
6704 * gdb.base/step-over-exit.exp: New.
6706 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
6708 * gdb.base/float.exp: Add target check for nds32*-*-*.
6709 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6711 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
6713 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6714 for unsupported target features.
6715 * gdb.base/call-rt-st.exp: Likewise.
6716 * gdb.base/call-sc.exp: Likewise.
6717 * gdb.base/call-signal-resume.exp: Likewise.
6718 * gdb.base/call-strs.exp: Likewise.
6719 * gdb.base/callexit.exp: Likewise.
6720 * gdb.base/callfuncs.exp: Likewise.
6721 * gdb.base/nodebug.exp: Likewise.
6722 * gdb.base/printcmds.exp: Likewise.
6723 * gdb.base/ptype.exp: Likewise.
6724 * gdb.base/structs.exp: Likewise.
6725 * gdb.base/unwindonsignal.exp: Likewise.
6726 * gdb.cp/gdb2495.exp: Likewise.
6727 * gdb.cp/templates.exp: Likewise.
6728 * gdb.cp/virtfunc.exp: Likewise.
6729 * gdb.threads/hand-call-in-threads.exp: Likewise.
6730 * gdb.threads/interrupted-hand-call.exp: Likewise.
6731 * gdb.threads/thread-unwindonsignal.exp: Likewise.
6733 2016-06-10 Tom Tromey <tom@tromey.com>
6736 * gdb.rust/expr.exp: Add test for integer constant larger than
6739 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
6741 * gdb.fortran/nested-funcs.exp: New.
6742 * gdb.fortran/nested-funcs.f90: New.
6744 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
6746 * gdb.base/examine-backward.c: New file.
6747 * gdb.base/examine-backward.exp: New file.
6749 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
6751 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6754 2016-06-02 Tom Tromey <tom@tromey.com>
6757 * gdb.python/py-shared.exp: Add solib_name test.
6759 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
6761 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6763 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
6766 * gdb.dwarf2/implref.exp: Rename to...
6767 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
6768 * gdb.dwarf2/implref-array.c: New file.
6769 * gdb.dwarf2/implref-array.exp: Likewise.
6770 * gdb.dwarf2/implref-global.c: Likewise.
6771 * gdb.dwarf2/implref-global.exp: Likewise.
6772 * gdb.dwarf2/implref-struct.c: Likewise.
6773 * gdb.dwarf2/implref-struct.exp: Likewise.
6775 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6777 * gdb.trace/trace-condition.exp: Add 64bit tests.
6779 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6781 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6783 (main): Adapt to 8 to 64 bits types.
6784 * gdb.trace/trace-condition.exp: Add new tests.
6786 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6788 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
6790 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6792 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
6793 Move condition tests...
6794 * gdb.trace/trace-condition.exp: Here.
6796 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
6798 * gdb.trace/trace-condition.exp: Add counter-case tests.
6800 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6803 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
6804 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6806 2016-05-27 Pedro Alves <palves@redhat.com>
6808 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6810 (top level): Call it, and bail out of DejaGnu is known to be bad.
6812 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
6814 * gdb.base/whatis.c: Extend the test case.
6815 * gdb.base/whatis.exp: Add additional tests.
6817 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6819 * gdb.fortran/type.f90: Add pointer variable.
6820 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
6822 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6824 * gdb.fortran/vla-type.exp: Fix testcase name.
6826 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6828 * gdb.fortran/vla-type.exp: Access elements in nested structs.
6830 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6832 * gdb.fortran/type.f90: Add nested structures.
6833 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
6834 * gdb.fortran/derived-type.exp: Adapt expected output.
6835 * gdb.fortran/vla-type.exp: Adapt expected output.
6837 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6839 * gdb.fortran/whatis_type.exp: Adapt expected output.
6841 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6843 * gdb.fortran/print_type.exp: Fix expected output.
6844 * gdb.fortran/whatis_type.exp: Fix expected output.
6846 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
6848 * gdb.fortran/whatis_type.exp: Use multi_line.
6850 2016-05-24 Tom Tromey <tom@tromey.com>
6853 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
6854 use value as an index.
6856 2016-05-23 Tom Tromey <tom@tromey.com>
6859 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
6862 2016-05-24 Pedro Alves <palves@redhat.com>
6865 * gdb.threads/clone-attach-detach.c: New file.
6866 * gdb.threads/clone-attach-detach.exp: New file.
6868 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
6870 * gdb.base/annota-input-while-running.exp: Fix syntax error.
6872 2016-05-23 Tom Tromey <tom@tromey.com>
6874 PR python/19438, PR python/18393:
6875 * gdb.python/py-progspace.exp: Add "dir" test.
6876 * gdb.python/py-objfile.exp: Add "dir" test.
6878 2016-05-23 Yao Qi <yao.qi@linaro.org>
6880 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
6881 * gdb.arch/thumb2-it.exp: Likewise.
6883 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
6885 * gdb.mi/mi-threads-interrupt.c: New file.
6886 * gdb.mi/mi-threads-interrupt.exp: New file.
6888 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
6891 * gdb.mi/mi-async-run.exp: New file.
6892 * gdb.mi/mi-async-run.c: New file.
6894 2016-05-17 Tom Tromey <tom@tromey.com>
6895 Manish Goregaokar <manishsmail@gmail.com>
6897 * lib/rust-support.exp: New file.
6898 * lib/gdb.exp (skip_rust_tests): New proc.
6899 (build_executable_from_specs): Handle rust.
6900 * lib/future.exp (gdb_find_rustc): New proc.
6901 (gdb_default_target_compile): Handle rust.
6902 * gdb.rust/expr.exp: New file.
6903 * gdb.rust/generics.exp: New file.
6904 * gdb.rust/generics.rs: New file.
6905 * gdb.rust/methods.exp: New file.
6906 * gdb.rust/methods.rs: New file.
6907 * gdb.rust/modules.exp: New file.
6908 * gdb.rust/modules.rs: New file.
6909 * gdb.rust/simple.exp: New file.
6910 * gdb.rust/simple.rs: New file.
6912 2016-05-17 Tom Tromey <tom@tromey.com>
6914 * gdb.base/default.exp (set language): Add rust.
6916 2016-05-17 Tom Tromey <tom@tromey.com>
6918 * gdb.gdb/unittest.exp: New file.
6920 2016-05-16 Yao Qi <yao.qi@linaro.org>
6922 * gdb.base/batch-preserve-term-settings.exp: Remove variable
6923 shell_prompt. Update shell_prompt_re.
6925 2016-05-12 Doug Evans <dje@google.com>
6928 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
6929 $options when building executable.
6930 * gdb.dwarf2/fission-loclists-pie.S: New file.
6931 * gdb.dwarf2/fission-loclists-pie.exp: New file.
6933 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6935 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
6936 of [is_remote target],
6938 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
6940 * lib/gdb.exp (use_gdb_stub): New procedure.
6942 2016-05-03 Yunlian Jiang <yunlian@google.com>
6943 Doug Evans <dje@google.com>
6946 * gdb.dwarf2/dwp-sepdebug.c: New file.
6947 * gdb.dwarf2/dwp-sepdebug.exp: New file.
6949 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6951 * gdb.base/detach.exp: Remove is_remote check.
6953 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
6955 * gdb.base/annota-input-while-running.exp: Don't check for
6956 [is_remote target]. Enable annotations after running to main.
6957 Remove unused "set test..." line.
6959 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6961 * gdb.trace/trace-enable-disable.exp: New file.
6962 * gdb.trace/trace-enable-disable.c: New file.
6964 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
6966 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
6967 use it in info sharedlibrary test.
6968 * gdb.trace/ftrace-lock.exp: Likewise.
6969 * gdb.trace/ftrace.exp: Likewise.
6970 * gdb.trace/range-stepping.exp: Likewise.
6971 * gdb.trace/trace-break.exp: Likewise.
6972 * gdb.trace/trace-condition.exp: Likewise.
6973 * gdb.trace/trace-mt.exp: Likewise.
6975 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
6977 * lib/gdb.exp (gdb_load_shlibs): Rename to...
6978 (gdb_load_shlib): ... this.
6979 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
6981 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
6982 * gdb.base/ctxobj.exp: Likewise.
6983 * gdb.base/dprintf-pending.exp: Likewise.
6984 * gdb.base/dso2dso.exp: Likewise.
6985 * gdb.base/fixsection.exp: Likewise.
6986 * gdb.base/gcore-relro.exp: Likewise.
6987 * gdb.base/gdb1555.exp: Likewise.
6988 * gdb.base/global-var-nested-by-dso.exp: Likewise.
6989 * gdb.base/gnu-ifunc.exp: Likewise.
6990 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
6991 * gdb.base/jit-so.exp (one_jit_test): Likewise.
6992 * gdb.base/pending.exp: Likewise.
6993 * gdb.base/print-file-var.exp: Likewise.
6994 * gdb.base/print-symbol-loading.exp: Likewise.
6995 * gdb.base/shlib-call.exp: Likewise.
6996 * gdb.base/shreloc.exp: Likewise.
6997 * gdb.base/so-impl-ld.exp: Likewise.
6998 * gdb.base/solib-disc.exp: Likewise.
6999 * gdb.base/solib-nodir.exp: Likewise.
7000 * gdb.base/solib-overlap.exp: Likewise.
7001 * gdb.base/solib-symbol.exp: Likewise.
7002 * gdb.base/solib-weak.exp (do_test): Likewise.
7003 * gdb.base/sym-file.exp: Likewise.
7004 * gdb.base/symtab-search-order.exp: Likewise.
7005 * gdb.base/type-opaque.exp: Likewise.
7006 * gdb.base/unload.exp: Likewise.
7007 * gdb.base/watchpoint-solib.exp: Likewise.
7008 * gdb.compile/compile.exp: Likewise.
7009 * gdb.cp/gdb2384.exp: Likewise.
7010 * gdb.cp/infcall-dlopen.exp: Likewise.
7011 * gdb.cp/re-set-overloaded.exp: Likewise.
7012 * gdb.fortran/library-module.exp: Likewise.
7013 * gdb.opt/solib-intra-step.exp: Likewise.
7014 * gdb.python/py-finish-breakpoint.exp: Likewise.
7015 * gdb.python/py-shared.exp: Likewise.
7016 * gdb.reverse/solib-precsave.exp: Likewise.
7017 * gdb.reverse/solib-reverse.exp: Likewise.
7018 * gdb.server/solib-list.exp: Likewise.
7019 * gdb.threads/dlopen-libpthread.exp: Likewise.
7020 * gdb.threads/tls-shared.exp: Likewise.
7021 * gdb.threads/tls-so_extern.exp: Likewise.
7022 * gdb.trace/change-loc.exp: Likewise.
7023 * gdb.trace/ftrace-lock.exp: Likewise.
7024 * gdb.trace/ftrace.exp: Likewise.
7025 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
7026 * gdb.trace/pending.exp: Likewise.
7027 * gdb.trace/range-stepping.exp: Likewise.
7028 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
7029 (strace_info_marker): Likewise.
7030 (strace_probe_marker): Likewise.
7031 (strace_trace_on_same_addr): Likewise.
7032 (strace_trace_on_diff_addr): Likewise.
7033 * gdb.trace/trace-break.exp: Likewise.
7034 * gdb.trace/trace-condition.exp: Likewise.
7035 * gdb.trace/trace-mt.exp: Likewise.
7037 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
7039 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
7040 result of gdb_remote_download.
7041 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
7042 * gdb.base/dso2dso.exp: Likewise.
7043 * gdb.base/global-var-nested-by-dso.exp: Likewise.
7044 * gdb.base/print-file-var.exp: Likewise.
7045 * gdb.base/shlib-call.exp: Likewise.
7046 * gdb.base/shreloc.exp: Likewise.
7047 * gdb.base/solib-overlap.exp: Likewise.
7048 * gdb.base/solib-weak.exp (do_test): Likewise.
7049 * gdb.base/unload.exp: Likewise.
7051 2016-04-27 Yao Qi <yao.qi@linaro.org>
7053 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
7056 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7058 * vla-type.exp: Print structure from toplevel.
7060 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7062 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
7064 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
7067 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
7069 * gdb.fortran/vla-type.f90: New file.
7070 * gdb.fortran/vla-type.exp: New file.
7072 2016-04-25 Yao Qi <yao.qi@linaro.org>
7074 * gdb.base/branch-to-self.c: New file.
7075 * gdb.base/branch-to-self.exp: New file.
7077 2016-04-22 Yao Qi <yao.qi@linaro.org>
7079 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
7082 2016-04-22 Yao Qi <yao.qi@linaro.org>
7084 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
7085 * gdb.base/annota3.exp: Likewise.
7087 2016-04-22 Yao Qi <yao.qi@linaro.org>
7089 * gdb.reverse/step-precsave.exp: Do one step and test program
7090 stops in "callee" and do multiple steps until program goes out
7092 * gdb.reverse/step-reverse.exp: Likewise.
7094 2016-04-22 Yao Qi <yao.qi@linaro.org>
7096 * gdb.trace/signal.exp: Also pass if
7097 $tracepoint_hits($i) > $iterations.
7099 2016-04-22 Yao Qi <yao.qi@linaro.org>
7101 * gdb.trace/signal.c: New file.
7102 * gdb.trace/signal.exp: New file.
7104 2016-04-19 Doug Evans <xdje42@gmail.com>
7106 * gdb.base/bad-file.exp: New file.
7108 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
7110 * gdb.dwarf2/implref.exp: New file.
7112 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
7114 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
7115 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
7116 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
7117 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
7118 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
7119 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
7120 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
7121 * lib/fortran.exp (fortran_int4): New procedure.
7122 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
7123 (fortran_logical4): Likewise.
7125 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
7127 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
7129 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
7131 * lib/compiler.c: Add Intel specific preprocessor macros.
7132 * lib/compiler.cc: Likewise.
7134 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
7136 * gdb.server/connect-with-no-symbol-file.c: New file.
7137 * gdb.server/connect-with-no-symbol-file.exp: New file.
7139 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
7141 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
7143 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
7145 * boards/gdbserver-base.exp (${board}_download): Copy source file to
7146 standard output directory.
7148 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
7150 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
7152 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
7154 * gdb.btrace/instruction_history.c (loop): Add declaration.
7156 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
7158 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
7160 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
7162 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
7163 parentheses to print.
7164 (continue_handler): Likewise.
7166 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
7168 * gdb.server/solib-list.exp: Remove is_remote check.
7169 Pass shlib= to gdb_compile. Don't link shared library with
7170 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
7171 Run binary filename through "readlink -f" on the target.
7173 2016-04-08 Pedro Alves <palves@redhat.com>
7175 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
7176 interpreter filename as argument to gdbserver_spawn.
7177 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7178 Return empty if $last_loaded_file does not exist.
7180 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7182 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
7183 * gdb.base/jit-main.c: Use exit after usage.
7185 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7187 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
7188 GDBHISTSIZE prior to the tests.
7189 * gdb.base/gdbinit-history.exp: Likewise.
7191 2016-04-07 Pedro Alves <palves@redhat.com>
7193 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
7194 instead of build_executable. Use gdb_load_shlibs.
7196 2016-04-07 Yao Qi <yao.qi@linaro.org>
7198 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
7199 Execute "si" command.
7201 2016-04-07 Yao Qi <yao.qi@linaro.org>
7203 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
7204 number instead of the comments on some line.
7206 2016-04-06 Don Breazeal <donb@codesourcery.com>
7208 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
7209 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
7211 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
7213 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
7214 standard_output_file. Remove unused binfile variable.
7216 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
7218 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
7219 * gdb.python/py-mi-objfile.exp: Match "list main" output
7222 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
7224 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
7227 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
7229 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
7231 * gdb.trace/ftrace.exp: Likewise.
7232 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
7234 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
7235 (gdb_load_shlibs): Copy libraries to test directory when testing
7236 natively. Only set solib-search-path if testing remotely.
7237 * lib/mi-support.exp (mi_load_shlibs): Likewise.
7239 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
7241 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
7242 gdb_download. Use it even if the target is not remote.
7243 * gdb.base/jit.exp (compile_jit_test): Likewise.
7244 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
7245 output directory if the destination board is local, otherwise use
7246 the standard remote_download from DejaGnu.
7247 (gdb_download): Remove.
7248 (gdb_load_shlibs): Use gdb_remote_download instead of
7250 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7251 Use gdb_remote_download instead of gdb_download. Use it even if
7252 the target is not remote.
7253 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
7254 instead of gdb_download.
7256 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
7258 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
7259 (test_insert_delete_modify): Call mi_load_shlibs before trying to
7262 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
7265 * gdb.base/printcmds.exp: Add artificial arrays tests.
7267 2016-03-31 Pedro Alves <palves@redhat.com>
7270 * gdb.base/jit-main.c: Include unistd.h.
7271 (ATTACH): Define to 0 if not already defined.
7272 (wait_for_gdb, mypid): New globals.
7273 (WAIT_FOR_GDB): New macro.
7274 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
7275 some breakpoint locations.
7276 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
7278 (one_jit_test): Add REATTACH parameter, and handle it. Use
7279 continue_to_test_location.
7280 (top level): Test attach, and adjusts calls to one_jit_test.
7282 2016-03-31 Pedro Alves <palves@redhat.com>
7285 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
7286 BINSUFFIX parameter, and handle it.
7287 (top level): Adjust calls compile_jit_test.
7289 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
7292 * gdb.python/py-mi-events-gdb.py: New file.
7293 * gdb.python/py-mi-events.c: New file.
7294 * gdb.python/py-mi-events.exp: New file.
7296 2016-03-30 Yao Qi <yao.qi@linaro.org>
7298 * gdb.reverse/until-precsave.exp: Match function name only.
7299 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
7300 Move malloc to a condition block.
7301 * gdb.reverse/until-reverse.exp: Match function name only.
7303 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
7305 * gdb.trace/ftrace.exp: Set arg0exp for s390.
7306 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
7307 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
7308 variable for GPR 0 instead of assuming it is register 0.
7309 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
7310 * lib/trace-support.exp: Add s390 registers.
7312 2016-03-29 Yao Qi <yao.qi@linaro.org>
7314 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
7316 2016-03-24 Yao Qi <yao.qi@linaro.org>
7318 * gdb.reverse/break-reverse.exp: Add quotation mark in the
7321 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
7323 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
7324 maintaining separate logic for constructing the output path.
7326 2016-03-16 Don Breazeal <donb@codesourcery.com>
7328 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
7329 Retry fork and waitpid on interrupted system call errors.
7330 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7331 Use with_timeout_factor to increase timeout by factor of 10.
7333 2016-03-15 Don Breazeal <donb@codesourcery.com>
7335 * gdb.cp/scope-err.cc: New test program.
7336 * gdb.cp/scope-err.exp: New test script.
7337 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
7338 lines and "set breakpoint here" comment.
7339 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
7340 Fixed some whitespace and format issues.
7341 * gdb.mi/mi-linespec-err-cp.cc: New test program.
7342 * gdb.mi/mi-linespec-err-cp.exp: New test script.
7344 2016-03-15 Doug Evans <dje@google.com>
7346 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
7347 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
7348 All callers updated. Add tests for enums, mixed flags register.
7350 2016-03-15 Doug Evans <dje@google.com>
7352 * gdb.base/skip.c (main): Call test_skip_file_and_function.
7353 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
7355 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
7357 * gdb.base/default.exp: Add $_as_string to the list of expected
7358 convenience functions.
7360 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
7362 * gdb.base/maint.exp: New tests for 'maint info line-table'.
7364 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
7366 * gdb.python/py-as-string.exp: New file.
7367 * gdb.python/py-as-string.c: New file.
7369 2016-03-09 Pedro Alves <palves@redhat.com>
7371 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
7372 signal" -> "Thread NN received signal" output change.
7373 * gdb.threads/ia64-sigill.exp: Likewise.
7374 * gdb.threads/linux-dp.exp: Likewise.
7375 * gdb.threads/manythreads.exp: Likewise.
7376 * gdb.threads/pending-step.exp: Likewise.
7377 * gdb.threads/print-threads.exp: Likewise.
7378 * gdb.threads/sigstep-threads.exp: Likewise.
7379 * gdb.threads/staticthreads.exp: Likewise.
7380 * gdb.threads/tls.exp: Likewise.
7382 2016-03-09 Pedro Alves <palves@redhat.com>
7384 * gdb.base/command-line-input.exp: New file.
7386 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7388 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
7389 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
7390 * gdb.trace/pending.exp: Accept leading dot before function name.
7391 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
7392 * lib/trace-support.exp: Set registers for ppc.
7394 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7396 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
7397 use it for disassembly; accept .main in addition to main in backtrace.
7399 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
7400 Marcin Kościelnicki <koriakin@0x04.net>
7402 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
7403 (gdb_recursion_test_ptr): New global variable.
7404 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
7406 (gdb_c_test): Ditto.
7408 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7410 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
7413 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
7415 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
7416 (bar): Add bar_start_lbl label.
7417 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
7418 of foo/bar for emitting DWARF and tracing.
7420 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
7422 * analyze-racy-logs.py: Set executable bit.
7424 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
7426 * Makefile.in (DEFAULT_RACY_ITER): New variable.
7427 (CHECK_TARGET_TMP): Likewise.
7428 (check-single-racy): New rule.
7429 (check-parallel-racy): Likewise.
7430 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
7431 (do-check-parallel-racy): New rule.
7432 (check-racy/%.exp): Likewise.
7433 * README (Racy testcases): New section.
7434 * analyze-racy-logs.py: New file.
7436 2016-03-03 Doug Evans <dje@google.com>
7438 * gdb.base/skip.exp: Use with_test_prefix.
7440 2016-03-03 Yao Qi <yao.qi@linaro.org>
7442 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
7443 Invoke step_over_syscall "clone" and break_cond_on_syscall
7445 * gdb.base/step-over-clone.c: New file.
7447 2016-03-03 Yao Qi <yao.qi@linaro.org>
7449 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
7452 2016-03-03 Yao Qi <yao.qi@linaro.org>
7454 * gdb.base/disp-step-fork.c: Rename to ...
7455 * gdb.base/step-over-fork.c: ... it. New file.
7456 * gdb.base/disp-step-vfork.c: Rename to ...
7457 * gdb.base/step-over-vfork.c: ... it. New file.
7458 * gdb.base/disp-step-syscall.exp: Rename to ...
7459 * gdb.base/step-over-syscall.exp: ... it. New file.
7460 (disp_step_cross_syscall): Rename to ...
7461 (step_over_syscall): ... it.
7463 2016-03-03 Yao Qi <yao.qi@linaro.org>
7465 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
7466 If target supports condition evaluation on target, invoke
7467 break_cond_on_syscall for fork and vfork.
7469 2016-03-03 Yao Qi <yao.qi@linaro.org>
7471 * gdb.base/disp-step-syscall.exp: Don't invoke
7472 support_displaced_stepping.
7473 (disp_step_cross_syscall): Test with displaced stepping off and
7476 2016-03-03 Yao Qi <yao.qi@linaro.org>
7478 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
7481 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7484 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7486 * gdb.fortran/vla-history.exp: Remove breakpoint.
7488 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7490 * gdb.fortran/vla-history.exp: Lookup array elements and printing
7493 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7495 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
7498 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
7500 * gdb.mi/vla.f90: Nullify pointer after declaration.
7502 2016-03-01 Pedro Alves <palves@redhat.com>
7504 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7506 2016-03-01 Pedro Alves <palves@redhat.com>
7508 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7509 before anything else.
7510 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
7512 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7513 before anything else.
7514 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7516 2016-03-01 Pedro Alves <palves@redhat.com>
7518 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7520 2016-03-01 Yao Qi <yao.qi@linaro.org>
7522 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7523 prepare_for_testing.
7525 2016-03-01 Yao Qi <yao.qi@linaro.org>
7527 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7529 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7531 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7532 manually constructing the output path.
7534 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
7536 * gdb.arch/s390-stackless.S: New.
7537 * gdb.arch/s390-stackless.exp: New.
7539 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
7541 * gdb.dlang/circular.c: New file.
7542 * gdb.dlang/circular.exp: New file.
7544 2016-02-26 Yao Qi <yao.qi@linaro.org>
7546 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
7547 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
7548 (testcases): Update.
7550 2016-02-26 Yao Qi <yao.qi@linaro.org>
7552 * gdb.reverse/aarch64.c: Rename to ...
7553 * gdb.reverse/insn-reverse.c: ... it.
7554 * gdb.reverse/aarch64.exp: Rename to ...
7555 * gdb.reverse/insn-reverse.exp: ... it.
7557 2016-02-26 Yao Qi <yao.qi@linaro.org>
7559 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
7560 (testcase_ftype): New.
7561 (testcases): New array.
7563 (main): Call each element in testcases.
7564 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7565 (read_testcase): New.
7566 Do the tests in a loop.
7568 2016-02-25 Yao Qi <yao.qi@linaro.org>
7570 * gdb.base/branches.c: Remove.
7572 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7575 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7577 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7579 * gdb.trace/ftrace.exp: Remove unnecessary target check.
7581 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
7583 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7584 change x86_64 call_insn to 'callq'.
7586 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
7588 * gdb.trace/tfile-avx.c: Move to...
7589 * gdb.trace/tracefile-pseudo-reg.c: Here.
7590 * gdb.trace/tfile-avx.exp: Move to...
7591 * gdb.trace/tracefile-pseudo-reg.exp: Here.
7593 2016-02-24 Gary Benson <gbenson@redhat.com>
7595 * gdb.base/attach-pie-noexec.exp: Do not expect an error
7598 2016-02-23 Doug Evans <dje@google.com>
7600 * gdb.base/skip.c (test_skip): New function.
7601 (end_test_skip_file_and_function): New function.
7602 (test_skip_file_and_function): New function.
7603 * gdb.base/skip1.c (test_skip): New function.
7604 (skip1_test_skip_file_and_function): New function.
7605 * gdb.base/skip.exp: Add tests for new skip options.
7606 * gdb.base/skip-solib.exp: Update expected output.
7607 * gdb.perf/skip-command.cc: New file.
7608 * gdb.perf/skip-command.exp: New file.
7609 * gdb.perf/skip-command.py: New file.
7611 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
7613 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7614 info registers pattern.
7616 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
7618 * lib/future.exp: Add D support.
7619 (gdb_find_gdc): New proc.
7620 (gdb_default_target_compile): Add D support.
7622 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
7624 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7626 (trace_speed_test): Determine the iteration count for a time
7627 between 15..30 seconds.
7629 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
7631 * gdb.arch/i386-mpx-sigsegv.c: New file.
7632 * gdb.arch/i386-mpx-sigsegv.exp: New file.
7633 * gdb.arch/i386-mpx-simple_segv.c: New file.
7634 * gdb.arch/i386-mpx-simple_segv.exp: New file.
7636 2016-02-18 Yao Qi <yao.qi@linaro.org>
7638 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7639 Don't call setup_kfail.
7641 2016-02-18 Yao Qi <yao.qi@linaro.org>
7643 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7644 Set "set breakpoint condition-evaluation" per $cond_bp_target.
7646 2016-02-16 Doug Evans <dje@google.com>
7648 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
7649 * gdb.base/skip1.c: Ditto.
7650 * gdb.base/skip.exp: Whitespace cleanup.
7652 2016-02-16 Don Breazeal <donb@codesourcery.com>
7655 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7656 Remove kfail for PR remote/19496.
7658 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7660 * lib/gdb.exp (standard_temp_file): Return a path specific to
7661 the runtest invocation.
7663 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
7665 * gdb.trace/save-trace.exp: Change relative path to be in the
7666 standard output directory.
7668 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7670 * gdb.arch/i386-prologue.c: Add missing prototypes.
7672 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7674 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7675 * gdb.arch/i386-prologue.exp: Likewise.
7676 * gdb.arch/i386-size.exp: Likewise.
7678 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
7680 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7681 define object file path.
7682 * gdb.btrace/gcore.exp: Use standard_output_file to define core
7684 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7685 standard_output_file to define binfile.
7687 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7689 Fix compatibility with recent gfortran-5.3.1.
7690 * gdb.fortran/vla-history.exp (print vla1 allocated)
7691 (print vla2 allocated, print $2, print $3): Remove
7692 (print $4): Rename to ...
7693 (print $2): ... here.
7694 (print $9): Rename to ...
7695 (print $5): ... here.
7696 (print $10): Rename to ...
7697 (print $6): ... here.
7698 * gdb.fortran/vla.f90: Add pvla initialization.
7700 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7702 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7704 * gdb.fortran/vla-value-sub.exp: Likewise.
7706 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
7708 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7710 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
7712 * i386-biarch-core.exp: Define corefile using
7713 standard_output_file.
7715 2016-02-12 Yao Qi <yao.qi@linaro.org>
7717 * gdb.arch/arm-single-step-kernel-helper.c: New.
7718 * gdb.arch/arm-single-step-kernel-helper.exp: New.
7720 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
7722 * gdb.btrace/tailcall-only.exp: New.
7723 * gdb.btrace/tailcall-only.c: New.
7724 * gdb.btrace/x86_64-tailcall-only.S: New.
7725 * gdb.btrace/i686-tailcall-only.S: New.
7727 2016-02-11 Pedro Alves <palves@redhat.com>
7729 * README (Parallel testing): Add missing double quotes.
7731 2016-02-11 Pedro Alves <palves@redhat.com>
7733 * README (Parallel testing): New section.
7734 (GDB_PARALLEL): Rewrite.
7735 (FORCE_PARALLEL): Document.
7737 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
7739 * gdb.trace/tfile-avx.c: New test.
7740 * gdb.trace/tfile-avx.exp: New test.
7742 2016-02-09 Keith Seitz <keiths@redhat.com>
7744 PR breakpoints/19546
7745 * gdb.base/infcall-exec.c: New file.
7746 * gdb.base/infcall-exec2.c: New file.
7747 * gdb.base/infcall-exec.exp: New file.
7749 2016-02-09 Keith Seitz <keiths@redhat.com>
7751 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7752 (toplevel): Call test_bkpt_address.
7754 2016-02-09 Keith Seitz <keiths@redhat.com>
7757 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7758 (toplevel): Call test_bkpt_address.
7760 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
7762 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7764 * configure: Regenerate.
7766 2016-02-09 Pedro Alves <palves@redhat.com>
7768 PR breakpoints/19548
7769 * gdb.base/execl-update-breakpoints.c (some_function): New
7772 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7773 Tighten expected GDB output.
7775 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7777 * Makefile.in (ALL_SUBDIRS): Remove.
7778 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7779 (distclean maintainer-clean realclean): Likewise.
7780 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7781 * configure: Regenerate.
7782 * gdb.ada/Makefile.in: Delete.
7783 * gdb.arch/Makefile.in: Likewise.
7784 * gdb.asm/Makefile.in: Likewise.
7785 * gdb.base/Makefile.in: Likewise.
7786 * gdb.btrace/Makefile.in: Likewise.
7787 * gdb.cell/Makefile.in: Likewise.
7788 * gdb.compile/Makefile.in: Likewise.
7789 * gdb.cp/Makefile.in: Likewise.
7790 * gdb.disasm/Makefile.in: Likewise.
7791 * gdb.dlang/Makefile.in: Likewise.
7792 * gdb.dwarf2/Makefile.in: Likewise.
7793 * gdb.fortran/Makefile.in: Likewise.
7794 * gdb.gdb/Makefile.in: Likewise.
7795 * gdb.go/Makefile.in: Likewise.
7796 * gdb.guile/Makefile.in: Likewise.
7797 * gdb.java/Makefile.in: Likewise.
7798 * gdb.linespec/Makefile.in: Likewise.
7799 * gdb.mi/Makefile.in: Likewise.
7800 * gdb.modula2/Makefile.in: Likewise.
7801 * gdb.multi/Makefile.in: Likewise.
7802 * gdb.objc/Makefile.in: Likewise.
7803 * gdb.opencl/Makefile.in: Likewise.
7804 * gdb.opt/Makefile.in: Likewise.
7805 * gdb.pascal/Makefile.in: Likewise.
7806 * gdb.perf/Makefile.in: Likewise.
7807 * gdb.python/Makefile.in: Likewise.
7808 * gdb.reverse/Makefile.in: Likewise.
7809 * gdb.server/Makefile.in: Likewise.
7810 * gdb.stabs/Makefile.in: Likewise.
7811 * gdb.threads/Makefile.in: Likewise.
7812 * gdb.trace/Makefile.in: Likewise.
7813 * gdb.xml/Makefile.in: Likewise.
7814 * lib/gdb.exp (make_gdb_parallel_path): Add check for
7816 (standard_output_file): Remove check for GDB_PARALLEL, always
7817 return path in outputs/$subdir/$testname.
7819 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
7821 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
7822 (site.exp): Assign abs_srcdir to tcl's srcdir.
7824 2016-02-04 Yao Qi <yao.qi@linaro.org>
7826 * gdb.base/foll-exec-mode.c: Include limits.h.
7827 (main): Add parameters argc and argv. Get directory from
7829 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
7831 * gdb.base/foll-exec.c: Include limits.h.
7832 (main): Add parameters argc and argv.
7833 Get directory from argv[0].
7834 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
7835 Adjust tests on the number of lines as source code changed.
7836 * gdb.base/foll-vfork-exit.c: Include limits.h.
7837 (main): Add one line of statement before vfork.
7838 * gdb.base/foll-vfork.c: Include limits.h and string.h.
7839 (main): Add parameters argc and argv. Get directory from
7841 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
7842 (setup_gdb): Set tbreak to skip some source lines.
7843 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
7844 (main): Add parameters argc and argv. Get directory from
7846 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
7848 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
7849 (main): Add parameters argc and argv. Get directory from
7851 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
7854 2016-02-01 Doug Evans <dje@google.com>
7856 * gdb.base/skip.exp: Clean up multiple references to same test name.
7858 2016-02-01 Pedro Alves <palves@redhat.com>
7861 * gdb.threads/forking-threads-plus-breakpoint.exp
7862 (displaced_stepping_supported): New global.
7863 (probe_displaced_stepping_support): New procedure.
7864 (do_test): Add 'displaced' parameter, and use it.
7865 (top level): Check for displaced stepping support. Add displaced
7866 stepping on/off testing axis.
7868 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7870 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
7871 pointer. Don't perform further tests on the unassociated pointer
7872 if the first test fails.
7874 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
7876 * gdb.base/max-value-size.c: New file.
7877 * gdb.base/max-value-size.exp: New file.
7878 * gdb.base/huge.exp: Disable max-value-size for this test.
7880 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
7882 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7884 2016-01-28 Yao Qi <yao.qi@linaro.org>
7886 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
7888 2016-01-25 Pedro Alves <palves@redhat.com>
7891 * gdb.base/fork-running-state.c: New file.
7892 * gdb.base/fork-running-state.exp: New file.
7894 2016-01-25 Pedro Alves <palves@redhat.com>
7897 * gdb.base/catch-fork-kill.c: New file.
7898 * gdb.base/catch-fork-kill.exp: New file.
7900 2016-01-25 Pedro Alves <palves@redhat.com>
7902 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
7903 Delete, moved to lib/gdb.exp.
7904 * gdb.threads/forking-threads-plus-breakpoint.exp
7905 (foreach_with_prefix): Likewise.
7906 * gdb.threads/process-dies-while-handling-bp.exp
7907 (foreach_with_prefix): Likewise.
7908 * lib/gdb.exp (foreach_with_prefix): New procedure.
7910 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
7912 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
7913 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
7915 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
7917 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
7920 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7921 Pedro Alves <palves@redhat.com>
7923 Fix testsuite compatibility with Guile.
7924 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
7927 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7929 Fix testsuite compatibility with Guile.
7930 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
7931 (thread 1): New test for backtrace through signal handler.
7933 2016-01-22 Yao Qi <yao.qi@linaro.org>
7936 * gdb.base/multi-forks.c: Include
7937 ../lib/unbuffer_output.c
7938 (main): Call gdb_unbuffer_output.
7940 2016-01-21 Doug Evans <dje@google.com>
7942 * lib/ada.exp (gdb_compile_ada): Fix typo.
7944 2016-01-21 Joel Brobecker <brobecker@adacore.com>
7946 * gdb.base/break-fun-addr.exp: New file.
7947 * gdb.base/break-fun-addr1.c: New file.
7948 * gdb.base/break-fun-addr2.c: New file.
7950 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
7952 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
7953 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
7956 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7958 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
7959 when GDB can not set the vector return value. Add more comments
7962 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
7964 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
7967 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7969 * Makefile.in (DO_RUNTEST): Add --status and update usages.
7971 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7973 * Makefile.in (check-single): Pass --status to runtest.
7974 (check/%.exp): Likewise.
7976 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
7978 * Makefile.in (check-parallel): Propagate return code from make
7981 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
7983 * gdb.trace/ftrace.exp: Fix expected message on continue.
7984 * gdb.trace/pending.exp: Fix expected message on continue.
7985 * gdb.trace/trace-break.exp: Fix expected message on continue.
7987 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
7989 * lib/gdb.exp (gdb_test): Remove unused global references.
7991 2016-01-18 Pedro Alves <palves@redhat.com>
7993 * gdb.base/async-shell.exp: Adjust expected output.
7994 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
7995 * gdb.base/siginfo-thread.exp: Adjust expected output.
7996 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
7997 * gdb.java/jnpe.exp: Adjust expected output.
7998 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
7999 * gdb.threads/continue-pending-status.exp: Adjust expected output.
8000 * gdb.threads/leader-exit.exp: Adjust expected output.
8001 * gdb.threads/manythreads.exp: Adjust expected output.
8002 * gdb.threads/pthreads.exp: Adjust expected output.
8003 * gdb.threads/schedlock.exp: Adjust expected output.
8004 * gdb.threads/siginfo-threads.exp: Adjust expected output.
8005 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
8007 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
8009 * gdb.threads/sigthread.exp: Adjust expected output.
8010 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
8012 2016-01-18 Yao Qi <yao.qi@linaro.org>
8014 * gdb.guile/scm-section-script.c: Replace @progbits with
8016 * gdb.python/py-section-script.c: Likewise.
8018 2016-01-15 Pedro Alves <palves@redhat.com>
8020 * gdb.multi/tids.exp: Test star wildcard ranges.
8022 2016-01-15 Pedro Alves <palves@redhat.com>
8024 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
8025 command from "thread apply" invocation.
8026 (thr_apply_info_thr_invalid): Default the expected output to the
8028 (top level): Add tests that use convenience variables. Add tests
8029 for "thread apply" with a valid TID list, but missing the command.
8031 2016-01-13 Pedro Alves <palves@redhat.com>
8033 * gdb.base/default.exp: Expect $_gthread as well.
8034 * gdb.multi/tids.exp: Test $_gthread.
8035 * gdb.threads/thread-specific.exp: Test $_gthread.
8037 2016-01-13 Pedro Alves <palves@redhat.com>
8039 * gdb.multi/tids.exp: Test "info threads -gid".
8041 2016-01-13 Pedro Alves <palves@redhat.com>
8043 * gdb.multi/tids.exp: Test InferiorThread.global_num and
8045 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
8047 2016-01-07 Pedro Alves <palves@redhat.com>
8049 * gdb.base/break.exp: Adjust to output changes.
8050 * gdb.base/hbreak2.exp: Likewise.
8051 * gdb.base/sepdebug.exp: Likewise.
8052 * gdb.base/watch_thread_num.exp: Likewise.
8053 * gdb.linespec/keywords.exp: Likewise.
8054 * gdb.multi/info-threads.exp: Likewise.
8055 * gdb.threads/thread-find.exp: Likewise.
8056 * gdb.multi/tids.c: New file.
8057 * gdb.multi/tids.exp: New file.
8059 2016-01-13 Pedro Alves <palves@redhat.com>
8061 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
8063 2016-01-13 Pedro Alves <palves@redhat.com>
8065 * gdb.base/default.exp: Expect $_inferior as well.
8066 * gdb.multi/base.exp: Test $_inferior.
8068 2016-01-13 Pedro Alves <palves@redhat.com>
8070 PR breakpoints/19388
8071 * gdb.base/catch-signal-siginfo-cond.c: New file.
8072 * gdb.base/catch-signal-siginfo-cond.exp: New file.
8074 2016-01-12 Josh Stone <jistone@redhat.com>
8075 Philippe Waroquiers <philippe.waroquiers@skynet.be>
8077 * gdb.base/catch-syscall.c (do_execve): New variable.
8078 (main): Conditionally trigger an execve.
8079 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
8080 (test_catch_syscall_execve): New, check entry/return across execve.
8081 (do_syscall_tests): Call test_catch_syscall_execve.
8083 2016-01-12 Pedro Alves <palves@redhat.com>
8085 * gdb.base/random-signal.exp (do_test): New procedure, with body
8086 of testcase moved in.
8088 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8089 Pedro Alves <palves@redhat.com>
8091 * gdb.base/funcargs.exp (finish from indirectly called function):
8092 Reintroduce the case for 'First'.
8094 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8095 Pedro Alves <palves@redhat.com>
8097 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8098 (tcatch_vfork_then_child_follow_exec)
8099 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
8102 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8104 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
8105 and repeats to unlimited.
8106 * gdb.python/py-value.exp: Likewise.
8107 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
8108 and repeats to unlimited.
8110 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8112 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
8113 and reordering the functions.
8114 * gdb.multi/hangout.c: Likewise.
8115 * gdb.multi/hello.c: Likewise.
8117 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
8119 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
8121 (SingleStatisticTestResult.report): Use dict.keys instead of
8124 2016-01-06 Pedro Alves <palves@redhat.com>
8126 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
8128 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
8130 * gdb.btrace/dlopen.exp: New.
8131 * gdb.btrace/dlopen.c: New.
8132 * gdb.btrace/dlopen-dso.c: New.
8134 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
8136 * lib/gdb.exp (gdb_test): Update comments to clarify that the
8137 PATTERN argument is optional.
8139 2015-12-24 Joel Brobecker <brobecker@adacore.com>
8141 * lib/ada.exp (target_compile_ada_from_dir): New function.
8142 (gdb_compile_ada): Reimplement avoiding the use of project files.
8143 * gdb.ada/gnat_ada.gpr: Delete.
8144 * gdb.ada/cond_lang.exp: Adjust test to make path before
8146 * gdb.ada/small_reg_param.exp: Likewise.
8148 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
8150 * gdb.base/foll-vork.exp: Remove HP-UX special case.
8152 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
8154 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
8157 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
8159 * gdb.base/break.exp: Remove dead code.
8160 * gdb.base/sepdebug.exp: Likewise.
8162 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
8164 * gdb.asm/asm-source.exp: Remove HP-UX references.
8165 * gdb.base/annota1.exp: Likewise.
8166 * gdb.base/annota3.exp: Likewise.
8167 * gdb.base/attach.exp: Likewise.
8168 * gdb.base/bigcore.exp: Likewise.
8169 * gdb.base/break.exp: Likewise.
8170 * gdb.base/call-ar-st.exp: Likewise.
8171 * gdb.base/callfuncs.exp: Likewise.
8172 * gdb.base/catch-fork-static.exp: Likewise.
8173 * gdb.base/display.exp: Likewise.
8174 * gdb.base/foll-exec-mode.exp: Likewise.
8175 * gdb.base/foll-exec.exp: Likewise.
8176 * gdb.base/foll-fork.exp: Likewise.
8177 * gdb.base/foll-vfork.exp: Likewise.
8178 * gdb.base/funcargs.exp: Likewise.
8179 * gdb.base/hbreak2.exp: Likewise.
8180 * gdb.base/inferior-died.exp: Likewise.
8181 * gdb.base/interrupt.exp: Likewise.
8182 * gdb.base/multi-forks.exp: Likewise.
8183 * gdb.base/nodebug.exp: Likewise.
8184 * gdb.base/sepdebug.exp: Likewise.
8185 * gdb.base/solib1.c: Likewise.
8186 * gdb.base/step-test.exp: Likewise.
8187 * gdb.mi/non-stop.c: Likewise.
8188 * gdb.mi/pthreads.c: Likewise.
8189 * gdb.multi/bkpt-multi-exec.ex: Likewise.
8190 * gdb.threads/pthreads.c: Likewise.
8191 * gdb.threads/staticthreads.exp: Likewise.
8192 * lib/future.exp: Likewise.
8193 * lib/gdb.exp: Likewise.
8194 * gdb.base/so-indr-cl.c: Remove.
8195 * gdb.base/so-indr-cl.exp: Likewise.
8196 * gdb.base/solib.c: Likewise.
8197 * gdb.base/solib.exp: Likewise.
8198 * gdb.base/solib2.c: Likewise.
8200 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
8202 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
8203 * gdb.base/call-ar-st.exp: Likewise.
8204 * gdb.base/callfuncs.exp: Likewise.
8205 * gdb.base/condbreak.exp: Likewise.
8206 * gdb.base/constvars.exp: Likewise.
8207 * gdb.base/hbreak2.exp: Likewise.
8208 * gdb.base/langs.exp: Likewise.
8209 * gdb.base/list.exp: Likewise.
8210 * gdb.base/long_long.exp: Likewise.
8211 * gdb.base/ptype.exp: Likewise.
8212 * gdb.base/scope.exp: Likewise.
8213 * gdb.base/signals.exp: Likewise.
8214 * gdb.base/so-impl-ld.exp: Likewise.
8215 * gdb.base/varargs.exp: Likewise.
8216 * gdb.base/volatile.exp: Likewise.
8217 * gdb.base/whatis.exp: Likewise.
8218 * gdb.cp/cplusfuncs.exp: Likewise.
8219 * gdb.cp/inherit.exp: Likewise.
8220 * gdb.cp/local.exp: Likewise.
8221 * gdb.cp/member-ptr.exp: Likewise.
8222 * gdb.cp/method.exp: Likewise.
8223 * gdb.cp/overload.exp: Likewise.
8224 * gdb.cp/templates.exp: Likewise.
8225 * gdb.stabs/weird.exp: Likewise.
8226 * lib/compiler.c: Likewise.
8227 * lib/compiler.cc: Likewise.
8228 * lib/cp-support.exp: Likewise.
8229 * lib/gdb.exp: Likewise.
8231 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
8233 * configure.ac: Remove HP-UX case.
8234 * configure: Regenerate.
8236 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
8238 * lib/gdb.exp (gdb_compile): Add function doc.
8240 2015-12-17 Pedro Alves <palves@redhat.com>
8243 * gdb.multi/info-threads.exp: New file.
8245 2015-12-15 Yao Qi <yao.qi@linaro.org>
8247 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
8250 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8252 * gdb.base/history-duplicates.exp: Skip if no readline support.
8254 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8256 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
8258 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8260 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
8262 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
8264 * gdb.base/completion.exp: Skip tests that interrupt GDB with
8265 ctrl-C if nointerrupts target property is set.
8266 * gdb.base/double-prompt-target-event-error.exp: Likewise.
8267 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
8268 * gdb.base/paginate-bg-execution.exp: Likewise.
8269 * gdb.base/paginate-execution-startup.exp: Likewise.
8270 * gdb.base/random-signal.exp: Likewise.
8271 * gdb.base/range-stepping.exp: Likewise.
8272 * gdb.cp/annota2.exp: Likewise.
8273 * gdb.cp/annota3.exp: Likewise.
8274 * gdb.gdb/selftest.exp: Likewise.
8275 * gdb.threads/continue-pending-status.exp: Likewise.
8276 * gdb.threads/leader-exit.exp: Likewise.
8277 * gdb.threads/manythreads.exp: Likewise.
8278 * gdb.threads/pthreads.exp: Likewise.
8279 * gdb.threads/schedlock.exp: Likewise.
8280 * gdb.threads/sigthread.exp: Likewise.
8282 2015-12-11 Don Breazeal <donb@codesourcery.com>
8284 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
8286 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
8287 * gdb.base/foll-exec.exp (main): Enable for target remote.
8288 * gdb.base/foll-fork.exp (main): Likewise.
8289 * gdb.base/foll-vfork.exp (main): Likewise.
8290 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
8291 (proc continue_to_exit_bp_loc): Use clean_restart.
8292 * gdb.base/pie-execl.exp (main): Disable for target remote.
8293 * gdb.base/watch-vfork.exp (main): Enable for target remote.
8294 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
8295 * gdb.threads/execl.exp (main): Likewise.
8296 * gdb.threads/fork-child-threads.exp (main): Likewise.
8297 * gdb.threads/fork-plus-threads.exp (main): Disable for target
8299 * gdb.threads/fork-thread-pending.exp (main): Enable for target
8301 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
8302 pid.tid style ptids, instead of just tid.
8303 * gdb.threads/thread-execl.exp (main): Enable for target remote.
8304 * gdb.threads/watchpoint-fork.exp (main): Likewise.
8305 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
8306 ptids, instead of just tid.
8308 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8310 * gdb.base/list.exp (test_list_forward): Add end of file error
8312 (test_repeat_list_command): Add end of file error test.
8313 (test_list_backwards): Add beginning of file error test.
8315 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8317 * gdb.base/list.exp (test_list_invalid_args): New function,
8318 defined, and called.
8320 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
8322 * gdb.base/list.exp (test_list): Make test names unique.
8324 2015-12-11 Yao Qi <yao.qi@linaro.org>
8326 * gdb.base/coremaker2.c: Remove.
8328 2015-12-10 Pedro Alves <palves@redhat.com>
8330 * gdb.multi/base.exp: Remove stale "spaces" references.
8332 2015-12-10 Pedro Alves <palves@redhat.com>
8334 * gdb.multi/base.exp: Don't use nowarnings.
8335 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
8336 * gdb.multi/hangout.c: Include stdio.h.
8337 * gdb.multi/hello.c: Include stdlib.h.
8338 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
8339 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
8340 * gdb.multi/multi-arch.exp: Don't use nowarnings.
8342 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
8344 * gdb.dwarf2/dw2-ranges-base.c: New file.
8345 * gdb.dwarf2/dw2-ranges-base.exp: New file.
8346 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
8347 support additional line table, and debug ranges generation.
8348 (Dwarf::ranges): New function, generate .debug_ranges.
8349 (Dwarf::lines): Support generating simple line table programs.
8350 (Dwarf::assemble): Initialise new namespace variables.
8352 2015-12-09 Kevin Buettner <kevinb@redhat.com>
8354 * gdb.base/async.exp (proc test_background): Add case for
8355 asynchronous execution not supported.
8357 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
8359 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
8360 format and change test names to make them unique.
8362 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
8363 Pedro Alves <pedro@redhat.com>
8366 Add checking of floatformats setup on x86_64 hosts.
8367 * gdb.arch/i386-float.S (main): Load bigval and smallval.
8368 (smallval, bigval): New labels/constants.
8369 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
8370 float" after loading bigval and smallval.
8372 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
8374 * gdb.ada/fun_overload_menu.exp: New testcase.
8375 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
8377 2015-12-04 Josh Stone <jistone@redhat.com>
8379 * gdb.base/catch-fork-static.exp: New.
8381 2015-12-03 Yao Qi <yao.qi@linaro.org>
8383 * gdb.base/sizeof.c: Don't include stdio.h and
8384 ../lib/unbuffer_output.c.
8385 (main): New variable 'size' and 'value'. Remove printf and
8386 gdb_unbuffer_output. Assign return value to size and value.
8387 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
8389 (check_sizeof): Check the result by printing variable 'size'.
8390 (check_valueof): Check the result by printing variable 'value'.
8392 2015-12-01 Yao Qi <yao.qi@linaro.org>
8394 * gdb.base/disp-step-syscall.exp: Define syscall instruction
8395 for aarch64*-*-linux* target.
8397 2015-11-30 Pedro Alves <palves@redhat.com>
8399 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
8401 2015-11-30 Pedro Alves <palves@redhat.com>
8403 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
8404 Handle non-stop mode vCont replies.
8406 2015-11-30 Pedro Alves <palves@redhat.com>
8408 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
8409 prepare_for_testing. Start gdb with "set non-stop on" appended to
8410 GDBFLAGS. Lax expected stop output.
8412 2015-11-27 Yao Qi <yao.qi@linaro.org>
8414 * gdb.arch/arm-neon.exp: New.
8415 * gdb.arch/arm-neon.c: New.
8417 2015-11-27 Yao Qi <yao.qi@linaro.org>
8419 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
8421 2015-11-27 Yao Qi <yao.qi@linaro.org>
8423 * gdb.cp/annota2.exp: Allow multiple occurrences of the
8424 frames-invalid annotation.
8426 2015-11-27 Yao Qi <yao.qi@linaro.org>
8428 * gdb.cp/annota2.exp: Use ${frames_invalid}.
8430 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
8432 * gdb.threads/names.exp: New file.
8433 * gdb.threads/names.c: New file.
8434 * README: Mention gdb,no_thread_names.
8436 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
8439 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
8442 2015-11-24 Pedro Alves <palves@redhat.com>
8445 * gdb.base/display.exp: Expect displays to be sorted in ascending
8446 order. Use multi_line.
8447 * gdb.base/solib-display.exp: Likewise.
8449 2015-11-24 Pedro Alves <palves@redhat.com>
8452 * gdb.base/display.exp: Expect displays to be sorted in ascending
8453 order. Use multi_line.
8454 * gdb.base/solib-display.exp: Likewise.
8456 2015-11-24 Pedro Alves <palves@redhat.com>
8459 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
8460 threads in ascending order.
8461 * gdb.base/foll-fork.exp: Likewise.
8462 * gdb.base/foll-vfork.exp: Likewise.
8463 * gdb.base/multi-forks.exp: Likewise.
8464 * gdb.mi/mi-nonstop.exp: Likewise.
8465 * gdb.mi/mi-nsintrall.exp: Likewise.
8466 * gdb.multi/base.exp: Likewise.
8467 * gdb.multi/multi-arch.exp: Likewise.
8468 * gdb.python/py-inferior.exp: Likewise.
8469 * gdb.threads/break-while-running.exp: Likewise.
8470 * gdb.threads/execl.exp: Likewise.
8471 * gdb.threads/gcore-thread.exp: Likewise.
8472 * gdb.threads/info-threads-cur-sal.exp: Likewise.
8473 * gdb.threads/kill.exp: Likewise.
8474 * gdb.threads/linux-dp.exp: Likewise.
8475 * gdb.threads/multiple-step-overs.exp: Likewise.
8476 * gdb.threads/next-bp-other-thread.exp: Likewise.
8477 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
8478 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
8479 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
8480 * gdb.threads/thread-find.exp: Likewise.
8481 * gdb.threads/tls.exp: Likewise.
8482 * lib/mi-support.exp (mi_reverse_list): Delete.
8483 (mi_check_thread_states): No longer reverse list.
8485 2015-11-24 Pedro Alves <palves@redhat.com>
8487 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
8490 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
8492 * gdb.trace/actions.c: Include trace-common.h.
8493 (main): Add a location for a fast tracepoint.
8494 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8495 the normal tracepoints.
8496 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
8498 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
8500 * save-trace.exp: Factor out code to these...
8501 (gdb_save_tracepoints): New.
8502 (gdb_load_tracepoints): New.
8503 (do_save_load_test): New.
8505 2015-11-23 Kevin Buettner <kevinb@redhat.com>
8507 * gdb.base/asmlabel.exp: New test.
8508 * gdb.base/asmlabel.c: New test case.
8510 2015-11-23 Joel Brobecker <brobecker@adacore.com>
8512 * gdb.base/wrong_frame_bt_full-main.c: New file.
8513 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8514 * gdb.base/wrong_frame_bt_full.exp: New file.
8516 2015-11-23 Joel Brobecker <brobecker@adacore.com>
8518 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8520 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8522 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8523 pstate register when comparing registers values in
8524 sparc64-*-linux-gnu targets to avoid spurious differences.
8526 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
8528 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8530 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
8532 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8533 as type argument to gdb_compile.
8534 * gdb.base/nested-subp2.exp: Likewise.
8535 * gdb.base/nested-subp3.exp: Likewise.
8537 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
8539 * lib/dwarf.exp (_note): Fix left shift of negative value.
8540 * gdb.trace/trace-condition.exp: Likewise.
8542 2015-11-13 Yao Qi <yao.qi@linaro.org>
8544 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
8545 comments about d10v.
8546 (test_scalar_returns): Likewise.
8547 * gdb.base/d10v.ld: Remove.
8548 * gdb.base/overlays.exp: Remove the target triplet checking for
8550 * gdb.base/structs.exp (test_struct_returns): Remove the
8551 comments about d10v.
8552 (test_struct_calls): Likewise.
8554 2015-11-13 Yao Qi <yao.qi@linaro.org>
8556 * gdb.base/gnu_vector.exp: Check the return value by "p res".
8557 * gdb.base/gnu_vector.c: Don't include stdio.h.
8558 (main): Don't print res and call add_some_intvecs.
8560 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
8562 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8565 (func4): Use FAST_TRACEPOINT_LABEL.
8566 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8569 (thread_function): Use FAST_TRACEPOINT_LABEL.
8570 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8572 (marker): Use FAST_TRACEPOINT_LABEL.
8573 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8574 (pendfunc1): Remove.
8575 (pendfunc): Use FAST_TRACEPOINT_LABEL.
8576 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8578 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8579 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8582 (marker): Use FAST_TRACEPOINT_LABEL.
8583 * gdb.trace/trace-common.h: New header.
8584 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8587 (marker): Use FAST_TRACEPOINT_LABEL.
8588 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8590 (thread_function): Use FAST_TRACEPOINT_LABEL.
8592 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
8594 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8596 * gdb.trace/change-loc.exp: Use global pcreg definition.
8597 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8598 * gdb.trace/entry-values.exp: Use global spreg definition, add $
8600 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8601 * gdb.trace/pending.exp: Likewise.
8602 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8603 * gdb.trace/trace-break.exp: Likewise.
8604 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8606 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8607 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8609 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8611 2015-11-09 Joel Brobecker <brobecker@adacore.com>
8613 * gdb.ada/fin_fun_out: New testcase.
8615 2015-11-07 Kevin Buettner <kevinb@redhat.com>
8617 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8618 value associated with DW_AT_byte_size.
8619 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8620 constants for DW_AT_byte_size, DW_AT_lower_bound, and
8623 2015-11-07 Kevin Buettner <kevinb@redhat.com>
8625 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8626 (gdb_target_symbol_prefix_flags): Define in terms of _asm
8628 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8629 gdb.dwarf2/dw2-canonicalize-type.exp,
8630 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8631 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8632 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8633 provided by gdb_target_symbol_prefix_flags_asm.
8634 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8635 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8636 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8637 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8638 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8639 macros where needed). Use this macro for symbols which require
8640 the prefix provided by SYMBOL_PREFIX.
8642 2015-11-05 Kevin Buettner <kevinb@redhat.com>
8644 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8646 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8647 representing expressions, of more than one list element.
8648 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8649 to prepend linker symbol prefix to f.
8650 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8651 table_1 and table_2.
8652 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8653 Likewise, for f and g.
8654 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8656 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8658 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8659 table_1_ptr and table_2_ptr.
8661 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8662 Joel Brobecker <brobecker@adacore.com>
8664 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8666 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
8668 * gdb.reverse/s390-mvcle.c: New test.
8669 * gdb.reverse/s390-mvcle.exp: New file.
8670 * lib/gdb.exp: Enable reverse tests on s390*-linux.
8672 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8674 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8676 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
8678 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8680 * gdb.reverse/getresuid-reverse.exp: Likewise.
8681 * gdb.reverse/pipe-reverse.exp: Likewise.
8682 * gdb.reverse/readv-reverse.exp: Likewise.
8683 * gdb.reverse/recvmsg-reverse.exp: Likewise.
8684 * gdb.reverse/time-reverse.exp: Likewise.
8685 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8687 2015-10-30 Yao Qi <yao.qi@linaro.org>
8689 * gdb.threads/wp-replication.c (watch_count_done): Remove.
8690 (empty_cycle): Remove.
8691 (main): Don't call empty_cycle. Don't use watch_count_done.
8692 * gdb.threads/wp-replication.exp: Don't set breakpoint on
8693 empty_cycle. Rewrite the code counting HW watchpoints.
8695 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
8697 * gdb.reverse/fstatat-reverse.c: New test.
8698 * gdb.reverse/fstatat-reverse.exp: New file.
8699 * gdb.reverse/getresuid-reverse.c: New test.
8700 * gdb.reverse/getresuid-reverse.exp: New file.
8701 * gdb.reverse/pipe-reverse.c: New test.
8702 * gdb.reverse/pipe-reverse.exp: New file.
8703 * gdb.reverse/readv-reverse.c: New test.
8704 * gdb.reverse/readv-reverse.exp: New file.
8705 * gdb.reverse/recvmsg-reverse.c: New test.
8706 * gdb.reverse/recvmsg-reverse.exp: New file.
8707 * gdb.reverse/time-reverse.c: New test.
8708 * gdb.reverse/time-reverse.exp: New file.
8709 * gdb.reverse/waitpid-reverse.c: New test.
8710 * gdb.reverse/waitpid-reverse.exp: New file.
8712 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8714 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8716 2015-10-26 Doug Evans <dje@google.com>
8719 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8720 * gdb.dwarf2/bad-regnum.c: New file.
8721 * gdb.dwarf2/bad-regnum.exp: New file.
8723 2015-10-26 Doug Evans <dje@google.com>
8726 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8729 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8731 * gdb.compile/compile.exp (compile code globalvar): Update expectation
8732 for a change by "Mention language in compile error message".
8734 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
8737 * gdb.python/py-type.c (C::a_method): New.
8738 (C::a_const_method): New.
8739 (C::a_static_method): New.
8741 * gdb.python/py-type.exp (test_fields): Test getting fields
8742 from function and method.
8744 2015-10-21 Keven Boell <keven.boell@intel.com>
8746 * gdb.fortran/vla-alloc-assoc.exp: New file.
8747 * gdb.fortran/vla-datatypes.exp: New file.
8748 * gdb.fortran/vla-datatypes.f90: New file.
8749 * gdb.fortran/vla-history.exp: New file.
8750 * gdb.fortran/vla-ptype-sub.exp: New file.
8751 * gdb.fortran/vla-ptype.exp: New file.
8752 * gdb.fortran/vla-sizeof.exp: New file.
8753 * gdb.fortran/vla-sub.f90: New file.
8754 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8755 * gdb.fortran/vla-value-sub-finish.exp: New file.
8756 * gdb.fortran/vla-value-sub.exp: New file.
8757 * gdb.fortran/vla-value.exp: New file.
8758 * gdb.fortran/vla-ptr-info.exp: New file.
8759 * gdb.mi/mi-vla-fortran.exp: New file.
8760 * gdb.mi/vla.f90: New file.
8762 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
8764 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8765 of hardwired timeout value.
8767 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8768 Pedro Alves <palves@redhat.com>
8770 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8771 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8773 2015-10-19 Josh Stone <jistone@redhat.com>
8775 * gdb.base/catch-syscall.c: Include <sched.h>.
8776 (unknown_syscall): New variable.
8777 (main): Trigger a vfork and an unknown syscall.
8778 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8779 (unknown_syscall_number): Likewise.
8780 (check_call_to_syscall): Accept an optional syscall pattern.
8781 (check_return_from_syscall): Likewise.
8782 (check_continue): Likewise.
8783 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8784 (test_catch_syscall_skipping_return): New test toggling off 'catch
8785 syscall' to step over the syscall return, then toggling back on.
8786 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8787 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
8788 (do_syscall_tests): Call test_catch_syscall_without_args and
8789 test_catch_syscall_mid_vfork.
8790 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
8791 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
8793 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
8795 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
8796 print g_vE): Add new pass patterns.
8797 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
8798 print various symbol names for vptr fields.
8800 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
8802 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
8805 2015-10-12 Yao Qi <yao.qi@linaro.org>
8807 * gdb.arch/disp-step-insn-reloc.exp: New test case.
8809 2015-10-12 Yao Qi <yao.qi@linaro.org>
8811 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
8812 is aarch64*-*-linux*.
8814 2015-10-12 Yao Qi <yao.qi@linaro.org>
8816 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
8817 (can_relocate_bcond_true): ... it.
8818 (can_relocate_bcond_false): New function.
8820 (can_relocate_bl): Likewise.
8821 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
8824 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
8826 * gdb.base/nested-addr.c: New file.
8827 * gdb.base/nested-addr.exp: New testcase.
8829 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
8831 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
8832 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
8833 its output. Ignore the output of "record goto begin" and instead
8834 check that GDB is replaying.
8836 2015-10-09 Pedro Alves <palves@redhat.com>
8838 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
8839 (top level): Use it in the run with no args test.
8841 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
8843 * gdb.dlang/properties.exp: New file.
8845 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
8847 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
8848 whether or not address 0x1000 is mapped on the target.
8850 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
8852 * gdb.python/py-type.exp: Do not run tests if binaries fail to
8855 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
8857 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
8858 instruction-history test.
8860 2015-09-28 Doug Evans <dje@google.com>
8862 * gdb.base/gcore.c (array_func): Add reference to static_array.
8864 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
8866 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
8869 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
8871 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
8872 short or char as base type.
8874 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
8876 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
8877 to allow any size enum.
8879 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
8881 * gdb.ada/array_ptr_renaming.exp: New testcase.
8882 * gdb.ada/array_ptr_renaming/foo.adb: New file.
8883 * gdb.ada/array_ptr_renaming/pack.ads: New file.
8885 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8887 * gdb.trace/ftrace-lock.c: New file.
8888 * gdb.trace/ftrace-lock.exp: New file.
8890 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8892 * gdb.arch/insn-reloc.c: New file.
8893 * gdb.arch/ftrace-insn-reloc.exp: New file.
8895 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
8897 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
8899 * gdb.trace/pendshr1.c (pendfunc): Likewise.
8900 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
8901 * gdb.trace/range-stepping.c: Likewise.
8902 * gdb.trace/trace-break.c: Likewise.
8903 * gdb.trace/trace-mt.c (thread_function): Likewise.
8904 * gdb.trace/ftrace.c (marker): Likewise.
8905 * gdb.trace/trace-condition.c (marker): Likewise.
8906 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
8907 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
8910 2015-09-18 Doug Evans <xdje42@gmail.com>
8912 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
8913 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
8915 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8917 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
8920 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8922 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
8923 the pending breakpoint. Remove timeout override for "Run till
8924 MI pending breakpoint on pendfunc3 on thread 2" test.
8926 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8928 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
8931 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8933 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
8934 in breakpoint filename pattern.
8936 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8938 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
8940 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
8942 * gdb.linespec/explicit.exp: Check for readline support for
8943 tab-completion tests. Fix obvious typo.
8945 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8947 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
8950 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
8952 * gdb.btrace/non-stop.c: New.
8953 * gdb.btrace/non-stop.exp: New.
8955 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
8956 Yao Qi <yao.qi@linaro.org>
8958 * gdb.trace/trace-condition.c: New file.
8959 * gdb.trace/trace-condition.exp: New file.
8961 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
8963 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
8964 for testing bytecode compilation.
8966 2015-09-16 Pedro Alves <palves@redhat.com>
8967 Sandra Loosemore <sandra@codesourcery.com>
8969 * gdb.threads/non-stop-fair-events.c (timeout): New global.
8970 (SECONDS): Redefine.
8971 (main): Call pthread_kill and alarm early.
8972 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
8974 (test): If the target can't hardware step and doesn't support
8975 displaced stepping, increase the timeout.
8977 2015-09-16 Pedro Alves <palves@redhat.com>
8979 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
8980 (enable_debug): New procedures.
8981 (test): Use them. Bail out if waiting for threads fails.
8982 (top level): Bail out if a test fails.
8984 2015-09-16 Yao Qi <yao.qi@linaro.org>
8986 * gdb.asm/asm-source.exp: Set asm-arch for
8987 aarch64*-*-* target.
8988 * gdb.asm/aarch64.inc: New file.
8990 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
8992 * gdb.ada/array_of_variable_length.exp: New testcase.
8993 * gdb.ada/array_of_variable_length/foo.adb: New file.
8994 * gdb.ada/array_of_variable_length/pck.adb: New file.
8995 * gdb.ada/array_of_variable_length/pck.ads: New file.
8997 2015-09-15 Doug Evans <dje@google.com>
8999 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
9000 of function static local variable.
9002 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
9004 * gdb.threads/tls-so_extern.exp: New test file.
9005 * gdb.threads/tls-so_extern.c: New test file.
9006 * gdb.threads/tls-so_extern_main.c: New test file.
9008 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9010 * gdb.opt/solib-intra-step-lib.c: New file.
9011 * gdb.opt/solib-intra-step-main.c: New file.
9012 * gdb.opt/solib-intra-step.exp: New file.
9014 2015-09-15 Pedro Alves <palves@redhat.com>
9016 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
9017 gdb_continue_to_breakpoint instead of gdb_test_multiple.
9019 2015-09-14 Pedro Alves <palves@redhat.com>
9021 * gdb.base/hook-stop-continue.c: Delete.
9022 * gdb.base/hook-stop-continue.exp: Delete.
9023 * gdb.base/hook-stop-frame.c: Delete.
9024 * gdb.base/hook-stop-frame.exp: Delete.
9025 * gdb.base/hook-stop.c: New file.
9026 * gdb.base/hook-stop.exp: New file.
9028 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
9030 * gdb.ada/access_to_packed_array.exp: New testcase.
9031 * gdb.ada/access_to_packed_array/foo.adb: New file.
9032 * gdb.ada/access_to_packed_array/pack.adb: New file.
9033 * gdb.ada/access_to_packed_array/pack.ads: New file.
9035 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
9037 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
9040 2015-09-11 Don Breazeal <donb@codesourcery.com>
9042 * gdb.base/foll-exec.c: Add copyright header. Fix
9044 * gdb.base/foll-exec.exp (zap_session): Delete proc.
9045 (do_exec_tests): Use clean_restart in place of zap_session,
9046 and for test initialization. Fix formatting issues. Use
9047 fail in place of perror.
9048 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
9049 an expect statement to match an expression with output from
9050 the program under debug.
9051 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
9052 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
9053 * gdb.threads/non-ldr-exc-2.exp: Likewise.
9054 * gdb.threads/non-ldr-exc-3.exp: Likewise.
9055 * gdb.threads/non-ldr-exc-4.exp: Likewise.
9057 2015-09-09 Doug Evans <dje@google.com>
9059 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
9061 2015-09-09 Doug Evans <dje@google.com>
9063 * gdb.base/pie-execl.exp: Fix result test of build_executable.
9065 2015-09-09 Doug Evans <dje@google.com>
9067 * gdb.base/savedregs.exp: Fix typo.
9069 2015-09-09 Pedro Alves <palves@redhat.com>
9071 * gdb.mi/mi-cli.exp: Add CLI finish tests.
9073 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
9075 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
9076 command actually switches threads. Give up on remaining
9077 tests if target fails to stop at breakpoint.
9079 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
9081 * gdb.ada/funcall_char.exp: New testcase.
9082 * gdb.ada/funcall_char/foo.adb: New file.
9084 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
9086 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
9087 expected outputs. Add two testcases for completing ambiguous
9089 * gdb.ada/complete/aux_pck.adb: New file.
9090 * gdb.ada/complete/aux_pck.ads: New file.
9091 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
9092 Ambiguous_Func functions.
9093 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
9094 * gdb.ada/complete/pck.adb: Likewise.
9096 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
9098 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
9099 failures to run the test program under GDB.
9101 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
9103 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
9106 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
9108 * gdb.base/run-after-attach.exp: New test file.
9109 * gdb.base/run-after-attach.c: New test file.
9111 2015-08-26 Don Breazeal <donb@codesourcery.com>
9113 * gdb.base/foll-exec-2.c: New test program.
9114 * gdb.base/foll-exec-2.exp: New test.
9116 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
9118 * gdb.base/nested-subp1.exp: New file.
9119 * gdb.base/nested-subp1.c: New file.
9120 * gdb.base/nested-subp2.exp: New file.
9121 * gdb.base/nested-subp2.c: New file.
9122 * gdb.base/nested-subp3.exp: New file.
9123 * gdb.base/nested-subp3.c: New file.
9125 2015-08-24 Pedro Alves <palves@redhat.com>
9127 * gdb.server/connect-without-multi-process.c: New file.
9128 * gdb.server/connect-without-multi-process.exp: New file.
9130 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9132 * gdb.opt/inline-markers.c: Make z int.
9134 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9136 * gdb.opt/inline-markers.c: Make z volatile.
9138 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
9140 * gdb.opt/inline-bt.c: New volatile global z.
9141 * gdb.opt/inline-cmds.c: Likewise.
9142 * gdb.opt/inline-locals.c: Likewise.
9143 * gdb.opt/inline-markers.c: New extern global z.
9145 (inline_fn): Likewise.
9147 2015-08-24 Pedro Alves <palves@redhat.com>
9149 * config/m32r-stub.exp: Remove file.
9150 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
9151 * gdb.base/call-rt-st.exp: Likewise.
9152 * gdb.base/call-strs.exp: Likewise.
9153 * gdb.base/default.exp: Remove references to h8300-*-hms and
9155 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
9157 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
9159 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
9160 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
9161 and "return" use KFAIL when GDB can not read/write the vector
9164 2015-08-21 Gary Benson <gbenson@redhat.com>
9166 * gdb.trace/pending.exp: Cope with remote transfer warnings.
9168 2015-08-20 Pedro Alves <palves@redhat.com>
9170 * gdb.server/solib-list.exp: No longer expect an interior stop in
9173 2015-08-20 Pedro Alves <palves@redhat.com>
9175 * gdb.server/connect-stopped-target.c: New file.
9176 * gdb.server/connect-stopped-target.exp: New file.
9178 2015-08-20 Pedro Alves <palves@redhat.com>
9180 * gdb.dwarf2/comp-unit-lang.exp: New file.
9181 * gdb.dwarf2/comp-unit-lang.c: New file.
9183 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
9185 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
9186 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
9188 2015-08-19 Kevin Buettner <kevinb@redhat.com>
9190 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
9191 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
9193 2015-08-18 Doug Evans <dje@google.com>
9194 Adrian Sendroiu <adrian.sendroiu@freescale.com>
9196 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
9197 skip_python_tests. New arg prompt_regexp.
9198 (skip_python_tests): New function.
9199 * lib/mi-support.exp (mi_skip_python_tests): New function.
9200 * gdb.python/py-mi-objfile-gdb.py: New file.
9201 * gdb.python/py-mi-objfile.c: New file.
9202 * gdb.python/py-mi-objfile.exp: New file.
9204 2015-08-17 Keith Seitz <keiths@redhat.com>
9206 * gdb.linespec/explicit.exp: Move strace test from here ...
9207 * gdb.trace/strace.exp: ... to here.
9209 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
9211 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
9212 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
9214 2015-08-14 Doug Evans <xdje42@gmail.com>
9216 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
9217 inferior before selecting a new file.
9219 2015-08-14 Doug Evans <xdje42@gmail.com>
9221 * gdb.mi/mi-disassemble.exp: Update.
9222 * gdb.base/disasm-optim.S: New file.
9223 * gdb.base/disasm-optim.c: New file.
9224 * gdb.base/disasm-optim.h: New file.
9225 * gdb.base/disasm-optim.exp: New file.
9227 2015-08-14 Keith Seitz <keiths@redhat.com>
9229 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
9232 2015-08-13 Joel Brobecker <brobecker@adacore.com>
9234 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
9236 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
9238 * gdb.ada/fun_renaming.exp: New testcase.
9239 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
9240 * gdb.ada/fun_renaming/pack.adb: New file.
9241 * gdb.ada/fun_renaming/pack.ads: New file.
9243 2015-08-12 Keith Seitz <keiths@redhat.com>
9245 * gdb.base/dso2dso.exp: Pass basename of source file in call to
9246 gdb_get_line_number.
9248 2015-08-12 Joel Brobecker <brobecker@adacore.com>
9250 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
9251 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
9252 gdb.base/dso2dso.exp: New files.
9254 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
9255 Pedro Alves <palves@redhat.com>
9256 Keith Seitz <keiths@redhat.com>
9258 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
9261 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
9263 * gdb.base/gdbhistsize-history.exp
9264 (test_histsize_history_setting): Use save_vars.
9265 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9267 (test_no_truncation_of_unlimited_history_file): Use save_vars.
9268 * gdb.base/readline.exp: Use save_vars.
9270 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
9272 * lib/gdb.exp (save_vars): New proc.
9274 2015-08-11 Keith Seitz <keiths@redhat.com>
9276 * gdb.base/help.exp: Update help_breakpoint_text.
9278 2015-08-11 Keith Seitz <keiths@redhat.com>
9280 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
9281 (at toplevel): Call test_explicit_breakpoints.
9282 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
9284 * lib/mi-support.exp (mi_make_breakpoint): Add support for
9285 breakpoint conditions, "-cond".
9287 2015-08-11 Keith Seitz <keiths@redhat.com>
9289 * gdb.linespec/3explicit.c: New file.
9290 * gdb.linespec/cpexplicit.cc: New file.
9291 * gdb.linespec/cpexplicit.exp: New file.
9292 * gdb.linespec/explicit.c: New file.
9293 * gdb.linespec/explicit.exp: New file.
9294 * gdb.linespec/explicit2.c: New file.
9295 * gdb.linespec/ls-errs.exp: Add explicit location tests.
9296 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
9297 before using in the matching pattern.
9298 Clarify that `prefix' is a regular expression.
9300 2015-08-11 Keith Seitz <keiths@redhat.com>
9302 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
9304 Add tests for missing ",FMT" and ",".
9306 2015-08-10 Doug Evans <dje@google.com>
9307 Keith Seitz <keiths@redhat.com>
9310 * gdb.base/completion.exp: Add location completer tests.
9312 2015-08-07 Pedro Alves <palves@redhat.com>
9314 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
9316 (top level): Run do_test with and without displaced stepping.
9318 2015-08-07 Pedro Alves <palves@redhat.com>
9320 * gdb.base/valgrind-disp-step.c: New file.
9321 * gdb.base/valgrind-disp-step.exp: New file.
9323 2015-08-07 Pedro Alves <palves@redhat.com>
9325 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
9327 (main): Add alarm. Run an infinite loop instead of calling
9329 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
9331 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
9333 (main): Add alarm. Run an infinite loop instead of calling
9335 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
9338 2015-08-07 Pedro Alves <palves@redhat.com>
9340 * gdb.base/checkpoint-ns.exp: New file.
9341 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
9344 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
9346 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
9347 * gdb.btrace/instruction_history.exp: Update.
9348 * gdb.btrace/tsx.exp: New.
9349 * gdb.btrace/tsx.c: New.
9351 2015-08-06 Pedro Alves <palves@redhat.com>
9353 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
9355 * gdb.reverse/until-precsave.exp: Bump timeouts.
9357 2015-08-06 Pedro Alves <palves@redhat.com>
9359 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
9361 2015-08-06 Pedro Alves <palves@redhat.com>
9364 * gdb.threads/process-dies-while-handling-bp.c: New file.
9365 * gdb.threads/process-dies-while-handling-bp.exp: New file.
9367 2015-08-06 Pedro Alves <palves@redhat.com>
9369 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
9370 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
9372 2015-08-05 Pedro Alves <palves@redhat.com>
9374 * gdb.threads/next-while-other-thread-longjmps.c: New file.
9375 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
9377 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
9379 * gdb.base/bp-permanent.exp: Report test as unsupported if
9380 the target cannot stop at the permanent breakpoint.
9382 2015-08-03 Doug Evans <dje@google.com>
9384 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
9387 2015-08-03 Doug Evans <dje@google.com>
9389 * Makefile.in (workers/%.worker, build-perf): New rule.
9390 (GDB_PERFTEST_MODE): New variable.
9391 (check-perf): Use it.
9392 (clean): Clean up gdb.perf parallel build subdirs.
9393 * lib/build-piece.exp: New file.
9394 * lib/gdb.exp (make_gdb_parallel_path): New function
9395 (standard_output_file, standard_temp_file): Call it.
9396 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9398 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
9400 2015-08-03 Doug Evans <dje@google.com>
9402 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
9403 (LOG_FILE_NAME): New global.
9404 (TextReporter.__init__): Initialize self.txt_sum.
9405 (TextReporter.report): Add support for multiple data-points.
9406 Move report to perftest.sum, put raw data in perftest.log.
9407 (TextReporter.start): Open sum and log files.
9408 (TextReporter.end): Close sum and log files.
9409 * gdb.perf/lib/perftest/testresult.py
9410 (SingleStatisticTestResult.record): Handle multiple data-points.
9412 2015-07-31 Pedro Alves <palves@redhat.com>
9414 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
9415 Use spawn_id_get_pid. Wait for spawn id after eof. Use
9416 kill_wait_spawned_process instead of explicit "kill -9".
9417 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
9418 returning a spawn id instead of a pid. Use spawn_id_get_pid and
9419 kill_wait_spawned_process.
9420 * gdb.base/attach-twice.exp: Likewise.
9421 * gdb.base/attach.exp: Likewise.
9422 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
9424 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
9425 returning a spawn id instead of a pid. Use spawn_id_get_pid and
9426 kill_wait_spawned_process.
9427 * gdb.base/valgrind-infcall.exp: Likewise.
9428 * gdb.multi/multi-attach.exp: Likewise.
9429 * gdb.python/py-prompt.exp: Likewise.
9430 * gdb.python/py-sync-interp.exp: Likewise.
9431 * gdb.server/ext-attach.exp: Likewise.
9432 * gdb.threads/attach-into-signal.exp (corefunc): Use
9433 spawn_wait_for_attach, spawn_id_get_pid and
9434 kill_wait_spawned_process.
9435 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
9436 spawn_wait_for_attach returning a spawn id instead of a pid. Use
9437 spawn_id_get_pid and kill_wait_spawned_process.
9438 * gdb.threads/attach-stopped.exp (corefunc): Use
9439 spawn_wait_for_attach, spawn_id_get_pid and
9440 kill_wait_spawned_process.
9441 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
9442 Use spawn_id_get_pid. Wait for spawn id after eof. Use
9443 kill_wait_spawned_process instead of explicit "kill -9".
9444 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
9445 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
9446 (spawn_wait_for_attach): Use spawn instead of exec to spawn
9447 processes. Don't map cygwin/windows pids here. Now returns a
9450 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9452 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
9453 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
9456 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9458 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
9460 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
9463 2014-05-21 Mark Wielaard <mjw@redhat.com>
9465 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9467 2015-07-30 Pedro Alves <palves@redhat.com>
9469 * linux-low.c (handle_extended_wait): Set the child's last
9470 reported status to TARGET_WAITKIND_STOPPED.
9472 2015-07-30 Pedro Alves <palves@redhat.com>
9475 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
9476 only shows inferior 1.
9478 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
9479 Pedro Alves <palves@redhat.com>
9482 * gdb.threads/fork-plus-threads.c: New file.
9483 * gdb.threads/fork-plus-threads.exp: New file.
9485 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9487 * gdb.base/batch-preserve-term-settings.exp
9488 (test_terminal_settings_preserved_after_cli_exit): Use
9491 2015-07-29 Pedro Alves <palves@redhat.com>
9492 Don Breazeal <donb@codesourcery.com>
9494 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9495 output from both inferior_spawn_id and gdb_spawn_id.
9497 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9499 * gdb.threads/attach-into-signal.exp (corefunc): Use
9500 with_test_prefix on nested loops, uniquefying the test messages.
9502 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
9504 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9507 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9509 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9511 (test_terminal_settings_preserved_after_sigterm): New test.
9513 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9515 * gdb.base/batch-preserve-term-settings.exp
9516 (test_terminal_settings_preserved_after_cli_exit): New test.
9518 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
9520 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9521 manipulation of saved_gdbflags.
9522 (test_terminal_settings_preserved): Remove global declaration of
9523 the unused variable pagination_prompt. Remove manipulation of
9524 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
9527 2015-07-29 Pedro Alves <palves@redhat.com>
9529 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9531 2015-07-29 Pedro Alves <palves@redhat.com>
9533 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9536 2015-07-29 Pedro Alves <palves@redhat.com>
9538 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
9539 (main): Call gdb_unbuffer_output.
9540 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
9541 (main): Call gdb_unbuffer_output.
9542 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
9543 (main): Call gdb_unbuffer_output.
9544 * gdb.base/call-strs.exp: Adjust to step over the
9545 gdb_unbuffer_output call.
9546 * gdb.base/catch-gdb-caused-signals.c: Include
9547 "../lib/unbuffer_output.c".
9548 (main): Call gdb_unbuffer_output.
9549 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
9550 (main): Call gdb_unbuffer_output.
9551 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
9552 (main): Call gdb_unbuffer_output.
9553 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
9554 (main): Call gdb_unbuffer_output.
9555 * gdb.base/shlib-call.exp: Adjust to step over the
9556 gdb_unbuffer_output call.
9557 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
9558 (main): Call gdb_unbuffer_output.
9559 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
9560 (main): Call gdb_unbuffer_output.
9561 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9562 (main): Rename to ...
9564 (main): Reimplement.
9565 * gdb.base/varargs.exp: Run to test instead of to main.
9566 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9567 (main): Call gdb_unbuffer_output.
9569 2015-07-29 Pedro Alves <palves@redhat.com>
9571 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9572 factore out from mi_continue_dprintf. For call-style dprintfs,
9573 expect dprintf output out of $inferior_spawn_id.
9574 (mi_continue_dprintf): Use mi_expect_dprintf.
9575 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9576 (main): Call gdb_unbuffer_output.
9578 2015-07-29 Pedro Alves <palves@redhat.com>
9580 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9581 (default_mi_gdb_start): Set inferior_spawn_id instead of
9582 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
9584 (mi_gdb_test): Always expect inferior output from both
9585 $inferior_spawn_id and $gdb_spawn_id.
9587 2015-07-29 Pedro Alves <palves@redhat.com>
9589 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
9590 send_inferior and $inferior_spawn_id.
9592 2015-07-29 Pedro Alves <palves@redhat.com>
9594 * gdb.gdb/complaints.exp (test_initial_complaints)
9595 (test_serial_complaints, test_short_complaints): Use
9597 (test_empty_complaint): Handle $inferior_spawn_id !=
9600 2015-07-29 Pedro Alves <palves@redhat.com>
9602 * gdb.base/varargs.exp: Use gdb_test_stdio.
9604 2015-07-29 Pedro Alves <palves@redhat.com>
9606 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9608 2015-07-29 Pedro Alves <palves@redhat.com>
9610 * gdb.base/ending-run.exp: Use gdb_test_stdio.
9612 2015-07-29 Pedro Alves <palves@redhat.com>
9614 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9615 parameter into two new parameters, "inf_result" and "gdb_result".
9616 Expect inferior output and gdb output from $inferior_spawn_id and
9617 $gdb_spawn_id, respectively. Adjust all callers.
9619 2015-07-29 Pedro Alves <palves@redhat.com>
9621 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9622 of gdb_test_sequence.
9624 2015-07-29 Pedro Alves <palves@redhat.com>
9626 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9627 (saw_spurious_output): Expect inferior output from
9628 $inferior_spawn_id. Use gdb_test_stdio.
9630 2015-07-29 Pedro Alves <palves@redhat.com>
9632 * gdb.base/dprintf.exp: Use standard_testfile. Change
9633 prepare_for_testing call.
9634 (srcfile): Don't set.
9635 (restart): New procedure.
9636 (test_dprintf): New procecure, use to continue over dprintfs.
9637 (test_call, test_agent): New procedures, tests moved here.
9638 Restart gdb and recreate dprintfs. Adjust expected output.
9640 2015-07-29 Pedro Alves <palves@redhat.com>
9642 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9644 2015-07-29 Pedro Alves <palves@redhat.com>
9646 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9648 2015-07-29 Pedro Alves <palves@redhat.com>
9650 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9653 2015-07-29 Pedro Alves <palves@redhat.com>
9655 * lib/gdb.exp (gdb_test_stdio): New procedure.
9657 2015-07-29 Pedro Alves <palves@redhat.com>
9659 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9661 2015-07-29 Pedro Alves <palves@redhat.com>
9663 * gdb.base/call-signal-resume.exp: Remove check for
9664 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
9665 * gdb.base/unwindonsignal.exp: Likewise.
9666 * gdb.base/call-signals.c (gen_signal): Remove printf call.
9667 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9669 2015-07-29 Pedro Alves <palves@redhat.com>
9671 * gdb.base/siginfo-addr.c (pass): New function.
9672 (handler): Call it iff si_addr is correct.
9673 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9674 Set a breakpoint at "pass" and continue to it.
9676 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
9678 * gdb.python/py-objfile.exp: Make some tests have unique names.
9679 * gdb.python/py-pp-registration.exp: Likewise.
9681 2015-07-28 Pedro Alves <palves@redhat.com>
9683 * gdb.server/server-exec-info.exp: Issue a "disconnect".
9685 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9687 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9689 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
9691 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9693 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
9695 * gdb.base/gdb-sigterm-2.exp: New test.
9697 2015-07-25 Doug Evans <xdje42@gmail.com>
9700 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9701 (workers/%.worker, build-perf): New rule.
9702 (GDB_PERFTEST_MODE): New variable.
9703 (check-perf): Use it.
9704 (clean): Clean up gdb.perf parallel build subdirs.
9705 * lib/build-piece.exp: New file.
9706 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9707 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9709 (standard_temp_file): Ditto.
9710 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9713 2015-07-24 Doug Evans <dje@google.com>
9715 * gdb.perf/lib/perftest/utils.py: New file.
9716 * gdb.perf/gm-hello.cc: New file.
9717 * gdb.perf/gm-pervasive-typedef.cc: New file.
9718 * gdb.perf/gm-pervasive-typedef.h: New file.
9719 * gdb.perf/gm-std.cc: New file.
9720 * gdb.perf/gm-std.h: New file.
9721 * gdb.perf/gm-use-cerr.cc: New file.
9722 * gdb.perf/gm-utils.h: New file.
9723 * gdb.perf/gmonster-null-lookup.py: New file.
9724 * gdb.perf/gmonster-pervasive-typedef.py: New file.
9725 * gdb.perf/gmonster-print-cerr.py: New file.
9726 * gdb.perf/gmonster-ptype-string.py: New file.
9727 * gdb.perf/gmonster-runto-main.py: New file.
9728 * gdb.perf/gmonster-select-file.py: New file.
9729 * gdb.perf/gmonster1-null-lookup.exp: New file.
9730 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9731 * gdb.perf/gmonster1-print-cerr.exp: New file.
9732 * gdb.perf/gmonster1-ptype-string.exp: New file.
9733 * gdb.perf/gmonster1-runto-main.exp: New file.
9734 * gdb.perf/gmonster1-select-file.exp: New file.
9735 * gdb.perf/gmonster1.cc: New file.
9736 * gdb.perf/gmonster1.exp: New file.
9737 * gdb.perf/gmonster2-null-lookup.exp: New file.
9738 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9739 * gdb.perf/gmonster2-print-cerr.exp: New file.
9740 * gdb.perf/gmonster2-ptype-string.exp: New file.
9741 * gdb.perf/gmonster2-runto-main.exp: New file.
9742 * gdb.perf/gmonster2-select-file.exp: New file.
9743 * gdb.perf/gmonster2.cc: New file.
9744 * gdb.perf/gmonster2.exp: New file.
9746 2015-07-24 Doug Evans <dje@google.com>
9748 * gdb.perf/README: New file.
9749 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9750 * lib/gen-perf-test.exp: New file.
9752 2015-07-24 Doug Evans <dje@google.com>
9754 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9755 (PerfTest::startup): New function.
9756 (PerfTest::run): Return result of calling body.
9757 (PerfTest::assemble): Rewrite.
9758 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9759 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9760 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9761 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9762 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9764 2015-07-24 Doug Evans <dje@google.com>
9766 * lib/gdb.exp (clean_restart): Make executable optional.
9768 2015-07-24 Doug Evans <dje@google.com>
9770 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9771 compiler_info references.
9772 * gdb.cp/temargs.exp: Ditto.
9773 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9774 (get_compiler_info): Early exit if already computed. Set compiler_info
9775 to "unknown" if there was a problem.
9776 (test_compiler_info): Add function comment. Call get_compiler_info.
9778 2015-07-24 Doug Evans <dje@google.com>
9780 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9781 (workers/%.worker, build-perf): New rule.
9782 (GDB_PERFTEST_MODE): New variable.
9783 (check-perf): Use it.
9784 (clean): Clean up gdb.perf parallel build subdirs.
9785 * lib/build-piece.exp: New file.
9786 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9787 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9789 (standard_temp_file): Ditto.
9790 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9793 2015-07-24 Doug Evans <dje@google.com>
9795 * lib/future.exp (gdb_default_target_compile): New option
9797 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
9800 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
9802 * gdb.base/catch-syscall.exp: Call gdb_exit before
9805 2015-07-24 Pedro Alves <palves@redhat.com>
9807 * gdb.python/py-events.exp: Accept output between the stop event
9809 * gdb.python/py-evsignal.exp: Likewise.
9810 * gdb.python/py-evthreads.exp: Likewise.
9812 2015-07-24 Pedro Alves <palves@redhat.com>
9815 * gdb.threads/non-ldr-exit.c: New file.
9816 * gdb.threads/non-ldr-exit.exp: New file.
9818 2015-07-24 Yao Qi <yao.qi@linaro.org>
9820 * gdb.server/ext-wrapper.exp: Test --wrapper option when
9823 2015-07-24 Yao Qi <yao.qi@linaro.org>
9825 * gdb.server/ext-restart.exp: New file.
9827 2015-07-24 Yao Qi <yao.qi@linaro.org>
9829 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
9831 * gdb.server/ext-wrapper.exp: New file.
9833 2015-07-23 Doug Evans <dje@google.com>
9835 * gdb.dwarf2/dw2-dummy-cu.S: New file.
9836 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
9838 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
9840 * gdb.ada/var_arr_typedef.exp: New testcase.
9841 * gdb.ada/var_arr_typedef/pack.adb: New file.
9842 * gdb.ada/var_arr_typedef/pack.ads: New file.
9843 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
9845 2015-07-20 Joel Brobecker <brobecker@adacore.com>
9847 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
9849 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9851 * gdb.arch/i386-biarch-core.exp: Replace istarget
9852 by "complete set gnutarget". Remove expectation for the "core-file"
9855 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9857 Revert the previous commit:
9858 Tests for validate symbol file using build-id.
9860 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
9862 Tests for validate symbol file using build-id.
9863 * gdb.base/solib-mismatch-lib.c: New file.
9864 * gdb.base/solib-mismatch-libmod.c: New file.
9865 * gdb.base/solib-mismatch.c: New file.
9866 * gdb.base/solib-mismatch.exp: New file.
9868 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
9870 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
9872 * gdb.base/sigbpt.exp (stepi_out): Likewise.
9873 * gdb.base/siginfo.exp: Likewise.
9874 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9876 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
9878 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
9880 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
9882 * gdb.trace/range-stepping.exp: Check that the target supports
9885 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9887 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
9889 2015-07-14 Pedro Alves <palves@redhat.com>
9891 * gdb.base/killed-outside.exp: New file.
9892 * gdb.base/killed-outside.c: New file.
9894 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9896 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
9898 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
9900 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
9902 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
9903 infcall tests instead of setting up for KFAIL.
9905 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
9907 * gdb.btrace/record_goto-step.exp: New.
9909 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9912 * gdb.compile/compile.c (struct struct_type): Add volatile to
9914 * gdb.compile/compile.exp
9915 (compile code struct_object.selffield = &struct_object): Skip further
9916 struct_object tests if this one xfails.
9918 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
9921 * gdb.trace/ax.exp: Add test.
9923 2015-07-07 Yao Qi <yao.qi@linaro.org>
9925 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
9926 instead of istarget "aarch64*-*-*".
9927 * gdb.arch/aarch64-fp.exp: Likewise.
9928 * gdb.base/float.exp: Likewise.
9929 * gdb.reverse/aarch64.exp: Likewise.
9930 * lib/gdb.exp (is_aarch64_target): New proc.
9932 2015-07-07 Yao Qi <yao.qi@linaro.org>
9934 * lib/gdb.exp (is_aarch32_target): New proc.
9935 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
9936 instead of "istarget "arm*-*-*"".
9937 * gdb.arch/arm-disp-step.exp: Likewise.
9938 * gdb.arch/thumb-bx-pc.exp: Likewise.
9939 * gdb.arch/thumb-prologue.exp: Likewise.
9940 * gdb.arch/thumb-singlestep.exp: Likewise.
9941 * gdb.base/disp-step-syscall.exp: Likewise.
9942 * gdb.base/float.exp: Likewise.
9944 2015-07-07 Yao Qi <yao.qi@linaro.org>
9946 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
9947 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
9949 2015-07-07 Yao Qi <yao.qi@linaro.org>
9951 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
9952 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
9954 * gdb.multi/multi-arch.exp: Likewise.
9956 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
9958 * gdb.python/py-lazy-string.exp: Add missing parentheses to
9961 2015-07-07 Yao Qi <yao.qi@linaro.org>
9963 * gdb.arch/thumb-singlestep.exp: Do one more single step.
9965 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
9967 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
9968 '[' and ']' characters.
9970 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
9972 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9974 2015-06-29 Pedro Alves <palves@redhat.com>
9977 * gdb.threads/hand-call-new-thread.c: New file.
9978 * gdb.threads/hand-call-new-thread.c: New file.
9980 2015-06-26 Keith Seitz <keiths@redhat.com>
9981 Doug Evans <dje@google.com>
9984 * gdb.cp/var-tag-2.cc: New file.
9985 * gdb.cp/var-tag-3.cc: New file.
9986 * gdb.cp/var-tag-4.cc: New file.
9987 * gdb.cp/var-tag.cc: New file.
9988 * gdb.cp/var-tag.exp: New file.
9990 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9992 * gdb.base/history-duplicates.exp: New test.
9994 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
9996 * gdb.base/completion.exp: Test the completion of the "focus"
9999 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10001 * gdb.arch/amd64-prologue-skip.S: New file.
10002 * gdb.arch/amd64-prologue-skip.exp: New file.
10004 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
10006 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
10007 is_address_zero_readable check.
10009 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
10011 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
10012 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
10014 2015-06-24 Yao Qi <yao.qi@linaro.org>
10016 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
10019 2015-06-24 Yao Qi <yao.qi@linaro.org>
10021 * lib/gdb.exp (supports_get_siginfo_type): New proc.
10022 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
10023 * gdb.base/siginfo-thread.exp: Likewise.
10025 2015-06-22 Yao Qi <yao.qi@linaro.org>
10027 * boards/remote-gdbserver-on-localhost.exp: Add comments.
10029 2015-06-22 Yao Qi <yao.qi@linaro.org>
10031 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
10033 (skip_hw_watchpoint_tests): Likewise.
10035 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
10037 * gdb.base/gdbinit-history.exp: Test the interaction between
10038 setting GDBHISTSIZE and setting the history size via .gdbinit.
10040 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10043 * gdb.base/gdbhistsize-history.exp: New test.
10045 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10047 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
10049 * gdb.base/readline.exp: Likewise.
10051 2015-06-17 Yao Qi <yao.qi@linaro.org>
10053 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
10056 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
10058 * gdb.base/gdbinit-history.exp: Add test case to check that
10059 an unlimited history file does not get truncated on exit.
10061 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10063 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
10064 (VECTOR): New macro. Use it...
10065 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
10066 ...for these typedefs.
10067 (int8, char1, int1, double1): New typedefs.
10068 (struct just_int2, struct two_int2): New structures.
10069 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
10070 (add_structvecs, add_singlevecs): New functions.
10071 (main): Call add_some_intvecs twice.
10072 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
10073 the compile and exit upon failure. Try compiling for the "native"
10074 architecture. Test inferior function calls with vector arguments
10075 and vector return value handling with "finish" and "return".
10077 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
10079 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
10080 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
10082 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
10084 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
10086 PR breakpoints/16465
10087 * gdb.mi/mi-dprintf-pending.c: New file.
10088 * gdb.mi/mi-dprintf-pending.exp: New test.
10089 * gdb.mi/mi-dprintf-pendshr.c: New file.
10091 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10092 Mircea Gherzan <mircea.gherzan@intel.com>
10094 * gdb.arch/i386-mpx-map.c: New file.
10095 * gdb.arch/i386-mpx-map.exp: New File.
10097 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10099 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
10100 * gdb.arch/i386-mpx.exp: Indentation fixed.
10102 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10104 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
10105 function and improved indentation.
10106 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
10107 gdb_test_multiple. Added additional tests to skip the test.
10109 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
10111 * gdb.arch/i386-avx512.c: Change path in include file.
10112 * gdb.arch/i386-avx512.exp: Change include dir path
10114 * gdb.arch/i386-mpx.c: Change path in include file.
10115 * gdb.arch/i386-mpx.exp: Change include dir path compilation
10118 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10120 * gdb.compile/compile-print.exp (compile print *vararray@3)
10121 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
10123 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10125 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
10126 (do not keep jit in memory): ... this.
10127 (expect 5): Change it to ...
10128 (expect no 5): ... this.
10130 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
10133 * gdb.mi/mi-detach.exp: New file.
10135 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10138 * gdb.arch/amd64-tailcall-self.S: New file.
10139 * gdb.arch/amd64-tailcall-self.c: New file.
10140 * gdb.arch/amd64-tailcall-self.exp: New file.
10142 2015-05-28 Don Breazeal <donb@codesourcery.com>
10144 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
10145 tests for remote targets by checking is_target_gdbserver.
10147 2015-05-27 Doug Evans <dje@google.com>
10149 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
10150 * gdb.dwarf2/opaque-type-lookup.c: New file.
10151 * gdb.dwarf2/opaque-type-lookup.exp: New file.
10153 2015-05-26 Doug Evans <dje@google.com>
10155 * gdb.cp/iostream.cc: New file.
10156 * gdb.cp/iostream.exp: New file.
10158 2015-05-26 Doug Evans <dje@google.com>
10160 * gdb.dwarf2/dw2-op-call.exp: Update.
10161 * gdb.dwarf2/dw4-sig-types.exp: Update.
10162 * gdb.dwarf2/implptr.exp: Update.
10163 * gdb.mi/mi-cmd-param-changed.exp: Update.
10165 2015-05-26 Doug Evans <dje@google.com>
10167 * gdb.python/py-lazy-string.c: New file.
10168 * gdb.python/py-lazy-string.exp: New file.
10169 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
10170 (main): Update. Add estring3.
10171 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
10172 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
10174 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
10175 Yao Qi <yao.qi@linaro.org>
10177 * gdb.reverse/aarch64.c: New.
10178 * gdb.reverse/aarch64.exp: New.
10180 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
10182 * lib/gdb.exp (supports_process_record): Return true for
10184 (supports_reverse): Likewise.
10186 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
10188 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10189 Use with_test_prefix.
10191 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
10193 * gdb.base/completion.exp: Add test for completion of layout
10196 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
10198 * lib/gdb.exp (skip_tui_tests): New proc.
10199 * gdb.base/tui-layout.exp: Check skip_tui_tests.
10201 2015-05-19 Pedro Alves <palves@redhat.com>
10203 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10204 Save the whole env array instead of just HOME. Unset HISTSIZE in
10205 the environment while testing. Restore whole environment
10208 2015-05-16 Doug Evans <xdje42@gmail.com>
10210 * gdb.guile/scm-ports.c: New file.
10211 * gdb.guile/scm-ports.exp: Add memory port tests.
10213 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10215 * gdb.compile/compile-print.c: New file.
10216 * gdb.compile/compile-print.exp: New file.
10218 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10220 * gdb.compile/compile-ops.exp: Cast param to void.
10221 * gdb.compile/compile.exp: Complete type for _gdb_expr.
10222 (compile code struct_object.selffield = &struct_object): Add xfail.
10224 2015-05-15 Joel Brobecker <brobecker@adacore.com>
10226 * gdb.ada/arr_enum_with_gap: New testcase.
10228 2015-05-15 Joel Brobecker <brobecker@adacore.com>
10230 * gdb.ada/byte_packed_arr: New testcase.
10232 2015-05-15 Joel Brobecker <brobecker@adacore.com>
10234 * gdb.ada/pckd_neg: New testcase.
10236 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
10239 * gdb.base/gdbinit-history.exp: New test.
10240 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
10241 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
10243 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
10245 * gdb.python/py-xmethods.cc: Enhance test case.
10246 * gdb.python/py-xmethods.exp: New tests.
10247 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
10249 (B_indexoper): Likewise.
10250 (global_dm_list) : Add new xmethod worker functions.
10252 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
10254 * gdb.base/coredump-filter.exp: Correctly unset
10255 "coredump_var_addr" array.
10257 2015-05-08 Pedro Alves <palves@redhat.com>
10259 * gdb.server/non-existing-program.exp: Unset spawn_id.
10261 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
10264 * gdb.python/py-xmethods.exp: Add tests.
10266 2015-05-08 Yao Qi <yao.qi@linaro.org>
10269 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
10270 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
10271 function set_coredump_filter, and remove remote_exec call.
10272 Remove argument ipid. Callers update.
10273 (top level): Don't get inferior's PID.
10275 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
10277 * gdb.base/watch_thread_num.exp: Skip test on targets without
10278 access watchpoints.
10280 2015-05-06 Pedro Alves <palves@redhat.com>
10283 * gdb.server/non-existing-program.exp: New file.
10285 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10287 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
10289 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10291 * gdb.ada/out_of_line_in_inlined: New testcase.
10293 2015-05-05 Joel Brobecker <brobecker@adacore.com>
10295 * gdb.ada/var_rec_arr: New testcase.
10297 2015-04-30 Yao Qi <yao.qi@linaro.org>
10299 * gdb.base/break-idempotent.exp: If
10300 skip_hw_watchpoint_multi_tests returns true, skip the tests
10301 on "rwatch" and "awatch".
10303 2015-04-30 Yao Qi <yao.qi@linaro.org>
10305 * gdb.base/relativedebug.exp: Invoke gdb command
10306 "info sharedlibrary", and if libc.so doesn't have debug info,
10309 2015-04-29 Doug Evans <dje@google.com>
10311 * gdb.python/py-xmethods.exp: Add ptype tests.
10312 * gdb.python/py-xmethods.py (E_method_char_worker): Add
10313 get_result_type method.
10315 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
10317 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
10318 the target does not support hardware watchpoints.
10320 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
10322 * gdb.base/break-always.exp: Abort testing if writing to memory
10325 2015-04-28 Doug Evans <dje@google.com>
10327 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
10328 * gdb.python/py-pp-registration.exp: ... here. New file.
10329 * gdb.python/py-pp-registration.c: New file.
10330 * gdb.python/py-pp-registration.py: New file.
10332 2015-04-28 Doug Evans <dje@google.com>
10334 * gdb.python/py-bad-printers.c: New file.
10335 * gdb.python/py-bad-printers.py: New file.
10336 * gdb.python/py-bad-printers.exp: New file.
10338 2015-04-28 Sasha Smundak <asmundak@google.com>
10340 * gdb.python/py-type.exp: New test.
10342 2015-04-28 Andy Wingo <wingo@igalia.com>
10344 * gdb.python/py-parameter.exp:
10345 * gdb.guile/scm-parameter.exp: Escape the path that we are
10346 matching against, as it might contain characters that are special
10347 to regular expressions.
10349 2015-04-27 Joel Brobecker <brobecker@adacore.com>
10351 * gdb.ada/rec_comp: New testcase.
10353 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
10355 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
10358 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
10360 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
10361 new tests for verilog output.
10363 2015-04-24 Yao Qi <yao.qi@linaro.org>
10365 * boards/remote-gdbserver-on-localhost.exp: New file.
10367 2015-04-23 Pedro Alves <palves@redhat.com>
10369 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
10370 $inferior_spawn_id instead of $inferior_spawn_id directly. On
10371 "end of file", remove $inferior_spawn_id from the indirect list.
10373 2015-04-23 Pedro Alves <palves@redhat.com>
10375 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
10377 2015-04-23 Pedro Alves <palves@redhat.com>
10379 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
10380 on $any_spawn_id instead of only on $gdb_spawn_id.
10382 2015-04-21 Pierre Muller <muller@sourceware.org>
10385 * lib/pascal.exp (gpc_compile): Add new option "class".
10386 (fpc_compile): Likewise.
10387 * gdb.pascal/case-insensitive-symbols.pas: New file.
10388 * gdb.pascal/case-insensitive-symbols.exp: New file.
10390 2015-04-20 Gary Benson <gbenson@redhat.com>
10392 * gdb.base/attach.exp: Fix three extended remote failures.
10394 2015-04-17 Gary Benson <gbenson@redhat.com>
10396 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
10397 the main executable over the remote protocol.
10399 2015-04-16 Pedro Alves <palves@redhat.com>
10401 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
10402 a new gdbserver if gdbserver_reconnect_p is set.
10404 2015-04-16 Pedro Alves <palves@redhat.com>
10406 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
10407 is set, don't exit gdbserver.
10409 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10411 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
10412 appropriate .insn, such that an older assembler can be used.
10413 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
10414 the z/Architecture instruction set on 31-bit targets as well.
10416 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
10418 * gdb.go/handcall.exp: Remove all logic related to the first
10419 breakpoint and rely on go_runto_main instead.
10420 * gdb.go/strings.exp: Likewise.
10421 * gdb.go/unsafe.exp: Likewise.
10422 * gdb.go/hello.exp: Likewise. Also rename the remaining
10423 breakpoint marker to "breakpoint 1".
10424 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
10425 * gdb.go/strings.go: Likewise.
10426 * gdb.go/unsafe.go: Likewise.
10427 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
10428 "set breakpoint 2 here" and rename the remaining breakpoint marker
10431 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
10433 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
10434 if itertools.imap is not present.
10435 * gdb.python/py-objfile.exp: Add parentheses.
10436 * gdb.python/py-type.exp: Same.
10437 * gdb.python/py-unwind-maint.py: Same.
10439 2015-04-15 Yao Qi <yao.qi@linaro.org>
10441 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
10442 of ":$ptr_size" and set its form explicitly.
10444 2015-04-15 Pedro Alves <palves@redhat.com>
10445 Yao Qi <yao.qi@linaro.org>
10447 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
10448 timeout by factor of 4.
10449 (test_regular_watch): Likewise.
10450 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
10451 * gdb.reverse/sigall-reverse.exp: Likewise.
10452 * gdb.reverse/until-precsave.exp: Likewise.
10453 * lib/gdb.exp (with_timeout_factor): New proc.
10454 (gdb_expect): Move some code to ...
10455 (get_largest_timeout): ... here. New procedure.
10457 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
10459 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
10461 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
10463 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
10464 to write to the .text section.
10466 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
10468 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
10469 Handle the case of targets that do not provide PID information.
10471 2015-04-13 Yao Qi <yao.qi@linaro.org>
10473 * lib/gdbserver-support.exp (gdb_exit): Catch exception
10474 and use expect instead of gdb_expect.
10476 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
10478 * gdb.base/coredump-filter.exp: Rename variable "addr" to
10479 "coredump_var_addr" to avoid naming conflict with other testcases.
10481 2015-04-10 Pedro Alves <palves@redhat.com>
10483 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10484 gdb_test_sequence and gdb_assert.
10486 2015-04-10 Pedro Alves <palves@redhat.com>
10488 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10489 test messages that don't include the breakpoint address.
10491 2015-04-10 Yao Qi <yao.qi@linaro.org>
10493 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10494 false for some offset and width combinations which aren't
10495 supported by linux kernel.
10497 2015-04-10 Pedro Alves <palves@redhat.com>
10499 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
10500 procedure, factored out from ...
10501 (top level): ... here. Add "set displaced-stepping" testing axis.
10502 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10503 parameter "displaced". Use it.
10504 (top level): Use foreach and add "set displaced-stepping" testing
10507 2015-04-10 Pedro Alves <palves@redhat.com>
10509 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10511 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10512 both the address of the instruction that triggers the watchpoint
10513 and the address of the instruction immediately after, and use
10514 those addresses for the test. Fix comment.
10516 2015-04-10 Pedro Alves <palves@redhat.com>
10518 * gdb.base/sigstep.exp (breakpoint_to_handler)
10519 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
10520 Test "backtrace" in handler.
10521 (breakpoint_over_handler): New parameter 'displaced'. Use it.
10522 (top level): Add new "displaced" test axis to
10523 breakpoint_to_handler, breakpoint_to_handler_entry and
10524 breakpoint_over_handler.
10526 2015-04-10 Pedro Alves <palves@redhat.com>
10529 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10531 2015-04-10 Yao Qi <yao.qi@linaro.org>
10533 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10534 (test_add_rn_pc): New function.
10535 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
10536 (top level): Invoke test_add_rn_pc.
10538 2015-04-10 Pedro Alves <palves@redhat.com>
10541 * gdb.base/step-over-no-symbols.exp: New file.
10543 2015-04-09 Andy Wingo <wingo@igalia.com>
10545 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
10546 after the Python tests.
10548 2015-04-08 Keith Seitz <keiths@redhat.com>
10551 * gdb.python/py-completion.exp: New tests for completion.
10552 * gdb.python/py-completion.py (CompleteLimit1): New class.
10553 (CompleteLimit2): Likewise.
10554 (CompleteLimit3): Likewise.
10555 (CompleteLimit4): Likewise.
10556 (CompleteLimit5): Likewise.
10557 (CompleteLimit6): Likewise.
10558 (CompleteLimit7): Likewise.
10560 2015-04-08 Pedro Alves <palves@redhat.com>
10564 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10566 (main): Install it as SIGUSR1 handler.
10567 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10568 parameter. Always use "setup" as prefix. Toggle "set
10569 displaced-stepping" off/on depending on global. Don't switch to
10571 (top level): Add displaced stepping "off/on" test axis. Update
10572 "setup" calls. Wrap each subtest with with_test_prefix. Test
10573 continuing with a queued signal in each thread.
10575 2015-04-08 Pedro Alves <palves@redhat.com>
10577 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10578 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
10579 gdb_breakpoint instead of gdb_test that doesn't expect anything.
10580 Return early if running to main fails.
10581 * gdb.trace/while-stepping.exp: Likewise.
10583 2015-04-07 Pedro Alves <palves@redhat.com>
10585 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10586 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
10587 interact with inferior program.
10589 2015-04-07 Pedro Alves <palves@redhat.com>
10591 * lib/gdb.exp (inferior_spawn_id): New global.
10592 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
10593 spawn id after processing the user code.
10594 (default_gdb_start): Set inferior_spawn_id.
10595 (send_inferior): New procedure.
10596 * lib/gdbserver-support.exp (gdbserver_start): Set
10598 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10600 2015-04-07 Pedro Alves <palves@redhat.com>
10602 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10603 * lib/gdbserver-support.exp (gdbserver_start): Make
10604 $server_spawn_id global.
10605 (gdbserver_start): Don't wait for gdbserver's spawn id with
10607 (close_gdbserver): New procedure.
10608 (gdb_exit): Rename the default version and reimplement.
10610 2015-04-07 Pedro Alves <palves@redhat.com>
10612 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10613 append the substituted item, not the original item.
10615 2015-04-07 Pedro Alves <palves@redhat.com>
10617 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10620 2015-04-07 Pedro Alves <palves@redhat.com>
10622 * gdb.base/interrupt.exp: Don't handle the case of the inferior
10623 output appearing once only.
10625 2015-04-07 Pedro Alves <palves@redhat.com>
10627 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10628 that doesn't expect anything. Return early if running to main
10631 2015-04-07 Yao Qi <yao.qi@linaro.org>
10633 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10634 (child_function): Call alarm.
10635 (main): Move call to alarm into the loop.
10636 * gdb.threads/non-stop-fair-events.exp: Build program with
10637 -DTIMEOUT=$timeout.
10639 2015-04-06 Doug Evans <xdje42@gmail.com>
10641 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10642 Fix dest parameter to board_info.
10643 (fpc_compile): Ditto.
10644 (gdb_compile_pascal): Rename dest arg to destfile.
10646 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
10648 * gdb.ada/funcall_ref.exp: New file.
10649 * gdb.ada/funcall_ref/foo.adb: New file.
10651 2015-04-02 Yao Qi <yao.qi@linaro.org>
10653 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10656 2015-04-02 Gary Benson <gbenson@redhat.com>
10658 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10660 2015-04-01 Sasha Smundak <asmundak@google.com>
10662 * gdb.python/py-unwind-maint.c: New file.
10663 * gdb.python/py-unwind-maint.exp: New test.
10664 * gdb.python/py-unwind-maint.py: New file.
10665 * gdb.python/py-unwind.c: New file.
10666 * gdb.python/py-unwind.exp: New test.
10667 * gdb.python/py-unwind.py: New test.
10669 2015-04-01 Pedro Alves <palves@redhat.com>
10671 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10672 to fail instead of non-existent $test.
10674 2015-04-01 Pedro Alves <palves@redhat.com>
10676 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10677 GDBFLAGS if not empty.
10679 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
10681 * gdb.ada/complete.exp: Remove "multi_line".
10682 * gdb.ada/info_exc.exp: Remove "multi_line".
10683 * gdb.ada/packed_tagged.exp: Remove "multi_line".
10684 * gdb.ada/ptype_field.exp: Remove "multi_line".
10685 * gdb.ada/sym_print_name.exp: Remove "multi_line".
10686 * gdb.ada/tagged.exp: Remove "multi_line".
10687 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10689 * gdb.btrace/delta.exp: Likewise.
10690 * gdb.btrace/exception.exp: Likewise.
10691 * gdb.btrace/function_call_history.exp: Likewise.
10692 * gdb.btrace/instruction_history.exp: Likewise.
10693 * gdb.btrace/nohist.exp: Likewise.
10694 * gdb.btrace/record_goto.exp: Likewise.
10695 * gdb.btrace/segv.exp: Likewise.
10696 * gdb.btrace/stepi.exp: Likewise.
10697 * gdb.btrace/tailcall.exp: Likewise.
10698 * gdb.btrace/unknown_functions.exp: Likewise.
10699 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10700 * lib/gdb.exp: Add the "multi_line" helper.
10702 2015-04-01 Pedro Alves <palves@redhat.com>
10704 * gdb.threads/tid-reuse.c: New file.
10705 * gdb.threads/tid-reuse.exp: New file.
10707 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
10710 * gdb.base/coredump-filter.c: New file.
10711 * gdb.base/coredump-filter.exp: Likewise.
10713 2015-03-27 Petr Machata <pmachata@redhat.com>
10715 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10716 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10717 (Dwarf::assemble): Initialize them.
10718 (Dwarf::lines): New function.
10720 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
10722 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10723 SYMBOL_PREFIX for x86_64-*-cygwin.
10725 2015-03-26 Andy Wingo <wingo@igalia.com>
10728 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10729 const_value but not a location.
10730 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10731 location defined in non-main CUs are visible.
10733 2015-03-26 Yao Qi <yao.qi@linaro.org>
10736 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10737 Add a line number entry for the same line.
10738 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10739 Add a line number entry for the same line.
10741 2015-03-26 Yao Qi <yao.qi@linaro.org>
10743 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10745 (func): Likewise. Add .Lfunc_1 label.
10746 Use .Lfunc_1 label.
10747 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10750 Use .Lfunc_1 label.
10752 2015-03-26 Yao Qi <yao.qi@linaro.org>
10754 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10755 Call gdb_compile instead to compile each .s files without debug
10758 2015-03-26 Yao Qi <yao.qi@linaro.org>
10760 * gdb.base/savedregs.exp (process_saved_regs): Make
10761 "Saved registers:" optional in the pattern.
10763 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10765 * gdb.btrace/next.exp: Merged into step.exp.
10766 * gdb.btrace/finish.exp: Merged into step.exp.
10767 * gdb.btrace/nexti.exp: Merged into stepi.exp.
10768 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
10769 "record goto" and checking the exact replay position.
10770 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
10771 check for "Recording format" in "info record" output.
10772 * gdb.btrace/record_goto.exp: Choose test file based on target.
10773 * gdb.btrace/x86-record_goto.S: Renamed into ...
10774 * gdb.btrace/x86_64-record_goto.S: ... this.
10775 * gdb.btrace/i686-record_goto.S: New.
10776 * gdb.btrace/x86-tailcall.S: Renamed into ...
10777 * gdb.btrace/x86_64-tailcall.S: ... this.
10778 * gdb.btrace/i686-tailcall.S: New.
10779 * gdb.btrace/x86-tailcall.c: Renamed into ...
10780 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
10781 separate statements. Update test.
10782 * gdb.btrace/delta.exp: Use record_goto.c as test file.
10783 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10784 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10785 * gdb.btrace/tailcall.exp: Choose test file based on target.
10786 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10788 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
10790 * gdb.btrace/exception.exp: Increase BTS buffer size.
10792 2015-03-24 Pedro Alves <palves@redhat.com>
10794 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
10796 2015-03-24 Pedro Alves <palves@redhat.com>
10798 * gdb.threads/schedlock.exp (test_step): No longer expect that
10799 "set scheduler-locking step" with "next" over a function call runs
10802 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10804 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
10806 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10808 PR breakpoints/16466
10809 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
10810 * gdb.mi/mi-pending.c (thread_func): New function.
10811 (int main): Add threading support required.
10812 * gdb.mi/mi-pending.exp: Add tests for this issue.
10813 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
10814 (pendfunc2): Remove stdio dependency.
10815 * gdb.mi/mi-pendshr2.c: New file.
10817 2015-03-23 Keith Seitz <keiths@redhat.com>
10819 * gdb.linespec/keywords.c: New file.
10820 * gdb.linespec/keywords.exp: New file.
10822 2015-03-23 Keith Seitz <keiths@redhat.com>
10825 * gdb.dwarf2/staticvirtual.exp: New test.
10827 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10829 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
10830 * README: Remove HP-UX and gdb.hp.
10832 * configure: Regenerate.
10833 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
10834 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
10835 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10836 gdb.hp/gdb.defects/Makefile.
10837 * gdb.hp/Makefile.in: File deleted.
10838 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
10839 * gdb.hp/gdb.aCC/optimize.c: File deleted.
10840 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
10841 * gdb.hp/gdb.aCC/run.c: File deleted.
10842 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
10843 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
10844 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
10845 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
10846 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
10847 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
10848 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
10849 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
10850 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
10851 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
10852 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
10853 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
10854 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
10855 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
10856 * gdb.hp/gdb.base-hp/reg.s: File deleted.
10857 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
10858 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
10859 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
10860 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
10861 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
10862 * gdb.hp/gdb.compat/Makefile.in: File deleted.
10863 * gdb.hp/gdb.compat/average.c: File deleted.
10864 * gdb.hp/gdb.compat/sum.c: File deleted.
10865 * gdb.hp/gdb.compat/xdb.c: File deleted.
10866 * gdb.hp/gdb.compat/xdb0.c: File deleted.
10867 * gdb.hp/gdb.compat/xdb0.h: File deleted.
10868 * gdb.hp/gdb.compat/xdb1.c: File deleted.
10869 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
10870 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
10871 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
10872 * gdb.hp/gdb.defects/Makefile.in: File deleted.
10873 * gdb.hp/gdb.defects/bs14602.c: File deleted.
10874 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
10875 * gdb.hp/gdb.defects/solib-d.c: File deleted.
10876 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
10877 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
10878 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
10879 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
10880 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
10881 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
10882 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
10883 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
10884 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
10885 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
10886 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
10887 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
10888 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
10889 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
10890 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
10891 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
10892 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
10893 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
10894 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
10895 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
10896 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
10897 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
10898 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
10899 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
10900 * gdb.hp/tools/odump: File deleted.
10902 2015-03-19 Pedro Alves <palves@redhat.com>
10904 * gdb.threads/continue-pending-status.exp (saw_thread_2)
10905 (saw_thread_3): New globals.
10906 (top level): Increment them when an event for the corresponding
10908 (no thread starvation): New test.
10910 2015-03-19 Pedro Alves <palves@redhat.com>
10912 * gdb.threads/continue-pending-status.c: New file.
10913 * gdb.threads/continue-pending-status.exp: New file.
10915 2015-03-18 Pedro Alves <palves@redhat.com>
10917 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10918 Use gdb_is_target_remote instead of is_remote. Use
10919 gdb_test_multiple instead of gdb_expect. Exit early if
10920 gdb_test_multiple hits its internal matches. Tighten stepi tests
10921 expected output. Fail on exit with any signal, instead of just
10924 2015-03-18 Yao Qi <yao.qi@linaro.org>
10927 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
10929 * gdb.base/catch-syscall.exp: Don't skip it on
10930 aarch64*-*-linux* target. Remove elements in all_syscalls.
10931 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
10933 (setup_all_syscalls): New proc.
10935 2015-03-16 Yao Qi <yao.qi@linaro.org>
10937 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
10938 (top level): Skip tests if valid_addr_p returns false for
10941 2015-03-11 Andy Wingo <wingo@igalia.com>
10943 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
10945 2015-03-11 Yao Qi <yao.qi@linaro.org>
10947 * gdb.base/catch-syscall.exp: Fix typo in comments.
10949 2015-03-11 Yao Qi <yao.qi@linaro.org>
10951 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
10953 2015-03-09 Pedro Alves <palves@redhat.com>
10955 * dg-extract-results.py: Delete.
10957 2015-03-09 Pedro Alves <palves@redhat.com>
10959 Merge dg-extract-results.sh from GCC upstream (r218843).
10961 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
10962 * dg-extract-results.sh: Use --text with grep to avoid issues with
10963 binary files. Fall back to cat -v, if that doesn't work.
10965 2015-03-05 Pedro Alves <palves@redhat.com>
10967 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
10969 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
10971 * lib/mi-support.exp (mi_expect_interrupt): Accept
10972 alternative event for when in all-stop mode.
10974 2015-03-04 Pedro Alves <palves@redhat.com>
10976 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
10978 2015-03-04 Mark Kettenis <kettenis@gnu.org>
10980 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
10982 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10984 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
10985 regexps for GDB's current line display, accept a hex address
10986 preceding the line number.
10988 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
10990 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
10991 the 'arch1' variable for "s390*-linux*" targets.
10993 2015-03-04 Pedro Alves <palves@redhat.com>
10995 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
10996 (main): Pass missing retval argument to pthread_join call.
10998 2015-03-02 Pedro Alves <palves@redhat.com>
11000 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
11001 (top level): Call do_test with non-stop as well.
11003 2015-03-02 Pedro Alves <palves@redhat.com>
11005 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
11008 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11010 * gdb.arch/s390-vregs.exp: New test.
11011 * gdb.arch/s390-vregs.S: New file.
11013 2015-02-27 Pedro Alves <palves@redhat.com>
11015 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
11016 call to catch_command_errors.
11017 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
11018 catch_command_errors.
11020 2015-02-27 Pedro Alves <palves@redhat.com>
11022 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
11023 "true" for boolean result.
11024 * gdb.gdb/selftest.exp (test_with_self): Also accept full
11027 2015-02-27 Pedro Alves <palves@redhat.com>
11029 * lib/unbuffer_output.c: New file.
11030 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
11031 (main): Call gdb_unbuffer_output.
11033 2015-02-27 Yao Qi <yao.qi@linaro.org>
11035 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
11038 2015-02-26 Doug Evans <dje@google.com>
11040 * gdb.cp/class2.cc (Dbase, D): New classes.
11041 (main): New local delta.
11042 * gdb.cp/class2.exp: Test printing delta.
11043 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
11044 (dynbar): New global.
11045 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
11047 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11049 * gdb.compile/compile-ifunc.c: New file.
11050 * gdb.compile/compile-ifunc.exp: New file.
11052 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
11054 * gdb.base/structs.exp: Check for correct struct on finish.
11056 2015-02-26 Yao Qi <yao.qi@linaro.org>
11058 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
11061 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
11063 * gdb.arch/cordic.ko.bz2: New file.
11064 * gdb.arch/cordic.ko.debug.bz2: New file.
11065 * gdb.arch/ppc64-symtab-cordic.exp: New file.
11067 2015-02-25 Yao Qi <yao.qi@linaro.org>
11069 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
11070 aarch64*-*-* target.
11072 2015-02-23 Pedro Alves <palves@redhat.com>
11074 * lib/gdb.exp (delete_breakpoints): Rewrite using
11077 2015-02-23 Pedro Alves <palves@redhat.com>
11079 * gdb.base/info-os.c: Include stdlib.h.
11081 2015-02-22 Doug Evans <xdje42@gmail.com>
11084 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
11085 is read after symbols have been re-read.
11086 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
11087 * gdb.ada/exec_changed/second.adb (Second): Ditto.
11089 2015-02-21 Doug Evans <dje@google.com>
11091 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
11093 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11096 * gdb.arch/i386-biarch-core.core.bz2: New file.
11097 * gdb.arch/i386-biarch-core.exp: New file.
11099 2015-02-21 Pedro Alves <palves@redhat.com>
11101 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
11104 2015-02-20 Pedro Alves <palves@redhat.com>
11106 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
11109 2015-02-20 Pedro Alves <palves@redhat.com>
11111 * gdb.threads/multi-create-ns-info-thr.exp: New file.
11113 2015-02-20 Pedro Alves <palves@redhat.com>
11115 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
11116 clean_restart before gdb_target_supports_trace.
11118 2015-02-20 Pedro Alves <palves@redhat.com>
11121 * gdb.threads/clone-thread_db.c: New file.
11122 * gdb.threads/clone-thread_db.exp: New file.
11124 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
11126 PR breakpoints/16812
11127 * gdb.base/catch-gdb-caused-signals.c: New file.
11128 * gdb.base/catch-gdb-caused-signals.exp: New file.
11130 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
11132 * configure: Regenerated.
11133 * configure.ac: Use GDB_AC_TRANSFORM.
11134 * aclocal.m4: sinclude ../transform.m4.
11136 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11138 * lib/dtrace.exp: New file.
11139 * gdb.base/dtrace-probe.exp: Likewise.
11140 * gdb.base/dtrace-probe.d: Likewise.
11141 * gdb.base/dtrace-probe.c: Likewise.
11142 * lib/pdtrace.in: Likewise.
11143 * configure.ac: Output variables with the transformed names of
11144 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
11145 * configure: Regenerated.
11147 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11149 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
11150 expected message when trying to access $_probe_* convenience
11151 variables while not on a probe.
11153 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11155 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
11157 2015-02-11 Pedro Alves <pedro@codesourcery.com>
11159 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
11160 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
11162 2015-02-10 Doug Evans <xdje42@gmail.com>
11164 * lib/gdb.exp (gdb_load): Always return a result.
11166 2015-02-10 Pedro Alves <palves@redhat.com>
11168 * gdb.threads/signal-sigtrap.c: New file.
11169 * gdb.threads/signal-sigtrap.exp: New file.
11171 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
11173 * gdb.trace/no-attach-trace.c: New file.
11174 * gdb.trace/no-attach-trace.exp: New file.
11176 2015-02-09 Mark Wielaard <mjw@redhat.com>
11178 * gdb.dwarf2/atomic.c: New file.
11179 * gdb.dwarf2/atomic-type.exp: Likewise.
11181 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
11183 * gdb.btrace/buffer-size.exp: Update "info record" output.
11184 * gdb.btrace/delta.exp: Update "info record" output.
11185 * gdb.btrace/enable.exp: Update "info record" output.
11186 * gdb.btrace/finish.exp: Update "info record" output.
11187 * gdb.btrace/instruction_history.exp: Update "info record" output.
11188 * gdb.btrace/next.exp: Update "info record" output.
11189 * gdb.btrace/nexti.exp: Update "info record" output.
11190 * gdb.btrace/step.exp: Update "info record" output.
11191 * gdb.btrace/stepi.exp: Update "info record" output.
11192 * gdb.btrace/nohist.exp: Update "info record" output.
11194 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
11196 * gdb.btrace/buffer-size: New.
11198 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
11200 * gdb.btrace/delta.exp: Update "info record" output.
11201 * gdb.btrace/enable.exp: Update "info record" output.
11202 * gdb.btrace/finish.exp: Update "info record" output.
11203 * gdb.btrace/instruction_history.exp: Update "info record" output.
11204 * gdb.btrace/next.exp: Update "info record" output.
11205 * gdb.btrace/nexti.exp: Update "info record" output.
11206 * gdb.btrace/step.exp: Update "info record" output.
11207 * gdb.btrace/stepi.exp: Update "info record" output.
11208 * gdb.btrace/nohist.exp: Update "info record" output.
11210 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
11213 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
11215 2015-02-06 Pedro Alves <palves@redhat.com>
11217 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
11219 (seconds_left, again): New globals.
11220 (main): Wait seconds_left in a 1-second sleep loop instead of
11221 sleeping 180 seconds. If 'again' is set, reset the seconds
11223 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
11224 'again' in the inferior before detaching. Print the seconds left.
11225 (options): New global.
11226 (top level): Build program with -DTIMEOUT=$timeout.
11228 2015-02-06 Pedro Alves <palves@redhat.com>
11230 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
11231 determine how many seconds to pass to 'alarm'.
11232 * gdb.base/gdb-sigterm.exp (top level): Build program with
11233 -DTIMEOUT=$timeout.
11234 (do_test): Return success/failure indication. Add more verbose
11235 logging. Don't fail if 200 single steps are seen. Instead, fail
11236 when the test times out.
11237 (passes): New global.
11238 (top level): Break the testing loop if testing fails on any
11239 iteration. Use gdb_assert.
11241 2015-02-04 Don Breazeal <donb@codesourcery.com>
11243 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
11244 and initialize them.
11245 (ipc_cleanup): New function.
11246 (main): Don't declare shmid, semid, and msqid. Add a call to
11247 atexit so that we call ipc_cleanup on exit.
11249 2015-02-04 Pedro Alves <palves@redhat.com>
11251 * boards/native-extended-gdbserver.exp: Remove any target variant
11252 specifications from the board name before clearing the isremote
11253 flag from board_info.
11255 2015-01-31 Doug Evans <xdje42@gmail.com>
11257 * gdb.base/maint.exp <maint print type argc>: Update expected output.
11259 2015-01-31 Gary Benson <gbenson@redhat.com>
11261 * gdb.base/completion.exp: Disable completion limiting for
11262 existing tests. Add new tests to check completion limiting.
11263 * gdb.linespec/ls-errs.exp: Disable completion limiting.
11265 2015-01-31 Doug Evans <xdje42@gmail.com>
11267 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
11269 2015-01-31 Doug Evans <xdje42@gmail.com>
11271 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
11272 entries. Duplicate file section script entries.
11273 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
11274 inlined entries. Add test for safe-path rejection.
11275 * gdb.python/py-section-script.c: Add duplicate inlined section script
11276 entries. Duplicate file section script entries.
11277 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
11278 inlined entries. Add test for safe-path rejection.
11280 2015-01-29 Joel Brobecker <brobecker@adacore.com>
11282 * gdb.ada/disc_arr_bound: New testcase.
11284 2015-01-29 Joel Brobecker <brobecker@adacore.com>
11286 * gdb.ada/mi_var_array: New testcase.
11288 2015-01-27 Doug Evans <dje@google.com>
11290 * gdb.python/py-objfile.exp: Add tests for objfile.username.
11291 Add test for objfile.filename, objfile.username after objfile
11294 2015-01-26 Joel Brobecker <brobecker@adacore.com>
11296 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
11297 the second test to print the name attribute of value
11298 returned by the call to gdb.lookup_type, and adjust
11299 the expected output accordingly.
11301 2015-01-25 Mark Wielaard <mjw@redhat.com>
11303 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
11304 * gdb.base/disp-step-fork.c: Include unistd.h.
11305 * gdb.base/siginfo-obj.c: Include stdio.h.
11306 * gdb.base/siginfo-thread.c: Likewise.
11307 * gdb.mi/non-stop.c: Include unistd.h.
11308 * gdb.mi/nsthrexec.c: Include stdio.h.
11309 * gdb.mi/pthreads.c: Include unistd.h.
11310 * gdb.modula2/unbounded1.c (main): Declare returns int.
11311 * gdb.reverse/consecutive-reverse.c: Likewise.
11312 * gdb.threads/create-fail.c: Include unistd.h.
11313 * gdb.threads/killed.c: Likewise.
11314 * gdb.threads/linux-dp.c: Likewise.
11315 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
11316 * gdb.threads/non-ldr-exc-2.c: Likewise.
11317 * gdb.threads/non-ldr-exc-3.c: Likewise.
11318 * gdb.threads/non-ldr-exc-4.c: Likewise.
11319 * gdb.threads/pthreads.c: Include unistd.h.
11320 (main): Declare returns int.
11321 * gdb.threads/tls-main.c (foo): New declaration.
11322 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
11324 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
11326 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
11327 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
11329 2015-01-15 Mark Wielaard <mjw@redhat.com>
11331 * gdb.base/noreturn-return.c: New file.
11332 * gdb.base/noreturn-return.exp: New file.
11333 * gdb.base/noreturn-finish.c: New file.
11334 * gdb.base/noreturn-finish.exp: New file.
11336 2015-01-23 Pedro Alves <palves@redhat.com>
11338 * gdb.threads/continue-pending-after-query.c: New file.
11339 * gdb.threads/continue-pending-after-query.exp: New file.
11341 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
11342 Simon Marchi <simon.marchi@ericsson.com>
11344 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
11345 * gdb.base/valgrind-db-attach.exp: Same.
11346 * gdb.base/valgrind-infcall.exp: Same.
11347 * lib/mi-support.exp (default_mi_gdb_start): Same.
11348 * lib/prompt.exp (default_prompt_gdb_start): Same.
11349 * lib/gdb.exp (default_gdb_spawn): Same.
11350 (gdb_interact): New.
11353 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11355 * gdb.compile/compile.exp (pointer to jit function): New test.
11357 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
11359 * lib/gdb.exp (supports_process_record): Return true for
11361 (supports_reverse): Likewise.
11363 2015-01-15 Don Breazeal <donb@codesourcery.com>
11365 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
11366 instead of checking whether the target board is remote and
11367 use spawn_wait_for_attach instead of exec/sleep.
11368 * gdb.base/attach-twice.exp: Likewise.
11370 2015-01-15 Joel Brobecker <brobecker@adacore.com>
11372 * gdb.ada/var_arr_attrs: New testcase.
11374 2015-01-14 Pedro Alves <palves@redhat.com>
11375 Joel Brobecker <brobecker@adacore.com>
11378 * gdb.base/bp-cmds-execution-x-script.c: New file.
11379 * gdb.base/bp-cmds-execution-x-script.exp: New file.
11380 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
11382 2015-01-14 Pedro Alves <palves@redhat.com>
11385 * gdb.base/batch-preserve-term-settings.c: New file.
11386 * gdb.base/batch-preserve-term-settings.exp: New file.
11388 2015-01-13 Doug Evans <dje@google.com>
11390 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
11393 2015-01-13 Joel Brobecker <brobecker@adacore.com>
11395 * Makefile.in (clean mostlyclean): Do not delete *.py.
11397 2015-01-13 Joel Brobecker <brobecker@adacore.com>
11399 * gdb.python/py-lookup-type.exp: New file.
11401 2015-01-12 Pedro Alves <palves@redhat.com>
11403 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
11404 restore GDBFLAGS before returning.
11406 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11408 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
11409 is_amd64_regs_target and is_x86_like_target.
11411 2015-01-11 Doug Evans <xdje42@gmail.com>
11413 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
11414 is given without an explicit form.
11415 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
11417 * gdb.dwarf/corrupt.exp: Ditto.
11418 * gdb.dwarf2/enum-type.exp: Ditto.
11419 * gdb.trace/entry-values.exp: Ditto.
11420 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
11422 2015-01-11 Doug Evans <xdje42@gmail.com>
11425 * gdb.base/maint.exp: Remove references to "maint demangle".
11426 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
11427 Add tests for explicitly specifying language to demangle.
11428 * gdb.dlang/demangle.exp: Ditto.
11430 2015-01-09 Pedro Alves <palves@redhat.com>
11432 * gdb.threads/non-stop-fair-events.c: New file.
11433 * gdb.threads/non-stop-fair-events.exp: New file.
11435 2015-01-09 Pedro Alves <palves@redhat.com>
11437 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
11438 the global scope. Set a breakpoint after all threads are started
11439 rather than stepping over two source lines. Expect the prompt.
11440 * gdb.base/watch_thread_num.c (threads_started_barrier): New
11443 (main): Use threads_started_barrier to wait for all threads to
11444 start. Main thread no longer calls thread_function. Exit after
11446 (loop): New function.
11447 (thread_function): Wait on threads_started_barrier barrier. Call
11448 'loop' at each iteration.
11449 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
11450 threads have started, instead of hardcoding number of "next"
11451 steps. Use an access watchpoint instead of a write watchpoint.
11453 2015-01-09 Pedro Alves <palves@redhat.com>
11455 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
11456 (thread_func): Wait on barrier.
11457 (main): Wait for all threads to start before stopping GDB.
11458 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
11460 (thread1_func, thread2_func): Wait on barrier.
11461 (main): Wait for all threads to start before stopping GDB.
11462 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
11464 (thread1_func, thread2_func): Wait on barrier.
11465 (main): Wait for all threads to start before stopping GDB.
11467 2015-01-09 Pedro Alves <palves@redhat.com>
11469 * gdb.threads/attach-many-short-lived-threads.c: New file.
11470 * gdb.threads/attach-many-short-lived-threads.exp: New file.
11472 2014-01-09 Pedro Alves <palves@redhat.com>
11474 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
11475 instead of to thread 2.
11476 * gdb.threads/signal-command-multiple-signals-pending.c (main):
11477 Add barrier around each pthread_create call instead of around all
11479 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
11480 Set a break on thread_function and have the child threads hit it
11483 2015-01-09 Pedro Alves <palves@redhat.com>
11485 * lib/gdb.exp (can_spawn_for_attach): New procedure.
11486 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11488 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11489 checking whether the target board is remote.
11490 * gdb.multi/multi-attach.exp: Likewise.
11491 * gdb.python/py-sync-interp.exp: Likewise.
11492 * gdb.server/ext-attach.exp: Likewise.
11493 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11494 tests that need to attach, instead of checking whether the target
11495 board is remote at the top of the file.
11497 2015-01-08 Yao Qi <yao@codesourcery.com>
11499 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
11501 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11503 Fix testcase compilation.
11504 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11506 2015-01-06 Joel Brobecker <brobecker@adacore.com>
11508 * gdb.python/py-type.exp: Add a couple test about empty
11509 array creation, and negative-length array creation.
11511 2015-01-02 Doug Evans <xdje42@gmail.com>
11513 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11515 2015-01-02 Doug Evans <dje@google.com>
11517 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11519 2014-12-29 Yao Qi <yao@codesourcery.com>
11521 * gdb.trace/entry-values.exp: Update comments. Rename variable
11522 bar_call_foo to returned_from_foo.
11524 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
11527 * gdb.linespec/break-asm-file.c: New file.
11528 * gdb.linespec/break-asm-file.exp: New file.
11529 * gdb.linespec/break-asm-file0.s: New file.
11530 * gdb.linespec/break-asm-file1.s: New file.
11532 2014-12-18 Nigel Stephens <nigel@mips.com>
11533 Maciej W. Rozycki <macro@codesourcery.com>
11535 * gdb.base/float.exp: Handle the new output from "info float" on
11538 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
11540 Fix MinGW compilation.
11541 * gdb.compile/compile-ops.exp: Update untested message if
11542 !skip_compile_feature_tests.
11543 * gdb.compile/compile-setjmp.exp: Likewise.
11544 * gdb.compile/compile-tls.exp: Likewise.
11545 * gdb.compile/compile.exp: Likewise.
11546 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
11547 supported on this host".
11549 2014-12-16 Doug Evans <xdje42@gmail.com>
11551 * boards/stabs.exp: New file.
11553 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
11555 * gdb.base/completion.exp: Adjust to format changes of "maint
11556 print user-registers".
11558 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
11561 * gdb.arch/aarch64-fp.c: New file.
11562 * gdb.arch/aarch64-fp.exp: New file.
11564 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
11566 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11567 r210637, r210913, r211666, r215400, r215817).
11569 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
11570 * dg-extract-results.py: New file.
11571 * dg-extract-results.sh: Use it if the environment seems
11574 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
11576 * dg-extract-results.py (parse_run): Handle warnings that
11577 are printed before a test harness is run.
11579 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
11581 * dg-extract-results.py (Named): Remove __cmp__ method.
11582 (output_variation): Use a key to sort variation.harnesses.
11584 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
11586 * dg-extract-results.py: For Python 3, force sys.stdout to
11587 handle surrogate escape sequences.
11588 (safe_open): New function.
11589 (output_segment, main): Use it.
11591 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
11593 * dg-extract-results.py (Prog.result_re): Include options
11596 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
11598 * dg-extract-results.py (output_variation): Always sort if
11601 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
11603 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11604 as long as we get pagination notifications.
11606 2014-12-15 Jason Merrill <jason@redhat.com>
11608 * Makefile.in (check-gdb.%): Restore.
11609 * README: Mention it.
11611 2014-12-13 Joel Brobecker <brobecker@adacore.com>
11613 * gdb.ada/str_uninit: New testcase.
11615 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11618 * gdb.base/vla-stub-define.c: New file.
11619 * gdb.base/vla-stub.c: New file.
11620 * gdb.base/vla-stub.exp: New file.
11622 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
11623 Jan Kratochvil <jan.kratochvil@redhat.com>
11624 Tom Tromey <tromey@redhat.com>
11626 * configure.ac: Add gdb.compile/.
11627 * configure: Regenerate.
11628 * gdb.compile/Makefile.in: New file.
11629 * gdb.compile/compile-ops.exp: New file.
11630 * gdb.compile/compile-ops.c: New file.
11631 * gdb.compile/compile-tls.c: New file.
11632 * gdb.compile/compile-tls.exp: New file.
11633 * gdb.compile/compile-constvar.S: New file.
11634 * gdb.compile/compile-constvar.c: New file.
11635 * gdb.compile/compile-mod.c: New file.
11636 * gdb.compile/compile-nodebug.c: New file.
11637 * gdb.compile/compile-setjmp-mod.c: New file.
11638 * gdb.compile/compile-setjmp.c: New file.
11639 * gdb.compile/compile-setjmp.exp: New file.
11640 * gdb.compile/compile-shlib.c: New file.
11641 * gdb.compile/compile.c: New file.
11642 * gdb.compile/compile.exp: New file.
11643 * lib/gdb.exp (skip_compile_feature_tests): New proc.
11645 2014-12-12 Tom Tromey <tromey@redhat.com>
11647 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
11648 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11650 2014-12-12 Doug Evans <dje@google.com>
11652 * lib/gdb-python.exp (get_python_valueof): New function.
11653 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11655 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
11657 * gdb.base/completion.exp: Add test for completion of "info
11660 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
11662 * gdb.base/func-ptrs.c: New file.
11663 * gdb.base/func-ptrs.exp: New file.
11665 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11667 PR breakpoints/17012
11668 * gdb.base/dprintf-detach.c: New file.
11669 * gdb.base/dprintf-detach.exp: New file.
11671 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
11673 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11674 * lib/gdb.exp (target_is_gdbserver): New procedure.
11676 2014-12-08 Doug Evans <dje@google.com>
11678 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11680 2014-12-05 Yao Qi <yao@codesourcery.com>
11682 * gdb.guile/scm-error.exp: Remove the third argument to
11683 gdb_remote_download.
11684 * gdb.guile/scm-frame-args.exp: Likewise.
11685 * gdb.guile/scm-section-script.exp: Likewise.
11687 2014-12-05 Yao Qi <yao@codesourcery.com>
11689 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11691 2014-12-04 Doug Evans <dje@google.com>
11693 * gdb.python/py-objfile.exp: Add tests for
11694 objfile.add_separate_debug_file.
11696 2014-12-04 Doug Evans <dje@google.com>
11698 * lib/gdb.exp (get_build_id): New function.
11699 (build_id_debug_filename_get): Rewrite to use it.
11700 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11702 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
11704 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11705 `method(long)', not just 0x0.
11706 * gdb.cp/nsalias.exp: Align code labels to 4.
11707 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11708 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11709 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11710 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11711 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11712 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11714 2014-12-02 Doug Evans <dje@google.com>
11717 * gdb.cp/anon-ns.cc: Move guts of this file to ...
11718 * gdb.cp/anon-ns2.cc: ... here. New file.
11719 * gdb.cp/anon-ns.exp: Update.
11721 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
11723 * gdb.python/py-events.py (inferior_call_handler): New.
11724 (register_changed_handler, memory_changed_handler): New.
11725 (test_events.invoke): Register new handlers.
11726 * gdb.python/py-events.exp: Add tests for inferior call,
11727 memory_changed and register_changed events.
11729 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
11731 * gdb.base/execl-update-breakpoints.exp: Specify the link address
11732 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
11733 if the linker doesn't understand this.
11735 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
11737 * gdb.python/python.exp: Change expected reply to help().
11739 2014-12-01 Yao Qi <yao@codesourcery.com>
11741 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
11742 AC_CONFIG_SUBDIRS(gdb.gdbtk).
11743 * configure: Re-generated.
11745 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
11747 * gdb.cp/chained-calls.cc: New file.
11748 * gdb.cp/chained-calls.exp: New file.
11749 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11751 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
11753 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11754 * gdb.dwarf2/symtab-producer.exp: Same.
11755 * gdb.gdb/python-interrupts.exp: Same.
11756 * gdb.gdb/python-selftest.exp: Same.
11757 * gdb.python/py-linetable.exp: Same.
11758 * gdb.python/py-type.exp: Same.
11759 * gdb.python/py-value-cc.exp: Same.
11760 * gdb.python/py-value.exp: Same.
11762 2014-11-28 Yao Qi <yao@codesourcery.com>
11764 * gdb.base/break-probes.exp: Match library name prefixed with
11767 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
11769 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11770 test expected output. Add parentheses for the call to print.
11771 Remove L suffix from integers.
11773 2014-11-26 Doug Evans <dje@google.com>
11775 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11777 2014-11-22 Yao Qi <yao@codesourcery.com>
11779 * gdb.trace/entry-values.c: Remove asms.
11780 (foo): Add foo_label.
11781 (bar): Add bar_label.
11782 * gdb.trace/entry-values.exp: Remove code computing foo's
11783 length and bar's length.
11784 (Dwarf::assemble): Invoke function_range for bar and use
11785 MACRO_AT_func for foo.
11787 2014-11-22 Yao Qi <yao@codesourcery.com>
11789 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
11790 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
11791 Use .Lgcc43_procstart instead of gcc43.
11793 2014-11-21 Joel Brobecker <brobecker@adacore.com>
11795 * gdb.ada/n_arr_bound: New testcase.
11797 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
11799 PR breakpoints/10737
11800 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
11801 test_catch_syscall_multi_arch.
11802 (test_catch_syscall_multi_arch): New function.
11804 2014-11-20 Doug Evans <xdje42@gmail.com>
11806 * gdb.base/maint.exp: Update expected output.
11808 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
11810 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
11811 4-byte instruction on S390.
11813 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11815 * gdb.ada/arr_arr: New testcase.
11817 2014-11-19 Joel Brobecker <brobecker@adacore.com>
11819 * gdb.ada/pkd_arr_elem: New Testcase.
11821 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
11823 * gdb.reverse/break-precsave: Expect completion message for
11825 * gdb.reverse/consecutive-precsave.exp: Likewise.
11826 * gdb.reverse/finish-precsave.exp: Likewise.
11827 * gdb.reverse/i386-precsave.exp: Likewise.
11828 * gdb.reverse/machinestate-precsave.exp: Likewise.
11829 * gdb.reverse/sigall-precsave.exp: Likewise.
11830 * gdb.reverse/solib-precsave.exp: Likewise.
11831 * gdb.reverse/step-precsave.exp: Likewise.
11832 * gdb.reverse/until-precsave.exp: Likewise.
11833 * gdb.reverse/watch-precsave.exp: Likewise.
11835 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11837 * gdb.base/bp-permanent.c: Include unistd.h.
11838 * gdb.python/py-framefilter-mi.c (main): Add return type.
11839 * gdb.python/py-framefilter.c (main): Likewise.
11840 * gdb.trace/actions-changed.c (main): Likewise.
11842 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11844 * gdb.mi/until.c: Add eye-catchers.
11845 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
11848 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
11850 * gdb.base/condbreak.exp: Drop references to removed non-prototype
11851 function header variants in break1.c.
11852 * gdb.base/ena-dis-br.exp: Likewise.
11853 * gdb.base/hbreak2.exp: Likewise.
11854 * gdb.reverse/until-precsave.exp: Drop references to removed
11855 non-prototype function header variants in ur1.c.
11856 * gdb.reverse/until-reverse.exp: Likewise.
11858 2014-11-17 Petr Machata <pmachata@redhat.com>
11860 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
11861 ${_cu_offset_size} bytes abbrev offset.
11863 2014-11-15 Doug Evans <xdje42@gmail.com>
11866 * gdb.base/line-symtabs.exp: New file.
11867 * gdb.base/line-symtabs.c: New file.
11868 * gdb.base/line-symtabs.h: New file.
11870 2014-11-14 Yao Qi <yao@codesourcery.com>
11872 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
11873 (func): Add label func_label.
11874 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
11875 Replace low_pc and high_pc with MACRO_AT_range.
11876 Replace name, low_pc and high_pc with MACRO_AT_func.
11878 2014-11-14 Yao Qi <yao@codesourcery.com>
11880 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
11881 Replace name, low_pc and high_pc with MACRO_AT_func.
11883 2014-11-14 Yao Qi <yao@codesourcery.com>
11885 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
11886 produce debug information.
11887 * gdb.dwarf2/implptr-optimized-out.S: Removed.
11889 2014-11-14 Yao Qi <yao@codesourcery.com>
11891 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
11892 object and get function length.
11893 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
11894 with MACRO_AT_func.
11895 (top-level): Replace gdb_compile and clean_restart with
11896 prepare_for_testing.
11897 * gdb.dwarf2/main.c (main): Add label main_label.
11899 2014-11-14 Yao Qi <yao@codesourcery.com>
11901 * lib/dwarf.exp (function_range): New procedure.
11902 (Dwarf::_handle_macro_at_func): New procedure.
11903 (Dwarf::_handle_macro_at_range): New procedure.
11904 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
11906 2014-11-14 Yao Qi <yao@codesourcery.com>
11908 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11909 (_handle_attribute): New procedure.
11911 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11913 * gdb.ada/cond_lang/foo.c (callme): Add return type.
11914 * gdb.base/call-sc.c (zed): Likewise.
11915 * gdb.base/checkpoint.c (main): Likewise.
11916 * gdb.base/dump.c (main): Likewise.
11917 * gdb.base/gcore.c (main): Likewise.
11918 * gdb.base/huge.c (main): Likewise.
11919 * gdb.base/multi-forks.c (main): Likewise.
11920 * gdb.base/pr10179-a.c (main): Likewise.
11921 * gdb.base/savedregs.c (main): Likewise.
11922 * gdb.base/sigaltstack.c (main): Likewise.
11923 * gdb.base/siginfo.c (main): Likewise.
11924 * gdb.base/structs.c (zed): Likewise.
11925 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
11926 * gdb.mi/mi-syn-frame.c (main): Likewise.
11927 * gdb.mi/until.c (foo, main): Likewise.
11928 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
11929 * gdb.base/solib-weak.c (foo): Declare.
11930 * gdb.base/attach-twice.c: Include stdio.h.
11931 * gdb.base/weaklib1.c: Likewise.
11932 * gdb.base/weaklib2.c: Likewise.
11933 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
11934 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
11936 * gdb.base/attach-pie-misread.c: Include stdlib.h.
11937 * gdb.mi/mi-exit-code.c: Likewise.
11938 * gdb.base/break-interp-lib.c: Include string.h.
11939 * gdb.base/coremaker.c: Likewise.
11940 * gdb.base/testenv.c: Likewise.
11941 * gdb.python/py-finish-breakpoint.c: Likewise.
11942 * gdb.base/inferior-died.c: Include sys/wait.h.
11943 * gdb.base/fileio.c: Include time.h.
11944 * gdb.base/async-shell.c: Include unistd.h.
11945 * gdb.base/dprintf-non-stop.c: Likewise.
11946 * gdb.base/info-os.c: Likewise.
11947 * gdb.mi/mi-console.c: Likewise.
11948 * gdb.mi/watch-nonstop.c: Likewise.
11949 * gdb.python/py-events.c: Likewise.
11950 * gdb.base/async.c (baz): Move up before its invocation.
11951 * gdb.base/code_elim2.c (my_global_func): Likewise.
11952 * gdb.base/skip-solib-lib.c (multiply): Likewise.
11953 * gdb.base/advance.c (func2): Likewise.
11955 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
11957 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
11959 * gdb.base/annota3.c: Likewise.
11960 * gdb.base/async.c: Likewise.
11961 * gdb.base/average.c: Likewise.
11962 * gdb.base/call-ar-st.c: Likewise.
11963 * gdb.base/call-rt-st.c: Likewise.
11964 * gdb.base/call-sc.c: Likewise.
11965 * gdb.base/call-strs.c: Likewise.
11966 * gdb.base/ending-run.c: Likewise.
11967 * gdb.base/execd-prog.c: Likewise.
11968 * gdb.base/exprs.c: Likewise.
11969 * gdb.base/foll-exec.c: Likewise.
11970 * gdb.base/foll-fork.c: Likewise.
11971 * gdb.base/foll-vfork.c: Likewise.
11972 * gdb.base/funcargs.c: Likewise.
11973 * gdb.base/gcore.c: Likewise.
11974 * gdb.base/jump.c: Likewise.
11975 * gdb.base/langs0.c: Likewise.
11976 * gdb.base/langs1.c: Likewise.
11977 * gdb.base/langs2.c: Likewise.
11978 * gdb.base/mips_pro.c: Likewise.
11979 * gdb.base/nodebug.c: Likewise.
11980 * gdb.base/opaque0.c: Likewise.
11981 * gdb.base/opaque1.c: Likewise.
11982 * gdb.base/recurse.c: Likewise.
11983 * gdb.base/run.c: Likewise.
11984 * gdb.base/scope0.c: Likewise.
11985 * gdb.base/scope1.c: Likewise.
11986 * gdb.base/setshow.c: Likewise.
11987 * gdb.base/setvar.c: Likewise.
11988 * gdb.base/shmain.c: Likewise.
11989 * gdb.base/shr1.c: Likewise.
11990 * gdb.base/shr2.c: Likewise.
11991 * gdb.base/sigall.c: Likewise.
11992 * gdb.base/signals.c: Likewise.
11993 * gdb.base/so-indr-cl.c: Likewise.
11994 * gdb.base/solib2.c: Likewise.
11995 * gdb.base/structs.c: Likewise.
11996 * gdb.base/sum.c: Likewise.
11997 * gdb.base/vforked-prog.c: Likewise.
11998 * gdb.base/watchpoint.c: Likewise.
11999 * gdb.reverse/shr2.c: Likewise.
12000 * gdb.reverse/until-reverse.c: Likewise.
12001 * gdb.reverse/ur1.c: Likewise.
12002 * gdb.reverse/watch-reverse.c: Likewise.
12004 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12006 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
12008 * gdb.base/sepdebug.exp: Drop references to removed code.
12010 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12012 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
12013 variant. Preserve original line numbering.
12014 * gdb.base/list1.c: Likewise.
12016 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12018 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
12020 * gdb.base/break1.c: Likewise.
12021 * gdb.base/break.exp: Drop references to removed code.
12023 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12025 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
12028 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12030 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
12032 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12034 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
12035 logic into perform_all_tests() and invoke it with and without
12036 function header prototypes.
12037 (do_function_calls): Remove conditional XFAIL for PR 5318.
12038 (rerun_and_prepare): Remove duplicate code.
12039 (perform_all_tests): New. Main logic moved here.
12041 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12043 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
12044 code guarded by #ifdef NO_PROTOTYPES.
12045 (t_double_many_args): Likewise.
12046 (DEF_FUNC_MANY_ARGS_1): Likewise.
12047 (DEF_FUNC_VALUES_1): Likewise.
12048 (t_structs_ldc): Renamed from t_structs_fc in conditional code
12049 guarded by #ifdef PROTOTYPES.
12051 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12053 * gdb.mi/mi-console.c: Add eye-catcher.
12054 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
12055 instead of literal line number.
12057 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12059 * gdb.base/shr2.c: Add eye-catcher.
12060 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
12063 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12065 * gdb.base/jump.c: Add eye-catchers.
12066 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
12069 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12071 * gdb.base/execd-prog.c: Add eye-catchers.
12072 * gdb.base/foll-exec.c: Likewise.
12073 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
12076 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12078 * gdb.base/ending-run.c: Add eye-catchers.
12079 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
12080 literal line numbers.
12082 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12084 * gdb.base/call-rt-st.c: Add eye-catchers.
12085 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
12086 literal line numbers.
12088 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12090 * gdb.base/call-ar-st.c: Add eye-catchers.
12091 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
12092 literal line numbers.
12094 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12096 * gdb.base/average.c: Add eye-catchers.
12097 * gdb.base/sum.c: Likewise.
12098 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
12099 regexps dynamically.
12101 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
12103 * gdb.base/solib1.c: Add eye-catchers.
12104 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
12105 literal line numbers.
12107 2014-11-12 Pedro Alves <palves@redhat.com>
12109 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
12112 2014-11-12 Pedro Alves <palves@redhat.com>
12114 * gdb.arch/i386-bp_permanent.c: New file.
12115 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
12116 (srcfile): Set to i386-bp_permanent.c.
12117 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
12118 that stepi does not execute the 'leave' instruction, instead of
12119 testing it does execute.
12120 * gdb.base/bp-permanent.c: New file.
12121 * gdb.base/bp-permanent.exp: New file.
12123 2014-11-10 Doug Evans <xdje42@gmail.com>
12126 * gdb.base/symtab-search-order.exp: New file.
12127 * gdb.base/symtab-search-order.c: New file.
12128 * gdb.base/symtab-search-order-1.c: New file.
12129 * gdb.base/symtab-search-order-shlib-1.c: New file.
12131 2014-11-07 Pedro Alves <palves@redhat.com>
12134 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
12137 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
12140 * gdb.cp/pr17494.cc: New file.
12141 * gdb.cp/pr17494.exp: New file.
12143 2014-11-02 Yao Qi <yao@codesourcery.com>
12145 * gdb.python/python.exp: Get working directory and match the
12146 output of "set extended-prompt \\w " with it.
12148 2014-10-30 Doug Evans <dje@google.com>
12150 * gdb.python/py-objfile.exp: Add tests for setting random attributes
12152 * gdb.python/py-progspace.exp: Add tests for setting random attributes
12155 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
12157 * gdb.base/fullpath-expand.exp: Skip for a remote host.
12158 * gdb.base/realname-expand.exp: Likewise.
12159 * gdb.linespec/macro-relative.exp: Likewise.
12161 2014-10-29 Pedro Alves <palves@redhat.com>
12164 * gdb.threads/schedlock.c (some_function): New function.
12165 (call_function): New global.
12166 (MAYBE_CALL_SOME_FUNCTION): New macro.
12167 (thread_function): Call it.
12168 * gdb.threads/schedlock.exp (get_args): Add description parameter,
12169 and use it instead of a global counter. Adjust all callers.
12170 (get_current_thread): Use "find current thread" for test message
12171 here rather than having all callers pass down the same string.
12172 (goto_loop): New procedure, factored out from ...
12173 (my_continue): ... this.
12174 (step_ten_loops): Change parameter from test message to command to
12176 (list_count): Delete global.
12177 (check_result): New procedure, factored out from duplicate top
12179 (continue tests): Wrap in with_test_prefix.
12180 (test_step): New procedure, factored out from duplicate top level
12182 (top level): Test "step" in combination with all scheduler-locking
12183 modes. Test "next" in combination with all scheduler-locking
12184 modes, and in combination with stepping over a function call or
12186 * gdb.threads/next-bp-other-thread.c: New file.
12187 * gdb.threads/next-bp-other-thread.exp: New file.
12189 2014-10-29 Pedro Alves <palves@redhat.com>
12192 * gdb.python/python.exp: Test a multi-line command that spawns
12193 interactive Python.
12194 * gdb.base/multi-line-starts-subshell.exp: New file.
12196 2014-10-29 Yao Qi <yao@codesourcery.com>
12198 * gdb.base/fileio.exp: Make directories on host.
12200 2014-10-29 Yao Qi <yao@codesourcery.com>
12202 * gdb.base/fileio.c (test_write): Close the file.
12204 2014-10-28 Pedro Alves <palves@redhat.com>
12207 * gdb.base/sigstep.c (no_handler): New global.
12208 (main): If 'no_handler is true, set the signal handlers to
12210 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
12211 with_sw_watch and no_handler parameters. Handle them.
12212 (top level) <stepping over handler when stopped at a breakpoint
12213 test>: Add a test axis for testing with a software watchpoint, and
12214 another for testing with the signal handler set to SIG_IGN.
12215 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
12216 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
12218 2014-10-28 Pedro Alves <palves@redhat.com>
12221 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
12222 * gdb.base/sigstep.exp (other_handler_location): New global.
12223 (advance): Support stepping into the signal handler, and running
12224 commands while in the handler.
12225 (in_handler_map): New global.
12226 (top level): In the advance test, add combinations for getting
12227 into the handler with stepping commands, and for running commands
12228 in the handler. Add comment descripting the advancei tests.
12230 2014-10-28 Pedro Alves <palves@redhat.com>
12232 * gdb.base/sigstep.exp: Use build_executable instead of
12233 prepare_for_testing.
12234 (top level): Move code that starts GDB, runs to main and creates a
12236 (restart): ... this new procedure.
12237 (top level): Move backtrace from signal handler test to ...
12238 (validate_backtrace): ... this new procedure.
12239 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
12240 with_test_prefix. Always restart GDB.
12241 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
12242 with_test_prefix. Always restart GDB. No need to delete
12243 breakpoints after the test.
12244 (test_skip_handler): Remove prefix parameter.
12245 (skip_over_handler, breakpoint_to_handler)
12246 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
12247 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
12248 restart GDB. No need to delete breakpoints after the test.
12249 (top level): Use foreach to call the test procedures with
12250 different commands.
12252 2014-10-28 Pedro Alves <palves@redhat.com>
12254 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
12255 instead of GNATS numbers.
12256 * gdb.base/sigbpt.exp: Likewise.
12257 * gdb.base/siginfo.exp: Likewise.
12258 * gdb.base/sigstep.exp: Likewise.
12260 2014-10-27 Pedro Alves <palves@redhat.com>
12262 * gdb.base/sigstep.c (dummy): New global.
12263 (main): Issue a couple writes to the new global.
12264 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
12266 (skip_over_handler): Use test_skip_handler.
12267 (top level): Call skip_over_handler for stepi and nexti too.
12268 (breakpoint_over_handler): Use test_skip_handler.
12269 (top level): Call breakpoint_over_handler for stepi and nexti too.
12271 2014-10-27 Yao Qi <yao@codesourcery.com>
12273 * gdb.trace/tfile.c (adjust_function_address)
12274 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
12275 function descriptor.
12277 2014-10-24 Don Breazeal <donb@codesourcery.com>
12279 * gdb.base/foll-fork.exp (test_follow_fork,
12280 catch_fork_child_follow): Check for updated fork messages emitted
12282 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
12283 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
12284 vfork_and_exec_child_follow_through_step): Check for updated vfork
12285 messages emitted from infrun.c.
12287 2014-10-24 Pedro Alves <palves@redhat.com>
12289 * gdb.base/corefile.exp: Remove references to ultrix.
12290 * gdb.base/interrupt.exp: Likewise.
12291 * gdb.base/whatis.exp: Likewise.
12292 * gdb.gdb/selftest.exp: Likewise.
12293 * gdb.threads/manythreads.exp: Likewise.
12294 * gdb.threads/print-threads.exp: Likewise.
12295 * gdb.threads/pthreads.exp:: Likewise.
12296 * gdb.threads/schedlock.exp: Likewise.
12298 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
12300 * gdb.cp/non-trivial-retval.cc: Add a test case.
12301 * gdb.cp/non-trivial-retval.exp: Add a test.
12303 2014-10-20 Yao Qi <yao@codesourcery.com>
12305 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
12306 * gdb.python/py-objfile-script-gdb.py: New file.
12307 * gdb.python/py-objfile-script.exp: Update reference to
12308 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
12309 of remote_download. Remove the dest file.
12311 2014-10-20 Yao Qi <yao@codesourcery.com>
12313 * gdb.base/checkpoint.exp: Don't remove file copied on host.
12314 * gdb.base/step-line.exp: Likewise.
12315 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12316 * gdb.dwarf2/dw2-basic.exp: Likewise.
12317 * gdb.dwarf2/dw2-compressed.exp: Likewise.
12318 * gdb.dwarf2/dw2-filename.exp: Likewise.
12319 * gdb.dwarf2/dw2-intercu.exp: Likewise.
12320 * gdb.dwarf2/dw2-intermix.exp: Likewise.
12321 * gdb.dwarf2/dw2-producer.exp: Likewise.
12322 * gdb.dwarf2/mac-fileno.exp: Likewise.
12323 * gdb.python/py-frame-args.exp: Likewise.
12324 * gdb.python/py-framefilter.exp: Likewise.
12325 * gdb.python/py-mi.exp: Likewise.
12326 * gdb.python/py-objfile-script.exp: Likewise
12327 * gdb.python/py-pp-integral.exp: Likewise.
12328 * gdb.python/py-pp-re-notag.exp: Likewise.
12329 * gdb.python/py-prettyprint.exp: Likewise.
12330 * gdb.python/py-section-script.exp: Likewise.
12331 * gdb.python/py-typeprint.exp: Likewise.
12332 * gdb.python/py-xmethods.exp: Likewise.
12333 * gdb.stabs/weird.exp: Likewise.
12334 * gdb.xml/tdesc-regs.exp: Likewise.
12336 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
12338 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
12339 (out_cu): Use addr_len for the size of addresses.
12340 (out_line): Likewise. Size DW_LNE_set_address instruction
12341 according to addr_len.
12342 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
12343 (FUNC): Add START_INSNS to definition.
12345 2014-10-18 Yao Qi <yao@codesourcery.com>
12347 * gdb.base/argv0-symlink.exp: Check argv[0] value if
12348 gdb_has_argv0 return true.
12349 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
12350 check [target_info exists noargs], check [gdb_has_argv0]
12352 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12353 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
12356 2014-10-17 Doug Evans <dje@google.com>
12358 * gdb.python/py-events.exp: Update expected output for clear_objfiles
12360 * gdb.python/py-events.py: Add clear_objfiles event.
12362 2014-10-17 Doug Evans <dje@google.com>
12364 * gdb.python/py-objfile.exp: Test progspace attribute.
12366 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
12368 * gdb.guile/scm-breakpoint.exp: Do not assume any
12369 directory separators when matching source file paths.
12370 * gdb.python/py-breakpoint.exp: Likewise.
12371 * gdb.reverse/break-precsave.exp: Likewise.
12372 * gdb.reverse/break-reverse.exp: Likewise.
12373 * gdb.reverse/consecutive-precsave.exp: Likewise.
12374 * gdb.reverse/finish-precsave.exp: Likewise.
12375 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
12376 * gdb.reverse/finish-reverse.exp: Likewise.
12377 * gdb.reverse/i386-precsave.exp: Likewise.
12378 * gdb.reverse/i387-env-reverse.exp: Likewise.
12379 * gdb.reverse/i387-stack-reverse.exp: Likewise.
12380 * gdb.reverse/machinestate-precsave.exp: Likewise.
12381 * gdb.reverse/machinestate.exp: Likewise.
12382 * gdb.reverse/sigall-precsave.exp: Likewise.
12383 * gdb.reverse/solib-precsave.exp: Likewise.
12384 * gdb.reverse/step-precsave.exp: Likewise.
12385 * gdb.reverse/until-precsave.exp: Likewise.
12386 * gdb.reverse/watch-precsave.exp: Likewise.
12387 * gdb.reverse/watch-reverse.exp: Likewise.
12389 2014-10-17 Yao Qi <yao@codesourcery.com>
12391 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
12392 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
12394 2014-10-17 Pedro Alves <palves@redhat.com>
12397 * gdb.base/bg-execution-repeat.c: New file.
12398 * gdb.base/bg-execution-repeat.exp: New file.
12400 2014-10-17 Pedro Alves <palves@redhat.com>
12403 * gdb.base/continue-all-already-running.c: New file.
12404 * gdb.base/continue-all-already-running.exp: New file.
12406 2014-10-17 Pedro Alves <palves@redhat.com>
12409 * gdb.base/annota-input-while-running.c: New file.
12410 * gdb.base/annota-input-while-running.exp: New file.
12412 2014-10-17 Pedro Alves <palves@redhat.com>
12414 * gdb.base/callfuncs.exp: emove references to osf.
12415 * gdb.base/sigall.exp: Likewise.
12416 * gdb.gdb/selftest.exp: Likewise.
12417 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12418 * gdb.mi/non-stop.c: Likewise.
12419 * gdb.mi/pthreads.c: Likewise.
12420 * gdb.reverse/sigall-precsave.exp: Likewise.
12421 * gdb.reverse/sigall-reverse.exp: Likewise.
12422 * gdb.threads/pthreads.c: Likewise.
12423 * gdb.threads/pthreads.exp: Likewise.
12425 2014-10-17 Yao Qi <yao@codesourcery.com>
12427 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
12428 check 'target_info exists noargs'.
12429 (test_command_prompt_position): Likewise.
12430 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
12432 (progvar_simple_while_test): Likewise.
12433 (progvar_complex_if_while_test): Likewise.
12434 (if_while_breakpoint_command_test): Likewise.
12435 (infrun_breakpoint_command_test): Likewise.
12436 (breakpoint_command_test): Likewise.
12437 (watchpoint_command_test): Likewise.
12438 (bp_deleted_in_command_test): Likewise.
12439 (temporary_breakpoint_commands): Likewise.
12441 2014-10-16 Yao Qi <yao@codesourcery.com>
12443 * gdb.base/remotetimeout.exp: Remove noargs checking.
12445 2014-10-15 Pedro Alves <palves@redhat.com>
12447 PR breakpoints/9649
12448 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
12449 * gdb.base/breakpoint-in-ro-region.exp
12450 (probe_target_hardware_step): New procedure.
12451 (top level): Probe hardware stepping and hardware breakpoint
12452 support. Test stepping through a read-only region, with both
12453 "breakpoint auto-hw" on and off and both "always-inserted" on and
12456 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
12458 * gdb.dlang/demangle.exp: Update for demangling changes.
12460 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
12462 * gdb.cp/non-trivial-retval.cc: Add new test cases.
12463 * gdb.cp/non-trivial-retval.exp: Add new tests.
12465 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
12469 * gdb.cp/non-trivial-retval.cc: New file.
12470 * gdb.cp/non-trivial-retval.exp: New file.
12472 2014-10-15 Yao Qi <yao@codesourcery.com>
12474 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
12477 2014-10-15 Yao Qi <yao@codesourcery.com>
12479 * gdb.python/py-symbol.exp: Match file base name if host is
12480 remote, otherwise match file name with dir name.
12481 * gdb.python/py-symtab.exp: Likewise.
12482 * gdb.python/python.exp: Likewise.
12484 2014-10-15 Yao Qi <yao@codesourcery.com>
12486 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12488 * gdb.python/py-symtab.exp: Likewise.
12489 * gdb.python/python.exp: Remove trailing ".*". Fix typo
12492 2014-10-14 Joel Brobecker <brobecker@adacore.com>
12494 * gdb.ada/addr_arith: New testcase.
12496 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
12498 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
12499 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
12500 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12501 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12503 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
12505 * gdb.arch/stap-eval-lang-ada.S: Likewise.
12506 * gdb.arch/stap-eval-lang-ada.c: Likewise.
12507 * gdb.arch/stap-eval-lang-ada.exp: New file.
12509 2014-10-14 Yao Qi <yao@codesourcery.com>
12511 * gdb.mi/mi-var-child.c (nothing1): New function.
12512 (nothing2): New function.
12513 (do_children_tests): Set function pointers by nothing1 and
12515 * gdb.mi/mi-var-child.exp: Step over new added statements.
12516 Update test to match the new output.
12517 * gdb.mi/var-cmd.c (nothing1): New function.
12518 (nothing2): New function.
12519 (do_children_tests): Set function pointers by nothing1 and
12521 * gdb.mi/mi-var-display.exp: Update test to match output.
12522 Step to the line specified by $line_dct_nothing.
12523 Increase the number of lines to step.
12525 2014-10-14 Yao Qi <yao@codesourcery.com>
12527 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12529 * gdb.mi/mi2-var-child.exp: Likewise.
12531 2014-10-13 Doug Evans <dje@google.com>
12533 * gdb.python/py-objfile.exp: Change name of file name test.
12535 2014-10-13 Doug Evans <dje@google.com>
12537 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
12538 from the start of the CU.
12540 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12541 Yao Qi <yao@codesourcery.com>
12543 Fix "save breakpoints" for "catch" command.
12544 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
12545 Remove -nonewline. Match also the added "main" line.
12547 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12549 Fix "save breakpoints" for "disable $bpnum" command.
12550 * gdb.base/save-bp.c (main): Add label.
12551 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
12553 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12555 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
12557 2014-10-11 Yao Qi <yao@codesourcery.com>
12559 * gdb.server/server-kill.exp: Execute command
12560 "set remote trace-status-packet on" before "tstatus".
12562 2014-10-11 Yao Qi <yao@codesourcery.com>
12564 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12565 (main): Call getppid.
12566 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12567 and continue to it. Read variable "server_pid".
12569 2014-10-11 Yao Qi <yao@codesourcery.com>
12571 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12573 2014-10-11 Yao Qi <yao@codesourcery.com>
12575 * gdb.threads/thread-find.exp: Don't execute command
12577 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12578 * gdb.threads/linux-dp.exp: Don't check the condition
12579 $threads_created equals to zero.
12581 2014-10-10 Pedro Alves <palves@redhat.com>
12583 * gdb.base/bigcore.exp: Remove references to IRIX.
12584 * gdb.base/funcargs.exp: Likewise.
12585 * gdb.base/interrupt.exp: Likewise.
12586 * gdb.base/mips_pro.exp: Likewise.
12587 * gdb.base/nodebug.exp: Likewise.
12588 * gdb.base/setvar.exp: Likewise.
12589 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12591 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12592 Pedro Alves <palves@redhat.com>
12595 * gdb.base/vdso-warning.c: New file.
12596 * gdb.base/vdso-warning.exp: New file.
12598 2014-10-02 Doug Evans <dje@google.com>
12600 * gdb.base/structs.c (main): Don't run forever.
12602 2014-10-02 Pedro Alves <palves@redhat.com>
12604 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12605 (top level) <stop threads 1, stop threads 2>: Use it.
12607 2014-10-02 Pedro Alves <palves@redhat.com>
12609 * gdb.threads/break-while-running.exp (test): Add new
12610 'update_thread_list' argument. Skip "info threads" if false.
12611 (top level): Add new 'update_thread_list' axis.
12613 2014-10-02 Pedro Alves <palves@redhat.com>
12615 PR breakpoints/17431
12616 * gdb.base/execl-update-breakpoints.c: New file.
12617 * gdb.base/execl-update-breakpoints.exp: New file.
12619 2014-10-01 Pedro Alves <palves@redhat.com>
12621 * gdb.base/breakpoint-in-ro-region.c: New file.
12622 * gdb.base/breakpoint-in-ro-region.exp: New file.
12624 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
12626 * gdb.mi/mi-exit-code.exp: New file.
12627 * gdb.mi/mi-exit-code.c: New file.
12629 2014-09-30 Yao Qi <yao@codesourcery.com>
12631 * lib/prelink-support.exp (build_executable_own_libs): Error if
12632 the target isn't native.
12634 2014-09-30 Yao Qi <yao@codesourcery.com>
12636 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12639 2014-09-22 Pedro Alves <palves@redhat.com>
12641 * gdb.threads/break-while-running.exp: New file.
12642 * gdb.threads/break-while-running.c: New file.
12644 2014-09-19 Yao Qi <yao@codesourcery.com>
12646 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12647 Invoke test. Restart GDB with --readnow and invoke test again.
12649 2014-09-19 Yao Qi <yao@codesourcery.com>
12651 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12652 proc set_breakpoint_on_gcd_function. Invoke
12653 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
12654 invoke set_breakpoint_on_gcd_function again.
12656 2014-09-18 Doug Evans <dje@google.com>
12658 * gdb.dwarf2/symtab-producer.exp: New file.
12660 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12662 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12663 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12664 * gdb.base/global-var-nested-by-dso.c: Likewise.
12665 * gdb.base/global-var-nested-by-dso.exp: Likewise.
12667 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
12668 Pedro Alves <palves@redhat.com>
12670 * gdb.base/watch-bitfields.exp: Pass string other than test file
12671 name to prepare_for_testing.
12672 (watch): New procedure.
12673 (expect_watchpoint): Use with_test_prefix.
12674 (top level): Factor out tests to ...
12675 (test_watch_location, test_regular_watch): ... these new
12676 procedures, and use with_test_prefix and gdb_continue_to_end.
12678 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
12680 PR breakpoints/12526
12681 * gdb.base/watch-bitfields.exp: New file.
12682 * gdb.base/watch-bitfields.c: New file.
12684 2014-09-16 Pedro Alves <palves@redhat.com>
12686 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12687 software and hardware addresses, not software address against
12690 2014-09-16 Pedro Alves <palves@redhat.com>
12692 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12693 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12695 2014-09-16 Pedro Alves <palves@redhat.com>
12697 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12699 * gdb.base/a2-run.exp: Remove all code guarded by istarget
12700 "*-*-vxworks*" throughout.
12701 * gdb.base/break.exp: Likewise.
12702 * gdb.base/default.exp: Likewise.
12703 * gdb.base/scope.exp: Likewise.
12704 * gdb.base/sepdebug.exp: Likewise.
12705 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12707 * gdb.base/run.c: Likewise.
12708 * gdb.base/sepdebug.c: Likewise.
12709 * gdb.hp/gdb.aCC/run.c: Likewise.
12710 * gdb.reverse/until-reverse.c: Likewise.
12711 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12713 2014-09-16 Yao Qi <yao@codesourcery.com>
12715 * boards/local-remote-host-native.exp: New file.
12717 2014-09-14 Doug Evans <xdje42@gmail.com>
12719 * gdb.threads/queue-signal.c (thread_count): New variable.
12720 (thread_count_mutex, thread_count_condvar): New variables.
12721 (incr_thread_count, wait_all_threads_running): New functions.
12722 (main): Wait for all threads to be in their thread functions.
12724 2014-09-13 Doug Evans <xdje42@gmail.com>
12726 * gdb.threads/queue-signal.c: New file.
12727 * gdb.threads/queue-signal.exp: New file.
12729 2014-09-13 Doug Evans <xdje42@gmail.com>
12731 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12732 be consistent with what default_gdb_init uses.
12733 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12734 the plain text of the prompt. Add some logging printfs.
12735 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12737 2014-09-12 Pedro Alves <palves@redhat.com>
12739 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12740 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12741 * gdb.arch/i386-size-overlap.exp: Likewise.
12742 * gdb.arch/i386-size.exp: Likewise.
12743 * gdb.arch/i386-unwind.exp: Likewise.
12744 * gdb.base/a2-run.exp: Likewise.
12745 * gdb.base/break.exp: Likewise.
12746 * gdb.base/charset.exp: Likewise.
12747 * gdb.base/chng-syms.exp: Likewise.
12748 * gdb.base/commands.exp: Likewise.
12749 * gdb.base/dbx.exp: Likewise.
12750 * gdb.base/find.exp: Likewise.
12751 * gdb.base/funcargs.exp: Likewise.
12752 * gdb.base/jit-simple.exp: Likewise.
12753 * gdb.base/reread.exp: Likewise.
12754 * gdb.base/sepdebug.exp: Likewise.
12755 * gdb.base/step-bt.exp: Likewise.
12756 * gdb.cp/mb-inline.exp: Likewise.
12757 * gdb.cp/mb-templates.exp: Likewise.
12758 * gdb.objc/basicclass.exp: Likewise.
12759 * gdb.threads/killed.exp: Likewise.
12761 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12764 * gdb.arch/powerpc-stackless.S: New file.
12765 * gdb.arch/powerpc-stackless.exp: New file.
12767 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12769 * gdb.base/attach.c: Include unistd.h.
12770 (main): Call alarm. Add label postloop.
12771 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12772 gdb_breakpoint, gdb_continue_to_breakpoint.
12773 (test_command_line_attach_run): Kill ${testpid} in one exit path.
12775 2014-09-11 Pedro Alves <palves@redhat.com>
12778 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12779 * gdb.base/attach.exp (test_command_line_attach_run): New
12781 (top level): Call it.
12783 2014-09-11 Pedro Alves <palves@redhat.com>
12785 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12786 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12787 (do_command_attach_tests): Use spawn_wait_for_attach.
12788 * gdb.base/solib-overlap.exp: Likewise.
12789 * gdb.multi/multi-attach.exp: Likewise.
12790 * gdb.python/py-prompt.exp: Likewise.
12791 * gdb.python/py-sync-interp.exp: Likewise.
12792 * gdb.server/ext-attach.exp: Likewise.
12794 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
12796 * gdb.fortran/array-element.exp: Remove unexpected "continue"
12797 command in testcase. Simplify testcase.
12799 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12801 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
12803 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12805 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
12807 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12809 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
12811 2014-09-10 Joel Brobecker <brobecker@adacore.com>
12813 * gdb.dwarf2/dynarr-ptr.c: New file.
12814 * gdb.dwarf2/dynarr-ptr.exp: New file.
12816 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12818 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
12819 of 30 rather than hardcoding 120 for a slow test case. Take the
12820 `gdb,timeout' target setting into account for this calculation.
12821 Don't extend the timeout for the test cases that don't need it.
12823 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12825 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
12826 a factor of 2 for a slow test case. Take the `gdb,timeout'
12827 target setting into account for this calculation.
12828 * gdb.reverse/until-precsave.exp: Increase the timeout by
12829 a factor of 15 and 3 respectively rather than adding 120
12830 for a pair of slow test cases. Take the `gdb,timeout'
12831 target setting into account for this calculation.
12833 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12835 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
12836 timeout, don't pass one down to gdb_expect.
12837 (gdb_expect): Rework timeout selection.
12839 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12841 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
12842 exception on timeout.
12843 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12844 (gdbserver_start_extended): Catch any `gdbserver_start' error
12846 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
12847 * lib/mi-support.exp (mi_gdb_target_load): Catch any
12848 `gdbserver_gdb_load' error exceptions.
12850 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
12852 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
12853 120 on waiting for the TCP socket to open.
12855 2014-09-09 Doug Evans <xdje42@gmail.com>
12857 * gdb.base/default.exp (show_conv_list): Add _caller_is,
12858 _caller_matches, _any_caller_is, _any_caller_matches.
12860 2014-09-09 Doug Evans <xdje42@gmail.com>
12862 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
12864 2014-09-09 Yao Qi <yao@codesourcery.com>
12866 * gdb.mi/mi-var-display.exp: Set print symbol off.
12868 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
12871 * gdb.base/commands.exp: Add tests to verify user-defined
12872 commands with empty bodies.
12873 * gdb.python/py-cmd.exp: Test that we don't show user-defined
12874 python commands in `show user command`.
12875 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
12876 scheme commands in `show user command`.
12878 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12881 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
12882 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
12883 * gdb.python/py-framefilter-invalidarg.exp: New file.
12884 * gdb.python/py-framefilter-invalidarg.py: New file.
12886 2014-09-06 Doug Evans <xdje42@gmail.com>
12889 * gdb.python/py-caller-is.c: New file.
12890 * gdb.python/py-caller-is.exp: New file.
12892 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
12895 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
12896 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
12898 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
12901 * gdb.fortran/print-formatted.exp: New file.
12902 * gdb.fortran/print-formatted.f90: Likewise.
12904 2014-09-03 Sasha Smundak <asmundak@google.com>
12906 * gdb.python/py-frame.exp: Test Frame.read_register.
12908 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
12911 * gdb.python/py-completion.exp: New file.
12912 * gdb.python/py-completion.py: Likewise.
12914 2014-08-28 Doug Evans <dje@google.com>
12916 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
12917 eax,etc. are live with values set by gdb and thus the compiler can't
12919 * gdb.arch/i386-pseudo.c (main): Ditto.
12921 2014-08-27 Doug Evans <dje@google.com>
12923 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
12925 2014-08-25 Doug Evans <dje@google.com>
12927 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
12930 2014-08-25 Doug Evans <dje@google.com>
12932 * gdb.threads/thread-execl.exp: #include <stdio.h>.
12934 2014-08-24 Yao Qi <yao@codesourcery.com>
12936 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
12938 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
12940 2014-08-22 Doug Evans <dje@google.com>
12943 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
12944 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
12945 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
12947 2014-08-22 Yao Qi <yao@codesourcery.com>
12949 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
12950 * gdb.python/py-finish-breakpoint2.exp: Likewise.
12951 * gdb.python/python.exp: Likewise. Use .py file on the host
12952 instead of the build.
12954 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12956 * gdb.threads/gcore-stale-thread.c: New file.
12957 * gdb.threads/gcore-stale-thread.exp: New file.
12959 2014-08-21 Pedro Alves <palves@redhat.com>
12961 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
12962 * gdb.base/gcore-relro-pie.exp: Likewise.
12963 * gdb.base/gcore-relro.exp: Likewise.
12964 * gdb.base/gcore.exp: Likewise.
12965 * gdb.base/print-symbol-loading.exp: Likewise.
12966 * gdb.threads/gcore-thread.exp: Likewise.
12967 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
12969 2014-08-20 Pedro Alves <palves@redhat.com>
12970 Jan Kratochvil <jan.kratochvil@redhat.com>
12972 * Makefile.in (EXTRA_RULES, CC): New variables, get from
12974 (EXPECT): Handle READ1 being set.
12975 (all): Depend on EXTRA_RULES.
12976 (check-read1, expect-read1, read1.so, read1): New rules.
12977 * README (Testsuite Parameters): Document the READ1 make variable.
12978 (Race detection): New section.
12979 * configure: Regenerate.
12980 * configure.ac: If build==host==target, and running under a
12981 GNU/glibc system, add read1 to the extra Makefile rules.
12982 (EXTRA_RULES): AC_SUBST it.
12983 * lib/read1.c: New file.
12985 2014-08-20 Joel Brobecker <brobecker@adacore.com>
12987 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
12988 the handling of variables declared as a typedef to an array
12989 which a DW_AT_data_location attribute.
12991 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
12992 Pedro Alves <palves@redhat.com>
12996 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
12999 2014-08-19 Pedro Alves <palves@redhat.com>
13001 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
13003 2014-08-19 Yao Qi <yao@codesourcery.com>
13005 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
13008 2014-08-18 David Blaikie <dblaikie@gmail.com>
13010 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
13012 2014-08-18 Joel Brobecker <brobecker@adacore.com>
13014 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
13015 attribute in array range.
13017 2014-08-18 Joel Brobecker <brobecker@adacore.com>
13019 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
13021 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
13024 * gdb.cp/pr17132.cc: New file.
13025 * gdb.cp/pr17132.exp: New file.
13027 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
13029 * gdb.python/py-xmethods.py (A_getarrayind)
13030 (E_method_char_worker.__call__, E_method_int_worker.__call__):
13031 Use 'print' with function call syntax.
13032 (E_method_matcher.match): Fix tab vs space indentation mixup.
13034 2014-08-15 Yao Qi <yao@codesourcery.com>
13036 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
13039 2014-08-15 Yao Qi <yao@codesourcery.com>
13041 * gdb.cp/casts.exp: Set print symbol off.
13042 * gdb.cp/class2.exp: Likewise.
13043 * gdb.cp/overload.exp: Likewise.
13044 * gdb.cp/templates.exp: Likewise.
13046 2014-08-11 Doug Evans <dje@google.com>
13048 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
13049 (test_load_shlib): Update.
13051 2014-08-09 Yao Qi <yao@codesourcery.com>
13053 * gdb.base/display.exp: Invoke is_address_zero_readable.
13054 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
13055 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13056 * gdb.base/hbreak-unmapped.exp: Return if
13057 is_address_zero_readable returns true.
13058 * gdb.base/signest.exp: Likewise.
13059 * gdb.base/signull.exp: Likewise.
13060 * gdb.base/sigbpt.exp: Likewise.
13061 * gdb.guile/scm-disasm.exp: Do the test if
13062 is_address_zero_readable returns false.
13063 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
13064 * gdb.python/py-arch.exp: Likewise.
13065 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
13066 * lib/gdb.exp (is_address_zero_readable): New proc.
13068 2014-08-09 Yao Qi <yao@codesourcery.com>
13071 * gdb.mi/mi-var-display.exp: Make test messages unique.
13073 2014-08-04 Tom Tromey <tromey@redhat.com>
13075 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
13078 2014-08-04 Tom Tromey <tromey@redhat.com>
13080 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
13083 2014-08-01 Joel Brobecker <brobecker@adacore.com>
13085 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
13086 inner_vla_struct_object_size.
13087 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
13090 2014-07-30 Pedro Alves <palves@redhat.com>
13092 * gdb.threads/signal-command-handle-nopass.exp (test): Add
13095 2014-07-29 Yao Qi <yao@codesourcery.com>
13098 * gdb.base/until-nodebug.exp: New.
13100 2014-07-28 Doug Evans <xdje42@gmail.com>
13103 * gdb.guile/scm-parameter.exp: Add tests for trying to create
13104 previously existing parameter, and previously ambiguously spelled
13107 2014-07-28 Will Newton <will.newton@linaro.org>
13109 * gdb.base/varargs.exp: Remove KFAILs for ARM.
13111 2014-07-26 Ludovic Courtès <ludo@gnu.org>
13112 Doug Evans <xdje42@gmail.com>
13115 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
13117 2014-07-25 Pedro Alves <palves@redhat.com>
13119 * gdb.threads/signal-command-handle-nopass.c: New file.
13120 * gdb.threads/signal-command-handle-nopass.exp: New file.
13121 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
13122 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
13123 * gdb.threads/signal-delivered-right-thread.c: New file.
13124 * gdb.threads/signal-delivered-right-thread.exp: New file.
13126 2014-07-25 Pedro Alves <palves@redhat.com>
13128 * gdb.base/double-prompt-target-event-error.exp
13129 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
13131 (cancel_pagination_in_target_event): Rework double prompt
13133 * gdb.base/paginate-after-ctrl-c-running.exp
13134 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
13136 * gdb.base/paginate-bg-execution.exp
13137 (test_bg_execution_pagination_return)
13138 (test_bg_execution_pagination_cancel): Remove '-notransfer
13140 * gdb.base/paginate-execution-startup.exp
13141 (test_fg_execution_pagination_return)
13142 (test_fg_execution_pagination_cancel): Remove '-notransfer
13144 * gdb.base/paginate-inferior-exit.exp
13145 (test_paginate_inferior_exited): Remove '-notransfer <return>'
13147 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
13148 * lib/gdb.exp (pagination_prompt): Run text through
13150 (gdb_test_multiple): Match $pagination_prompt instead of
13152 (string_to_regexp): Move to lib/gdb-utils.exp.
13154 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13156 * gdb.arch/amd64-entry-value-paramref.S: New file.
13157 * gdb.arch/amd64-entry-value-paramref.cc: New file.
13158 * gdb.arch/amd64-entry-value-paramref.exp: New file.
13159 * gdb.arch/amd64-optimout-repeat.S: New file.
13160 * gdb.arch/amd64-optimout-repeat.c: New file.
13161 * gdb.arch/amd64-optimout-repeat.exp: New file.
13163 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
13166 * gdb.base/statistics.exp: New file.
13168 2014-07-17 Doug Evans <dje@google.com>
13171 * gdb.base/maint.exp: Update testing of per-command stats.
13173 2014-07-16 Pedro Alves <palves@redhat.com>
13175 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
13176 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
13177 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
13178 (tfile_write_buf): New functions.
13179 (add_memory_block): Rewrite using the above.
13180 (adjust_function_address): New function.
13181 (FUNCTION_ADDRESS): New macro.
13182 (write_basic_trace_file): Remove short_x local, and use
13183 tfile_write_16. Change type of func_addr local to unsigned long
13184 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
13185 here. Cast argument of add_memory_block to char pointer.
13186 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
13187 (main): Remove parameters.
13188 * gdb.trace/tfile.exp: Remove nowarnings.
13190 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
13192 * gdb.base/debug-expr.exp: Test string evaluation with
13193 "debug expression" on.
13195 2014-07-15 Pedro Alves <palves@redhat.com>
13197 * gdb.base/reread.exp: Use clean_restart.
13199 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
13201 * gdb.arch/avr-flash-qualifer.c: New.
13202 * gdb.arch/avr-flash-qualifer.exp: New.
13204 2014-07-14 Pedro Alves <palves@redhat.com>
13206 * gdb.base/paginate-after-ctrl-c-running.c: New file.
13207 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
13209 2014-07-14 Pedro Alves <palves@redhat.com>
13211 * gdb.base/double-prompt-target-event-error.c: New file.
13212 * gdb.base/double-prompt-target-event-error.exp: New file.
13214 2014-07-14 Pedro Alves <palves@redhat.com>
13217 * gdb.base/paginate-inferior-exit.c: New file.
13218 * gdb.base/paginate-inferior-exit.exp: New file.
13220 2014-07-14 Pedro Alves <palves@redhat.com>
13223 * gdb.base/paginate-bg-execution.c: New file.
13224 * gdb.base/paginate-bg-execution.exp: New file.
13226 2014-07-14 Pedro Alves <palves@redhat.com>
13229 * gdb.base/paginate-execution-startup.c: New file.
13230 * gdb.base/paginate-execution-startup.exp: New file.
13231 * lib/gdb.exp (pagination_prompt): New global.
13232 (default_gdb_spawn): New procedure, factored out from
13234 (default_gdb_start): Adjust to call default_gdb_spawn.
13235 (gdb_spawn): New procedure.
13237 2014-07-14 Pedro Alves <palves@redhat.com>
13239 * lib/gdb.exp (gdb_assert): New procedure.
13240 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
13242 2014-07-14 Pedro Alves <palves@redhat.com>
13244 * gdb.base/execution-termios.c: New file.
13245 * gdb.base/execution-termios.exp: New file.
13247 2014-07-14 Tom Tromey <tromey@redhat.com>
13249 * gdb.cp/vla-cxx.cc: New file.
13250 * gdb.cp/vla-cxx.exp: New file.
13252 2014-07-14 Tom Tromey <tromey@redhat.com>
13254 * gdb.reverse/rerun-prec.c: New file.
13255 * gdb.reverse/rerun-prec.exp: New file.
13257 2014-07-12 Maciej W. Rozycki <macro@mips.com>
13258 Maciej W. Rozycki <macro@codesourcery.com>
13260 * lib/gdb-utils.exp: New file.
13261 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
13262 inline `gdb_init_command' processing.
13263 (gdb_start_cmd): Likewise.
13264 * lib/mi-support.exp (mi_run_cmd): Likewise.
13265 * README: Document `gdb_init_command' and `gdb_init_commands'.
13267 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13269 Fix false FAIL running under a very long directory name.
13270 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
13271 and "set print elements 10000". Twice.
13273 2014-07-11 Yao Qi <yao@codesourcery.com>
13275 * gdb.base/exprs.exp: "set print symbol off".
13277 2014-07-11 Pedro Alves <palves@redhat.com>
13279 * gdb.threads/kill.c: New file.
13280 * gdb.threads/kill.exp: New file.
13282 2014-07-10 Yao Qi <yao@codesourcery.com>
13284 * gdb.trace/tfile.c (write_basic_trace_file)
13285 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
13286 address written to trace file.
13288 2014-07-09 Pedro Alves <palves@redhat.com>
13290 * gdb.base/attach-wait-input.exp: New file.
13291 * gdb.base/attach-wait-input.c: New file.
13293 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
13295 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
13296 setting up test structures.
13297 (main): Call new test function.
13298 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
13299 test function, continue into test function and walk test
13302 2014-07-02 Yao Qi <yao@codesourcery.com>
13304 * gdb.trace/entry-values.c: Define labels 'foo_start' and
13305 'bar_start' at the beginning of functions 'foo' and 'bar'
13307 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
13308 instead of 'foo' and 'bar'.
13310 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
13312 * gdb.btrace/segv.exp: New.
13313 * gdb.btrace/segv.c: New.
13315 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
13317 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
13320 2014-06-30 Mark Wielaard <mjw@redhat.com>
13322 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
13323 vulture, vilify, villar): New volatile array constants.
13324 (vindictive, vegetation): New const volatile array constants.
13325 * gdb.base/volatile.exp: Test volatile and const volatile array
13328 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
13330 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
13331 target lacks support for awatch, rwatch, or hbreak.
13333 2014-06-27 Yao Qi <yao@codesourcery.com>
13335 * gdb.multi/dummy-frame-restore.exp: New.
13336 * gdb.multi/dummy-frame-restore.c: New.
13338 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
13340 * gdb.btrace/gcore.exp: New.
13342 2014-06-23 Pedro Alves <palves@redhat.com>
13344 * gdb.base/watchpoint-reuse-slot.c: New file.
13345 * gdb.base/watchpoint-reuse-slot.exp: New file.
13347 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
13349 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
13350 progspace's filename in 'info', 'enable' and 'disable' command
13353 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13355 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
13356 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13357 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
13359 2014-06-20 Gary Benson <gbenson@redhat.com>
13361 * gdb.arch/i386-avx.exp: Fix include file location.
13362 * gdb.arch/i386-sse.exp: Likewise.
13364 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
13366 * gdb.dlang/expression.exp: New file.
13368 2014-06-19 Pedro Alves <palves@redhat.com>
13370 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
13372 (top level): ... here. Iterate running tests under different
13373 scheduler-locking settings.
13375 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
13377 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
13378 to DW_FORM_addr and use non-zero addresses.
13380 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
13383 * gdb.python/py-xmethods.cc: Add global function call counters and
13384 increment them in their respective functions. Remove "cout"
13386 * gdb.python/py-xmethods.exp: Make tests check the global function
13387 call counters instead of depending on inferior IO.
13389 2014-06-18 Don Breazeal <donb@codesourcery.com>
13391 * gdb.base/foll-fork.exp (default_fork_parent_follow):
13393 (explicit_fork_parent_follow): Deleted procedure.
13394 (explicit_fork_child_follow): Deleted procedure.
13395 (test_follow_fork): New procedure.
13396 (do_fork_tests): Replace calls to deleted procedures with
13397 calls to test_follow_fork and reset GDB for subsequent
13400 2014-06-17 Yao Qi <yao@codesourcery.com>
13402 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
13405 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
13407 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
13408 Initialize ptr and S explicitly.
13409 (skip_type_update_when_not_use_rtti_test): Likewise.
13411 2014-06-16 Keith Seitz <keiths@redhat.com>
13414 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
13415 the inferior is started.
13417 2014-06-16 Pedro Alves <palves@redhat.com>
13419 * gdb.base/break-main-file-remove-fail.c: New file.
13420 * gdb.base/break-main-file-remove-fail.exp: New file.
13421 * gdb.base/break-unload-file.exp: Use build_executable instead of
13422 prepare_for_testing.
13423 (test_break): New parameter "initial_load". Handle it.
13424 (top level): Add initial_load cmdline/file axis.
13426 2014-06-12 Tom Tromey <tromey@redhat.com>
13428 * gdb.base/completion.exp: Don't use directory name in test.
13430 2014-06-09 Gary Benson <gbenson@redhat.com>
13432 * gdb.base/sigall.c [Functions to send signals]: Reorder to
13433 separate the always-available ANSI-standard signals from the
13434 signals that require checking.
13436 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
13440 2014-06-07 Keith Seitz <keiths@redhat.com>
13444 * gdb.cp/var-tag.cc: New file.
13445 * gdb.cp/var-tag.exp: New file.
13446 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13447 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13448 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13449 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13451 2014-06-06 Doug Evans <xdje42@gmail.com>
13453 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
13455 2014-06-06 Pedro Alves <palves@redhat.com>
13457 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
13458 in target debug output instead of looking at RSP packets,
13459 disabling the test on any target that uses hardware stepping.
13462 2014-06-06 Pedro Alves <palves@redhat.com>
13464 * gdb.base/break-unload-file.exp: Fix typo.
13466 2014-06-06 Yao Qi <yao@codesourcery.com>
13468 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
13469 from "jit_function" to "^jit_function".
13471 2014-06-06 Yao Qi <yao@codesourcery.com>
13473 * gdb.base/async.c (foo): Add one statement.
13474 * gdb.base/async.exp: Get the next instruction address and
13475 match the output of "nexti" by instruction address. Match
13476 the hex address in the output of "finish".
13478 2014-06-06 Gary Benson <gbenson@redhat.com>
13480 * gdb.base/call-signals.c: Remove preprocessor conditionals
13481 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13482 SIGSEGV and SIGTERM.
13483 * gdb.base/sigall.c: Likewise.
13484 * gdb.base/unwindonsignal.c: Likewise.
13485 * gdb.reverse/sigall-reverse.c: Likewise.
13487 2014-06-06 Yao Qi <yao@codesourcery.com>
13489 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
13490 readable, skip the test.
13492 2014-06-06 Yao Qi <yao@codesourcery.com>
13494 * gdb.threads/staticthreads.c (thread_function): Move the line
13495 setting breakpoint on forward.
13496 * gdb.threads/staticthreads.exp: Update comments.
13498 2014-06-05 Ludovic Courtès <ludo@gnu.org>
13500 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13501 "history-append! type error".
13503 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
13505 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13506 erroneous dprintf expected input.
13508 2014-06-04 Doug Evans <xdje42@gmail.com>
13510 * gdb.guile/scm-generics.exp: Delete.
13512 2014-06-04 Doug Evans <xdje42@gmail.com>
13514 * gdb.guile/scm-breakpoint.exp: Update.
13515 Add tests for breakpoint registration.
13517 2014-06-04 Tom Tromey <tromey@redhat.com>
13519 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13521 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13522 inner_vla_struct, vla_union types. Initialize objects of those
13523 types and compute their sizes.
13525 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
13526 Hui Zhu <hui@codesourcery.com>
13528 * gdb.base/fileio.exp: Add test for shell not available as well as
13530 * gdb.base/fileio.c (test_system): Check for shell twice.
13532 2014-06-04 Yao Qi <yao@codesourcery.com>
13534 * gdb.base/auto-connect-native-target.exp: Remove redundant
13535 space from the regexp pattern.
13537 2014-06-04 Yao Qi <yao@codesourcery.com>
13539 * gdb.base/default.exp: Replace "child" with "native" in
13542 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
13544 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
13545 * gdb.python/py-xmethods.exp: New tests to test xmethods.
13546 * gdb.python/py-xmethods.py: Python script supporting the
13547 new testcase and tests.
13549 2014-06-03 Joel Brobecker <brobecker@adacore.com>
13550 Pedro Alves <palves@redhat.com>
13552 PR breakpoints/17000
13553 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
13554 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
13556 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
13558 * gdb.base/subst.exp: Add tests to verify partial path matching
13561 2014-06-03 Pedro Alves <palves@redhat.com>
13563 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13564 target that doesn't use software single-stepping.
13566 2014-06-03 Pedro Alves <palves@redhat.com>
13568 PR breakpoints/17000
13569 * gdb.base/sss-bp-on-user-bp-2.c: New file.
13570 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13572 2014-06-02 Doug Evans <xdje42@gmail.com>
13574 * gdb.guile/scm-parameter.exp: New file.
13576 2014-06-02 Doug Evans <xdje42@gmail.com>
13578 * gdb.guile/scm-cmd.c: New file.
13579 * gdb.guile/scm-cmd.exp: New file.
13581 2014-06-02 Doug Evans <xdje42@gmail.com>
13583 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13584 pretty-printer lookup.
13585 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13586 (make-pp_s-printer): Call it.
13587 (make-pretty-printer-from-dict): New function.
13588 (lookup-pretty-printer-maker-from-dict): New function.
13589 (*pretty-printer*): Simplify.
13590 (make-objfile-pp_s-printer): New function.
13591 (install-objfile-pretty-printers!): New function.
13592 (make-progspace-pp_s-printer): New function.
13593 (install-progspace-pretty-printers!): New function.
13594 * gdb.guile/scm-progspace.c: New file.
13595 * gdb.guile/scm-progspace.exp: New file.
13597 2014-06-02 Pedro Alves <palves@redhat.com>
13599 * gdb.base/dprintf-bp-same-addr.c: New file.
13600 * gdb.base/dprintf-bp-same-addr.exp: New file.
13602 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13604 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13605 * gdb.arch/powerpc-power.s: Likewise.
13607 2014-06-02 Joel Brobecker <brobecker@adacore.com>
13609 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13611 2014-06-01 Yao Qi <yao@codesourcery.com>
13613 * gdb.base/watchpoint.exp (test_watch_location): Check null
13614 pointer can be dereferenced. If not, do the test, otherwise
13617 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
13619 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13621 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13623 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
13625 * gdb.arch/amd64-invalid-stack-middle.S: New file.
13626 * gdb.arch/amd64-invalid-stack-middle.c: New file.
13627 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13628 * gdb.arch/amd64-invalid-stack-top.c: New file.
13629 * gdb.arch/amd64-invalid-stack-top.exp: New file.
13631 2014-05-30 Pedro Alves <palves@redhat.com>
13633 PR breakpoints/17000
13634 * gdb.base/sss-bp-on-user-bp.c: New file.
13635 * gdb.base/sss-bp-on-user-bp.exp: New file.
13637 2014-05-30 David Blaikie <dblaikie@gmail.com>
13639 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13640 gnu_inline semantics via attribute.
13641 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13642 source explicitly specifies the required semantics.
13644 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
13646 * gdb.reverse/sigall-reverse.exp: Fix a typo.
13648 2014-05-29 Pedro Alves <palves@redhat.com>
13649 Tom Tromey <tromey@redhat.com>
13651 * gdb.base/async-shell.exp: Don't enable target-async.
13652 * gdb.base/async.exp
13653 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13655 (top level): Don't test with "target-async".
13656 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13657 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13658 * gdb.base/inferior-died.exp: Don't enable target-async.
13659 * gdb.base/interrupt-noterm.exp: Likewise.
13660 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13661 * gdb.mi/mi-nonstop-exit.exp: Likewise.
13662 * gdb.mi/mi-nonstop.exp: Likewise.
13663 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13664 * gdb.mi/mi-nsintrall.exp: Likewise.
13665 * gdb.mi/mi-nsmoribund.exp: Likewise.
13666 * gdb.mi/mi-nsthrexec.exp: Likewise.
13667 * gdb.mi/mi-watch-nonstop.exp: Likewise.
13668 * gdb.multi/watchpoint-multi.exp: Adjust comment.
13669 * gdb.python/py-evsignal.exp: Don't enable target-async.
13670 * gdb.python/py-evthreads.exp: Likewise.
13671 * gdb.python/py-prompt.exp: Likewise.
13672 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13673 * gdb.server/solib-list.exp: Don't enable target-async.
13674 * gdb.threads/thread-specific-bp.exp: Likewise.
13675 * lib/mi-support.exp: Adjust to use mi-async.
13677 2014-05-29 Pedro Alves <palves@redhat.com>
13680 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13681 reason, even in sync mode.
13683 2014-05-29 Pedro Alves <palves@redhat.com>
13684 Hui Zhu <hui@codesourcery.com>
13687 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13688 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13689 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13690 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13692 2014-05-28 Joel Brobecker <brobecker@adacore.com>
13694 * config/monitor.exp (gdb_target_monitor): Replace use of
13695 "set remotebaud" by "set serial baud".
13697 2014-05-26 Andy Wingo <wingo@igalia.com>
13699 * gdb.guile/scm-breakpoint.exp:
13700 * gdb.guile/scm-gsmob.exp: Update to use plain old object
13701 properties instead of gdb-object-properties.
13703 2014-05-26 Yao Qi <yao@codesourcery.com>
13705 * gdb.server/no-thread-db.exp: Specify source file name
13706 explicitly when setting a breakpoint.
13708 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13710 * gdb.btrace/vdso.c: New.
13711 * gdb.btrace/vdso.exp: New.
13713 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13715 * gdb.base/gcore.exp (capture_command_output): Move ...
13716 * lib/gdb.exp (capture_command_output): ... here.
13718 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
13720 * gdb.btrace/data.exp: Test memory access during btrace replay.
13722 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
13724 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13726 2014-05-21 Pedro Alves <palves@redhat.com>
13729 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13730 (top level): Test that output related to execution commands is
13731 sent to the console with CLI commands, but not with MI commands.
13732 Test that breakpoint events are always mirrored to the console.
13733 Also expect the new source line to be output after a "next" in
13734 async mode too. Make it a pass/fail test.
13735 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13737 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13739 2014-05-21 Pedro Alves <palves@redhat.com>
13741 * gdb.base/list.exp (build_pattern, test_list): New procedures.
13742 Use them to test variations of "list" after reaching a breakpoint.
13743 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13744 Test "list" with listsize 10 after reaching a breakpoint.
13745 * gdb.python/python.exp (decode_line current location line
13746 number): Adjust expected line number.
13748 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
13750 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13751 behavior for $args, pass it directly to "run".
13753 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
13755 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13758 2014-05-21 Pedro Alves <palves@redhat.com>
13760 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13761 auto-connect-native-target off".
13762 * gdb.base/auto-connect-native-target.c: New file.
13763 * gdb.base/auto-connect-native-target.exp: New file.
13765 2014-05-21 Pedro Alves <palves@redhat.com>
13767 * gdb.base/default.exp: Test "target native" instead of "target
13770 2014-05-21 Mark Wielaard <mjw@redhat.com>
13772 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13774 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13776 Fix TLS access for -static -pthread.
13777 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13778 <HAVE_TLS> (thread_function, main): Initialize it.
13779 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13781 <$have_tls != "">: Check TLSVAR.
13783 2014-05-21 Pedro Alves <palves@redhat.com>
13785 * gdb.base/dcache-line-read-error.c: New.
13786 * gdb.base/dcache-line-read-error.exp: New.
13788 2014-05-20 Pedro Alves <palves@redhat.com>
13790 * gdb.base/compare-sections.c: New file.
13791 * gdb.base/compare-sections.exp: New file.
13793 2014-05-20 Pedro Alves <palves@redhat.com>
13795 * gdb.base/break-idempotent.c: New file.
13796 * gdb.base/break-idempotent.exp: New file.
13798 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
13800 * gdb.btrace/nohist.exp: New.
13802 2014-05-20 Yao Qi <yao@codesourcery.com>
13804 * lib/gdb.exp (gdb_init): Set timeout if test file is under
13805 gdb.reverse directory and gdb_reverse_timeout exists in board
13807 * README: Document gdb_reverse_timeout.
13809 2014-05-20 Yao Qi <yao@codesourcery.com>
13811 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
13812 'test_file_name'. Treat args as a string instead of a list.
13813 (gdb_init): Rename argument 'args' by 'test_file_name'.
13815 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
13817 * gdb.arch/powerpc-power.exp: New file.
13818 * gdb.arch/powerpc-power.s: New file.
13820 2014-05-16 Doug Evans <dje@google.com>
13822 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
13823 * gdb.base/completion.exp: Check that all expected files exist
13824 before doing file completion.
13826 2014-05-16 Doug Evans <dje@google.com>
13828 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
13830 (do_syscall_tests_without_xml): Update.
13832 2014-05-16 Pedro Alves <palves@redhat.com>
13834 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
13835 instead of "unknown output after running".
13837 2014-05-16 Yao Qi <yao@codesourcery.com>
13839 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
13840 file1.txt from host at the end.
13841 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13843 2014-05-15 Doug Evans <dje@google.com>
13845 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
13846 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
13847 loading file. Add test for TU lookup.
13849 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13851 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
13852 calling "-exec-arguments" or "set args" before running the
13855 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
13857 * lib/mi-support.exp (mi_expect_stop): Expect message for
13858 inferiors that exit with non-zero exit code.
13860 2014-05-14 Yao Qi <yao@codesourcery.com>
13862 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
13863 match absolute path on remote host.
13864 (test_file_list_exec_source_files): Remove "/" from the
13867 2014-05-14 Yao Qi <yao@codesourcery.com>
13869 * boards/local-remote-host-notty.exp (${board}_file): New
13872 2014-05-07 Kyle McMartin <kyle@redhat.com>
13874 Pushed by Joel Brobecker <brobecker@adacore.com>.
13875 * gdb.arch/aarch64-atomic-inst.c: New file.
13876 * gdb.arch/aarch64-atomic-inst.exp: New file.
13878 2014-05-07 Yao Qi <yao@codesourcery.com>
13880 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
13881 in current context" too.
13883 2014-05-05 Keith Seitz <keiths@redhat.com>
13885 * gdb.linespec/ls-dollar.exp: Add test for linespec
13886 file:convenience_variable.
13888 2014-05-05 Yao Qi <yao@codesourcery.com>
13890 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
13891 traceframes into tfile and ctf trace files. Read data from
13892 trace file and test collected data.
13893 (gdb_collect_locals_test): Likewise.
13894 (gdb_unavailable_registers_test): Likewise.
13895 (gdb_unavailable_floats): Likewise.
13896 (gdb_collect_globals_test): Likewise.
13897 (top-level): Append "ctf" to trace_file_targets if GDB
13900 2014-05-05 Yao Qi <yao@codesourcery.com>
13902 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
13904 (gdb_collect_args_test_1): ... it. New proc.
13905 (gdb_collect_locals_test): Move some code to ...
13906 (gdb_collect_locals_test_1): ... it. New proc.
13907 (gdb_unavailable_registers_test): Move some code to ...
13908 (gdb_unavailable_registers_test_1): ... it. New proc.
13909 (gdb_unavailable_floats): Move some code to ...
13910 (gdb_unavailable_floats_1): ... it. New proc.
13912 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13914 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
13915 probes to test for bitness recognition.
13916 * gdb.arch/amd64-stap-optional-prefix.exp
13917 (test_probe_value_without_reg): New procedure.
13918 Add code to test for different kinds of bitness.
13920 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
13922 PR breakpoints/16889
13923 * gdb.arch/amd64-stap-optional-prefix.S: New file.
13924 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13926 2014-05-01 Pedro Alves <palves@redhat.com>
13928 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
13929 gdb_file_cmd if no file is specified.
13930 * boards/native-extended-gdbserver.exp (gdb_load): Use the
13931 last_loaded_file to set the remote exec-file.
13933 2014-05-01 Pedro Alves <palves@redhat.com>
13935 * boards/local-remote-host.exp: New file.
13937 2014-05-01 Pedro Alves <palves@redhat.com>
13939 * boards/local-remote-host.exp: Rename to ...
13940 * boards/local-remote-host-notty.exp: ... this.
13942 2014-04-28 Joel Brobecker <brobecker@adacore.com>
13944 * gdb.ada/dyn_arrayidx: New testcase.
13946 2014-04-26 Yao Qi <yao@codesourcery.com>
13948 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
13949 and compute the length of function main. Save it in
13951 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
13952 (top-level): Use gdb_compile to compile objects into
13953 executable and restart GDB. Remove invocation to
13954 prepare_for_testing.
13956 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
13957 Pedro Alves <palves@redhat.com>
13960 * gdb.multi/multi-attach.c: New file.
13961 * gdb.multi/multi-attach.exp: New file.
13963 2014-04-25 Pedro Alves <palves@redhat.com>
13965 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
13967 (top level): Test that "set remote conditional-breakpoints-packet
13968 off" works as intended.
13969 * gdb.base/dprintf.exp: Test that "set remote
13970 breakpoint-commands-packet off" works as intended.
13971 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
13973 (top level): Call it.
13974 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
13975 remote fast-tracepoints-packet off" works as intended.
13976 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
13977 * lib/gdb.exp (gdb_is_target_remote): ... here.
13979 2014-04-24 David Blaikie <dblaikie@gmail.com>
13981 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
13982 ensure clang would not discard them.
13983 * gdb.base/gdbvars.c: Ditto.
13984 * gdb.base/memattr.c: Ditto.
13985 * gdb.base/whatis.c: Ditto.
13986 * gdb.python/py-prettyprint.c: Ditto.
13987 * gdb.trace/actions.c: Ditto.
13988 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
13989 ensure clang would not discard it.
13991 2014-04-24 David Blaikie <dblaikie@gmail.com>
13993 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
13994 clang to emit the full definition of type required by the test
13995 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
13997 2014-04-24 David Blaikie <dblaikie@gmail.com>
13999 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
14000 coax Clang into emitting the definition of the type.
14001 * gdb.cp/pr10728-x.h (y): Ditto.
14002 * gdb.cp/pr10728-y.cc (y): Ditto.
14004 2014-04-24 David Blaikie <dblaikie@gmail.com>
14006 * gdb.base/label.exp: XFAIL label related tests under Clang.
14007 * gdb.cp/cplabel.exp: Ditto.
14008 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
14009 under Clang those using labels.
14011 2014-04-25 Yao Qi <yao@codesourcery.com>
14013 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
14015 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
14016 partial_label and double_label.
14018 2014-04-24 David Blaikie <dblaikie@gmail.com>
14020 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
14022 2014-04-24 David Blaikie <dblaikie@gmail.com>
14024 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
14025 of the function to work across GCC and Clang.
14026 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
14027 pointer types (const void ** const V void **).
14029 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
14030 Walfred Tedeschi <walfred.tedeschi@intel.com>
14032 * Makefile.in (EXECUTABLES): Added i386-avx512.
14033 * gdb.arch/i386-avx512.c: New file.
14034 * gdb.arch/i386-avx512.exp: Likewise.
14036 2014-04-23 Keith Seitz <keiths@redhat.com>
14038 * lib/mi-support.exp (mi_list_breakpoints): Delete.
14039 (mi_make_breakpoint_table): New procedure.
14040 (mi_create_breakpoint): Use mi_make_breakpoint
14041 and return the result.
14042 (mi_make_breakpoint): New procedure.
14043 (mi_build_kv_pairs): New procedure.
14045 * gdb.mi/mi-break.exp: Remove unused globals,
14046 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
14047 All callers updated.
14048 * gdb.mi/mi-dprintf.exp: Use variable to track command
14050 Update all callers of mi_create_breakpoint and use
14051 mi_make_breakpoint_table.
14052 Remove any unused global variables.
14053 * gdb.mi/mi-nonstop.exp: Likewise.
14054 * gdb.mi/mi-nsintrall.exp: Likewise.
14055 * gdb.mi/mi-nsmoribund.exp: Likewise.
14056 * gdb.mi/mi-nsthrexec.exp: Likewise.
14057 * gdb.mi/mi-reverse.exp: Likewise.
14058 * gdb.mi/mi-simplerun.exp: Likewise.
14059 * gdb.mi/mi-stepn.exp: Likewise.
14060 * gdb.mi/mi-syn-frame.exp: Likewise.
14061 * gdb.mi/mi-until.exp: Likewise.
14062 * gdb.mi/mi-var-cp.exp: Likewise.
14063 * gdb.mi/mi-var-display.exp: Likewise.
14064 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
14065 * gdb.mi/mi2-var-child.exp: Likewise.
14066 * gdb.mi/mi-vla-c99.exp: Likewise.
14067 * lib/mi-support.exp: Likewise.
14069 From Ian Lance Taylor <iant@cygnus.com>:
14070 * lib/gdb.exp (parse_args): New procedure.
14072 2014-04-23 Pedro Alves <palves@redhat.com>
14074 * gdb.base/break-unload-file.c: New file.
14075 * gdb.base/break-unload-file.exp: New file.
14076 * gdb.base/sym-file-lib.c (baz): New function.
14077 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
14079 (load): Store the segment's mapped size.
14080 (unload): New function.
14081 (unload_shlib): New function.
14082 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
14083 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
14084 set a breakpoint at baz, and call it.
14085 * gdb.base/sym-file.exp: New tests for stale breakpoint
14088 2014-04-23 Pedro Alves <palves@redhat.com>
14090 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
14091 * gdb.base/hbreak-in-shr-unsupported.c: New file.
14092 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
14093 * gdb.base/hbreak-unmapped.c: New file.
14094 * gdb.base/hbreak-unmapped.exp: New file.
14095 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
14096 * lib/gdb.exp (gdb_is_target_remote): ... here.
14098 2014-04-22 Pedro Alves <palves@redhat.com>
14100 * gdb.base/consecutive-step-over.c: New file.
14101 * gdb.base/consecutive-step-over.exp: New file.
14103 2014-04-22 Pedro Alves <palves@redhat.com>
14105 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
14106 instead of send_gdb/gdb_expect.
14108 2014-04-22 Yao Qi <yao@codesourcery.com>
14110 * lib/trace-support.exp (generate_tracefile): New procedure.
14111 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
14113 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
14114 if generate_tracefile returns 1.
14116 2014-04-18 Tom Tromey <palves@redhat.com>
14117 Pedro alves <tromey@redhat.com>
14120 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
14121 with a backtrace limit.
14122 * gdb.python/py-frame-inline.exp: Test running to an inline
14123 function with a backtrace limit, and printing the newest frame.
14124 * gdb.python/py-frame-inline.c (main): Call f.
14126 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
14128 * gdb.java/jnpe.exp: Drop srcdir from untested path.
14130 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
14132 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
14133 Drop prefix from unsupported source file path.
14135 2014-04-17 Yao Qi <yao@codesourcery.com>
14137 * lib/gdb.exp (with_target_charset): New proc.
14138 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
14139 with_target_charset.
14140 (test_print_strings): Likewise.
14141 (test_repeat_bytes): Likewise.
14142 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
14145 2014-04-16 Keith Seitz <keiths@redhat.com>
14148 * gdb.dwarf2/corrupt.c: New file.
14149 * gdb.dwarf2/corrupt.exp: New file.
14151 2014-04-16 Keith Seitz <keiths@redhat.com>
14154 * gdb.cp/namelessclass.cc: New file.
14155 * gdb.cp/namelessclass.exp: New file.
14156 * gdb.cp/namelessclass.S: New file.
14158 2014-04-16 Doug Evans <dje@google.com>
14160 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
14162 (gdbserver_default_get_comm_port): New function.
14163 (gdbserver_start): Check if board file provided
14164 "gdbserver,get_comm_port" and use it if so.
14165 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
14166 (gdb,socketport): Set to "stdio".
14167 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
14168 (stdio_gdbserver_template): Delete.
14169 (${board}_get_remote_address): Update.
14170 (${board}_build_remote_cmd): Delete.
14171 (${board}_get_comm_port): New function.
14172 (${board}_spawn): Update.
14173 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
14175 (${board}_get_remote_address): Update.
14176 (${board}_get_comm_port): New function.
14178 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
14180 * gdb.base/memattr.exp: Improve regexps to handle memory regions
14181 appearing in any order.
14183 2014-04-15 Doug Evans <dje@google.com>
14185 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
14186 uninitialized value of "description".
14188 2014-04-15 Keith Seitz <keiths@redhat.com>
14190 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
14191 Remove unused globals.
14192 (test_running_the_program): Likewise.
14193 (test_controlled_execution): Likewise.
14194 (test_controlling_breakpoints): Likewise.
14195 (test_program_termination): Likewise.
14197 2014-04-15 Keith Seitz <keiths@redhat.com>
14199 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
14201 (test_rbreak_creation_and_listing): Likewise.
14202 (test_ignore_count): Likewise.
14203 (test_error): Likewise.
14205 2014-04-15 Pedro Alves <palves@redhat.com>
14207 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
14208 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
14210 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14211 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14212 to sym-file-loader.c.
14213 (struct library): Forward declare.
14214 (load_shlib, lookup_function): Change prototypes.
14215 (find_shstrtab, find_strtab, find_shdr, find_symtab)
14216 (translate_offset): Remove declarations.
14217 (get_text_addr): New declaration.
14218 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
14219 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
14221 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14222 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14223 here from sym-file-loader.h.
14224 (struct library): New structure.
14225 (load_shlib, lookup_function): Change prototypes and adjust to
14226 work with a struct library.
14227 (find_shstrtab, find_strtab, find_shdr, find_symtab)
14228 (translate_offset): Make static.
14229 (get_text_addr): New function.
14230 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
14232 2014-04-15 Pedro Alves <palves@redhat.com>
14234 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
14236 2014-04-15 Pedro Alves <palves@redhat.com>
14238 * gdb.base/sym-file-loader.c: Include <limits.h>.
14239 (SELF_LINK): New define.
14240 (get_origin): New function.
14241 (load_shlib): Use it.
14242 * gdb.base/sym-file.exp: Don't early return if the target is
14243 remote. Use runto_main, and issue fail is that fails. Use
14245 (shlib_name): Delete.
14246 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
14248 2014-04-15 Pedro Alves <palves@redhat.com>
14250 * gdb.base/sym-file.exp: Remove regex characters from test
14251 message. Don't refer to breakpoint numbers in test messages.
14253 2014-04-14 Keith Seitz <keiths@redhat.com>
14256 * gdb.cp/var-tag.cc: New file.
14257 * gdb.cp/var-tag.exp: New file.
14258 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14259 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14260 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14261 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14263 2014-04-14 Tom Tromey <tromey@redhat.com>
14265 * gdb.cp/classes.exp (test_enums): Handle underlying type.
14266 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
14268 * gdb.cp/enum-class.exp: New file.
14269 * gdb.cp/enum-class.cc: New file.
14271 2014-04-14 Tom Tromey <tromey@redhat.com>
14273 * gdb.dwarf2/enum-type.exp: New file.
14275 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14277 * gdb.mi/mi-vla-c99.exp: New file.
14278 * gdb.mi/vla.c: New file.
14280 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14282 * gdb.base/vla-datatypes.c: New file.
14283 * gdb.base/vla-datatypes.exp: New file.
14285 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14287 * gdb.base/vla-ptr.c: New file.
14288 * gdb.base/vla-ptr.exp: New file.
14290 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14292 * gdb.dwarf2/count.exp: New file.
14294 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
14296 * gdb.base/vla-sideeffect.c: New file.
14297 * gdb.base/vla-sideeffect.exp: New file.
14299 2014-04-14 David Blaikie <dblaikie@gmail.com>
14301 * gdb.mi/non-stop.c: Add return value for non-void function return
14303 * gdb.threads/staticthreads.c: Ditto.
14305 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
14306 Doug Evans <xdje42@gmail.com>
14308 * gdb.guile/scm-value.c: Improve test case.
14309 * gdb.guile/scm-value.exp: Add new test.
14311 2014-04-11 David Blaikie <dblaikie@gmail.com>
14313 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
14314 override Clang's default.
14316 2014-04-11 Joel Brobecker <brobecker@adacore.com>
14318 Revert the following changes (regressions):
14320 * gdb.base/vla-sideeffect.c: New file.
14321 * gdb.base/vla-sideeffect.exp: New file.
14323 * gdb.dwarf2/count.exp: New file.
14325 * gdb.base/vla-multi.c: New file.
14326 * gdb.base/vla-multi.exp: New file.
14328 * gdb.base/vla-ptr.c: New file.
14329 * gdb.base/vla-ptr.exp: New file.
14331 * gdb.base/vla-datatypes.c: New file.
14332 * gdb.base/vla-datatypes.exp: New file.
14334 * gdb.mi/mi-vla-c99.exp: New file.
14335 * gdb.mi/vla.c: New file.
14337 2014-04-11 Keith Seitz <keiths@redhat.com>
14340 * gdb.cp/cpsizeof.exp: New file.
14341 * gdb.cp/cpsizeof.cc: New file.
14343 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14345 * gdb.mi/mi-vla-c99.exp: New file.
14346 * gdb.mi/vla.c: New file.
14348 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14350 * gdb.base/vla-datatypes.c: New file.
14351 * gdb.base/vla-datatypes.exp: New file.
14353 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14355 * gdb.base/vla-ptr.c: New file.
14356 * gdb.base/vla-ptr.exp: New file.
14358 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14360 * gdb.base/vla-multi.c: New file.
14361 * gdb.base/vla-multi.exp: New file.
14363 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14365 * gdb.dwarf2/count.exp: New file.
14367 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
14369 * gdb.base/vla-sideeffect.c: New file.
14370 * gdb.base/vla-sideeffect.exp: New file.
14372 2014-04-11 Yao Qi <yao@codesourcery.com>
14374 * gdb.base/completion.exp: Check file exists before running tests
14375 on file completion.
14377 2014-04-10 Pedro Alves <palves@redhat.com>
14379 * gdb.base/cond-eval-mode.c: New file.
14380 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
14381 prepare_for_testing to build the new file. Check result of
14383 (test_break, test_watch): New procedures.
14384 (top level): Use them.
14386 2014-04-08 Pierre Muller <muller@sourceware.org>
14388 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
14389 Ctrl-V use for mingw hosts.
14391 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
14393 * gdb.python/py-value.c: Improve test case.
14394 * gdb.python/py-value.exp: Add new test.
14396 2014-04-07 David Blaikie <dblaikie@gmail.com>
14398 * lib/compiler.c: Identify the clang compiler.
14399 * lib/compiler.cc: Ditto.
14401 2014-04-03 Yao Qi <yao@codesourcery.com>
14403 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
14405 2014-04-01 Anton Blanchard <anton@samba.org>
14407 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
14410 2014-04-01 Anton Blanchard <anton@samba.org>
14412 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
14413 prepare_for_testing.
14415 2014-04-01 Anton Blanchard <anton@samba.org>
14417 * gdb.arch/ppc64-atomic-inst.c: Remove.
14418 * gdb.arch/ppc64-atomic-inst.S: New file.
14419 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
14421 2014-03-31 Doug Evans <dje@google.com>
14423 * gdb.base/print-symbol-loading-lib.c: New file.
14424 * gdb.base/print-symbol-loading-main.c: New file.
14425 * gdb.base/print-symbol-loading.exp: New file.
14427 2014-03-31 Yao Qi <yao@codesourcery.com>
14429 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
14431 2014-03-28 Joel Brobecker <brobecker@adacore.com>
14433 * gdb.ada/mi_dyn_arr: New testcase.
14435 2014-03-27 Doug Evans <dje@google.com>
14437 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
14439 2014-03-27 Yao Qi <yao@codesourcery.com>
14441 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
14442 if target is nios2-*-*.
14444 2014-03-26 Yao Qi <yao@codesourcery.com>
14446 * lib/gdb.exp (readline_is_used): New proc.
14447 * gdb.base/completion.exp: Move tests on command complete up.
14448 Skip the rest of tests if readline is not used.
14449 * gdb.ada/complete.exp: Skp the test if readline is not
14451 * gdb.base/filesym.exp: Likewise.
14452 * gdb.base/macscp.exp: Likewise.
14453 * gdb.base/readline-ask.exp: Likewise.
14454 * gdb.base/readline.exp: Likewise.
14455 * gdb.python/py-cmd.exp: Likewise.
14456 * gdb.trace/tfile.exp: Likewise.
14458 2014-03-26 Yao Qi <yao@codesourcery.com>
14460 * gdb.base/macscp.exp: Fix code format issues.
14462 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
14464 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
14465 * gdb.asm/powerpc64le.inc: New file.
14467 2014-03-25 Pedro Alves <palves@redhat.com>
14468 Doug Evans <dje@google.com>
14470 * gdb.base/source-execution.c: New file.
14471 * gdb.base/source-execution.exp: New file.
14472 * gdb.base/source-execution.gdb: New file.
14474 2014-03-24 Doug Evans <dje@google.com>
14476 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
14479 2014-03-24 Hui Zhu <hui@codesourcery.com>
14480 Pedro Alves <palves@redhat.com>
14482 PR breakpoints/16101
14483 * gdb.base/dprintf.exp: Use unsupported rather than changing the
14484 test pass/fail messages. Detect missing support for dprintf when
14485 breakpoints are actually inserted.
14486 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14487 breakpoints are actually inserted.
14488 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14491 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14493 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14495 2014-03-22 Doug Evans <xdje42@gmail.com>
14497 * gdb.python/python.exp (python not supported): Verify multi-line
14498 python command issues an error.
14499 * gdb.guile/guile.exp (guile not supported): Verify multi-line
14500 guile command issues an error.
14502 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
14504 * gdb.threads/thread-specific.exp: Handle the lack of usable
14505 $this_breakpoint and $this_thread.
14507 2014-03-21 Hui Zhu <hui@codesourcery.com>
14509 * gdb.base/attach.exp (do_command_attach_tests): New.
14511 2014-03-20 Tom Tromey <tromey@redhat.com>
14512 Pedro Alves <palves@redhat.com>
14515 * gdb.base/condbreak-call-false.c: New file.
14516 * gdb.base/condbreak-call-false.exp: New file.
14518 2014-03-20 Pedro Alves <palves@redhat.com>
14520 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14522 (block_signals, unblock_signals): Delete.
14523 (child_function_2, main): Remove references to deleted variable
14526 2014-03-20 Pedro Alves <palves@redhat.com>
14528 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14529 Use pthread_kill to signal thread 2.
14530 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14531 Adjust to make the test send itself a signal rather than using the
14532 host's "kill" command.
14534 2014-03-20 Pedro Alves <palves@redhat.com>
14536 * gdb.threads/multiple-step-overs.c: New file.
14537 * gdb.threads/multiple-step-overs.exp: New file.
14538 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14539 Adjust expected infrun debug output.
14541 2014-03-20 Pedro Alves <palves@redhat.com>
14543 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
14544 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
14546 2014-03-20 Pedro Alves <palves@redhat.com>
14548 PR breakpoints/7143
14549 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
14550 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
14551 of gdb_test_multiple.
14552 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
14553 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
14555 2014-03-20 Pedro Alves <palves@redhat.com>
14557 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
14558 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
14560 2014-03-19 Pedro Alves <palves@redhat.com>
14562 * gdb.base/async.exp: Remove early return.
14564 2014-03-19 Pedro Alves <palves@redhat.com>
14566 * gdb.base/async.exp (step& tests): Pass explicit test messages.
14568 2014-03-19 Pedro Alves <palves@redhat.com>
14570 * gdb.base/async.exp (test_background): Expect \r\n after
14571 "completed." in the fail pattern.
14573 2014-03-19 Pedro Alves <palves@redhat.com>
14575 * gdb.base/async.exp (test_background): New procedure.
14576 Use it for all background execution command tests.
14578 2014-03-19 Pedro Alves <palves@redhat.com>
14580 * gdb.base/async.exp: Use prepare_for_testing.
14582 2014-03-19 Pedro Alves <palves@redhat.com>
14584 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
14587 2014-03-19 Pedro Alves <palves@redhat.com>
14589 * gdb.base/async.c (main): Add "jump here" and "until here" line
14591 * gdb.base/async.exp (jump_here): New global.
14592 (jump& test): Use it.
14593 (until_here): New global.
14594 (until& test): Use it.
14596 2014-03-19 Pedro Alves <palves@redhat.com>
14598 * gdb.base/async.exp: Don't frob gdb_protocol.
14600 2014-03-18 Doug Evans <xdje42@gmail.com>
14602 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
14603 Fix spelling of exec-done-display.
14605 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
14608 * gdb.base/gdb-sigterm.c: New file.
14609 * gdb.base/gdb-sigterm.exp: New file.
14611 2014-03-18 Pedro Alves <palves@redhat.com>
14614 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14615 * lib/mi-support.exp (mi_expect_stop): Add special handling for
14618 2014-03-17 Joel Brobecker <brobecker@adacore.com>
14620 * gdb.ada/pckd_arr_ren: New testcase.
14622 2014-03-13 Doug Evans <xdje42@gmail.com>
14625 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14626 collect after discarding symbols.
14628 2014-03-13 Ludovic Courtès <ludo@gnu.org>
14629 Doug Evans <xdje42@gmail.com>
14631 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14632 to history survives a gc.
14634 2014-03-13 Pedro Alves <palves@redhat.com>
14636 * gdb.base/default.exp: Don't test "target procfs".
14638 2014-03-13 Pedro Alves <palves@redhat.com>
14640 * gdb.base/default.exp: Update "target child" and "target procfs"
14641 tests to not expect "Unix".
14643 2014-03-12 Tom Tromey <tromey@redhat.com>
14645 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14646 New procs. Add target-async tests.
14647 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14648 Add target-async tests.
14650 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14652 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14653 'func_start' and 'func_end' for the beginning and end of the
14654 function code, respectively.
14655 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14656 'func_end' instead of 'func' and 'main'.
14658 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14660 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14661 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14662 generate the debug info assembler source.
14664 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14666 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14667 * gdb.dwarf2/arr-subrange.exp: Likewise.
14668 * gdb.dwarf2/dwz.exp: Likewise.
14669 * gdb.dwarf2/method-ptr.exp: Likewise.
14670 * gdb.dwarf2/missing-sig-type.exp: Likewise.
14671 * gdb.dwarf2/subrange.exp: Likewise.
14672 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14673 * gdb.dwarf2/implptrpiece.exp: Likewise.
14674 * gdb.dwarf2/nostaticblock.exp: Likewise.
14676 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14678 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14679 directory to absolute path name arguments.
14681 2014-03-10 Joel Brobecker <brobecker@adacore.com>
14683 * gdb.ada/tagged_access: New testcase.
14685 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
14687 * gdb.btrace/data.exp: Update expected output.
14689 2014-03-06 Yao Qi <yao@codesourcery.com>
14691 * gdb.trace/pr16508.exp: New file.
14693 2014-03-05 Pedro Alves <palves@redhat.com>
14696 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14698 (top level): Adjust to use it. Add tests that exercise breakpoint
14699 interaction with the code-cache.
14701 2014-02-26 Ludovic Courtès <ludo@gnu.org>
14703 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14704 test for 'history-append!'.
14706 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14708 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14709 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14710 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14711 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14712 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14713 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14715 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14717 * testsuite/gdb.python/py-pp-re-notag.c: New file.
14718 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14719 * testsuite/gdb.python/py-pp-re-notag.p: New file.
14721 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14723 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14725 2014-02-26 Joel Brobecker <brobecker@adacore.com>
14727 * gdb.dwarf2/arr-stride.c: New file.
14728 * gdb.dwarf2/arr-stride.exp: New file.
14730 2014-02-26 Pedro Alves <palves@redhat.com>
14732 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14733 that won't ever trigger. Make sure that GDB reports the correct
14734 breakpoint that caused the stop.
14736 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14739 * gdb.base/auto-load-script: New file.
14740 * gdb.base/auto-load.c: New file.
14741 * gdb.base/auto-load.exp: New file.
14744 * gdb.base/auto-load.exp: Fix out-of-srctree run.
14746 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14748 Fix dw2-icycle.exp -fsanitize=address GDB crash.
14749 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14751 2014-02-24 Doug Evans <dje@google.com>
14753 * lib/gdb.exp (run_on_host): Log error output if program fails.
14755 2014-02-21 Pedro Alves <palves@redhat.com>
14757 * gdb.threads/step-after-sr-lock.c: Rename to ...
14758 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14759 * gdb.threads/step-after-sr-lock.exp: Rename to ...
14760 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14763 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
14766 * gdb.arch/amd64-stap-special-operands.exp: New file.
14767 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14768 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14769 * gdb.arch/amd64-stap-triplet.S: Likewise.
14770 * gdb.arch/amd64-stap-triplet.c: Likewise.
14772 2014-02-20 Joel Brobecker <brobecker@adacore.com>
14774 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14775 in .section pseudo-op.
14777 2014-02-20 lin zuojian <manjian2006@gmail.com>
14778 Joel Brobecker <brobecker@adacore.com>
14779 Doug Evans <xdje42@gmail.com>
14782 * gdb.dwarf2/dw2-icycle.S: New file.
14783 * gdb.dwarf2/dw2-icycle.c: New file.
14784 * gdb.dwarf2/dw2-icycle.exp: New file.
14786 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
14788 * gdb.python/py-value-cc.cc: Improve test case to enable testing
14789 operations on gdb.Value objects.
14790 * gdb.python/py-value-cc.exp: Add new test to test operations on
14793 2014-02-18 Doug Evans <dje@google.com>
14795 * Makefile.in (TESTS): New variable.
14796 (expanded_tests, expanded_tests_or_none): New variables
14797 (check-single): Pass $(expanded_tests_or_none) to runtest.
14798 (check-parallel): Only run tests in $(TESTS) if non-empty.
14799 (check/no-matching-tests-found): New rule.
14800 * README: Document TESTS makefile variable.
14802 2014-02-18 Doug Evans <dje@google.com>
14804 * Makefile.in (check-parallel): rm -rf outputs temp.
14806 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14808 Fix "ERROR: no fileid for" in the testsuite.
14809 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
14811 2014-02-12 Doug Evans <dje@google.com>
14813 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
14814 (MISCELLANEOUS): New variable.
14815 (clean): rm -rf $(MISCELLANEOUS).
14816 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
14817 dwp live in the same directory as symlinks, with each symlink pointed
14818 to a differently named file in a different directory.
14820 2014-02-11 Doug Evans <dje@google.com>
14822 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
14823 of Tcl file commands.
14825 2014-02-10 Mark Kettenis <kettenis@gnu.org>
14827 * gdb.threads/step-after-sr-lock.exp: Avoid executing
14828 "kill -SIGUSR1 -1".
14830 2014-02-10 Joel Brobecker <brobecker@adacore.com>
14832 * gdb.ada/tick_length_array_enum_idx: New testcase.
14834 2014-02-10 Doug Evans <xdje42@gmail.com>
14836 * configure.ac (AC_OUTPUT): Add gdb.guile.
14837 * configure: Regenerate.
14838 * lib/gdb-guile.exp: New file.
14839 * lib/gdb.exp (get_target_charset): New function.
14840 * gdb.base/help.exp: Update expected output from "apropos apropos".
14841 * gdb.guile/Makefile.in: New file.
14842 * gdb.guile/guile.exp: New file.
14843 * gdb.guile/scm-arch.c: New file.
14844 * gdb.guile/scm-arch.exp: New file.
14845 * gdb.guile/scm-block.c: New file.
14846 * gdb.guile/scm-block.exp: New file.
14847 * gdb.guile/scm-breakpoint.c: New file.
14848 * gdb.guile/scm-breakpoint.exp: New file.
14849 * gdb.guile/scm-disasm.c: New file.
14850 * gdb.guile/scm-disasm.exp: New file.
14851 * gdb.guile/scm-equal.c: New file.
14852 * gdb.guile/scm-equal.exp: New file.
14853 * gdb.guile/scm-error.exp: New file.
14854 * gdb.guile/scm-error.scm: New file.
14855 * gdb.guile/scm-frame-args.c: New file.
14856 * gdb.guile/scm-frame-args.exp: New file.
14857 * gdb.guile/scm-frame-args.scm: New file.
14858 * gdb.guile/scm-frame-inline.c: New file.
14859 * gdb.guile/scm-frame-inline.exp: New file.
14860 * gdb.guile/scm-frame.c: New file.
14861 * gdb.guile/scm-frame.exp: New file.
14862 * gdb.guile/scm-generics.exp: New file.
14863 * gdb.guile/scm-gsmob.exp: New file.
14864 * gdb.guile/scm-iterator.c: New file.
14865 * gdb.guile/scm-iterator.exp: New file.
14866 * gdb.guile/scm-math.c: New file.
14867 * gdb.guile/scm-math.exp: New file.
14868 * gdb.guile/scm-objfile-script-gdb.in: New file.
14869 * gdb.guile/scm-objfile-script.c: New file.
14870 * gdb.guile/scm-objfile-script.exp: New file.
14871 * gdb.guile/scm-objfile.c: New file.
14872 * gdb.guile/scm-objfile.exp: New file.
14873 * gdb.guile/scm-ports.exp: New file.
14874 * gdb.guile/scm-pretty-print.c: New file.
14875 * gdb.guile/scm-pretty-print.exp: New file.
14876 * gdb.guile/scm-pretty-print.scm: New file.
14877 * gdb.guile/scm-section-script.c: New file.
14878 * gdb.guile/scm-section-script.exp: New file.
14879 * gdb.guile/scm-section-script.scm: New file.
14880 * gdb.guile/scm-symbol.c: New file.
14881 * gdb.guile/scm-symbol.exp: New file.
14882 * gdb.guile/scm-symtab-2.c: New file.
14883 * gdb.guile/scm-symtab.c: New file.
14884 * gdb.guile/scm-symtab.exp: New file.
14885 * gdb.guile/scm-type.c: New file.
14886 * gdb.guile/scm-type.exp: New file.
14887 * gdb.guile/scm-value-cc.cc: New file.
14888 * gdb.guile/scm-value-cc.exp: New file.
14889 * gdb.guile/scm-value.c: New file.
14890 * gdb.guile/scm-value.exp: New file.
14891 * gdb.guile/source2.scm: New file.
14892 * gdb.guile/types-module.cc: New file.
14893 * gdb.guile/types-module.exp: New file.
14895 2014-02-10 Yao Qi <yao@codesourcery.com>
14898 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
14899 * configure: Regenerated.
14900 * Makefile.in: New file.
14902 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
14904 * gdb.python/py-framefilter.exp: Fix typo.
14906 2014-02-08 Yao Qi <yao@codesourcery.com>
14908 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
14909 that no =breakpoint-modified is emitted when breakpoints are
14910 modified through MI commands.
14912 2014-02-07 Pedro Alves <pedro@codesourcery.com>
14913 Pedro Alves <palves@redhat.com>
14915 * gdb.threads/step-after-sr-lock.c: New file.
14916 * gdb.threads/step-after-sr-lock.exp: New file.
14918 2014-02-07 Pedro Alves <palves@redhat.com>
14920 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
14922 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
14924 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
14925 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
14927 2014-02-06 Doug Evans <xdje42@gmail.com>
14929 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
14932 * gdb.gdb/python-interrupts.exp: New file.
14934 2014-02-05 Yao Qi <yao@codesourcery.com>
14936 * gdb.trace/report.exp (use_collected_data): Test the output
14937 of "info threads" and "info inferiors".
14939 2014-02-05 Yao Qi <yao@codesourcery.com>
14943 2013-05-24 Yao Qi <yao@codesourcery.com>
14945 * gdb.trace/tfile.exp: Test inferior and thread.
14947 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14949 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
14951 * gdb.base/step-bt.c: Call hello via function pointer to make
14952 sure its first instruction is executed on powerpc64le-linux.
14954 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14956 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
14958 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14960 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
14961 of the test patterns for use on little-endian systems.
14963 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
14965 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
14966 (decimal_vector): Fix for little-endian.
14968 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
14970 * gdb.arch/sparc-sysstep.exp: New file.
14971 * gdb.arch/sparc-sysstep.c: Likewise.
14973 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
14975 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14977 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
14979 2014-01-23 Tom Tromey <tromey@redhat.com>
14981 * gdb.ada/array_char_idx: New testcase.
14983 2014-01-23 Tom Tromey <tromey@redhat.com>
14986 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
14987 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
14990 2014-01-23 Tom Tromey <tromey@redhat.com>
14993 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
14994 string from an inferior frame.
14995 * gdb.python/py-framefilter-mi.exp: Update.
14997 2014-01-22 Doug Evans <dje@google.com>
14999 * gdb.server/server-mon.exp: Add tests for "set debug-format".
15001 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15003 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
15005 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15007 * gdb.trace/entry-values.exp: Remove excess space character from
15008 regex patterns. Handle s390 call instruction.
15010 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15012 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
15013 define "*_start" label. Make "name" static.
15014 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
15015 ${name} by references to ${name}_start.
15017 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
15019 * gdb.base/info-macros.exp: Remove "debug" from the compile
15022 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15024 * gdb.dlang/demangle.exp: New file.
15026 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15028 * gdb.dlang/primitive-types.exp: New file.
15030 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
15032 * configure.ac: Create gdb.dlang/Makefile.
15033 * configure: Regenerate.
15034 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
15035 * gdb.dlang/Makefile.in: New file.
15036 * lib/d-support.exp: New file.
15037 * lib/gdb.exp (skip_d_tests): New proc.
15039 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15041 * gdb.btrace/delta.exp: Check reverse stepi.
15042 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
15043 * gdb.btrace/finish.exp: New.
15044 * gdb.btrace/next.exp: New.
15045 * gdb.btrace/nexti.exp: New.
15046 * gdb.btrace/record_goto.c: Add comments.
15047 * gdb.btrace/step.exp: New.
15048 * gdb.btrace/stepi.exp: New.
15049 * gdb.btrace/multi-thread-step.c: New.
15050 * gdb.btrace/multi-thread-step.exp: New.
15051 * gdb.btrace/rn-dl-bind.c: New.
15052 * gdb.btrace/rn-dl-bind.exp: New.
15053 * gdb.btrace/data.c: New.
15054 * gdb.btrace/data.exp: New.
15055 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15057 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15059 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
15060 * gdb.btrace/exception.exp: Update.
15061 * gdb.btrace/instruction_history.exp: Update.
15062 * gdb.btrace/record_goto.exp: Update.
15063 * gdb.btrace/tailcall.exp: Update.
15064 * gdb.btrace/unknown_functions.exp: Update.
15065 * gdb.btrace/delta.exp: New.
15067 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15069 * gdb.btrace/record_goto.exp: Add backtrace test.
15070 * gdb.btrace/tailcall.exp: Add backtrace test.
15072 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15074 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
15075 * gdb.btrace/record_goto.c: New.
15076 * gdb.btrace/record_goto.exp: New.
15077 * gdb.btrace/x86-record_goto.S: New.
15079 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15081 * gdb.btrace/function_call_history.exp: Update tests.
15082 * gdb.btrace/instruction_history.exp: Update tests.
15084 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15086 * gdb.btrace/function_call_history.exp: Fix expected field
15087 order for "record function-call-history".
15088 Add new tests for "record function-call-history /c".
15089 * gdb.btrace/exception.cc: New.
15090 * gdb.btrace/exception.exp: New.
15091 * gdb.btrace/tailcall.exp: New.
15092 * gdb.btrace/x86-tailcall.S: New.
15093 * gdb.btrace/x86-tailcall.c: New.
15094 * gdb.btrace/unknown_functions.c: New.
15095 * gdb.btrace/unknown_functions.exp: New.
15096 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15098 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15100 * gdb.btrace/instruction_history.exp: Update.
15101 * gdb.btrace/function_call_history.exp: Update.
15103 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15105 * gdb.btrace/function_call_history.exp: Fix expected function
15107 * gdb.btrace/instruction_history.exp: Initialize traced.
15108 Remove traced_functions.
15110 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15112 * gdb.btrace/function_call_history.exp: Update
15113 * gdb.btrace/instruction_history.exp: Update.
15115 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15117 * gdb.btrace/enable.exp: Update expected text.
15119 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
15121 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
15124 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
15126 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
15128 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
15130 * lib/gdb.exp (supports_process_record): Return true for
15131 arm*-linux*. (supports_reverse): Likewise.
15133 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
15137 * gdb.python/py-type.c: Enhance test case.
15138 * gdb.python/py-value-cc.cc: Likewise
15139 * gdb.python/py-type.exp: Add new tests.
15140 * gdb.python/py-value-cc.exp: Likewise
15142 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
15143 Pedro Alves <palves@redhat.com>
15145 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
15146 Make "name" extern.
15147 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
15148 references to ${name}_start by references to ${name}.
15150 2014-01-10 Joel Brobecker <brobecker@adacore.com>
15152 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
15154 2014-01-10 Joel Brobecker <brobecker@adacore.com>
15156 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
15158 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
15159 Pedro Alves <palves@redhat.com>
15161 * gdb.mi/mi-info-os.exp: Connect to the target with
15162 mi_gdb_target_load.
15164 2014-01-08 Pedro Alves <palves@redhat.com>
15166 * gdb.threads/reconnect-signal.c: New file.
15167 * gdb.threads/reconnect-signal.exp: New file.
15169 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15171 * gdb.base/source-dir.exp: New file.
15173 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15175 * gdb.ada/mi_interface: New testcase.
15177 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15179 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
15180 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
15181 gdb.ada/pp-rec-component/pck.ads: New files.
15183 2014-01-07 Joel Brobecker <brobecker@adacore.com>
15185 * gdb.python/py-pp-integral.c: New file.
15186 * gdb.python/py-pp-integral.py: New file.
15187 * gdb.python/py-pp-integral.exp: New file.
15189 For older changes see ChangeLog-1993-2013.
15191 ;; Local Variables:
15192 ;; mode: change-log
15195 ;; version-control: never
15198 Copyright 2014-2018 Free Software Foundation, Inc.
15199 Copying and distribution of this file, with or without modification,
15200 are permitted provided the copyright notice and this notice are preserved.